Build: #249 failed

Job: Run deprecated integration tests was successful

Job result summary

Completed
Duration
5 minutes
Agent
yue.openmrs.org
Revision
6716db30bb5e12e4cd166d83fdb2ab1b22978a57 6716db30bb5e12e4cd166d83fdb2ab1b22978a57
Successful since
#215 ()

Error summary

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

ERROR 2019/08/02 10:33:45 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2019/08/02 10:33:47 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
/code/orgs/views.py:117: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return Response({'detail': ex.message}, status=status.HTTP_400_BAD_REQUEST)

WARNING 2019/08/02 10:33:47 [views.py:117 destroy()] /code/orgs/views.py:117: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return Response({'detail': ex.message}, status=status.HTTP_400_BAD_REQUEST)

INFO 2019/08/02 10:33:47 [middlewares.py:32 process_response()] 0.0215258598328 sec DELETE /orgs/org1/ : 400
ERROR 2019/08/02 10:33:47 [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/08/02 10:33:48 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2019/08/02 10:33:48 [middlewares.py:35 process_response()] 0.0274341106415 sec DELETE /orgs/org1/ : 200
.INFO 2019/08/02 10:33:49 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
/code/sources/views.py:80: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return Response({'detail': ex.message}, status=status.HTTP_400_BAD_REQUEST)

WARNING 2019/08/02 10:33:49 [views.py:80 destroy()] /code/sources/views.py:80: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return Response({'detail': ex.message}, status=status.HTTP_400_BAD_REQUEST)

INFO 2019/08/02 10:33:49 [middlewares.py:32 process_response()] 0.0201361179352 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/08/02 10:33:49 [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/5d4449cd8c36220001a657d9/1/;"}, - 400
.INFO 2019/08/02 10:33:50 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/08/02 10:33:50 [middlewares.py:32 process_response()] 0.0359790325165 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/08/02 10:33:50 [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/08/02 10:33:52 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/08/02 10:33:52 [middlewares.py:32 process_response()] 0.0162079334259 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/08/02 10:33:52 [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/08/02 10:33:53 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/08/02 10:33:53 [middlewares.py:32 process_response()] 0.00773310661316 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/08/02 10:33:53 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/08/02 10:33:54 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 10:33:54 [views.py:334 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/08/02 10:33:54 [views.py:334 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/08/02 10:33:54 [views.py:346 get()]    Key does not exist for source version version1
DEBUG 2019/08/02 10:33:54 [views.py:346 get()]    Key does not exist for source version version1
INFO 2019/08/02 10:33:54 [middlewares.py:35 process_response()] 0.0249509811401 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2019/08/02 10:33:55 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2019/08/02 10:33:55 [views.py:334 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2019/08/02 10:33:55 [views.py:334 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2019/08/02 10:33:55 [middlewares.py:32 process_response()] 0.0157730579376 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/08/02 10:33:56 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 10:33:56 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 10:33:56 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 10:33:56 [middlewares.py:35 process_response()] 0.0268058776855 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/08/02 10:33:58 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 10:33:58 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 10:33:58 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 10:33:58 [middlewares.py:35 process_response()] 0.0282979011536 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2019/08/02 10:33:58 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 10:33:58 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 10:33:58 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 10:33:58 [middlewares.py:32 process_response()] 0.026762008667 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2019/08/02 10:33:59 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/08/02 10:33:59 [middlewares.py:32 process_response()] 0.00851392745972 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/08/02 10:33:59 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/08/02 10:34:00 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2019/08/02 10:34:00 [middlewares.py:32 process_response()] 0.0147380828857 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/08/02 10:34:01 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 10:34:01 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 10:34:01 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 10:34:01 [middlewares.py:35 process_response()] 0.0270569324493 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/08/02 10:34:02 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 10:34:02 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 10:34:02 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 10:34:02 [middlewares.py:35 process_response()] 0.0293829441071 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/08/02 10:34:03 [middlewares.py:22 process_request()]  127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/08/02 10:34:03 [middlewares.py:35 process_response()] 0.0656311511993 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2019/08/02 10:34:04 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/08/02 10:34:04 [views.py:293 get()] Processing flag requested for source version version1
DEBUG 2019/08/02 10:34:04 [views.py:293 get()] Processing flag requested for source version version1
INFO 2019/08/02 10:34:04 [middlewares.py:35 process_response()] 0.0149919986725 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/08/02 10:34:04 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2019/08/02 10:34:04 [views.py:303 post()] Processing flag clearance requested for source version version1
DEBUG 2019/08/02 10:34:04 [views.py:303 post()] Processing flag clearance requested for source version version1
INFO 2019/08/02 10:34:04 [middlewares.py:35 process_response()] 0.0274348258972 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/08/02 10:34:04 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/08/02 10:34:04 [views.py:293 get()] Processing flag requested for source version version1
DEBUG 2019/08/02 10:34:04 [views.py:293 get()] Processing flag requested for source version version1
INFO 2019/08/02 10:34:04 [middlewares.py:35 process_response()] 0.013662815094 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2019/08/02 10:34:05 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/08/02 10:34:05 [middlewares.py:35 process_response()] 0.0120711326599 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/08/02 10:34:06 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/08/02 10:34:06 [middlewares.py:32 process_response()] 0.0185880661011 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2019/08/02 10:34:06 [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\", : \"5d4449de8c36220001a65d18\" }"}, - 409
.INFO 2019/08/02 10:34:07 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/08/02 10:34:07 [middlewares.py:35 process_response()] 0.0113968849182 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/08/02 10:34:09 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2019/08/02 10:34:09 [middlewares.py:35 process_response()] 0.0401759147644 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2019/08/02 10:34:10 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2019/08/02 10:34:10 [middlewares.py:35 process_response()] 0.0320229530334 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2019/08/02 10:34:12 [middlewares.py:22 process_request()] testALBAQ 127.0.0.1 PUT /orgs/org1/sources/sourceUSPPS/
INFO 2019/08/02 10:34:12 [middlewares.py:32 process_response()] 0.0311009883881 sec PUT /orgs/org1/sources/sourceUSPPS/ : 400
ERROR 2019/08/02 10:34:12 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/sourceUSPPS/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/sourceUSPPS/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/08/02 10:34:13 [middlewares.py:22 process_request()] testNAWEU 127.0.0.1 PUT /orgs/org1/sources/sourceH7222/
INFO 2019/08/02 10:34:13 [middlewares.py:35 process_response()] 0.0484139919281 sec PUT /orgs/org1/sources/sourceH7222/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 239.411s

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_solr_1  ... done

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

Removing ocl-oa-rit_redis_1 ... done

Removing ocl-oa-rit_solr_1  ... done

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