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
36e887c2
Commit
36e887c2
authored
8 years ago
by
Morris Jette
Browse files
Options
Downloads
Plain Diff
Merge branch 'slurm-16.05'
parents
56ff27da
457086fe
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+2
-0
2 additions, 0 deletions
NEWS
testsuite/expect/test1.89
+47
-34
47 additions, 34 deletions
testsuite/expect/test1.89
with
49 additions
and
34 deletions
NEWS
+
2
−
0
View file @
36e887c2
...
@@ -173,6 +173,8 @@ documents those changes that are of interest to users and administrators.
...
@@ -173,6 +173,8 @@ documents those changes that are of interest to users and administrators.
-- Remove StoragePass from being printed out in the slurmdbd log at debug2
-- Remove StoragePass from being printed out in the slurmdbd log at debug2
level.
level.
-- Defer PATH search for task program until launch in slurmstepd.
-- Defer PATH search for task program until launch in slurmstepd.
-- Modify regression test1.89 to avoid leaving vestigial job. Also reduce
logging to reduce likelyhood of Expect buffer overflow.
* Changes in Slurm 16.05.7
* Changes in Slurm 16.05.7
==========================
==========================
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test1.89
+
47
−
34
View file @
36e887c2
...
@@ -89,7 +89,7 @@ exec $bin_chmod 700 $file_prog
...
@@ -89,7 +89,7 @@ exec $bin_chmod 700 $file_prog
# Create an allocation
# Create an allocation
#
#
set timeout $max_job_delay
set timeout $max_job_delay
set salloc_pid [spawn $salloc -N1 --exclusive
-v
-t5 $bin_bash]
set salloc_pid [spawn $salloc -N1 --exclusive -t5 $bin_bash]
expect {
expect {
-re "Granted job allocation ($number)" {
-re "Granted job allocation ($number)" {
set job_id $expect_out(1,string)
set job_id $expect_out(1,string)
...
@@ -142,7 +142,7 @@ expect {
...
@@ -142,7 +142,7 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
slow_kill $salloc_p
id
cancel_job $job_
id
exit 1
exit 1
}
}
-re $prompt {
-re $prompt {
...
@@ -159,8 +159,8 @@ if {$task_cnt > 32} {
...
@@ -159,8 +159,8 @@ if {$task_cnt > 32} {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
slow_kill $salloc_p
id
cancel_job $job_
id
set exit_code
1
exit
1
}
}
eof {
eof {
wait
wait
...
@@ -193,7 +193,8 @@ expect {
...
@@ -193,7 +193,8 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exit 1
}
}
-re $prompt {
-re $prompt {
}
}
...
@@ -238,9 +239,11 @@ expect {
...
@@ -238,9 +239,11 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
if {$task_mask != $task_cnt} {
if {$task_mask != $task_cnt} {
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $task_cnt)\n"
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $task_cnt)\n"
...
@@ -261,9 +264,11 @@ expect {
...
@@ -261,9 +264,11 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
# Both task/affinity and task/cpu will generate verbose message,
# Both task/affinity and task/cpu will generate verbose message,
# so check for double messages in case both plugins are configured.
# so check for double messages in case both plugins are configured.
...
@@ -293,10 +298,11 @@ while {$cpu_cnt < $task_cnt} {
...
@@ -293,10 +298,11 @@ while {$cpu_cnt < $task_cnt} {
timeout {
timeout {
send_user "\nFAILURE: salloc not "
send_user "\nFAILURE: salloc not "
send_user "responding or failure to recognize prompt\n"
send_user "responding or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exp_continue
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
if {$mask_sum != $task_cnt * $mask} {
if {$mask_sum != $task_cnt * $mask} {
send_user "\nFAILURE: affinity mask inconsistent ($mask_sum != $task_cnt * $mask)\n"
send_user "\nFAILURE: affinity mask inconsistent ($mask_sum != $task_cnt * $mask)\n"
...
@@ -327,10 +333,11 @@ while {$cpu_cnt < $task_cnt} {
...
@@ -327,10 +333,11 @@ while {$cpu_cnt < $task_cnt} {
timeout {
timeout {
send_user "\nFAILURE: salloc not "
send_user "\nFAILURE: salloc not "
send_user "responding or failure to recognize prompt\n"
send_user "responding or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exp_continue
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
if {$mask_sum != $task_cnt * $mask} {
if {$mask_sum != $task_cnt * $mask} {
send_user "\nFAILURE: affinity mask inconsistent ($mask_sum != $task_cnt * $mask)\n"
send_user "\nFAILURE: affinity mask inconsistent ($mask_sum != $task_cnt * $mask)\n"
...
@@ -403,10 +410,11 @@ expect {
...
@@ -403,10 +410,11 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exp_continue
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
if {$task_mask != $full_mask} {
if {$task_mask != $full_mask} {
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
...
@@ -431,10 +439,11 @@ expect {
...
@@ -431,10 +439,11 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exp_continue
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
if {$task_mask != $full_mask} {
if {$task_mask != $full_mask} {
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
...
@@ -459,10 +468,11 @@ expect {
...
@@ -459,10 +468,11 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exp_continue
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
if {$task_mask != $full_mask} {
if {$task_mask != $full_mask} {
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
...
@@ -487,10 +497,11 @@ expect {
...
@@ -487,10 +497,11 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exp_continue
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
if {$task_mask != $full_mask} {
if {$task_mask != $full_mask} {
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
...
@@ -515,10 +526,11 @@ expect {
...
@@ -515,10 +526,11 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exp_continue
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
if {$task_mask != $full_mask} {
if {$task_mask != $full_mask} {
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
...
@@ -543,10 +555,11 @@ expect {
...
@@ -543,10 +555,11 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
set exit_code 1
cancel_job $job_id
exp_continue
exit 1
}
-re $prompt {
}
}
-re $prompt
}
}
if {$task_mask != $full_mask} {
if {$task_mask != $full_mask} {
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
send_user "\nFAILURE: affinity mask inconsistent ($task_mask != $full_mask)\n"
...
@@ -565,7 +578,7 @@ expect {
...
@@ -565,7 +578,7 @@ expect {
timeout {
timeout {
send_user "\nFAILURE: salloc not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
slow_kill $salloc_p
id
cancel_job $job_
id
set exit_code 1
set exit_code 1
}
}
eof {
eof {
...
...
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