Skip to content

Failed machine type determination on google batch #6335

@kriemo

Description

@kriemo

Bug report

Nextflow warns that it is unable to determine the machine type for google-batch execution.

Expected behavior and actual behavior

Correctly determine the machine type.

Steps to reproduce the problem

Follow https://cloud.google.com/batch/docs/nextflow . The pipeline was run in google.region = 'us-central1'

Program output

 N E X T F L O W   ~  version 25.04.6

Launching `https://github.com/nextflow-io/rnaseq-nf` [spontaneous_kalam] DSL2 - revision: 86165b8c81 [master]

Aug 11, 2025 11:05:33 PM com.google.auth.oauth2.DefaultCredentialsProvider warnAboutProblematicCredentials
WARNING: You are authenticating using user credentials. For production, we recommend using service account credentials.

To learn more about service account credentials, see http://cloud.google.com/docs/authentication/external/set-up-adc-on-cloud
  R N A S E Q - N F   P I P E L I N E
  ===================================
  transcriptome: gs://.../ref/transcript.fa
  reads        : gs://.../ref/gut_{1,2}.fq
  outdir       : results
  
Uploading local `bin` scripts folder to gs://.../workdir/tmp/68/9c4b07033bc5dccfd5b0393656d1a0/bin
[-        ] RNASEQ:INDEX  [  0%] 0 of 1
executor >  google-batch (1)
executor >  google-batch (1)
[aa/69ff34] RNASEQ:INDEX (transcript) [  0%] 0 of 1
executor >  google-batch (2)
[aa/69ff34] RNASEQ:INDEX (transcript)     [  0%] 0 of 1
[5a/e1bd9f] RNASEQ:FASTQC (FASTQC on gut) [  0%] 0 of 1
[-        ] RNASEQ:QUANT                  -
[-        ] MULTIQC                       -
WARN: Cannot determine the machine type to be used for task: `RNASEQ:INDEX (transcript)` - If this problem persists disable disable the Cloudinfo service by setting the variable NXF_CLOUDINFO_ENABLED=false in your environment
WARN: Cannot determine the machine type to be used for task: `RNASEQ:FASTQC (FASTQC on gut)` - If this problem persists disable disable the Cloudinfo service by setting the variable NXF_CLOUDINFO_ENABLED=false in your environment

Environment

  • Nextflow version: [25.04.6]
  • Java version: [openjdk version "17.0.15" 2025-04-15]
  • Operating system: [Linux]
  • Bash version: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)

Additional context

This seems related to: #6235 and #4041

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions