Build: #207 was successful

Job: Run integration tests was successful

Job result summary

Completed
Duration
4 minutes
Agent
yokobue.openmrs.org
Revision
04d3d55fb2b98df21a39f04dd41ace7ae17e9e58 04d3d55fb2b98df21a39f04dd41ace7ae17e9e58
Successful since
#198 ()

Error summary

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

ERROR 2019/03/14 05:00:40 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2019/03/14 05:00:41 [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/03/14 05:00:41 [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/03/14 05:00:41 [middlewares.py:32 process_response()] 0.0223820209503 sec DELETE /orgs/org1/ : 400
ERROR 2019/03/14 05:00:41 [log.py:278 log()] {"detail": "Source 5c8a1839549ed600016ec1c6 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 and try again."}, - 400
.INFO 2019/03/14 05:00:42 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2019/03/14 05:00:42 [middlewares.py:35 process_response()] 0.0350110530853 sec DELETE /orgs/org1/ : 200
.INFO 2019/03/14 05:00:44 [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/03/14 05:00:44 [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/03/14 05:00:44 [middlewares.py:32 process_response()] 0.0220069885254 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/03/14 05:00:44 [log.py:278 log()] {"detail": "Source 5c8a183c549ed600016ec28b 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 and try again."}, - 400
.INFO 2019/03/14 05:00:45 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/03/14 05:00:45 [middlewares.py:32 process_response()] 0.0163929462433 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/03/14 05:00:45 [log.py:278 log()] {"detail": "Source 5c8a183d549ed600016ec2f0 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 and try again."}, - 400
.INFO 2019/03/14 05:00:46 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2019/03/14 05:00:46 [middlewares.py:32 process_response()] 0.0179190635681 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2019/03/14 05:00:46 [log.py:278 log()] {"detail": "Source 5c8a183e549ed600016ec350 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 and try again."}, - 400
.INFO 2019/03/14 05:00:48 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/03/14 05:00:48 [middlewares.py:32 process_response()] 0.00801277160645 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/03/14 05:00:48 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/03/14 05:00:48 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2019/03/14 05:00:48 [views.py:334 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/03/14 05:00:48 [views.py:334 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2019/03/14 05:00:48 [views.py:346 get()]    Key does not exist for source version version1
DEBUG 2019/03/14 05:00:48 [views.py:346 get()]    Key does not exist for source version version1
INFO 2019/03/14 05:00:48 [middlewares.py:35 process_response()] 0.0197339057922 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2019/03/14 05:00:49 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2019/03/14 05:00:49 [views.py:334 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2019/03/14 05:00:49 [views.py:334 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2019/03/14 05:00:49 [middlewares.py:32 process_response()] 0.0252358913422 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/03/14 05:00:51 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/03/14 05:00:51 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/03/14 05:00:51 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/03/14 05:00:51 [middlewares.py:35 process_response()] 0.024943113327 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/03/14 05:00:52 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/03/14 05:00:52 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/03/14 05:00:52 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/03/14 05:00:52 [middlewares.py:35 process_response()] 0.0450751781464 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2019/03/14 05:00:52 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/03/14 05:00:52 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/03/14 05:00:52 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/03/14 05:00:52 [middlewares.py:32 process_response()] 0.0315549373627 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2019/03/14 05:00:53 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2019/03/14 05:00:53 [middlewares.py:32 process_response()] 0.00947284698486 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2019/03/14 05:00:53 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2019/03/14 05:00:54 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2019/03/14 05:00:54 [middlewares.py:32 process_response()] 0.0141179561615 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2019/03/14 05:00:55 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/03/14 05:00:55 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/03/14 05:00:55 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/03/14 05:00:55 [middlewares.py:35 process_response()] 0.024512052536 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/03/14 05:00:56 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2019/03/14 05:00:56 [views.py:383 post()] Source Export requested for version version1 (post)
DEBUG 2019/03/14 05:00:56 [views.py:383 post()] Source Export requested for version version1 (post)
INFO 2019/03/14 05:00:56 [middlewares.py:35 process_response()] 0.0277681350708 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2019/03/14 05:00:57 [middlewares.py:22 process_request()]  127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/03/14 05:00:57 [middlewares.py:35 process_response()] 0.0382418632507 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2019/03/14 05:00:58 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/03/14 05:00:58 [views.py:293 get()] Processing flag requested for source version version1
DEBUG 2019/03/14 05:00:58 [views.py:293 get()] Processing flag requested for source version version1
INFO 2019/03/14 05:00:58 [middlewares.py:35 process_response()] 0.0212159156799 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/03/14 05:00:58 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2019/03/14 05:00:59 [views.py:303 post()] Processing flag clearance requested for source version version1
DEBUG 2019/03/14 05:00:59 [views.py:303 post()] Processing flag clearance requested for source version version1
INFO 2019/03/14 05:00:59 [middlewares.py:35 process_response()] 0.0368950366974 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2019/03/14 05:00:59 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2019/03/14 05:00:59 [views.py:293 get()] Processing flag requested for source version version1
DEBUG 2019/03/14 05:00:59 [views.py:293 get()] Processing flag requested for source version version1
INFO 2019/03/14 05:00:59 [middlewares.py:35 process_response()] 0.0190839767456 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2019/03/14 05:01:00 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/03/14 05:01:00 [middlewares.py:35 process_response()] 0.0119299888611 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/03/14 05:01:01 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2019/03/14 05:01:01 [middlewares.py:32 process_response()] 0.0213861465454 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2019/03/14 05:01:01 [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\", : \"5c8a184d549ed600016ec7d9\" }"}, - 409
.INFO 2019/03/14 05:01:02 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2019/03/14 05:01:02 [middlewares.py:35 process_response()] 0.0123989582062 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2019/03/14 05:01:03 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2019/03/14 05:01:03 [middlewares.py:35 process_response()] 0.0334711074829 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2019/03/14 05:01:04 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2019/03/14 05:01:04 [middlewares.py:35 process_response()] 0.0316030979156 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2019/03/14 05:01:06 [middlewares.py:22 process_request()] testABD8W 127.0.0.1 PUT /orgs/org1/sources/source0HR0R/
INFO 2019/03/14 05:01:06 [middlewares.py:32 process_response()] 0.0312938690186 sec PUT /orgs/org1/sources/source0HR0R/ : 400
ERROR 2019/03/14 05:01:06 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/source0HR0R/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/source0HR0R/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/03/14 05:01:07 [middlewares.py:22 process_request()] test2JHRG 127.0.0.1 PUT /orgs/org1/sources/sourceWXUJR/
INFO 2019/03/14 05:01:07 [middlewares.py:35 process_response()] 0.0712049007416 sec PUT /orgs/org1/sources/sourceWXUJR/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 232.002s

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_redis_1 ...
Stopping ocl-oa-rit_mongo_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_solr_1  ...
Removing ocl-oa-rit_redis_1 ...
Removing ocl-oa-rit_mongo_1 ...

Removing ocl-oa-rit_redis_1 ... done

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