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

Fix issue in paramiko test script #5325

Merged
merged 3 commits into from
Aug 17, 2021
Merged

Conversation

cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Aug 11, 2021

Identified by manual pylint run (script not normally covered by pylint).

Code was moved from st2common/bin/paramiko_ssh_evenlets_tester.py to st2common/st2common/ssh/parallel_ssh.py in 081d2ef (2015-07-31)

Then it moved to st2actions/st2actions/runners/ssh/parallel_ssh.py in 82c2508 (2015-08-06)
This change did not, however, update the imports in st2common/bin/paramiko_ssh_evenlets_tester.py

Then it moved to contrib/runners/ssh/parallel_ssh.py in 40d9270 (2016-07-21)

Then it moved to st2common/st2common/runners/parallel_ssh.py in 718a029 (2016-09-20)

So, this has been broken since 2015, and no one has complained. But, maybe an eventlet tester will come in handy, so I'll just fix the import and be on my way.

What a satisfying end to a twisty git spelunking session.

Identified by manual pylint run (script not normally covered by pylint).

Code was moved from st2common/bin/paramiko_ssh_evenlets_tester.py
to st2common/st2common/ssh/parallel_ssh.py in
081d2ef (2015-07-31)

Then it moved to st2actions/st2actions/runners/ssh/parallel_ssh.py in
82c2508 (2015-08-06)
This change did not, however, update the imports in
st2common/bin/paramiko_ssh_evenlets_tester.py

Then it moved to contrib/runners/ssh/parallel_ssh.py in
40d9270 (2016-07-21)

Then it moved to st2common/st2common/runners/parallel_ssh.py in
718a029 (2016-09-20)

So, this has been broken since 2015, and no one has complained.
But, maybe an eventlet tester will come in handy, so I'll just fix
the import and be on my way.

What a satisfying end to a twisty git spelunking session.
@pull-request-size pull-request-size bot added the size/XS PR that changes 0-9 lines. Quick fix/merge. label Aug 11, 2021
@cognifloyd cognifloyd added this to the 3.6.0 milestone Aug 11, 2021
Copy link
Contributor

@amanda11 amanda11 left a comment

Choose a reason for hiding this comment

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

LGTM - good find.

@winem winem merged commit ca5db02 into StackStorm:master Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix maintenance pantsbuild size/XS PR that changes 0-9 lines. Quick fix/merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants