OCL API 2
Build: #1997 failed Changes by Sunny Aggarwal.
Build result summary
Details
- Completed
- Queue duration
- < 1 second
- Duration
- 14 minutes
- Labels
- None
- Revisions
-
- OCL API 2
-
e0e4071cd26ea44a444d21dc28cd6ab7ae5ca269
e0e4071cd26ea44a444d21dc28cd6ab7ae5ca269 - OCL CI
-
6544e7ed40ead274ba8b0995efe09bb9edfd8319
6544e7ed40ead274ba8b0995efe09bb9edfd8319
- Fixed in
- #1999 (Manual run from the stage: Release by Sunny Aggarwal.)
Responsible
- Sunny Aggarwal. Automatically assigned
Code commits
Author | Commit | Commit date | |
---|---|---|---|
Sunny Aggarwal. |
e0e4071cd26ea44a444d21dc28cd6ab7ae5ca269
|
Error summary for Run tests
The job generated some errors, drill down into the full build log for more details.
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-05-09 04:54:40.269775) 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
======================================================================
ERROR: test_post_200 (core.integration_tests.tests_sources.SourceVersionsChangelogViewTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/integration_tests/tests_sources.py"[39m, line [38;5;241m2110[39m, in test_post_200
[38;5;250m [39mresponse [38;5;241m=[39m [38;5;28mself[39m[38;5;241m.[39mclient[38;5;241m.[39mpost(
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m296[39m, in post
[38;5;250m [39mresponse [38;5;241m=[39m [38;5;28msuper[39m()[38;5;241m.[39mpost(
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m210[39m, in post
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39mgeneric([38;5;124m'[39m[38;5;124mPOST[39m[38;5;124m'[39m, path, data, content_type, [38;5;241m*[39m[38;5;241m*[39mextra)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m234[39m, in generic
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28msuper[39m()[38;5;241m.[39mgeneric(
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/test/client.py"[39m, line [38;5;241m609[39m, in generic
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39mrequest([38;5;241m*[39m[38;5;241m*[39mr)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m286[39m, in request
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28msuper[39m()[38;5;241m.[39mrequest([38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m238[39m, in request
[38;5;250m [39mrequest [38;5;241m=[39m [38;5;28msuper[39m()[38;5;241m.[39mrequest([38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/test/client.py"[39m, line [38;5;241m891[39m, in request
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39mcheck_exception(response)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/test/client.py"[39m, line [38;5;241m738[39m, in check_exception
[38;5;250m [39m[38;5;28;01mraise[39;00m exc_value
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/core/handlers/exception.py"[39m, line [38;5;241m55[39m, in inner
[38;5;250m [39mresponse [38;5;241m=[39m get_response(request)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/core/handlers/base.py"[39m, line [38;5;241m197[39m, in _get_response
[38;5;250m [39mresponse [38;5;241m=[39m wrapped_callback(request, [38;5;241m*[39mcallback_args, [38;5;241m*[39m[38;5;241m*[39mcallback_kwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/views/decorators/csrf.py"[39m, line [38;5;241m56[39m, in wrapper_view
[38;5;250m [39m[38;5;28;01mreturn[39;00m view_func([38;5;241m*[39margs, [38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/views/generic/base.py"[39m, line [38;5;241m104[39m, in view
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39mdispatch(request, [38;5;241m*[39margs, [38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/views.py"[39m, line [38;5;241m509[39m, in dispatch
[38;5;250m [39mresponse [38;5;241m=[39m [38;5;28mself[39m[38;5;241m.[39mhandle_exception(exc)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/views.py"[39m, line [38;5;241m469[39m, in handle_exception
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39mraise_uncaught_exception(exc)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/views.py"[39m, line [38;5;241m480[39m, in raise_uncaught_exception
[38;5;250m [39m[38;5;28;01mraise[39;00m exc
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/views.py"[39m, line [38;5;241m506[39m, in dispatch
[38;5;250m [39mresponse [38;5;241m=[39m handler(request, [38;5;241m*[39margs, [38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/code/core/sources/views.py"[39m, line [38;5;241m628[39m, in post
[38;5;250m [39mresult [38;5;241m=[39m [38;5;28mself[39m[38;5;241m.[39mperform_task(
File [38;5;28m"/code/core/tasks/mixins.py"[39m, line [38;5;241m28[39m, in perform_task
[38;5;250m [39mresult [38;5;241m=[39m task_func([38;5;241m*[39mtask_args)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/celery/local.py"[39m, line [38;5;241m182[39m, in __call__
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39m_get_current_object()([38;5;241m*[39ma, [38;5;241m*[39m[38;5;241m*[39mkw)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/celery/app/task.py"[39m, line [38;5;241m411[39m, in __call__
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39mrun([38;5;241m*[39margs, [38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/code/core/common/tasks.py"[39m, line [38;5;241m772[39m, in source_version_compare
[38;5;250m [39m[38;5;28;01mreturn[39;00m fn(version1, version2, verbosity)
File [38;5;28m"/code/core/sources/models.py"[39m, line [38;5;241m835[39m, in changelog
[38;5;250m [39mlog[38;5;241m.[39mprocess()
File [38;5;28m"/code/core/common/checksums.py"[39m, line [38;5;241m422[39m, in process
[38;5;250m [39msummary [38;5;241m=[39m {[38;5;124m'[39m[38;5;124mid[39m[38;5;124m'[39m: concept_id, [38;5;124m'[39m[38;5;124mdisplay_name[39m[38;5;124m'[39m: concept[38;5;241m.[39mdisplay_name[38;5;241m.[39mreplace([38;5;124m'[39m[38;5;124m"[39m[38;5;124m'[39m, [38;5;124m"[39m[38;5;124m'[39m[38;5;124m"[39m)}
[38;5;160mAttributeError[39m: 'NoneType' object has no attribute 'replace'
----------------------------------------------------------------------
Ran 838 tests in 632.941s
FAILED (errors=1)
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_api_run_2324d2a0ec3a ...
Removing ocl-oclapi2-rt_es_1 ...
Removing ocl-oclapi2-rt_db_1 ...
Removing ocl-oclapi2-rt_api_run_2324d2a0ec3a ... done
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
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-05-09 04:54:40.269775) 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
======================================================================
ERROR: test_post_200 (core.integration_tests.tests_sources.SourceVersionsChangelogViewTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/code/core/integration_tests/tests_sources.py"[39m, line [38;5;241m2110[39m, in test_post_200
[38;5;250m [39mresponse [38;5;241m=[39m [38;5;28mself[39m[38;5;241m.[39mclient[38;5;241m.[39mpost(
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m296[39m, in post
[38;5;250m [39mresponse [38;5;241m=[39m [38;5;28msuper[39m()[38;5;241m.[39mpost(
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m210[39m, in post
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39mgeneric([38;5;124m'[39m[38;5;124mPOST[39m[38;5;124m'[39m, path, data, content_type, [38;5;241m*[39m[38;5;241m*[39mextra)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m234[39m, in generic
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28msuper[39m()[38;5;241m.[39mgeneric(
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/test/client.py"[39m, line [38;5;241m609[39m, in generic
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39mrequest([38;5;241m*[39m[38;5;241m*[39mr)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m286[39m, in request
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28msuper[39m()[38;5;241m.[39mrequest([38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/test.py"[39m, line [38;5;241m238[39m, in request
[38;5;250m [39mrequest [38;5;241m=[39m [38;5;28msuper[39m()[38;5;241m.[39mrequest([38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/test/client.py"[39m, line [38;5;241m891[39m, in request
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39mcheck_exception(response)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/test/client.py"[39m, line [38;5;241m738[39m, in check_exception
[38;5;250m [39m[38;5;28;01mraise[39;00m exc_value
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/core/handlers/exception.py"[39m, line [38;5;241m55[39m, in inner
[38;5;250m [39mresponse [38;5;241m=[39m get_response(request)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/core/handlers/base.py"[39m, line [38;5;241m197[39m, in _get_response
[38;5;250m [39mresponse [38;5;241m=[39m wrapped_callback(request, [38;5;241m*[39mcallback_args, [38;5;241m*[39m[38;5;241m*[39mcallback_kwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/views/decorators/csrf.py"[39m, line [38;5;241m56[39m, in wrapper_view
[38;5;250m [39m[38;5;28;01mreturn[39;00m view_func([38;5;241m*[39margs, [38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/django/views/generic/base.py"[39m, line [38;5;241m104[39m, in view
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39mdispatch(request, [38;5;241m*[39margs, [38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/views.py"[39m, line [38;5;241m509[39m, in dispatch
[38;5;250m [39mresponse [38;5;241m=[39m [38;5;28mself[39m[38;5;241m.[39mhandle_exception(exc)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/views.py"[39m, line [38;5;241m469[39m, in handle_exception
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39mraise_uncaught_exception(exc)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/views.py"[39m, line [38;5;241m480[39m, in raise_uncaught_exception
[38;5;250m [39m[38;5;28;01mraise[39;00m exc
File [38;5;28m"/usr/local/lib/python3.10/site-packages/rest_framework/views.py"[39m, line [38;5;241m506[39m, in dispatch
[38;5;250m [39mresponse [38;5;241m=[39m handler(request, [38;5;241m*[39margs, [38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/code/core/sources/views.py"[39m, line [38;5;241m628[39m, in post
[38;5;250m [39mresult [38;5;241m=[39m [38;5;28mself[39m[38;5;241m.[39mperform_task(
File [38;5;28m"/code/core/tasks/mixins.py"[39m, line [38;5;241m28[39m, in perform_task
[38;5;250m [39mresult [38;5;241m=[39m task_func([38;5;241m*[39mtask_args)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/celery/local.py"[39m, line [38;5;241m182[39m, in __call__
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39m_get_current_object()([38;5;241m*[39ma, [38;5;241m*[39m[38;5;241m*[39mkw)
File [38;5;28m"/usr/local/lib/python3.10/site-packages/celery/app/task.py"[39m, line [38;5;241m411[39m, in __call__
[38;5;250m [39m[38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39mrun([38;5;241m*[39margs, [38;5;241m*[39m[38;5;241m*[39mkwargs)
File [38;5;28m"/code/core/common/tasks.py"[39m, line [38;5;241m772[39m, in source_version_compare
[38;5;250m [39m[38;5;28;01mreturn[39;00m fn(version1, version2, verbosity)
File [38;5;28m"/code/core/sources/models.py"[39m, line [38;5;241m835[39m, in changelog
[38;5;250m [39mlog[38;5;241m.[39mprocess()
File [38;5;28m"/code/core/common/checksums.py"[39m, line [38;5;241m422[39m, in process
[38;5;250m [39msummary [38;5;241m=[39m {[38;5;124m'[39m[38;5;124mid[39m[38;5;124m'[39m: concept_id, [38;5;124m'[39m[38;5;124mdisplay_name[39m[38;5;124m'[39m: concept[38;5;241m.[39mdisplay_name[38;5;241m.[39mreplace([38;5;124m'[39m[38;5;124m"[39m[38;5;124m'[39m, [38;5;124m"[39m[38;5;124m'[39m[38;5;124m"[39m)}
[38;5;160mAttributeError[39m: 'NoneType' object has no attribute 'replace'
----------------------------------------------------------------------
Ran 838 tests in 632.941s
FAILED (errors=1)
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_api_run_2324d2a0ec3a ...
Removing ocl-oclapi2-rt_es_1 ...
Removing ocl-oclapi2-rt_db_1 ...
Removing ocl-oclapi2-rt_api_run_2324d2a0ec3a ... done
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