Skip to content

Job registry

Job registry #203

Triggered via pull request September 11, 2024 14:24
Status Failure
Total duration 2m 18s
Artifacts

tests.yml

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

Annotations

8 errors
Tests / Tests (3.9, postgresql14, opensearch2): tests/resources/test_resources.py#L81
test_simple_flow AssertionError: assert {'active': Tr...': 'low', ...} == {'active': Tr...': 'low', ...} Omitting 12 identical items, use -vv to show Differing items: {'last_run': {'title': 'Manual run'}} != {'last_run': {'queue': 'celery', 'title': 'Manual run'}} Full diff: { 'active': True, 'created': '2024-09-11T14:26:18.939911+00:00', 'default_args': '{}', 'default_queue': 'low', 'description': 'Test description', 'id': 'b230efe8-5094-4bd0-a234-8ec035c5151a', - 'last_run': {'queue': 'celery', 'title': 'Manual run'}, ? ------------------- + 'last_run': {'title': 'Manual run'}, 'last_runs': {'cancelled': {}, 'cancelling': {}, 'failed': {}, 'queued': {}, 'running': {}, 'success': {}, 'warning': {}}, 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/b230efe8-5094-4bd0-a234-8ec035c5151a/runs', 'self': 'https://127.0.0.1:5000/api/jobs/b230efe8-5094-4bd0-a234-8ec035c5151a', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/b230efe8-5094-4bd0-a234-8ec035c5151a'}, 'schedule': {'hours': 4, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test job', 'updated': '2024-09-11T14:26:18.965370+00:00', }
Tests / Tests (3.9, postgresql14, opensearch2): tests/resources/test_resources.py#L315
test_jobs_search AssertionError: assert {'active': Tr...': 'low', ...} == {'active': Tr...': 'low', ...} Omitting 12 identical items, use -vv to show Differing items: {'last_run': {'title': 'Manual run'}} != {'last_run': {'queue': 'celery', 'title': 'Manual run'}} Full diff: { 'active': True, 'created': '2024-09-11T14:26:19.328624+00:00', 'default_args': '{}', 'default_queue': 'low', 'description': None, 'id': '3b67a016-0fad-48b3-92a7-624d46d4a2e8', - 'last_run': {'queue': 'celery', 'title': 'Manual run'}, ? ------------------- + 'last_run': {'title': 'Manual run'}, 'last_runs': {'cancelled': {}, 'cancelling': {}, 'failed': {}, 'queued': {}, 'running': {}, 'success': {}, 'warning': {}}, 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/3b67a016-0fad-48b3-92a7-624d46d4a2e8/runs', 'self': 'https://127.0.0.1:5000/api/jobs/3b67a016-0fad-48b3-92a7-624d46d4a2e8', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/3b67a016-0fad-48b3-92a7-624d46d4a2e8'}, 'schedule': {'hours': 4, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test interval job', 'updated': '2024-09-11T14:26:19.328628+00:00', }
Tests / Tests (3.9, postgresql14, opensearch2): invenio_jobs/services/schema.py#L1
isort-check from invenio_i18n import lazy_gettext as _ from invenio_users_resources.services import schemas as user_schemas -from marshmallow import ( - EXCLUDE, - Schema, - fields, - post_load, - pre_dump, - pre_load, - validate, -) +from marshmallow import EXCLUDE, Schema, fields, post_load, pre_dump, pre_load, validate from marshmallow_oneofschema import OneOfSchema from marshmallow_utils.fields import SanitizedUnicode, TZDateTime from marshmallow_utils.permissions import FieldPermissionsMixin
Tests / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.12, postgresql14, opensearch2): tests/resources/test_resources.py#L81
test_simple_flow AssertionError: assert {'active': Tr...': 'low', ...} == {'active': Tr...': 'low', ...} Omitting 12 identical items, use -vv to show Differing items: {'last_run': {'title': 'Manual run'}} != {'last_run': {'queue': 'celery', 'title': 'Manual run'}} Full diff: { 'active': True, 'created': '2024-09-11T14:26:25.236289+00:00', 'default_args': '{}', 'default_queue': 'low', 'description': 'Test description', 'id': '9cac3400-85d6-4925-a945-1431efd551d7', - 'last_run': {'queue': 'celery', 'title': 'Manual run'}, ? ------------------- + 'last_run': {'title': 'Manual run'}, 'last_runs': {'cancelled': {}, 'cancelling': {}, 'failed': {}, 'queued': {}, 'running': {}, 'success': {}, 'warning': {}}, 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/9cac3400-85d6-4925-a945-1431efd551d7/runs', 'self': 'https://127.0.0.1:5000/api/jobs/9cac3400-85d6-4925-a945-1431efd551d7', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/9cac3400-85d6-4925-a945-1431efd551d7'}, 'schedule': {'hours': 4, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test job', 'updated': '2024-09-11T14:26:25.271254+00:00', }
Tests / Tests (3.12, postgresql14, opensearch2): tests/resources/test_resources.py#L315
test_jobs_search AssertionError: assert {'active': Tr...': 'low', ...} == {'active': Tr...': 'low', ...} Omitting 12 identical items, use -vv to show Differing items: {'last_run': {'title': 'Manual run'}} != {'last_run': {'queue': 'celery', 'title': 'Manual run'}} Full diff: { 'active': True, 'created': '2024-09-11T14:26:25.649231+00:00', 'default_args': '{}', 'default_queue': 'low', 'description': None, 'id': '572b8397-9f62-4710-9af8-40478a420940', - 'last_run': {'queue': 'celery', 'title': 'Manual run'}, ? ------------------- + 'last_run': {'title': 'Manual run'}, 'last_runs': {'cancelled': {}, 'cancelling': {}, 'failed': {}, 'queued': {}, 'running': {}, 'success': {}, 'warning': {}}, 'links': {'runs': 'https://127.0.0.1:5000/api/jobs/572b8397-9f62-4710-9af8-40478a420940/runs', 'self': 'https://127.0.0.1:5000/api/jobs/572b8397-9f62-4710-9af8-40478a420940', 'self_admin_html': 'https://127.0.0.1:5000/administration/jobs/572b8397-9f62-4710-9af8-40478a420940'}, 'schedule': {'hours': 4, 'type': 'interval'}, 'task': 'update_expired_embargos', 'title': 'Test interval job', 'updated': '2024-09-11T14:26:25.649242+00:00', }
Tests / Tests (3.12, postgresql14, opensearch2): invenio_jobs/services/schema.py#L1
isort-check from invenio_i18n import lazy_gettext as _ from invenio_users_resources.services import schemas as user_schemas -from marshmallow import ( - EXCLUDE, - Schema, - fields, - post_load, - pre_dump, - pre_load, - validate, -) +from marshmallow import EXCLUDE, Schema, fields, post_load, pre_dump, pre_load, validate from marshmallow_oneofschema import OneOfSchema from marshmallow_utils.fields import SanitizedUnicode, TZDateTime from marshmallow_utils.permissions import FieldPermissionsMixin
Tests / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.