OCL API 2
Build: #1510 did not complete
Job: Run tests did not complete
Job result summary
- Queued
- Source updated
- Started
- Completed
- Cancelled
- Revision
-
2e07a24d41b15c26d435dd23651107a1415790eb
2e07a24d41b15c26d435dd23651107a1415790eb
Error summary
The build generated some errors. See the full build log for more details.
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Concept.created_at received a naive datetime (2022-11-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Concept.created_at received a naive datetime (2023-02-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Mapping.created_at received a naive datetime (2022-11-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Mapping.created_at received a naive datetime (2023-02-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.last_login received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Organization.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Source.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Collection.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField CollectionReference.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Concept.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Mapping.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
ok
core.common.tests.URIValidatorTest
test_invalid_uri_domain_too_long ... ok
test_invalid_uri_domain_wrong_char ... ok
test_invalid_uri_ipv6 ... ok
test_invalid_uri_with_unsafe_char ... ok
test_invalid_value ... ok
test_valid_custom_scheme_uri ... ok
test_valid_http_uri ... ok
core.common.tests.UtilsTest
test_api_get ... ok
test_chunks ... ok
test_compact_dict_by_values ... ok
test_drop_version ... ok
test_es_get ... ok
test_flatten_dict ... ok
test_flower_get ... ok
test_get_resource_class_from_resource_name ... ok
test_is_csv_file ... ok
test_is_url_encoded_string ... ok
test_is_versioned_uri ... ok
test_jsonify_safe ... ok
test_nested_dict_values ... ok
test_parse_bulk_import_task_id ... ok
test_separate_version ... ok
test_set_and_get_current_user ... ok
test_set_and_get_request_url ... ok
test_split_list_by_condition ... ok
test_task_exists ... ok
test_to_camel_case ... ok
test_to_parent_uri ... ok
test_to_parent_uri_from_kwargs ... ok
test_to_snake_case ... ok
core.concept_maps.tests.ConceptMapTest
test_find_by_title ... ok
test_get_concept_map ... ok
test_post_concept_map_with_mappings ... ok
test_post_concept_map_with_mappings_without_canonicals ... ok
test_post_concept_map_without_mappings ... ok
test_private_can_list ... ok
test_private_can_view ... ok
test_public_can_list ... ok
test_public_can_view ... ok
test_public_translate_negative ... ok
test_put_concept_map_with_all_new_concepts ... ok
test_put_concept_map_without_mappings ... ok
test_translate_negative ... ok
test_translate_positive ... ok
test_translate_with_target ... ok
test_translate_with_target_negative ... ok
test_unable_to_represent_as_fhir ... Traceback (most recent call last):
File "/code/core/concept_maps/serializers.py", line 140, 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 ConceptMap
ok
core.concepts.tests.tests.ConceptTest
test_all_names ... ok
test_cascade_as_hierarchy ... ok
test_cascade_as_hierarchy_reverse ... ok
test_child_concept_queryset ... ok
test_clone ... ok
test_concept ... ok
test_concept_access_changes_with_source ... ok
test_custom_validation_schema ... ok
test_default_description_locales ... ok
test_default_name_locales ... ok
test_descriptions_for_default_locale ... ok
test_display_locale ... ok
test_display_name ... ok
test_from_uri_queryset_for_collection_and_collection_version ... ok
test_from_uri_queryset_for_source_and_source_version ... ok
Quit
Build was manually stopped.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Concept.created_at received a naive datetime (2023-02-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Mapping.created_at received a naive datetime (2022-11-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Mapping.created_at received a naive datetime (2023-02-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.last_login received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Organization.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Source.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Collection.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField CollectionReference.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Concept.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
/usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField Mapping.created_at received a naive datetime (2023-01-01 00:00:00) while time zone support is active.
warnings.warn(
ok
core.common.tests.URIValidatorTest
test_invalid_uri_domain_too_long ... ok
test_invalid_uri_domain_wrong_char ... ok
test_invalid_uri_ipv6 ... ok
test_invalid_uri_with_unsafe_char ... ok
test_invalid_value ... ok
test_valid_custom_scheme_uri ... ok
test_valid_http_uri ... ok
core.common.tests.UtilsTest
test_api_get ... ok
test_chunks ... ok
test_compact_dict_by_values ... ok
test_drop_version ... ok
test_es_get ... ok
test_flatten_dict ... ok
test_flower_get ... ok
test_get_resource_class_from_resource_name ... ok
test_is_csv_file ... ok
test_is_url_encoded_string ... ok
test_is_versioned_uri ... ok
test_jsonify_safe ... ok
test_nested_dict_values ... ok
test_parse_bulk_import_task_id ... ok
test_separate_version ... ok
test_set_and_get_current_user ... ok
test_set_and_get_request_url ... ok
test_split_list_by_condition ... ok
test_task_exists ... ok
test_to_camel_case ... ok
test_to_parent_uri ... ok
test_to_parent_uri_from_kwargs ... ok
test_to_snake_case ... ok
core.concept_maps.tests.ConceptMapTest
test_find_by_title ... ok
test_get_concept_map ... ok
test_post_concept_map_with_mappings ... ok
test_post_concept_map_with_mappings_without_canonicals ... ok
test_post_concept_map_without_mappings ... ok
test_private_can_list ... ok
test_private_can_view ... ok
test_public_can_list ... ok
test_public_can_view ... ok
test_public_translate_negative ... ok
test_put_concept_map_with_all_new_concepts ... ok
test_put_concept_map_without_mappings ... ok
test_translate_negative ... ok
test_translate_positive ... ok
test_translate_with_target ... ok
test_translate_with_target_negative ... ok
test_unable_to_represent_as_fhir ... Traceback (most recent call last):
File "/code/core/concept_maps/serializers.py", line 140, 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 ConceptMap
ok
core.concepts.tests.tests.ConceptTest
test_all_names ... ok
test_cascade_as_hierarchy ... ok
test_cascade_as_hierarchy_reverse ... ok
test_child_concept_queryset ... ok
test_clone ... ok
test_concept ... ok
test_concept_access_changes_with_source ... ok
test_custom_validation_schema ... ok
test_default_description_locales ... ok
test_default_name_locales ... ok
test_descriptions_for_default_locale ... ok
test_display_locale ... ok
test_display_name ... ok
test_from_uri_queryset_for_collection_and_collection_version ... ok
test_from_uri_queryset_for_source_and_source_version ... ok
Quit
Build was manually stopped.