[openstack-dev] [Neutron] new contributor failing tests - help!
marios@redhat.com
mandreou at redhat.com
Mon Apr 14 16:23:00 UTC 2014
Hi,
I am really stumped by a Jenkins failure for one of my reviews... @
https://review.openstack.org/#/c/59212/ if any kind soul has any
pointers/help I will be very grateful. The strange thing is that Jenkins
+1 this patchset (Apr 2) but subsequently failed as described below:
The failure is from
neutron.tests.unit.test_security_groups_rpc.SGServerRpcCallBackMixinTestCase
and specifically the 2 test cases
test_security_group_rules_for_devices_ipv6_ingress and
test_security_group_rules_for_devices_ipv6_egress
The failure is on the assertion at the end of the methods:
self.assertEqual(port_rpc['security_group_rules'],expected)
port_rpc['security_group_rules'] ---> {'ethertype': u'IPv6',
'direction': u'egress'
expected ---> {'ethertype': 'IPv6', 'direction':
'egress'
(you can see this in the logs, e.g.
http://logs.openstack.org/12/59212/14/check/gate-neutron-python27/57d89d5/console.html.gz)
I have *no* idea what in my code is causing this behaviour; if I just
grab this review, the tests pass fine. But if I rebase against master,
they fail, i.e.:
git review -d I71fb8c887963a122a5bd8cfdda800026c1cd3954
source .tox/py27/bin/activate
./run_tests.sh -d
neutron.tests.unit.test_security_groups_rpc.SGServerRpcCallBackMixinTestCase
...
Ran 7 tests in 1.926s
OK
...
git rebase master
./run_tests.sh -d
neutron.tests.unit.test_security_groups_rpc.SGServerRpcCallBackMixinTestCase
...
Ran 11 tests in 2.964s
FAILED (failures=2)
...
thanks for reading, if you came this far!
marios
More information about the OpenStack-dev
mailing list