Build: #294 failed

Job: Run deprecated integration tests failed

Job result summary

Completed
Duration
5 minutes
Revision
befffd737a8e6656e4f3147815c2301bd50f0188 befffd737a8e6656e4f3147815c2301bd50f0188
Fixed in
#296 (Manual run by Rafal Korytkowski)
No failed test found. A possible compilation error occurred.

Error summary

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

======================================================================
ERROR: test_mappings_update_positive (integration_tests.tests.all.MappingViewsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/all.py", line 1461, in test_mappings_update_positive
    reverse('mapping-detail', kwargs=kwargs), data, content_type=MULTIPART_CONTENT)
  File "/code/integration_tests/tests/all.py", line 785, in put
    response = self.my_put(path, data=data, content_type=content_type, **extra)
  File "/code/integration_tests/tests/all.py", line 805, in my_put
    return self.request(**r)
  File "/usr/local/lib/python2.7/site-packages/django/test/client.py", line 428, in request
    six.reraise(*exc_info)
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 327, in dispatch
    response = self.handle_exception(exc)
  File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 324, in dispatch
    response = handler(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/rest_framework/generics.py", line 410, in put
    return self.update(request, *args, **kwargs)
  File "/code/mappings/views.py", line 121, in update
    self.object = self.get_object()
  File "/code/oclapi/views.py", line 78, in get_object
    queryset = self.filter_queryset(self.get_queryset())
  File "/code/mappings/views.py", line 43, in get_queryset
    owner_is_self, owner_in_org = False
TypeError: 'bool' object is not iterable

======================================================================
ERROR: test_mappings_update_positive__org_owner (integration_tests.tests.all.MappingViewsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/all.py", line 1509, in test_mappings_update_positive__org_owner
    reverse('mapping-detail', kwargs=kwargs), data, content_type=MULTIPART_CONTENT)
  File "/code/integration_tests/tests/all.py", line 785, in put
    response = self.my_put(path, data=data, content_type=content_type, **extra)
  File "/code/integration_tests/tests/all.py", line 805, in my_put
    return self.request(**r)
  File "/usr/local/lib/python2.7/site-packages/django/test/client.py", line 428, in request
    six.reraise(*exc_info)
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 327, in dispatch
    response = self.handle_exception(exc)
  File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 324, in dispatch
    response = handler(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/rest_framework/generics.py", line 410, in put
    return self.update(request, *args, **kwargs)
  File "/code/mappings/views.py", line 121, in update
    self.object = self.get_object()
  File "/code/oclapi/views.py", line 78, in get_object
    queryset = self.filter_queryset(self.get_queryset())
  File "/code/mappings/views.py", line 43, in get_queryset
    owner_is_self, owner_in_org = False
TypeError: 'bool' object is not iterable

======================================================================
ERROR: test_mappings_update_positive__user_owner (integration_tests.tests.all.MappingViewsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/integration_tests/tests/all.py", line 1486, in test_mappings_update_positive__user_owner
    reverse('mapping-detail', kwargs=kwargs), data, content_type=MULTIPART_CONTENT)
  File "/code/integration_tests/tests/all.py", line 785, in put
    response = self.my_put(path, data=data, content_type=content_type, **extra)
  File "/code/integration_tests/tests/all.py", line 805, in my_put
    return self.request(**r)
  File "/usr/local/lib/python2.7/site-packages/django/test/client.py", line 428, in request
    six.reraise(*exc_info)
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 327, in dispatch
    response = self.handle_exception(exc)
  File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 324, in dispatch
    response = handler(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/rest_framework/generics.py", line 410, in put
    return self.update(request, *args, **kwargs)
  File "/code/mappings/views.py", line 121, in update
    self.object = self.get_object()
  File "/code/oclapi/views.py", line 78, in get_object
    queryset = self.filter_queryset(self.get_queryset())
  File "/code/mappings/views.py", line 43, in get_queryset
    owner_is_self, owner_in_org = False
TypeError: 'bool' object is not iterable

----------------------------------------------------------------------
Ran 154 tests in 260.390s

FAILED (errors=10, skipped=7)
+ docker-compose down -v
Stopping ocl-oa-rit_redis_1 ...
Stopping ocl-oa-rit_solr_1  ...
Stopping ocl-oa-rit_mongo_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_redis_1 ...
Removing ocl-oa-rit_solr_1  ...
Removing ocl-oa-rit_mongo_1 ...

Removing ocl-oa-rit_mongo_1 ... done

Removing ocl-oa-rit_redis_1 ... done

Removing ocl-oa-rit_solr_1  ... done
Removing network ocl-oa-rit_default
Removing volume ocl-oa-rit_mongo_data
Removing volume ocl-oa-rit_solr_data