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
1de1507a
Commit
1de1507a
authored
10 years ago
by
jette
Browse files
Options
Downloads
Plain Diff
Merge branch 'slurm-14.03'
parents
70ca95a6
2e8a2dd2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
testsuite/expect/test2.21
+6
-0
6 additions, 0 deletions
testsuite/expect/test2.21
testsuite/expect/test2.22
+11
-5
11 additions, 5 deletions
testsuite/expect/test2.22
testsuite/expect/test2.23
+6
-0
6 additions, 0 deletions
testsuite/expect/test2.23
with
23 additions
and
5 deletions
testsuite/expect/test2.21
+
6
−
0
View file @
1de1507a
...
@@ -39,6 +39,12 @@ set exit_code 0
...
@@ -39,6 +39,12 @@ set exit_code 0
print_header $test_id
print_header $test_id
set min_age [get_min_job_age]
if {$min_age < 10} {
send_user "\nWARNING: MinJobAge too low for this test ($min_age < 10)\n"
exit 0
}
# Remove any vestigial scripts
# Remove any vestigial scripts
exec $bin_rm -f $complete_script $fail_script
exec $bin_rm -f $complete_script $fail_script
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test2.22
+
11
−
5
View file @
1de1507a
...
@@ -38,6 +38,12 @@ set exit_code 0
...
@@ -38,6 +38,12 @@ set exit_code 0
print_header $test_id
print_header $test_id
set min_age [get_min_job_age]
if {$min_age < 10} {
send_user "\nWARNING: MinJobAge too low for this test ($min_age < 10)\n"
exit 0
}
# Remove any vestigial scripts
# Remove any vestigial scripts
exec $bin_rm -f $script
exec $bin_rm -f $script
...
@@ -55,7 +61,7 @@ proc check_hold { job } {
...
@@ -55,7 +61,7 @@ proc check_hold { job } {
exp_continue
exp_continue
}
}
timeout {
timeout {
send_user "\nFAILURE scontrol is not responding\n"
send_user "\nFAILURE
:
scontrol is not responding\n"
set exit_code 1
set exit_code 1
}
}
eof {
eof {
...
@@ -64,7 +70,7 @@ proc check_hold { job } {
...
@@ -64,7 +70,7 @@ proc check_hold { job } {
}
}
if { $hold != 1 } {
if { $hold != 1 } {
send_user "\nFAILURE scontrol did not hold job after it was requeued\n"
send_user "\nFAILURE
:
scontrol did not hold job after it was requeued\n"
set exit_code 1
set exit_code 1
}
}
}
}
...
@@ -128,8 +134,8 @@ expect {
...
@@ -128,8 +134,8 @@ expect {
exp_continue
exp_continue
}
}
timeout {
timeout {
send_user "\nFAILURE sbatch is not responding\n"
send_user "\nFAILURE
:
sbatch is not responding\n"
set exit_code 1
set exit_code 1
get_min_job_age
}
}
eof {
eof {
wait
wait
...
@@ -146,7 +152,7 @@ wait_for_job $job_id DONE
...
@@ -146,7 +152,7 @@ wait_for_job $job_id DONE
spawn $scontrol requeuehold $job_id
spawn $scontrol requeuehold $job_id
expect {
expect {
timeout {
timeout {
send_user "\nFAILURE scontrol is not responding\n"
send_user "\nFAILURE
:
scontrol is not responding\n"
set exit_code 1
set exit_code 1
}
}
eof {
eof {
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test2.23
+
6
−
0
View file @
1de1507a
...
@@ -37,6 +37,12 @@ set exit_code 0
...
@@ -37,6 +37,12 @@ set exit_code 0
print_header $test_id
print_header $test_id
set min_age [get_min_job_age]
if {$min_age < 10} {
send_user "\nWARNING: MinJobAge too low for this test ($min_age < 10)\n"
exit 0
}
# Remove any vestigial files
# Remove any vestigial files
exec $bin_rm -f $script
exec $bin_rm -f $script
...
...
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