Skip to content

[action] [PR:14116] Improve test_ssh_limit test case not receive EOF issue#14307

Merged
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/14116
Aug 29, 2024
Merged

[action] [PR:14116] Improve test_ssh_limit test case not receive EOF issue#14307
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/14116

Conversation

@mssonicbld
Copy link
Collaborator

Improve test_ssh_limit test case not receive EOF issue

Why I did it

test_ssh_limit randomly failed, according to syslog, the paramiko connection does not receive EOF after exec command.

Work item tracking
  • Microsoft ADO: 28874779

How I did it

Read stdout and stderr after exec command via paramiko, and print output for debug

How to verify it

Pass all test case.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Improve test_ssh_limit test case not receive EOF issue

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Improve test_ssh_limit test case not receive EOF issue

#### Why I did it
test_ssh_limit randomly failed, according to syslog, the paramiko connection does not receive EOF after exec command.

### How I did it
Read stdout and stderr after exec command via paramiko, and print output for debug

#### How to verify it
Pass all test case.

### Description for the changelog
Improve test_ssh_limit test case not receive EOF issue
@mssonicbld
Copy link
Collaborator Author

Original PR: #14116

@mssonicbld mssonicbld merged commit 74b60ca into sonic-net:202405 Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants