← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1461750] Re: two unit test cases not pass for kilo version

 

** Changed in: nova
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1461750

Title:
  two unit test cases not pass for kilo version

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  1. environment & version
  redhat 7
  nova-2015.1.0

  2. log
  ======================================================================
  FAIL: nova.tests.unit.test_versions.VersionTestCase.test_version_string_with_package_is_good
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    pythonlogging:''
    stderr
    stdout

  Traceback (most recent call last):
    File "nova/tests/unit/test_versions.py", line 33, in test_version_string_with_package_is_good
      version.version_string_with_package())
    File "/home/jenkins/workspace/nova_TECS2.0_unittest/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/jenkins/workspace/nova_TECS2.0_unittest/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: '5.5.5.5-g9ec3421' != '2015.1.0-g9ec3421'

  
  ======================================================================
  FAIL: nova.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_app_using_ipv6_and_ssl
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2015-06-04 11:57:50,550 INFO [nova.wsgi] fake_ssl listening on ::1:55722
  2015-06-04 11:57:50,556 INFO [nova.fake_ssl.wsgi.server] (28339) wsgi starting up on https://::1:55722/
  2015-06-04 11:57:50,576 INFO [nova.fake_ssl.wsgi.server] ::1 "GET / HTTP/1.1" status: 200 len: 155 time: 0.0004590
  2015-06-04 11:57:50,577 INFO [nova.wsgi] Stopping WSGI server.
  }}}

  Traceback (most recent call last):
    File "nova/tests/unit/test_wsgi.py", line 335, in test_app_using_ipv6_and_ssl
      server.wait()
    File "nova/wsgi.py", line 270, in wait
      self._pool.waitall()
    File "/home/jenkins/workspace/nova_TECS2.0_unittest/.venv/lib/python2.7/site-packages/eventlet/greenpool.py", line 120, in waitall
      self.no_coros_running.wait()
    File "/home/jenkins/workspace/nova_TECS2.0_unittest/.venv/lib/python2.7/site-packages/eventlet/event.py", line 121, in wait
      return hubs.get_hub().switch()
    File "/home/jenkins/workspace/nova_TECS2.0_unittest/.venv/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
      return self.greenlet.switch()
    File "/home/jenkins/workspace/nova_TECS2.0_unittest/.venv/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 346, in run
      self.wait(sleep_time)
    File "/home/jenkins/workspace/nova_TECS2.0_unittest/.venv/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 85, in wait
      presult = self.do_poll(seconds)
    File "/home/jenkins/workspace/nova_TECS2.0_unittest/.venv/lib/python2.7/site-packages/eventlet/hubs/epolls.py", line 62, in do_poll
      return self.poll.poll(seconds)
    File "/home/jenkins/workspace/nova_TECS2.0_unittest/.venv/lib/python2.7/site-packages/fixtures/_fixtures/timeout.py", line 52, in signal_handler
      raise TimeoutException()
  fixtures._fixtures.timeout.TimeoutException

  3. Reproduce steps:
  1) virtual environment install
  2) pip install for requirements.txt and test-requirements.txt
  3) ./run_tests.sh

  Expected result: all cases passed
  Actual result: two cases failed

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


References