OCL API 2

Build: #2076 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
9 minutes
Labels
None
Revisions
OCL API 2
9d46358f693da2a188d0cb4a3e9f56d660d638b1
OCL CI
6544e7ed40ead274ba8b0995efe09bb9edfd8319
Failing since
#2073 (Rebuilt by Sunny Aggarwal.)
Fixed in
#2077 (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

Code commits

OCL API 2
Author Commit Message Commit date
Sunny Aggarwal. Sunny Aggarwal. 9d46358f693da2a188d0cb4a3e9f56d660d638b1 OpenConceptLab/ocl_issues#1867 | removed dead test

Error summary for Run tests

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

                                     'map_type': 'SAME-AS',
                                     'to_concept': 'concept1205',
                                     'to_source': None}},
                'removed': {'mapping5': {'from_concept': 'concept1202',
                                         'from_source': None,
                                         'id': 'mapping5',
                                         'map_type': 'SAME-AS',
                                         'to_concept': 'concept1203',
                                         'to_source': None}}},
-  'meta': {'diff': {'concepts': {'changed_major': 2,
?                                                  ^

+  'meta': {'diff': {'concepts': {'changed_major': 1,
?                                                  ^

-                                 'changed_minor': 0,
?                                                  ^

+                                 'changed_minor': 1,
?                                                  ^

                                  'changed_retired': 1,
                                  'changed_total': 3,
                                  'new': 1,
                                  'removed': 1},
-                    'mappings': {'changed_major': 3,
?                                                  ^

+                    'mappings': {'changed_major': 1,
?                                                  ^

-                                 'changed_minor': 0,
?                                                  ^

+                                 'changed_minor': 2,
?                                                  ^

                                  'changed_retired': 1,
                                  'changed_total': 4,
                                  'new': 1,
                                  'removed': 1}},
            'version1': {'concepts': 6,
                         'mappings': 6,
                         'uri': '/orgs/org634/sources/source817/v1/'},
            'version2': {'concepts': 5,
                         'mappings': 5,
                         'uri': '/orgs/org634/sources/source817/v2/'}}}

======================================================================
FAIL: test_post_200 (core.integration_tests.tests_sources.SourceVersionsComparisonViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_sources.py", line 2009, in test_post_200
    self.assertEqual(
AssertionError: {'meta': {'version1': {'uri': '/orgs/org648/sources/source8[860 chars]']}}} != {'meta': {'version2': {'uri': '/orgs/org648/sources/source8[910 chars]']}}}
- {'concepts': {'changed_major': {'mnemonic': ['concept4', 'concept2'],
?                                              ------------

+ {'concepts': {'changed_major': {'mnemonic': ['concept2'], 'total': 1},
?                                                          +++++++++++++

+               'changed_minor': {'mnemonic': ['concept4'], 'total': 1},
-                                 'total': 2},
-               'changed_minor': 0,
                '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': ['mapping4', 'mapping2'],
?                                              ------------

+  '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/org648/sources/source833/v1/'},
            'version2': {'concepts': 4,
                         'mappings': 4,
                         'uri': '/orgs/org648/sources/source833/v2/'}}}

----------------------------------------------------------------------
Ran 843 tests in 436.855s

FAILED (failures=8, errors=2)
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