OCL API 2

Build: #2300 failed Changes 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
44 minutes
Labels
None
Revisions
OCL API 2
865e6d0889d80711029bf9914c271c0216e8ffb9
OCL CI
6544e7ed40ead274ba8b0995efe09bb9edfd8319
Fixed in
#2305 (Manual run from the stage: Release by Sunny Aggarwal.)
No failed test found. A possible compilation error occurred.

Responsible

  • Sunny Aggarwal. Sunny Aggarwal. Automatically assigned

Comments on Check formatting

  1. Anonymous user

    Detected hung build state. The build was detected as hung because the logs were quiet for "20" minutes and the build took "2.5" times longer than average. Attempting to generate stack trace and terminate spawned sub-processes.

Code commits

OCL API 2
Author Commit Message Commit date
Sunny Aggarwal. Sunny Aggarwal. 865e6d0889d80711029bf9914c271c0216e8ffb9 Merge remote-tracking branch 'origin/dev'
Sunny Aggarwal. Sunny Aggarwal. bc10d727895b09e6508f7f078fdb80a50ce6a65a m using dis_max and tie_breaker with constant_score in rescoring name vs synonmym matches
Sunny Aggarwal. Sunny Aggarwal. 6dc0d5e793a8111c0f79bfb2e66dfe30be73de56 m Adjusting term vs match phrase boost
Sunny Aggarwal. Sunny Aggarwal. 385205caf051cc3b3e399af6831fa70f80fa8399 m Adjusting rescore window | added match phrase for text in rescore
Sunny Aggarwal. Sunny Aggarwal. a3509f7a37449ec6b7505fb4558374f1c0e6f8df m Increased window size for rescoring

Configuration changes

Plan configuration has changed since the last successful build. See the plan audit log for more details.

Error summary for Run tests

The job generated some errors, drill down into the full build log for more details.

    test_public_collections ... ok
    test_public_sources ... ok
    test_reset_password_url ... ok
    test_resource_type ... ok
    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 (2025-09-05 07:23:10.892869) 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_create_with_filter_and_system_and_no_filter ... ok
    test_create_with_is_a_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 ... Failed to represent "/invalid/uri" as ValueSet
Traceback (most recent call last):
  File "/code/core/value_sets/serializers.py", line 260, 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
    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_facets (core.integration_tests.tests_concepts.ConceptListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_concepts.py", line 1966, in test_facets
    class_a_facet = [x for x in response.data['facets']['fields']['conceptClass'] if x[0] == 'classa'][0]
IndexError: list index out of range

======================================================================
ERROR: test_facets_with_latest_released_repo_search (core.integration_tests.tests_concepts.ConceptListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_concepts.py", line 1988, in test_facets_with_latest_released_repo_search
    class_b_facet = [x for x in response.data['facets']['fields']['conceptClass'] if x[0] == 'classb'][0]
IndexError: list index out of range

======================================================================
FAIL: test_search (core.integration_tests.tests_concepts.ConceptListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_concepts.py", line 1751, in test_search
    self.assertEqual(len(response.data), 1)
AssertionError: 2 != 1

======================================================================
FAIL: test_search_with_latest_released_repo_search (core.integration_tests.tests_concepts.ConceptListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_concepts.py", line 1854, in test_search_with_latest_released_repo_search
    self.assertEqual(len(response.data), 0)
AssertionError: 1 != 0

======================================================================
FAIL: test_get_200_verbose (core.integration_tests.tests_sources.SourceSummaryViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_sources.py", line 1394, in test_get_200_verbose
    self.assertEqual(
AssertionError: {'act[36 chars]s': [], 'datatype': [], 'locale': [], 'name_type': []} != {'act[36 chars]s': [('1757056783.6453571', 2)], 'datatype': [[53 chars]: []}
  {'active': 2,
-  'concept_class': [],
-  'datatype': [],
+  'concept_class': [('1757056783.6453571', 2)],
+  'datatype': [('1757056783.6453571', 2)],
   'locale': [],
   'name_type': [],
   'retired': 0}

----------------------------------------------------------------------
Ran 931 tests in 1892.787s

FAILED (failures=3, errors=2)
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_es_1 ...
Removing ocl-oclapi2-rt_db_1 ...
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
Removing volume ocl-oclapi2-rt_upload-data