OCL API 2

Build: #2083 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
8 minutes
Agent
xindi.openmrs.org
Revision
960d632718533d937d87a661e6395a9d4d47328c
Fixed in
#2084 (Manual run from the stage: Release 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.

-   'created_at': '2024-08-07T04:15:11.251896Z',
+   'created_at': <ANY>,
    'finished_at': None,
    'id': 'bee0f0fa-e7c8-4ead-9472-c7b49ae7db99-ocladmin~priority',
    'name': 'core.common.tasks.bulk_import_parallel_inline',
    'queue': 'priority',
-   'result': None,
    'runtime': None,
    'started_at': None,
    'state': 'SUCCESS',
    'summary': None,
    'task': 'bee0f0fa-e7c8-4ead-9472-c7b49ae7db99-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 1308, in test_post_202
    self.assertEqual(
AssertionError: {'id': 'ba7bd592-fe7a-4c48-bfab-8f4e4c740675-ocl[357 chars]: []} != {'id': <ANY>, 'task': <ANY>, 'state': 'PENDING',[199 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 1485, in test_post_inline_202
    self.assertEqual(response.data, {
AssertionError: {'id': '57e9a052-4bae-4ad2-b412-e50f923b5e54-ocl[348 chars]: []} != {'id': <ANY>, 'task': <ANY>, 'state': 'PENDING',[190 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 1452, in test_post_inline_parallel_202
    self.assertEqual(response.data, {
AssertionError: {'id': 'ee49b81f-ac58-408d-90ab-126e496312c4-ocl[357 chars]: []} != {'id': <ANY>, 'task': <ANY>, 'state': 'PENDING',[199 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': '226d5d8e-63a7-4a7c-aa27-551b2794bb97-foo[175 chars]None} != {'id': <ANY>, 'task': <ANY>, 'state': 'PENDING',[63 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 453, in test_delete_202
    self.assertEqual(
AssertionError: {'id': '581ae160-a459-46cf-bfb5-bc082435dedb-use[190 chars]None} != {'id': <ANY>, 'task': <ANY>, 'queue': 'default',[70 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 1755, in test_post_202
    self.assertEqual(
AssertionError: {'id': '5a86d3e5-de51-45c2-80d8-f9933abcecf[184 chars]None} != {'state': 'PENDING', 'username': 'soop', 'i[74 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 1729, in test_post_202
    self.assertEqual(
AssertionError: {'id': '4aa0ff91-8623-4341-ab1d-d64cbb1786b[184 chars]None} != {'state': 'PENDING', 'username': 'soop', 'i[74 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 344, in test_delete_202
    self.assertEqual(
AssertionError: {'id': 'c447f511-2b54-4f49-9673-12e2cdd1da87-ocl[185 chars]None} != {'id': <ANY>, 'task': <ANY>, 'state': 'PENDING',[69 chars]ask'}

----------------------------------------------------------------------
Ran 845 tests in 408.325s

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