1
1
############################################################################
2
# Copyright (C) 2008 Lawrence Livermore National Security.
3
2
# Copyright (C) 2002-2007 The Regents of the University of California.
3
# Copyright (C) 2008-2009 Lawrence Livermore National Security.
4
4
# Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
5
5
# Written by Morris Jette <jette1@llnl.gov>
6
6
# Additionals by Joseph Donaghy <donaghy1@llnl.gov>
7
# CODE-OCEC-09-009. All rights reserved.
9
9
# This file is part of SLURM, a resource management program.
10
# For details, see <http://www.llnl.gov/linux/slurm/>.
10
# For details, see <https://computing.llnl.gov/linux/slurm/>.
11
# Please also read the supplied file: DISCLAIMER.
12
13
# SLURM is free software; you can redistribute it and/or modify it under
13
14
# the terms of the GNU General Public License as published by the Free
139
140
test1.42 Test of job dependencies (--dependency option).
140
141
test1.43 Test of slurm_job_will_run API, (srun --test-only option).
141
142
test1.44 Read srun's stdout slowly and test for lost data.
143
test1.45 Test srun option --preserve-env
143
144
test1.46 Test srun option --kill-on-bad-exit
144
145
test1.47 Test of job dependencies with singleton parameter.
145
146
test1.48 Test of srun mail options (--mail-type and --mail-user options).
156
157
test1.57 Test of srun --jobid for a new job allocation (used by Moab)
157
158
test1.58 Test of srun --jobid for an existing job allocation
158
159
test1.59 Test of hostfile logic for job steps
160
test1.60 Test of labelling output when writing a file per task or per node
160
162
**NOTE** The following tests attempt to utilize multiple CPUs or partitions,
161
163
The test will print "WARNING" and terminate with an exit code of
197
199
test2.9 Validate scontrol completing command.
198
200
test2.10 Validate scontrol oneliner mode (--oneliner option).
199
201
test2.11 Validate scontrol listpids command.
202
test2.12 Validate scontrol show topology option.
202
205
test3.# Testing of scontrol options (best run as SlurmUser or root).
211
214
test3.8 Test of batch job requeue.
212
215
test3.9 Test of "scontrol show slurmd"
213
216
test3.10 Test of "scontrol notify <jobid> <message>"
217
test3.11 Validate scontrol create, delete, and update of reservations.
214
218
UNTESTED "scontrol abort" would stop slurm
215
219
UNTESTED "scontrol shutdown" would stop slurm
267
271
test6.12 Test scancel signal to batch script (--batch option)
268
272
test6.13 Test routing all signals through slurmctld rather than directly
269
273
to slurmd (undocumented --ctld option).
274
test6.14 Test scancel nodelist option (--nodelist or -w)
271
276
test7.# Testing of other functionality.
272
277
==========================================
299
304
test8.2 Test of Blue Gene specific sbatch environment variables
300
305
test8.3 Test of Blue Gene specific job geometry support
301
306
test8.4 Test of Blue Gene MPI job execution
302
test8.5 Confirm we can make a 32, 128, and 512 cnode block.
307
test8.5 Test creation of all blocks 1 midplane and smaller.
303
308
test8.6 Stress test Dynamic mode block creation.
304
309
test8.7 Test of Blue Gene scheduling with sched/wik2 plugin.
351
356
test12.1 Test sacct --help option.
352
357
test12.2 Test validity/accuracy of accounting data for exit code,
353
358
memory and real-time information along with stating a running job.
354
(There are many more tests that should probably be added, but HP
355
is taking responsibility for validating this code, so we'll stick
356
with the basics here.)
360
test12.4 Test sacct --b, g, j, l, n, p, u, v options.
361
test12.5 Test sacct --helpformat option.
359
364
test13.# Testing of switch plugins
456
461
test17.18 Test of job dependencies and deferred begin time (--depedency
457
462
and --begin options).
458
test17.19 Test the launch of a batch job within an existing job allocation.
459
This logic is used by LSF
460
464
test17.20 Test of mail options (--mail-type and --mail-user options)
461
465
test17.21 Tests #SLURM entry functionality in a batch script
462
466
test17.22 Test of running non-existant job, confirm timely termination.
521
525
test21.22 sacctmgr load file
522
526
test21.23 sacctmgr wckey
523
527
test21.24 sacctmgr dump file
528
test21.25 sacctmgr show config
529
test21.26 sacctmgr +=, -= modify QoS test
531
test22.# Testing of sreport commands and options.
532
These also test the sacctmgr archive dump/load functions.
533
=================================================
534
test22.1 sreport cluster utilization report
535
test22.2 sreport h, n, p, P, t, V options
537
test23.# Testing of sstat commands and options.
538
=================================================
539
test23.1 sstat -e, h, usage and V options
540
test23.2 sstat --helpformat
541
test23.3 sstat -a, n, o, p, P, v options
543
test24.# Testing of sshare/priority multifactor plugin.
544
=================================================
545
test24.1 multifactor plugin algo test
546
test24.2 sshare h, n, p, P, v, and V options.
548
test25.# Testing of sprio command and options.
549
=================================================
550
test25.1 sprio all options