OCL API 2

Build: #2166 failed Changes by Rafal Korytkowski

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
24 minutes
Labels
None
Revisions
OCL API 2
752fe7581664367fb7fade3b8e0b6f54d0692a7e 752fe7581664367fb7fade3b8e0b6f54d0692a7e
OCL CI
6544e7ed40ead274ba8b0995efe09bb9edfd8319 6544e7ed40ead274ba8b0995efe09bb9edfd8319
Fixed in
#2167 (Manual run from the stage: Deploy for testing by Rafal Korytkowski)
No failed test found. A possible compilation error occurred.

Responsible

Code commits

OCL API 2
Author Commit Message Commit date
Rafal Korytkowski Rafal Korytkowski 752fe7581664367fb7fade3b8e0b6f54d0692a7e 752fe7581664367fb7fade3b8e0b6f54d0692a7e OpenConceptLab/ocl_issues#1922 Do not overwrite versions for CodeSystem, ValueSet, ConceptMap

Error summary for Run tests

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

  File "/code/core/concept_maps/tests.py", line 365, in test_put_concept_map_with_all_new_concepts
    response = self.putConceptMap()
  File "/code/core/concept_maps/tests.py", line 671, in putConceptMap
    self.assertEqual(response.status_code, 200)
AssertionError: 400 != 200

======================================================================
FAIL: test_put_concept_map_with_modified_mappings (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/mock/mock.py", line 1452, in patched
    return func(*newargs, **newkeywargs)
  File "/code/core/concept_maps/tests.py", line 445, in test_put_concept_map_with_modified_mappings
    self.assertEqual(len(mappings), 2)
AssertionError: 3 != 2

======================================================================
FAIL: test_put_concept_map_without_mappings (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/mock/mock.py", line 1452, in patched
    return func(*newargs, **newkeywargs)
  File "/code/core/concept_maps/tests.py", line 228, in test_put_concept_map_without_mappings
    self.assertEqual(response.status_code, 200)
AssertionError: 400 != 200

======================================================================
FAIL: test_translate_negative (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/mock/mock.py", line 1452, in patched
    return func(*newargs, **newkeywargs)
  File "/code/core/concept_maps/tests.py", line 677, in test_translate_negative
    self.putConceptMap()
  File "/code/core/concept_maps/tests.py", line 671, in putConceptMap
    self.assertEqual(response.status_code, 200)
AssertionError: 400 != 200

======================================================================
FAIL: test_translate_positive (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/mock/mock.py", line 1452, in patched
    return func(*newargs, **newkeywargs)
  File "/code/core/concept_maps/tests.py", line 549, in test_translate_positive
    self.putConceptMap()
  File "/code/core/concept_maps/tests.py", line 671, in putConceptMap
    self.assertEqual(response.status_code, 200)
AssertionError: 400 != 200

======================================================================
FAIL: test_translate_with_target (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/mock/mock.py", line 1452, in patched
    return func(*newargs, **newkeywargs)
  File "/code/core/concept_maps/tests.py", line 694, in test_translate_with_target
    self.putConceptMap()
  File "/code/core/concept_maps/tests.py", line 671, in putConceptMap
    self.assertEqual(response.status_code, 200)
AssertionError: 400 != 200

======================================================================
FAIL: test_translate_with_target_negative (core.concept_maps.tests.ConceptMapTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/mock/mock.py", line 1452, in patched
    return func(*newargs, **newkeywargs)
  File "/code/core/concept_maps/tests.py", line 750, in test_translate_with_target_negative
    self.putConceptMap()
  File "/code/core/concept_maps/tests.py", line 671, in putConceptMap
    self.assertEqual(response.status_code, 200)
AssertionError: 400 != 200

======================================================================
FAIL: test_can_update_empty (core.value_sets.tests.ValueSetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/value_sets/tests.py", line 379, in test_can_update_empty
    self.assertEqual(resource['version'], 'v2')
AssertionError: 'Version v2 already exists for ValueSet c1.' != 'v2'
- Version v2 already exists for ValueSet c1.
+ v2

======================================================================
FAIL: test_update_with_compose (core.value_sets.tests.ValueSetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/value_sets/tests.py", line 421, in test_update_with_compose
    self.assertEqual(resource['version'], 'v2')
AssertionError: 'Version v2 already exists for ValueSet c1.' != 'v2'
- Version v2 already exists for ValueSet c1.
+ v2

----------------------------------------------------------------------
Ran 901 tests in 1182.066s

FAILED (failures=14)
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