← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1537044] Re: Unit test failure when buildnig debian package for Mitaka b2

 

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

** Changed in: glance
       Status: Triaged => Invalid

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

Title:
  Unit test failure when buildnig debian package for Mitaka b2

Status in Glance:
  Invalid

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

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


References