-
Notifications
You must be signed in to change notification settings - Fork 44
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
No stderr logging when docker image not found #271
Comments
|
Thanks @wnojopra for the quick feedback! If I use dsub \
--provider google-cls-v2 \
--project ${PROJECT_ID} \
--regions ${REGION} \
--logging gs://${BUCKET_NAME}/logging/ \
--image ubuntu:20.04x \
--output OUT=gs://${BUCKET_NAME}/output/out.txt \
--command 'echo "Hello World" > "${OUT}"' \
--wait It appears that if the |
Thanks @nick-youngblut . I misunderstood the issue. The confusion comes from how the API pulls the docker image. From https://cloud.google.com/life-sciences/docs/reference/rest/v2beta/projects.locations.pipelines/run#Action in the Logging is done in one of the actions of a dsub job. It starts relatively early, but as noted the API will attempt to pull the image before the logging action starts. This is why you have no --logging files. I do notice that dsub itself outputs a helpful error message in this case:
So in this case, the error couldn't make it to the logs, but it is output by dsub itself. |
Thanks @wnojopra for all of the information!
Would it be possible to continue the dsub job (
Thanks for pointing that out! Is there a way to get a "pretty" print of the logs directly in |
If I run:
I get the following written to
dsub-debug.log
:However, if I run the job on
google-batch
instead oflocal
, the${jobid}.stderr
file set via the--logging
parameter is empty.The lack of an error messages in the
*.stderr
logging files created bygoogle-batch
makes it very hard to troubleshoot failed jobs.I'm using
dsub 0.4.9
The text was updated successfully, but these errors were encountered: