Openembedded Core Discussions
 help / color / mirror / Atom feed
From: leonardo.sandoval.gonzalez@linux.intel.com
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/4] Some optimizations on top time selftest checks
Date: Tue, 31 Jan 2017 16:50:48 -0600	[thread overview]
Message-ID: <cover.1485902097.git.leonardo.sandoval.gonzalez@linux.intel.com> (raw)

From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>

* 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(-)

-- 
2.1.4



             reply	other threads:[~2017-01-31 22:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-31 22:50 leonardo.sandoval.gonzalez [this message]
2017-01-31 22:50 ` [PATCH 1/4] selftest/buildoptions: use a thinner image to test 'read-only-rootfs' feature leonardo.sandoval.gonzalez
2017-01-31 23:16   ` Richard Purdie
2017-02-01 15:02     ` Leonardo Sandoval
2017-02-01 16:00       ` Richard Purdie
2017-02-01 16:13       ` Patrick Ohly
2017-02-02 12:40   ` Burton, Ross
2017-01-31 22:50 ` [PATCH 2/4] selftest/buildoptions: force compile task instead of cleaning sstates leonardo.sandoval.gonzalez
2017-01-31 23:16   ` Richard Purdie
2017-01-31 22:50 ` [PATCH 3/4] selftest/bbtests: use write_config instead of local.conf file leonardo.sandoval.gonzalez
2017-01-31 22:50 ` [PATCH 4/4] selftest/archiver: invalidate stamps instead of removing TMPDIR leonardo.sandoval.gonzalez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1485902097.git.leonardo.sandoval.gonzalez@linux.intel.com \
    --to=leonardo.sandoval.gonzalez@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox