Build: #129 failed Changes by Rafal Korytkowski

Build result summary

Details

Completed
Duration
10 minutes
Labels
None
Revision
a320c5a55d578a6505a5d15400c41801ab5f97a1 a320c5a55d578a6505a5d15400c41801ab5f97a1
Fixed in
#130 (Changes by Rafal Korytkowski)
No failed test found. A possible compilation error occurred.

Responsible

Code commits

Author Commit Message Commit date
Rafal Korytkowski Rafal Korytkowski a320c5a55d578a6505a5d15400c41801ab5f97a1 a320c5a55d578a6505a5d15400c41801ab5f97a1 DATIM-Metadata-Project#156 Refresh active counts of concepts and mappings within repos and repo versions

Error summary for Run integration tests

The job generated some errors, drill down into the full build log for more details.

INFO 2018/02/01 09:53:55 [middlewares.py:32 process_response()] 0.0286169052124 sec POST /orgs/org1/sources/sourceV4J4P/concepts/ : 400
ERROR 2018/02/01 09:53:55 [log.py:278 log()] {"names": ["A short name cannot be marked as locale preferred: grip (locale: en, preferred: yes)"]}, - 400
.INFO 2018/02/01 09:53:56 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /user/sources/sourceGUDA0/mappings/
INFO 2018/02/01 09:53:56 [middlewares.py:35 process_response()] 0.0519840717316 sec POST /user/sources/sourceGUDA0/mappings/ : 201
INFO 2018/02/01 09:53:56 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /user/sources/sourceGUDA0/mappings/
INFO 2018/02/01 09:53:56 [middlewares.py:32 process_response()] 0.0259518623352 sec POST /user/sources/sourceGUDA0/mappings/ : 400
ERROR 2018/02/01 09:53:56 [log.py:278 log()] {"errors": "There can be only one mapping between two concepts"}, - 400
.INFO 2018/02/01 09:53:58 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /user/sources/source34DSJ/mappings/
INFO 2018/02/01 09:53:58 [middlewares.py:32 process_response()] 0.0350642204285 sec POST /user/sources/source34DSJ/mappings/ : 400
ERROR 2018/02/01 09:53:58 [log.py:278 log()] {"errors": "map_type : Invalid mapping type"}, - 400
.INFO 2018/02/01 09:53:59 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2018/02/01 09:53:59 [middlewares.py:32 process_response()] 0.0174369812012 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2018/02/01 09:53:59 [log.py:278 log()] {"detail": "This 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 and try again."}, - 400
.INFO 2018/02/01 09:54:00 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2018/02/01 09:54:00 [middlewares.py:32 process_response()] 0.0120279788971 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2018/02/01 09:54:00 [log.py:278 log()] {"detail": "This 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 and try again."}, - 400
.INFO 2018/02/01 09:54:02 [middlewares.py:22 process_request()] user1 127.0.0.1 DELETE /orgs/org1/sources/source/
INFO 2018/02/01 09:54:02 [middlewares.py:32 process_response()] 0.0124509334564 sec DELETE /orgs/org1/sources/source/ : 400
ERROR 2018/02/01 09:54:02 [log.py:278 log()] {"detail": "This 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 and try again."}, - 400
.INFO 2018/02/01 09:54:03 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/versionnotexist/export/
INFO 2018/02/01 09:54:03 [middlewares.py:32 process_response()] 0.0106852054596 sec GET /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2018/02/01 09:54:03 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2018/02/01 09:54:04 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/export/
DEBUG 2018/02/01 09:54:04 [views.py:417 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2018/02/01 09:54:04 [views.py:417 get()] Export requested for source version version1 - Requesting AWS-S3 key
DEBUG 2018/02/01 09:54:04 [views.py:430 get()]    Key does not exist for source version version1
DEBUG 2018/02/01 09:54:04 [views.py:430 get()]    Key does not exist for source version version1
INFO 2018/02/01 09:54:04 [middlewares.py:35 process_response()] 0.0141999721527 sec GET /orgs/org1/sources/source/version1/export/ : 204
.INFO 2018/02/01 09:54:05 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/HEAD/export/
DEBUG 2018/02/01 09:54:05 [views.py:417 get()] Export requested for source version HEAD - Requesting AWS-S3 key
DEBUG 2018/02/01 09:54:05 [views.py:417 get()] Export requested for source version HEAD - Requesting AWS-S3 key
INFO 2018/02/01 09:54:05 [middlewares.py:32 process_response()] 0.0140371322632 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2018/02/01 09:54:06 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2018/02/01 09:54:06 [views.py:467 post()] Source Export requested for version version1 (post)
DEBUG 2018/02/01 09:54:06 [views.py:467 post()] Source Export requested for version version1 (post)
INFO 2018/02/01 09:54:07 [middlewares.py:35 process_response()] 0.0297360420227 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2018/02/01 09:54:08 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2018/02/01 09:54:08 [views.py:467 post()] Source Export requested for version version1 (post)
DEBUG 2018/02/01 09:54:08 [views.py:467 post()] Source Export requested for version version1 (post)
INFO 2018/02/01 09:54:08 [middlewares.py:35 process_response()] 0.0331540107727 sec POST /orgs/org1/sources/source/version1/export/ : 202
INFO 2018/02/01 09:54:08 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2018/02/01 09:54:08 [views.py:467 post()] Source Export requested for version version1 (post)
DEBUG 2018/02/01 09:54:08 [views.py:467 post()] Source Export requested for version version1 (post)
INFO 2018/02/01 09:54:08 [middlewares.py:32 process_response()] 0.0297720432281 sec POST /orgs/org1/sources/source/version1/export/ : 409
.INFO 2018/02/01 09:54:09 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
INFO 2018/02/01 09:54:09 [middlewares.py:32 process_response()] 0.0105788707733 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
ERROR 2018/02/01 09:54:09 [log.py:278 log()] {"detail": "Not found"}, - 404
.INFO 2018/02/01 09:54:10 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
INFO 2018/02/01 09:54:10 [middlewares.py:32 process_response()] 0.0122621059418 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.INFO 2018/02/01 09:54:11 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2018/02/01 09:54:11 [views.py:467 post()] Source Export requested for version version1 (post)
DEBUG 2018/02/01 09:54:11 [views.py:467 post()] Source Export requested for version version1 (post)
INFO 2018/02/01 09:54:11 [middlewares.py:35 process_response()] 0.0328509807587 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2018/02/01 09:54:12 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/export/
DEBUG 2018/02/01 09:54:13 [views.py:467 post()] Source Export requested for version version1 (post)
DEBUG 2018/02/01 09:54:13 [views.py:467 post()] Source Export requested for version version1 (post)
INFO 2018/02/01 09:54:13 [middlewares.py:35 process_response()] 0.033805847168 sec POST /orgs/org1/sources/source/version1/export/ : 202
.INFO 2018/02/01 09:54:14 [middlewares.py:22 process_request()]  127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2018/02/01 09:54:14 [middlewares.py:35 process_response()] 0.0242428779602 sec POST /orgs/org1/sources/source/versions/ : 201
FINFO 2018/02/01 09:54:15 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2018/02/01 09:54:15 [views.py:376 get()] Processing flag requested for source version version1
DEBUG 2018/02/01 09:54:15 [views.py:376 get()] Processing flag requested for source version version1
INFO 2018/02/01 09:54:15 [middlewares.py:35 process_response()] 0.0164558887482 sec GET /orgs/org1/sources/source/version1/processing/ : 200
INFO 2018/02/01 09:54:15 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/version1/processing/
DEBUG 2018/02/01 09:54:15 [views.py:386 post()] Processing flag clearance requested for source version version1
DEBUG 2018/02/01 09:54:15 [views.py:386 post()] Processing flag clearance requested for source version version1
INFO 2018/02/01 09:54:15 [middlewares.py:35 process_response()] 0.0239410400391 sec POST /orgs/org1/sources/source/version1/processing/ : 200
INFO 2018/02/01 09:54:15 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/version1/processing/
DEBUG 2018/02/01 09:54:15 [views.py:376 get()] Processing flag requested for source version version1
DEBUG 2018/02/01 09:54:15 [views.py:376 get()] Processing flag requested for source version version1
INFO 2018/02/01 09:54:15 [middlewares.py:35 process_response()] 0.0128529071808 sec GET /orgs/org1/sources/source/version1/processing/ : 200
.INFO 2018/02/01 09:54:16 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2018/02/01 09:54:16 [middlewares.py:35 process_response()] 0.0132610797882 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2018/02/01 09:54:17 [middlewares.py:22 process_request()] user1 127.0.0.1 POST /orgs/org1/sources/source/versions/
INFO 2018/02/01 09:54:17 [middlewares.py:32 process_response()] 0.0199580192566 sec POST /orgs/org1/sources/source/versions/ : 409
ERROR 2018/02/01 09:54:17 [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\", : \"5a732a19e8af2e0001d62825\" }"}, - 409
.INFO 2018/02/01 09:54:19 [middlewares.py:22 process_request()] user1 127.0.0.1 GET /orgs/org1/sources/source/latest/
INFO 2018/02/01 09:54:19 [middlewares.py:35 process_response()] 0.014132976532 sec GET /orgs/org1/sources/source/latest/ : 200
.INFO 2018/02/01 09:54:20 [middlewares.py:22 process_request()] user1 127.0.0.1 PUT /orgs/org1/sources/source12/
INFO 2018/02/01 09:54:20 [middlewares.py:35 process_response()] 0.0291459560394 sec PUT /orgs/org1/sources/source12/ : 200
..INFO 2018/02/01 09:54:22 [middlewares.py:22 process_request()] test6Q3ZK 127.0.0.1 PUT /orgs/org1/sources/source8J2XA/
INFO 2018/02/01 09:54:22 [middlewares.py:32 process_response()] 0.0373828411102 sec PUT /orgs/org1/sources/source8J2XA/ : 400
ERROR 2018/02/01 09:54:22 [log.py:278 log()] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/source8J2XA/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/source8J2XA/concepts/concept2/", "errors": {"names": ["Concept fully specified name must be unique for same source and locale: Non Unique (locale: en, preferred: no)"]}}]}, - 400
.INFO 2018/02/01 09:54:23 [middlewares.py:22 process_request()] testDSB0U 127.0.0.1 PUT /orgs/org1/sources/sourceYXFR1/
INFO 2018/02/01 09:54:23 [middlewares.py:35 process_response()] 0.0345430374146 sec PUT /orgs/org1/sources/sourceYXFR1/ : 200
.
======================================================================
FAIL: test_source_version_concept_seeding (integration_tests.tests.all.SourceVersionExportViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/moto/core/models.py", line 71, in wrapper
    result = func(*args, **kwargs)
  File "/code/integration_tests/tests/all.py", line 2097, in test_source_version_concept_seeding
    self.assertEquals(source_version.active_concepts, 2)
AssertionError: 0 != 2

----------------------------------------------------------------------
Ran 150 tests in 340.080s

FAILED (failures=1, 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 ocloarit_solr_1 ...
Stopping ocloarit_redis_1 ...
Stopping ocloarit_mongo_1 ...

Stopping ocloarit_redis_1 ... done

Stopping ocloarit_solr_1 ... done

Stopping ocloarit_mongo_1 ... done
Removing ocloarit_solr_1 ...
Removing ocloarit_redis_1 ...
Removing ocloarit_mongo_1 ...

Removing ocloarit_solr_1 ... done

Removing ocloarit_redis_1 ... done

Removing ocloarit_mongo_1 ... done
Removing network ocloarit_default
Removing volume ocloarit_mongo_data
Removing volume ocloarit_solr_data