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

[Backport 4.1] Slurm: Use sacct to retrieve job status when scontrol show job does not show the job anymore #766

Conversation

loicalbertin
Copy link
Member

Pull Request description

Description of the change

If scontrol show job fails to retrieve the job for some reason then try to use sacct.

How to verify it

Set a monitoring job interval higher than 5min and try to run a run workflow

Description for the changelog

  • Slurm: Use sacct to retrieve job status when scontrol show job does not show the job anymore (GH-757)

Applicable Issues

Fixes #757
Backport of #758

@loicalbertin loicalbertin changed the title Backport41/feature/gh 757 use sacct to retrieve job status when scontrol does not show it anymore [Backport 4.1] Slurm: Use sacct to retrieve job status when scontrol show job does not show the job anymore Jul 15, 2021
@sonarcloud
Copy link

sonarcloud bot commented Jul 15, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

97.7% 97.7% Coverage
0.0% 0.0% Duplication

@loicalbertin loicalbertin merged commit 94b434e into release/4.1 Jul 15, 2021
@loicalbertin loicalbertin deleted the backport41/feature/GH-757_Use_sacct_to_retrieve_job_status_when_scontrol_does_not_show_it_anymore branch July 15, 2021 13:44
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.

None yet

1 participant