OCL API 2
Build: #2186 failed
Job: Run tests did not complete
Job result summary
- Queued
- Source updated
- Started
- Completed
- Cancelled
- Agent
- yu.openmrs.org
- Revision
-
3595189536f89f6bd29ac5e5e78744812eb81071
3595189536f89f6bd29ac5e5e78744812eb81071
Error summary
The build generated some errors. See the full build log for more details.
test_translate_with_target ... ok
test_translate_with_target_negative ... ok
test_unable_to_represent_as_fhir ... Failed to represent "/invalid/uri" as ConceptMap
Traceback (most recent call last):
File "/code/core/concept_maps/serializers.py", line 143, 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')]
ok
core.concepts.tests.tests.ConceptTest
test_all_names ... ok
test_cascade_as_hierarchy ... ok
test_cascade_as_hierarchy_reverse ... ok
test_checksum ... 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
test_get_checksums ... ok
test_get_hierarchy_path ... ok
test_get_latest_versions_for_queryset ... ok
test_get_mappings ... ok
test_get_parent_and_owner_filters_from_uri ... ok
test_get_search_document ... ok
test_get_serializer_class ... ok
test_has_children ... ok
test_hierarchy ... ok
test_hierarchy_one_parent_child ... ok
test_hierarchy_without_multiple_parent_versions ... ok
test_is_versioned ... ok
test_names_for_default_locale ... ok
test_parent_concept_queryset ... ok
test_persist_new ... ok
test_persist_new_with_autoid_sequential ... ok
test_persist_new_with_autoid_uuid ... ok
test_persist_new_with_locale_autoid_uuid ... ok
test_retire ... ok
test_save_as_new_version ... ok
test_unretire ... ok
test_version_for_concept ... ok
core.concepts.tests.tests.LocalizedTextTest
test_clone ... ok
core.concepts.tests.tests.OpenMRSConceptValidatorTest
test_a_name_can_be_equal_to_a_short_name ... ok
test_a_name_should_be_unique ... ok
test_a_preferred_name_can_not_be_a_short_name ... ok
test_a_preferred_name_can_not_be_an_index_search_term ... ok
test_at_least_one_fully_specified_name_per_concept_negative ... ok
test_concept_class_is_valid_attribute_negative ... ok
test_concept_should_have_exactly_one_preferred_name_per_locale ... ok
test_concepts_should_have_unique_fully_specified_name_per_locale ... ok
test_data_type_is_valid_attribute_negative ... ok
test_description_external_id_length ... ok
test_description_locale_is_valid_attribute_negative ... ok
test_description_type_is_valid_attribute_negative ... ok
test_duplicate_preferred_name_per_source_should_fail ... ok
test_external_id_length ... ok
test_locale_preferred_name_uniqueness_doesnt_apply_to_shorts ... ok
test_name_locale_is_valid_attribute_negative ... ok
test_names_external_id_length ... ok
test_no_more_than_one_short_name_per_locale ... ok
test_only_one_fully_specified_name_per_locale ... ok
test_unique_preferred_name_per_locale_within_concept_negative ... ok
core.concepts.tests.tests.ValidatorSpecifierTest
test_specifier_should_initialize_openmrs_validator_with_reference_values ... ok
core.events.tests.tests.EventTest
test_clean_fields ... ok
test_description ... ok
test_object ... ok
test_object_repr ... ok
test_referenced_object ... ok
test_referenced_object_repr ... ok
test_type ... ok
test_url ... ok
core.importers.tests.BulkImportInlineTest
test_collection_and_version_import ... ok
test_collection_import_failed ... ok
test_collection_import_success ... ok
test_concept_import ... ok
test_concept_import_permission_denied ... ok
test_concept_import_with_auto_assignment_mnemonic ... ok
test_concept_import_with_extras_update ... ok
test_csv_import_mappings_with_sort_weight ... ok
test_csv_import_with_retired_concepts ... ok
test_csv_import_with_retired_concepts_and_mappings ... ok
test_mapping_import ... ok
test_mapping_import_with_autoid_assignment ... ok
test_openmrs_schema_csv_import ... ok
test_org_import ... ok
Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped.
Quit
Build was manually stopped.
test_translate_with_target_negative ... ok
test_unable_to_represent_as_fhir ... Failed to represent "/invalid/uri" as ConceptMap
Traceback (most recent call last):
File "/code/core/concept_maps/serializers.py", line 143, 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')]
ok
core.concepts.tests.tests.ConceptTest
test_all_names ... ok
test_cascade_as_hierarchy ... ok
test_cascade_as_hierarchy_reverse ... ok
test_checksum ... 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
test_get_checksums ... ok
test_get_hierarchy_path ... ok
test_get_latest_versions_for_queryset ... ok
test_get_mappings ... ok
test_get_parent_and_owner_filters_from_uri ... ok
test_get_search_document ... ok
test_get_serializer_class ... ok
test_has_children ... ok
test_hierarchy ... ok
test_hierarchy_one_parent_child ... ok
test_hierarchy_without_multiple_parent_versions ... ok
test_is_versioned ... ok
test_names_for_default_locale ... ok
test_parent_concept_queryset ... ok
test_persist_new ... ok
test_persist_new_with_autoid_sequential ... ok
test_persist_new_with_autoid_uuid ... ok
test_persist_new_with_locale_autoid_uuid ... ok
test_retire ... ok
test_save_as_new_version ... ok
test_unretire ... ok
test_version_for_concept ... ok
core.concepts.tests.tests.LocalizedTextTest
test_clone ... ok
core.concepts.tests.tests.OpenMRSConceptValidatorTest
test_a_name_can_be_equal_to_a_short_name ... ok
test_a_name_should_be_unique ... ok
test_a_preferred_name_can_not_be_a_short_name ... ok
test_a_preferred_name_can_not_be_an_index_search_term ... ok
test_at_least_one_fully_specified_name_per_concept_negative ... ok
test_concept_class_is_valid_attribute_negative ... ok
test_concept_should_have_exactly_one_preferred_name_per_locale ... ok
test_concepts_should_have_unique_fully_specified_name_per_locale ... ok
test_data_type_is_valid_attribute_negative ... ok
test_description_external_id_length ... ok
test_description_locale_is_valid_attribute_negative ... ok
test_description_type_is_valid_attribute_negative ... ok
test_duplicate_preferred_name_per_source_should_fail ... ok
test_external_id_length ... ok
test_locale_preferred_name_uniqueness_doesnt_apply_to_shorts ... ok
test_name_locale_is_valid_attribute_negative ... ok
test_names_external_id_length ... ok
test_no_more_than_one_short_name_per_locale ... ok
test_only_one_fully_specified_name_per_locale ... ok
test_unique_preferred_name_per_locale_within_concept_negative ... ok
core.concepts.tests.tests.ValidatorSpecifierTest
test_specifier_should_initialize_openmrs_validator_with_reference_values ... ok
core.events.tests.tests.EventTest
test_clean_fields ... ok
test_description ... ok
test_object ... ok
test_object_repr ... ok
test_referenced_object ... ok
test_referenced_object_repr ... ok
test_type ... ok
test_url ... ok
core.importers.tests.BulkImportInlineTest
test_collection_and_version_import ... ok
test_collection_import_failed ... ok
test_collection_import_success ... ok
test_concept_import ... ok
test_concept_import_permission_denied ... ok
test_concept_import_with_auto_assignment_mnemonic ... ok
test_concept_import_with_extras_update ... ok
test_csv_import_mappings_with_sort_weight ... ok
test_csv_import_with_retired_concepts ... ok
test_csv_import_with_retired_concepts_and_mappings ... ok
test_mapping_import ... ok
test_mapping_import_with_autoid_assignment ... ok
test_openmrs_schema_csv_import ... ok
test_org_import ... ok
Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped.
Quit
Build was manually stopped.