Unit test failure when buildnig debian package for Mitaka b2

Bug #1537044 reported by Thomas Goirand
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Invalid
High
Thomas Goirand

Bug Description

Hi,

I have 3 unit test failures when building the Glance Mitaka b2 package, as per below. Please help me to fix them.

======================================================================
FAIL: glance.tests.functional.test_reload.TestReload.test_reload
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: traceback-1: {{{
Traceback (most recent call last):
  File "glance/tests/functional/test_reload.py", line 50, in tearDown
    self.stop_servers()
  File "glance/tests/functional/__init__.py", line 899, in stop_servers
    self.stop_server(self.scrubber_daemon, 'Scrubber daemon')
  File "glance/tests/functional/__init__.py", line 884, in stop_server
    server.stop()
  File "glance/tests/functional/__init__.py", line 257, in stop
    raise Exception('why is this being called? %s' % self.server_name)
Exception: why is this being called? scrubber
}}}

Traceback (most recent call last):
  File "glance/tests/functional/test_reload.py", line 113, in test_reload
    self.start_servers(fork_socket=False, **vars(self))
  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 774, in start_with_retry
    launch_msg = self.wait_for_servers([server], expect_launch)
  File "glance/tests/functional/__init__.py", line 866, in wait_for_servers
    execute(cmd, raise_error=False, expect_exit=False)
  File "glance/tests/utils.py", line 315, in execute
    env=env)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

======================================================================
FAIL: glance.tests.functional.v1.test_multiprocessing.TestMultiprocessing.test_interrupt_avoids_respawn_storm
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "glance/tests/functional/v1/test_multiprocessing.py", line 61, in test_interrupt_avoids_respawn_storm
    children = self._get_children()
  File "glance/tests/functional/v1/test_multiprocessing.py", line 50, in _get_children
    children = process.get_children()
AttributeError: 'Process' object has no attribute 'get_children'

======================================================================
FAIL: glance.tests.unit.common.test_wsgi_ipv6.IPv6ServerTest.test_evnetlet_no_dnspython
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "glance/tests/unit/common/test_wsgi_ipv6.py", line 61, in test_evnetlet_no_dnspython
    self.assertEqual(0, rc)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to glance (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/271280

Ian Cordasco (icordasc)
Changed in glance:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Thomas Goirand (thomas-goirand)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (master)

Change abandoned by Thomas Goirand (<email address hidden>) on branch: master
Review: https://review.openstack.org/271280

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

Looks like this was fixed by a library version change and is no longer relevant.

Changed in glance:
status: Triaged → Invalid
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.