[Bug 1505632] Re: FTBFS due to failing unit tests

Launchpad Bug Tracker 1505632 at bugs.launchpad.net
Wed Oct 14 18:31:54 UTC 2015


This bug was fixed in the package python-glance-store - 0.9.1-1ubuntu1

---------------
python-glance-store (0.9.1-1ubuntu1) wily; urgency=medium

  * debian/patches/fix_swift_unit_tests.patch:
    - Cherry-pick fix from upstream for broken unit tests with swiftclient
      2.6.0 and higher (LP: #1505632).

 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak at canonical.com>  Wed, 14 Oct
2015 12:49:12 +0200

** Changed in: python-glance-store (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1505632

Title:
  FTBFS due to failing unit tests

Status in python-glance-store package in Ubuntu:
  Fix Released

Bug description:
  As per the wily test-rebuild [1], it seems that the latest python-
  glance-store is failing due to broken unit tests. Seems relatively
  easy to fix. Part of the log:

  ======================================================================
  FAIL: glance_store.tests.unit.test_swift_store.TestStoreAuthV1.test_read_acl_public
  glance_store.tests.unit.test_swift_store.TestStoreAuthV1.test_read_acl_public
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "glance_store/tests/unit/test_swift_store.py", line 950, in test_read_acl_public
      store.set_acls(loc, public=True, context=ctxt)
    File "glance_store/_drivers/swift/store.py", line 918, in set_acls
      connection.post_container(location.container, headers=headers)
    File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1471, in post_container
      response_dict=response_dict)
    File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1390, in _retry
      service_token=self.service_token, **kwargs)
  TypeError: fake_post_container() got an unexpected keyword argument 'service_token'
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout
  (...)

  [1] https://launchpadlibrarian.net/220829765/buildlog_ubuntu-wily-
  amd64.python-glance-store_0.9.1-1_BUILDING.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-glance-store/+bug/1505632/+subscriptions



More information about the Ubuntu-sponsors mailing list