Skip to content

Conversation

@kraushm
Copy link
Contributor

@kraushm kraushm commented Mar 12, 2019

Modifying the way the set of available nodes is built in SLURM, in order to prevent erroneous entries (e. g. "not found")

Fixes #694

@kraushm kraushm added this to the ReFrame sprint 2019w10 milestone Mar 12, 2019
@kraushm kraushm self-assigned this Mar 12, 2019
@kraushm kraushm requested review from teojgo and vkarak March 12, 2019 15:37
@vkarak
Copy link
Contributor

vkarak commented Mar 12, 2019

@kraushm Why this is a WIP?

@kraushm kraushm changed the title WIP: [bugfix] Prevent "not found" entries in nodelist generated with scontrol [bugfix] Prevent "not found" entries in nodelist generated with scontrol Mar 12, 2019
@kraushm kraushm changed the title [bugfix] Prevent "not found" entries in nodelist generated with scontrol WIP: [bugfix] Prevent "not found" entries in nodelist generated with scontrol Mar 12, 2019
@pep8speaks
Copy link

pep8speaks commented Mar 12, 2019

Hello @kraushm, Thank you for updating!

Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide

Comment last updated at 2019-03-14 15:01:56 UTC

@kraushm kraushm force-pushed the bugfix/improper-scontrol-output-handling branch from 4e217f5 to 041941a Compare March 12, 2019 16:54
@kraushm kraushm changed the title WIP: [bugfix] Prevent "not found" entries in nodelist generated with scontrol [bugfix] Prevent "not found" entries in nodelist generated with scontrol Mar 12, 2019
@kraushm
Copy link
Contributor Author

kraushm commented Mar 13, 2019

@jenkins-cscs retry kesch

@codecov-io
Copy link

codecov-io commented Mar 13, 2019

Codecov Report

Merging #713 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #713      +/-   ##
==========================================
- Coverage   91.82%   91.79%   -0.03%     
==========================================
  Files          77       77              
  Lines        9488     9491       +3     
==========================================
  Hits         8712     8712              
- Misses        776      779       +3
Impacted Files Coverage Δ
reframe/core/schedulers/slurm.py 59.07% <0%> (-0.64%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3868fd6...8e7fb55. Read the comment docs.

@vkarak vkarak requested a review from victorusu March 13, 2019 12:47
Copy link
Contributor

@victorusu victorusu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@teojgo teojgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Tested both with valid and invalid node names and works fine.

@kraushm
Copy link
Contributor Author

kraushm commented Mar 13, 2019

@jenkins-cscs retry daint

@vkarak vkarak changed the title [bugfix] Prevent "not found" entries in nodelist generated with scontrol [bugfix] Fix Slurm backend failures when trying node lists with inexistent nodes Mar 14, 2019
Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vkarak vkarak merged commit 70d3dff into reframe-hpc:master Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants