Build: #296 was successful

Job: Run deprecated integration tests was successful

Job result summary

Completed
Duration
4 minutes
Revision
20a2a3557e282fa30e1e4ad1a1078607074cdf23 20a2a3557e282fa30e1e4ad1a1078607074cdf23
First to pass since
#294 (Manual run by Rafal Korytkowski)

Error summary

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

ERROR 2020/01/10 10:40:04 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2020/01/10 10:40:06 [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/01/10 10:40:06 [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/01/10 10:40:06 [middlewares.py:32 process_response()] 0.0522449016571 sec DELETE /orgs/org1/ : 400
ERROR 2020/01/10 10:40:06 [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/01/10 10:40:07 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2020/01/10 10:40:07 [middlewares.py:35 process_response()] 0.0404210090637 sec DELETE /orgs/org1/ : 200
.INFO 2020/01/10 10:40:08 [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/01/10 10:40:08 [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/01/10 10:40:08 [middlewares.py:32 process_response()] 0.0468690395355 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/01/10 10:40:08 [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/5e189ad8b19d7800016e4f03/1/;"}, - 400
.INFO 2020/01/10 10:40:09 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/01/10 10:40:09 [middlewares.py:32 process_response()] 0.0181179046631 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/01/10 10:40:09 [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/01/10 10:40:11 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/01/10 10:40:11 [middlewares.py:32 process_response()] 0.0192899703979 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/01/10 10:40:11 [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/01/10 10:40:12 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/01/10 10:40:12 [middlewares.py:32 process_response()] 0.0107438564301 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/01/10 10:40:12 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/01/10 10:40:13 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/10 10:40:13 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/01/10 10:40:13 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/01/10 10:40:13 [views.py:377 get()]    Key does not exist for source version version1
DEBUG 2020/01/10 10:40:13 [views.py:377 get()]    Key does not exist for source version version1
INFO 2020/01/10 10:40:13 [middlewares.py:35 process_response()] 0.0439178943634 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2020/01/10 10:40:14 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2020/01/10 10:40:14 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2020/01/10 10:40:14 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2020/01/10 10:40:14 [middlewares.py:32 process_response()] 0.0176360607147 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/01/10 10:40:15 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/10 10:40:15 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/10 10:40:15 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/10 10:40:15 [middlewares.py:35 process_response()] 0.0343379974365 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/01/10 10:40:17 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/10 10:40:17 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/10 10:40:17 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/10 10:40:17 [middlewares.py:35 process_response()] 0.0321118831635 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2020/01/10 10:40:17 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/10 10:40:17 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/10 10:40:17 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/10 10:40:17 [middlewares.py:32 process_response()] 0.0269210338593 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2020/01/10 10:40:18 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/01/10 10:40:18 [middlewares.py:32 process_response()] 0.0098249912262 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/01/10 10:40:18 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/01/10 10:40:19 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2020/01/10 10:40:19 [middlewares.py:32 process_response()] 0.0136678218842 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/01/10 10:40:20 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/10 10:40:21 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/10 10:40:21 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/10 10:40:21 [middlewares.py:35 process_response()] 0.0583698749542 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/01/10 10:40:22 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/10 10:40:22 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/10 10:40:22 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/10 10:40:22 [middlewares.py:35 process_response()] 0.0599870681763 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/01/10 10:40:23 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/01/10 10:40:23 [middlewares.py:35 process_response()] 0.0653390884399 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2020/01/10 10:40:24 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/01/10 10:40:24 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/01/10 10:40:24 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/01/10 10:40:24 [middlewares.py:35 process_response()] 0.0139050483704 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/01/10 10:40:24 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2020/01/10 10:40:24 [views.py:334 post()] Processing flag clearance requested for source version version1
DEBUG 2020/01/10 10:40:24 [views.py:334 post()] Processing flag clearance requested for source version version1
INFO 2020/01/10 10:40:24 [middlewares.py:35 process_response()] 0.0236608982086 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/01/10 10:40:24 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/01/10 10:40:24 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/01/10 10:40:24 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/01/10 10:40:24 [middlewares.py:35 process_response()] 0.012540102005 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2020/01/10 10:40:25 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/01/10 10:40:25 [middlewares.py:35 process_response()] 0.0134768486023 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/01/10 10:40:26 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/01/10 10:40:26 [middlewares.py:32 process_response()] 0.0246040821075 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2020/01/10 10:40:26 [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\", : \"5e189aeab19d7800016e5442\" }"}, - 409
.INFO 2020/01/10 10:40:27 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/01/10 10:40:27 [middlewares.py:35 process_response()] 0.0123059749603 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/01/10 10:40:29 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2020/01/10 10:40:29 [middlewares.py:35 process_response()] 0.0729310512543 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2020/01/10 10:40:30 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2020/01/10 10:40:30 [middlewares.py:35 process_response()] 0.0390961170197 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2020/01/10 10:40:32 [middlewares.py:22 process_request()] testDKXLM 127.0.0.1 PUT /orgs/org1/sources/source4I1H2/
INFO 2020/01/10 10:40:32 [middlewares.py:32 process_response()] 0.0306029319763 sec PUT /orgs/org1/sources/source4I1H2/ : 400
ERROR 2020/01/10 10:40:32 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/source4I1H2/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/source4I1H2/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/01/10 10:40:33 [middlewares.py:22 process_request()] testPV80P 127.0.0.1 PUT /orgs/org1/sources/sourcePTP4X/
INFO 2020/01/10 10:40:33 [middlewares.py:35 process_response()] 0.059149980545 sec PUT /orgs/org1/sources/sourcePTP4X/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 258.023s

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_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