Skip to content

Can't disable cost functionality with GCP runs #94

@ejseqera

Description

@ejseqera

Description of the bug

When trying to generate the report for GCP runs with version 0.6.0, without the CUR/cost reports provided, the pipeline still throws an error at the report generation step:

  processing file: main_benchmark_report.qmd
  �[39m1/37                               
  2/37 [import-libraries]            
  3/37                               
  4/37 [blank-html-taglist]          
  5/37                               
  6/37 [read-platform-logs]          
  7/37                               
  8/37 [merge-platform-logs]         
  9/37                               
  10/37 [generate-cost-table]         
  �[31mError in `select()`:
  ! Can't select columns that don't exist.
  ✖ Column `cost` doesn't exist.
  Backtrace:
       ▆
    1. ├─task_data %>% ...
    2. ├─dplyr::select(., run_id, pipeline, group, process, cost, hash)
    3. ├─dplyr:::select.data.frame(., run_id, pipeline, group, process, cost, hash)
    4. │ └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
    5. │   └─tidyselect:::eval_select_impl(...)
    6. │     ├─tidyselect:::with_subscript_errors(...)
    7. │     │ └─base::withCallingHandlers(...)
    8. │     └─tidyselect:::vars_select_eval(...)
    9. │       └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
   10. │         └─tidyselect:::eval_c(expr, data_mask, context_mask)
   11. │           └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
   12. │             └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
   13. │               └─tidyselect:::as_indices_sel_impl(...)
   14. │                 └─tidyselect:::as_indices_impl(...)
   15. │                   └─tidyselect:::chr_as_locations(x, vars, call = call, arg = arg)
   16. │                     └─vctrs::vec_as_location(...)
   17. └─vctrs (local) `<fn>`()
   18.   └─vctrs:::stop_subscript_oob(...)
   19.     └─vctrs:::stop_subscript(...)
   20.       └─rlang::abort(...)
  �[39m�[31m
  Quitting from main_benchmark_report.qmd:283-403 [generate-cost-table]
  �[39m�[31mExecution halted
  �[39m

This is when setting generate_benchmark_report: true and omitting --benchmark_aws_cur_report. Execution log is attached.

Command used and terminal output

Relevant files

nf-4FAigXxSxObyaa.log

System information

  • Nextflow version 25.04.2
  • Executor: GCP

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions