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

[dvsim] Improve error handling on slurm launcher #24958

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

Razer6
Copy link
Member

@Razer6 Razer6 commented Oct 31, 2024

Incorporate post-merge feedback from @matutem to improve the error handling and make try/catch block only deal with IO.

@Razer6 Razer6 requested review from rswarbrick and matutem October 31, 2024 06:33
@Razer6 Razer6 added the Tool:dvsim Pertains to the dvsim and testplan tools label Oct 31, 2024
util/dvsim/SlurmLauncher.py Outdated Show resolved Hide resolved
util/dvsim/SlurmLauncher.py Show resolved Hide resolved
util/dvsim/SlurmLauncher.py Outdated Show resolved Hide resolved
Copy link
Contributor

@matutem matutem left a comment

Choose a reason for hiding this comment

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

I agree with @rswarbrick good point about shutil.move. Otherwise LGTM

@Razer6
Copy link
Member Author

Razer6 commented Nov 5, 2024

Thank's for the review. I updated the two comments but not the shutil.move. The code is intentionally aggregating all slurm log files to a single log file.

Incorporate post-merge feedback from @matutem.

Signed-off-by: Robert Schilling <[email protected]>
Copy link
Contributor

@rswarbrick rswarbrick left a comment

Choose a reason for hiding this comment

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

Thanks for responding to all my questions! This looks good to me.

@rswarbrick rswarbrick merged commit baac5e8 into lowRISC:master Nov 5, 2024
36 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tool:dvsim Pertains to the dvsim and testplan tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants