Skip to content

ReFrame fails on Dom reporting wrong reason #382

@vkarak

Description

@vkarak

Originally created by @lucamar.

Several daily tests failed today with a reason like the following:
Reason: caught framework exception: could not load module VASP

See the full log here

The reason is incorrect, since the module VASP is actually loaded and it can be used correctly. However ReFrame detects an error message printed on stdout for another missing modulefile:

$ module load daint-mc
$ module load VASP
atp(3):ERROR:105: Unable to locate a modulefile for 'atp/2.1.1'
CrayIntel/.17.08(3):ERROR:102: Tcl command execution failed: if { [ is-loaded atp ] } {
module swap atp atp/2.1.1
} else {
module load atp/2.1.1
}

More details in this CSCS ticket.

I think that ReFrame should check if the target modulefile is actually present in the module list, before skipping the test and reporting a failure.

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