Build: #291 was successful

Job: Run deprecated integration tests was successful

Job result summary

Completed
Duration
5 minutes
Revision
c280dfe1ee723b34d09381edee101d6e68a5a216 c280dfe1ee723b34d09381edee101d6e68a5a216
First to pass since
#290 (Code changes detected – )

Error summary

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

ERROR 2020/01/09 05:37:05 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2020/01/09 05:37: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/09 05:37: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/09 05:37:06 [middlewares.py:32 process_response()] 0.0432460308075 sec DELETE /orgs/org1/ : 400
ERROR 2020/01/09 05:37: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/09 05:37:07 [middlewares.py:22 process_request()] superuser 127.0.0.1 DELETE /orgs/org1/
INFO 2020/01/09 05:37:07 [middlewares.py:35 process_response()] 0.0401818752289 sec DELETE /orgs/org1/ : 200
.INFO 2020/01/09 05:37:09 [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/09 05:37:09 [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/09 05:37:09 [middlewares.py:32 process_response()] 0.0186488628387 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/01/09 05:37: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. Mappings: /orgs/org1/sources/source2/mappings/5e170255e265250001a775c5/1/;"}, - 400
.INFO 2020/01/09 05:37:10 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/01/09 05:37:10 [middlewares.py:32 process_response()] 0.0178120136261 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/01/09 05:37:10 [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/09 05:37:12 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2020/01/09 05:37:12 [middlewares.py:32 process_response()] 0.0177628993988 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2020/01/09 05:37:12 [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/09 05:37:13 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/01/09 05:37:13 [middlewares.py:32 process_response()] 0.0199699401855 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/01/09 05:37:13 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/01/09 05:37:14 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/09 05:37:14 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/01/09 05:37:14 [views.py:365 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2020/01/09 05:37:14 [views.py:377 get()]    Key does not exist for source version version1
DEBUG 2020/01/09 05:37:14 [views.py:377 get()]    Key does not exist for source version version1
INFO 2020/01/09 05:37:14 [middlewares.py:35 process_response()] 0.0283210277557 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2020/01/09 05:37:15 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2020/01/09 05:37:15 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2020/01/09 05:37:15 [views.py:365 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2020/01/09 05:37:15 [middlewares.py:32 process_response()] 0.0152411460876 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/01/09 05:37:17 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/09 05:37:17 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/09 05:37:17 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/09 05:37:17 [middlewares.py:35 process_response()] 0.0365879535675 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/01/09 05:37:18 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/09 05:37:18 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/09 05:37:18 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/09 05:37:18 [middlewares.py:35 process_response()] 0.0285160541534 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2020/01/09 05:37:18 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/09 05:37:18 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/09 05:37:18 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/09 05:37:18 [middlewares.py:32 process_response()] 0.0244338512421 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2020/01/09 05:37:19 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2020/01/09 05:37:19 [middlewares.py:32 process_response()] 0.00981903076172 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2020/01/09 05:37:19 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2020/01/09 05:37:20 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2020/01/09 05:37:20 [middlewares.py:32 process_response()] 0.0141000747681 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2020/01/09 05:37:22 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/09 05:37:22 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/09 05:37:22 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/09 05:37:22 [middlewares.py:35 process_response()] 0.0349578857422 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/01/09 05:37:23 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2020/01/09 05:37:23 [views.py:414 post()] Source Export requested for version version1 (post)
DEBUG 2020/01/09 05:37:23 [views.py:414 post()] Source Export requested for version version1 (post)
INFO 2020/01/09 05:37:23 [middlewares.py:35 process_response()] 0.0309879779816 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2020/01/09 05:37:24 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/01/09 05:37:24 [middlewares.py:35 process_response()] 0.0826988220215 sec POST /orgs/org1/sources/source/versions/ : 201
.INFO 2020/01/09 05:37:26 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/01/09 05:37:26 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/01/09 05:37:26 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/01/09 05:37:26 [middlewares.py:35 process_response()] 0.0141959190369 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/01/09 05:37:26 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2020/01/09 05:37:26 [views.py:334 post()] Processing flag clearance requested for source version version1
DEBUG 2020/01/09 05:37:26 [views.py:334 post()] Processing flag clearance requested for source version version1
INFO 2020/01/09 05:37:26 [middlewares.py:35 process_response()] 0.0239219665527 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2020/01/09 05:37:26 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2020/01/09 05:37:26 [views.py:324 get()] Processing flag requested for source version version1
DEBUG 2020/01/09 05:37:26 [views.py:324 get()] Processing flag requested for source version version1
INFO 2020/01/09 05:37:26 [middlewares.py:35 process_response()] 0.0130639076233 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2020/01/09 05:37:27 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/01/09 05:37:27 [middlewares.py:35 process_response()] 0.0159120559692 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/01/09 05:37:28 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2020/01/09 05:37:28 [middlewares.py:32 process_response()] 0.0253629684448 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2020/01/09 05:37:28 [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\", : \"5e170268e265250001a77b04\" }"}, - 409
.INFO 2020/01/09 05:37:30 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2020/01/09 05:37:30 [middlewares.py:35 process_response()] 0.0151529312134 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2020/01/09 05:37:31 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true
INFO 2020/01/09 05:37:31 [middlewares.py:35 process_response()] 0.0394558906555 sec GET /orgs/org1/sources/source12/?includeConcepts=true&includeMappings=true : 200
.INFO 2020/01/09 05:37:32 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2020/01/09 05:37:32 [middlewares.py:35 process_response()] 0.0532119274139 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2020/01/09 05:37:35 [middlewares.py:22 process_request()] testILSTU 127.0.0.1 PUT /orgs/org1/sources/sourceGI76X/
INFO 2020/01/09 05:37:35 [middlewares.py:32 process_response()] 0.0291299819946 sec PUT /orgs/org1/sources/sourceGI76X/ : 400
ERROR 2020/01/09 05:37:35 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/sourceGI76X/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/sourceGI76X/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/09 05:37:36 [middlewares.py:22 process_request()] test8RZOJ 127.0.0.1 PUT /orgs/org1/sources/source9H4R1/
INFO 2020/01/09 05:37:36 [middlewares.py:35 process_response()] 0.0583407878876 sec PUT /orgs/org1/sources/source9H4R1/ : 200
.
----------------------------------------------------------------------
Ran 154 tests in 265.089s

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_redis_1 ... done

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