OCL API 2
Build: #91 failed Changes by Sunny Aggarwal.
Build result summary
Details
- Completed
- Queue duration
- < 1 second
- Duration
- 15 minutes
- Labels
- None
- Revisions
-
- OCL API 2
-
08b14838a6e6c091f23fdaf274bc2456149ec9f5
08b14838a6e6c091f23fdaf274bc2456149ec9f5 - OCL CI
-
6544e7ed40ead274ba8b0995efe09bb9edfd8319
6544e7ed40ead274ba8b0995efe09bb9edfd8319
- Failing since
- #90 (Changes by Rafal Korytkowski and Sunny Aggarwal. – )
- Fixed in
- #92 (Manual run from the stage: Deploy for testing by Sunny Aggarwal.)
Responsible
- Rafal Korytkowski Automatically assigned
- Sunny Aggarwal. Automatically assigned
Code commits
Author | Commit | Commit date | |
---|---|---|---|
Sunny Aggarwal. |
08b14838a6e6c091f23fdaf274bc2456149ec9f5
|
Error summary for Run tests
The job generated some errors, drill down into the full build log for more details.
test_owner_url ... ok
core.users.tests.tests.TasksTest
test_send_user_reset_password_email ... ok
test_send_user_verification_email ... ok
core.users.tests.tests.TokenAuthenticationViewTest
test_get_200 ... ok
test_get_405 ... ok
test_post ... ok
core.users.tests.tests.UserLogoViewTest
test_post_200 ... ok
core.users.tests.tests.UserProfileTest
test_auth_groups ... ok
test_create_userprofile_positive ... ok
test_deactivate ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2024-03-06 03:49:16.170367) while time zone support is active.
warnings.warn(
ok
test_delete ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2024-03-06 03:49:16.187563) 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:1595: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2024-03-06 03:49:17.496029) 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 253, in to_representation
IdentifierSerializer.include_ocl_identifier(instance.uri, RESOURCE_TYPE, rep)
File "/code/core/common/serializers.py", line 141, in include_ocl_identifier
return IdentifierSerializer.parse_identifier(ident)
File "/code/core/common/serializers.py", line 88, 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
core.tasks.tests.UtilsTest
test_wait_until_task_complete_finished ... ok
test_wait_until_task_complete_pending ... ok
======================================================================
FAIL: test_facets (core.integration_tests.tests_concepts.ConceptListViewTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/integration_tests/tests_concepts.py"[39m, line [38;5;241m1910[39m, in test_facets
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual([x [38;5;28;01mfor[39;00m x [38;5;129;01min[39;00m response[38;5;241m.[39mdata[[38;5;124m'[39m[38;5;124mfacets[39m[38;5;124m'[39m][[38;5;124m'[39m[38;5;124mfields[39m[38;5;124m'[39m][[38;5;124m'[39m[38;5;124mconceptClass[39m[38;5;124m'[39m] [38;5;28;01mif[39;00m x[[38;5;241m0[39m] [38;5;241m==[39m [38;5;124m'[39m[38;5;124mclassa[39m[38;5;124m'[39m], [])
[38;5;160mAssertionError[39m: Lists differ: [('classa', 1, False)] != []
First list contains 1 additional elements.
First extra element 0:
('classa', 1, False)
- [('classa', 1, False)]
+ []
======================================================================
FAIL: test_search (core.integration_tests.tests_concepts.ConceptListViewTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/integration_tests/tests_concepts.py"[39m, line [38;5;241m1662[39m, in test_search
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual([38;5;28mlen[39m(response[38;5;241m.[39mdata), [38;5;241m1[39m)
[38;5;160mAssertionError[39m: 2 != 1
----------------------------------------------------------------------
Ran 834 tests in 664.018s
FAILED (failures=2)
Preserving test database for alias 'default' ('test_postgres')...
1
Stopping ocl-oclapi20-rt_db_1 ...
Stopping ocl-oclapi20-rt_es_1 ...
Stopping ocl-oclapi20-rt_db_1 ... done
Stopping ocl-oclapi20-rt_es_1 ... done
Removing ocl-oclapi20-rt_db_1 ...
Removing ocl-oclapi20-rt_es_1 ...
Removing ocl-oclapi20-rt_es_1 ... done
Removing ocl-oclapi20-rt_db_1 ... done
Removing network ocl-oclapi20-rt_default
Removing volume ocl-oclapi20-rt_postgres-data
Removing volume ocl-oclapi20-rt_es-data
Removing volume ocl-oclapi20-rt_redis-data
core.users.tests.tests.TasksTest
test_send_user_reset_password_email ... ok
test_send_user_verification_email ... ok
core.users.tests.tests.TokenAuthenticationViewTest
test_get_200 ... ok
test_get_405 ... ok
test_post ... ok
core.users.tests.tests.UserLogoViewTest
test_post_200 ... ok
core.users.tests.tests.UserProfileTest
test_auth_groups ... ok
test_create_userprofile_positive ... ok
test_deactivate ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2024-03-06 03:49:16.170367) while time zone support is active.
warnings.warn(
ok
test_delete ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2024-03-06 03:49:16.187563) 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:1595: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2024-03-06 03:49:17.496029) 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 253, in to_representation
IdentifierSerializer.include_ocl_identifier(instance.uri, RESOURCE_TYPE, rep)
File "/code/core/common/serializers.py", line 141, in include_ocl_identifier
return IdentifierSerializer.parse_identifier(ident)
File "/code/core/common/serializers.py", line 88, 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
core.tasks.tests.UtilsTest
test_wait_until_task_complete_finished ... ok
test_wait_until_task_complete_pending ... ok
======================================================================
FAIL: test_facets (core.integration_tests.tests_concepts.ConceptListViewTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/integration_tests/tests_concepts.py"[39m, line [38;5;241m1910[39m, in test_facets
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual([x [38;5;28;01mfor[39;00m x [38;5;129;01min[39;00m response[38;5;241m.[39mdata[[38;5;124m'[39m[38;5;124mfacets[39m[38;5;124m'[39m][[38;5;124m'[39m[38;5;124mfields[39m[38;5;124m'[39m][[38;5;124m'[39m[38;5;124mconceptClass[39m[38;5;124m'[39m] [38;5;28;01mif[39;00m x[[38;5;241m0[39m] [38;5;241m==[39m [38;5;124m'[39m[38;5;124mclassa[39m[38;5;124m'[39m], [])
[38;5;160mAssertionError[39m: Lists differ: [('classa', 1, False)] != []
First list contains 1 additional elements.
First extra element 0:
('classa', 1, False)
- [('classa', 1, False)]
+ []
======================================================================
FAIL: test_search (core.integration_tests.tests_concepts.ConceptListViewTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/integration_tests/tests_concepts.py"[39m, line [38;5;241m1662[39m, in test_search
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual([38;5;28mlen[39m(response[38;5;241m.[39mdata), [38;5;241m1[39m)
[38;5;160mAssertionError[39m: 2 != 1
----------------------------------------------------------------------
Ran 834 tests in 664.018s
FAILED (failures=2)
Preserving test database for alias 'default' ('test_postgres')...
1
Stopping ocl-oclapi20-rt_db_1 ...
Stopping ocl-oclapi20-rt_es_1 ...
Stopping ocl-oclapi20-rt_db_1 ... done
Stopping ocl-oclapi20-rt_es_1 ... done
Removing ocl-oclapi20-rt_db_1 ...
Removing ocl-oclapi20-rt_es_1 ...
Removing ocl-oclapi20-rt_es_1 ... done
Removing ocl-oclapi20-rt_db_1 ... done
Removing network ocl-oclapi20-rt_default
Removing volume ocl-oclapi20-rt_postgres-data
Removing volume ocl-oclapi20-rt_es-data
Removing volume ocl-oclapi20-rt_redis-data