Skip to content

config: hide person id from search #383

config: hide person id from search

config: hide person id from search #383

Triggered via pull request December 12, 2024 17:39
Status Failure
Total duration 6m 12s
Artifacts

tests.yml

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

Annotations

7 errors
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18): site/tests/test_tasks.py#L1
isort-check """Task tests.""" from datetime import datetime, timedelta -from invenio_search.engine import dsl + from invenio_access.permissions import system_identity from invenio_records_resources.proxies import current_service_registry +from invenio_search.engine import dsl from invenio_vocabularies.contrib.names.api import Name from cds_rdm.tasks import merge_duplicate_names_vocabulary, sync_local_accounts_to_names
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18): site/tests/test_tasks.py#L73
test_sync_name_with_existing_orcid sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "uq_name_metadata_internal_id" DETAIL: Key (internal_id)=(846610) already exists. [SQL: UPDATE name_metadata SET updated=%(updated)s, version_id=%(version_id)s, internal_id=%(internal_id)s WHERE name_metadata.id = %(name_metadata_id)s AND name_metadata.version_id = %(name_metadata_version_id)s] [parameters: {'updated': datetime.datetime(2024, 12, 12, 17, 45, 25, 805272), 'version_id': 7, 'internal_id': '846610', 'name_metadata_id': UUID('e48df5e0-0d76-4865-b636-8185d17cd67f'), 'name_metadata_version_id': 6}] (Background on this error at: https://sqlalche.me/e/14/gkpj)
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18)
Process completed with exit code 1.
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18)
The job was canceled because "site_3_9_postgresql14_ope" failed.
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18): site/tests/test_tasks.py#L1
isort-check """Task tests.""" from datetime import datetime, timedelta -from invenio_search.engine import dsl + from invenio_access.permissions import system_identity from invenio_records_resources.proxies import current_service_registry +from invenio_search.engine import dsl from invenio_vocabularies.contrib.names.api import Name from cds_rdm.tasks import merge_duplicate_names_vocabulary, sync_local_accounts_to_names
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18): site/tests/test_tasks.py#L73
test_sync_name_with_existing_orcid sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "uq_name_metadata_internal_id" DETAIL: Key (internal_id)=(846610) already exists. [SQL: UPDATE name_metadata SET updated=%(updated)s, version_id=%(version_id)s, internal_id=%(internal_id)s WHERE name_metadata.id = %(name_metadata_id)s AND name_metadata.version_id = %(name_metadata_version_id)s] [parameters: {'updated': datetime.datetime(2024, 12, 12, 17, 45, 24, 276477), 'version_id': 7, 'internal_id': '846610', 'name_metadata_id': UUID('02f1ed65-6626-4abe-a205-25f58057263e'), 'name_metadata_version_id': 6}] (Background on this error at: https://sqlalche.me/e/14/gkpj)
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18)
The operation was canceled.