yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66830
[Bug 1708030] Re: netlink test_list_entries failing with mismatch
Reviewed: https://review.openstack.org/489831
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=b19fb20336b5aa2bc2bb2471574a490a9a37c1f8
Submitter: Jenkins
Branch: master
commit b19fb20336b5aa2bc2bb2471574a490a9a37c1f8
Author: Cuong Nguyen <cuongnv@xxxxxxxxxxxxxx>
Date: Wed Aug 2 09:31:33 2017 +0700
Fixes input for netlink-lib functional tests
Netlink-lib creates some conntrack entries to verify list_entries()
method. Each entry contains a zone_id, which might be duplicated with
some already existed entries in OS.
This patch proposes a simple verification to make sure entries created by
netlink-lib do not contain existed zone_id.
Change-Id: I4bce5041f82782cf9e51d99c605593afb2cf4fc8
Closes-Bug: #1708030
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1708030
Title:
netlink test_list_entries failing with mismatch
Status in neutron:
Fix Released
Bug description:
Spotted in check job that has no relationship to netlink.
Traceback (most recent call last):
File "neutron/tests/base.py", line 118, in func
return f(self, *args, **kwargs)
File "neutron/tests/functional/agent/linux/test_netlink_lib.py", line 69, in test_list_entries
self.assertEqual(expected, entries_list)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = ((4, 'icmp', 8, 0, '1.1.1.1', '2.2.2.2', 3333, 10),
(4, 'tcp', 1, 2, '1.1.1.1', '2.2.2.2', 10),
(4, 'udp', 4, 5, '1.1.1.1', '2.2.2.2', 10))
actual = ((4, 'icmp', 8, 0, '1.1.1.1', '2.2.2.2', 3333, 10),
(4, 'tcp', 1, 2, '1.1.1.1', '2.2.2.2', 10),
(4, 'udp', 4, 5, '1.1.1.1', '2.2.2.2', 10),
(4, 'tcp', 40364, 12345, '192.168.0.1', '192.168.0.2', 10),
(4, 'tcp', 59330, 12346, '192.168.0.1', '192.168.0.2', 10))
http://logs.openstack.org/29/489429/2/check/gate-neutron-dsvm-functional-ubuntu-xenial/3f2b494/testr_results.html.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1708030/+subscriptions
References