All Projects → armbian → autotests

armbian / autotests

Licence: GPL-2.0 license
Armbian automated testings

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to autotests

test junkie
Highly configurable testing framework for Python
Stars: ✭ 72 (+300%)
Mutual labels:  qa, qatools
Links-QA
Сборная солянка полезных ссылок для QA/тестировщика. Ссылки будут постоянно пополняться.
Stars: ✭ 42 (+133.33%)
Mutual labels:  qa, qatools
mailhandler
Simple lightweight mail library which allows you to send and retrieve emails, and get more details about email sending and delivery
Stars: ✭ 49 (+172.22%)
Mutual labels:  qa, qatools
babel-plugin-transform-react-qa-classes
Add component's name in `data-qa` attributes to React Components
Stars: ✭ 41 (+127.78%)
Mutual labels:  qa, qatools
php-qa-tools
A metapackage for all PHP quality assurance tools we use at Dealerdirect
Stars: ✭ 36 (+100%)
Mutual labels:  qa, qatools
unity-asset-validator
The Asset Validator is an editor tool for validating assets in the project and in scenes.
Stars: ✭ 30 (+66.67%)
Mutual labels:  qa, qatools
relint
General purpose RegEx based file linter.
Stars: ✭ 33 (+83.33%)
Mutual labels:  qa, qatools
aquality-selenium-java
Aquality Selenium is a library built over Selenium WebDriver tool that allows to automate work with web browsers. Selenium WebDriver requires some skill and experience. So, Aquality Selenium suggests simplified and most importantly safer and more stable way to work with Selenium WebDriver.
Stars: ✭ 41 (+127.78%)
Mutual labels:  qa, qatools
Coveragechecker
Allows old code to use new standards
Stars: ✭ 159 (+783.33%)
Mutual labels:  qa
Swapy
not maintained any more (will be replaced by py_inspect)
Stars: ✭ 233 (+1194.44%)
Mutual labels:  qa
Question answering models
This repo collects and re-produces models related to domains of question answering and machine reading comprehension
Stars: ✭ 139 (+672.22%)
Mutual labels:  qa
Stackneveroverflow
A simple Q&A platform using Ruby on Rails, support markdown.
Stars: ✭ 164 (+811.11%)
Mutual labels:  qa
Jddc solution 4th
2018-JDDC大赛第4名的解决方案
Stars: ✭ 235 (+1205.56%)
Mutual labels:  qa
Qxf2 Page Object Model
Write Selenium and Appium tests in Python using the Page Object pattern. This Pythonic GUI and API test automation framework will help you get started with QA automation quickly. It comes with many useful integrations like - email, BrowserStack, Slack, TestRail, etc. This repository is developed and maintained by Qxf2 Services (https://qxf2.com).
Stars: ✭ 155 (+761.11%)
Mutual labels:  qa
ArchI0
ArchI0 : Arch-Based Distros Applications Automatic Installation Script
Stars: ✭ 26 (+44.44%)
Mutual labels:  automation-testing
Qrn
Query-Reduction Networks (QRN)
Stars: ✭ 137 (+661.11%)
Mutual labels:  qa
Goreplay
As your application grows, the effort required to test it also grows exponentially. GoReplay offers you the simple idea of reusing your existing traffic for testing, which makes it incredibly powerful. Our state of art technique allows you to analyze and record your application traffic without affecting it. This eliminates the risks that come with putting a third party component in the critical path.
Stars: ✭ 14,981 (+83127.78%)
Mutual labels:  qa
Mailcare
[MIRRORING REPOSITORY] See https://gitlab.com/mailcare/mailcare. MailCare is an open source disposable email address services. Accessible via web browser or API to protect your privacy right now.
Stars: ✭ 136 (+655.56%)
Mutual labels:  qa
Flakehell
Flake8 wrapper to make it nice, legacy-friendly, configurable.
Stars: ✭ 217 (+1105.56%)
Mutual labels:  qa
Dureader Bert
BERT Dureader多文档阅读理解 排名第七
Stars: ✭ 215 (+1094.44%)
Mutual labels:  qa

Armbian logo
auto testing

TL;DR

Script can be installed on any Debian based Linux device on your network. Adapt the configuration-file to your requirements, start the test procedure and wait until its done. Check the logs/ for errors and summary in /reports

Privacy concerns

It runs locally in your network, no data is sent anywhere. Icons come from the internet.

Getting started

Clone, edit userconfig/configuration.sh and run the script. Script will scan your local network (if SUBNET is defined) otherwise it will cycle on IPs you have defined in HOSTS variable.

It will create logins based on the configuration file and run different tests/ to see if the board is working properly. You can start with predefined credentials or use your own.

All you need to do is configure the configuration file, hook up the power and network cable and you are ready for running the test.

That's it.

Prerequisites

Download the latest armbian image for your board(s). We recommend to use .torrent because this does the file integrity check for you automatically. Write the data to the SDcard

Put the SDcard into your device, power it up and let it sit for 1-2 minutes, to do the standard initial setup.

Prepare your system

  1. Go to a folder where you want to store it. The following command will create a folder called 'autotests'. Clone the sources from Github and open the folder autotests:
apt install git
git clone https://github.com/armbian/autotests
cd autotests
./go.sh
  1. Edit userconfig/configuration.sh
    • change number of passes (optional)
    • change stress time in seconds (optional)

What is your device(s) IP-Address or do you have a dedicated subnet for your devices. To find the device, check your router or use this tool, to find your boards IP-Address(es). - set IP-Address (HOSTS) or Subnet (Examle: 192.168.0.1/24) - set WLAN_SSID and password (2,4 and/or 5,0GHz) - set BLUEDEV MAC-Address of a Blueooth device (Android phone for example)

How to find the Bluetooth MAC-Address on your mobile or Linux device with BT? Put your phone's BT to discoverable mode and run:

hcitool scan

on a Linux computer that has a BT-Dongle. On an Android device you find the MAC-Address in the phones settings/about the phone/Status.

  1. Run 👍 : The script will display which board gets tested
./go.sh
  1. Once finished, go to /autotests/logs and check latest report.`

What this tool does?

It Connects to the host(s) or all Armbian hosts in your subnet and runs the tests found in folder tests in alphabetical order.

Example report:

Board
/
Cycle
Version / distribution
Kernel / variant

Lan

2.4Ghz

5Ghz

memory

storage

BT

Stress 6s

DVFS (Mhz)
Iperf send/receive (MBits/s) IO read/write (MBits/s)
 1  Cubietruck ###.###.###.200
1/2
19:16:37
20.02.1 (bionic)
Linux 5.4.26-sunxi stable
sun7i-dwmac 550 - 728
brcmfmac
358 - 342388 - 8480 - 960
2/2
19:21:22
20.02.1 (bionic)
Linux 5.4.26-sunxi stable
sun7i-dwmac 521 - 744
brcmfmac
357 - 340386 - 11480 - 960
 2  Tinkerboard ###.###.###.204
1/2
19:25:24
20.02.1 (bionic)
Linux 5.4.20-rockchip stable
rk_gmac-dwmac 941 - 908
rtl8723bs 24
mt7601u 99
rt2800usb 109
696 - 742698 - 70600 - 1800
2/2
19:29:41
20.02.1 (bionic)
Linux 5.4.20-rockchip stable
rk_gmac-dwmac 941 - 906
rtl8723bs 3
mt7601u 105
rt2800usb 113
692 - 740731 - 68600 - 1800

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's:

  • parallel processing
  • implement official SBC-bench with access to full logs
  • improve errors catching
  • implement iperf queue to prevent colisions on network testing
  • create JSON data export for single board and together
  • common data collecting
  • support custom test board https://forum.armbian.com/topic/10841-the-testing-thread

Semantic description of image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].