[Bug 1487609] Re: FTBFS on wily

James Page james.page at ubuntu.com
Tue Sep 15 08:36:23 UTC 2015


Resolved with 2.4.0 upload.

** Changed in: swift (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to swift in Ubuntu.
https://bugs.launchpad.net/bugs/1487609

Title:
  FTBFS on wily

Status in swift package in Ubuntu:
  Fix Released

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swift/+bug/1487609/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list