iotests: Fix stuck NBD process on 33
PATCH 1/1 iotests: Fix stuck NBD process on 33
Commit afe35cde6 added additional actions to test 33, but forgot to reset the image between tests. As a result, './check -nbd 33' fails because the qemu-nbd process from the first half is still occupying the port, preventing the second half from starting a new qemu-nbd process. Worse, the failure leaves a rogue qemu-nbd process behind even after the test fails, which causes knock-on failures to later tests that also want to start qemu-nbd.
---
I'll take this through my NBD queue (pull request within the next 16 hours), as obviously I want to test that the other patches on that queue can get past the iotests for NBD :)
tests/qemu-iotests/033 | 1 + 1 file changed, 1 insertion(+)
tests/qemu-iotests/033 +1 -0
@@ -105,6 +105,7 @@ for align in 512 4k; do done done +_cleanup_test_img # Trigger truncate that would shrink qcow2 L1 table, which is done by # clearing one entry (8 bytes) with bdrv_co_pwrite_zeroes()
Signature · 1 line
2.14.3
Quoted 10 lines · Eric Blake
Commit
afe35cde6added additional actions to test 33, but forgot to reset the image between tests. As a result, './check -nbd 33' fails because the qemu-nbd process from the first half is still occupying the port, preventing the second half from starting a new qemu-nbd process. Worse, the failure leaves a rogue qemu-nbd process behind even after the test fails, which causes knock-on failures to later tests that also want to start qemu-nbd.Reported-by Max Reitz <[email protected]>Signed-off-by Eric Blake <[email protected]>
Quoted 8 lines
---
I'll take this through my NBD queue (pull request within the next 16 hours), as obviously I want to test that the other patches on that queue can get past the iotests for NBD :)
tests/qemu-iotests/033 | 1 + 1 file changed, 1 insertion(+)
Quoted 13 lines · Max Reitz
Quoted 12 lines · Eric Blake
Commit
afe35cde6added additional actions to test 33, but forgot to reset the image between tests. As a result, './check -nbd 33' fails because the qemu-nbd process from the first half is still occupying the port, preventing the second half from starting a new qemu-nbd process. Worse, the failure leaves a rogue qemu-nbd process behind even after the test fails, which causes knock-on failures to later tests that also want to start qemu-nbd.Reported-by Max Reitz <[email protected]>Signed-off-by Eric Blake <[email protected]>---
Quoted 9 lines
Quoted 6 lines
I'll take this through my NBD queue (pull request within the next 16 hours), as obviously I want to test that the other patches on that queue can get past the iotests for NBD :)
tests/qemu-iotests/033 | 1 + 1 file changed, 1 insertion(+)Reviewed-by Max Reitz <[email protected]>
ack; thanks!