OCL API 2
Build: #94 failed
Job: Run tests failed
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.)
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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/importers/tests.py"[39m, line [38;5;241m1244[39m, in test_post_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/importers/tests.py"[39m, line [38;5;241m1415[39m, in test_post_inline_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(response[38;5;241m.[39mdata, {
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/importers/tests.py"[39m, line [38;5;241m1383[39m, in test_post_inline_parallel_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(response[38;5;241m.[39mdata, {
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_collections.py"[39m, line [38;5;241m680[39m, in test_put_202_all
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_collections.py"[39m, line [38;5;241m454[39m, in test_delete_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_sources.py"[39m, line [38;5;241m1752[39m, in test_post_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_sources.py"[39m, line [38;5;241m1727[39m, in test_post_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_sources.py"[39m, line [38;5;241m341[39m, in test_delete_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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
- '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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/importers/tests.py"[39m, line [38;5;241m1244[39m, in test_post_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/importers/tests.py"[39m, line [38;5;241m1415[39m, in test_post_inline_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(response[38;5;241m.[39mdata, {
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/importers/tests.py"[39m, line [38;5;241m1383[39m, in test_post_inline_parallel_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(response[38;5;241m.[39mdata, {
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_collections.py"[39m, line [38;5;241m680[39m, in test_put_202_all
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_collections.py"[39m, line [38;5;241m454[39m, in test_delete_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_sources.py"[39m, line [38;5;241m1752[39m, in test_post_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_sources.py"[39m, line [38;5;241m1727[39m, in test_post_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/site-packages/mock/mock.py"[39m, line [38;5;241m1452[39m, in patched
[38;5;250m [39m[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/integration_tests/tests_sources.py"[39m, line [38;5;241m341[39m, in test_delete_202
[38;5;250m [39m[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: {'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