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

Capture and return errors when singularity build fails #833

Closed
prioux opened this issue Jun 29, 2019 · 1 comment
Closed

Capture and return errors when singularity build fails #833

prioux opened this issue Jun 29, 2019 · 1 comment

Comments

@prioux
Copy link
Member

prioux commented Jun 29, 2019

When a task performs a singularity build, if it fails it only loggs that it failed but there isn't much more information about that. I had a failure on a cluster simply because /usr/sbin wasn't in my PATH (and it's needed to run mksquashfs). Finding out required me to start a console on the bourreau, enter the task object, and invoke load_singularity_image_from_repo() manually to watch the traces.

A simple debugging fix would be to take the returned captured outputs of the tool_config_system() and store them in the task's work directory, for the admin to investigate.

@prioux
Copy link
Member Author

prioux commented Jul 2, 2019

Fixed in #832

@prioux prioux closed this as completed Jul 2, 2019
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

1 participant