[PATCH v3 00/10] fix tests on FreeBSD

Roman Bogorodskiy posted 10 patches 1 day, 6 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261126190054.40844-1-bogorodskiy@gmail.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
tests/qemu-iotests/115                        |  2 +-
tests/qemu-iotests/145                        |  5 ++++-
tests/qemu-iotests/149                        |  3 ++-
tests/qemu-iotests/162                        | 15 ++++++++++---
tests/qemu-iotests/162.out                    |  6 +++---
tests/qemu-iotests/211                        | 19 ++++++++++++++++-
tests/qemu-iotests/211.out                    |  1 -
tests/qemu-iotests/296                        |  1 +
tests/qemu-iotests/298                        | 10 +++++++++
tests/qemu-iotests/common.filter              |  6 +++---
tests/qemu-iotests/common.rc                  | 21 +++++++------------
tests/qemu-iotests/iotests.py                 | 16 ++++++++++++++
tests/qemu-iotests/testenv.py                 |  2 ++
.../qemu-iotests/tests/migration-permissions  |  3 +++
tests/qemu-iotests/tests/mirror-top-perms     |  3 +++
tests/qtest/libqtest.c                        | 13 ++++++++++++
16 files changed, 99 insertions(+), 27 deletions(-)
[PATCH v3 00/10] fix tests on FreeBSD
Posted by Roman Bogorodskiy 1 day, 6 hours ago
This series fixes test failures on FreeBSD. Most of the affected tests
happen to be iotests.

This brings full test run from:

Ok:                1253
Fail:              72
Skipped:           669
Timeout:           2

to:

Ok:                1343
Fail:              0
Skipped:           653

thus, a successful run.

Changes since v1:

 - 01/10: use gsed only when necessary, not everywhere
 - 03/10: use more general "status=noxfer" check for dd
 - 04/10: adjust code comment

Changes since v2:

 - 04/10: add explicit <0 check for setsockopt()
 - 07/10: rather than converting FreeBSD strerror() to
   Linux ones, cut these OS specific messages completely

Roman Bogorodskiy (10):
  iotests: use gsed when necessary
  iotests: fix default QEMU_PROG on FreeBSD amd64
  iotests: fix the dd() wrapper
  tests/qtest: unset socket timeout
  iotests: skip preallocation tests if not supported
  iotests: mark 149 as Linux-only
  iotests: fix test 162
  iotests: fix possible race in 145
  iotests: properly skip tests that require OFD locking support
  iotests: fix test 211

 tests/qemu-iotests/115                        |  2 +-
 tests/qemu-iotests/145                        |  5 ++++-
 tests/qemu-iotests/149                        |  3 ++-
 tests/qemu-iotests/162                        | 15 ++++++++++---
 tests/qemu-iotests/162.out                    |  6 +++---
 tests/qemu-iotests/211                        | 19 ++++++++++++++++-
 tests/qemu-iotests/211.out                    |  1 -
 tests/qemu-iotests/296                        |  1 +
 tests/qemu-iotests/298                        | 10 +++++++++
 tests/qemu-iotests/common.filter              |  6 +++---
 tests/qemu-iotests/common.rc                  | 21 +++++++------------
 tests/qemu-iotests/iotests.py                 | 16 ++++++++++++++
 tests/qemu-iotests/testenv.py                 |  2 ++
 .../qemu-iotests/tests/migration-permissions  |  3 +++
 tests/qemu-iotests/tests/mirror-top-perms     |  3 +++
 tests/qtest/libqtest.c                        | 13 ++++++++++++
 16 files changed, 99 insertions(+), 27 deletions(-)

-- 
2.56.0