Message ID | cover.1594396418.git.berto@igalia.com (mailing list archive) |
---|---|
Headers | show |
Series | Add subcluster allocation to qcow2 | expand |
Patchew URL: https://patchew.org/QEMU/cover.1594396418.git.berto@igalia.com/ Hi, This series failed the docker-quick@centos7 build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!/bin/bash make docker-image-centos7 V=1 NETWORK=1 time make docker-test-quick@centos7 SHOW_ENV=1 J=14 NETWORK=1 === TEST SCRIPT END === CC block/snapshot.o CC block/qapi.o /tmp/qemu-test/src/block/qcow2-cluster.c: In function 'qcow2_get_host_offset': /tmp/qemu-test/src/block/qcow2-cluster.c:473:19: error: 'expected_type' may be used uninitialized in this function [-Werror=maybe-uninitialized] } else if (type != expected_type) { ^ /tmp/qemu-test/src/block/qcow2-cluster.c:449:25: note: 'expected_type' was declared here QCow2SubclusterType expected_type, type; ^ cc1: all warnings being treated as errors make: *** [block/qcow2-cluster.o] Error 1 make: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "./tests/docker/docker.py", line 669, in <module> --- raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=10623143eef0416b9c3b987efa6621a1', '-u', '1003', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew2/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-zd6p1e8g/src/docker-src.2020-07-10-12.40.45.27056:/var/tmp/qemu:z,ro', 'qemu:centos7', '/var/tmp/qemu/run', 'test-quick']' returned non-zero exit status 2. filter=--filter=label=com.qemu.instance.uuid=10623143eef0416b9c3b987efa6621a1 make[1]: *** [docker-run] Error 1 make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-zd6p1e8g/src' make: *** [docker-run-test-quick@centos7] Error 2 real 3m13.395s user 0m8.778s The full log is available at http://patchew.org/logs/cover.1594396418.git.berto@igalia.com/testing.docker-quick@centos7/?type=message. --- Email generated automatically by Patchew [https://patchew.org/]. Please send your feedback to patchew-devel@redhat.com
Patchew URL: https://patchew.org/QEMU/cover.1594396418.git.berto@igalia.com/ Hi, This series failed the docker-quick@centos7 build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!/bin/bash make docker-image-centos7 V=1 NETWORK=1 time make docker-test-quick@centos7 SHOW_ENV=1 J=14 NETWORK=1 === TEST SCRIPT END === CC block/blkverify.o CC block/blkreplay.o /tmp/qemu-test/src/block/qcow2-cluster.c: In function 'qcow2_get_host_offset': /tmp/qemu-test/src/block/qcow2-cluster.c:473:19: error: 'expected_type' may be used uninitialized in this function [-Werror=maybe-uninitialized] } else if (type != expected_type) { ^ /tmp/qemu-test/src/block/qcow2-cluster.c:449:25: note: 'expected_type' was declared here QCow2SubclusterType expected_type, type; ^ cc1: all warnings being treated as errors make: *** [block/qcow2-cluster.o] Error 1 make: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "./tests/docker/docker.py", line 669, in <module> --- raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=21da7e0fdd084eea8b00971953a3ff2a', '-u', '1001', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-yoa6xyt4/src/docker-src.2020-07-10-13.26.25.25621:/var/tmp/qemu:z,ro', 'qemu:centos7', '/var/tmp/qemu/run', 'test-quick']' returned non-zero exit status 2. filter=--filter=label=com.qemu.instance.uuid=21da7e0fdd084eea8b00971953a3ff2a make[1]: *** [docker-run] Error 1 make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-yoa6xyt4/src' make: *** [docker-run-test-quick@centos7] Error 2 real 2m27.189s user 0m8.691s The full log is available at http://patchew.org/logs/cover.1594396418.git.berto@igalia.com/testing.docker-quick@centos7/?type=message. --- Email generated automatically by Patchew [https://patchew.org/]. Please send your feedback to patchew-devel@redhat.com
On Fri 10 Jul 2020 06:43:59 PM CEST, no-reply@patchew.org wrote: > /tmp/qemu-test/src/block/qcow2-cluster.c:473:19: error: 'expected_type' may be used uninitialized in this function [-Werror=maybe-uninitialized] > } else if (type != expected_type) { > ^ > /tmp/qemu-test/src/block/qcow2-cluster.c:449:25: note: 'expected_type' was declared here > QCow2SubclusterType expected_type, type; > ^ Meh, this is a false positive but I forgot to fix it. I'll do it if there is a new version, otherwise please someone just initialize expected_type to 0 when committing. Berto
On 10.07.20 18:12, Alberto Garcia wrote: > Hi, > > here's the new version of the patches to add subcluster allocation > support to qcow2. > > Please refer to the cover letter of the first version for a full > description of the patches: > > https://lists.gnu.org/archive/html/qemu-block/2019-10/msg00983.html > > This version is rebased on top of the latest master (f2a1cf9180), > fixes the relevant conflicts (particularly after df373fb0a3) and > updates the test expectations. > > Berto Thanks, fixed up patch 21 (by initializing expected_type to just anything, I chose QCOW2_SUBCLUSTER_NORMAL, which I preferred over just using 0), resolved some iotest conflicts (I’m sure, more are to come before the release, but we’ll see), and applied the series to my block-next branch: https://git.xanclic.moe/XanClic/qemu/commits/branch/block-next
On Tue, Jul 14, 2020 at 02:56:57PM +0200, Max Reitz wrote: > Thanks, fixed up patch 21 (by initializing expected_type to just > anything, I chose QCOW2_SUBCLUSTER_NORMAL, which I preferred over > just using 0), resolved some iotest conflicts (I’m sure, more are > to come before the release, but we’ll see), and applied the series > to my block-next branch: > > https://git.xanclic.moe/XanClic/qemu/commits/branch/block-next I just realized that there's also a couple of 'since: 5.1' in block-core.json that need to be updated. Can you do that please? Thanks! Berto
On 15.07.20 13:51, Alberto Garcia wrote: > On Tue, Jul 14, 2020 at 02:56:57PM +0200, Max Reitz wrote: >> Thanks, fixed up patch 21 (by initializing expected_type to just >> anything, I chose QCOW2_SUBCLUSTER_NORMAL, which I preferred over >> just using 0), resolved some iotest conflicts (I’m sure, more are >> to come before the release, but we’ll see), and applied the series >> to my block-next branch: >> >> https://git.xanclic.moe/XanClic/qemu/commits/branch/block-next > > I just realized that there's also a couple of 'since: 5.1' in > block-core.json that need to be updated. Can you do that please? Ah, sure. Max