Build: #311 failed

Job: Run deprecated integration tests failed

Job result summary

Completed
Duration
5 minutes
Revision
37eefae539d222a05a663adbee52d0d87010da7e 37eefae539d222a05a663adbee52d0d87010da7e
Fixed in
#312 (Code changes detected)
No failed test found. A possible compilation error occurred.

Error summary

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

======================================================================
FAIL: test_preferred_name_within_collection_should_be_unique (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 474, in test_preferred_name_within_collection_should_be_unique
    self.assertEquals(response.status_code, status.HTTP_200_OK)
AssertionError: 405 != 200

======================================================================
FAIL: test_should_not_add_related_mapping_if_another_version_is_present_in_collection (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 674, in test_should_not_add_related_mapping_if_another_version_is_present_in_collection
    "expression": from_concept.get_latest_version.url}]))
AssertionError: '' != '[{"message": "Added the latest versions of concept to the collection. Future updates will not be added automatically.", "added": true, "expression": "/orgs/org1/sources/source0KTJ6/concepts/concept49YCH/5e62398a8b63dc00014be5c1/"}]'

======================================================================
FAIL: test_when_add_a_concept_reference_should_not_add_multiple_related_mappings_when_cascade_none (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 708, in test_when_add_a_concept_reference_should_not_add_multiple_related_mappings_when_cascade_none
    self.assertEquals(response.status_code, status.HTTP_200_OK)
AssertionError: 405 != 200

======================================================================
FAIL: test_when_add_a_concept_reference_should_not_add_multiple_related_mappings_when_cascade_not_specified (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 743, in test_when_add_a_concept_reference_should_not_add_multiple_related_mappings_when_cascade_not_specified
    self.assertEquals(response.status_code, status.HTTP_200_OK)
AssertionError: 405 != 200

======================================================================
FAIL: test_when_add_concept_as_a_reference_and_has_not_related_mappings_should_add_only_concept (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 591, in test_when_add_concept_as_a_reference_and_has_not_related_mappings_should_add_only_concept
    self.assertEquals(response.status_code, status.HTTP_200_OK)
AssertionError: 405 != 200

======================================================================
FAIL: test_when_add_concept_as_a_reference_should_add_multiple_related_mappings (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 560, in test_when_add_concept_as_a_reference_should_add_multiple_related_mappings
    self.assertEquals(response.status_code, status.HTTP_200_OK)
AssertionError: 405 != 200

======================================================================
FAIL: test_when_add_concept_as_a_reference_should_add_related_mappings (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 518, in test_when_add_concept_as_a_reference_should_add_related_mappings
    self.assertEquals(response.status_code, status.HTTP_200_OK)
AssertionError: 405 != 200

======================================================================
FAIL: test_when_add_concept_with_related_mappings_as_a_reference_and_same_mapping (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 622, in test_when_add_concept_with_related_mappings_as_a_reference_and_same_mapping
    self.assertEquals(response.status_code, status.HTTP_200_OK)
AssertionError: 405 != 200

======================================================================
FAIL: test_when_delete_concept_inside_of_collection_then_related_mappings_should_be_deleted (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 780, in test_when_delete_concept_inside_of_collection_then_related_mappings_should_be_deleted
    self.assertEquals(response.status_code, status.HTTP_200_OK)
AssertionError: 405 != 200

======================================================================
FAIL: test_when_delete_concept_inside_of_collection_then_related_mappings_should_not_be_deleted (integration_tests.tests.collection_reference_validation.AddCollectionReferenceAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/collection_reference_validation.py", line 817, in test_when_delete_concept_inside_of_collection_then_related_mappings_should_not_be_deleted
    self.assertEquals(response.status_code, status.HTTP_200_OK)
AssertionError: 405 != 200

======================================================================
FAIL: test_destroy_reference (integration_tests.tests.all.CollectionReferenceViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/all.py", line 3002, in test_destroy_reference
    self.assertEquals(response.status_code, 200)
AssertionError: 405 != 200

======================================================================
FAIL: test_update_source_head (integration_tests.tests.all.CollectionViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/all.py", line 1903, in test_update_source_head
    self.assertEquals(response.status_code, 200)
AssertionError: 405 != 200

----------------------------------------------------------------------
Ran 154 tests in 250.025s

FAILED (failures=27, errors=3, skipped=7)
+ docker-compose down -v
Stopping ocl-oa-rit_mongo_1 ...
Stopping ocl-oa-rit_solr_1  ...
Stopping ocl-oa-rit_redis_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_solr_1  ...
Removing ocl-oa-rit_redis_1 ...

Removing ocl-oa-rit_solr_1  ... done

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