yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92707
[Bug 2033387] Re: [FT] "TestMaintenance.test_port_forwarding" randomly failing in call assertion
Reviewed: https://review.opendev.org/c/openstack/neutron/+/893028
Committed: https://opendev.org/openstack/neutron/commit/d9eb04478e0d9e8a7de3e1eee1138be05e64c9a4
Submitter: "Zuul (22348)"
Branch: master
commit d9eb04478e0d9e8a7de3e1eee1138be05e64c9a4
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Tue Aug 29 10:04:52 2023 +0000
[FT] Make explicit the "publish" call check in "test_port_forwarding"
The functional test "TestMaintenance.test_port_forwarding" is checking
the "registry.publish" call after calling
"delete_floatingip_port_forwarding". This patch makes this check
explicit for the expected call.
Closes-Bug: #2033387
Change-Id: I95074a0fe071e3ed8bf58c9210d63a2f30ee68a0
** 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/2033387
Title:
[FT] "TestMaintenance.test_port_forwarding" randomly failing in call
assertion
Status in neutron:
Fix Released
Bug description:
Test "neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.ovsdb.test_maintenance.TestMaintenance.test_port_forwarding" is randomly failing during the assertion of the "neutron_lib.callbacks.registry.publish" calls after calling "delete_floatingip_port_forwarding". The method is reporting two calls:
* call('port', 'provisioning_complete', 'L2', payload=<neutron_lib.callbacks.events.DBEventPayload object at 0x7fe9b9912f80>),
* call('port_forwarding', 'after_delete', <neutron.services.portforwarding.pf_plugin.PortForwardingPlugin object at 0x7fe9b3b15ab0>, payload=<neutron_lib.callbacks.events.DBEventPayload object at 0x7fe9b39a7400>)
The first one could be a delayed call from the same test. The proposal
is to specifically test the call we are expecting, that is
('port_forwarding', 'after_delete').
Logs:
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_8a2/periodic/opendev.org/openstack/neutron/master/neutron-
functional-with-pyroute2-master/8a279fa/testr_results.html
Snippet: https://paste.opendev.org/show/bNlr2vMbWn8i7JCuiF8a/
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2033387/+subscriptions
References