FTBFS on wily

Bug #1487609 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swift (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

======================================================================
ERROR: test_run_server (test.unit.common.test_wsgi.TestWSGI)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/unit/common/test_wsgi.py", line 357, in test_run_server
    _wsgi.server.assert_called()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
    raise AttributeError(name)
AttributeError: assert_called

======================================================================
ERROR: test_run_server_conf_dir (test.unit.common.test_wsgi.TestWSGI)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/unit/common/test_wsgi.py", line 445, in test_run_server_conf_dir
    _wsgi.server.assert_called()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
    raise AttributeError(name)
AttributeError: assert_called

======================================================================
ERROR: test_run_server_debug (test.unit.common.test_wsgi.TestWSGI)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/unit/common/test_wsgi.py", line 496, in test_run_server_debug
    mock_server.assert_called()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
    raise AttributeError(name)
AttributeError: assert_called

======================================================================
ERROR: test_run_server_with_latest_eventlet (test.unit.common.test_wsgi.TestWSGI)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/unit/common/test_wsgi.py", line 400, in test_run_server_with_latest_eventlet
    _wsgi.server.assert_called()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
    raise AttributeError(name)
AttributeError: assert_called

======================================================================
ERROR: test_splice_to_wsockfd_blocks (test.unit.obj.test_diskfile.TestDiskFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/unit/obj/test_diskfile.py", line 2378, in test_splice_to_wsockfd_blocks
    _run_test()
  File "/«PKGBUILDDIR»/test/unit/obj/test_diskfile.py", line 2360, in _run_test
    mock_close.assert_called()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
    raise AttributeError(name)
AttributeError: assert_called

======================================================================
ERROR: test_delete_actual_object_quotes (test.unit.obj.test_expirer.TestObjectExpirer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/unit/obj/test_expirer.py", line 754, in test_delete_actual_object_quotes
    x.swift.make_request.assert_called_once()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
    raise AttributeError(name)
AttributeError: assert_called_once

======================================================================
ERROR: test_global_conf_callback_does_nothing (test.unit.obj.test_server.TestObjectController)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/unit/obj/test_server.py", line 4023, in test_global_conf_callback_does_nothing
    object_server.global_conf_callback(preloaded_app_conf, global_conf)
  File "/«PKGBUILDDIR»/swift/obj/server.py", line 811, in global_conf_callback
    multiprocessing.BoundedSemaphore(replication_concurrency)]
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 204, in BoundedSemaphore
    return BoundedSemaphore(value)
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 130, in __init__
    SemLock.__init__(self, SEMAPHORE, value, value)
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
    sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied

======================================================================
FAIL: test_http_connect (test.unit.common.test_db_replicator.TestDBReplicator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/«PKGBUILDDIR»/test/unit/common/test_db_replicator.py", line 1160, in test_http_connect
    replicator.logger))
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 969, in assert_has_calls
    ), cause)
  File "/usr/lib/python2.7/dist-packages/six.py", line 692, in raise_from
    raise value
AssertionError: Calls not found.
Expected: call('node', 'partition', 'test_db_replicator', <swift.common.utils.LogAdapter object at 0x7f05c4b3c050>)
Actual: [call('node', 'partition', 'test_db_replicator', <swift.common.utils.LogAdapter object at 0x7f05c4b3c050>)]
>> raise AssertionError("Calls not found.\nExpected: call('node', 'partition', 'test_db_replicator', <swift.common.utils.LogAdapter object at 0x7f05c4b3c050>)\nActual: [call('node', 'partition', 'test_db_replicator', <swift.common.utils.LogAdapter object at 0x7f05c4b3c050>)]",)

----------------------------------------------------------------------
Ran 3308 tests in 80.005s

FAILED (errors=7, failures=1)

Revision history for this message
James Page (james-page) wrote :

Resolved with 2.4.0 upload.

Changed in swift (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.