Build: #322 failed

Job: Run deprecated integration tests was successful

Job result summary

Completed
Duration
5 minutes
Agent
yokobue.openmrs.org
Revision
4d37049cdade81a82178af1b2cbd8509343d1544 4d37049cdade81a82178af1b2cbd8509343d1544
Successful since
#321 ()

Error summary

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

ERROR 2020/05/15 06:14:23 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2020/05/15 06:14:25 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
/code/orgs/views.py:118: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return Response({'detail': ex.message}, status=status.HTTP_400_BAD_REQUEST)

WARNING 2020/05/15 06:14:25 [views.py:118 destroy()] /code/orgs/views.py:118: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return Response({'detail': ex.message}, status=status.HTTP_400_BAD_REQUEST)

INFO 2020/05/15 06:14:25 [middlewares.py:32 process_response()] 0.0252349376678 sec DELETE /orgs/org1/ : 400
ERROR 2020/05/15 06:14:25 [log.py:278 log()] {"detail": "Source /orgs/org1/sources/source/ cannot be deleted because others have created mapping or references that point to it.\n                To delete this source, you must first delete all linked mappings and references. Concepts in collections: /orgs/org2/collections/collection/HEAD/;"}, - 400
.INFO 2020/05/15 06:14:26 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2020/05/15 06:14:26 [middlewares.py:35 process_response()] 0.0420789718628 sec DELETE /orgs/org1/ : 200
.INFO 2020/05/15 06:14:28 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
/code/sources/views.py:101: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return Response({'detail': ex.message}, status=status.HTTP_400_BAD_REQUEST)

WARNING 2020/05/15 06:14:28 [views.py:101 destroy()] /code/sources/views.py:101: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return Response({'detail': ex.message}, status=status.HTTP_400_BAD_REQUEST)

INFO 2020/05/15 06:14:28 [middlewares.py:32 process_response()] 0.0216588973999 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/05/15 06:14:28 [log.py:278 log()] {"detail": "Source /orgs/org1/sources/source/ cannot be deleted because others have created mapping or references that point to it.\n                To delete this source, you must first delete all linked mappings and references. Mappings: /orgs/org1/sources/source2/mappings/5ebe6b8310247f0001bf6ef3/1/;"}, - 400
.INFO 2020/05/15 06:14:29 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/05/15 06:14:29 [middlewares.py:32 process_response()] 0.0324459075928 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/05/15 06:14:29 [log.py:278 log()] {"detail": "Source /orgs/org1/sources/source/ cannot be deleted because others have created mapping or references that point to it.\n                To delete this source, you must first delete all linked mappings and references. Concepts in collections: /orgs/org1/collections/collection/HEAD/;"}, - 400
.INFO 2020/05/15 06:14:30 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/05/15 06:14:30 [middlewares.py:32 process_response()] 0.0226221084595 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/05/15 06:14:30 [log.py:278 log()] {"detail": "Source /orgs/org1/sources/source/ cannot be deleted because others have created mapping or references that point to it.\n                To delete this source, you must first delete all linked mappings and references. Mappings in collections: /orgs/org1/collections/collection/HEAD/;"}, - 400
.INFO 2020/05/15 06:14:32 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/05/15 06:14:32 [middlewares.py:32 process_response()] 0.0106317996979 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/05/15 06:14:32 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/05/15 06:14:33 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/15 06:14:33 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/05/15 06:14:33 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/05/15 06:14:33 [views.py:377 get()]    Key does not exist for source version version1
DEBUG 2020/05/15 06:14:33 [views.py:377 get()]    Key does not exist for source version version1
INFO 2020/05/15 06:14:33 [middlewares.py:35 process_response()] 0.0301451683044 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2020/05/15 06:14:34 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2020/05/15 06:14:34 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2020/05/15 06:14:34 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2020/05/15 06:14:34 [middlewares.py:32 process_response()] 0.0142159461975 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/05/15 06:14:35 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/15 06:14:35 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/15 06:14:35 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/15 06:14:35 [middlewares.py:35 process_response()] 0.0344979763031 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/05/15 06:14:36 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/15 06:14:36 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/15 06:14:36 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/15 06:14:36 [middlewares.py:35 process_response()] 0.0279910564423 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2020/05/15 06:14:36 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/15 06:14:36 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/15 06:14:36 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/15 06:14:36 [middlewares.py:32 process_response()] 0.0252251625061 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2020/05/15 06:14:37 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/05/15 06:14:37 [middlewares.py:32 process_response()] 0.0104420185089 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/05/15 06:14:37 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/05/15 06:14:39 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2020/05/15 06:14:39 [middlewares.py:32 process_response()] 0.0167808532715 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/05/15 06:14:40 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/15 06:14:40 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/15 06:14:40 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/15 06:14:40 [middlewares.py:35 process_response()] 0.0307369232178 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/05/15 06:14:41 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/15 06:14:41 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/15 06:14:41 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/15 06:14:41 [middlewares.py:35 process_response()] 0.0343718528748 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/05/15 06:14:42 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/05/15 06:14:42 [middlewares.py:35 process_response()] 0.0464980602264 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2020/05/15 06:14:43 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/05/15 06:14:43 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/05/15 06:14:43 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/05/15 06:14:43 [middlewares.py:35 process_response()] 0.0957350730896 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/05/15 06:14:43 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2020/05/15 06:14:43 [views.py:334 post()] Processing flag clearance requested for source version version1
DEBUG 2020/05/15 06:14:43 [views.py:334 post()] Processing flag clearance requested for source version version1
INFO 2020/05/15 06:14:43 [middlewares.py:35 process_response()] 0.0244789123535 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/05/15 06:14:43 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/05/15 06:14:43 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/05/15 06:14:43 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/05/15 06:14:43 [middlewares.py:35 process_response()] 0.0130591392517 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2020/05/15 06:14:45 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/05/15 06:14:45 [middlewares.py:35 process_response()] 0.0132009983063 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/05/15 06:14:46 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/05/15 06:14:46 [middlewares.py:32 process_response()] 0.0223469734192 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2020/05/15 06:14:46 [log.py:278 log()] {"detail": "Source version  'version1' already exist. ", "error": "E11000 duplicate key error collection: test_ocl.sources_sourceversion index: mnemonic_1_versioned_object_id_1 dup key: { : \"version1\", : \"5ebe6b9610247f0001bf7432\" }"}, - 409
.INFO 2020/05/15 06:14:47 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/05/15 06:14:47 [middlewares.py:35 process_response()] 0.0125789642334 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/05/15 06:14:48 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2020/05/15 06:14:48 [middlewares.py:35 process_response()] 0.0541310310364 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2020/05/15 06:14:49 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2020/05/15 06:14:49 [middlewares.py:35 process_response()] 0.0419600009918 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2020/05/15 06:14:52 [middlewares.py:22 process_request()] testXVEUH 127.0.0.1 PUT /orgs/org1/sources/sourceSQYNL/
INFO 2020/05/15 06:14:52 [middlewares.py:32 process_response()] 0.0310730934143 sec PUT /orgs/org1/sources/sourceSQYNL/ : 400
ERROR 2020/05/15 06:14:52 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/sourceSQYNL/concepts/concept1/", "errors": {"names": ["Concept fully specified name must be unique for same source and locale: Non Unique (locale: en, preferred: no)"]}}, {"mnemonic": "concept2", "url": "/orgs/org1/sources/sourceSQYNL/concepts/concept2/", "errors": {"names": ["Concept fully specified name must be unique for same source and locale: Non Unique (locale: en, preferred: no)"]}}]}, - 400
.INFO 2020/05/15 06:14:53 [middlewares.py:22 process_request()] test755WR 127.0.0.1 PUT /orgs/org1/sources/sourceC1UVX/
INFO 2020/05/15 06:14:53 [middlewares.py:35 process_response()] 0.083899974823 sec PUT /orgs/org1/sources/sourceC1UVX/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 261.000s

OK (skipped=7)
+ docker-compose down -v
Stopping ocl-oa-rit_solr_1  ...
Stopping ocl-oa-rit_mongo_1 ...
Stopping ocl-oa-rit_redis_1 ...

Stopping ocl-oa-rit_redis_1 ... done

Stopping ocl-oa-rit_mongo_1 ... done

Stopping ocl-oa-rit_solr_1  ... done
Removing ocl-oa-rit_solr_1  ...
Removing ocl-oa-rit_mongo_1 ...
Removing ocl-oa-rit_redis_1 ...

Removing ocl-oa-rit_mongo_1 ... done

Removing ocl-oa-rit_redis_1 ... done

Removing ocl-oa-rit_solr_1  ... done
Removing network ocl-oa-rit_default
Removing volume ocl-oa-rit_mongo_data
Removing volume ocl-oa-rit_solr_data