Stonking SRU verification
Notes:
Step 1 cp command needs to be `cp -a b/data/pc-bios/optionrom/*.bin
/usr/share/seabios/* /usr/share/qemu/*.rom b/qemu/qemu-bundle/usr/share/qemu/`
After `make -C b/qemu/ check-block`; run `make -C b/qemu check-qtest` to
build the `qtest` accelerator.
Run the iotests with `/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/run
b/qemu/tests/qemu-iotests/check -qcow2`. Test 308 hangs on Stonking but
works fine on Tenacious; it was skipped here.
Step 1:
```
/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/pyvenv/bin/meson test --no-rebuild -t 1
--num-processes 1 --print-errorlogs --suite block
1/133 block - qemu:io-qcow2-001 OK
1.12s 1 subtests passed
...
87/133 block - qemu:io-qcow2-170 OK
0.79s 1 subtests passed
88/133 block - qemu:io-qcow2-172 SKIP
0.26s 0 subtests passed
89/133 block - qemu:io-qcow2-174 OK
0.30s 1 subtests passed
90/133 block - qemu:io-qcow2-176 OK
4.62s 1 subtests passed
91/133 block - qemu:io-qcow2-177 OK
1.56s 1 subtests passed
92/133 block - qemu:io-qcow2-179 OK
0.91s 1 subtests passed
93/133 block - qemu:io-qcow2-181 SKIP
0.58s 0 subtests passed
94/133 block - qemu:io-qcow2-184 OK
0.57s 1 subtests passed
95/133 block - qemu:io-qcow2-186 SKIP
0.33s 0 subtests passed
96/133 block - qemu:io-qcow2-187 OK
0.39s 1 subtests passed
97/133 block - qemu:io-qcow2-190 OK
3.71s 1 subtests passed
98/133 block - qemu:io-qcow2-191 OK
23.40s 1 subtests passed
99/133 block - qemu:io-qcow2-192 SKIP
0.25s 0 subtests passed
100/133 block - qemu:io-qcow2-195 OK
0.59s 1 subtests passed
101/133 block - qemu:io-qcow2-203 OK
0.57s 1 subtests passed
102/133 block - qemu:io-qcow2-214 OK
1.06s 1 subtests passed
103/133 block - qemu:io-qcow2-217 OK
0.41s 1 subtests passed
104/133 block - qemu:io-qcow2-220 SKIP
0.24s 0 subtests passed
105/133 block - qemu:io-qcow2-226 OK
0.34s 1 subtests passed
...
128/133 block - qemu:io-qcow2-mirror-sparse OK
4.57s 1 subtests passed
129/133 block - qemu:io-qcow2-nbd-multiconn SKIP
0.40s 0 subtests passed
130/133 block - qemu:io-qcow2-nbd-qemu-allocation OK
0.47s 1 subtests passed
131/133 block - qemu:io-qcow2-qemu-img-close-errors OK
2.20s 1 subtests passed
132/133 block - qemu:io-qcow2-qsd-jobs OK
0.37s 1 subtests passed
133/133 block - qemu:io-qcow2-regression-vhdx-log OK
0.36s 1 subtests passed
Ok: 127
Fail: 0
Skipped: 6
- - - -
ubuntu@stinking-vm:~/a/qemu-11.0.3+ds$ /home/ubuntu/a/qemu-11.0.3+ds/b/qemu/run
b/qemu/tests/qemu-iotests/check -qcow2
QEMU -- "/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/qemu-system-x86_64"
-nodefaults -display none -accel qtest
QEMU_IMG -- "/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/qemu-img"
QEMU_IO -- "/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/qemu-io" --cache
writeback --aio threads -f qcow2
QEMU_NBD -- "/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/qemu-nbd"
IMGFMT -- qcow2
IMGPROTO -- file
PLATFORM -- Linux/x86_64 stinking-vm 7.3.0-11-generic
TEST_DIR -- /home/ubuntu/a/qemu-11.0.3+ds/scratch
SOCK_DIR -- /tmp/qemu-iotests-imbusgs9
GDB_OPTIONS --
VALGRIND_QEMU --
PRINT_QEMU_OUTPUT --
001 pass [20:26:32] [20:26:33] 0.8s
(last: 0.9s)
...
307 pass [20:48:07] [20:48:07] 0.5s
(last: 0.5s)
^C308 not run [20:48:07] [20:49:08] ...
Interrupted by user
Not run: 045 059 064 070 075 076 077 078 081 083 084 088 092 093 094 101 106
109 113 116 118 119 123 128 131 135 136 146 147 148 149 160 171 172 173 175 181
186 192 197 201 205 207 210 211 212 213 215 220 221 225 231 233 237 239 241 253
259 266 282 288 294 296 301 308
Some cases not run in: /home/ubuntu/a/qemu-11.0.3+ds/tests/qemu-iotests/297
Passed all 221 iotests
ubuntu@stinking-vm:~/a/qemu-11.0.3+ds$ export QEMU_TEST_IO_SKIP="308";
b/qemu/tests/qemu-iotests/check -qcow2 --start-from 310
WARNING: iotests is being run from outside of the configure-time python
virtual environment
current python: /usr/bin/python3
pyvenv python: /home/ubuntu/a/qemu-11.0.3+ds/b/qemu/pyvenv/bin/python3
Individual python tests will be executed inside the pyvenv,
but the test runner will continue to run outside.
Please use the meson run script:
/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/run
b/qemu/tests/qemu-iotests/check -qcow2 --start-from 310
QEMU -- "/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/qemu-system-x86_64"
-nodefaults -display none -accel qtest
QEMU_IMG -- "/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/qemu-img"
QEMU_IO -- "/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/qemu-io" --cache
writeback --aio threads -f qcow2
QEMU_NBD -- "/home/ubuntu/a/qemu-11.0.3+ds/b/qemu/qemu-nbd"
IMGFMT -- qcow2
IMGPROTO -- file
PLATFORM -- Linux/x86_64 stinking-vm 7.3.0-11-generic
TEST_DIR -- /home/ubuntu/a/qemu-11.0.3+ds/scratch
SOCK_DIR -- /tmp/qemu-iotests-guof_pje
GDB_OPTIONS --
VALGRIND_QEMU --
PRINT_QEMU_OUTPUT --
310 pass [20:49:16] [20:49:16] 0.6s
(last: 0.6s)
312 pass [20:49:16] [20:49:17] 0.9s
(last: 0.9s)
313 pass [20:49:17] [20:49:18] 0.4s
(last: 0.4s)
314 pass [20:49:18] [20:49:21] 3.4s
(last: 3.3s)
backing-file-invalidation pass [20:49:21] [20:49:21] 0.5s
(last: 0.5s)
backup-discard-source pass [20:49:21] [20:49:22] 0.7s
(last: 0.7s)
block-status-cache not run [20:49:22] [20:49:22] ...
not suitable for this image format: qcow2
commit-zero-blocks pass [20:49:22] [20:49:23] 0.6s
(last: 0.6s)
copy-before-write pass [20:49:23] [20:49:27] 4.5s
(last: 4.5s)
detect-zeroes-registered-buf pass [20:49:27] [20:49:28] 0.1s
(last: 0.1s)
export-incoming-iothread pass [20:49:28] [20:49:28] 0.4s
(last: 0.3s)
file-io-error pass [20:49:28] [20:49:28] 0.4s
(last: 0.4s)
fuse-allow-other not run [20:49:28] [20:49:29] ...
allow_other not supported
fuse-mmap-shared pass [20:49:29] [20:49:29] 0.4s
(last: 0.4s)
graph-changes-while-io pass [20:49:29] [20:50:21] 51.6s
image-fleecing pass [20:50:21] [20:50:23] 2.5s
inactive-node-nbd pass [20:50:23] [20:50:24] 0.7s
iothreads-commit-active pass [20:50:24] [20:50:25] 0.6s
iothreads-create pass [20:50:25] [20:50:25] 0.4s
iothreads-nbd-export pass [20:50:25] [20:50:27] 1.5s
iothreads-resize pass [20:50:27] [20:50:27] 0.2s
iothreads-stream pass [20:50:27] [20:50:28] 0.7s
iov-padding not run [20:50:28] [20:50:28] ...
not suitable for this image format: qcow2
loop-create-file not run [20:50:28] [20:50:28] ...
not suitable for this image format: qcow2
luks-detached-header not run [20:50:28] [20:50:28] ...
not suitable for this image format: qcow2
migrate-bitmaps-postcopy-test fail [20:50:28] [20:50:41] 13.0s
failed, exit status 1
---
/home/ubuntu/a/qemu-11.0.3+ds/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test.out
+++
/home/ubuntu/a/qemu-11.0.3+ds/scratch/qcow2-file-migrate-bitmaps-postcopy-test/migrate-bitmaps-postcopy-test.out.bad
@@ -1,5 +1,14 @@
-...
+..F
+======================================================================
+FAIL: test_postcopy_success
(__main__.TestDirtyBitmapPostcopyMigration.test_postcopy_success)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+ File
"/home/ubuntu/a/qemu-11.0.3+ds/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test",
line 189, in test_postcopy_success
+ assert downtime * 10 < postcopy_time
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+AssertionError
+
----------------------------------------------------------------------
Ran 3 tests
-OK
+FAILED (failures=1)
migrate-bitmaps-test pass [20:50:41] [20:50:55] 14.3s
migrate-during-backup pass [20:50:55] [20:50:56] 0.4s
migration-permissions not run [20:50:56] [20:50:56] ...
not suitable for this image format: qcow2
mirror-change-copy-mode pass [20:50:56] [20:51:04] 8.7s
mirror-ready-cancel-error pass [20:51:04] [20:51:05] 0.6s
mirror-sparse pass [20:51:05] [20:51:09] 3.8s
mirror-top-perms not run [20:51:09] [20:51:09] ...
not suitable for this image format: qcow2
nbd-in-qcow2-chain pass [20:51:09] [20:51:09] 0.4s
nbd-multiconn not run [20:51:09] [20:51:10] ...
Python bindings to libnbd are not installed
nbd-qemu-allocation pass [20:51:10] [20:51:10] 0.3s
nbd-reconnect-on-open pass [20:51:10] [20:51:14] 4.3s
nbd-tls-iothread not run [20:51:14] [20:51:14] ...
certtool utility not found, skipping test
parallels-checks not run [20:51:14] [20:51:14] ...
not suitable for this image format: qcow2
parallels-read-bitmap not run [20:51:14] [20:51:14] ...
not suitable for this image format: qcow2
qcow2-encryption pass [20:51:14] [20:51:24] 10.0s
qcow2-internal-snapshots pass [20:51:24] [20:51:26] 1.5s
qemu-img-bitmaps pass [20:51:26] [20:51:27] 1.2s
qemu-img-close-errors pass [20:51:27] [20:51:29] 1.9s
qom-set-drive pass [20:51:29] [20:51:29] 0.4s
qsd-jobs pass [20:51:29] [20:51:30] 0.2s
qsd-migrate pass [20:51:30] [20:51:30] 0.5s
regression-vhdx-log pass [20:51:30] [20:51:30] 0.2s
remove-bitmap-from-backing pass [20:51:30] [20:51:31] 0.4s
reopen-file pass [20:51:31] [20:51:31] 0.4s
resize-below-filter pass [20:51:31] [20:51:31] 0.3s
resize-below-raw not run [20:51:31] [20:51:32] ...
not suitable for this image format: qcow2
stream-error-on-reset pass [20:51:32] [20:51:35] 3.2s
stream-unaligned-prefetch pass [20:51:35] [20:51:35] 0.4s
stream-under-throttle pass [20:51:35] [20:51:37] 1.7s
vvfat not run [20:51:37] [20:51:37] ...
not suitable for this image format: qcow2
write-zeroes-unmap not run [20:51:37] [20:51:37] ...
not suitable for this image format: qcow2
zoned not run [20:51:37] [20:51:37] ...
not suitable for this image format: qcow2
Not run: block-status-cache fuse-allow-other iov-padding loop-create-file
luks-detached-header migration-permissions mirror-top-perms nbd-multiconn
nbd-tls-iothread parallels-checks parallels-read-bitmap resize-below-raw vvfat
write-zeroes-unmap zoned
Failures: migrate-bitmaps-postcopy-test
Failed 1 of 43 iotests
```
Step 2: qemu-migration-test being run by Hector
Step 3: N/A (qemu 11.x not affected by coroutine pool exhaustion)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2168803
Title:
QEMU 8.2.2 guests crash by exhausting vm.max_map_count with coroutines
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2168803/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs