doi: handle UI for optional DOI feature #5791
Triggered via pull request
December 12, 2024 16:24
Status
Failure
Total duration
27m 39s
Artifacts
–
Annotations
20 errors and 2 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': 'c4fex-kck28', '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:e60wd-51b98', 'provider': 'oai'}}
+ where {'oai': {'identifier': 'oai:inveniordm:e60wd-51b98', '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 0x7fa5d39c1be0>._record
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/services/test_rdm_service.py#L417
test_search_sort_verified_enabled
assert 1 == 2
+ where 1 = <invenio_rdm_records.services.results.RDMRecordList object at 0x7fa5dbfcb280>.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 0x7fa5dc534e20>.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': 'v28qr-5te22', '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:gy4ss-rq535', 'provider': 'oai'}}
+ where {'oai': {'identifier': 'oai:inveniordm:gy4ss-rq535', '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 0x7f90650df5c0>._record
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/services/test_rdm_service.py#L417
test_search_sort_verified_enabled
assert 1 == 2
+ where 1 = <invenio_rdm_records.services.results.RDMRecordList object at 0x7f90647878f0>.total
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/services/pids/test_pids_service.py#L63
test_resolve_pid
KeyError: 'doi'
|
|
|