[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/3] qom: Few trivial patches
From: |
no-reply |
Subject: |
Re: [PATCH 0/3] qom: Few trivial patches |
Date: |
Mon, 4 May 2020 04:36:25 -0700 (PDT) |
Patchew URL: https://patchew.org/QEMU/address@hidden/
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 ===
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 -Wno-string-plus-int
-Wno-typedef-redefinition -Wno-initializer-overrides -Wexpansion-to-defined
-Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body
-Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
-Wignored-qualifiers -Wold-style-definition -Wtype-limits
-fstack-protector-strong -I/usr/include/p11-kit-1 -DLEGACY_RDMA_REG_MR
-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/uuid
-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-buffer.o
-MF tests/test-io-channel-buffer.d -g -c -o tests/test-io-channel-buffer.o
/tmp/qemu-test/src/tests/test-io-channel-buffer.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 -Wno-string-plus-int
-Wno-typedef-redefinition -Wno-initializer-overrides -Wexpansion-to-defined
-Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body
-Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
-Wignored-qualifiers -Wold-style-definition -Wtype-limits
-fstack-protector-strong -I/usr/include/p11-kit-1 -DLEGACY_RDMA_REG_MR
-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/uuid
-I/usr/include/pixman-1 -I/tmp/qemu-test/src/tests
-I/tmp/qemu-test/src/tests/qtest -MMD -MP -MT tests/test-base64.o -MF
tests/test-base64.d -g -c -o tests/test-base64.o
/tmp/qemu-test/src/tests/test-base64.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 -Wno-string-plus-int
-Wno-typedef-redefinition -Wno-initializer-overrides -Wexpansion-to-defined
-Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body
-Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
-Wignored-qualifiers -Wold-style-definition -Wtype-limits
-fstack-protector-strong -I/usr/include/p11-kit-1 -DLEGACY_RDMA_REG_MR
-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/uuid
-I/usr/include/pixman-1 -I/tmp/qemu-test/src/tests
-I/tmp/qemu-test/src/tests/qtest -MMD -MP -MT tests/test-crypto-pbkdf.o -MF
tests/test-crypto-pbkdf.d -g -c -o tests/test-crypto-pbkdf.o
/tmp/qemu-test/src/tests/test-crypto-pbkdf.c
/tmp/qemu-test/src/tests/test-io-task.c:33:12: error: field has incomplete type
'Object' (aka 'struct Object')
Object parent;
^
/tmp/qemu-test/src/include/qemu/typedefs.h:78:16: note: forward declaration of
'struct Object'
typedef struct Object Object;
^
/tmp/qemu-test/src/tests/test-io-task.c:37:17: error: field has incomplete type
'ObjectClass' (aka 'struct ObjectClass')
ObjectClass parent;
^
/tmp/qemu-test/src/include/qemu/typedefs.h:79:16: note: forward declaration of
'struct ObjectClass'
typedef struct ObjectClass ObjectClass;
^
/tmp/qemu-test/src/tests/test-io-task.c:40:14: error: unknown type name
'TypeInfo'
static const TypeInfo dummy_info = {
^
/tmp/qemu-test/src/tests/test-io-task.c:41:15: error: use of undeclared
identifier 'TYPE_OBJECT'
.parent = TYPE_OBJECT,
^
/tmp/qemu-test/src/tests/test-io-task.c:67:19: error: implicit declaration of
function 'object_new' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
Object *obj = object_new(TYPE_DUMMY);
^
/tmp/qemu-test/src/tests/test-io-task.c:67:19: error: this function declaration
is not a prototype [-Werror,-Wstrict-prototypes]
/tmp/qemu-test/src/tests/test-io-task.c:67:13: error: incompatible integer to
pointer conversion initializing 'Object *' (aka 'struct Object *') with an
expression of type 'int' [-Werror,-Wint-conversion]
Object *obj = object_new(TYPE_DUMMY);
^ ~~~~~~~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/tests/test-io-task.c:78:5: error: implicit declaration of
function 'object_unref' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
object_unref(obj);
^
/tmp/qemu-test/src/tests/test-io-task.c:78:5: note: did you mean 'object_new'?
/tmp/qemu-test/src/tests/test-io-task.c:67:19: note: 'object_new' declared here
Object *obj = object_new(TYPE_DUMMY);
^
/tmp/qemu-test/src/tests/test-io-task.c:78:5: error: this function declaration
is not a prototype [-Werror,-Wstrict-prototypes]
object_unref(obj);
^
/tmp/qemu-test/src/tests/test-io-task.c:97:19: error: implicit declaration of
function 'object_new' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
Object *obj = object_new(TYPE_DUMMY);
^
/tmp/qemu-test/src/tests/test-io-task.c:97:13: error: incompatible integer to
pointer conversion initializing 'Object *' (aka 'struct Object *') with an
expression of type 'int' [-Werror,-Wint-conversion]
Object *obj = object_new(TYPE_DUMMY);
^ ~~~~~~~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/tests/test-io-task.c:104:5: error: implicit declaration of
function 'object_unref' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
object_unref(obj);
^
/tmp/qemu-test/src/tests/test-io-task.c:115:19: error: implicit declaration of
function 'object_new' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
Object *obj = object_new(TYPE_DUMMY);
^
/tmp/qemu-test/src/tests/test-io-task.c:115:13: error: incompatible integer to
pointer conversion initializing 'Object *' (aka 'struct Object *') with an
expression of type 'int' [-Werror,-Wint-conversion]
Object *obj = object_new(TYPE_DUMMY);
^ ~~~~~~~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/tests/test-io-task.c:126:5: error: implicit declaration of
function 'object_unref' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
object_unref(obj);
^
/tmp/qemu-test/src/tests/test-io-task.c:176:19: error: implicit declaration of
function 'object_new' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
Object *obj = object_new(TYPE_DUMMY);
^
/tmp/qemu-test/src/tests/test-io-task.c:176:13: error: incompatible integer to
pointer conversion initializing 'Object *' (aka 'struct Object *') with an
expression of type 'int' [-Werror,-Wint-conversion]
Object *obj = object_new(TYPE_DUMMY);
^ ~~~~~~~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/tests/test-io-task.c:197:5: error: implicit declaration of
function 'object_unref' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
object_unref(obj);
^
/tmp/qemu-test/src/tests/test-io-task.c:217:19: error: implicit declaration of
function 'object_new' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
Object *obj = object_new(TYPE_DUMMY);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [/tmp/qemu-test/src/rules.mak:69: tests/test-io-task.o] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "./tests/docker/docker.py", line 664, in <module>
---
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run',
'--label', 'com.qemu.instance.uuid=e30d45c5c8b5458cafeb9e0e8178bb06', '-u',
'1003', '--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/patchew2/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v',
'/var/tmp/patchew-tester-tmp-8i2ztjtp/src/docker-src.2020-05-04-07.30.45.612:/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=e30d45c5c8b5458cafeb9e0e8178bb06
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-8i2ztjtp/src'
make: *** [docker-run-test-debug@fedora] Error 2
real 5m38.834s
user 0m8.150s
The full log is available at
http://patchew.org/logs/address@hidden/testing.asan/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to address@hidden