Skip to contentSkip to conversation

tests/iotests: drop test 312 from auto group

PATCH Applied Alex Bennée 4 participants 6 messages Jan 5, 2021 – Jan 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/iotests: drop test 312 from auto group

The "auto" documentation states:

That means they should run with every QEMU binary (also non-x86)

which is not the case as the check-system-fedora build which only includes a rag tag group of rare and deprecated targets doesn't support the virtio device required.

---
 tests/qemu-iotests/group | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qemu-iotests/group +1 -1
index e4fb6327ae..bc5bc324fe 100644
@@ -318,4 +318,4 @@
 307 rw quick export
 308 rw
 309 rw auto quick
-312 rw auto quick
+312 rw quick
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Alex Bennée

The "auto" documentation states:

That means they should run with every QEMU binary (also non-x86)

which is not the case as the check-system-fedora build which only includes a rag tag group of rare and deprecated targets doesn't support the virtio device required.

Fixes ef9bba1484b ("quorum: Implement bdrv_co_block_status()")
Quoted 16 lines
---
 tests/qemu-iotests/group | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qemu-iotests/group +1 -1
index e4fb6327ae..bc5bc324fe 100644
@@ -318,4 +318,4 @@
 307 rw quick export
 308 rw
 309 rw auto quick
-312 rw auto quick
+312 rw quick
#2 lore raw
Quoted 5 lines · Philippe Mathieu-Daudé
Quoted 4 lines · Alex Bennée

The "auto" documentation states:

That means they should run with every QEMU binary (also non-x86)

Quoted 7 lines
Quoted 4 lines

which is not the case as the check-system-fedora build which only includes a rag tag group of rare and deprecated targets doesn't support the virtio device required.

Fixes ef9bba1484b ("quorum: Implement bdrv_co_block_status()")
Applied
#3 lore raw
In reply to Alex Bennée
Quoted 4 lines · Alex Bennée

The "auto" documentation states:

That means they should run with every QEMU binary (also non-x86)

Quoted 8 lines

which is not the case as the check-system-fedora build which only includes a rag tag group of rare and deprecated targets doesn't support the virtio device required.

---
  tests/qemu-iotests/group | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, applied to my block branch:

https://git.xanclic.moe/XanClic/qemu/commits/branch/block

#4 lore raw
In reply to Alex Bennée

Am 05.01.2021 um 11:04 hat Alex Bennée geschrieben:

Quoted 9 lines

The "auto" documentation states:

That means they should run with every QEMU binary (also non-x86)

which is not the case as the check-system-fedora build which only includes a rag tag group of rare and deprecated targets doesn't support the virtio device required.

I think the better solution would be to do something like in 192 so that the test is still run at least for one binary:

if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then
_notrun "Requires a PC machine"
fi

Kevin

#5 lore raw
Quoted 9 lines · Kevin Wolf

Am 05.01.2021 um 11:04 hat Alex Bennée geschrieben:

Quoted 8 lines

The "auto" documentation states:

That means they should run with every QEMU binary (also non-x86)

which is not the case as the check-system-fedora build which only includes a rag tag group of rare and deprecated targets doesn't support the virtio device required.

Quoted 8 lines
Quoted 1 line

I think the better solution would be to do something like in 192 so that the test is still run at least for one binary:

if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then
_notrun "Requires a PC machine"
fi

The fix is already in so feel free to revert and fix up properly. I wasn't quite able to follow the logic of how the qemu-system binary is chosen it seemed a little too much to chance.

Quoted 2 lines

Kevin

Signature · 1 line
Alex Bennée