History log of /openbmc/openbmc-test-automation/ffdc/lib/ssh_utility.py (Results 1 – 11 of 11)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7a61aa2d 26-Jun-2023 George Keishing <gkeishin@in.ibm.com>

Add support to log collecter CLI options for ports

Changes:
- Added CLI option for SSH port
- Fix HTTPs port for redfishtool

Tested:
Tested on sanndbox script.

Change-Id: I96e864f923a5e

Add support to log collecter CLI options for ports

Changes:
- Added CLI option for SSH port
- Fix HTTPs port for redfishtool

Tested:
Tested on sanndbox script.

Change-Id: I96e864f923a5e38552af063981decc1d26b7863f
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# 20f38712 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Signed-off-by: Patrick Will

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I944f1915ece753f72a3fa654902d445a9749d0f9

show more ...


# e635ddc0 08-Dec-2022 George Keishing <gkeishin@in.ibm.com>

Revert "black: re-format"

This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.

Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Change-Id: Ie61cdc8c7f2825b0d9d66be87a6a3a058de2b372


# 5731818d 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: If1010ead857d413

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: If1010ead857d41364c024bf8145a979a9377d382
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


Revision tags: robotframework-requests
# cf352e5a 14-Feb-2022 Peter D Phan <peterp@us.ibm.com>

ffdc: Enhance scp error handling

Pause for 2 seconds allowing Paramiko to finish error processing before next fetch.
Without the delay after SCPException,
next fetch will get 'paramiko.ssh_except

ffdc: Enhance scp error handling

Pause for 2 seconds allowing Paramiko to finish error processing before next fetch.
Without the delay after SCPException,
next fetch will get 'paramiko.ssh_exception.SSHException'> Channel closed Error.

Test:
- Normal ./tools/myffdc.robot run
- Inject 21 'No such file' instances into scp code path via ffdc_config.yaml

Signed-off-by: Peter D Phan <peterp@us.ibm.com>
Change-Id: If3e771ed3eb0b658d3615e32360181ba88f5e3fa

show more ...


# e7e9171e 03-Sep-2021 George Keishing <gkeishin@in.ibm.com>

Update python code for python 3.8 or higher compatibility

Changes:
- Update shebang directive to use python3 explicitly.
- remove preexec_fn feature which is deprecated in

Update python code for python 3.8 or higher compatibility

Changes:
- Update shebang directive to use python3 explicitly.
- remove preexec_fn feature which is deprecated in higher
python version 3.8 and above.
- bufsize fix, from documentation bufsize 1 means line buffered
(only usable if universal_newlines=True i.e., in a text mode)
refer: https://docs.python.org/3/library/subprocess.html
- Fix SyntaxWarning: "is" with "=="

Change-Id: Ib96c1ba8c2327d6774d0d731b48ca7e61a4a297a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# e0472f80 26-Aug-2021 Peter D Phan <peterp@us.ibm.com>

ffdc: Add banner_timeout parm to paramiko sshclient connect.

Add banner_timeout parm to paramiko sshclient connect request to handle
delays from some remote host ssh daemon.

Tes

ffdc: Add banner_timeout parm to paramiko sshclient connect.

Add banner_timeout parm to paramiko sshclient connect request to handle
delays from some remote host ssh daemon.

Test:
- Regression tested to remote hosts with ssh daemon.

Signed-off-by: Peter D Phan <peterp@us.ibm.com>
Change-Id: I39e1014afbd150b9734075d0a8d2a910775fd444

show more ...


# fd631a16 12-Aug-2021 Peter D Phan <peterp@us.ibm.com>

ffdc: Trigger Paramiko exec_command() timeout

Read stderr instead of stdout to trigger Paramiko exec_command() timout mechanism.
This fix timeing issue with previous patch.

Test

ffdc: Trigger Paramiko exec_command() timeout

Read stderr instead of stdout to trigger Paramiko exec_command() timout mechanism.
This fix timeing issue with previous patch.

Test:
- Regression test to openbmc, ubuntu, rhel with standard config and plugins

Signed-off-by: Peter D Phan <peterp@us.ibm.com>
Change-Id: I793ba98e638fcdf8214e491760d8a94af714a41a

show more ...


# ba48e9b0 12-Aug-2021 Peter D Phan <peterp@us.ibm.com>

ffdc: Trigger paramiko exec_command() timeout mechanism

Add data read/write operation to trigger paramiko exec_command() timeout mechanism.
Reading channel status does not activate the t

ffdc: Trigger paramiko exec_command() timeout mechanism

Add data read/write operation to trigger paramiko exec_command() timeout mechanism.
Reading channel status does not activate the timeout mechanism.

Test:
- Regression test to openbmc, ubuntu, rhel with standard config and plugins

Change-Id: Ib65304dbbfc1f2df592296e5b5025c928cef86d4
Signed-off-by: Peter D Phan <peterp@us.ibm.com>

show more ...


# 8a7ec17d 03-Aug-2021 Peter D Phan <peterp@us.ibm.com>

ffdc: Convert paramiko return values to string.

Convert paramiko return stdout and stderr from list of strings
to one string for processing.

Test:
- Regression test to SSH S

ffdc: Convert paramiko return values to string.

Convert paramiko return stdout and stderr from list of strings
to one string for processing.

Test:
- Regression test to SSH Servers.

Signed-off-by: Peter D Phan <peterp@us.ibm.com>
Change-Id: I74afdeb268cad5c70db8422bef7d7118f0d9e8d9

show more ...


# fd260e47 29-Jul-2021 Peter D Phan <peterp@us.ibm.com>

ffdc: Move utilities to subdir lib.

Test:
- New structure within openbmc-test-automation
- New structure stand-alone

Signed-off-by: Peter D Phan <peterp@us.ibm.com>
Cha

ffdc: Move utilities to subdir lib.

Test:
- New structure within openbmc-test-automation
- New structure stand-alone

Signed-off-by: Peter D Phan <peterp@us.ibm.com>
Change-Id: If707cded8840357dca40577583f1afb418c91d7c

show more ...