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

[ROCm] Fix subprocess error #6587

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jagadish-amd
Copy link

Fixes #6585
Use shell=True for subprocess.check_output() in case of ROCm commands. Do not use shlex.split() since command string has wildcard expansion.

Fixes microsoft#6585
Use shell=True for subprocess.check_output() in case of ROCm
commands. Do not use shlex.split() since command string has
wildcard expansion.

Signed-off-by: Jagadish Krishnamoorthy <[email protected]>
@jagadish-amd
Copy link
Author

ping @tjruwase @loadams @jithunnair-amd

Copy link
Contributor

@jithunnair-amd jithunnair-amd left a comment

Choose a reason for hiding this comment

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

Lgtm

@jagadish-amd
Copy link
Author

There are bunch of nv jobs with failed status. I am not able to view the logs.
It should not be related to my changes since its only affects ROCm.
Requesting to merge the PR if the log suggests the same.
cc @loadams

@loadams
Copy link
Contributor

loadams commented Sep 30, 2024

There are bunch of nv jobs with failed status. I am not able to view the logs. It should not be related to my changes since its only affects ROCm. Requesting to merge the PR if the log suggests the same. cc @loadams

Hi @jagadish-amd - sorry, the runners crashed while running your jobs before, and need to be recovered. I'm trying to fix that and if we can't get it fixed quickly we can force merge this

@jagadish-amd
Copy link
Author

There are bunch of nv jobs with failed status. I am not able to view the logs. It should not be related to my changes since its only affects ROCm. Requesting to merge the PR if the log suggests the same. cc @loadams

Hi @jagadish-amd - sorry, the runners crashed while running your jobs before, and need to be recovered. I'm trying to fix that and if we can't get it fixed quickly we can force merge this

Thanks @loadams !

@jithunnair-amd
Copy link
Contributor

@loadams Can we merge this PR now?

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.

[BUG] subprocess.CalledProcessError
3 participants