Skip to content

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 f6c4d34
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/689de55e44c40f0008e24c0e

adamrtalbot and others added 5 commits June 16, 2025 14:24
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
3 participants