Skip to content

Nextflow reports (resource usage) not working #184

@conjon42

Description

@conjon42

Description of the bug

On all runs of this pipeline, I have not been able to get resource usage metrics in the trace or report files. Upon inspecting the command.log files, I find this error when initiating:

command -v ps &>/dev/null || { >&2 echo "Command 'ps' required by nextflow to collect task metrics cannot be found"; exit 1; 

I suspect this is due to some configuration with the containers used, perhaps they come with a very bare linux distro that does not include these monitoring tools. From the Nextflow documentation on reports:

Nextflow collects trace metrics through a background process for each job in the target environment. Make sure the following tools are available in the environment where tasks are executed: awk, date, grep, ps, sed, tail, tee. Container images that do not include all of these tools may lead to missing data.

I use the singularity containers on HPC. Other pipelines have been able to output these metrics with similarly-sourced containers (Biocontainers and Galaxy Project distributions), but I have not tested any yet that use the exact same tools as used in this pipeline. I will see if I can run test suites on some pipelines that use the same nf-core modules to see if the problem is specific to this pipeline or if it is somewhere higher on the chain.

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