OCL API 2

Build: #2232 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
10 minutes
Agent
yu.openmrs.org
Revision
20334332183f18106f0a6ca883dfb2de249d1216
Fixed in
#2234 (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.

   'public_access',
   'publisher',
   'purpose',
   'revision_date',
   'short_code',
   'source_type',
   'supported_locales',
   'text',
   'type',
   'updated_by',
   'updated_on',
   'url',
   'uuid',
   'version',
   'version_needed',
   'versions_url',
   'website']

======================================================================
FAIL: test_put_200 (core.integration_tests.tests_sources.SourceRetrieveUpdateDestroyViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_sources.py", line 260, in test_put_200
    self.assertListEqual(
AssertionError: Lists differ: ['aut[617 chars]', 'filters', 'full_name', 'hierarchy_meaning'[371 chars]ite'] != ['aut[617 chars]', 'full_name', 'hierarchy_meaning', 'hierarch[346 chars]ite']

First differing element 27:
'filters'
'full_name'

First list contains 2 additional elements.
First extra element 57:
'versions_url'

  ['autoid_concept_description_external_id',
   'autoid_concept_external_id',
   'autoid_concept_external_id_start_from',
   'autoid_concept_mnemonic',
   'autoid_concept_mnemonic_start_from',
   'autoid_concept_name_external_id',
   'autoid_mapping_external_id',
   'autoid_mapping_external_id_start_from',
   'autoid_mapping_mnemonic',
   'autoid_mapping_mnemonic_start_from',
   'canonical_url',
   'case_sensitive',
   'checksums',
   'collection_reference',
   'compositional',
   'concepts_url',
   'contact',
   'content_type',
   'copyright',
   'created_by',
   'created_on',
   'custom_validation_schema',
   'default_locale',
   'description',
   'experimental',
   'external_id',
   'extras',
-  'filters',
   'full_name',
   'hierarchy_meaning',
   'hierarchy_root_url',
   'id',
   'identifier',
   'jurisdiction',
   'logo_url',
   'mappings_url',
   'meta',
   'name',
   'owner',
   'owner_type',
   'owner_url',
-  'properties',
   'public_access',
   'publisher',
   'purpose',
   'revision_date',
   'short_code',
   'source_type',
   'supported_locales',
   'text',
   'type',
   'updated_by',
   'updated_on',
   'url',
   'uuid',
   'version',
   'version_needed',
   'versions_url',
   'website']

----------------------------------------------------------------------
Ran 913 tests in 512.363s

FAILED (failures=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_db_1 ... done
Removing ocl-oclapi2-rt_es_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