-
Notifications
You must be signed in to change notification settings - Fork 727
Open
Labels
Description
Bug report
If the .command.*
files are included in the output syntax, a pipeline executed on Azure Batch will fail.
Expected behavior and actual behavior
The pipeline should upload the .command.* files successfully and use them as outputs. It could do this by de-duplicating the output files
It's possible this is caused by the output file is uploaded once and then uploaded a second time. Alternatively it could be caused by parsing the nxf_az_upload paths, which may have a syntax error caused by the preceeding .
. Not clear on the root cause.
Steps to reproduce the problem
main.nf
:
process HELLO {
container 'ubuntu:22.04'
output:
path "hello.txt"
path(".command.*", hidden: true)
script:
"""
echo 'hello!' > hello.txt
"""
}
workflow {
HELLO()
}
Program output
> nextflow run . -c azure.config
N E X T F L O W ~ version 25.04.6
Launching `./main.nf` [lonely_mahavira] DSL2 - revision: cc808808e6
[ca/d27186] Submitted process > HELLO
ERROR ~ Error executing process > 'HELLO'
Caused by:
Process `HELLO` terminated with an error exit status (1)
Command executed:
echo 'hello!' > hello.txt
Command exit status:
1
Command output:
Number of Folder Property Transfers: 0
Total Number of Transfers: 1
Number of Transfers Completed: 0
Number of Transfers Failed: 1
Number of Transfers Skipped: 0
TotalBytesTransferred: 0
Final Job Status: Failed
Job 6b2c5f00-f1cf-fe4f-59fe-08508991a7e8 summary
Elapsed Time (Minutes): 0.0336
Number of File Transfers: 1
Number of Folder Property Transfers: 0
Total Number of Transfers: 1
Number of Transfers Completed: 1
Number of Transfers Failed: 0
Number of Transfers Skipped: 0
TotalBytesTransferred: 6
Final Job Status: Completed
Job cb8e5077-a935-ee46-6d44-043b5b8a94fc summary
Elapsed Time (Minutes): 0.0335
Number of File Transfers: 1
Number of Folder Property Transfers: 0
Total Number of Transfers: 1
Number of Transfers Completed: 0
Number of Transfers Failed: 1
Number of Transfers Skipped: 0
TotalBytesTransferred: 0
Final Job Status: Failed
Job 949cbf6c-dee9-ee4d-6e8b-b3696248c0da summary
Elapsed Time (Minutes): 0.034
Number of File Transfers: 1
Number of Folder Property Transfers: 0
Total Number of Transfers: 1
Number of Transfers Completed: 1
Number of Transfers Failed: 0
Number of Transfers Skipped: 0
TotalBytesTransferred: 0
Final Job Status: Completed
Work dir:
az://storageaccount/scratch/ca/d2718644ae026aa4c08c2bc5c19c0d
Container:
ubuntu:22.04
Environment
- Nextflow version: [?]
- Java version: [?]
- Operating system: [macOS, Linux, etc]
- Bash version: (use the command
$SHELL --version
)
Additional context
(Add any other context about the problem here)