[FT] ncat process do not provide information, if any, about the error during execution

Bug #1861221 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Rodolfo Alonso

Bug Description

Sometimes "ncat" do not start correctly. The test case exits with this exception:
RuntimeError: Process ['ncat', '0.0.0.0', '1234', '-l', '-k'] hasn't been spawned in 20 seconds

I could be very useful to retrieve the stderr and stdout pipes from the process, if any, to figure out why a simple process like ncat didn't start.

Logs:
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_58c/704376/5/check/neutron-functional/58c2e19/testr_results.html

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

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/705065
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=97773eaea6407eb12a0f1a2b8dbac24a71f3b7c6
Submitter: Zuul
Branch: master

commit 97773eaea6407eb12a0f1a2b8dbac24a71f3b7c6
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Jan 30 16:58:12 2020 +0000

    Increase log information when a RootHelperProcess fails

    If a RootHelperProcess does not start, add more information to the
    exception raised: the command return code, the stdout and the stderr.

    Change-Id: I229e926341c5e6c8b06f59950e3ae09864d0f1f6
    Closes-Bug: #1861221

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

This issue was fixed in the openstack/neutron 16.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/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/721695

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

Reviewed: https://review.opendev.org/721695
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=b1811dc1bb59661cc18c83812035dca69453f1da
Submitter: Zuul
Branch: stable/train

commit b1811dc1bb59661cc18c83812035dca69453f1da
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Jan 30 16:58:12 2020 +0000

    Increase log information when a RootHelperProcess fails

    If a RootHelperProcess does not start, add more information to the
    exception raised: the command return code, the stdout and the stderr.

    Change-Id: I229e926341c5e6c8b06f59950e3ae09864d0f1f6
    Closes-Bug: #1861221
    (cherry picked from commit 97773eaea6407eb12a0f1a2b8dbac24a71f3b7c6)

tags: added: in-stable-train
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.