Build: #69 failed Changes by Rafal Korytkowski

Build result summary

Details

Completed
Duration
26 minutes
Labels
None
Revision
5c6f4b1a1418161025fdc808e9ab6c47b0d4e3f8 5c6f4b1a1418161025fdc808e9ab6c47b0d4e3f8
Failing since
#64 (Changes by Rafal Korytkowski)

No failed tests found, a possible compilation error occurred.

Responsible

Code commits

Author Commit Message Commit date
Rafal Korytkowski Rafal Korytkowski 5c6f4b1a1418161025fdc808e9ab6c47b0d4e3f8 5c6f4b1a1418161025fdc808e9ab6c47b0d4e3f8 DATIM-Metadata-Project#97 Fix source does not exist

Error summary for Run unit tests

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

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.
Creating network "ocloarut_default" with the default driver
Creating volume "ocloarut_mongo_data" with default driver
Creating volume "ocloarut_solr_data" with default driver
Pulling mongo (mongo:3.2.11)...
Pulling redis (redis:3.2.10)...
Pulling solr (openconceptlab/oclsolr@sha256:b7642f897e0409795398ee7622f84e45cca6c569e56f8d06a5789cc17b587e6b)...
Creating ocloarut_mongo_1
Creating ocloarut_solr_1
Creating ocloarut_redis_1
Pulling api (openconceptlab/oclapi@sha256:d25a44ef3c6228807ecda7e04a04ee675643424c2eab6e6ca836ac561cabf437)...
/usr/local/lib/python2.7/site-packages/django_mongodb_engine/creation.py:98: DeprecationWarning: 'descending_indexes', 'sparse_indexes' and 'index_together' are deprecated and will be ignored as of version 0.6. Use 'indexes' instead.
  "Use 'indexes' instead.", DeprecationWarning)

...................................................../usr/local/lib/python2.7/site-packages/django_mongodb_engine/query.py:16: DeprecationWarning: A() queries are deprecated as of 0.5 and will be removed in 0.6.
  warn("A() queries are deprecated as of 0.5 and will be removed in 0.6.", DeprecationWarning)

.........................................................................[middlewares.py:22 -      process_request() ]  127.0.0.1 GET /orgs/org1/sources/source/versions/
[middlewares.py:35 -     process_response() ] 0.068216085434 sec GET /orgs/org1/sources/source/versions/ : 200
.......................................................................sss..................................................................EE...
======================================================================
ERROR: test_create_mapping_positive (mappings.tests.MappingVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/mappings/tests.py", line 450, in test_create_mapping_positive
    mapping_version.full_clean()
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 953, in full_clean
    raise ValidationError(errors)
ValidationError: {'__all__': [u'Parent, map_type, from_concept, to_concept must be unique.']}

======================================================================
ERROR: test_mapping_access_changes_with_source (mappings.tests.MappingVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/mappings/tests.py", line 581, in test_mapping_access_changes_with_source
    mapping_version.full_clean()
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 953, in full_clean
    raise ValidationError(errors)
ValidationError: {'__all__': [u'Parent, map_type, from_concept, to_concept must be unique.']}

----------------------------------------------------------------------
Ran 271 tests in 562.353s

FAILED (errors=2, skipped=3)
+ 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 ocloarut_api_run_1 ...
Stopping ocloarut_mongo_1 ...
Stopping ocloarut_redis_1 ...
Stopping ocloarut_solr_1 ...

Stopping ocloarut_api_run_1 ... done

Stopping ocloarut_redis_1 ... done

Stopping ocloarut_solr_1 ... done

Stopping ocloarut_mongo_1 ... done
Removing ocloarut_api_run_1 ...
Removing ocloarut_mongo_1 ...
Removing ocloarut_redis_1 ...
Removing ocloarut_solr_1 ...

Removing ocloarut_mongo_1 ... done

Removing ocloarut_api_run_1 ... done

Removing ocloarut_solr_1 ... done

Removing ocloarut_redis_1 ... done
Removing network ocloarut_default
Removing volume ocloarut_mongo_data
Removing volume ocloarut_solr_data