OCL API 2

Build: #94 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
12 minutes
Agent
xindi.openmrs.org
Revision
8c07aabbfc03a8ae91464d2c9c9d024bef7f5031 8c07aabbfc03a8ae91464d2c9c9d024bef7f5031
Fixed in
#97 (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.

  [{'children': [],
-   'created_at': '2024-03-14T04:04:31.919633Z',
+   'created_at': <ANY>,
    'finished_at': None,
    'id': '0867ced2-14e4-4f96-8b22-fd4f4ae88acc-ocladmin~priority',
    'name': 'core.common.tasks.bulk_import_parallel_inline',
    'queue': 'priority',
    'runtime': None,
    'started_at': None,
    'state': 'SUCCESS',
    'summary': None,
-   'task': '0867ced2-14e4-4f96-8b22-fd4f4ae88acc-ocladmin~priority',
    'username': 'ocladmin'}]

======================================================================
FAIL: test_post_202 (core.importers.tests.BulkImportViewTest)
----------------------------------------------------------------------
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/importers/tests.py", line 1244, in test_post_202
    self.assertEqual(
AssertionError: {'id': '3fc9798e-35cc-4f81-8af9-075757452763-ocl[341 chars]: []} != {'id': <ANY>, 'state': 'PENDING', 'name': 'bulk_[184 chars]: []}

======================================================================
FAIL: test_post_inline_202 (core.importers.tests.BulkImportViewTest)
----------------------------------------------------------------------
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/importers/tests.py", line 1415, in test_post_inline_202
    self.assertEqual(response.data, {
AssertionError: {'id': 'ef3faf31-b41b-42ad-a1e1-1d5ea2662008-ocl[332 chars]: []} != {'id': <ANY>, 'state': 'PENDING', 'name': 'bulk_[175 chars]: []}

======================================================================
FAIL: test_post_inline_parallel_202 (core.importers.tests.BulkImportViewTest)
----------------------------------------------------------------------
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/importers/tests.py", line 1383, in test_post_inline_parallel_202
    self.assertEqual(response.data, {
AssertionError: {'id': '52f46200-4103-4bcf-92ea-acb3f766d42d-ocl[341 chars]: []} != {'id': <ANY>, 'state': 'PENDING', 'name': 'bulk_[184 chars]: []}

======================================================================
FAIL: test_put_202_all (core.integration_tests.tests_collections.CollectionReferencesViewTest)
----------------------------------------------------------------------
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/integration_tests/tests_collections.py", line 680, in test_put_202_all
    self.assertEqual(
AssertionError: {'id': 'b52dba10-6deb-428d-b062-2bd85f6fecf4-foo[159 chars]ult'} != {'id': <ANY>, 'state': 'PENDING', 'name': 'add_r[48 chars]bar'}

======================================================================
FAIL: test_delete_202 (core.integration_tests.tests_collections.CollectionRetrieveUpdateDestroyViewTest)
----------------------------------------------------------------------
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/integration_tests/tests_collections.py", line 454, in test_delete_202
    self.assertEqual(
AssertionError: {'id': '0fde4ea8-2357-4edd-b132-416767e707a7-use[174 chars]ult'} != {'id': <ANY>, 'queue': 'default', 'state': 'PEND[55 chars]ion'}

======================================================================
FAIL: test_post_202 (core.integration_tests.tests_sources.SourceConceptsIndexViewTest)
----------------------------------------------------------------------
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/integration_tests/tests_sources.py", line 1752, in test_post_202
    self.assertEqual(
AssertionError: {'id': '288fbf8d-78a0-4377-996b-7e309011c66[168 chars]ing'} != {'state': 'PENDING', 'username': 'soop', 'i[59 chars]pts'}

======================================================================
FAIL: test_post_202 (core.integration_tests.tests_sources.SourceMappingsIndexViewTest)
----------------------------------------------------------------------
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/integration_tests/tests_sources.py", line 1727, in test_post_202
    self.assertEqual(
AssertionError: {'id': 'a1860a47-0a18-43dd-90b1-fda999cfcc5[168 chars]ing'} != {'state': 'PENDING', 'username': 'soop', 'i[59 chars]ngs'}

======================================================================
FAIL: test_delete_202 (core.integration_tests.tests_sources.SourceRetrieveUpdateDestroyViewTest)
----------------------------------------------------------------------
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/integration_tests/tests_sources.py", line 341, in test_delete_202
    self.assertEqual(
AssertionError: {'id': '6773804c-b7f7-4483-af78-c651781e7b42-ocl[169 chars]ult'} != {'id': <ANY>, 'state': 'PENDING', 'queue': 'defa[54 chars]ask'}

----------------------------------------------------------------------
Ran 834 tests in 664.175s

FAILED (failures=12)
Preserving test database for alias 'default' ('test_postgres')...
1
Stopping ocl-oclapi20-rt_es_1 ...
Stopping ocl-oclapi20-rt_db_1 ...
Stopping ocl-oclapi20-rt_db_1 ... done
Stopping ocl-oclapi20-rt_es_1 ... done
Removing ocl-oclapi20-rt_es_1 ...
Removing ocl-oclapi20-rt_db_1 ...
Removing ocl-oclapi20-rt_es_1 ... done
Removing ocl-oclapi20-rt_db_1 ... done
Removing network ocl-oclapi20-rt_default
Removing volume ocl-oclapi20-rt_postgres-data
Removing volume ocl-oclapi20-rt_es-data
Removing volume ocl-oclapi20-rt_redis-data