Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass ctrl-q char to unlock it from telnet hung state #37

Open
wants to merge 2 commits into
base: ver_4.0.0
Choose a base branch
from

Conversation

shreyashah
Copy link
Contributor

@shreyashah shreyashah commented Jun 20, 2024

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

Copy link

@eduran-cisco eduran-cisco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://wwwin-github.cisco.com/cafy/cafykit/issues/29137 will track the removal of this after the XR issues are resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants