All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] fix oeqa runtime test framework when qemu hangs
@ 2023-02-09  8:09 Mikko Rapeli
  2023-02-09  8:09 ` [PATCH v2 1/8] oeqa ssh.py: move output prints to new line Mikko Rapeli
                   ` (7 more replies)
  0 siblings, 8 replies; 22+ messages in thread
From: Mikko Rapeli @ 2023-02-09  8:09 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mikko Rapeli

I get a qemu hang on kirkstone, swtpm and optee. One of the
optee-test/xtest hangs the qemu machine in some kind of deadlock.
While this needs to be debugged and fixed, the oeqa runtime tests
also hanged and never returned. Thus this patch set. With these changes
qemu deadlock is detected and do_testimage() task eventually exits
with all correct tests failing and the hangin qemu system gets killed.

Tested on kirkstone and cherry-picked to master. If something blows up
I'll do more testing on master branch based setup.

v2: removed all debug prints

v1: https://lists.openembedded.org/g/openembedded-core/message/176192

Mikko Rapeli (8):
  oeqa ssh.py: move output prints to new line
  oeqa ssh.py: fix hangs in run()
  oeqa ssh.py: add connection keep alive options to ssh client
  oeqa dump.py: add error counter and stop after 5 failures
  oeqa qemurunner: read more data at a time from serial
  oeqa qemurunner.py: add timeout to QMP calls
  oeqa qemurunner.py: kill qemu if it hangs
  oeqa qemurunner.py: try to avoid reading one character at a time

 meta/lib/oeqa/core/target/ssh.py  | 39 ++++++++++++++++++++++++-------
 meta/lib/oeqa/utils/dump.py       | 23 ++++++++++++++++--
 meta/lib/oeqa/utils/qemurunner.py | 16 ++++++++++++-
 3 files changed, 66 insertions(+), 12 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-02-09 12:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-09  8:09 [PATCH v2 0/8] fix oeqa runtime test framework when qemu hangs Mikko Rapeli
2023-02-09  8:09 ` [PATCH v2 1/8] oeqa ssh.py: move output prints to new line Mikko Rapeli
2023-02-09  8:09 ` [PATCH v2 2/8] oeqa ssh.py: fix hangs in run() Mikko Rapeli
2023-02-09  9:15   ` [OE-core] " Richard Purdie
2023-02-09  9:36     ` Mikko Rapeli
2023-02-09 10:53       ` Alexander Kanavin
2023-02-09 10:56         ` Richard Purdie
2023-02-09 11:12         ` Mikko Rapeli
2023-02-09 11:42           ` Alexander Kanavin
2023-02-09 12:23             ` Mikko Rapeli
2023-02-09 10:20   ` Richard Purdie
2023-02-09 10:35     ` Mikko Rapeli
2023-02-09 10:52       ` Richard Purdie
2023-02-09  8:09 ` [PATCH v2 3/8] oeqa ssh.py: add connection keep alive options to ssh client Mikko Rapeli
2023-02-09  8:09 ` [PATCH v2 4/8] oeqa dump.py: add error counter and stop after 5 failures Mikko Rapeli
2023-02-09  8:09 ` [PATCH v2 5/8] oeqa qemurunner: read more data at a time from serial Mikko Rapeli
2023-02-09  8:09 ` [PATCH v2 6/8] oeqa qemurunner.py: add timeout to QMP calls Mikko Rapeli
2023-02-09  8:09 ` [PATCH v2 7/8] oeqa qemurunner.py: kill qemu if it hangs Mikko Rapeli
2023-02-09  9:45   ` [OE-core] " Alexander Kanavin
2023-02-09  9:56     ` Mikko Rapeli
2023-02-09 10:01       ` Alexander Kanavin
2023-02-09  8:09 ` [PATCH v2 8/8] oeqa qemurunner.py: try to avoid reading one character at a time Mikko Rapeli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.