QA: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
See the http://yoctoproject.org/projects/testing-qa-and-autobuilder page on the website for more information on this project.
==Current Release QA Trackers==


==Current Release QA Trackers==
*Bugs that need to be implemented by QA Team
*[[2.1 QA Owned Features]]
**[[2.3_QA_OWNED_BUGS | 2.3 QA Assigned Bugs]]
*[[2.1 qa owned bugs]]
 
*[[2.1 qa owned features to verify]]
*Bugs that need to be verified by QA Team
*[[Old resolved bugs and features]]
**[[2.3_QA_Bugs_To_Verify]]
<!--
*Features to verify
**[[2.2 qa_owned features to verify]]
 
*Features to implement
**[[2.2 qa owned features]]
-->
 
*Old Bugs that need to be Verified
**[[Old resolved bugs and features]]
 
*2.2 Test Run Templates
**[[Yocto_Project_2.3_Release_Test_Plan#Test_Items | Test Run Templates]]


==Current Release QA Test Plans==
==Current Release QA Test Plans==
* [[Yocto 2.1 Overall Test Plan]]
* [[QA Master Test Plan]]
* [[Yocto Project 2.3_Release Test Plan]]
* [[2.3 QA Status]]
* [https://wiki.yoctoproject.org/charts/perf_milestone_GDC/performance_test.html  Performance Charts ]
* [[Toaster testing plan]]
* [[Toaster testing plan]]
* [[SDK Testing Plan]]
* [[Extensible SDK Test Plan (eSDK)]]
* [[Distro Testing Plan]]
* [[Distro Testing Plan]]
* [[BSP Test Plan]]
* [[BSP Test Plan]]
* [[QA_Master_Test_Plan]]


==Current Release QA Test Cases==
==Current Release QA Test Cases==
* [[Yocto 2.1 Test Cases]]
* [[Yocto 2.3 Test Cases]]


==QA Automation==
==Test Execution==
===Autobuilder===
===Autobuilder===


The [[AutoBuilder]] is the automatic build and test framework used by Yocto Project QA.
The [[AutoBuilder]] is Yocto Project's tool for non-manual test execution, it performs the following functions:
 
* A scheduled nightly build and test execution that includes:
** That each image created executes the corresponding set of [[image tests|image/run-time tests]]
** Specific Autobuilder tasks for running [[oe-selftest|build-time testing]]
* A service for on demand testing requests. (Partially working, feature in progress at request [https://bugzilla.yoctoproject.org/show_bug.cgi?id=9080 #9880])
 
Yocto Project QA heavily relies in the Autobuilder thanks to the aforementioned scheduled and on demand test execution features.
===Image Testing===
In order to execute tests in an image, it is necessary to boot it in either a virtual or a physical target.
 
'''Testing Images in Virtual Targets''':
 
The execution in a virtual environment has a nice flow, documented in the [[Image_tests#Enabling_and_running_the_tests|Image Tests Enabling...]] section.  


===Component Test Automation===
'''Testing Images in Physical Targets''':


Tests for a given component can be automated in the AutoBuilder. AutoBuilder can accept the tests in any of the following formats:  
For executing tests in physical targets it would be required to:


*[[Oe-selftest|OpenEmbedded Selftest]] format
# Boot the image in the target by following the [http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#building-an-image-for-hardware building an image for hardware] instructions.
*[[Image tests|Bitbake Runtime tests]] format
# Run the image tests by following the [http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#exporting-tests exporting tests] instructions.


===Setting up Targets with Devauto===


===Other Automated Tests===
Manual instructions for setting up the physical test targets appear in many parts of the Yocto Project documentation (i.e. [http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#building-an-image-for-hardware here]). It is easy to setup one target using those instructions but it becomes challenging for the cases where multiple targets have to be prepared or the case where it is required to serialize a changing setup over time, for one: testing on several images using the same target.
*[[Distribution Support‎]]
 
** add ptest wiki
[[Devauto]] is the Python library and command line interface intended to manage the device automation assets that act upon the target's physical state. Refer to the [[Devauto]] documentation for more information about the hardware supported and the library and CLI functionality.
** add piglit test wiki
 
** add kernel test wiki
===Creating and Adding New Tests===
**[[LSB]]
**[[LSB Result]]
**[[LTP]]
**[[LTP result]]
**[[POSIX]]
**[[Posix result]]
**[[POSIX-results]]
**[[POSIX History Results]]
**[[LAVA server vs Yocto HW automation testing]]
*[[Automated package upgrade testing]]


Tests for a given component can be automated in the AutoBuilder. With that purpose, follow the [[AutoBuilder/Adding Automated Tests|Adding Automated Tests]] to the Autobuilder Guide.


A list of tests that are automated [[QA#List_of_Automated_Tests|can be seen here]].


==Reporting==
==Reporting==
*[[Bug reporting and Information levels]]
*[[Bug reporting and Information levels]]
*[[Testopia]]
*[[Testopia]], the test manager
*[[QA/Test_Reporting_Tool|The Test Reporting Tool]]
*[http://errors.yoctoproject.org/Errors/ error report web]
*[http://errors.yoctoproject.org/Errors/ error report web]


Line 61: Line 83:
*[[Testopia]]
*[[Testopia]]
*[[Testing Cycle]]
*[[Testing Cycle]]
 
*[[qa-tools|qa-tools Git Repository]]


= Archive =
= Archive =
Line 79: Line 101:
* [[Distribution Support]]
* [[Distribution Support]]
* [[QA BKM sharing]]
* [[QA BKM sharing]]
* [[LAVA server vs Yocto HW automation testing]]
** Note: The LAVA framework usage stopped in favor of testing in the AutoBuilder in early 2016.


==List of Automated Tests==
*[[Distribution Support‎]]
* add ptest wiki
* add piglit test wiki
* add kernel test wiki
*[[LSB]]
*[[LSB Result]]
*[[LTP]]
*[[LTP result]]
*[[POSIX]]
*[[Posix result]]
*[[POSIX-results]]
*[[POSIX History Results]]
*[[Automated package upgrade testing]]


[[Category:QA]]
[[Category:QA]]

Revision as of 14:45, 6 December 2016

Current Release QA Trackers

Current Release QA Test Plans

Current Release QA Test Cases

Test Execution

Autobuilder

The AutoBuilder is Yocto Project's tool for non-manual test execution, it performs the following functions:

  • A scheduled nightly build and test execution that includes:
  • A service for on demand testing requests. (Partially working, feature in progress at request #9880)

Yocto Project QA heavily relies in the Autobuilder thanks to the aforementioned scheduled and on demand test execution features.

Image Testing

In order to execute tests in an image, it is necessary to boot it in either a virtual or a physical target.

Testing Images in Virtual Targets:

The execution in a virtual environment has a nice flow, documented in the Image Tests Enabling... section.

Testing Images in Physical Targets:

For executing tests in physical targets it would be required to:

  1. Boot the image in the target by following the building an image for hardware instructions.
  2. Run the image tests by following the exporting tests instructions.

Setting up Targets with Devauto

Manual instructions for setting up the physical test targets appear in many parts of the Yocto Project documentation (i.e. here). It is easy to setup one target using those instructions but it becomes challenging for the cases where multiple targets have to be prepared or the case where it is required to serialize a changing setup over time, for one: testing on several images using the same target.

Devauto is the Python library and command line interface intended to manage the device automation assets that act upon the target's physical state. Refer to the Devauto documentation for more information about the hardware supported and the library and CLI functionality.

Creating and Adding New Tests

Tests for a given component can be automated in the AutoBuilder. With that purpose, follow the Adding Automated Tests to the Autobuilder Guide.

A list of tests that are automated can be seen here.

Reporting

Performance testing

Performance Test

QA Resources

Archive

You can find the previous QA work by release in the Yocto Project QA Archive.

Other Relevant Data

List of Automated Tests