Closed vkarak closed 6 months ago
Attention: Patch coverage is 79.41176%
with 7 lines
in your changes are missing coverage. Please review.
Project coverage is 86.65%. Comparing base (
7e6514a
) to head (b5bb0ea
).
Files | Patch % | Lines |
---|---|---|
reframe/core/schedulers/__init__.py | 69.56% | 7 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The key problem with those options currently is that there is no way to select a node that is exclusively in the
idle
state. As a result, nodes inidle+drain
etc. states will be selected and jobs will be blocked forever. This PR fixes this by introducing exclusive state selection. More specifically, the following changes are made:STATE
argument implies exclusive state selection.STATE*
, meaning that a node to be selected must be at least in stateSTATE
.avail
is added which will selected all the nodes available for running a job. For Slurm, these are nodes inIDLE
,ALLOCATED
orCOMPLETING
states.Closes #2258.