Igor Pecovnik 7734a537f5 Small RFC
Add few more tasks like packages updated and nightly / stable switching by executing armbian-config with parameters

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-18 21:18:50 +01:00
2020-03-18 21:18:50 +01:00
2020-03-18 21:18:50 +01:00
2020-03-18 21:18:50 +01:00
2020-01-16 16:07:29 +01:00
2020-03-18 21:18:50 +01:00
2019-12-22 23:13:27 +01:00
2020-03-18 21:18:50 +01:00

Armbian auto testing

Collection of basic auto tests

How to start?

  1. Clone sources and go inside folder autotests
git clone https://github.com/armbian/autotests
cd autotests
  1. Edit userconfig/configuration.sh

    • set wlan SSID/password
    • set test subnet or IP address(s)
    • set MAC address of your BT device (Android phone for example)
    • change numer of passes (optional)
    • change stress time in seconds (optional)
  2. Run:

./go.sh

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-read-board-data.bash Read board OS information
0001-nigtly-stable-switch.bash Switching between nightly and stable, odd/even
0002-update-and-upgrade.bash Upgrade all packages
0008-connect-wireless-devices-on-2.4Ghz.bash Connects wireless devices on 2.4G band
0013-iperf-on-all-wired-interfaces.bash Check speed on all wired devices
0014-iperf-on-all-wireless-interfaces.bash Check speed on all wireless devices
0015-connect-wireless-devices-on-5.0Ghz.bash Connects wireless devices on 5G band
0017-iperf-on-all-wireless-interfaces.bash Check speed on all wireless devices
0018-io-tests-memory.bash Determine maximum memory random write speed
0019-io-tests-drive.bash Determine maximum SD/eMMC random write speed
0111-bluetoth.bash Ping Bluetooth device to check basic BT functionality
0115-strong-stressing.bash Running heavy stressing for n seconds
0116-dvfs.bash Get min and max CPU temperature to see if DVFS is operational
0119-7-zip-benchmark.bash.disabled Run 7Zip benchmark
9999-reboot.bash Reboot the board

To do:

Semantic description of image

Description
Languages
Shell 100%