-
Notifications
You must be signed in to change notification settings - Fork 665
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
Conda: OverlappingFileLockException
#5485
Labels
Comments
Trying locally I am getting the same error with both Conda and Mamba too now 🙈 $ nextflow run nf-core/rnaseq -r 3.17.0 -profile test,mamba --outdir dir
N E X T F L O W ~ version 24.10.0
Launching `https://github.com/nf-core/rnaseq` [clever_venter] DSL2 - revision: 00f924cf92 [3.17.0]
// [...]
Creating env using mamba: /Users/ewels/.nextflow/assets/nf-core/rnaseq/./subworkflows/local/prepare_genome/../../../modules/nf-core/gunzip/environment.yml [cache /Users/ewels/demo/mamba_test_2/work/conda/environment-cac18ad63488da9f5109ab1f794a29f6]
Creating env using mamba: /Users/ewels/.nextflow/assets/nf-core/rnaseq/./workflows/rnaseq/../../subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/../fastq_fastqc_umitools_trimgalore/../../../modules/nf-core/fastqc/environment.yml [cache /Users/ewels/demo/mamba_test_2/work/conda/environment-3ea42529974ca5a54ae5623eacfbc76a]
Creating env using mamba: /Users/ewels/.nextflow/assets/nf-core/rnaseq/./workflows/rnaseq/../../subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/../fastq_fastqc_umitools_trimgalore/../../../modules/nf-core/trimgalore/environment.yml [cache /Users/ewels/demo/mamba_test_2/work/conda/environment-7ee73282f0ad4cb3bfb895355fb91bd7]
ERROR ~ Error executing process > 'NFCORE_RNASEQ:PREPARE_GENOME:UNTAR_SALMON_INDEX'
Caused by:
java.nio.channels.OverlappingFileLockException
-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting
-- Check '.nextflow.log' file for details |
11 tasks
10 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
In @nf-core we recently removed
name
from our condaenvironment.yml
files. We knew that there was an issue that affect CI tests with this, but it seems that it also affects users. As discussed in nf-core/modules#6664 we are now seeing a lot people reporting this error message when running with conda:Steps to reproduce the problem
@jorgee seems to have a way to reproduce this, from Slack
It's typically a stochastic issue though so can be difficult to reproduce, but basically seems to happen whenever Nextflow tries to create a bunch of Conda environments at once. @jorgee says:
Additional context
Some notes from Slack discussions. @pditommaso thinks it might be this code:
nextflow/modules/nextflow/src/main/groovy/nextflow/conda/CondaCache.groovy
Lines 180 to 235 in cd8c385
Suggestion is that using a random id in the cache path to avoid concurrent access.
The text was updated successfully, but these errors were encountered: