Difference between revisions of "Test Systems"

From eLinux.org
Jump to: navigation, search
(Test Automation Tools)
m (Test Automation Tools: consistent capital letters)
 
(36 intermediate revisions by 6 users not shown)
Line 9: Line 9:
 
* [https://avocado-framework.github.io/ Avocado] (Autotest next generation)
 
* [https://avocado-framework.github.io/ Avocado] (Autotest next generation)
 
* buildbot
 
* buildbot
* ci-rt
+
* [https://ci-rt.linutronix.de/RT-Test/about.jsp ci-rt] - Linutronix Test Environment [https://github.com/ci-rt/docs GitHub]
* [[Fuego]] Test distribution and framework
+
* [https://cki-project.org CKI Project - Continuous Kernel Integration @ Red Hat] (code available at [https://github.com/cki-project GitHub] and [https://gitlab.com/cki-project GitLab])
 +
* [http://fuegotest.org/ Fuego Test system] ([https://bitbucket.org/tbird20d/fuego bitbucket repository])
 
* Gentoo Kernel CI
 
* Gentoo Kernel CI
* Jenkins
+
* [https://github.com/hms-networks/hottest hottest] - inspired by LAVA and Fuego
* KernelCI
+
* [https://jenkins.io/ Jenkins] - Automation server for building, deploying and automating any project
 +
* [https://github.com/mcgrof/kdevops/ kdevops] ([https://people.kernel.org/mcgrof/kdevops-a-devops-framework-for-linux-kernel-development blog description])
 +
* [https://github.com/Zenterio/opensourcelib/tree/master/k2 K2] - Test framework and tools for embedded testing
 +
* [https://kernelci.org/ KernelCI] ([https://github.com/kernelci/kernelci-doc/wiki wiki and docs])
 
* kerneltests
 
* kerneltests
 
* [[Ktest]] Automated kernel testing
 
* [[Ktest]] Automated kernel testing
 
* [https://github.com/oracle/ktf KTF] Kernel Test Framework
 
* [https://github.com/oracle/ktf KTF] Kernel Test Framework
* labgrid
+
* [https://github.com/labgrid-project/labgrid labgrid] - Embedded board control Python library [https://labgrid.readthedocs.io/en/latest/ Read The Docs]
* [https://launchpad.net/lava LAVA] - Linaro's test framework
+
* [https://lavasoftware.org/ LAVA Software Community Project] - [https://git.lavasoftware.org/ (Community Project GitLab repository)]
 
* [http://arago-project.org/wiki/index.php/Opentest Opentest]
 
* [http://arago-project.org/wiki/index.php/Opentest Opentest]
* Phoronix Test Suite
+
* [https://www.phoronix-test-suite.com/ Phoronix Test Suite]
* [https://testing.108.redhat.com/ Red Hat Test Project]
+
* [https://github.com/ci-rt/r4d r4d] - Remote For Device-under-test and (Part of ci-rt)
* SLAV
+
* [https://testing.108.redhat.com/ Red Hat Test Project] (Dead link)
* TCF
+
* [https://github.com/SamsungSLAV/slav Samsung SLAV] - Managing devices, tesframework, workers
 +
* [https://github.com/google/syzkaller syzbot] - Unsupervised coverage-guided kernel fuzzer
 +
* [https://tbot.tools/ tbot] - Testing/automation tool that is focused on usage in embedded development [https://github.com/Rahix/tbot GitHub]
 +
* [https://intel.github.io/tcf/ TCF (Test Case Framework)] - Simplifies the creation and execution of test cases
 
* Xilinx Test
 
* Xilinx Test
* Yocto Project - includes many test package and test elements (ptest)
+
* [https://wiki.yoctoproject.org/wiki/Ptest Yocto Project] - Includes many test package and test elements (ptest)
 +
* [https://github.com/znailnetem/znail Znail] - RPi network emulator, emulate packet delay, loss, duplication, corruption, rate, override DNS
  
 
See also https://bottest.wiki.kernel.org/ - which has a list of projects that test the kernel.
 
See also https://bottest.wiki.kernel.org/ - which has a list of projects that test the kernel.
Line 33: Line 41:
 
=== Test Suites ===
 
=== Test Suites ===
  
 +
* [https://github.com/osandov/blktests blktests]
 
* [https://github.com/linux-test-project/ltp Linux Test Project]
 
* [https://github.com/linux-test-project/ltp Linux Test Project]
 
* [http://processors.wiki.ti.com/index.php/LTP-DDT LTP-DDT]
 
* [http://processors.wiki.ti.com/index.php/LTP-DDT LTP-DDT]
* kselftest
+
* [https://www.kernel.org/doc/html/latest/dev-tools/kselftest.html kselftest] - See notes at [[kselftest Notes]]
 +
* [https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/ xfstests]
  
 
=== Static Analysis ===
 
=== Static Analysis ===
Line 43: Line 53:
 
* [http://clang.llvm.org/StaticAnalysis.html clang]
 
* [http://clang.llvm.org/StaticAnalysis.html clang]
  
== Automated kernel compilation results ==
+
== Automated kernel test results ==
Here are some locations where automated tests of kernel compilation can be viewed:
+
Here are some locations where automated tests of the Linux kernel can be viewed:
  
=== L4X ===
+
=== kernelci ===
 +
https://kernelci.org/job/
  
* http://l4x.org/k/ - Jan Dittmer's page showing the build status and kernel size of the defconfigs of many architectures.  Running since 2004 or 2005
+
=== kerneltests ===
 
+
https://kerneltests.org/waterfall
=== Kautobuild ===
 
Kautobuild is Simtec's automated system to build and store results for ARM and MIPS platforms, for every kernel version.  It uses defconfigs for multiple boards, and reports compile errors/warnings, module size, kernel size etc.
 
* Kautobuild for ARM - http://armlinux.simtec.co.uk/kautobuild/
 
* mail archive version of results is at: http://lists.simtec.co.uk/pipermail/kautobuild/
 
* Article about the Simtel site is at: http://www.linuxdevices.com/news/NS4646877354.html (2006)
 
 
 
=== ABAT ===
 
ABAT - https://sourceforge.net/projects/abat/
 
- does a download/build/boot regression test for several mainline kernel trees, as soon as new versions are available
 
- test results matrix is available here:
 
    - http://ftp.kernel.org/pub/linux/kernel/people/mbligh/abat/regression_matrix.html
 
  
 
== Bug tracking system ==
 
== Bug tracking system ==

Latest revision as of 04:08, 11 December 2019

Here is a quick list of different test systems (and test projects) for Linux:

Test Projects

Clearly, a number of open source projects in this realm exist. This page intends to collect descriptions and links to these projects

Test Automation Tools

See also https://bottest.wiki.kernel.org/ - which has a list of projects that test the kernel.

See also http://www.opensourcetesting.org/category/testing-tools-overview/functional/page/1/

Test Suites

Static Analysis

Automated kernel test results

Here are some locations where automated tests of the Linux kernel can be viewed:

kernelci

https://kernelci.org/job/

kerneltests

https://kerneltests.org/waterfall

Bug tracking system

A bug tracking system is a software application that is designed to help quality assurance and computer programmers keep track of reported software bugs in their work.

Many bug-tracking systems, such as those used by most open source software projects, allow users to enter bug reports directly. Other systems are used only internally in a company or organization doing software development. Typically bug tracking systems are integrated with other software project management applications.

Having a bug tracking system is extremely valuable in software development, and they are used extensively by companies developing software products.

Components

A major component of a bug tracking system is a database that records facts about known bugs. Facts may include the time a bug was reported, its severity, the erroneous program behavior, and details on how to reproduce the bug; as well as the identity of the person who reported it and any programmers who may be working on fixing it.

Typical bug tracking systems support the concept of the life cycle for a bug which is tracked through status assigned to the bug. A bug tracking system should allow administrators to configure permissions based on status, move the bug to another status, or delete the bug. The system should also allow administrators to configure the bug statuses and to what status a bug in a particular status can be moved to.

Usage

In a corporate environment, a bug-tracking system may be used to generate reports on the productivity of programmers at fixing bugs. However, this may sometimes yield inaccurate results because different bugs may have different levels of severity and complexity. The severity of a bug may not be directly related to the complexity of fixing the bug. There may be different opinions among the managers and architects.

A local bug tracker (LBT) is usually a computer program used by a team of application support professionals to keep track of issues communicated to software developers. Using an LBT allows support professionals to track bugs in their "own language" and not the "language of the developers." In addition, LBT use allows a team of support professionals to track specific information about users who have called to complain that may not always be needed in the actual development queue (thus, there are two tracking systems when an LBT is in place.)

External links