Skip to content

Commit 9c0884c

Browse files
committed
testsuite: update output, add cross-rack resource-query tests
Problem: there are no tests for correct behavior of partial cancel with cross-rack allocations observed on production clusters using JGF. Add the reproducer and test for both low and lonodex policies, and different specificities of resources with various aggregate filter configurations.
1 parent 5d67d6b commit 9c0884c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+173471
-97615
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test024.yaml
2+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test025.yaml
3+
partial-cancel 2 rv1exec @TEST_SRCDIR@/data/resource/rv1exec/cancel/ranks_cancel_crossracks.json stats
4+
find sched-now=allocated
5+
find jobid-span=2
6+
find jobid-tag=2
7+
info 2
8+
cancel 2 stats
9+
find sched-now=allocated
10+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test025.yaml
11+
find sched-now=allocated
12+
quit
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test026.yaml
2+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test027.yaml
3+
partial-cancel 2 rv1exec @TEST_SRCDIR@/data/resource/rv1exec/cancel/ranks_cancel_crossracks.json stats
4+
find sched-now=allocated
5+
find jobid-span=2
6+
find jobid-tag=2
7+
info 2
8+
cancel 2 stats
9+
find sched-now=allocated
10+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test027.yaml
11+
find sched-now=allocated
12+
quit
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test028.yaml
2+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test027.yaml
3+
partial-cancel 2 rv1exec @TEST_SRCDIR@/data/resource/rv1exec/cancel/ranks_cancel_crossracks.json stats
4+
find sched-now=allocated
5+
find jobid-span=2
6+
find jobid-tag=2
7+
info 2
8+
cancel 2 stats
9+
find sched-now=allocated
10+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test027.yaml
11+
find sched-now=allocated
12+
quit
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test022.yaml
2+
find sched-now=allocated
3+
partial-cancel 1 jgf @TEST_SRCDIR@/data/resource/jgfs/elastic/node-1-partial-cancel-invalid.json
4+
find sched-now=allocated
5+
info 1
6+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test023.yaml
7+
find sched-now=allocated
8+
quit
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test018.yaml
2+
find sched-now=allocated
3+
partial-cancel 1 rv1exec @TEST_SRCDIR@/data/resource/rv1exec/cancel/rank1_cancel_invalid.json
4+
find sched-now=allocated
5+
info 1
6+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test019.yaml
7+
find sched-now=allocated
8+
quit
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test029.yaml
2+
partial-cancel 1 rv1exec @TEST_SRCDIR@/data/resource/rv1exec/cancel/ranks_cancel_crossracks_simple.json stats
3+
find sched-now=allocated
4+
find jobid-span=1
5+
find jobid-tag=1
6+
info 1
7+
cancel 1 stats
8+
find sched-now=allocated
9+
find jobid-span=1
10+
find jobid-tag=1
11+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/cancel/test029.yaml
12+
find sched-now=allocated
13+
quit

0 commit comments

Comments
 (0)