OCL API 2

Build: #1810 failed

Job: Run tests did not complete

Stages & jobs

  1. Build

  2. Test

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Job result summary

Queued
Source updated
Started
Completed
Cancelled
Agent
xindi.openmrs.org
Revision
f5f08e62c04bc5c1778daf99ccf1d59732639d5e f5f08e62c04bc5c1778daf99ccf1d59732639d5e

Error summary

The build generated some errors. See the full build log for more details.

    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 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 ConceptMap
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_checksum ... 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_mappings_checksum ... ok
    test_names_checksum ... ok
    test_names_for_default_locale ... ok
    test_parent_concept_queryset ... ok
    test_persist_clone ... ok
    test_persist_new ... ok
    test_persist_new_with_autoid_sequential ... ok
    test_persist_new_with_autoid_uuid ... ok
    test_retire ... 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.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_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
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.