qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iotests/207: Filter host fingerprint
@ 2022-03-18 12:53 Hanna Reitz
  2022-03-18 12:53 ` [PATCH 1/2] iotests.py: Filters for VM.run_job() Hanna Reitz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Hanna Reitz @ 2022-03-18 12:53 UTC (permalink / raw)
  To: qemu-block; +Cc: Kevin Wolf, Hanna Reitz, John Snow, qemu-devel

Hi,

Commit e3296cc796aeaf (“block: print the server key type and fingerprint
on failure”) improved the verbosity of our ssh block driver's error
messages for fingerprint mismatches.  However, iotest 207, which tests
such errors, has not been adjusted accordingly.

Since the fingerprint will differ between hosts, we need to filter it
(and can’t just statically adjust the reference output).  The problem is
that the error condition is printed by iotest.py’s VM.run_job(), so we
need to pass the filter to that function.  Right now, VM.run_job()
doesn’t support any filters, though, so patch 1 adds a filter parameter
and makes VM.run_job() use it.

Patch 2 then has the fix for iotest 207.


Hanna Reitz (2):
  iotests.py: Filters for VM.run_job()
  iotests/207: Filter host fingerprint

 tests/qemu-iotests/207        |  7 ++++++-
 tests/qemu-iotests/207.out    |  6 +++---
 tests/qemu-iotests/iotests.py | 26 ++++++++++++++++----------
 3 files changed, 25 insertions(+), 14 deletions(-)

-- 
2.35.1



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

end of thread, other threads:[~2022-03-22  9:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-18 12:53 [PATCH 0/2] iotests/207: Filter host fingerprint Hanna Reitz
2022-03-18 12:53 ` [PATCH 1/2] iotests.py: Filters for VM.run_job() Hanna Reitz
2022-03-18 22:36   ` John Snow
2022-03-18 12:53 ` [PATCH 2/2] iotests/207: Filter host fingerprint Hanna Reitz
2022-03-18 22:40   ` John Snow
2022-03-22  9:50 ` [PATCH 0/2] " Hanna Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).