OCL API 2

Build: #2179 failed

Job: Run tests failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Job result summary

Completed
Duration
20 minutes
Agent
xiao.openmrs.org
Revision
59ac15b55390c1fff4ca853801453bc05ea034a0 59ac15b55390c1fff4ca853801453bc05ea034a0
Fixed in
#2181 (Manual run from the stage: Deploy for testing by Sunny Aggarwal.)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

======================================================================
FAIL: test_put_200 (core.integration_tests.tests_concepts.ConceptCreateUpdateDestroyViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_concepts.py", line 174, in test_put_200
    self.assertListEqual(
AssertionError: Lists differ: ['che[214 chars]', 'public_can_view', 'retired', 'source', 'ty[125 chars]url'] != ['che[214 chars]', 'parent_concept_urls', 'public_can_view', '[148 chars]url']

First differing element 16:
'public_can_view'
'parent_concept_urls'

Second list contains 1 additional elements.
First extra element 29:
'versions_url'

  ['checksums',
   'concept_class',
   'created_by',
   'created_on',
   'datatype',
   'descriptions',
   'display_locale',
   'display_name',
   'external_id',
   'extras',
   'id',
   'latest_source_version',
   'names',
   'owner',
   'owner_type',
   'owner_url',
+  'parent_concept_urls',
   'public_can_view',
   'retired',
   'source',
   'type',
   'update_comment',
   'updated_by',
   'updated_on',
   'url',
   'uuid',
   'version',
   'version_url',
   'versioned_object_id',
   'versions_url']

======================================================================
FAIL: test_put_200_openmrs_schema (core.integration_tests.tests_concepts.ConceptCreateUpdateDestroyViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_concepts.py", line 264, in test_put_200_openmrs_schema
    self.assertListEqual(
AssertionError: Lists differ: ['che[214 chars]', 'public_can_view', 'retired', 'source', 'ty[125 chars]url'] != ['che[214 chars]', 'parent_concept_urls', 'public_can_view', '[148 chars]url']

First differing element 16:
'public_can_view'
'parent_concept_urls'

Second list contains 1 additional elements.
First extra element 29:
'versions_url'

  ['checksums',
   'concept_class',
   'created_by',
   'created_on',
   'datatype',
   'descriptions',
   'display_locale',
   'display_name',
   'external_id',
   'extras',
   'id',
   'latest_source_version',
   'names',
   'owner',
   'owner_type',
   'owner_url',
+  'parent_concept_urls',
   'public_can_view',
   'retired',
   'source',
   'type',
   'update_comment',
   'updated_by',
   'updated_on',
   'url',
   'uuid',
   'version',
   'version_url',
   'versioned_object_id',
   'versions_url']

----------------------------------------------------------------------
Ran 901 tests in 1137.483s

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