Skip to content

doi: handle UI for optional DOI feature #5790

doi: handle UI for optional DOI feature

doi: handle UI for optional DOI feature #5790

Triggered via pull request December 12, 2024 16:23
Status Failure
Total duration 26m 38s
Artifacts

tests.yml

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

Annotations

20 errors and 4 warnings
Python / Tests (3.9, postgresql14, opensearch2): tests/requests/test_user_moderation_actions.py#L60
test_user_moderation_approve invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList
Python / Tests (3.9, postgresql14, opensearch2): tests/resources/test_resources_communities.py#L424
test_create_new_version_after_inclusion_request assert 400 == 202 + where 400 = <WrapperTestResponse streamed [400 BAD REQUEST]>.status_code
Python / Tests (3.9, postgresql14, opensearch2): tests/resources/test_resources_communities.py#L966
test_republish_with_mulitple_communities invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList
Python / Tests (3.9, postgresql14, opensearch2): tests/services/test_rdm_service.py#L1
isort-check """Service level tests for Invenio RDM Records.""" +from copy import deepcopy + import pytest - -from copy import deepcopy from marshmallow import ValidationError from invenio_rdm_records.proxies import current_rdm_records
Python / Tests (3.9, postgresql14, opensearch2): tests/services/test_rdm_service.py#L104
test_publish_public_record_with_optional_doi invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList
Python / Tests (3.9, postgresql14, opensearch2): tests/services/test_rdm_service.py#L219
test_publish_public_record_versions_with_managed_doi_and_doi_optional sqlalchemy.orm.exc.StaleDataError: UPDATE statement on table 'rdm_records_metadata_version' expected to update 1 row(s); 0 were matched.
Python / Tests (3.9, postgresql14, opensearch2): tests/services/test_rdm_service.py#L279
test_embargo_lift_creates_doi AssertionError: assert 'doi' in {} + where {} = {'id': '1jnf0-yzm09', 'pid': {'pk': 52, 'status': 'R', 'obj_type': 'rec', 'pid_type': 'recid'}, 'pids': {}, 'files': {...oto'}, 'publication_date': '2020-06-01'}, 'media_files': {'enabled': False}, 'custom_fields': {}, 'internal_notes': []}.pids
Python / Tests (3.9, postgresql14, opensearch2): tests/services/test_rdm_service.py#L289
test_public_record_to_restricted_keeps_doi AssertionError: assert 'doi' in {'oai': {'identifier': 'oai:inveniordm:kf9kz-t3y13', 'provider': 'oai'}} + where {'oai': {'identifier': 'oai:inveniordm:kf9kz-t3y13', 'provider': 'oai'}} = {'$schema': 'local://records/record-v6.0.0.json', 'pid': {'pk': 55, 'pid_type': 'recid', 'status': 'R', 'obj_type': 'r...s': [], 'access': {'record': 'public', 'files': 'public', 'embargo': {'active': False, 'until': None, 'reason': None}}}.pids + where {'$schema': 'local://records/record-v6.0.0.json', 'pid': {'pk': 55, 'pid_type': 'recid', 'status': 'R', 'obj_type': 'r...s': [], 'access': {'record': 'public', 'files': 'public', 'embargo': {'active': False, 'until': None, 'reason': None}}} = <invenio_records_resources.services.records.results.RecordItem object at 0x7f066136d580>._record
Python / Tests (3.9, postgresql14, opensearch2): tests/services/test_rdm_service.py#L417
test_search_sort_verified_enabled assert 0 == 2 + where 0 = <invenio_rdm_records.services.results.RDMRecordList object at 0x7f065e078070>.total
Python / Tests (3.9, postgresql14, opensearch2): tests/services/test_record_deletion.py#L142
test_record_deletion_of_specific_version assert 1 == 2 + where 1 = <invenio_rdm_records.services.results.RDMRecordList object at 0x7f0660220850>.total
Python / Tests (3.12, postgresql14, opensearch2): tests/requests/test_user_moderation_actions.py#L60
test_user_moderation_approve invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList
Python / Tests (3.12, postgresql14, opensearch2): tests/resources/test_resources_communities.py#L424
test_create_new_version_after_inclusion_request assert 400 == 202 + where 400 = <WrapperTestResponse streamed [400 BAD REQUEST]>.status_code
Python / Tests (3.12, postgresql14, opensearch2): tests/resources/test_resources_communities.py#L966
test_republish_with_mulitple_communities invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList
Python / Tests (3.12, postgresql14, opensearch2): tests/services/test_rdm_service.py#L1
isort-check """Service level tests for Invenio RDM Records.""" +from copy import deepcopy + import pytest - -from copy import deepcopy from marshmallow import ValidationError from invenio_rdm_records.proxies import current_rdm_records
Python / Tests (3.12, postgresql14, opensearch2): tests/services/test_rdm_service.py#L104
test_publish_public_record_with_optional_doi invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList
Python / Tests (3.12, postgresql14, opensearch2): tests/services/test_rdm_service.py#L219
test_publish_public_record_versions_with_managed_doi_and_doi_optional sqlalchemy.orm.exc.StaleDataError: UPDATE statement on table 'rdm_records_metadata_version' expected to update 1 row(s); 0 were matched.
Python / Tests (3.12, postgresql14, opensearch2): tests/services/test_rdm_service.py#L279
test_embargo_lift_creates_doi AssertionError: assert 'doi' in {} + where {} = {'id': 'ws8vc-aj259', 'pid': {'pk': 52, 'status': 'R', 'obj_type': 'rec', 'pid_type': 'recid'}, 'pids': {}, 'files': {...oto'}, 'publication_date': '2020-06-01'}, 'media_files': {'enabled': False}, 'custom_fields': {}, 'internal_notes': []}.pids
Python / Tests (3.12, postgresql14, opensearch2): tests/services/test_rdm_service.py#L289
test_public_record_to_restricted_keeps_doi AssertionError: assert 'doi' in {'oai': {'identifier': 'oai:inveniordm:fx2n9-kfq45', 'provider': 'oai'}} + where {'oai': {'identifier': 'oai:inveniordm:fx2n9-kfq45', 'provider': 'oai'}} = {'$schema': 'local://records/record-v6.0.0.json', 'pid': {'pk': 55, 'pid_type': 'recid', 'status': 'R', 'obj_type': 'r...s': [], 'access': {'record': 'public', 'files': 'public', 'embargo': {'active': False, 'until': None, 'reason': None}}}.pids + where {'$schema': 'local://records/record-v6.0.0.json', 'pid': {'pk': 55, 'pid_type': 'recid', 'status': 'R', 'obj_type': 'r...s': [], 'access': {'record': 'public', 'files': 'public', 'embargo': {'active': False, 'until': None, 'reason': None}}} = <invenio_records_resources.services.records.results.RecordItem object at 0x7fa129780410>._record
Python / Tests (3.12, postgresql14, opensearch2): tests/services/test_record_deletion.py#L142
test_record_deletion_of_specific_version assert 1 == 2 + where 1 = <invenio_rdm_records.services.results.RDMRecordList object at 0x7fa1288e30e0>.total