OCL API 2
Build: #1576 failed Rebuilt by Sunny Aggarwal.
Build result summary
Details
- Completed
- Queue duration
- < 1 second
- Duration
- 256 minutes
- Labels
- None
- Revisions
-
- OCL API 2
-
98346a70f2b1842bfa084483627d8f348baffe6e
98346a70f2b1842bfa084483627d8f348baffe6e - OCL CI
-
3a5aa873674ab3c0ed904029536d426abb31bdd0
3a5aa873674ab3c0ed904029536d426abb31bdd0
- Fixed in
- #1577 (Changes by Sunny Aggarwal.)
- Number of retries
- 2
Responsible
- Sunny Aggarwal. Automatically assigned
Code commits
Author | Commit | Commit date | |
---|---|---|---|
Sunny Aggarwal. |
98346a70f2b1842bfa084483627d8f348baffe6e
|
Error summary for Run tests
The job generated some errors, drill down into the full build log for more details.
test_delete ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2023-03-21 04:47:27.753656) while time zone support is active.
warnings.warn(
ok
test_email_verification_url ... ok
test_full_name ... ok
test_get_search_document ... ok
test_get_token ... ok
test_is_valid_auth_group ... ok
test_mark_verified ... ok
test_mnemonic ... ok
test_name ... ok
test_public_collections ... ok
test_public_sources ... ok
test_reset_password_url ... ok
test_resource_type ... ok
test_send_reset_password_email ... ok
test_send_verification_email ... ok
test_set_token ... ok
test_status ... ok
test_update_password ... ok
test_user ... ok
test_user_active_inactive_should_affect_children ... ok
test_verify ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2023-03-21 04:47:28.713784) while time zone support is active.
warnings.warn(
ok
core.value_sets.tests.ValueSetTest
test_can_create_empty ... ok
test_can_create_with_compose ... ok
test_can_update_empty ... ok
test_create_with_filter_and_concept ... ok
test_create_with_filter_and_system ... ok
test_expand ... ok
test_public_can_find_globally ... ok
test_public_can_find_globally_without_compose ... ok
test_public_can_view ... ok
test_unable_to_represent_as_fhir ... Traceback (most recent call last):
File "/code/core/value_sets/serializers.py", line 249, in to_representation
IdentifierSerializer.include_ocl_identifier(instance.uri, RESOURCE_TYPE, rep)
File "/code/core/common/serializers.py", line 133, in include_ocl_identifier
return IdentifierSerializer.parse_identifier(ident)
File "/code/core/common/serializers.py", line 80, in parse_identifier
raise ValidationError(
rest_framework.exceptions.ValidationError: [ErrorDetail(string='Identifier must be in a format: /{owner_type}/{owner_id}/{resourceType}/{resource_id}/, given: /invalid/uri', code='invalid')]
Failed to represent "/invalid/uri" as ValueSet
ok
test_update_with_compose ... ok
test_validate_code ... ok
test_validate_code_globally ... ok
test_validate_code_globally_negative ... ok
test_validate_code_globally_via_post ... ok
test_validate_code_negative ... ok
======================================================================
FAIL: test_translate_positive (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/concept_maps/tests.py"[39m, line [38;5;241m395[39m, in test_translate_positive
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertDictEqual(response[38;5;241m.[39mdata, {
[38;5;160mAssertionError[39m: {'res[323 chars])])]), OrderedDict([('name', 'match'), ('part'[187 chars])])]} != {'res[323 chars])])])]}
- {'resourceType': 'Parameters', 'parameter': [OrderedDict([('name', 'result'), ('valueBoolean', True)]), OrderedDict([('name', 'match'), ('part', [OrderedDict([('name', 'equivalence'), ('valueCode', 'equivalent')]), OrderedDict([('name', 'concept'), ('valueCoding', OrderedDict([('system', '/some/url'), ('code', 'concept_1')]))])])]), OrderedDict([('name', 'match'), ('part', [OrderedDict([('name', 'equivalence'), ('valueCode', 'equivalent')]), OrderedDict([('name', 'concept'), ('valueCoding', OrderedDict([('system', '/some/url'), ('code', 'concept_1')]))])])])]}
+ {'parameter': [OrderedDict([('name', 'result'), ('valueBoolean', True)]),
+ OrderedDict([('name', 'match'),
+ ('part',
+ [OrderedDict([('name', 'equivalence'),
+ ('valueCode', 'equivalent')]),
+ OrderedDict([('name', 'concept'),
+ ('valueCoding',
+ OrderedDict([('system',
+ '/some/url'),
+ ('code',
+ 'concept_1')]))])])])],
+ 'resourceType': 'Parameters'}
======================================================================
FAIL: test_translate_with_target (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/concept_maps/tests.py"[39m, line [38;5;241m477[39m, in test_translate_with_target
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertDictEqual(response[38;5;241m.[39mdata, {
[38;5;160mAssertionError[39m: {'res[323 chars])])]), OrderedDict([('name', 'match'), ('part'[187 chars])])]} != {'res[323 chars])])])]}
- {'resourceType': 'Parameters', 'parameter': [OrderedDict([('name', 'result'), ('valueBoolean', True)]), OrderedDict([('name', 'match'), ('part', [OrderedDict([('name', 'equivalence'), ('valueCode', 'equivalent')]), OrderedDict([('name', 'concept'), ('valueCoding', OrderedDict([('system', '/some/url'), ('code', 'concept_1')]))])])]), OrderedDict([('name', 'match'), ('part', [OrderedDict([('name', 'equivalence'), ('valueCode', 'equivalent')]), OrderedDict([('name', 'concept'), ('valueCoding', OrderedDict([('system', '/some/url'), ('code', 'concept_1')]))])])])]}
+ {'parameter': [OrderedDict([('name', 'result'), ('valueBoolean', True)]),
+ OrderedDict([('name', 'match'),
+ ('part',
+ [OrderedDict([('name', 'equivalence'),
+ ('valueCode', 'equivalent')]),
+ OrderedDict([('name', 'concept'),
+ ('valueCoding',
+ OrderedDict([('system',
+ '/some/url'),
+ ('code',
+ 'concept_1')]))])])])],
+ 'resourceType': 'Parameters'}
----------------------------------------------------------------------
Ran 764 tests in 180.803s
FAILED (failures=2, skipped=3)
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
warnings.warn(
ok
test_email_verification_url ... ok
test_full_name ... ok
test_get_search_document ... ok
test_get_token ... ok
test_is_valid_auth_group ... ok
test_mark_verified ... ok
test_mnemonic ... ok
test_name ... ok
test_public_collections ... ok
test_public_sources ... ok
test_reset_password_url ... ok
test_resource_type ... ok
test_send_reset_password_email ... ok
test_send_verification_email ... ok
test_set_token ... ok
test_status ... ok
test_update_password ... ok
test_user ... ok
test_user_active_inactive_should_affect_children ... ok
test_verify ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2023-03-21 04:47:28.713784) while time zone support is active.
warnings.warn(
ok
core.value_sets.tests.ValueSetTest
test_can_create_empty ... ok
test_can_create_with_compose ... ok
test_can_update_empty ... ok
test_create_with_filter_and_concept ... ok
test_create_with_filter_and_system ... ok
test_expand ... ok
test_public_can_find_globally ... ok
test_public_can_find_globally_without_compose ... ok
test_public_can_view ... ok
test_unable_to_represent_as_fhir ... Traceback (most recent call last):
File "/code/core/value_sets/serializers.py", line 249, in to_representation
IdentifierSerializer.include_ocl_identifier(instance.uri, RESOURCE_TYPE, rep)
File "/code/core/common/serializers.py", line 133, in include_ocl_identifier
return IdentifierSerializer.parse_identifier(ident)
File "/code/core/common/serializers.py", line 80, in parse_identifier
raise ValidationError(
rest_framework.exceptions.ValidationError: [ErrorDetail(string='Identifier must be in a format: /{owner_type}/{owner_id}/{resourceType}/{resource_id}/, given: /invalid/uri', code='invalid')]
Failed to represent "/invalid/uri" as ValueSet
ok
test_update_with_compose ... ok
test_validate_code ... ok
test_validate_code_globally ... ok
test_validate_code_globally_negative ... ok
test_validate_code_globally_via_post ... ok
test_validate_code_negative ... ok
======================================================================
FAIL: test_translate_positive (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/concept_maps/tests.py"[39m, line [38;5;241m395[39m, in test_translate_positive
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertDictEqual(response[38;5;241m.[39mdata, {
[38;5;160mAssertionError[39m: {'res[323 chars])])]), OrderedDict([('name', 'match'), ('part'[187 chars])])]} != {'res[323 chars])])])]}
- {'resourceType': 'Parameters', 'parameter': [OrderedDict([('name', 'result'), ('valueBoolean', True)]), OrderedDict([('name', 'match'), ('part', [OrderedDict([('name', 'equivalence'), ('valueCode', 'equivalent')]), OrderedDict([('name', 'concept'), ('valueCoding', OrderedDict([('system', '/some/url'), ('code', 'concept_1')]))])])]), OrderedDict([('name', 'match'), ('part', [OrderedDict([('name', 'equivalence'), ('valueCode', 'equivalent')]), OrderedDict([('name', 'concept'), ('valueCoding', OrderedDict([('system', '/some/url'), ('code', 'concept_1')]))])])])]}
+ {'parameter': [OrderedDict([('name', 'result'), ('valueBoolean', True)]),
+ OrderedDict([('name', 'match'),
+ ('part',
+ [OrderedDict([('name', 'equivalence'),
+ ('valueCode', 'equivalent')]),
+ OrderedDict([('name', 'concept'),
+ ('valueCoding',
+ OrderedDict([('system',
+ '/some/url'),
+ ('code',
+ 'concept_1')]))])])])],
+ 'resourceType': 'Parameters'}
======================================================================
FAIL: test_translate_with_target (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/concept_maps/tests.py"[39m, line [38;5;241m477[39m, in test_translate_with_target
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertDictEqual(response[38;5;241m.[39mdata, {
[38;5;160mAssertionError[39m: {'res[323 chars])])]), OrderedDict([('name', 'match'), ('part'[187 chars])])]} != {'res[323 chars])])])]}
- {'resourceType': 'Parameters', 'parameter': [OrderedDict([('name', 'result'), ('valueBoolean', True)]), OrderedDict([('name', 'match'), ('part', [OrderedDict([('name', 'equivalence'), ('valueCode', 'equivalent')]), OrderedDict([('name', 'concept'), ('valueCoding', OrderedDict([('system', '/some/url'), ('code', 'concept_1')]))])])]), OrderedDict([('name', 'match'), ('part', [OrderedDict([('name', 'equivalence'), ('valueCode', 'equivalent')]), OrderedDict([('name', 'concept'), ('valueCoding', OrderedDict([('system', '/some/url'), ('code', 'concept_1')]))])])])]}
+ {'parameter': [OrderedDict([('name', 'result'), ('valueBoolean', True)]),
+ OrderedDict([('name', 'match'),
+ ('part',
+ [OrderedDict([('name', 'equivalence'),
+ ('valueCode', 'equivalent')]),
+ OrderedDict([('name', 'concept'),
+ ('valueCoding',
+ OrderedDict([('system',
+ '/some/url'),
+ ('code',
+ 'concept_1')]))])])])],
+ 'resourceType': 'Parameters'}
----------------------------------------------------------------------
Ran 764 tests in 180.803s
FAILED (failures=2, skipped=3)
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
Comments on Run tests
Anonymous user
Detected hung build state. Attempting to generate stack trace and terminate spawned sub-processes.