yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39835
[Bug 1334798] Re: Gate test is masking failure details
** Changed in: neutron
Status: Opinion => Incomplete
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1334798
Title:
Gate test is masking failure details
Status in neutron:
Incomplete
Bug description:
Both the 2.6 and 2.7 gate tests are failing, console log indicating
two failures, but only showing one failure 'process-retcode'. When
looking at testr_results it shows a fail and only mentions:
ft1.12873:
neutron.tests.unit.services.vpn.service_drivers.test_ipsec.TestValidatorSelection.test_reference_driver_used_StringException
Here is 2.7 logs: http://logs.openstack.org/51/102351/4/check/gate-
neutron-python27/a757b36/
Upon future investigation, it was found that there was non-printable
characters in an oslo file. With manual testing, it shows the error:
$ python -m neutron.openstack.common.lockutils python -m unittest neutron.tests.unit.services.vpn.service_drivers.test_ipsec.TestValidatorSelection.test_reference_driver_used
F
======================================================================
FAIL: test_reference_driver_used (neutron.tests.unit.services.vpn.service_drivers.test_ipsec.TestValidatorSelection)
neutron.tests.unit.services.vpn.service_drivers.test_ipsec.TestValidatorSelection.test_reference_driver_used
----------------------------------------------------------------------
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
traceback-1: {{{
Traceback (most recent call last):
File "neutron/common/rpc.py", line 63, in cleanup
assert TRANSPORT is not None
AssertionError
}}}
Traceback (most recent call last):
File "neutron/tests/unit/services/vpn/service_drivers/test_ipsec.py", line 52, in setUp
super(TestValidatorSelection, self).setUp()
File "neutron/tests/base.py", line 188, in setUp
n_rpc.init(CONF)
File "neutron/common/rpc.py", line 56, in init
aliases=TRANSPORT_ALIASES)
File "/opt/stack/oslo.messaging/oslo/messaging/transport.py", line 185, in get_transport
invoke_kwds=kwargs)
File "/opt/stack/stevedore/stevedore/driver.py", line 45, in __init__
verify_requirements=verify_requirements,
File "/opt/stack/stevedore/stevedore/named.py", line 55, in __init__
verify_requirements)
File "/opt/stack/stevedore/stevedore/extension.py", line 170, in _load_plugins
self._on_load_failure_callback(self, ep, err)
File "/opt/stack/stevedore/stevedore/driver.py", line 50, in _default_on_load_failure
raise err
File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/impl_fake.py", line 48
SyntaxError: Non-ASCII character '\xc2' in file /opt/stack/oslo.messaging/oslo/messaging/_drivers/impl_fake.py on line 48, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
A fix will be done for the oslo error, but we need to investigate why
the gate test does not show any information on the error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1334798/+subscriptions
References