Skip to contentSkip to conversation

Block layer patches

GIT PULL Peter Maydell 2 participants 3 messages Mar 12, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 16 lines · Kevin Wolf

The following changes since commit ba29883206d92a29ad5a466e679ccfc2ee6132ef:

Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20200310' into staging (2020-03-10 16:50:28 +0000)

are available in the Git repository at:

git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 8bb3b023f2055054ee119cb45b42d2b14be7fc8a:

qemu-iotests: adding LUKS cleanup for non-UTF8 secret error (2020-03-11 15:54:38 +0100)

----------------------------------------------------------------
Block layer patches:

Quoted 6 lines

- Relax restrictions for blockdev-snapshot (allows libvirt to do live storage migration with blockdev-mirror)
- luks: Delete created files when block_crypto_co_create_opts_luks fails
- Fix memleaks in qmp_object_add

----------------------------------------------------------------

iotest 030 hung on x86-64 Linux (Ubuntu):

petmay01 11801 0.0 0.0 34668 26112 ? S 11:24 0:03 |

                   \_ make --output-sync -C build/alldbg check V=1 -j8
petmay01 15277  0.0  0.0   4628   792 ?        S    11:25   0:00  |
                       \_ /bin/sh

/home/petmay01/linaro/qemu-for-merges/tests/check-block.sh
petmay01 15344 0.0 0.0 14172 3360 ? S 11:25 0:00 |
\_ bash ./check -makecheck -qcow2 -g auto
petmay01 27902 0.0 0.0 14172 2128 ? S 11:25 0:00 |
\_ bash ./check -makecheck -qcow2 -g
auto
petmay01 27903 0.0 0.0 52660 16400 ? S 11:25 0:00 |

                                   \_ python3 -B 030
petmay01  1728  0.0  0.1 1011792 51604 ?       Sl   11:26   0:01  |
                                       \_

/home/petmay01/linaro/qemu-for-merges/build/alldbg/tests/qemu-iotests/../../x86_64-softmmu/qemu-system-x86_64
-display none -vga none -chardev
socket,id=mon,path=/tmp/tmp.QBQTAAybTi/qemu-27903-monitor.sock -mon
chardev=mon,mode=control -qtest
unix:path=/tmp/tmp.QBQTAAybTi/qemu-27903-qtest.sock -accel qtest
-nodefaults -display none -accel qtest -drive if=virtio,id=drive0,file=blkdebug::/home/petmay01/linaro/qemu-for-merges/build/alldbg/tests/qemu-iotests/scratch/test.img,format=qcow2,cache=writeback,aio=threads,backing.node-name=mid,backing.backing.node-name=base

I had to manually kill the offending QEMU process; resulting output in the log:

--- /home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/030.out

 2019-07-15 17:18:35.251364738 +01

00
+++ /home/petmay01/linaro/qemu-for-merges/build/alldbg/tests/qemu-iotests/030.out.bad
2020-03-12 13:44:
43.101182680 +0000
@@ -1,5 +1,27 @@
-...........................
+........................E..
+======================================================================
+ERROR: test_stream_pause (__main__.TestSingleDrive)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+ File "030", line 93, in test_stream_pause
+ self.pause_wait('drive0')
+ File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/iotests.py", line 927, in pause_wait
+ result = self.vm.qmp('query-block-jobs')
+ File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/../../python/qemu/machine.py", line 405, in qmp
+ return self._qmp.cmd(cmd, args=qmp_args)
+ File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/../../python/qemu/qmp.py", line 215, in cmd
+ return self.cmd_obj(qmp_cmd)
+ File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/../../python/qemu/qmp.py", line 198, in cmd_obj
+ resp = self.__json_read()
+ File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/../../python/qemu/qmp.py", line 89, in __json_read
+ data = self.__sockfile.readline()
+ File "/usr/lib/python3.6/socket.py", line 586, in readinto
+ return self._sock.recv_into(b)
+ File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/iotests.py", line 383, in timeout
+ raise Exception(self.errmsg)
+Exception: Timeout waiting for job to pause
+
----------------------------------------------------------------------

thanks
-- PMM

#2 lore raw

Am 12.03.2020 um 14:46 hat Peter Maydell geschrieben:

Quoted 86 lines · Kevin Wolf
Quoted 16 lines

The following changes since commit ba29883206d92a29ad5a466e679ccfc2ee6132ef:

Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20200310' into staging (2020-03-10 16:50:28 +0000)

are available in the Git repository at:

git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 8bb3b023f2055054ee119cb45b42d2b14be7fc8a:

qemu-iotests: adding LUKS cleanup for non-UTF8 secret error (2020-03-11 15:54:38 +0100)

----------------------------------------------------------------
Block layer patches:

Quoted 6 lines

- Relax restrictions for blockdev-snapshot (allows libvirt to do live storage migration with blockdev-mirror)
- luks: Delete created files when block_crypto_co_create_opts_luks fails
- Fix memleaks in qmp_object_add

----------------------------------------------------------------

iotest 030 hung on x86-64 Linux (Ubuntu):

petmay01 11801 0.0 0.0 34668 26112 ? S 11:24 0:03 |

                   \_ make --output-sync -C build/alldbg check V=1 -j8
petmay01 15277  0.0  0.0   4628   792 ?        S    11:25   0:00  |
                       \_ /bin/sh

/home/petmay01/linaro/qemu-for-merges/tests/check-block.sh
petmay01 15344 0.0 0.0 14172 3360 ? S 11:25 0:00 |
\_ bash ./check -makecheck -qcow2 -g auto
petmay01 27902 0.0 0.0 14172 2128 ? S 11:25 0:00 |
\_ bash ./check -makecheck -qcow2 -g
auto
petmay01 27903 0.0 0.0 52660 16400 ? S 11:25 0:00 |

                                   \_ python3 -B 030
petmay01  1728  0.0  0.1 1011792 51604 ?       Sl   11:26   0:01  |
                                       \_

/home/petmay01/linaro/qemu-for-merges/build/alldbg/tests/qemu-iotests/../../x86_64-softmmu/qemu-system-x86_64
-display none -vga none -chardev
socket,id=mon,path=/tmp/tmp.QBQTAAybTi/qemu-27903-monitor.sock -mon
chardev=mon,mode=control -qtest
unix:path=/tmp/tmp.QBQTAAybTi/qemu-27903-qtest.sock -accel qtest
-nodefaults -display none -accel qtest -drive if=virtio,id=drive0,file=blkdebug::/home/petmay01/linaro/qemu-for-merges/build/alldbg/tests/qemu-iotests/scratch/test.img,format=qcow2,cache=writeback,aio=threads,backing.node-name=mid,backing.backing.node-name=base

I had to manually kill the offending QEMU process; resulting output in the log:

--- /home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/030.out

 2019-07-15 17:18:35.251364738 +01

00
+++ /home/petmay01/linaro/qemu-for-merges/build/alldbg/tests/qemu-iotests/030.out.bad
2020-03-12 13:44:
43.101182680 +0000

(quoted diff) +8 -1
@@ -1,5 +1,27 @@
-...........................
+........................E..
+======================================================================
+ERROR: test_stream_pause (__main__.TestSingleDrive)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "030", line 93, in test_stream_pause
+    self.pause_wait('drive0')
+  File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/iotests.py",

line 927, in pause_wait

(quoted diff) +2 -0
+    result = self.vm.qmp('query-block-jobs')
+  File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/../../python/qemu/machine.py",

line 405, in qmp

(quoted diff) +2 -0
+    return self._qmp.cmd(cmd, args=qmp_args)
+  File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/../../python/qemu/qmp.py",

line 215, in cmd

(quoted diff) +2 -0
+    return self.cmd_obj(qmp_cmd)
+  File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/../../python/qemu/qmp.py",

line 198, in cmd_obj

(quoted diff) +2 -0
+    resp = self.__json_read()
+  File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/../../python/qemu/qmp.py",

line 89, in __json_read

(quoted diff) +4 -0
+    data = self.__sockfile.readline()
+  File "/usr/lib/python3.6/socket.py", line 586, in readinto
+    return self._sock.recv_into(b)
+  File "/home/petmay01/linaro/qemu-for-merges/tests/qemu-iotests/iotests.py",

line 383, in timeout

Review

Quoted 4 lines
(quoted diff) +3 -0
+    raise Exception(self.errmsg)
+Exception: Timeout waiting for job to pause
+
 ----------------------------------------------------------------------

For the record (discussed on IRC):

This seems to be intermittent failure where a short timeout (1 second) might have been too short under heavy load. That this results in a hang is a test case bug, but it already exists on master.

Peter will retry the test later.

Kevin

author Applied
#3 lore raw
In reply to a message not in the archive
Quoted 13 lines · Kevin Wolf

The following changes since commit ba29883206d92a29ad5a466e679ccfc2ee6132ef:

Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20200310' into staging (2020-03-10 16:50:28 +0000)

are available in the Git repository at:

git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 8bb3b023f2055054ee119cb45b42d2b14be7fc8a:

qemu-iotests: adding LUKS cleanup for non-UTF8 secret error (2020-03-11 15:54:38 +0100)

Quoted 7 lines

----------------------------------------------------------------
Block layer patches:

- Relax restrictions for blockdev-snapshot (allows libvirt to do live storage migration with blockdev-mirror)
- luks: Delete created files when block_crypto_co_create_opts_luks fails
- Fix memleaks in qmp_object_add

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.0
for any user-visible changes.

-- PMM