ssh_shell_prologue causing netcat/nc to fail

Bug #1530177 reported by alex kang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Expired
Undecided
Unassigned

Bug Description

RemoteClient def exec_command() using CONF.validation.ssh_shell_prologue to set trap to capture error/exception.
However it causes netcat/nc to fail.

It is better for def exec_command() to allow user to skip adding prologue programmatically.

alex kang (akang)
Changed in tempest:
assignee: nobody → alex kang (akang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/262571

Changed in tempest:
status: New → In Progress
Revision history for this message
Jordan Pittier (jordan-pittier) wrote :

Can you provide a link to a Gate failure ? How come we didn't see this before ?

Revision history for this message
alex kang (akang) wrote :

The failure is on load-balance v1 testing which is neutron advanced service and not in tempest repo any more.

The exec_command() is used to call the load-balancer server to start up its http service using the netcat/nc program.
with the prologue (set -o pipefail), the first http request will be accepted, but failed at subsequence calls.
Since only the first call PASS, the tests failed as the load balancer not able to process any call.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/284546

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

Change abandoned by Alex Kang (<email address hidden>) on branch: master
Review: https://review.openstack.org/284546
Reason: should be Change-Id: 262571

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Alex Kang (<email address hidden>) on branch: master
Review: https://review.openstack.org/262571
Reason: not worth the process

Changed in tempest:
assignee: alex kang (akang) → nobody
status: In Progress → New
Changed in tempest:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tempest because there has been no activity for 60 days.]

Changed in tempest:
status: Incomplete → Expired
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.