[FT] Random errors in ``TestPluginWorker.test_start`` and ``test_restart_rpc_on_sighup_multiple_workers``

Bug #2100001 reported by Rodolfo Alonso
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Rodolfo Alonso
oslo.service
New
Undecided
Unassigned
Changed in neutron:
status: New → Confirmed
importance: Undecided → High
summary: - [FT] Random errors in ``test_server.TestPluginWorker.test_start``
+ [FT] Random errors in ``TestPluginWorker.test_start`` and
+ ``test_restart_rpc_on_sighup_multiple_workers``
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/942798

Changed in neutron:
status: Confirmed → In Progress
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

I think this issue could be caused because of a problem introduced in [1]. When testing with the previous patch, the problem cannot be reproduced.

When executing any of the two reported tests, the following error is thrown: https://paste.opendev.org/show/bidlcR3URwru2hoswJ6L/. I'm still investigating but I don't correlate the error in the config options and the ``oslo.service`` patch.

Until this error is fixed, I'm going to propose to mark these 2 tests an unstable.

[1]https://review.opendev.org/c/openstack/oslo.service/+/937010

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/942883

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/942883
Committed: https://opendev.org/openstack/neutron/commit/ec257eb74a64e3782c052f975942e17ba085eeb3
Submitter: "Zuul (22348)"
Branch: master

commit ec257eb74a64e3782c052f975942e17ba085eeb3
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Feb 27 09:01:19 2025 +0000

    [FT] Mark some ``TestNeutronServer`` tests as unstable

    This patch marks the following tests as unstable:
    * TestPluginWorker.test_start
    * TestRPCServer.test_restart_rpc_on_sighup_multiple_workers

    Related-Bug: #2100001
    Change-Id: I514e708d302af4a0370d5d5608d56f603c865b6f

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/942798
Committed: https://opendev.org/openstack/neutron/commit/c33b6f853456e4c8a4ef62edcaf10c65d4db95b1
Submitter: "Zuul (22348)"
Branch: master

commit c33b6f853456e4c8a4ef62edcaf10c65d4db95b1
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Feb 26 13:48:30 2025 +0000

    [FT] Refactor the ``TestNeutronServer._check_active`` method.

    The method ``TestNeutronServer._check_active`` now actively checks
    if the workers are ready after spawning them. The method ``_fake_start``
    writes a dummy value in a specific queue that is read by the mentioned
    method. If the number of values equals the number of workers, then
    is assumed that all workers are ready.

    Closes-Bug: #2100001
    Change-Id: I4f700db665784144d0e1ded1912a03ea49498ae4

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.config 9.8.0

This issue was fixed in the openstack/oslo.config 9.8.0 Flamingo release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 27.0.0.0b1

This issue was fixed in the openstack/neutron 27.0.0.0b1 Flamingo development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.config 9.4.1

This issue was fixed in the openstack/oslo.config 9.4.1 Caracal release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.