Yocto 1.4 Overall Test Plan: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
|- | |- | ||
| 1.2 || Laurentiu Serban || Updated after comments and suggestions from the team | | 1.2 || Laurentiu Serban || Updated after comments and suggestions from the team | ||
|} | |- | ||
| 1.3 || Laurentiu Serban || Updated after comments and suggestions from Tom Zanussi |} | |||
Revision as of 20:37, 26 November 2012
Yocto 1.4 Overall Test Plan reversion history
Version | Modifier | Comments | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1.0 | Laurentiu Serban | Initial Version | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1.1 | Laurentiu Serban | Updated after comments from Yi Zhao | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1.2 | Laurentiu Serban | Updated after comments and suggestions from the team | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1.3 | Laurentiu Serban | }
Yocto 1.4 Test Execution PlanThis test plan defines test targets/components, scope, strategy, configurations as well as test execution cycles for 1.4 version of Yocto. Targets / Components to Be Tested
What will not Be Tested in Yocto v1.4Following feature categories won't be tested by QA team in Yocto v1.4:
Test EnvironmentTest Platform matrixFollowing matrix is the target Test Plantforms for Yocto 1.4, with the target images will be validated in QA test.
Test Strategy and ApproachQA will cover following tests for each target in each round fullpass testing.
Note:
Note:
Test LevelsThe Yocto 1.4 will be tested from the following different test execution levels. Sanity TestSanity Test is a brief and quick test. It is integrated with each build process (including incremental build) in autobuilder system. It checks image basic functionalities, such as booting, network, zypper etc. Its results will be published in build web page and referred by the other testing. It is fully automation test and its execution time should be less than 10 minutes. Additional test cases can be defined and integrated. Frequency: Sanity test can be run on autobuilder system against the built images or on the local development machines for the locally built images. Scope: Sanity test checks basic functionality in QEMU and its execution time depends on the test cases scheduled to run
Weekly TestWeekly test is a test cycle against the weekly image released through distribution team. Frequency: Weekly Test is against weekly image and occurred each Thursday if image is ready on autobuilder system. It will cost 2 days for one round weekly test. Scope: Weekly Test gives a weekly overview of the Yocto Project by verifiying the basic functionalities and features. It includes all the automated tests for the project components and several maunual tests necessary for feature validation (if those test cases are not automated yet or cannot be automated). Coverage: The weekly tests cover parts of ADT & toolchain, Core Build System and HOB. Also meta-yocto images are tested. On request meta-intel BSPs can be covered in this stage of testing. Fullpass Test - Pre-releaseFrequency: The full pass tests done before the releases in order to validate the components and the new included features Scope: The test verifies the integration of new features and the regression for the existing ones. The run includes the weekly testcases and also additional manual test cases. Performance tests are ran and also distribution validation tests. The test cases ran cover all the functionalities of the components. Coverage: The weekly tests cover the entire functionalities for ADT & toolchain, Core Build System and HOB. Also the meta-yocto images are tested. Performace tests are also ran. meta-intel BSP releases are covered in this stage of testing. Fullpass Test - Post-releaseFrequency: The full pass tests done after the releases in order to validate the components and the new included features for the release candidates Scope: The test verifies the quality of new features and the regression for the existing ones. The run includes the weekly testcases and also additional manual test cases. The test cases ran cover all the functionalities of the components. In addition to pre-release testing the stress and compliance test suites are ran Coverage: The weekly tests cover the entire functionalities for ADT & toolchain, Core Build System and HOB. Also meta-yocto images are tested. Performance, Distribution, Stress and Compliance testing are covered. meta-intel BSP releases are covered in this stage of testing. Test AreasFunctional Test
System & Core OS(Covered in Weekly/Fullpass Test)
(Basic functionality for tested features will be exercised as well as new functionality added in each release.) Core Build System(Covered in Weekly/Fullpass Test)
ADT Test(Covered in Weekly Test/Fullpass Test)
Hob2
Stress Test
Power and Performance Test
The power test cases are: the powertop output in c2 state and the free output. Compliance Test
Distribution Testing
Basic functionalities of ADT, toolchain, HOB2 and Core Build System are tested on these targets (including all the automated tests cases)
Testing new featuresThe scope is verify if new features listed in Yocto 1.4 work as expected. QA needs to update the whiteboard for each feature in bugzilla with following status:
Frequency: New Feature test is a continuous QA work within feature development phase. After one new feature is finished, test cases for it will be added into weekly or fullpass test. Test Execution Cycle
Test ReportTest report should be posted on webpage and Yocto mailing list.
Test report format : Test Report Format Test AutomationTo reduce testing time, test automation will be adopted in the testing. Part of following tests will be implemented as automation:
Note: Currently only sanity tests(10 cases) and about half of the BSP/QEMU test cases are fully automated. What is new in 1.4 testingKernel testing - Testing LTSI support for BSP - jasperforest image will have LTSI kernel - Testing atom-pc - support for 3.0 kernel - the atom-pc image has a 3.0 kernel, tests are ran on an atom-pc netbook SMART updater - SMART updater is a new feature to be integrated in 1.4. Test cases for SMART updater will be added to testopia Testopia - Populating testopia is still in progress. A presentation about testopia and some use cases will be presented. An access management system will be put in place in order to avoid spam - Continuous updates for tests and versioning - https://bugzilla.yoctoproject.org/tr_show_product.cgi Test automation framework for Core Build System - Use of a tool similar to an autobuilder instance for Core Build System test automation |