Build: #321 failed

Job: Run deprecated integration tests was successful

Job result summary

Completed
Duration
6 minutes
Agent
yue.openmrs.org
Revision
5aadbb8366cfbf8ef8740722d032829638cdeb97 5aadbb8366cfbf8ef8740722d032829638cdeb97
First to pass since
#318 (Manual run by Rafal Korytkowski)

Error summary

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

ERROR 2020/05/06 01:23:48 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2020/05/06 01:23:49 [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 2020/05/06 01:23:49 [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 2020/05/06 01:23:49 [middlewares.py:32 process_response()] 0.0290279388428 sec DELETE /orgs/org1/ : 400
ERROR 2020/05/06 01:23: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. Concepts in collections: /orgs/org2/collections/collection/HEAD/;"}, - 400
.INFO 2020/05/06 01:23:51 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2020/05/06 01:23:51 [middlewares.py:35 process_response()] 0.0354151725769 sec DELETE /orgs/org1/ : 200
.INFO 2020/05/06 01:23:52 [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 2020/05/06 01:23:52 [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 2020/05/06 01:23:52 [middlewares.py:32 process_response()] 0.0375881195068 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/05/06 01:23: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: /orgs/org1/sources/source2/mappings/5eb249e8ca53fd000133f024/1/;"}, - 400
.INFO 2020/05/06 01:23:54 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/05/06 01:23:54 [middlewares.py:32 process_response()] 0.0243599414825 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/05/06 01:23:54 [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 2020/05/06 01:23:55 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/05/06 01:23:55 [middlewares.py:32 process_response()] 0.0199179649353 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/05/06 01:23:55 [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 2020/05/06 01:23:57 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/05/06 01:23:57 [middlewares.py:32 process_response()] 0.0127789974213 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/05/06 01:23:57 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/05/06 01:23:58 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/06 01:23:58 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/05/06 01:23:58 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/05/06 01:23:58 [views.py:377 get()]    Key does not exist for source version version1
DEBUG 2020/05/06 01:23:58 [views.py:377 get()]    Key does not exist for source version version1
INFO 2020/05/06 01:23:58 [middlewares.py:35 process_response()] 0.0311439037323 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2020/05/06 01:23:59 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2020/05/06 01:23:59 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2020/05/06 01:23:59 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2020/05/06 01:23:59 [middlewares.py:32 process_response()] 0.0279679298401 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/05/06 01:24:00 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/06 01:24:00 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/06 01:24:00 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/06 01:24:00 [middlewares.py:35 process_response()] 0.0367197990417 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/05/06 01:24:02 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/06 01:24:02 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/06 01:24:02 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/06 01:24:02 [middlewares.py:35 process_response()] 0.0346670150757 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2020/05/06 01:24:02 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/06 01:24:02 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/06 01:24:02 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/06 01:24:02 [middlewares.py:32 process_response()] 0.0270419120789 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2020/05/06 01:24:03 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/05/06 01:24:03 [middlewares.py:32 process_response()] 0.0105381011963 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/05/06 01:24:03 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/05/06 01:24:04 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2020/05/06 01:24:04 [middlewares.py:32 process_response()] 0.0145020484924 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/05/06 01:24:05 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/06 01:24:05 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/06 01:24:05 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/06 01:24:05 [middlewares.py:35 process_response()] 0.0366859436035 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/05/06 01:24:07 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/05/06 01:24:07 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/05/06 01:24:07 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/05/06 01:24:07 [middlewares.py:35 process_response()] 0.0700240135193 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/05/06 01:24:08 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/05/06 01:24:08 [middlewares.py:35 process_response()] 0.0687711238861 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2020/05/06 01:24:09 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/05/06 01:24:09 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/05/06 01:24:09 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/05/06 01:24:09 [middlewares.py:35 process_response()] 0.116578102112 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/05/06 01:24:09 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2020/05/06 01:24:09 [views.py:334 post()] Processing flag clearance requested for source version version1
DEBUG 2020/05/06 01:24:09 [views.py:334 post()] Processing flag clearance requested for source version version1
INFO 2020/05/06 01:24:09 [middlewares.py:35 process_response()] 0.0268549919128 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/05/06 01:24:09 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/05/06 01:24:09 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/05/06 01:24:09 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/05/06 01:24:09 [middlewares.py:35 process_response()] 0.0142910480499 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2020/05/06 01:24:11 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/05/06 01:24:11 [middlewares.py:35 process_response()] 0.0203289985657 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/05/06 01:24:12 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/05/06 01:24:12 [middlewares.py:32 process_response()] 0.0366230010986 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2020/05/06 01:24:12 [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\", : \"5eb249fcca53fd000133f563\" }"}, - 409
.INFO 2020/05/06 01:24:14 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/05/06 01:24:14 [middlewares.py:35 process_response()] 0.0243010520935 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/05/06 01:24:15 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2020/05/06 01:24:15 [middlewares.py:35 process_response()] 0.0495319366455 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2020/05/06 01:24:16 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2020/05/06 01:24:16 [middlewares.py:35 process_response()] 0.0399038791656 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2020/05/06 01:24:18 [middlewares.py:22 process_request()] testT949B 127.0.0.1 PUT /orgs/org1/sources/source1HKF0/
INFO 2020/05/06 01:24:18 [middlewares.py:32 process_response()] 0.0416111946106 sec PUT /orgs/org1/sources/source1HKF0/ : 400
ERROR 2020/05/06 01:24:18 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/source1HKF0/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/source1HKF0/concepts/concept2/", "errors": {"names": ["Concept fully specified name must be unique for same source and locale: Non Unique (locale: en, preferred: no)"]}}]}, - 400
.INFO 2020/05/06 01:24:20 [middlewares.py:22 process_request()] testZLDSG 127.0.0.1 PUT /orgs/org1/sources/source0GNPA/
INFO 2020/05/06 01:24:20 [middlewares.py:35 process_response()] 0.0571300983429 sec PUT /orgs/org1/sources/source0GNPA/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 274.805s

OK (skipped=7)
+ docker-compose down -v
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_redis_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