iotests/mirror-top-perms: switch to AQMP
authorJohn Snow <jsnow@redhat.com>
Mon, 21 Mar 2022 20:33:14 +0000 (16:33 -0400)
committerJohn Snow <jsnow@redhat.com>
Thu, 21 Apr 2022 15:01:00 +0000 (11:01 -0400)
commit998ed386206a18e66b0c101fe758d60d7f4837f2
tree3dba88e9d8dc6d1d80acdddbe57a4f36e4172928
parent28d4f06e0a10750bbf806977608930dd31b8add3
iotests/mirror-top-perms: switch to AQMP

We don't have to maintain compatibility with both QMP libraries anymore,
so we can just remove the old exception. While we're here, take
advantage of the extra fields present in the VMLaunchFailure exception
that machine.py now raises.

(Note: I'm leaving the logging suppression here unchanged. I had
suggested previously we use filters to scrub the PID out of the logging
information so it could just be diffed as part of the iotest output, but
that meant *always* scrubbing PID from logger output, which defeated the
point of even offering that information in the output to begin with.

Ultimately, I decided it's fine to just suppress the logger temporarily.)

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Acked-by: Hanna Reitz <hreitz@redhat.com>
Message-id: 20220321203315.909411-4-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
tests/qemu-iotests/tests/mirror-top-perms