Files
autotests/README.md
Igor Pecovnik 751a28b86a New options
- add Bluetooth test
- split wireless network tests to 2.4 and 5Ghz band
- add option to exclude certain IP addresses
- display a list of all boards before starting the test

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-11 22:01:20 +01:00

3.5 KiB

Armbian auto testing

Collection of basic auto tests

How to start?

git clone https://github.com/armbian/autotests
cd autotests
./go.sh

Then edit userconfig/configuration.sh and add wlan SSID/password, testing subnet or address(s), ...

What this tool does?

Connects to host(s) or all Armbian hosts in your subnet and run tests found in tests in alphabetical order.

One test cycle:

[ o.k. ] Host x.x.x.x found [ Run 1 out of 1 ]
[ o.k. ] 0001-connect-wireless-devices-on-2.4Ghz.bash [ Tinkerboard @ x.x.x.x ]
[ o.k. ] ...  [ wlan0 ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] 0003-iperf-on-all-interfaces.bash [ Tinkerboard @ x.x.x.x ]
[ o.k. ] ..."eth0" ethernet (rk_gmac-dwmac), hw, mtu 1500 [ ~941 MBits/s ~944 MBits/s ]
[ o.k. ] ..."wlan0" wifi (rtl8723bs), hw, mtu 1500 [  ~50 MBits/s ]
[ o.k. ] ..."148f 7601" wifi (mt7601u), hw, mtu 1500 [  ~28 MBits/s ]
[ o.k. ] ..."Realtek 802.11n NIC" wifi (8188eu), hw, mtu 1500 [  ~60 MBits/s ]
[ o.k. ] ..."Realtek 802.11ac NIC" wifi (rtl8821cu), hw, mtu 1500 [  ~0 MBits/s ]
[ o.k. ] ..."Realtek 802.11ac WLAN Adapter" wifi (rtl88xxau), hw, mtu 2312 [  ~61 MBits/s ]
[ o.k. ] ..."Ralink 802.11 n WLAN" wifi (rt2800usb), hw, mtu 1500 [  ~55 MBits/s ]
[ o.k. ] ..."Realtek AC1200 MU-MIMO USB2.0 Adapter" wifi (rtl88x2bu), hw, mtu 1500 [  ~58 MBits/s ]
[ o.k. ] 0005-connect-wireless-devices-on-5.0Ghz.bash [ Tinkerboard @ x.x.x.x ]
[ o.k. ] ...  [ wlan0 ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] ...  [ wlxxxxxxxxxxxxx ]
[ o.k. ] 0003-iperf-on-all-interfaces.bash [ Tinkerboard @ x.x.x.x ]
[ o.k. ] ..."eth0" ethernet (rk_gmac-dwmac), hw, mtu 1500 [ ~941 MBits/s ~944 MBits/s ]
[ o.k. ] ..."wlan0" wifi (rtl8723bs), hw, mtu 1500 [  ~22 MBits/s ]
[ o.k. ] ..."Realtek 802.11ac NIC" wifi (rtl8821cu), hw, mtu 1500 [  ~118 MBits/s ]
[ o.k. ] ..."Realtek AC1200 MU-MIMO USB2.0 Adapter" wifi (rtl88x2bu), hw, mtu 1500 [  ~130 MBits/s ]
[ o.k. ] 0008-bluetoth.bash [ Tinkerboard @ x.x.x.x ]
[ o.k. ] Bluetooth ping to your test device was succesfull [ Mi Telefon ]
[ o.k. ] 0016-dvfs.bash [ Tinkerboard @ x.x.x.x ]
[ o.k. ] DVFS works [ 600 - 1800 Mhz ]
[ o.k. ] 9999-reboot.bash [ 21:51:57 ]
[ o.k. ] Rebooting in 3 seconds [ x.x.x.x ]

Which tests are executed?

test name function
0000-armbian-first-login.bash Changes password and creates username
0001-connect-wireless-devices-on-2.4Ghz.bash Connects wireless devices on 2.4G band
0003-iperf-on-all-interfaces.bash Check speed on all devices
0005-connect-wireless-devices-on-5Ghz.bash Connects wireless devices on 5G band
0007-iperf-on-all-interfaces.bash Check speed on all devices
0008-bluetoth.bash Ping Bluetooth device to check basic BT functionality
0015-strong-stressing.bash Running heavy stressing for n seconds
0016-dvfs.bash Get min and max CPU temperature to see if DVFS is operational
0019-7-zip-benchmark.bash Run 7Zip benchmark
9999-reboot.bash Reboot the board

To do:

Semantic description of image