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
24bca89c
Commit
24bca89c
authored
8 years ago
by
Morris Jette
Browse files
Options
Downloads
Plain Diff
Merge branch 'slurm-15.08' into slurm-16.05
parents
5453fb87
3d050969
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/expect/test15.22
+10
-2
10 additions, 2 deletions
testsuite/expect/test15.22
with
10 additions
and
2 deletions
testsuite/expect/test15.22
+
10
−
2
View file @
24bca89c
...
@@ -131,9 +131,15 @@ if (![string compare $other_part_name ""]) {
...
@@ -131,9 +131,15 @@ if (![string compare $other_part_name ""]) {
#
#
# Submit job explicitly to a non-default partition
# Submit job explicitly to a non-default partition
#
#
set job_id 0
set job_id 0
set legit_failure 0
set salloc_pid [spawn $salloc --partition=$other_part_name -t1 $bin_sleep 1]
set salloc_pid [spawn $salloc --partition=$other_part_name -t1 $bin_sleep 1]
expect {
expect {
-re "Required node not available" {
set legit_failure 1
exec $bin_kill -INT $salloc_pid
exp_continue
}
-re "Granted job allocation ($number)" {
-re "Granted job allocation ($number)" {
set job_id $expect_out(1,string)
set job_id $expect_out(1,string)
exp_continue
exp_continue
...
@@ -151,7 +157,9 @@ expect {
...
@@ -151,7 +157,9 @@ expect {
}
}
}
}
# Confirm the job's partition
# Confirm the job's partition
if {$job_id == 0} {
if {$legit_failure == 1} {
send_user "\nWARNING: partition '$other_part_name' is not usable\n"
} elseif {$job_id == 0} {
send_user "\nFAILURE: batch submit failure\n"
send_user "\nFAILURE: batch submit failure\n"
set exit_code 1
set exit_code 1
} else {
} else {
...
...
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