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
eac226ed
Commit
eac226ed
authored
8 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Replace "lost" with "runaway" in regresion test
parent
3766b05e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/expect/README
+1
-1
1 addition, 1 deletion
testsuite/expect/README
testsuite/expect/test21.36
+8
-8
8 additions, 8 deletions
testsuite/expect/test21.36
with
9 additions
and
9 deletions
testsuite/expect/README
+
1
−
1
View file @
eac226ed
...
...
@@ -671,7 +671,7 @@ test21.32 Validate that mod qos =,+=,-= change the preempt value
test21.33 Validate that a resource can be added to a cluster after creation
test21.34 Validate that partition and job qos limits are enforced
test21.35 Validate DenyOnLimit QoS flag is enforced on QoS and Associations.
test21.36 Validate that sacctmgr
lost
jobs fixes
lost
jobs.
test21.36 Validate that sacctmgr
runaway
jobs fixes
runaway
jobs.
test22.# Testing of sreport commands and options.
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test21.36
+
8
−
8
View file @
eac226ed
#!/usr/bin/env expect
############################################################################
# Purpose: Test of SLURM functionality
# Validates that sacctmgr
lost
jobs returns
lost
jobs
# Validates that sacctmgr
runaway
jobs returns
runaway
jobs
#
# Output: "TEST: #.#" followed by "SUCCESS" if test was successful, OR
# "FAILURE: ..." otherwise with an explanation of the failure, OR
...
...
@@ -201,13 +201,13 @@ if {[archive_load $sql_query]} {
endit
}
# Test sacctmgr show
lost
jobs
# Test sacctmgr show
runaway
jobs
set list_job 0
# Use temp conf file to use different cluster name.
set env(SLURM_CONF) $test_conf_file
spawn $sacctmgr show -i
lost
jobs
spawn $sacctmgr show -i
runaway
jobs
expect {
-re "NOTE:
Lost
jobs" {
-re "NOTE:
Runaway
jobs" {
set list_job 1
exp_continue
}
...
...
@@ -221,16 +221,16 @@ expect {
}
if {$list_job != 1} {
send_user "\nFAILURE: sacctmgr did not find any
lost
jobs when "
send_user "\nFAILURE: sacctmgr did not find any
runaway
jobs when "
send_user "it should have\n"
endit
}
# Check that jobs were fixed
set list_job 0
spawn $sacctmgr show -i
lost
jobs
spawn $sacctmgr show -i
runaway
jobs
expect {
-re "No
lost
jobs found" {
-re "No
runaway
jobs found" {
set list_job 1
exp_continue
}
...
...
@@ -244,7 +244,7 @@ expect {
}
if {$list_job != 1} {
send_user "\nFAILURE: sacctmgr found
lost
jobs when "
send_user "\nFAILURE: sacctmgr found
runaway
jobs when "
send_user "it should not have\n"
endit
}
...
...
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