← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1481043] [NEW] nova.tests.unit.cmd.test_baseproxy.BaseProxyTestCase.test_proxy randomly fails

 

Public bug reported:

http://logs.openstack.org/59/208559/1/check/gate-nova-
python27/61df9b7/console.html#_2015-08-03_17_31_39_585

2015-08-03 17:31:39.585 | {2} nova.tests.unit.cmd.test_baseproxy.BaseProxyTestCase.test_proxy [0.059688s] ... FAILED
2015-08-03 17:31:39.585 | 
2015-08-03 17:31:39.585 | Captured traceback:
2015-08-03 17:31:39.585 | ~~~~~~~~~~~~~~~~~~~
2015-08-03 17:31:39.586 |     Traceback (most recent call last):
2015-08-03 17:31:39.586 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
2015-08-03 17:31:39.586 |         return func(*args, **keywargs)
2015-08-03 17:31:39.586 |       File "nova/tests/unit/cmd/test_baseproxy.py", line 63, in test_proxy
2015-08-03 17:31:39.586 |         RequestHandlerClass=websocketproxy.NovaProxyRequestHandler)
2015-08-03 17:31:39.586 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 948, in assert_called_once_with
2015-08-03 17:31:39.586 |         return self.assert_called_with(*args, **kwargs)
2015-08-03 17:31:39.586 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 937, in assert_called_with
2015-08-03 17:31:39.586 |         six.raise_from(AssertionError(_error_message(cause)), cause)
2015-08-03 17:31:39.586 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/six.py", line 692, in raise_from
2015-08-03 17:31:39.587 |         raise value
2015-08-03 17:31:39.587 |     AssertionError: Expected call: __init__(RequestHandlerClass=<class 'nova.console.websocketproxy.NovaProxyRequestHandler'>, cert='self.pem', daemon=False, file_only=True, key=None, listen_host='0.0.0.0', listen_port='6080', record=False, source_is_ipv6=False, ssl_only=False, traffic=False, verbose=False, web='/usr/share/spice-html5')
2015-08-03 17:31:39.587 |     Actual call: __init__(RequestHandlerClass=<class 'nova.console.websocketproxy.NovaProxyRequestHandler'>, cert='self.pem', daemon=False, file_only=True, key=None, listen_host='0.0.0.0', listen_port='6080', record=False, source_is_ipv6=False, ssl_only=False, traffic=True, verbose=True, web='/usr/share/spice-html5')

Looks like this change introduced it:
https://review.openstack.org/#/c/204723/

It's also running with websockify 0.7.0 now.

** Affects: nova
     Importance: High
         Status: Confirmed


** Tags: console testing

** Tags added: console testing

** Changed in: nova
       Status: New => Confirmed

** Changed in: nova
   Importance: Undecided => High

-- 
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/1481043

Title:
  nova.tests.unit.cmd.test_baseproxy.BaseProxyTestCase.test_proxy
  randomly fails

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  http://logs.openstack.org/59/208559/1/check/gate-nova-
  python27/61df9b7/console.html#_2015-08-03_17_31_39_585

  2015-08-03 17:31:39.585 | {2} nova.tests.unit.cmd.test_baseproxy.BaseProxyTestCase.test_proxy [0.059688s] ... FAILED
  2015-08-03 17:31:39.585 | 
  2015-08-03 17:31:39.585 | Captured traceback:
  2015-08-03 17:31:39.585 | ~~~~~~~~~~~~~~~~~~~
  2015-08-03 17:31:39.586 |     Traceback (most recent call last):
  2015-08-03 17:31:39.586 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
  2015-08-03 17:31:39.586 |         return func(*args, **keywargs)
  2015-08-03 17:31:39.586 |       File "nova/tests/unit/cmd/test_baseproxy.py", line 63, in test_proxy
  2015-08-03 17:31:39.586 |         RequestHandlerClass=websocketproxy.NovaProxyRequestHandler)
  2015-08-03 17:31:39.586 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 948, in assert_called_once_with
  2015-08-03 17:31:39.586 |         return self.assert_called_with(*args, **kwargs)
  2015-08-03 17:31:39.586 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 937, in assert_called_with
  2015-08-03 17:31:39.586 |         six.raise_from(AssertionError(_error_message(cause)), cause)
  2015-08-03 17:31:39.586 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/six.py", line 692, in raise_from
  2015-08-03 17:31:39.587 |         raise value
  2015-08-03 17:31:39.587 |     AssertionError: Expected call: __init__(RequestHandlerClass=<class 'nova.console.websocketproxy.NovaProxyRequestHandler'>, cert='self.pem', daemon=False, file_only=True, key=None, listen_host='0.0.0.0', listen_port='6080', record=False, source_is_ipv6=False, ssl_only=False, traffic=False, verbose=False, web='/usr/share/spice-html5')
  2015-08-03 17:31:39.587 |     Actual call: __init__(RequestHandlerClass=<class 'nova.console.websocketproxy.NovaProxyRequestHandler'>, cert='self.pem', daemon=False, file_only=True, key=None, listen_host='0.0.0.0', listen_port='6080', record=False, source_is_ipv6=False, ssl_only=False, traffic=True, verbose=True, web='/usr/share/spice-html5')

  Looks like this change introduced it:
  https://review.openstack.org/#/c/204723/

  It's also running with websockify 0.7.0 now.

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


Follow ups