Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 00/11] Properly fix oe-selftest QEMU usage + related fixes
Date: Mon, 27 Jul 2015 14:03:55 +0100	[thread overview]
Message-ID: <cover.1438001581.git.paul.eggleton@linux.intel.com> (raw)

The tests in oeqa/selftest/imagefeatures have had a long list of issues
that we've worked around; this patchset implements the ability to run
QEMU from oe-selftest tests properly and attempts to fix the remaining
known issues with the tests. At the same time we can make the devtool
test that uses QEMU use the new runqemu() logic, so do that as well.

When we did do the proper runqemu() implementation however, I uncovered
a number of other problems to do with error handling, process
termination and logging. This patchset should address those as well.

Thanks to Richard for the initial set of fixes which I built upon here.


The following changes since commit 03d01393d14b7b20dcb40ff89b1628883fd3b545:

  toaster.bbclass: Fix ValueError (2015-07-27 12:26:57 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/oe-selftest-qemu-fixes
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/oe-selftest-qemu-fixes

Paul Eggleton (9):
  oe-selftest: add scripts/lib and bitbake/lib to path
  oeqa/targetcontrol: create test directory before copying rootfs image
  oeqa/utils/qemurunner: fix logging
  oeqa/utils/qemurunner: avoid blocking on stty when running under
    oe-selftest
  oeqa/utils/qemurunner: fix error handling if runqemu exits with an
    error
  oeqa/targetcontrol: write QemuRunner log output to a file
  oeqa/selftest/imagefeatures: fix RPM4 test
  oeqa/selftest/imagefeatures: remove gummiboot tests
  oeqa/selftest/devtool: use new runqemu function

Richard Purdie (2):
  oeqa/selftest/imagefeatures: Use QemuTarget code
  oeqa/selftest/imagefeatures: fix SSH without password tests

 meta/lib/oeqa/selftest/devtool.py       |  72 +++++-----
 meta/lib/oeqa/selftest/imagefeatures.py | 247 +++++++++-----------------------
 meta/lib/oeqa/targetcontrol.py          |  12 ++
 meta/lib/oeqa/utils/commands.py         |  49 +++++++
 meta/lib/oeqa/utils/qemurunner.py       |  70 +++++----
 scripts/oe-selftest                     |   5 +-
 6 files changed, 207 insertions(+), 248 deletions(-)

-- 
2.1.0



             reply	other threads:[~2015-07-27 13:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-27 13:03 Paul Eggleton [this message]
2015-07-27 13:03 ` [PATCH 01/11] oe-selftest: add scripts/lib and bitbake/lib to path Paul Eggleton
2015-07-27 13:03 ` [PATCH 02/11] oeqa/targetcontrol: create test directory before copying rootfs image Paul Eggleton
2015-07-27 13:03 ` [PATCH 03/11] oeqa/utils/qemurunner: fix logging Paul Eggleton
2015-07-27 13:03 ` [PATCH 04/11] oeqa/utils/qemurunner: avoid blocking on stty when running under oe-selftest Paul Eggleton
2015-07-27 13:04 ` [PATCH 05/11] oeqa/utils/qemurunner: fix error handling if runqemu exits with an error Paul Eggleton
2015-07-27 13:04 ` [PATCH 06/11] oeqa/targetcontrol: write QemuRunner log output to a file Paul Eggleton
2015-07-27 13:04 ` [PATCH 07/11] oeqa/selftest/imagefeatures: Use QemuTarget code Paul Eggleton
2015-07-27 13:04 ` [PATCH 08/11] oeqa/selftest/imagefeatures: fix SSH without password tests Paul Eggleton
2015-07-27 13:04 ` [PATCH 09/11] oeqa/selftest/imagefeatures: fix RPM4 test Paul Eggleton
2015-07-27 13:04 ` [PATCH 10/11] oeqa/selftest/imagefeatures: remove gummiboot tests Paul Eggleton
2015-07-27 13:04 ` [PATCH 11/11] oeqa/selftest/devtool: use new runqemu function Paul Eggleton

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.1438001581.git.paul.eggleton@linux.intel.com \
    --to=paul.eggleton@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