Build: #284 was successful

Job: Run deprecated integration tests was successful

Job result summary

Completed
Duration
5 minutes
Agent
yue.openmrs.org
Revision
a2f7881f75995c683cca445075e826b77c01dbeb a2f7881f75995c683cca445075e826b77c01dbeb
Successful since
#254 ()

Error summary

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

ERROR 2019/12/01 07:32:14 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2019/12/01 07:32:16 [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 2019/12/01 07:32:16 [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 2019/12/01 07:32:16 [middlewares.py:32 process_response()] 0.0297701358795 sec DELETE /orgs/org1/ : 400
ERROR 2019/12/01 07:32:16 [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 2019/12/01 07:32:17 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2019/12/01 07:32:17 [middlewares.py:35 process_response()] 0.0378038883209 sec DELETE /orgs/org1/ : 200
.INFO 2019/12/01 07:32:18 [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 2019/12/01 07:32:18 [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 2019/12/01 07:32:18 [middlewares.py:32 process_response()] 0.0269339084625 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/12/01 07:32:18 [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/5de3b2d20fb76e0001cd93b2/1/;"}, - 400
.INFO 2019/12/01 07:32:20 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/12/01 07:32:20 [middlewares.py:32 process_response()] 0.0223097801208 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/12/01 07:32:20 [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 2019/12/01 07:32:21 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/12/01 07:32:21 [middlewares.py:32 process_response()] 0.0222270488739 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/12/01 07:32:21 [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 2019/12/01 07:32:22 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/12/01 07:32:22 [middlewares.py:32 process_response()] 0.00876617431641 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/12/01 07:32:22 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/12/01 07:32:23 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2019/12/01 07:32:23 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/12/01 07:32:23 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/12/01 07:32:23 [views.py:377 get()]    Key does not exist for source version version1
DEBUG 2019/12/01 07:32:23 [views.py:377 get()]    Key does not exist for source version version1
INFO 2019/12/01 07:32:23 [middlewares.py:35 process_response()] 0.0253400802612 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2019/12/01 07:32:24 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2019/12/01 07:32:24 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2019/12/01 07:32:24 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2019/12/01 07:32:24 [middlewares.py:32 process_response()] 0.0150620937347 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/12/01 07:32:25 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/12/01 07:32:25 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2019/12/01 07:32:25 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2019/12/01 07:32:25 [middlewares.py:35 process_response()] 0.0368750095367 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/12/01 07:32:27 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/12/01 07:32:27 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2019/12/01 07:32:27 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2019/12/01 07:32:27 [middlewares.py:35 process_response()] 0.0329208374023 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2019/12/01 07:32:27 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/12/01 07:32:27 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2019/12/01 07:32:27 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2019/12/01 07:32:27 [middlewares.py:32 process_response()] 0.0257380008698 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2019/12/01 07:32:28 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/12/01 07:32:28 [middlewares.py:32 process_response()] 0.00958395004272 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/12/01 07:32:28 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/12/01 07:32:29 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2019/12/01 07:32:29 [middlewares.py:32 process_response()] 0.0142948627472 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/12/01 07:32:30 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/12/01 07:32:30 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2019/12/01 07:32:30 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2019/12/01 07:32:30 [middlewares.py:35 process_response()] 0.0348110198975 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/12/01 07:32:32 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/12/01 07:32:32 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2019/12/01 07:32:32 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2019/12/01 07:32:32 [middlewares.py:35 process_response()] 0.0500428676605 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/12/01 07:32:33 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/12/01 07:32:33 [middlewares.py:35 process_response()] 0.0584681034088 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2019/12/01 07:32:34 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/12/01 07:32:34 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2019/12/01 07:32:34 [views.py:324 get()] Processing flag requested for source version version1
INFO 2019/12/01 07:32:34 [middlewares.py:35 process_response()] 0.0152931213379 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/12/01 07:32:34 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2019/12/01 07:32:34 [views.py:334 post()] Processing flag clearance requested for source version version1
DEBUG 2019/12/01 07:32:34 [views.py:334 post()] Processing flag clearance requested for source version version1
INFO 2019/12/01 07:32:34 [middlewares.py:35 process_response()] 0.0256080627441 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/12/01 07:32:34 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/12/01 07:32:34 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2019/12/01 07:32:34 [views.py:324 get()] Processing flag requested for source version version1
INFO 2019/12/01 07:32:34 [middlewares.py:35 process_response()] 0.0142931938171 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2019/12/01 07:32:35 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/12/01 07:32:35 [middlewares.py:35 process_response()] 0.0126969814301 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/12/01 07:32:36 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/12/01 07:32:36 [middlewares.py:32 process_response()] 0.0257987976074 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2019/12/01 07:32:36 [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\", : \"5de3b2e40fb76e0001cd98f1\" }"}, - 409
.INFO 2019/12/01 07:32:37 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/12/01 07:32:37 [middlewares.py:35 process_response()] 0.0123729705811 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/12/01 07:32:38 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2019/12/01 07:32:38 [middlewares.py:35 process_response()] 0.0380120277405 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2019/12/01 07:32:40 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2019/12/01 07:32:40 [middlewares.py:35 process_response()] 0.0428149700165 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2019/12/01 07:32:42 [middlewares.py:22 process_request()] testPBP8I 127.0.0.1 PUT /orgs/org1/sources/source6L52Z/
INFO 2019/12/01 07:32:42 [middlewares.py:32 process_response()] 0.0421180725098 sec PUT /orgs/org1/sources/source6L52Z/ : 400
ERROR 2019/12/01 07:32:42 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/source6L52Z/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/source6L52Z/concepts/concept2/", "errors": {"names": ["Concept fully specified name must be unique for same source and locale: Non Unique (locale: en, preferred: no)"]}}]}, - 400
.INFO 2019/12/01 07:32:43 [middlewares.py:22 process_request()] testTG6S5 127.0.0.1 PUT /orgs/org1/sources/source7S4D5/
INFO 2019/12/01 07:32:43 [middlewares.py:35 process_response()] 0.0628609657288 sec PUT /orgs/org1/sources/source7S4D5/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 253.113s

OK (skipped=7)
+ docker-compose down -v
Stopping ocl-oa-rit_mongo_1 ...
Stopping ocl-oa-rit_solr_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_mongo_1 ...
Removing ocl-oa-rit_solr_1  ...
Removing ocl-oa-rit_redis_1 ...

Removing ocl-oa-rit_mongo_1 ... done

Removing ocl-oa-rit_solr_1  ... done

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