← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1706806] Re: Functional Tests Fail on Python 2.7.13

 

*** This bug is a duplicate of bug 1744824 ***
    https://bugs.launchpad.net/bugs/1744824

Couldn't reproduce this at the time it was filed, but it suddenly began
happening in the CI gate recently.  Fix is filed under the other bug.
(Marking this as a duplicate.)

** This bug has been marked a duplicate of bug 1744824
   functional tests broken under py27

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1706806

Title:
  Functional Tests Fail on Python 2.7.13

Status in Glance:
  New

Bug description:
  Working with a fresh clone of glance.

  When running `tox -e py27` with Python 2.7.13, many functional tests
  fail from timing out.

  When doing the same with 2.7.12, all tests pass.

  Example of a failing test:

  glance.tests.functional.test_cache_middleware.TestImageCacheManageSqlite.test_queue_and_prefetch
  ------------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "glance/tests/utils.py", line 181, in wrapped
          func(*a, **kwargs)
        File "glance/tests/functional/test_cache_middleware.py", line 926, in test_queue_and_prefetch
          self.start_servers(**self.__dict__.copy())
        File "glance/tests/functional/__init__.py", line 804, in start_servers
          self.start_with_retry(self.api_server, 'api_port', 3, **kwargs)
        File "glance/tests/functional/__init__.py", line 782, in start_with_retry
          self.assertTrue(launch_msg is None, launch_msg)
        File "/home/jacobestelle/glance/.tox/py27/lib/python2.7/site-packages/unittest2/case.py", line 702, in assertTrue
          raise self.failureException(msg)
      AssertionError: False is not true : Unexpected server launch status for: api,
      strace:

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1706806/+subscriptions


References