Build: #251 was successful

Job: Run deprecated integration tests was successful

Job result summary

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

Error summary

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

ERROR 2019/08/02 11:22:19 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2019/08/02 11:22:20 [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 11:22:20 [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 11:22:20 [middlewares.py:32 process_response()] 0.0301380157471 sec DELETE /orgs/org1/ : 400
ERROR 2019/08/02 11:22: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/org2/collections/collection/HEAD/;"}, - 400
.INFO 2019/08/02 11:22:21 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2019/08/02 11:22:22 [middlewares.py:35 process_response()] 0.0290789604187 sec DELETE /orgs/org1/ : 200
.INFO 2019/08/02 11:22:23 [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 11:22:23 [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 11:22:23 [middlewares.py:32 process_response()] 0.0168700218201 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/08/02 11:22:23 [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/5d44552fb0732000015cb468/1/;"}, - 400
.INFO 2019/08/02 11:22:24 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/08/02 11:22:24 [middlewares.py:32 process_response()] 0.0161139965057 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/08/02 11:22:24 [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 11:22:25 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/08/02 11:22:25 [middlewares.py:32 process_response()] 0.0158331394196 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/08/02 11:22: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. Mappings in collections: /orgs/org1/collections/collection/HEAD/;"}, - 400
.INFO 2019/08/02 11:22:27 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/08/02 11:22:27 [middlewares.py:32 process_response()] 0.0079460144043 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/08/02 11:22:27 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/08/02 11:22:27 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 11:22:28 [views.py:334 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/08/02 11:22:28 [views.py:334 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/08/02 11:22:28 [views.py:346 get()]    Key does not exist for source version version1
DEBUG 2019/08/02 11:22:28 [views.py:346 get()]    Key does not exist for source version version1
INFO 2019/08/02 11:22:28 [middlewares.py:35 process_response()] 0.0242879390717 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2019/08/02 11:22:29 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2019/08/02 11:22:29 [views.py:334 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2019/08/02 11:22:29 [views.py:334 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2019/08/02 11:22:29 [middlewares.py:32 process_response()] 0.0159389972687 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/08/02 11:22:30 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 11:22:30 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 11:22:30 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 11:22:30 [middlewares.py:35 process_response()] 0.0258450508118 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/08/02 11:22:31 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 11:22:31 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 11:22:31 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 11:22:31 [middlewares.py:35 process_response()] 0.028736114502 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2019/08/02 11:22:31 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 11:22:31 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 11:22:31 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 11:22:31 [middlewares.py:32 process_response()] 0.0256500244141 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2019/08/02 11:22:32 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/08/02 11:22:32 [middlewares.py:32 process_response()] 0.00873494148254 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/08/02 11:22:32 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/08/02 11:22:33 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2019/08/02 11:22:33 [middlewares.py:32 process_response()] 0.0161831378937 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/08/02 11:22:34 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 11:22:34 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 11:22:34 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 11:22:34 [middlewares.py:35 process_response()] 0.025691986084 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/08/02 11:22:35 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/08/02 11:22:35 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/08/02 11:22:35 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/08/02 11:22:35 [middlewares.py:35 process_response()] 0.0253479480743 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/08/02 11:22:36 [middlewares.py:22 process_request()]  127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/08/02 11:22:36 [middlewares.py:35 process_response()] 0.0483210086823 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2019/08/02 11:22:37 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/08/02 11:22:37 [views.py:293 get()] Processing flag requested for source version version1
DEBUG 2019/08/02 11:22:37 [views.py:293 get()] Processing flag requested for source version version1
INFO 2019/08/02 11:22:37 [middlewares.py:35 process_response()] 0.0132238864899 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/08/02 11:22:37 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2019/08/02 11:22:37 [views.py:303 post()] Processing flag clearance requested for source version version1
DEBUG 2019/08/02 11:22:37 [views.py:303 post()] Processing flag clearance requested for source version version1
INFO 2019/08/02 11:22:37 [middlewares.py:35 process_response()] 0.0223381519318 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/08/02 11:22:37 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/08/02 11:22:37 [views.py:293 get()] Processing flag requested for source version version1
DEBUG 2019/08/02 11:22:37 [views.py:293 get()] Processing flag requested for source version version1
INFO 2019/08/02 11:22:37 [middlewares.py:35 process_response()] 0.0118169784546 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2019/08/02 11:22:39 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/08/02 11:22:39 [middlewares.py:35 process_response()] 0.013927936554 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/08/02 11:22:40 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/08/02 11:22:40 [middlewares.py:32 process_response()] 0.0388481616974 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2019/08/02 11:22:40 [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\", : \"5d44553fb0732000015cb9a7\" }"}, - 409
.INFO 2019/08/02 11:22:41 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/08/02 11:22:41 [middlewares.py:35 process_response()] 0.0125639438629 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/08/02 11:22:42 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2019/08/02 11:22:42 [middlewares.py:35 process_response()] 0.0637788772583 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2019/08/02 11:22:43 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2019/08/02 11:22:43 [middlewares.py:35 process_response()] 0.0530729293823 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2019/08/02 11:22:45 [middlewares.py:22 process_request()] testEK6VG 127.0.0.1 PUT /orgs/org1/sources/sourceOFV0L/
INFO 2019/08/02 11:22:45 [middlewares.py:32 process_response()] 0.0245950222015 sec PUT /orgs/org1/sources/sourceOFV0L/ : 400
ERROR 2019/08/02 11:22:45 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/sourceOFV0L/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/sourceOFV0L/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 11:22:46 [middlewares.py:22 process_request()] testTBG16 127.0.0.1 PUT /orgs/org1/sources/sourceXISK4/
INFO 2019/08/02 11:22:46 [middlewares.py:35 process_response()] 0.043790102005 sec PUT /orgs/org1/sources/sourceXISK4/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 230.945s

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