Skip to content

error message of azcopy is no longer hidden #6187

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

adamrtalbot
Copy link
Collaborator

@adamrtalbot adamrtalbot commented Jun 16, 2025

When azcopy failed due to resource constraints, it hid the error message making it hard to debug and raising a new error in it's place. This PR refactors the bash for nxf_az_download to handle the error better and surface it back to Nextflow where it can be handled by an errorStrategy.

turns out, if you just replace azcopy cp with azcopy sync --recursive it works fine 🤷 , I tested it with nf-core/rnaseq and it worked:

Copy link

netlify bot commented Jun 16, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 6231d76
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/6855959ff934620008c61f23

This seems to work with both files and directories with no issue. I tested it with:

```bash
make pack && ./build/releases/nextflow-25.05.0-edge-dist run nf-core/rnaseq -r 3.19.0 -profile test --outdir results -c azure.config -w az://work/
BUILD_PACK=1 ./gradlew pack
```

And it worked fine?

Signed-off-by: adamrtalbot <[email protected]>
Signed-off-by: adamrtalbot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

azcopy creates directory on download failure which triggers further issue
2 participants