OCL API 2
Build: #1981 failed
Job: Run tests failed
Job result summary
- Completed
- Duration
- 12 minutes
- Agent
- xindi.openmrs.org
- Revision
-
e194a64b53de3f7a30e08c4ce9c81863cd8b54cf
- Failing since
- #1980 (Changes by Rafal Korytkowski – )
- Fixed in
- #1984 (Manual run from the stage: Deploy for testing by Rafal Korytkowski)
Error summary
The build generated some errors. See the full build log for more details.
? ^
'conflicting_concept_url': '/orgs/org78/sources/source99/concepts/concept77/',
'conflicting_name': 'name21',
'conflicting_name_url': '/orgs/org78/sources/source99/concepts/concept77/names/43/',
'conflicting_references': ['/orgs/org79/collections/collection22/references/24/'],
'description': 'Concept '
'fully '
'specified '
'name '
'must '
'be '
'unique '
'for '
'same '
'collection '
'and '
'locale.'},
- {'conflicting_concept_id': 'concept77',
- 'conflicting_concept_name': 'name22',
? ^
+ {'conflicting_concept_name': 'name22',
? ^
'conflicting_concept_url': '/orgs/org78/sources/source99/concepts/concept77/',
'conflicting_name': 'name22',
'conflicting_name_url': '/orgs/org78/sources/source99/concepts/concept77/names/44/',
'conflicting_references': ['/orgs/org79/collections/collection22/references/24/'],
'description': 'Concept '
'preferred '
'name '
'must '
'be '
'unique '
'for '
'same '
'collection '
'and '
'locale.'},
- {'conflicting_concept_id': 'concept77',
- 'conflicting_concept_name': 'name22',
? ^
+ {'conflicting_concept_name': 'name22',
? ^
'conflicting_concept_url': '/orgs/org78/sources/source99/concepts/concept77/',
'conflicting_name': 'name21',
'conflicting_name_url': '/orgs/org78/sources/source99/concepts/concept77/names/43/',
'conflicting_references': ['/orgs/org79/collections/collection22/references/24/'],
'description': 'Concept '
'preferred '
'name '
'must '
'be '
'unique '
'for '
'same '
'collection '
'and '
'locale.'}]}}
======================================================================
FAIL: test_validate_openmrs_schema_matching_name_locale (core.collections.tests.tests.CollectionTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/collections/tests/tests.py"[39m, line [38;5;241m302[39m, in test_validate_openmrs_schema_matching_name_locale
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'/or[252 chars]cept_id': 'concept80', 'conflicting_concept_na[154 chars]]}]}} != {'/or[252 chars]cept_name': 'name', 'conflicting_name_url': '/[115 chars]]}]}}
- {'/orgs/org83/sources/source102/concepts/concept80/': {'errors': [{'conflicting_concept_id': 'concept80',
? ^^ -- ^ ----
+ {'/orgs/org83/sources/source102/concepts/concept80/': {'errors': [{'conflicting_concept_name': 'name',
? ^^^^ ^^
- 'conflicting_concept_name': 'name',
'conflicting_concept_url': '/orgs/org83/sources/source102/concepts/concept80/',
'conflicting_name': 'name',
'conflicting_name_url': '/orgs/org83/sources/source102/concepts/concept80/names/53/',
'conflicting_references': [],
'description': 'Concept '
'fully '
'specified '
'name '
'must '
'be '
'unique '
'for '
'same '
'collection '
'and '
'locale.'}]}}
----------------------------------------------------------------------
Ran 836 tests in 641.501s
FAILED (failures=2, errors=53)
Preserving test database for alias 'default' ('test_postgres')...
1
Stopping ocl-oclapi2-rt_es_1 ...
Stopping ocl-oclapi2-rt_db_1 ...
Stopping ocl-oclapi2-rt_db_1 ... done
Stopping ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_es_1 ...
Removing ocl-oclapi2-rt_db_1 ...
Removing ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_db_1 ... done
Removing network ocl-oclapi2-rt_default
Removing volume ocl-oclapi2-rt_postgres-data
Removing volume ocl-oclapi2-rt_es-data
Removing volume ocl-oclapi2-rt_redis-data
'conflicting_concept_url': '/orgs/org78/sources/source99/concepts/concept77/',
'conflicting_name': 'name21',
'conflicting_name_url': '/orgs/org78/sources/source99/concepts/concept77/names/43/',
'conflicting_references': ['/orgs/org79/collections/collection22/references/24/'],
'description': 'Concept '
'fully '
'specified '
'name '
'must '
'be '
'unique '
'for '
'same '
'collection '
'and '
'locale.'},
- {'conflicting_concept_id': 'concept77',
- 'conflicting_concept_name': 'name22',
? ^
+ {'conflicting_concept_name': 'name22',
? ^
'conflicting_concept_url': '/orgs/org78/sources/source99/concepts/concept77/',
'conflicting_name': 'name22',
'conflicting_name_url': '/orgs/org78/sources/source99/concepts/concept77/names/44/',
'conflicting_references': ['/orgs/org79/collections/collection22/references/24/'],
'description': 'Concept '
'preferred '
'name '
'must '
'be '
'unique '
'for '
'same '
'collection '
'and '
'locale.'},
- {'conflicting_concept_id': 'concept77',
- 'conflicting_concept_name': 'name22',
? ^
+ {'conflicting_concept_name': 'name22',
? ^
'conflicting_concept_url': '/orgs/org78/sources/source99/concepts/concept77/',
'conflicting_name': 'name21',
'conflicting_name_url': '/orgs/org78/sources/source99/concepts/concept77/names/43/',
'conflicting_references': ['/orgs/org79/collections/collection22/references/24/'],
'description': 'Concept '
'preferred '
'name '
'must '
'be '
'unique '
'for '
'same '
'collection '
'and '
'locale.'}]}}
======================================================================
FAIL: test_validate_openmrs_schema_matching_name_locale (core.collections.tests.tests.CollectionTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/collections/tests/tests.py"[39m, line [38;5;241m302[39m, in test_validate_openmrs_schema_matching_name_locale
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'/or[252 chars]cept_id': 'concept80', 'conflicting_concept_na[154 chars]]}]}} != {'/or[252 chars]cept_name': 'name', 'conflicting_name_url': '/[115 chars]]}]}}
- {'/orgs/org83/sources/source102/concepts/concept80/': {'errors': [{'conflicting_concept_id': 'concept80',
? ^^ -- ^ ----
+ {'/orgs/org83/sources/source102/concepts/concept80/': {'errors': [{'conflicting_concept_name': 'name',
? ^^^^ ^^
- 'conflicting_concept_name': 'name',
'conflicting_concept_url': '/orgs/org83/sources/source102/concepts/concept80/',
'conflicting_name': 'name',
'conflicting_name_url': '/orgs/org83/sources/source102/concepts/concept80/names/53/',
'conflicting_references': [],
'description': 'Concept '
'fully '
'specified '
'name '
'must '
'be '
'unique '
'for '
'same '
'collection '
'and '
'locale.'}]}}
----------------------------------------------------------------------
Ran 836 tests in 641.501s
FAILED (failures=2, errors=53)
Preserving test database for alias 'default' ('test_postgres')...
1
Stopping ocl-oclapi2-rt_es_1 ...
Stopping ocl-oclapi2-rt_db_1 ...
Stopping ocl-oclapi2-rt_db_1 ... done
Stopping ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_es_1 ...
Removing ocl-oclapi2-rt_db_1 ...
Removing ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_db_1 ... done
Removing network ocl-oclapi2-rt_default
Removing volume ocl-oclapi2-rt_postgres-data
Removing volume ocl-oclapi2-rt_es-data
Removing volume ocl-oclapi2-rt_redis-data