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

More clear reporting after build job times out #226

Open
casparvl opened this issue Nov 14, 2023 · 1 comment
Open

More clear reporting after build job times out #226

casparvl opened this issue Nov 14, 2023 · 1 comment

Comments

@casparvl
Copy link

In this PR the bot reports back 'UNKNOWN' instead of SUCCESS or FAILED. It was explained to me that this really is a timeout of the job that got submitted. It would be nice if we can present a more informative message in this case.

I believe the job output file should contain some message from SLURM stating that the job or job step is cancelled, so we could probably grab for that and if present, report back as a timeout.

@trz42
Copy link
Contributor

trz42 commented Nov 14, 2023

It actually could be 'UNKNOWN' for different reasons. At the end of a job, the script bot/check-build.sh provided by the target repository/PR is run. That script will create a file _bot_JOBID.result in the job's working directory. The 'UNKNOWN' status is shown when there is no such file (e.g., job crashed, job was terminated, something else prevented running that script, ...) or if the script could not determine if the job succeeded or failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants