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
481f5a96
Commit
481f5a96
authored
13 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetic mods
parent
07e0dcf9
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/inc12.3.2
+7
-12
7 additions, 12 deletions
testsuite/expect/inc12.3.2
with
7 additions
and
12 deletions
testsuite/expect/inc12.3.2
+
7
−
12
View file @
481f5a96
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
source ./globals
source ./globals
source ./globals_accounting
source ./globals_accounting
proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 job_1_node_2 job_2_node_
1
job_2_node_
2
} {
proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 job_1_node_2 job_2_node_
0
job_2_node_
1
} {
global alpha_numeric_under sacct
global alpha_numeric_under sacct
global exit_code
global exit_code
...
@@ -37,7 +37,6 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
...
@@ -37,7 +37,6 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
set job_2_match 0
set job_2_match 0
spawn $sacct -A '$test_acct' -N$job_1_node_0
spawn $sacct -A '$test_acct' -N$job_1_node_0
expect {
expect {
-re "$job_id_1" {
-re "$job_id_1" {
incr job_1_match
incr job_1_match
exp_continue
exp_continue
...
@@ -69,7 +68,6 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
...
@@ -69,7 +68,6 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
set job_2_match 0
set job_2_match 0
spawn $sacct -A '$test_acct' -N$job_1_node_2
spawn $sacct -A '$test_acct' -N$job_1_node_2
expect {
expect {
-re "$job_id_1" {
-re "$job_id_1" {
incr job_1_match
incr job_1_match
exp_continue
exp_continue
...
@@ -92,12 +90,11 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
...
@@ -92,12 +90,11 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
}
}
send_user "\nSearch for jobs on node: $job_2_node_
1
\n"
send_user "\nSearch for jobs on node: $job_2_node_
0
\n"
set job_1_match 0
set job_1_match 0
set job_2_match 0
set job_2_match 0
spawn $sacct -A '$test_acct' -N$job_2_node_
1
spawn $sacct -A '$test_acct' -N$job_2_node_
0
expect {
expect {
-re "$job_id_1" {
-re "$job_id_1" {
incr job_1_match
incr job_1_match
exp_continue
exp_continue
...
@@ -115,17 +112,16 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
...
@@ -115,17 +112,16 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
}
}
}
}
if {$job_2_match != 1} {
if {$job_2_match != 1} {
send_user "\nFAILURE:sacct was unable to find the job $job_id_2 on node $job_2_node_
1
($job_2_match != 1)\n"
send_user "\nFAILURE:sacct was unable to find the job $job_id_2 on node $job_2_node_
0
($job_2_match != 1)\n"
set exit_code 1
set exit_code 1
}
}
send_user "\nSearch for jobs on node: $job_2_node_
2
\n"
send_user "\nSearch for jobs on node: $job_2_node_
1
\n"
set job_1_match 0
set job_1_match 0
set job_2_match 0
set job_2_match 0
spawn $sacct -A '$test_acct' -N$job_2_node_
2
spawn $sacct -A '$test_acct' -N$job_2_node_
1
expect {
expect {
-re "$job_id_1" {
-re "$job_id_1" {
incr job_1_match
incr job_1_match
exp_continue
exp_continue
...
@@ -142,9 +138,8 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
...
@@ -142,9 +138,8 @@ proc inc12_3_2 {job_id_1 job_id_2 job_name_1 job_name_2 test_acct job_1_node_0 j
wait
wait
}
}
}
}
if {$job_2_match != 1} {
if {$job_2_match != 1} {
send_user "\nFAILURE: sacct was unable to find the job $job_id_2 on node $job_2_node_
2
($job_2_match != 1)\n"
send_user "\nFAILURE: sacct was unable to find the job $job_id_2 on node $job_2_node_
1
($job_2_match != 1)\n"
set exit_code 1
set exit_code 1
}
}
}
}
...
...
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