OCL API 2

Build: #2138 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
12 minutes
Labels
None
Revisions
OCL API 2
a3e9d6326e147ddbcacaa6ce7dc269a96becf5d1 a3e9d6326e147ddbcacaa6ce7dc269a96becf5d1
OCL CI
6544e7ed40ead274ba8b0995efe09bb9edfd8319 6544e7ed40ead274ba8b0995efe09bb9edfd8319
Failing since
#2135 (Changes by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
Fixed in
#2139 (Manual run from the stage: Release by Sunny Aggarwal.)
No failed test found. A possible compilation error occurred.

Responsible

This build has been failing since #2135
No one has taken responsibility

Code commits

OCL API 2
Author Commit Message Commit date
Sunny Aggarwal. Sunny Aggarwal. a3e9d6326e147ddbcacaa6ce7dc269a96becf5d1 a3e9d6326e147ddbcacaa6ce7dc269a96becf5d1 OpenConceptLab/ocl_issues#1867 | fixing typo

Error summary for Run tests

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

ok
    test_email_verification_url ... ok
    test_full_name ... ok
    test_get_search_document ... ok
    test_get_token ... ok
    test_is_valid_auth_group ... ok
    test_mark_verified ... ok
    test_mnemonic ... ok
    test_name ... ok
    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 (2024-11-04 05:03:38.129174) 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 254, 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

======================================================================
FAIL: test_post_200 (core.integration_tests.tests_sources.SourceVersionsComparisonViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_sources.py", line 1970, in test_post_200
    self.assertEqual(
AssertionError: {'meta': {'version1': {'uri': '/orgs/org681/sources/source8[885 chars]']}}} != {'meta': {'version2': {'uri': '/orgs/org681/sources/source8[910 chars]']}}}
  {'concepts': {'changed_major': {'mnemonic': ['concept2'], 'total': 1},
                'changed_minor': {'mnemonic': ['concept4'], 'total': 1},
                'changed_retired': {'mnemonic': ['concept3'], 'total': 1},
                'changed_total': 3,
                'new': {'mnemonic': ['concept6'], 'total': 1},
                'removed': {'mnemonic': ['concept5'], 'total': 1},
                'same_major': {'mnemonic': ['concept1'], 'total': 1},
                'same_minor': 0,
                'same_total': 1},
-  'mappings': {'changed_major': {'mnemonic': ['mapping2', 'mapping4'],
?                                                        ------------

+  'mappings': {'changed_major': {'mnemonic': ['mapping2'], 'total': 1},
?                                                          +++++++++++++

+               'changed_minor': {'mnemonic': ['mapping4'], 'total': 1},
-                                 'total': 2},
-               'changed_minor': 0,
                'changed_retired': {'mnemonic': ['mapping3'], 'total': 1},
                'changed_total': 3,
                'new': {'mnemonic': ['mapping6'], 'total': 1},
                'removed': {'mnemonic': ['mapping5'], 'total': 1},
                'same_major': {'mnemonic': ['mapping1'], 'total': 1},
                'same_minor': 0,
                'same_total': 1},
   'meta': {'version1': {'concepts': 5,
                         'mappings': 5,
                         'uri': '/orgs/org681/sources/source859/v1/'},
            'version2': {'concepts': 4,
                         'mappings': 4,
                         'uri': '/orgs/org681/sources/source859/v2/'}}}

----------------------------------------------------------------------
Ran 896 tests in 419.436s

FAILED (failures=1)
Preserving test database for alias 'default' ('test_postgres')...
1
Stopping ocl-oclapi2-rt_db_1 ...
Stopping ocl-oclapi2-rt_es_1 ...
Stopping ocl-oclapi2-rt_db_1 ... done
Stopping ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_db_1 ...
Removing ocl-oclapi2-rt_es_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