Functional Tests Fail on Python 2.7.13

Bug #1706806 reported by underscoreer
This bug report is a duplicate of:  Bug #1744824: functional tests broken under py27. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
New
Undecided
Unassigned

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:

Revision history for this message
Gleb Zimin (gzimin) wrote :

Did you download glance from master branch?

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

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.)

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.