Build: #225 failed

Job: Run deprecated integration tests was successful

Job result summary

Completed
Duration
5 minutes
Agent
yokobue.openmrs.org
Revision
8a4eefbf1922d4eeffbd733ff8484d5c3ea69e08 8a4eefbf1922d4eeffbd733ff8484d5c3ea69e08
Successful since
#215 ()

Error summary

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

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

WARNING 2019/06/07 03:40:40 [views.py:104 destroy()] /code/orgs/views.py:104: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return Response({'detail': ex.message}, status=status.HTTP_400_BAD_REQUEST)

INFO 2019/06/07 03:40:40 [middlewares.py:32 process_response()] 0.0269291400909 sec DELETE /orgs/org1/ : 400
ERROR 2019/06/07 03:40:40 [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/06/07 03:40:41 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2019/06/07 03:40:41 [middlewares.py:35 process_response()] 0.0460469722748 sec DELETE /orgs/org1/ : 200
.INFO 2019/06/07 03:40:43 [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/06/07 03:40:43 [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/06/07 03:40:43 [middlewares.py:32 process_response()] 0.0210809707642 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/06/07 03:40:43 [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/5cfa14fb351dbd0001eb2663/1/;"}, - 400
.INFO 2019/06/07 03:40:44 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/06/07 03:40:44 [middlewares.py:32 process_response()] 0.0292830467224 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/06/07 03:40:44 [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/06/07 03:40:46 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/06/07 03:40:46 [middlewares.py:32 process_response()] 0.0198140144348 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/06/07 03:40:46 [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/06/07 03:40:47 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/06/07 03:40:47 [middlewares.py:32 process_response()] 0.0135378837585 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/06/07 03:40:47 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/06/07 03:40:48 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2019/06/07 03:40:48 [views.py:334 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/06/07 03:40:48 [views.py:334 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/06/07 03:40:48 [views.py:346 get()]    Key does not exist for source version version1
DEBUG 2019/06/07 03:40:48 [views.py:346 get()]    Key does not exist for source version version1
INFO 2019/06/07 03:40:48 [middlewares.py:35 process_response()] 0.0237848758698 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2019/06/07 03:40:50 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2019/06/07 03:40:50 [views.py:334 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2019/06/07 03:40:50 [views.py:334 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2019/06/07 03:40:50 [middlewares.py:32 process_response()] 0.0211369991302 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/06/07 03:40:51 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/06/07 03:40:51 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/06/07 03:40:51 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/06/07 03:40:51 [middlewares.py:35 process_response()] 0.0447800159454 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/06/07 03:40:53 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/06/07 03:40:53 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/06/07 03:40:53 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/06/07 03:40:53 [middlewares.py:35 process_response()] 0.0320479869843 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2019/06/07 03:40:53 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/06/07 03:40:53 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/06/07 03:40:53 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/06/07 03:40:53 [middlewares.py:32 process_response()] 0.0328001976013 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2019/06/07 03:40:54 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/06/07 03:40:54 [middlewares.py:32 process_response()] 0.0129430294037 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/06/07 03:40:54 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/06/07 03:40:55 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2019/06/07 03:40:55 [middlewares.py:32 process_response()] 0.0172619819641 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/06/07 03:40:57 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/06/07 03:40:57 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/06/07 03:40:57 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/06/07 03:40:57 [middlewares.py:35 process_response()] 0.0334079265594 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/06/07 03:40:58 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/06/07 03:40:58 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/06/07 03:40:58 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/06/07 03:40:58 [middlewares.py:35 process_response()] 0.0333940982819 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/06/07 03:40:59 [middlewares.py:22 process_request()]  127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/06/07 03:40:59 [middlewares.py:35 process_response()] 0.0525019168854 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2019/06/07 03:41:01 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/06/07 03:41:01 [views.py:293 get()] Processing flag requested for source version version1
DEBUG 2019/06/07 03:41:01 [views.py:293 get()] Processing flag requested for source version version1
INFO 2019/06/07 03:41:01 [middlewares.py:35 process_response()] 0.0174231529236 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/06/07 03:41:01 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2019/06/07 03:41:01 [views.py:303 post()] Processing flag clearance requested for source version version1
DEBUG 2019/06/07 03:41:01 [views.py:303 post()] Processing flag clearance requested for source version version1
INFO 2019/06/07 03:41:01 [middlewares.py:35 process_response()] 0.0303270816803 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/06/07 03:41:01 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/06/07 03:41:01 [views.py:293 get()] Processing flag requested for source version version1
DEBUG 2019/06/07 03:41:01 [views.py:293 get()] Processing flag requested for source version version1
INFO 2019/06/07 03:41:01 [middlewares.py:35 process_response()] 0.0143940448761 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2019/06/07 03:41:02 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/06/07 03:41:02 [middlewares.py:35 process_response()] 0.0163011550903 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/06/07 03:41:04 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/06/07 03:41:04 [middlewares.py:32 process_response()] 0.0262868404388 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2019/06/07 03:41:04 [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\", : \"5cfa150f351dbd0001eb2ba2\" }"}, - 409
.INFO 2019/06/07 03:41:05 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/06/07 03:41:05 [middlewares.py:35 process_response()] 0.0127520561218 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/06/07 03:41:06 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2019/06/07 03:41:06 [middlewares.py:35 process_response()] 0.0432369709015 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2019/06/07 03:41:08 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2019/06/07 03:41:08 [middlewares.py:35 process_response()] 0.0546100139618 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2019/06/07 03:41:10 [middlewares.py:22 process_request()] testGIC1S 127.0.0.1 PUT /orgs/org1/sources/sourceU1HK3/
INFO 2019/06/07 03:41:10 [middlewares.py:32 process_response()] 0.0299530029297 sec PUT /orgs/org1/sources/sourceU1HK3/ : 400
ERROR 2019/06/07 03:41:10 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/sourceU1HK3/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/sourceU1HK3/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/06/07 03:41:11 [middlewares.py:22 process_request()] testZ8ZMP 127.0.0.1 PUT /orgs/org1/sources/source3I2TE/
INFO 2019/06/07 03:41:11 [middlewares.py:35 process_response()] 0.0583729743958 sec PUT /orgs/org1/sources/source3I2TE/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 277.768s

OK (skipped=7)
+ docker-compose down -v
The AWS_ACCESS_KEY_ID variable is not set. Defaulting to a blank string.
The AWS_SECRET_ACCESS_KEY variable is not set. Defaulting to a blank string.
The AWS_STORAGE_BUCKET_NAME variable is not set. Defaulting to a blank string.
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_solr_1  ... done

Removing ocl-oa-rit_mongo_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