Skip to content

job: refactor args #222

job: refactor args

job: refactor args #222

Triggered via pull request October 10, 2024 20:42
Status Failure
Total duration 2m 7s
Artifacts

tests.yml

on: pull_request
Matrix: Tests / Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Tests / Tests (3.9, postgresql14, opensearch2): tests/resources/test_resources.py#L52
test_simple_flow assert {'active': Fa...': 'low', ...} == {'active': Fa...': 'low', ...} Omitting 10 identical items, use -vv to show Differing items: {'default_args': '{\n "since": null\n}'} != {'default_args': '{}'} Full diff: { 'active': False, 'created': '2024-10-10T20:44:04.910632+00:00', - 'default_args': '{}', + 'default_args': '{\n "since": null\n}', 'default_queue': 'low', 'description': 'Test description', 'id': '878ddaae-d15d-4218-9d1f-8385b5644378', 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/878ddaae-d15d-4218-9d1f-8385b5644378/runs', 'self': 'https://127.0.0.1:5000/api/jobs/878ddaae-d15d-4218-9d1f-8385b5644378', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/878ddaae-d15d-4218-9d1f-8385b5644378'}, 'schedule': {'hours': 4, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test job', 'updated': '2024-10-10T20:44:04.910636+00:00', }
Tests / Tests (3.9, postgresql14, opensearch2): tests/resources/test_resources.py#L214
test_jobs_create assert {'active': Tr...'celery', ...} == {'active': Tr...'celery', ...} Omitting 10 identical items, use -vv to show Differing items: {'default_args': '{\n "since": null\n}'} != {'default_args': '{}'} Full diff: { 'active': True, 'created': '2024-10-10T20:44:05.144093+00:00', - 'default_args': '{}', + 'default_args': '{\n "since": null\n}', 'default_queue': 'celery', 'description': None, 'id': '7cef5e58-b298-4f80-bfc6-3329a1f0c8b6', 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/7cef5e58-b298-4f80-bfc6-3329a1f0c8b6/runs', 'self': 'https://127.0.0.1:5000/api/jobs/7cef5e58-b298-4f80-bfc6-3329a1f0c8b6', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/7cef5e58-b298-4f80-bfc6-3329a1f0c8b6'}, 'schedule': None, 'task': 'update_expired_embargos', 'title': 'Test minimal job', 'updated': '2024-10-10T20:44:05.144099+00:00', }
Tests / Tests (3.9, postgresql14, opensearch2): tests/resources/test_resources.py#L298
test_jobs_update assert {'active': Fa...'celery', ...} == {'active': Fa...'celery', ...} Omitting 10 identical items, use -vv to show Differing items: {'default_args': '{\n "since": null\n}'} != {'default_args': '{}'} Full diff: { 'active': False, 'created': '2024-10-10T20:44:05.203871+00:00', - 'default_args': '{}', + 'default_args': '{\n "since": null\n}', 'default_queue': 'celery', 'description': 'Test updated description', 'id': '48a10fab-835a-4561-a4a4-75b61b192ddd', 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/48a10fab-835a-4561-a4a4-75b61b192ddd/runs', 'self': 'https://127.0.0.1:5000/api/jobs/48a10fab-835a-4561-a4a4-75b61b192ddd', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/48a10fab-835a-4561-a4a4-75b61b192ddd'}, 'schedule': {'hours': 2, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test updated job', 'updated': '2024-10-10T20:44:05.218281+00:00', }
Tests / Tests (3.9, postgresql14, opensearch2): tests/resources/test_resources.py#L315
test_jobs_search assert {'active': Tr...': 'low', ...} == {'active': Tr...': 'low', ...} Omitting 12 identical items, use -vv to show Differing items: {'default_args': '{\n "since": null\n}'} != {'default_args': '{}'} Full diff: { 'active': True, 'created': '2024-10-10T20:44:05.267779+00:00', - 'default_args': '{}', + 'default_args': '{\n "since": null\n}', 'default_queue': 'low', 'description': None, 'id': 'a96e85e4-c2c3-43f2-8758-c432d858f1e9', 'last_run': {'title': 'Manual run'}, 'last_runs': {'cancelled': {}, 'cancelling': {}, 'failed': {}, 'queued': {}, 'running': {}, 'success': {}, 'warning': {}}, 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/a96e85e4-c2c3-43f2-8758-c432d858f1e9/runs', 'self': 'https://127.0.0.1:5000/api/jobs/a96e85e4-c2c3-43f2-8758-c432d858f1e9', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/a96e85e4-c2c3-43f2-8758-c432d858f1e9'}, 'schedule': {'hours': 4, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test interval job', 'updated': '2024-10-10T20:44:05.267783+00:00', }
Tests / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.12, postgresql14, opensearch2): tests/resources/test_resources.py#L52
test_simple_flow assert {'active': Fa...': 'low', ...} == {'active': Fa...': 'low', ...} Omitting 10 identical items, use -vv to show Differing items: {'default_args': '{\n "since": null\n}'} != {'default_args': '{}'} Full diff: { 'active': False, 'created': '2024-10-10T20:44:19.507348+00:00', - 'default_args': '{}', + 'default_args': '{\n "since": null\n}', 'default_queue': 'low', 'description': 'Test description', 'id': 'dcb12aaf-b8fc-4952-9b7b-d22e3691db06', 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/dcb12aaf-b8fc-4952-9b7b-d22e3691db06/runs', 'self': 'https://127.0.0.1:5000/api/jobs/dcb12aaf-b8fc-4952-9b7b-d22e3691db06', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/dcb12aaf-b8fc-4952-9b7b-d22e3691db06'}, 'schedule': {'hours': 4, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test job', 'updated': '2024-10-10T20:44:19.507355+00:00', }
Tests / Tests (3.12, postgresql14, opensearch2): tests/resources/test_resources.py#L214
test_jobs_create assert {'active': Tr...'celery', ...} == {'active': Tr...'celery', ...} Omitting 10 identical items, use -vv to show Differing items: {'default_args': '{\n "since": null\n}'} != {'default_args': '{}'} Full diff: { 'active': True, 'created': '2024-10-10T20:44:19.736846+00:00', - 'default_args': '{}', + 'default_args': '{\n "since": null\n}', 'default_queue': 'celery', 'description': None, 'id': '1735dad5-dc04-42e7-961e-4626d472da94', 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/1735dad5-dc04-42e7-961e-4626d472da94/runs', 'self': 'https://127.0.0.1:5000/api/jobs/1735dad5-dc04-42e7-961e-4626d472da94', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/1735dad5-dc04-42e7-961e-4626d472da94'}, 'schedule': None, 'task': 'update_expired_embargos', 'title': 'Test minimal job', 'updated': '2024-10-10T20:44:19.736856+00:00', }
Tests / Tests (3.12, postgresql14, opensearch2): tests/resources/test_resources.py#L298
test_jobs_update assert {'active': Fa...'celery', ...} == {'active': Fa...'celery', ...} Omitting 10 identical items, use -vv to show Differing items: {'default_args': '{\n "since": null\n}'} != {'default_args': '{}'} Full diff: { 'active': False, 'created': '2024-10-10T20:44:19.806321+00:00', - 'default_args': '{}', + 'default_args': '{\n "since": null\n}', 'default_queue': 'celery', 'description': 'Test updated description', 'id': 'f50a011f-1598-4216-9a9a-bc9c9be8d908', 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/f50a011f-1598-4216-9a9a-bc9c9be8d908/runs', 'self': 'https://127.0.0.1:5000/api/jobs/f50a011f-1598-4216-9a9a-bc9c9be8d908', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/f50a011f-1598-4216-9a9a-bc9c9be8d908'}, 'schedule': {'hours': 2, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test updated job', 'updated': '2024-10-10T20:44:19.823813+00:00', }
Tests / Tests (3.12, postgresql14, opensearch2): tests/resources/test_resources.py#L315
test_jobs_search assert {'active': Tr...': 'low', ...} == {'active': Tr...': 'low', ...} Omitting 12 identical items, use -vv to show Differing items: {'default_args': '{\n "since": null\n}'} != {'default_args': '{}'} Full diff: { 'active': True, 'created': '2024-10-10T20:44:19.882203+00:00', - 'default_args': '{}', + 'default_args': '{\n "since": null\n}', 'default_queue': 'low', 'description': None, 'id': '75962a6c-fc07-4480-b134-b10df861cd15', 'last_run': {'title': 'Manual run'}, 'last_runs': {'cancelled': {}, 'cancelling': {}, 'failed': {}, 'queued': {}, 'running': {}, 'success': {}, 'warning': {}}, 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/75962a6c-fc07-4480-b134-b10df861cd15/runs', 'self': 'https://127.0.0.1:5000/api/jobs/75962a6c-fc07-4480-b134-b10df861cd15', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/75962a6c-fc07-4480-b134-b10df861cd15'}, 'schedule': {'hours': 4, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test interval job', 'updated': '2024-10-10T20:44:19.882212+00:00', }
Tests / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.