Functionality #15443

automate test run

Added by Antoine Beaupré over 7 years ago. Updated about 2 months ago.

Target version:
Start date:
Due date:
% Done:


RT ticket:


we should have a shell script that we can run after login, or that runs straight on boot, and that will run all the tests we need.

so far, i have this in the motd:

This debirf image has the "stresant" extensions. Some suggested tests:

# hardware inventory
lshw -short
lshw -json | nc 12345
# basic hard drive speed test
hdparm -Tt /dev/sda
# wipe disks
${wipe_motd} /dev/sda
# benchmark disks with bonnie++
mkfs -t ext4 /dev/sda # only on new systems!
mount /dev/sda /mnt
chown nobody /mnt
free -h
bonnie++ -d /mnt/ -s 96G -n 1024 -u nobody
# cpu stress testing
stress -c $(grep ^processor /proc/cpu | wc -l)

some fixes needed there:

  • detect existing partitionning and mount instead of mkfs for bonnie test, abort to be safe in doubt
  • calculate bonnie ram automatically
  • log output (where?! email? syslog UDP??)
  • show this on the first tty by default?


#1 Updated by Antoine Beaupré over 7 years ago

other ideas for tests to run can be gleamed from:;a=tree;f=scripts/tests;hb=HEAD;a=blob_plain;f=scripts/;hb=HEAD

also, the main breakin command runs benchmarks of its own, eg. "stream":;a=blob;f=breakin.c#l967

the results are optionally encrypted to a given password

dmidecode is also ran, along with a custom disk benchmark:;a=blob_plain;f=bench_disk.c;hb=HEAD

All this could be made into a script, program, or something that could be shipped in a debian package. I suggest the name "burnin" or simply "stressant" as command name.

#2 Updated by Antoine Beaupré over 7 years ago

  • RT ticket set to 24025

noter que ceci répondrait également à ce ticket si on créé un email:

#3 Updated by Kienan Stewart about 2 months ago

  • Status changed from New to Rejected

Also available in: Atom PDF