Build: #196 failed
Job: Run unit tests failed
Job result summary
- Completed
- Duration
- 6 minutes
- Revision
-
aca6b7bd627107f7d6d102cdbbef51b5553e4232
aca6b7bd627107f7d6d102cdbbef51b5553e4232 - Fixed in
- #197 (Code changes detected)
Error summary
The build generated some errors. See the full build log for more details.
======================================================================
ERROR: test_add_valid_concept_expression_to_collection_positive (collection.tests.CollectionVersionReferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 2272, in test_add_valid_concept_expression_to_collection_positive
CollectionVersion.persist_changes(version, col_reference=reference)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 293, in fill_data_for_reference
self.concepts.update([concept.id for concept in a_reference.concepts])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_add_valid_mapping_expression_to_collection_positive (collection.tests.CollectionVersionReferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 2311, in test_add_valid_mapping_expression_to_collection_positive
CollectionVersion.persist_changes(version, col_reference=reference)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 295, in fill_data_for_reference
self.mappings.update([mapping.id for mapping in a_reference.mappings])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_concept_fully_specified_name_within_collection_should_be_unique (collection.tests.CollectionVersionReferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 2193, in test_concept_fully_specified_name_within_collection_should_be_unique
collection.full_clean()
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 939, in full_clean
self.clean()
File "/code/collection/models.py", line 62, in clean
errors = self.add_references(self.expressions)
File "/code/collection/models.py", line 80, in add_references
error = CollectionVersion.persist_changes(object_version, **ref_hash)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 293, in fill_data_for_reference
self.concepts.update([concept.id for concept in a_reference.concepts])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_preferred_name_within_collection_should_be_unique (collection.tests.CollectionVersionReferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 2222, in test_preferred_name_within_collection_should_be_unique
collection.full_clean()
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 939, in full_clean
self.clean()
File "/code/collection/models.py", line 62, in clean
errors = self.add_references(self.expressions)
File "/code/collection/models.py", line 80, in add_references
error = CollectionVersion.persist_changes(object_version, **ref_hash)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 293, in fill_data_for_reference
self.concepts.update([concept.id for concept in a_reference.concepts])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_last_child_update (collection.tests.CollectionVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 1139, in test_last_child_update
collection.full_clean()
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 939, in full_clean
self.clean()
File "/code/collection/models.py", line 62, in clean
errors = self.add_references(self.expressions)
File "/code/collection/models.py", line 80, in add_references
error = CollectionVersion.persist_changes(object_version, **ref_hash)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 293, in fill_data_for_reference
self.concepts.update([concept.id for concept in a_reference.concepts])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_collections_version_ids (mappings.tests.MappingVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/mappings/tests.py", line 648, in test_collections_version_ids
collection.full_clean()
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 939, in full_clean
self.clean()
File "/code/collection/models.py", line 62, in clean
errors = self.add_references(self.expressions)
File "/code/collection/models.py", line 80, in add_references
error = CollectionVersion.persist_changes(object_version, **ref_hash)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 295, in fill_data_for_reference
self.mappings.update([mapping.id for mapping in a_reference.mappings])
AttributeError: 'list' object has no attribute 'update'
----------------------------------------------------------------------
Ran 276 tests in 279.008s
FAILED (errors=31, 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 ocl-oa-rut_celery_1 ...
Stopping ocl-oa-rut_mongo_1 ...
Stopping ocl-oa-rut_redis_1 ...
Stopping ocl-oa-rut_solr_1 ...
[4A[2K
Stopping ocl-oa-rut_celery_1 ... [32mdone[0m
[4B[2A[2K
Stopping ocl-oa-rut_redis_1 ... [32mdone[0m
[2B[3A[2K
Stopping ocl-oa-rut_mongo_1 ... [32mdone[0m
[3B[1A[2K
Stopping ocl-oa-rut_solr_1 ... [32mdone[0m
[1BRemoving ocl-oa-rut_celery_1 ...
Removing ocl-oa-rut_mongo_1 ...
Removing ocl-oa-rut_redis_1 ...
Removing ocl-oa-rut_solr_1 ...
[1A[2K
Removing ocl-oa-rut_solr_1 ... [32mdone[0m
[1B[3A[2K
Removing ocl-oa-rut_mongo_1 ... [32mdone[0m
[3B[4A[2K
Removing ocl-oa-rut_celery_1 ... [32mdone[0m
[4B[2A[2K
Removing ocl-oa-rut_redis_1 ... [32mdone[0m
[2BRemoving network ocl-oa-rut_default
Removing volume ocl-oa-rut_mongo_data
Removing volume ocl-oa-rut_solr_data
ERROR: test_add_valid_concept_expression_to_collection_positive (collection.tests.CollectionVersionReferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 2272, in test_add_valid_concept_expression_to_collection_positive
CollectionVersion.persist_changes(version, col_reference=reference)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 293, in fill_data_for_reference
self.concepts.update([concept.id for concept in a_reference.concepts])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_add_valid_mapping_expression_to_collection_positive (collection.tests.CollectionVersionReferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 2311, in test_add_valid_mapping_expression_to_collection_positive
CollectionVersion.persist_changes(version, col_reference=reference)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 295, in fill_data_for_reference
self.mappings.update([mapping.id for mapping in a_reference.mappings])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_concept_fully_specified_name_within_collection_should_be_unique (collection.tests.CollectionVersionReferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 2193, in test_concept_fully_specified_name_within_collection_should_be_unique
collection.full_clean()
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 939, in full_clean
self.clean()
File "/code/collection/models.py", line 62, in clean
errors = self.add_references(self.expressions)
File "/code/collection/models.py", line 80, in add_references
error = CollectionVersion.persist_changes(object_version, **ref_hash)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 293, in fill_data_for_reference
self.concepts.update([concept.id for concept in a_reference.concepts])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_preferred_name_within_collection_should_be_unique (collection.tests.CollectionVersionReferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 2222, in test_preferred_name_within_collection_should_be_unique
collection.full_clean()
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 939, in full_clean
self.clean()
File "/code/collection/models.py", line 62, in clean
errors = self.add_references(self.expressions)
File "/code/collection/models.py", line 80, in add_references
error = CollectionVersion.persist_changes(object_version, **ref_hash)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 293, in fill_data_for_reference
self.concepts.update([concept.id for concept in a_reference.concepts])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_last_child_update (collection.tests.CollectionVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/collection/tests.py", line 1139, in test_last_child_update
collection.full_clean()
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 939, in full_clean
self.clean()
File "/code/collection/models.py", line 62, in clean
errors = self.add_references(self.expressions)
File "/code/collection/models.py", line 80, in add_references
error = CollectionVersion.persist_changes(object_version, **ref_hash)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 293, in fill_data_for_reference
self.concepts.update([concept.id for concept in a_reference.concepts])
AttributeError: 'list' object has no attribute 'update'
======================================================================
ERROR: test_collections_version_ids (mappings.tests.MappingVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/mappings/tests.py", line 648, in test_collections_version_ids
collection.full_clean()
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 939, in full_clean
self.clean()
File "/code/collection/models.py", line 62, in clean
errors = self.add_references(self.expressions)
File "/code/collection/models.py", line 80, in add_references
error = CollectionVersion.persist_changes(object_version, **ref_hash)
File "/code/collection/models.py", line 383, in persist_changes
obj.fill_data_for_reference(col_reference)
File "/code/collection/models.py", line 295, in fill_data_for_reference
self.mappings.update([mapping.id for mapping in a_reference.mappings])
AttributeError: 'list' object has no attribute 'update'
----------------------------------------------------------------------
Ran 276 tests in 279.008s
FAILED (errors=31, 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 ocl-oa-rut_celery_1 ...
Stopping ocl-oa-rut_mongo_1 ...
Stopping ocl-oa-rut_redis_1 ...
Stopping ocl-oa-rut_solr_1 ...
[4A[2K
Stopping ocl-oa-rut_celery_1 ... [32mdone[0m
[4B[2A[2K
Stopping ocl-oa-rut_redis_1 ... [32mdone[0m
[2B[3A[2K
Stopping ocl-oa-rut_mongo_1 ... [32mdone[0m
[3B[1A[2K
Stopping ocl-oa-rut_solr_1 ... [32mdone[0m
[1BRemoving ocl-oa-rut_celery_1 ...
Removing ocl-oa-rut_mongo_1 ...
Removing ocl-oa-rut_redis_1 ...
Removing ocl-oa-rut_solr_1 ...
[1A[2K
Removing ocl-oa-rut_solr_1 ... [32mdone[0m
[1B[3A[2K
Removing ocl-oa-rut_mongo_1 ... [32mdone[0m
[3B[4A[2K
Removing ocl-oa-rut_celery_1 ... [32mdone[0m
[4B[2A[2K
Removing ocl-oa-rut_redis_1 ... [32mdone[0m
[2BRemoving network ocl-oa-rut_default
Removing volume ocl-oa-rut_mongo_data
Removing volume ocl-oa-rut_solr_data