Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testsuite: fix a couple brittle tests #909

Merged
merged 2 commits into from Feb 24, 2022

Conversation

grondo
Copy link
Contributor

@grondo grondo commented Feb 19, 2022

This PR fixes issues seen recently in t1006-qmanager-multiqueue.t and t1011-dynstate-change.t as discussed in issues #907 and #908.

grondo and others added 2 commits February 20, 2022 08:36
Problem: The fluxtion resource and qmanager modules are reloaded
multiple times in the t1011-dynstate-change.t test, but sometimes the
resource module fails on a hello response for a job with:

 sched-fluxion-resource.err[0]: parse_R: no scheduling key in R

Force the resource module to emit rv1 instead of rv1_nosched for these
tests to avoid this error.

Fixes flux-framework#907
Problem: The t1006-qmanager-multiqueue.t test fails on systems with
older hwloc with an error message like:

 grow: reader: Error getting the size of block storage device;

Add `load-allowlist=node,core,gpu` to the load options for
sched-fluxion-resource in this test as instructed by @dongahn.

Fixes flux-framework#908

Co-authored-by: Dong H. Ahn <ahn1@llnl.gov>
@codecov
Copy link

codecov bot commented Feb 20, 2022

Codecov Report

Merging #909 (dd08d2e) into master (53cf9aa) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #909   +/-   ##
======================================
  Coverage    73.8%   73.8%           
======================================
  Files          75      75           
  Lines        8485    8485           
======================================
  Hits         6264    6264           
  Misses       2221    2221           

@grondo grondo requested a review from dongahn February 23, 2022 23:46
@dongahn
Copy link
Member

dongahn commented Feb 24, 2022

LGTM.

@dongahn dongahn added the merge-when-passing mergify.io - merge PR automatically once CI passes label Feb 24, 2022
@mergify mergify bot merged commit 20337b0 into flux-framework:master Feb 24, 2022
@grondo
Copy link
Contributor Author

grondo commented Feb 24, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-passing mergify.io - merge PR automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants