Michael Beckstette
03/23/2026, 12:47 PMJames Fellows Yates
03/23/2026, 1:13 PMMichael Beckstette
03/23/2026, 1:23 PMMichael Beckstette
03/23/2026, 1:24 PMJames Fellows Yates
03/23/2026, 2:42 PMJames Fellows Yates
03/23/2026, 2:42 PMJames Fellows Yates
03/23/2026, 2:42 PMIn the past we used the following versions of mag (all with Nextflow 25.04.8) WITHOUT any problems: 3.0.3, 3.1.0, 3.3.1, 3.4.0. I came across this issue, when trying to use mag 5.4.1 with Nextflow 25.10.4 with production data and was able to reproduce it with the test profile.Hrm, we did update BUSCO didn't we between 3.4 and 5, right @Diego Alvarez Saravia?
Diego Alvarez Saravia
03/23/2026, 2:46 PM--busco_clean? That should remove a lot of BUSCO files that aren't really that necessary.Michael Beckstette
03/23/2026, 3:04 PMJames Fellows Yates
03/23/2026, 3:04 PMJames Fellows Yates
03/23/2026, 3:04 PMMichael Beckstette
03/23/2026, 3:08 PMMichael Beckstette
03/23/2026, 3:14 PMDiego Alvarez Saravia
03/23/2026, 3:16 PMJames Fellows Yates
03/23/2026, 3:28 PMJames Fellows Yates
03/23/2026, 3:28 PM-profile test on AWS runs through without any error at the BUSCO levelJames Fellows Yates
03/23/2026, 3:30 PMdebug profile as well, that produces a much richer log IIRCMichael Beckstette
03/23/2026, 3:51 PMJames Fellows Yates
03/23/2026, 3:57 PMJames Fellows Yates
03/23/2026, 3:57 PMMichael Beckstette
03/23/2026, 4:03 PMMichael Beckstette
03/23/2026, 4:24 PMDiego Alvarez Saravia
03/23/2026, 4:42 PMMichael Beckstette
03/23/2026, 4:51 PMJames Fellows Yates
03/23/2026, 5:27 PMJames Fellows Yates
03/23/2026, 5:27 PMJames Fellows Yates
03/23/2026, 5:28 PMJames Fellows Yates
03/23/2026, 5:29 PMJames Fellows Yates
03/23/2026, 5:30 PMMichael Beckstette
03/24/2026, 1:05 PMMichael Beckstette
03/24/2026, 1:15 PMJames Fellows Yates
03/24/2026, 1:50 PMJames Fellows Yates
03/24/2026, 1:50 PMMichael Beckstette
03/24/2026, 2:30 PMJames Fellows Yates
03/24/2026, 2:49 PMJames Fellows Yates
03/24/2026, 2:49 PMJames Fellows Yates
03/24/2026, 2:49 PM-resuem I replicated your issue:James Fellows Yates
03/24/2026, 2:49 PMMar-24 14:08:15.935 [PublishDir-8] ERROR nextflow.processor.PublishDir - Failed to publish file: /vol/permanent/mag/work/a3/93612016a3c4e275cc34432739da5c/test_minigut-bacteria_odb10-busco; to: <s3://mag-test/GenomeBinning/QC/BUSCO/MEGAHIT-MetaBAT2-test_minigut/test_minigut-bacteria_odb10-busco> [copy] -- See log file for details
dev.failsafe.FailsafeException: java.lang.InterruptedException: sleep interrupted
at dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:444)
at dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:129)
at nextflow.processor.PublishDir.retryableProcessFile(PublishDir.groovy:408)
at nextflow.processor.PublishDir.safeProcessFile(PublishDir.groovy:379)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328)
at groovy.lang.MetaClassImpl.doInvokeMethod(MetaClassImpl.java:1339)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1094)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1007)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:645)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:628)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethodSafe(InvokerHelper.java:82)
at nextflow.processor.PublishDir$_apply1_closure2.doCall(PublishDir.groovy:354)
at nextflow.processor.PublishDir$_apply1_closure2.call(PublishDir.groovy)
at groovy.lang.Closure.run(Closure.java:505)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep0(Native Method)
at java.base/java.lang.Thread.sleep(Thread.java:509)
at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:90)
at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:176)
at dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:437)
... 21 common frames omittedJames Fellows Yates
03/24/2026, 2:49 PMtest_minigut-bacteria_obd10?Michael Beckstette
03/25/2026, 12:13 PMJames Fellows Yates
03/25/2026, 12:32 PMMar-24 14:08:04.777 [PublishDir-1] DEBUG nextflow.processor.PublishDir - Failed to publish file: /vol/permanent/mag/work/35/11e46c13af0263c63baf967aebf23f/test_minigut_sample2-bacteria_odb10
-busco; to: <s3://mag-test/GenomeBinning/QC/BUSCO/SPAdes-MaxBin2-test_minigut_sample2/test_minigut_sample2-bacteria_odb10-busco> [copy] -- attempt: 1; reason: the path: <s3://mag-test/GenomeBin>
ning/QC/BUSCO/SPAdes-MaxBin2-test_minigut_sample2/test_minigut_sample2-bacteria_odb10-busco/SPAdes-MaxBin2-test_minigut_sample2.noclass.1.fa/logs does not exist
Mar-24 14:08:06.287 [PublishDir-1] DEBUG nextflow.processor.PublishDir - Failed to publish file: /vol/permanent/mag/work/35/11e46c13af0263c63baf967aebf23f/test_minigut_sample2-bacteria_odb10
-busco; to: <s3://mag-test/GenomeBinning/QC/BUSCO/SPAdes-MaxBin2-test_minigut_sample2/test_minigut_sample2-bacteria_odb10-busco> [copy] -- attempt: 2; reason: the path: <s3://mag-test/GenomeBin>
ning/QC/BUSCO/SPAdes-MaxBin2-test_minigut_sample2/test_minigut_sample2-bacteria_odb10-busco/SPAdes-MaxBin2-test_minigut_sample2.noclass.1.fa/prodigal_output/predicted_genes does not exist
Mar-24 14:08:08.572 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 248; id: 179; name: NFCORE_MAG:MAG:CATPACK:CATPACK_SUMMARISE_BINS (test_minigut)
; status: COMPLETED; exit: 0; error: -; workDir: /vol/permanent/mag/work/3d/4d3831e0b30e28330993bd2f3a4a5e started: 1774361288570; exited: 2026-03-24T14:08:06.104512419Z; ]
Mar-24 14:08:08.574 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 249; id: 178; name: NFCORE_MAG:MAG:CATPACK:CATPACK_SUMMARISE_BINS (test_minigut)
; status: COMPLETED; exit: 0; error: -; workDir: /vol/permanent/mag/work/fa/e70a70d0c21422c3ec435b3d748660 started: 1774361288572; exited: 2026-03-24T14:08:06.167511287Z; ]
Mar-24 14:08:08.694 [PublishDir-10] DEBUG n.cloud.aws.nio.S3FileSystemProvider - S3 upload file from=/vol/permanent/mag/work/fa/e70a70d0c21422c3ec435b3d748660/MEGAHIT-SemiBin2-test_minigut-b
ins_summary.txt to=<s3://mag-test/Taxonomy/CAT/MEGAHIT/SemiBin2/test_minigut/bins/MEGAHIT-SemiBin2-test_minigut-bins_summary.txt>
Mar-24 14:08:08.747 [PublishDir-2] DEBUG n.cloud.aws.nio.S3FileSystemProvider - S3 upload file from=/vol/permanent/mag/work/3d/4d3831e0b30e28330993bd2f3a4a5e/MEGAHIT-MaxBin2-test_minigut-bin
s_summary.txt to=<s3://mag-test/Taxonomy/CAT/MEGAHIT/MaxBin2/test_minigut/bins/MEGAHIT-MaxBin2-test_minigut-bins_summary.txt>
Mar-24 14:08:10.002 [PublishDir-1] DEBUG nextflow.processor.PublishDir - Failed to publish file: /vol/permanent/mag/work/35/11e46c13af0263c63baf967aebf23f/test_minigut_sample2-bacteria_odb10
-busco; to: <s3://mag-test/GenomeBinning/QC/BUSCO/SPAdes-MaxBin2-test_minigut_sample2/test_minigut_sample2-bacteria_odb10-busco> [copy] -- attempt: 3; reason: the path: <s3://mag-test/GenomeBin>
ning/QC/BUSCO/SPAdes-MaxBin2-test_minigut_sample2/test_minigut_sample2-bacteria_odb10-busco/SPAdes-MaxBin2-test_minigut_sample2.noclass.1.fa/run_bacteria_odb10 does not exist
Mar-24 14:08:13.164 [PublishDir-1] DEBUG nextflow.processor.PublishDir - Failed to publish file: /vol/permanent/mag/work/35/11e46c13af0263c63baf967aebf23f/test_minigut_sample2-bacteria_odb10
-busco; to: <s3://mag-test/GenomeBinning/QC/BUSCO/SPAdes-MaxBin2-test_minigut_sample2/test_minigut_sample2-bacteria_odb10-busco> [copy] -- attempt: 4; reason: the path: <s3://mag-test/GenomeBin>
ning/QC/BUSCO/SPAdes-MaxBin2-test_minigut_sample2/test_minigut_sample2-bacteria_odb10-busco/SPAdes-MaxBin2-test_minigut_sample2.noclass.2.fa/logs does not exist
I also noticed in our cases it's repeatedly failing to find itDiego Alvarez Saravia
03/25/2026, 12:37 PMJames Fellows Yates
03/25/2026, 12:37 PM-r dev ?Michael Beckstette
03/25/2026, 12:58 PMJames Fellows Yates
03/25/2026, 12:59 PMJames Fellows Yates
03/25/2026, 12:59 PMJames Fellows Yates
03/25/2026, 1:00 PMJames Fellows Yates
03/25/2026, 1:00 PMJames Fellows Yates
03/25/2026, 1:02 PM-r devMichael Beckstette
03/25/2026, 1:31 PMJames Fellows Yates
03/26/2026, 10:26 AM-r dev!!James Fellows Yates
03/26/2026, 10:26 AMJames Fellows Yates
03/26/2026, 10:27 AMJames Fellows Yates
03/26/2026, 10:51 AMJames Fellows Yates
03/26/2026, 4:38 PMJames Fellows Yates
03/26/2026, 4:38 PM-r dev yhte BUSCO error should be fixedMichael Beckstette
03/27/2026, 12:17 PMDiego Alvarez Saravia
03/27/2026, 12:20 PMJames Fellows Yates
03/27/2026, 12:22 PMDiego Alvarez Saravia
03/27/2026, 12:23 PM