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

Odd failure and status reporting of an --on_failure cmd #309

Open
sb10 opened this issue Jul 1, 2020 · 0 comments
Open

Odd failure and status reporting of an --on_failure cmd #309

sb10 opened this issue Jul 1, 2020 · 0 comments
Labels

Comments

@sb10
Copy link
Member

sb10 commented Jul 1, 2020

mkdir -p $TMPDIR/tmp1/logs
touch $TMPDIR/tmp1/logs/1
--on_failure  "[{\"run\":\"cd ../tmp; (find tmp* -path '*/logs/*' -print0; find tmp* -name '*time*' -print0; find tmp* -name '*wrapper.log' -print0) | tar --null --no-recursion -zacf /dev/shm/time_and_log.tar.gz --files-from -; s3cmd put /dev/shm/time_and_log.tar.gz s3://sb10/\"}]"
fails for unknown reason
--on_failure  "[{\"run\":\"cd ../tmp; (find tmp* -path '*/logs/*' -print0; find tmp* -name '*time*' -print0; find tmp* -name '*wrapper.log' -print0) > /dev/shm/time_and_log.txt && s3cmd put /dev/shm/time_and_log.txt s3://sb10/\"}]"
works

When I had the two jobs running, if I clicked Behaviours button of t1 job, I saw commands I gave to cgpwgs job

@sb10 sb10 added the bug label Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant