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
d917d5e9
Commit
d917d5e9
authored
7 years ago
by
Brian Christiansen
Browse files
Options
Downloads
Patches
Plain Diff
Update test37.7 with fed drain/remove updates
parent
cfb7a484
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/test37.7
+8
-16
8 additions, 16 deletions
testsuite/expect/test37.7
with
8 additions
and
16 deletions
testsuite/expect/test37.7
+
8
−
16
View file @
d917d5e9
...
@@ -57,7 +57,7 @@ set my_sbatch "${fed_slurm_base}/$fedc1/bin/sbatch"
...
@@ -57,7 +57,7 @@ set my_sbatch "${fed_slurm_base}/$fedc1/bin/sbatch"
set my_srun "${fed_slurm_base}/$fedc1/bin/srun"
set my_srun "${fed_slurm_base}/$fedc1/bin/srun"
set my_salloc "${fed_slurm_base}/$fedc1/bin/salloc"
set my_salloc "${fed_slurm_base}/$fedc1/bin/salloc"
set my_squeue "${fed_slurm_base}/$fedc1/bin/squeue"
set my_squeue "${fed_slurm_base}/$fedc1/bin/squeue"
set
min_job_age [expr {[get_min_job_age] + 65}]
set
drain_time 10
set eol "\r\n"
set eol "\r\n"
...
@@ -403,15 +403,8 @@ sleep 10
...
@@ -403,15 +403,8 @@ sleep 10
squeue ""
squeue ""
log_info "Sleep $min_job_age seconds until system is drained"
log_info "Sleep $drain_time seconds until system is drained"
sleep $min_job_age
sleep $drain_time
scontrol jobs "No jobs in the system"
scontrol fed ".+DRAIN.+ACTIVE.+"
log_info "Sleep 35 more seconds until system is drained"
sleep 35
scontrol fed ".+DRAINED.+ACTIVE.+"
scontrol fed ".+DRAINED.+ACTIVE.+"
...
@@ -462,17 +455,16 @@ sbatch 1 1
...
@@ -462,17 +455,16 @@ sbatch 1 1
squeue ""
squeue ""
scontrol jobs "JobId.+"
log_info "Sleep $drain_time seconds until system is removed"
sleep $drain_time
log_info "Sleep $min_job_age seconds until system is drained"
sleep $min_job_age
scontrol jobs "No jobs in the system"
scontrol fed ""
scontrol fed ""
sacctmgr_show "\\s+ACTIVE\\s+"
sacctmgr_show "\\s+ACTIVE\\s+"
# Once the system is drained, the controller will mark all jobs as non-requeueable.
scontrol jobs "Requeue=0.+"
set matches 0
set matches 0
spawn $my_sacctmgr mod fed $fed_name set clusters+=$fedc1 -i
spawn $my_sacctmgr mod fed $fed_name set clusters+=$fedc1 -i
...
...
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