Skip to content

Some optimizations on top time selftest checks

[email protected] openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4selftest/buildoptions: use a thinner image to test 'read-only-rootfs' featuremeta/lib/oeqa/selftest/buildoptions.py+1 -45 replies
2/4selftest/buildoptions: force compile task instead of cleaning sstatesmeta/lib/oeqa/selftest/buildoptions.py+1 -21 reply
3/4selftest/bbtests: use write_config instead of local.conf filemeta/lib/oeqa/selftest/bbtests.py+1 -40 replies
4/4selftest/archiver: invalidate stamps instead of removing TMPDIRmeta/lib/oeqa/selftest/archiver.py+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Some optimizations on top time selftest checks

From: Leonardo Sandoval <[email protected]>

* On my local host test, the optimization went from 44 to 8 minutes with the following command

oe-selftest -r \
buildoptions.ImageOptionsTests.test_read_only_image \
bbtests.BitbakeTests.test_non_gplv3 \
buildoptions.ImageOptionsTests.test_ccache_tool \
buildoptions.ImageOptionsTests.test_read_only_image

* Before series applied

  2017-01-31 15:41:20 - test_read_only_image (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
  2017-01-31 16:20:12 - test_non_gplv3 (oeqa.selftest.bbtests.BitbakeTests) ... ok
  2017-01-31 16:22:55 - test_ccache_tool (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
  2017-01-31 16:23:49 - test_read_only_image (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok

----------------------------------------------------------------------
Ran 4 tests in 2662.852s

* After series applied

  2017-01-31 15:27:08 - test_read_only_image (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
  2017-01-31 15:27:14 - test_non_gplv3 (oeqa.selftest.bbtests.BitbakeTests) ... ok
  2017-01-31 15:33:42 - test_ccache_tool (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
  2017-01-31 15:34:30 - test_read_only_image (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok

----------------------------------------------------------------------
Ran 4 tests in 518.647s

[YOCTO #10874]

The following changes since commit d45d4a5a21ab4209b87331dddf515ecdb62367fa:

staging: Handle stale sysroot rebuild issue (2017-01-28 23:32:16 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib lsandov1/oe-selftest-optimizations
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lsandov1/oe-selftest-optimizations

Leonardo Sandoval (4):
selftest/buildoptions: use a thinner image to test 'read-only-rootfs'
feature
selftest/buildoptions: force compile task instead of cleaning sstates selftest/bbtests: use write_config instead of local.conf file selftest/archiver: invalidate stamps instead of removing TMPDIR

 meta/lib/oeqa/selftest/archiver.py     | 4 ++--
 meta/lib/oeqa/selftest/bbtests.py      | 5 +----
 meta/lib/oeqa/selftest/buildoptions.py | 8 ++------
 3 files changed, 5 insertions(+), 12 deletions(-)
Signature · 1 line
2.1.4