Build: #84 failed Changes by Rafal Korytkowski

Build result summary

Details

Completed
Duration
13 minutes
Labels
None
Revision
d5b15efc9a8e92c19707ffd9b6f477b8bcf4e09c d5b15efc9a8e92c19707ffd9b6f477b8bcf4e09c
Fixed in
#85 (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 d5b15efc9a8e92c19707ffd9b6f477b8bcf4e09c d5b15efc9a8e92c19707ffd9b6f477b8bcf4e09c Merge branch 'master' of https://github.com/OpenConceptLab/oclapi into #102
Rafal Korytkowski Rafal Korytkowski c47b9b3684ec6b98bdb6b8823548b38f6b0c94dd m c47b9b3684ec6b98bdb6b8823548b38f6b0c94dd DATIM-Metadata-Project#102 Follow up fixes
Rafal Korytkowski Rafal Korytkowski db8f0d8a2650ec7a45f48eddce7dbabb5b152704 m db8f0d8a2650ec7a45f48eddce7dbabb5b152704 Merge branch 'master' of https://github.com/OpenConceptLab/oclapi into #102
Rafal Korytkowski Rafal Korytkowski 1cb3fc45b838c14e8e22505a45e12d6e5026a47d m 1cb3fc45b838c14e8e22505a45e12d6e5026a47d DATIM-Metadata-Project#102 Remodel relationship between source version, concept and mappings

Error summary for Run integration tests

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

[middlewares.py:32 -     process_response() ] 0.0196259021759 sec GET /orgs/org1/sources/source/HEAD/export/ : 405
.[middlewares.py:22 -      process_request() ]  127.0.0.1 POST /orgs/org1/sources/source/version1/export/
[views.py:427 -                 post() ] Source Export requested for version version1 (post)
[middlewares.py:35 -     process_response() ] 0.104370832443 sec POST /orgs/org1/sources/source/version1/export/ : 202
.[middlewares.py:22 -      process_request() ]  127.0.0.1 POST /orgs/org1/sources/source/versionnotexist/export/
[middlewares.py:32 -     process_response() ] 0.0174689292908 sec POST /orgs/org1/sources/source/versionnotexist/export/ : 404
[middlewares.py:59 -             log_body() ] {"detail": "Not found"}, - 404
.[middlewares.py:22 -      process_request() ]  127.0.0.1 POST /orgs/org1/sources/source/version1/export/
[views.py:427 -                 post() ] Source Export requested for version version1 (post)
[views.py:431 -                 post() ]    Source Version is processing
[middlewares.py:32 -     process_response() ] 0.0277030467987 sec POST /orgs/org1/sources/source/version1/export/ : 409
.[middlewares.py:22 -      process_request() ]  127.0.0.1 POST /orgs/org1/sources/source/HEAD/export/
[middlewares.py:32 -     process_response() ] 0.0372581481934 sec POST /orgs/org1/sources/source/HEAD/export/ : 405
.[middlewares.py:22 -      process_request() ]  127.0.0.1 POST /orgs/org1/sources/source/version1/export/
[views.py:427 -                 post() ] Source Export requested for version version1 (post)
[middlewares.py:35 -     process_response() ] 0.0661489963531 sec POST /orgs/org1/sources/source/version1/export/ : 202
.[middlewares.py:22 -      process_request() ]  127.0.0.1 POST /orgs/org1/sources/source/version1/export/
[views.py:427 -                 post() ] Source Export requested for version version1 (post)
[middlewares.py:35 -     process_response() ] 0.0616919994354 sec POST /orgs/org1/sources/source/version1/export/ : 202
.[middlewares.py:22 -      process_request() ]  127.0.0.1 POST /orgs/org1/sources/source/versions/
[middlewares.py:35 -     process_response() ] 0.101202011108 sec POST /orgs/org1/sources/source/versions/ : 201
.[middlewares.py:22 -      process_request() ]  127.0.0.1 GET /orgs/org1/sources/source/latest/
[middlewares.py:35 -     process_response() ] 0.0204730033875 sec GET /orgs/org1/sources/source/latest/ : 200
.[middlewares.py:22 -      process_request() ]  127.0.0.1 POST /orgs/org1/sources/source/versions/
[middlewares.py:32 -     process_response() ] 0.0504639148712 sec POST /orgs/org1/sources/source/versions/ : 409
[middlewares.py:59 -             log_body() ] {"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\", : \"59d5fc54fbad94000199bb1b\" }"}, - 409
.[middlewares.py:22 -      process_request() ]  127.0.0.1 GET /orgs/org1/sources/source/latest/
[middlewares.py:35 -     process_response() ] 0.0331628322601 sec GET /orgs/org1/sources/source/latest/ : 200
.[middlewares.py:22 -      process_request() ]  127.0.0.1 PUT /orgs/org1/sources/source12/
[middlewares.py:35 -     process_response() ] 0.0573930740356 sec PUT /orgs/org1/sources/source12/ : 200
.[middlewares.py:22 -      process_request() ]  127.0.0.1 PUT /orgs/org1/sources/sourceXDLDL/
[middlewares.py:32 -     process_response() ] 0.0524179935455 sec PUT /orgs/org1/sources/sourceXDLDL/ : 400
[middlewares.py:59 -             log_body() ] {"failed_concept_validations": [{"mnemonic": "concept1", "url": "/orgs/org1/sources/sourceXDLDL/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/sourceXDLDL/concepts/concept2/", "errors": {"names": ["Concept fully specified name must be unique for same source and locale: Non Unique (locale: en, preferred: no)"]}}]}, - 400
.[middlewares.py:22 -      process_request() ]  127.0.0.1 PUT /orgs/org1/sources/source3Z3S1/
[middlewares.py:35 -     process_response() ] 0.0711090564728 sec PUT /orgs/org1/sources/source3Z3S1/ : 200
.
======================================================================
ERROR: test_import_job_for_change_in_data (integration_tests.tests.bulk_import_validation.MappingImporterTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/bulk_import_validation.py", line 206, in test_import_job_for_change_in_data
    importer.import_mappings(total=1)
  File "/code/mappings/importer.py", line 126, in import_mappings
    self.stdout.write(str_log)
  File "/code/integration_tests/models.py", line 5, in write
    self.value = self.value + line
TypeError: coercing to Unicode: need string or buffer, tuple found

======================================================================
ERROR: test_import_job_for_one_invalid_record (integration_tests.tests.bulk_import_validation.MappingImporterTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/bulk_import_validation.py", line 183, in test_import_job_for_one_invalid_record
    importer.import_mappings(total=1)
  File "/code/mappings/importer.py", line 126, in import_mappings
    self.stdout.write(str_log)
  File "/code/integration_tests/models.py", line 5, in write
    self.value = self.value + line
TypeError: cannot concatenate 'str' and 'tuple' objects

======================================================================
ERROR: test_import_job_for_one_record (integration_tests.tests.bulk_import_validation.MappingImporterTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/bulk_import_validation.py", line 168, in test_import_job_for_one_record
    importer.import_mappings(total=1)
  File "/code/mappings/importer.py", line 126, in import_mappings
    self.stdout.write(str_log)
  File "/code/integration_tests/models.py", line 5, in write
    self.value = self.value + line
TypeError: coercing to Unicode: need string or buffer, tuple found

======================================================================
ERROR: test_import_valid_invalid_mappings (integration_tests.tests.bulk_import_validation.MappingImporterTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/bulk_import_validation.py", line 241, in test_import_valid_invalid_mappings
    importer.import_mappings(total=5)
  File "/code/mappings/importer.py", line 126, in import_mappings
    self.stdout.write(str_log)
  File "/code/integration_tests/models.py", line 5, in write
    self.value = self.value + line
TypeError: coercing to Unicode: need string or buffer, tuple found

======================================================================
ERROR: test_update_mapping_with_invalid_record (integration_tests.tests.bulk_import_validation.MappingImporterTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/bulk_import_validation.py", line 232, in test_update_mapping_with_invalid_record
    importer.import_mappings(total=1)
  File "/code/mappings/importer.py", line 126, in import_mappings
    self.stdout.write(str_log)
  File "/code/integration_tests/models.py", line 5, in write
    self.value = self.value + line
TypeError: cannot concatenate 'str' and 'tuple' objects

----------------------------------------------------------------------
Ran 147 tests in 466.020s

FAILED (errors=5, 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_redis_1 ... done

Removing ocloarit_solr_1 ... done

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