potential dead loop in tempest/lib/common/ssh.py
Bug #1572323 reported by
Jerry Zhao
This bug report is a duplicate of:
Bug #1571492: gate-tempest-dsvm-ironic-pxe_ssh-dib failing : test_baremetal_server_ops ssh timeout.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
it is possible that channel.closed can not be observed in some cases, especially the case in my CI environment.
https:/
If ready[0] is not empty and the channel never gets closed, exec_command will hang until OS_TEST_TIMEOUT, even though all the return status and output have been received.
Propose to close the channel actively when channel_timeout is reached and break from the loop.
To post a comment you must log in.