yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81760
[Bug 1850800] Re: UDP port forwarding test is failing often
Reviewed: https://review.opendev.org/699213
Committed: https://git.openstack.org/cgit/openstack/neutron-tempest-plugin/commit/?id=bd0f3712e25413e6c5b1ed5c35ef6e1361d922a6
Submitter: Zuul
Branch: master
commit bd0f3712e25413e6c5b1ed5c35ef6e1361d922a6
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date: Mon Dec 16 14:13:41 2019 +0000
Fix intermittent port_forwarding test failures
This test was failing from time to time on checking UDP port
forwarding.
The reason for that was that sometimes (for unknown for me reason)
nc server spawned on guest vm wasn't run properly. Due to that there was
no response from this nc server and test was failing.
This patch changes that to use wait_until_true() helper and wait
60 seconds to received msg. Every time it tries to receive message,
first it tries also to spawn nc server on guest vm.
This patch also reverts commit
526f53722fc51eb1f9bdac957495518cbeae5e10.
as port_forwarding test don't need to be marked as unstable anymore.
Closes-Bug: #1850800
Change-Id: I95d5ba02b2851a07e6e1a8a2bedfdce7d20f32fc
** 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/1850800
Title:
UDP port forwarding test is failing often
Status in neutron:
Fix Released
Bug description:
Example of failure: https://5ff584e2dd4971153a4c-
657b7e35529908ead783d281edf8093c.ssl.cf5.rackcdn.com/691640/1/check
/neutron-tempest-plugin-scenario-
openvswitch/7532e66/testr_results.html.gz
Traceback (most recent call last):
File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/test_port_forwardings.py", line 116, in test_port_forwarding_to_2_servers
self._test_udp_port_forwarding(servers)
File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/test_port_forwardings.py", line 101, in _test_udp_port_forwarding
constants.PROTO_NAME_UDP))
File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/testtools/testcase.py", line 417, in assertIn
self.assertThat(haystack, Contains(needle), message)
File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 'tempest-server-2-326024201-UDP-test' not in ''
Logstash query:
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22line%20101%2C%20in%20_test_udp_port_forwarding%5C%22
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1850800/+subscriptions
References