Pass ctrl-q char to unlock it from telnet hung state #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There have been multiple runs that have failed in the cleanup stage while connecting to the console via telnet.
The connection to the device is tried for ~15 minutes by sending newline character periodically to see if any prompt is received. However, it is observed that no prompt is received and eventually the job fails.
this is been confirmed manually as well.
RC: It seems like the in the previous session, the device was exited after doing ctrl-s. A specific set of sequences (ctrl+s) sent can cause the console to go into flow control enable mode.
By sending out the sequence (ctrl+q) we can disable the flow control.
Already DDTS are in placed CSCwh67759 or CSCvy64395
How the device landed in flow control enabled state (by sending ctrl-s) is unknown because health check successfully runs on a testbed , brings it online and then is dispatched for a run. Possibilities of human intervention without reserving a testbed. In order to determine this, Eduardo is being notified to create a sytem that can log every telnet login to a device.
Logs of issue in cleanup stage :
jenkins_log
netmiko_log
Logs after sending ctrl-q:
here