Skip to content

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

nordugrid-arc-bot requested to merge floridop/arc:dev-LSFfix into next

Begin arcbot message
This merge request is automatically copied from !1330 (merged) orginally made by @floridop
End arcbot message

## 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.

Merge request reports