"KeepalivedManagerTestCase" tests failing during namespace deletion

Bug #1838793 reported by Rodolfo Alonso
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
High
Rodolfo Alonso

Bug Description

During the execution of those two test cases (test_keepalived_spawns_conflicting_pid_base_process,
test_keepalived_spawns_conflicting_pid_vrrp_subprocess), sometimes the namespace fixture fails during the deletion.

Logstash information: http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22fixtures._fixtures.timeout.TimeoutException%5C%22%20AND%20%20project%3A%5C%22openstack%2Fneutron%5C%22

Example: http://logs.openstack.org/50/670850/3/check/neutron-functional-python27/1d27dda/testr_results.html.gz

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Changed in neutron:
importance: Undecided → High
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/674820

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/674820
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=be7bb4d0f584a05d3e2725f1179ffaed6e8f449d
Submitter: Zuul
Branch: master

commit be7bb4d0f584a05d3e2725f1179ffaed6e8f449d
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Aug 5 15:03:27 2019 +0000

    Kill all processes running in a namespace before deletion

    In "NamespaceFixture", before deleting the namespace, this patch
    introduces a check to first kill all processes running on it.

    Closes-Bug: #1838793

    Change-Id: I27f3db33f2e7ab685523fd2d6922177d7c9cb71b

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

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

tags: added: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/718226

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

Reviewed: https://review.opendev.org/718226
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5af25c8591dc2042d9ee3df1379b8146a4bc8175
Submitter: Zuul
Branch: stable/stein

commit 5af25c8591dc2042d9ee3df1379b8146a4bc8175
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Aug 5 15:03:27 2019 +0000

    Kill all processes running in a namespace before deletion

    In "NamespaceFixture", before deleting the namespace, this patch
    introduces a check to first kill all processes running on it.

    Closes-Bug: #1838793

    Conflicts:
        neutron/privileged/agent/linux/ip_lib.py
        neutron/tests/functional/privileged/agent/linux/test_ip_lib.py

    Change-Id: I27f3db33f2e7ab685523fd2d6922177d7c9cb71b
    (cherry picked from commit be7bb4d0f584a05d3e2725f1179ffaed6e8f449d)

tags: added: in-stable-stein
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Changed in neutron:
status: Fix Released → Confirmed
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/754938

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

Reviewed: https://review.opendev.org/754938
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=996aa45e1363fca4b9ffec6bb3ab9c07e42ffc8e
Submitter: Zuul
Branch: master

commit 996aa45e1363fca4b9ffec6bb3ab9c07e42ffc8e
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Sep 30 14:20:23 2020 +0000

    Capture timeout exception when deleting NamespaceFixture

    Until the related bug is fixed, if the namespace created in a
    NamespaceFixture cannot be deleted due to a timeout exception,
    the exception will be dismissed and a warning message logged.

    The leftover namespace will not affect other test cases.

    Change-Id: Idb262024ca74aaa924525150e610642f493c5dc4
    Related-Bug: #1838793

tags: removed: neutron-proactive-backport-potential
Changed in neutron:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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