Bug 11233

Summary: Improve test_archiver_allows_to_filter_on_recipe_name runtime
Product: [QA/Testing] Build Testing Reporter: Jussi Kukkonen <jku>
Component: generalAssignee: Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: Medium+ CC: benjamin.esquivel, joshuagloe
Version: unspecified   
Target Milestone: 2.4 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 10874    

Description Jussi Kukkonen 2017-03-24 09:09:50 UTC
I'm filing this because test_archiver_allows_to_filter_on_recipe_name (oeqa.selftest.archiver.Archiver) seems to take a long time considering what it is testing. I'm not a subject matter expert so if the runtime is actually reasonable, please close.

The test is often seen to take over 8 minutes (~3% of the whole selftest time) to finish. Examples: https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/185/steps/Running%20oe-selftest/logs/stdio, https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/185/steps/Running%20oe-selftest/logs/stdio) . Improving this would have clear effect on autobuilder usability.

The examples were done after commit cf8fcba8e7f5 "don't build an image for a basic test" which tried to improve this. There is fairly large variance on the results (sometimes the test seems to 'only' take 4 minutes).
Comment 1 Leonardo Sandoval Gonzalez 2017-04-26 21:33:14 UTC
There is no way to reduce times on this case unless smaller targets are used (busybox and zlib) which I dont think times will greatly reduced. Marking as resolved/invalid.