Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
b7c1e9bb
Commit
b7c1e9bb
authored
7 years ago
by
Brian Christiansen
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Alter test to use the -M option to validate functionality in the"
This reverts commit
1458a0c6
.
parent
55590b99
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/expect/test37.12
+28
-27
28 additions, 27 deletions
testsuite/expect/test37.12
with
28 additions
and
27 deletions
testsuite/expect/test37.12
+
28
−
27
View file @
b7c1e9bb
...
...
@@ -326,7 +326,7 @@ set reg_default "Submitted batch job ($number)"
sbatch_to "--test-only" $regex
set ji0 [sbatch_to "-t5
-M$fedc1
" $reg_default]
set ji0 [sbatch_to "-t5" $reg_default]
set f1 [wait_for_fed_job $ji0 RUNNING [join $feds ","]]
sleep 2
...
...
@@ -334,9 +334,10 @@ sleep 2
set feds [lremove $feds $f1]
set regex [build_regex $feds]
sbatch_to "--test-only" $regex
sbatch_to "--test-only -M$f1" [build_regex $f1]
sbatch_to "--test-only" $regex
sbatch_to "--test-only" $regex
set ji1 [sbatch_to "-t10
-M$fedc2
" $reg_default]
set ji1 [sbatch_to "-t10" $reg_default]
set f2 [wait_for_fed_job $ji1 RUNNING [join $feds ","]]
sleep 2
...
...
@@ -344,7 +345,8 @@ sleep 2
set feds [lremove $feds $f2]
set regex [build_regex $feds]
sbatch_to "--test-only" $regex
sbatch_to "--test-only -M$f1,$f2" [build_regex $f1]
sbatch_to "--test-only" $regex
sbatch_to "--test-only" $regex
set ji2 [sbatch_to "-t15" $reg_default]
set f3 [wait_for_fed_job $ji2 RUNNING [join $feds ","]]
...
...
@@ -352,8 +354,8 @@ sleep 2
set regex [build_regex $f1]
sbatch_to "--test-only" $regex
sbatch_to "--test-only
-M$f1,$f2" [build_regex $f1]
sbatch_to "--test-only
-M$f2,$f3" [build_regex $f2]
sbatch_to "--test-only
" $regex
sbatch_to "--test-only
" $regex
set pend_job [sbatch_to "-M$f1 -t50" $reg_default]
set pend_cluster [wait_for_fed_job $pend_job PENDING $f1]
...
...
@@ -364,8 +366,8 @@ if {[string compare $pend_cluster ""] == 0} {
set regex [build_regex $f2]
sbatch_to "--test-only" $regex
sbatch_to "--test-only
-M$f1,$f2" [build_regex $f2]
sbatch_to "--test-only
-M$f2,$f3" [build_regex $f2]
sbatch_to "--test-only
" $regex
sbatch_to "--test-only
" $regex
set pend_job [sbatch_to "-M$f2 -t50" $reg_default]
set pend_cluster [wait_for_fed_job $pend_job PENDING $f2]
...
...
@@ -376,9 +378,8 @@ if {[string compare $pend_cluster ""] == 0} {
set regex [build_regex $f3]
sbatch_to "--test-only" $regex
sbatch_to "--test-only -M$f1" [build_regex $f1]
sbatch_to "--test-only -M$f1,$f2" [build_regex $f1]
sbatch_to "--test-only -M$f2,$f3" [build_regex $f3]
sbatch_to "--test-only" $regex
sbatch_to "--test-only" $regex
set pend_job [sbatch_to "-M$f3 -t50" $reg_default]
set pend_cluster [wait_for_fed_job $pend_job PENDING $f3]
...
...
@@ -389,7 +390,8 @@ if {[string compare $pend_cluster ""] == 0} {
set regex [build_regex $f1]
sbatch_to "--test-only" $regex
sbatch_to "--test-only -M$f3" [build_regex $f3]
sbatch_to "--test-only" $regex
sbatch_to "--test-only" $regex
...
...
@@ -422,7 +424,7 @@ set reg_default "srun: job ($number).+\\n"
srun "--test-only" $regex
set ji0 [srun "-t5
-$fedc1
" $reg_default]
set ji0 [srun "-t5" $reg_default]
set f1 [wait_for_fed_job $ji0 RUNNING [join $feds ","]]
sleep 2
...
...
@@ -430,11 +432,10 @@ set fed [lremove $feds $f1]
set regex [build_regex $feds]
srun "--test-only" $regex
sbatch_to "--test-only" $regex
sbatch_to "--test-only -M$f1" [build_regex $f1]
srun "--test-only" $regex
srun "--test-only" $regex
set ji1 [srun "-t10
-M$fedc2
" $reg_default]
set ji1 [srun "-t10" $reg_default]
set f2 [wait_for_fed_job $ji1 RUNNING [join $feds ","]]
sleep 2
...
...
@@ -442,8 +443,8 @@ set feds [lremove $feds $f2]
set regex [build_regex $feds]
srun "--test-only" $regex
s
batch_to
"--test-only" $regex
s
batch_to
"--test-only
-M$f1,$f2" [build_regex $f1]
s
run
"--test-only" $regex
s
run
"--test-only
" $regex
set ji2 [srun "-t15" $reg_default]
set f3 [wait_for_fed_job $ji2 RUNNING [join $feds ","]]
...
...
@@ -451,8 +452,8 @@ set regex [build_regex $f1]
sleep 2
srun "--test-only" $regex
s
batch_to
"--test-only
-M$f1,$f2" [build_regex $f1]
s
batch_to
"--test-only
-M$f2,$f3" [build_regex $f2]
s
run
"--test-only
" $regex
s
run
"--test-only
" $regex
set pend_job [srun "-M$f1 -t50" $reg_default]
set pend_cluster [wait_for_fed_job $pend_job PENDING $f1]
...
...
@@ -463,8 +464,8 @@ if {[string compare $pend_cluster ""] == 0} {
set regex [build_regex $f2]
srun "--test-only" $regex
s
batch_to
"--test-only
-M$f1,$f2" [build_regex $f2]
s
batch_to
"--test-only
-M$f2,$f3" [build_regex $f2]
s
run
"--test-only
" $regex
s
run
"--test-only
" $regex
set pend_job [srun "-M$f2 -t50" $reg_default]
set pend_cluster [wait_for_fed_job $pend_job PENDING $f2]
...
...
@@ -475,9 +476,8 @@ if {[string compare $pend_cluster ""] == 0} {
set regex [build_regex $f3]
srun "--test-only" $regex
sbatch_to "--test-only -M$f1" [build_regex $f1]
sbatch_to "--test-only -M$f1,$f2" [build_regex $f1]
sbatch_to "--test-only -M$f2,$f3" [build_regex $f3]
srun "--test-only" $regex
srun "--test-only" $regex
set pend_job [srun "-M$f3 -t50" $reg_default]
set pend_cluster [wait_for_fed_job $pend_job PENDING $f3]
...
...
@@ -488,7 +488,8 @@ if {[string compare $pend_cluster ""] == 0} {
set regex [build_regex $f1]
srun "--test-only" $regex
sbatch_to "--test-only -M$f3" [build_regex $f3]
srun "--test-only" $regex
srun "--test-only" $regex
set matches 0
spawn $my_srun -N11 --exclusive --test-only sleep 30
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment