On 6/19/20 2:02 PM, no-re...@patchew.org wrote:
> Patchew URL: https://patchew.org/QEMU/20200619100708.30440-1-...@openvz.org/
>
>
>
> Hi,
>
> This series failed the asan 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
> export ARCH=x86_64
> make docker-image-fedora V=1 NETWORK=1
> time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1
> === TEST SCRIPT END ===
>
> GEN docs/interop/qemu-qmp-ref.html
> GEN docs/interop/qemu-qmp-ref.txt
> GEN docs/interop/qemu-qmp-ref.7
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of ` CC qga/commands.o
> CC qga/guest-agent-command-state.o
> CC qga/main.o
> CC qga/commands-posix.o
> ---
> LINK elf2dmp
> CC qemu-img.o
> AR libvhost-user.a
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> AS pc-bios/optionrom/linuxboot.o
> CC pc-bios/optionrom/linuxboot_dma.o
> AS pc-bios/optionrom/kvmvapic.o
> ---
> SIGN pc-bios/optionrom/pvh.bin
> LINK qemu-ga
> LINK qemu-keymap
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK ivshmem-client
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK ivshmem-server
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK qemu-nbd
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK qemu-storage-daemon
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK qemu-img
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK qemu-io
> LINK qemu-edid
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK fsdev/virtfs-proxy-helper
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK scsi/qemu-pr-helper
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK qemu-bridge-helper
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK virtiofsd
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> LINK vhost-user-input
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> GEN x86_64-softmmu/hmp-commands.h
> GEN x86_64-softmmu/config-devices.h
> GEN x86_64-softmmu/hmp-commands-info.h
> ---
> CC x86_64-softmmu/gdbstub-xml.o
> CC x86_64-softmmu/trace/generated-helpers.o
> LINK x86_64-softmmu/qemu-system-x86_64
> /usr/bin/ld:
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
> warning: common of `__interception::real_vfork' overridden by definition
> from
> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
> common.rc: line 50: test: check: binary operator expected
> (printf '#define QEMU_PKGVERSION ""\n'; printf '#define QEMU_FULL_VERSION
> "5.0.50"\n'; ) > qemu-version.h.tmp
> make -C /tmp/qemu-test/src/slirp BUILD_DIR="/tmp/qemu-test/build/slirp"
> PKG_CONFIG="pkg-config" CC="clang" AR="ar" LD="ld" RANLIB="ranlib"
> CFLAGS="-I/usr/include/pixman-1 -Werror -fsanitize=undefined
> -fsanitize=address -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
> -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -Wold-style-definition
> -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers
> -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined
> -Wno-initializer-overrides -Wno-missing-include-dirs
> -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition
> -Wno-tautological-type-limit-compare -fstack-protector-strong
> -I/usr/include/p11-kit-1 -DSTRUCT_IOVEC_DEFINED -I/usr/include/libpng16
> -I/usr/include/spice-1 -I/usr/include/spice-server -I/usr/include/cacard
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss3
> -I/usr/include/nspr4 -pthread -I/usr/include/libmount -I/usr/include/blkid
> -I/usr/include/pixman-1 -I/tmp/qemu-test/src/tests
> -I/tmp/qemu-test/src/tests/qtest -g " LDFLAGS="-Wl,--warn-common
> -fsanitize=undefined -fsanitize=address -Wl,-z,relro -Wl,-z,now -pie -m64
> -fstack-protector-strong"
> ---
> clang -iquote /tmp/qemu-test/build/tests -iquote tests -iquote
> /tmp/qemu-test/src/tcg/i386 -isystem /tmp/qemu-test/src/linux-headers
> -isystem /tmp/qemu-test/build/linux-headers -iquote . -iquote
> /tmp/qemu-test/src -iquote /tmp/qemu-test/src/accel/tcg -iquote
> /tmp/qemu-test/src/include -iquote /tmp/qemu-test/src/disas/libvixl
> -I/usr/include/pixman-1 -Werror -fsanitize=undefined -fsanitize=address
> -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -DPIE
> -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings
> -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99
> -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k
> -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels
> -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs
> -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition
> -Wno-tautological-type-limit-compare -fstack-protector-strong
> -I/usr/include/p11-kit-1 -DSTRUCT_IOVEC_DEFINED -I/usr/include/libpng16
> -I/usr/include/spice-1 -I/usr/include/spice-server -I/usr/include/cacard
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss3
> -I/usr/include/nspr4 -pthread -I/usr/include/libmount -I/usr/include/blkid
> -I/usr/include/pixman-1 -I/tmp/qemu-test/src/tests
> -I/tmp/qemu-test/src/tests/qtest -MMD -MP -MT tests/test-io-task.o -MF
> tests/test-io-task.d -g -c -o tests/test-io-task.o
> /tmp/qemu-test/src/tests/test-io-task.c
> clang -iquote /tmp/qemu-test/build/tests -iquote tests -iquote
> /tmp/qemu-test/src/tcg/i386 -isystem /tmp/qemu-test/src/linux-headers
> -isystem /tmp/qemu-test/build/linux-headers -iquote . -iquote
> /tmp/qemu-test/src -iquote /tmp/qemu-test/src/accel/tcg -iquote
> /tmp/qemu-test/src/include -iquote /tmp/qemu-test/src/disas/libvixl
> -I/usr/include/pixman-1 -Werror -fsanitize=undefined -fsanitize=address
> -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -DPIE
> -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings
> -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99
> -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k
> -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels
> -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs
> -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition
> -Wno-tautological-type-limit-compare -fstack-protector-strong
> -I/usr/include/p11-kit-1 -DSTRUCT_IOVEC_DEFINED -I/usr/include/libpng16
> -I/usr/include/spice-1 -I/usr/include/spice-server -I/usr/include/cacard
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss3
> -I/usr/include/nspr4 -pthread -I/usr/include/libmount -I/usr/include/blkid
> -I/usr/include/pixman-1 -I/tmp/qemu-test/src/tests
> -I/tmp/qemu-test/src/tests/qtest -MMD -MP -MT tests/test-io-channel-socket.o
> -MF tests/test-io-channel-socket.d -g -c -o tests/test-io-channel-socket.o
> /tmp/qemu-test/src/tests/test-io-channel-socket.c
> clang -iquote /tmp/qemu-test/build/tests -iquote tests -iquote
> /tmp/qemu-test/src/tcg/i386 -isystem /tmp/qemu-test/src/linux-headers
> -isystem /tmp/qemu-test/build/linux-headers -iquote . -iquote
> /tmp/qemu-test/src -iquote /tmp/qemu-test/src/accel/tcg -iquote
> /tmp/qemu-test/src/include -iquote /tmp/qemu-test/src/disas/libvixl
> -I/usr/include/pixman-1 -Werror -fsanitize=undefined -fsanitize=address
> -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -DPIE
> -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings
> -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99
> -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k
> -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels
> -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs
> -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition
> -Wno-tautological-type-limit-compare -fstack-protector-strong
> -I/usr/include/p11-kit-1 -DSTRUCT_IOVEC_DEFINED -I/usr/include/libpng16
> -I/usr/include/spice-1 -I/usr/include/spice-server -I/usr/include/cacard
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss3
> -I/usr/include/nspr4 -pthread -I/usr/include/libmount -I/usr/include/blkid
> -I/usr/include/pixman-1 -I/tmp/qemu-test/src/tests
> -I/tmp/qemu-test/src/tests/qtest -MMD -MP -MT tests/io-channel-helpers.o -MF
> tests/io-channel-helpers.d -g -c -o tests/io-channel-helpers.o
> /tmp/qemu-test/src/tests/io-channel-helpers.c
> /tmp/qemu-test/src/tests/qht-bench.c:287:29: error: implicit conversion from
> 'unsigned long' to 'double' changes value from 18446744073709551615 to
> 18446744073709551616 [-Werror,-Wimplicit-int-float-conversion]
> *threshold = rate * UINT64_MAX;
> ~ ^~~~~~~~~~
> /usr/include/stdint.h:130:23: note: expanded from macro 'UINT64_MAX'
> ---
> 18446744073709551615UL
> ^~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> make: *** [/tmp/qemu-test/src/rules.mak:69: tests/qht-bench.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=c67c2e4d508c4d55a517b3da9a7e6c35', '-u',
> '1001', '--security-opt', 'seccomp=unconfined', '--rm', '-e',
> 'TARGET_LIST=x86_64-softmmu', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=',
> '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=', '-e',
> 'CCACHE_DIR=/var/tmp/ccache', '-v',
> '/home/patchew/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v',
> '/var/tmp/patchew-tester-tmp-k4xm9z3a/src/docker-src.2020-06-19-06.55.27.1715:/var/tmp/qemu:z,ro',
> 'qemu:fedora', '/var/tmp/qemu/run', 'test-debug']' returned non-zero exit
> status 2.
> filter=--filter=label=com.qemu.instance.uuid=c67c2e4d508c4d55a517b3da9a7e6c35
> make[1]: *** [docker-run] Error 1
> make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-k4xm9z3a/src'
> make: *** [docker-run-test-debug@fedora] Error 2
>
> real 7m2.468s
> user 0m9.043s
>
>
> The full log is available at
> http://patchew.org/logs/20200619100708.30440-1-...@openvz.org/testing.asan/?type=message.
> ---
> Email generated automatically by Patchew [https://patchew.org/].
> Please send your feedback to patchew-de...@redhat.com
reported problems does not look patchset related :(