Skip to content

Small fix to prevent LSF to crash infoproviders in case job information is incomplete

Florido Paganelli requested to merge floridop/arc:dev-LSFfix into master

Small fix to prevent LSF to crash infoproviders in case job information is incomplete

This work was discussed in https://ggus.eu/index.php?mode=ticket_info&ticket_id=154333

Description

This fix checks that the old arc modules return node information for a job.

Some old LRMS infoprovider modules like LSF may return incomplete job information under certain conditions. This caused the ARC0mod.pm module to crash on undefined reference. This fix just checks if the expected data exists in the data structure.

It is not clear how this affects other LRMS, so I set this MR as a WIP until I get positive feedback from other users of the module, to my knowledge PBS.pm and Boinc.pm at the moment

This MR also contains small fixes for PBS and PBSPRO logging verbosity.

Various tests seems to indicate this is safe to merge.

Edited by Florido Paganelli

Merge request reports