Build: #306 was successful

Job: Run deprecated integration tests was successful

Job result summary

Completed
Duration
5 minutes
Agent
yak.openmrs.org
Revision
61469946002b41f689dc27ac96fded18f94d61f0 61469946002b41f689dc27ac96fded18f94d61f0
First to pass since
#297 (Code changes detected – )

Error summary

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

ERROR 2020/02/04 10:11:56 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2020/02/04 10:11:57 [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/02/04 10:11:57 [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/02/04 10:11:57 [middlewares.py:32 process_response()] 0.0305910110474 sec DELETE /orgs/org1/ : 400
ERROR 2020/02/04 10:11:57 [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/02/04 10:11:58 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2020/02/04 10:11:58 [middlewares.py:35 process_response()] 0.0409460067749 sec DELETE /orgs/org1/ : 200
.INFO 2020/02/04 10:11:59 [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/02/04 10:11:59 [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/02/04 10:11:59 [middlewares.py:32 process_response()] 0.0206668376923 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/02/04 10:11:59 [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/5e3989bfc0a8990001886ca8/1/;"}, - 400
.INFO 2020/02/04 10:12:01 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/02/04 10:12:01 [middlewares.py:32 process_response()] 0.0235018730164 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/02/04 10:12:01 [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/02/04 10:12:02 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/02/04 10:12:02 [middlewares.py:32 process_response()] 0.0236208438873 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/02/04 10:12:02 [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/02/04 10:12:03 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/02/04 10:12:03 [middlewares.py:32 process_response()] 0.00915694236755 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/02/04 10:12:03 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/02/04 10:12:05 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2020/02/04 10:12:05 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/02/04 10:12:05 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/02/04 10:12:05 [views.py:377 get()]    Key does not exist for source version version1
DEBUG 2020/02/04 10:12:05 [views.py:377 get()]    Key does not exist for source version version1
INFO 2020/02/04 10:12:05 [middlewares.py:35 process_response()] 0.0276272296906 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2020/02/04 10:12:06 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2020/02/04 10:12:06 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2020/02/04 10:12:06 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2020/02/04 10:12:06 [middlewares.py:32 process_response()] 0.0125188827515 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/02/04 10:12:07 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/02/04 10:12:07 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/02/04 10:12:07 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/02/04 10:12:07 [middlewares.py:35 process_response()] 0.047837972641 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/02/04 10:12:08 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/02/04 10:12:08 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/02/04 10:12:08 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/02/04 10:12:08 [middlewares.py:35 process_response()] 0.0335550308228 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2020/02/04 10:12:08 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/02/04 10:12:08 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/02/04 10:12:08 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/02/04 10:12:08 [middlewares.py:32 process_response()] 0.0287880897522 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2020/02/04 10:12:10 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/02/04 10:12:10 [middlewares.py:32 process_response()] 0.00930714607239 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/02/04 10:12:10 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/02/04 10:12:11 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2020/02/04 10:12:11 [middlewares.py:32 process_response()] 0.0128681659698 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/02/04 10:12:13 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/02/04 10:12:13 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/02/04 10:12:13 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/02/04 10:12:13 [middlewares.py:35 process_response()] 0.0482110977173 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/02/04 10:12:14 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/02/04 10:12:14 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/02/04 10:12:14 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/02/04 10:12:14 [middlewares.py:35 process_response()] 0.0346758365631 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/02/04 10:12:15 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/02/04 10:12:15 [middlewares.py:35 process_response()] 0.0476450920105 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2020/02/04 10:12:16 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/02/04 10:12:16 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/02/04 10:12:16 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/02/04 10:12:16 [middlewares.py:35 process_response()] 0.014240026474 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/02/04 10:12:16 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2020/02/04 10:12:16 [views.py:334 post()] Processing flag clearance requested for source version version1
DEBUG 2020/02/04 10:12:16 [views.py:334 post()] Processing flag clearance requested for source version version1
INFO 2020/02/04 10:12:16 [middlewares.py:35 process_response()] 0.0233910083771 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/02/04 10:12:16 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/02/04 10:12:16 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/02/04 10:12:16 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/02/04 10:12:16 [middlewares.py:35 process_response()] 0.0126209259033 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2020/02/04 10:12:17 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/02/04 10:12:17 [middlewares.py:35 process_response()] 0.0152289867401 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/02/04 10:12:19 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/02/04 10:12:19 [middlewares.py:32 process_response()] 0.0209379196167 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2020/02/04 10:12:19 [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\", : \"5e3989d3c0a89900018871e7\" }"}, - 409
.INFO 2020/02/04 10:12:20 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/02/04 10:12:20 [middlewares.py:35 process_response()] 0.0146331787109 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/02/04 10:12:21 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2020/02/04 10:12:21 [middlewares.py:35 process_response()] 0.0369808673859 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2020/02/04 10:12:23 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2020/02/04 10:12:23 [middlewares.py:35 process_response()] 0.0425610542297 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2020/02/04 10:12:25 [middlewares.py:22 process_request()] test84O0A 127.0.0.1 PUT /orgs/org1/sources/sourceJCQE5/
INFO 2020/02/04 10:12:25 [middlewares.py:32 process_response()] 0.0271379947662 sec PUT /orgs/org1/sources/sourceJCQE5/ : 400
ERROR 2020/02/04 10:12:25 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/sourceJCQE5/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/sourceJCQE5/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/02/04 10:12:26 [middlewares.py:22 process_request()] testXUZC3 127.0.0.1 PUT /orgs/org1/sources/sourceO30D7/
INFO 2020/02/04 10:12:26 [middlewares.py:35 process_response()] 0.0478508472443 sec PUT /orgs/org1/sources/sourceO30D7/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 262.319s

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

Removing ocl-oa-rit_mongo_1 ... done

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