Tempest SSH client hang on `exec_command` if it produce many output

Bug #1615659 reported by Georgy Dyuldin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Georgy Dyuldin

Bug Description

Tempest SSH client hangs indefinitely on `exec_command` call, if command produce many output.

Steps to reproduce:

1. Create any server (instance) with ssh access
2. Run attached python script

Revision history for this message
Georgy Dyuldin (g-dyuldin) wrote :
Changed in tempest:
assignee: nobody → Georgy Dyuldin (g-dyuldin)
status: New → In Progress
Revision history for this message
Alexander Gubanov (ogubanov) wrote :
summary: - Tempest SSH client hang on `exec_command` if it produce more output
+ Tempest SSH client hang on `exec_command` if it produce many output
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/358610
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=bce51c53a0ab5c95d863955067e44bb309f5d1a1
Submitter: Jenkins
Branch: master

commit bce51c53a0ab5c95d863955067e44bb309f5d1a1
Author: Georgy Dyuldin <email address hidden>
Date: Mon Aug 22 15:28:46 2016 +0300

    Fix exec_command to hang indefinitely

    Execution `recv_exit_status` before reading from channel may cause it hang
    indefinitely.

    Change-Id: I24dd3802133509f250659582ffb7d7f759e80988
    Closes-Bug: #1615659

Changed in tempest:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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