OCL API 2

Build: #143 failed Rebuilt by Sunny Aggarwal.

Stages & jobs

  1. Build

  2. Test

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
862 minutes
Labels
None
Revisions
OCL API 2
f6aa936c8f3d99d2fa6ea9464a2768b01c4ee139 f6aa936c8f3d99d2fa6ea9464a2768b01c4ee139
OCL CI
6544e7ed40ead274ba8b0995efe09bb9edfd8319 6544e7ed40ead274ba8b0995efe09bb9edfd8319
Failing since
#142 (Changes by Sunny Aggarwal.)
Fixed in
#144 (Manual run from the stage: Deploy for testing by Sunny Aggarwal.)
Number of retries
1
No failed test found. A possible compilation error occurred.

Responsible

Comments on Run tests

  1. Anonymous user

    Detected hung build state. Attempting to generate stack trace and terminate spawned sub-processes.

  2. Anonymous user

    Detected hung build state. Attempting to generate stack trace and terminate spawned sub-processes.

Code commits

OCL API 2
Author Commit Message Commit date
Sunny Aggarwal. Sunny Aggarwal. f6aa936c8f3d99d2fa6ea9464a2768b01c4ee139 f6aa936c8f3d99d2fa6ea9464a2768b01c4ee139 Not loading LM on CI

Error summary for Run tests

The job generated some errors, drill down into 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
Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped.
    test_openmrs_schema_csv_import ...
Stopping ocl-oclapi20-rt_api_run_26a0bf28a246 ...
Stopping ocl-oclapi20-rt_es_1                 ...
Stopping ocl-oclapi20-rt_db_1                 ...
Stopping ocl-oclapi20-rt_api_run_26a0bf28a246 ... done
Stopping ocl-oclapi20-rt_db_1                 ... done
Stopping ocl-oclapi20-rt_es_1                 ... done
Removing ocl-oclapi20-rt_api_run_26a0bf28a246 ...
Removing ocl-oclapi20-rt_es_1                 ...
Removing ocl-oclapi20-rt_db_1                 ...
Removing ocl-oclapi20-rt_es_1                 ... done
Removing ocl-oclapi20-rt_api_run_26a0bf28a246 ... 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
Removing volume ocl-oclapi20-rt_upload-data