IS anoyne else getting the following error when ru...
# modules
j
IS anoyne else getting the following error when running unrelated tests:
@Jonathan Manning @Toni Hermoso Pulido it looks like you guys merged this but with failing tests: https://github.com/nf-core/modules/actions/runs/25489958950 is there some context to that?
j
I preliminarily approved it since we had a green light a couple of commits earlier. Didn't merge it...
j
Sorry yes, I meant you reviewed
j
No that's noth te test that's broken
The GPU tests didn't run at all
t
Hey! I assume that was that
👋 1
j
and the file was completely borked
A fix I think
(context: I couldn't run my own tests because nf-test picked up the fault test and died)
Hrm doesn't seem to be enough...
j
Want me to sort it James? Shouldn't have approved before the tests ran.
j
Yes please...
That file seems to ghave more issues than the second
]
j
I'll make your pr pass
❤️ 1
j
IU suspect this will block anyone who syncs the modules
master
branch
t
My fault, sorry about that
j
from when the module was merged in
It's OK things happen! I was just checking first I didn't miss some context and maybe I was doing something wrong
t
There was still a Conda time out after 2 h , @Jonathan Manning - curiously one only. But that's unrelated I think
j
YEah tha'ts an allowable thing to skip (you can probably add that to the 'ignore conda' list that is somewhere
j
Originally it was because Toni was trying to download monster-big model files, but thought we'd fixed that...
👍 1
e
must be this, right?
Copy code
process {
                    input[0] = [
                        [ id:'test_model' ],
                        "mradermacher/tiny-gemma-test-i1-GGUF",
                        "tiny-gemma-test.i1-Q4_K_M.gguf"
                    ]
                    ]
an extra
]
j
THere is a second error
e
it's usually a missing coma..
j
image.png
e
Ah sorry, just saw you already flagged that bracket :p
t
Could it be something with quotes ' vs " ?
j
Possibly
I count x4
'''
but x5
"""
for some reason
j
Ah found it
Exactly
Thank you Jon-Claude
😂 1
🤣 1
j
van dam
100 rainbow 1
🎉 1
🤣 1
m
I'm getting
Copy code
nf-core modules test krakenuniq/build --profile docker


                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\
    |\ | |__  __ /  ` /  \ |__) |__         }  {
    | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                          `._,._,'

    nf-core/tools version 4.0.2 - <https://nf-co.re>


INFO     Generating nf-test snapshot
Displaying nf-test output
╭───────────────────────────────────────────────────────────────────────────────────────────────── nf-test output ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                                                   │
│ 🚀 nf-test 0.9.2                                                                                                                                                                                                  │
│ <https://www.nf-test.com>                                                                                                                                                                                           │
│ (c) 2021 - 2024 Lukas Forer and Sebastian Schoenherr                                                                                                                                                              │
│                                                                                                                                                                                                                   │
│ Error: Syntax errors in nf-test config file: java.lang.RuntimeException: Plugin'nft-anndata' found, but version 0.4.1 not found.                                                                                  │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Displaying nf-test error
INFO     Generating nf-test snapshot again to check stability
Displaying nf-test output
╭───────────────────────────────────────────────────────────────────────────────────────────────── nf-test output ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                                                   │
│ 🚀 nf-test 0.9.2                                                                                                                                                                                                  │
│ <https://www.nf-test.com>                                                                                                                                                                                           │
│ (c) 2021 - 2024 Lukas Forer and Sebastian Schoenherr                                                                                                                                                              │
│                                                                                                                                                                                                                   │
│ Error: Syntax errors in nf-test config file: java.lang.RuntimeException: Plugin'nft-anndata' found, but version 0.4.1 not found.                                                                                  │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Displaying nf-test error
CRITICAL Ran, but found errors:
          - nf-test failed
          - nf-test failed
at the moment
j
Where is that @Mahesh Binzer-Panchal? locally?
m
yes
j
Whenever I get that I just delete
.nf-test/
and magically all works again
m
Now I get what you get:
Copy code
% nf-core modules test krakenuniq/build --profile docker


                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\
    |\ | |__  __ /  ` /  \ |__) |__         }  {
    | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                          `._,._,'

    nf-core/tools version 4.0.2 - <https://nf-co.re>


INFO     Generating nf-test snapshot
Displaying nf-test output
╭───────────────────────────────────────────────────────────────────────────────────────────────── nf-test output ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                                                   │
│ 🚀 nf-test 0.9.2                                                                                                                                                                                                  │
│ <https://www.nf-test.com>                                                                                                                                                                                           │
│ (c) 2021 - 2024 Lukas Forer and Sebastian Schoenherr                                                                                                                                                              │
│                                                                                                                                                                                                                   │
│ Load .nf-test/plugins/nft-anndata/0.4.1/nft-anndata-0.4.1.jar                                                                                                                                                     │
│ Load .nf-test/plugins/nft-bam/0.6.1/nft-bam-0.6.1.jar                                                                                                                                                             │
│ Load .nf-test/plugins/nft-csv/0.1.0/nft-csv-0.1.0.jar                                                                                                                                                             │
│ Load .nf-test/plugins/nft-compress/0.1.0/nft-compress-0.1.0.jar                                                                                                                                                   │
│ Load .nf-test/plugins/nft-fastq/0.1.0/nft-fastq-0.1.0.jar                                                                                                                                                         │
│ Load .nf-test/plugins/nft-utils/0.0.9/nft-utils-0.0.9.jar                                                                                                                                                         │
│ Load .nf-test/plugins/nft-vcf/1.0.7/nft-vcf-1.0.7.jar                                                                                                                                                             │
│ Error: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:                                                                                                                            │
│ /Users/mahpa906/Documents/Projects/nf-core-modules-mahesh/modules/nf-core/llamacpppython/run/tests/main.gpu.nf.test: 1: Unexpected input: '{' @ line 1, column 18.                                                │
│    nextflow_process {                                                                                                                                                                                             │
│                     ^                                                                                                                                                                                             │
│                                                                                                                                                                                                                   │
│ 1 error                                                                                                                                                                                                           │
│                                                                                                                                                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Displaying nf-test error
INFO     Generating nf-test snapshot again to check stability
Displaying nf-test output
╭───────────────────────────────────────────────────────────────────────────────────────────────── nf-test output ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                                                   │
│ 🚀 nf-test 0.9.2                                                                                                                                                                                                  │
│ <https://www.nf-test.com>                                                                                                                                                                                           │
│ (c) 2021 - 2024 Lukas Forer and Sebastian Schoenherr                                                                                                                                                              │
│                                                                                                                                                                                                                   │
│ Load .nf-test/plugins/nft-anndata/0.4.1/nft-anndata-0.4.1.jar                                                                                                                                                     │
│ Load .nf-test/plugins/nft-bam/0.6.1/nft-bam-0.6.1.jar                                                                                                                                                             │
│ Load .nf-test/plugins/nft-csv/0.1.0/nft-csv-0.1.0.jar                                                                                                                                                             │
│ Load .nf-test/plugins/nft-compress/0.1.0/nft-compress-0.1.0.jar                                                                                                                                                   │
│ Load .nf-test/plugins/nft-fastq/0.1.0/nft-fastq-0.1.0.jar                                                                                                                                                         │
│ Load .nf-test/plugins/nft-utils/0.0.9/nft-utils-0.0.9.jar                                                                                                                                                         │
│ Load .nf-test/plugins/nft-vcf/1.0.7/nft-vcf-1.0.7.jar                                                                                                                                                             │
│ Error: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:                                                                                                                            │
│ /Users/mahpa906/Documents/Projects/nf-core-modules-mahesh/modules/nf-core/llamacpppython/run/tests/main.gpu.nf.test: 1: Unexpected input: '{' @ line 1, column 18.                                                │
│    nextflow_process {                                                                                                                                                                                             │
│                     ^                                                                                                                                                                                             │
│                                                                                                                                                                                                                   │
│ 1 error                                                                                                                                                                                                           │
│                                                                                                                                                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Displaying nf-test error
CRITICAL Ran, but found errors:
          - nf-test failed
          - nf-test failed
(
j
James' PR passing anyway, took the liberty of merging it
j
image.png
😂 1
🤣 4
j
Oh gawwd
j
you knew it was coming
p
Shouldn't have approved before the tests ran.
Nah this should be fine, up to the merger to check tests, not approver
j
haha I never now if I should wait