From: Colin Walters <walters@verbum.org>
To: Stefan Stanacar <stefanx.stanacar@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [RFC PATCH 5/8] lib/oeqa/utils/qemurunner.py: class to handle qemu instance
Date: Mon, 05 Aug 2013 21:50:26 +0200 [thread overview]
Message-ID: <1375732226.4750.25.camel@localhost> (raw)
In-Reply-To: <3047815ee6268db95c3916960eb31508fb7729f6.1372413711.git.stefanx.stanacar@intel.com>
On Fri, 2013-06-28 at 13:04 +0300, Stefan Stanacar wrote:
> + self.streampath = '/tmp/qemuconnection.%s' % os.getpid()
That's a security problem on shared machines.
> + bb.note("Reached login banner")
> + console.write("root\n")
> + (index, match, text) = console.expect([r"(root@[\w-]+:~#)"],10)
So I forget if I've mentioned this here, but what I do for the
gnome-ostree testing is at boot time, use a qcow2 overlay disk to write
a custom systemd service that exports the journal over a virtio-serial
channel. Then I look for specific MESSAGE_IDs in the journal.
This is extremely reliable, no parsing of log messages etc.
See:
https://rwmj.wordpress.com/2013/07/19/half-baked-ideas-ocr-vm-console-to-diagnose-state-and-errors/
next prev parent reply other threads:[~2013-08-05 19:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-28 10:04 [RFC PATCH 0/8] Proposed implementation of a new runtime tests framework Stefan Stanacar
2013-06-28 10:04 ` [RFC PATCH 1/8] classes/testimage.bbclass: new class for image tests Stefan Stanacar
2013-06-28 10:04 ` [RFC PATCH 2/8] lib/oeqa/oetest.py: base module for all runtime unittests Stefan Stanacar
2013-06-28 10:04 ` [RFC PATCH 3/8] lib/oeqa/utils/sshcontrol.py: helper module for running remote commands Stefan Stanacar
2013-06-28 10:04 ` [RFC PATCH 4/8] lib/oeqa/utils/oetelnetlib.py: override Telnet class to use Unix domain sockets Stefan Stanacar
2013-07-03 22:38 ` Paul Eggleton
2013-06-28 10:04 ` [RFC PATCH 5/8] lib/oeqa/utils/qemurunner.py: class to handle qemu instance Stefan Stanacar
2013-08-05 19:50 ` Colin Walters [this message]
2013-08-29 11:18 ` Stanacar, StefanX
2013-08-29 11:35 ` Colin Walters
2013-06-28 10:04 ` [RFC PATCH 6/8] lib/oeqa/utils/decorators.py: decorators for test methods Stefan Stanacar
2013-06-28 10:04 ` [RFC PATCH 7/8] lib/oeqa/runtime: image sanity tests Stefan Stanacar
2013-06-28 10:04 ` [RFC PATCH 8/8] lib/oeqa/runtime: add gcc test Stefan Stanacar
2013-06-28 22:06 ` [RFC PATCH 0/8] Proposed implementation of a new runtime tests framework Otavio Salvador
2013-06-28 22:29 ` Paul Eggleton
2013-07-04 6:51 ` Saul Wold
2013-07-04 9:10 ` Stanacar, StefanX
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=1375732226.4750.25.camel@localhost \
--to=walters@verbum.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=stefanx.stanacar@intel.com \
/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