qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 00/49] qapi: add #if pre-processor conditions


From: no-reply
Subject: Re: [Qemu-devel] [PATCH v3 00/49] qapi: add #if pre-processor conditions to generated code
Date: Wed, 21 Mar 2018 15:08:59 -0700 (PDT)

Hi,

This series failed address@hidden build test. Please find the testing commands 
and
their output below. If you have Docker installed, you can probably reproduce it
locally.

Type: series
Message-id: address@hidden
Subject: [Qemu-devel] [PATCH v3 00/49] qapi: add #if pre-processor conditions 
to generated code

=== TEST SCRIPT BEGIN ===
#!/bin/bash
set -e
git submodule update --init dtc
# Let docker tests dump environment info
export SHOW_ENV=1
export J=8
time make address@hidden
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
 * [new tag]               patchew/address@hidden -> patchew/address@hidden
 * [new tag]               patchew/address@hidden -> patchew/address@hidden
Switched to a new branch 'test'
ca50a2d8e3 RFC: make RTC_CHANGE per-target
032f3d2f59 qapi: remove qmp_unregister_command()
7a4b17cf54 qapi: make query-cpu-definitions depend on specific targets
557f536176 qapi: make query-cpu-model-expansion depend on s390 or x86
dc1b218319 qapi: make query-gic-capabilities depend on TARGET_ARM
af9625c6c3 target.json: add a note about query-cpu* not being s390x-specific
c9801977e9 qapi: make s390 commands depend on TARGET_S390X
6a49803445 qapi: make rtc-reset-reinjection and SEV depend on TARGET_I386
13b093aaae qapi: add a top-unit 'target' schema
8e42b4bfd8 RFC: qapi: learn to split schema by 'top-unit'
2984459cd6 qapi-commands: don't initialize command list in qmp_init_marshall()
7c39c807b5 build-sys: move qmp-introspect per target
af7d5d518d qapi: add conditions to REPLICATION type/commands on the schema
9e583d1a1d qapi: add conditions to SPICE type/commands/events on the schema
8bc16dec62 qapi: add conditions to VNC type/commands/events on the schema
72664dbe15 qapi2texi: add condition to variants
d7ff0ab4ef qapi2texi: add 'If:' condition to struct members
bde44a6b1d qapi2texi: add 'If:' condition to enum values
c87e1bc65f qapi2texi: add 'If:' section to generated documentation
3364d5099f docs: document schema configuration
77f7bafdc4 qapi: add #if conditions to generated code members
a95929de93 qapi: add 'if' to alternate members
b205d6198c qapi: add 'if' on union members
9613ba2cc2 qapi: add an error in case a discriminator is conditionnal
cd025039c0 qapi: add 'if' to implicit struct members
6799c824a8 qapi: add a dictionary form with 'type' key for members
c5b50ed9e3 qapi: rename allow_dict to allow_implicit
ba4011e602 qapi-event: add 'if' condition to implicit event enum
7d828e85b9 qapi: add 'if' to enum members
a20c2dc973 qapi: add a dictionnary form with 'name' key for enum members
061635eff1 qapi: factor out check_known_keys()
b0ad9a471a tests: modify visit_enum_type() in test-qapi to print members
86933fb39c qapi: change enum visitor to take QAPISchemaMember
cd6fb8e83f qapi: rename QAPISchemaEnumType.values to .members
31ea46dcec qapi: do not define enumeration value explicitely
55c7453f3c qapi-types: add #if conditions to types & visitors
4507e44d86 qapi-types: refactor variants handling
9c91a8fa1d qapi/events: add #if conditions to events
7ba12f474f qapi/commands: add #if conditions to commands
fcf4dfeb56 qapi-introspect: add preprocessor conditions to generated QLit
51163f6ba0 qapi-introspect: modify to_qlit() to append ', ' on level > 0
75baac460c qapi: add #if/#endif helpers
a001949a31 qapi: mcgen() shouldn't indent # lines
a2ef5afa63 qapi: add 'ifcond' to visitor methods
688755b5fd qapi: leave the ifcond attribute undefined until check()
0566f4cb49 qapi: pass 'if' condition into QAPISchemaEntity objects
7b98d1b34c qapi: add 'if' to top-level expressions
6c36d8fa28 qapi/events: generate event enum in main module
7ced623f53 qapi/visit: remove useless prefix argument

=== OUTPUT BEGIN ===
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into '/var/tmp/patchew-tester-tmp-_42j_rgl/src/dtc'...
Submodule path 'dtc': checked out 'e54388015af1fb4bf04d0bca99caba1074d9cc42'
  BUILD   centos6
make[1]: Entering directory '/var/tmp/patchew-tester-tmp-_42j_rgl/src'
  GEN     
/var/tmp/patchew-tester-tmp-_42j_rgl/src/docker-src.2018-03-21-18.07.28.25329/qemu.tar
Cloning into 
'/var/tmp/patchew-tester-tmp-_42j_rgl/src/docker-src.2018-03-21-18.07.28.25329/qemu.tar.vroot'...
done.
Your branch is up-to-date with 'origin/test'.
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into 
'/var/tmp/patchew-tester-tmp-_42j_rgl/src/docker-src.2018-03-21-18.07.28.25329/qemu.tar.vroot/dtc'...
Submodule path 'dtc': checked out 'e54388015af1fb4bf04d0bca99caba1074d9cc42'
Submodule 'ui/keycodemapdb' (git://git.qemu.org/keycodemapdb.git) registered 
for path 'ui/keycodemapdb'
Cloning into 
'/var/tmp/patchew-tester-tmp-_42j_rgl/src/docker-src.2018-03-21-18.07.28.25329/qemu.tar.vroot/ui/keycodemapdb'...
Submodule path 'ui/keycodemapdb': checked out 
'6b3d716e2b6472eb7189d3220552280ef3d832ce'
  COPY    RUNNER
    RUN test-quick in qemu:centos6 
Packages installed:
SDL-devel-1.2.14-7.el6_7.1.x86_64
bison-2.4.1-5.el6.x86_64
bzip2-devel-1.0.5-7.el6_0.x86_64
ccache-3.1.6-2.el6.x86_64
csnappy-devel-0-6.20150729gitd7bc683.el6.x86_64
flex-2.5.35-9.el6.x86_64
gcc-4.4.7-18.el6.x86_64
gettext-0.17-18.el6.x86_64
git-1.7.1-9.el6_9.x86_64
glib2-devel-2.28.8-9.el6.x86_64
libepoxy-devel-1.2-3.el6.x86_64
libfdt-devel-1.4.0-1.el6.x86_64
librdmacm-devel-1.0.21-0.el6.x86_64
lzo-devel-2.03-3.1.el6_5.1.x86_64
make-3.81-23.el6.x86_64
mesa-libEGL-devel-11.0.7-4.el6.x86_64
mesa-libgbm-devel-11.0.7-4.el6.x86_64
package g++ is not installed
pixman-devel-0.32.8-1.el6.x86_64
spice-glib-devel-0.26-8.el6.x86_64
spice-server-devel-0.12.4-16.el6.x86_64
tar-1.23-15.el6_8.x86_64
vte-devel-0.25.1-9.el6.x86_64
xen-devel-4.6.6-2.el6.x86_64
zlib-devel-1.2.3-29.el6.x86_64

Environment variables:
PACKAGES=bison     bzip2-devel     ccache     csnappy-devel     flex     g++    
 gcc     gettext     git     glib2-devel     libepoxy-devel     libfdt-devel    
 librdmacm-devel     lzo-devel     make     mesa-libEGL-devel     
mesa-libgbm-devel     pixman-devel     SDL-devel     spice-glib-devel     
spice-server-devel     tar     vte-devel     xen-devel     zlib-devel
HOSTNAME=82b26ca1d6f9
MAKEFLAGS= -j8
J=8
CCACHE_DIR=/var/tmp/ccache
EXTRA_CONFIGURE_OPTS=
V=
SHOW_ENV=1
PATH=/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/
TARGET_LIST=
SHLVL=1
HOME=/root
TEST_DIR=/tmp/qemu-test
FEATURES= dtc
DEBUG=
_=/usr/bin/env

Configure options:
--enable-werror --target-list=x86_64-softmmu,aarch64-softmmu 
--prefix=/tmp/qemu-test/install
No C++ compiler available; disabling C++ specific optional code
Install prefix    /tmp/qemu-test/install
BIOS directory    /tmp/qemu-test/install/share/qemu
firmware path     /tmp/qemu-test/install/share/qemu-firmware
binary directory  /tmp/qemu-test/install/bin
library directory /tmp/qemu-test/install/lib
module directory  /tmp/qemu-test/install/lib/qemu
libexec directory /tmp/qemu-test/install/libexec
include directory /tmp/qemu-test/install/include
config directory  /tmp/qemu-test/install/etc
local state directory   /tmp/qemu-test/install/var
Manual directory  /tmp/qemu-test/install/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /tmp/qemu-test/src
GIT binary        git
GIT submodules    
C compiler        cc
Host C compiler   cc
C++ compiler      
Objective-C compiler cc
ARFLAGS           rv
CFLAGS            -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g 
QEMU_CFLAGS       -I/usr/include/pixman-1   -I$(SRC_PATH)/dtc/libfdt -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  -Wendif-labels 
-Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security 
-Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration 
-Wold-style-definition -Wtype-limits -fstack-protector-all -Wno-missing-braces  
-I/usr/include/libpng12   -I/usr/include/libdrm   -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/pixman-1 -I/usr/include/nss3 -I/usr/include/nspr4 
-I/usr/include/spice-1  
LDFLAGS           -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m64 -g 
make              make
install           install
python            python -B
smbd              /usr/sbin/smbd
module support    no
host CPU          x86_64
host big endian   no
target list       x86_64-softmmu aarch64-softmmu
gprof enabled     no
sparse enabled    no
strip binaries    yes
profiler          no
static build      no
SDL support       yes (1.2.14)
GTK support       yes (2.24.23)
GTK GL support    no
VTE support       yes (0.25.1)
TLS priority      NORMAL
GNUTLS support    no
GNUTLS rnd        no
libgcrypt         no
libgcrypt kdf     no
nettle            no 
nettle kdf        no
libtasn1          no
curses support    yes
virgl support     no
curl support      no
mingw32 support   no
Audio drivers     oss
Block whitelist (rw) 
Block whitelist (ro) 
VirtFS support    no
Multipath support no
VNC support       yes
VNC SASL support  no
VNC JPEG support  yes
VNC PNG support   yes
xen support       yes
xen ctrl version  40600
pv dom build      no
brlapi support    no
bluez  support    no
Documentation     no
PIE               yes
vde support       no
netmap support    no
Linux AIO support no
ATTR/XATTR support yes
Install blobs     yes
KVM support       yes
HAX support       no
HVF support       no
WHPX support      no
TCG support       yes
TCG debug enabled no
TCG interpreter   no
malloc trim support yes
RDMA support      no
fdt support       yes
membarrier        no
preadv support    yes
fdatasync         yes
madvise           yes
posix_madvise     yes
posix_memalign    yes
libcap-ng support no
vhost-net support yes
vhost-crypto support yes
vhost-scsi support yes
vhost-vsock support yes
vhost-user support yes
Trace backends    log
spice support     yes (0.12.6/0.12.4)
rbd support       no
xfsctl support    no
smartcard support yes
libusb            no
usb net redir     no
OpenGL support    yes
OpenGL dmabufs    no
libiscsi support  no
libnfs support    no
build guest agent yes
QGA VSS support   no
QGA w32 disk info no
QGA MSI support   no
seccomp support   no
coroutine backend ucontext
coroutine pool    yes
debug stack usage no
crypto afalg      no
GlusterFS support no
gcov              gcov
gcov enabled      no
TPM support       yes
libssh2 support   no
TPM passthrough   yes
TPM emulator      yes
QOM debugging     yes
Live block migration yes
lzo support       yes
snappy support    no
bzip2 support     yes
NUMA host support no
libxml2           no
tcmalloc support  no
jemalloc support  no
avx2 optimization no
replication support yes
VxHS block device no
capstone          no

WARNING: Use of GTK 2.0 is deprecated and will be removed in
WARNING: future releases. Please switch to using GTK 3.0

WARNING: Use of SDL 1.2 is deprecated and will be removed in
WARNING: future releases. Please switch to using SDL 2.0
  GEN     x86_64-softmmu/config-devices.mak.tmp
  GEN     aarch64-softmmu/config-devices.mak.tmp
mkdir -p dtc/libfdt
  GEN     config-host.h
mkdir -p dtc/tests
  GEN     qemu-options.def
  GEN     qapi-gen
  GEN     trace/generated-tcg-tracers.h
  GEN     trace/generated-helpers-wrappers.h
  GEN     trace/generated-helpers.h
  GEN     x86_64-softmmu/config-devices.mak
  GEN     aarch64-softmmu/config-devices.mak
  GEN     trace/generated-helpers.c
  GEN     module_block.h
Traceback (most recent call last):
  File "/tmp/qemu-test/src/scripts/qapi-gen.py", line 11, in <module>
    from qapi.common import QAPIError, QAPISchema
  File "/tmp/qemu-test/src/scripts/qapi/common.py", line 987
    if {'union', 'alternate', 'struct', 'command', 'event'} & set(expr):
               ^
SyntaxError: invalid syntax
make: *** [qapi-gen-timestamp] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "./tests/docker/docker.py", line 407, in <module>
    sys.exit(main())
  File "./tests/docker/docker.py", line 404, in main
    return args.cmdobj.run(args, argv)
  File "./tests/docker/docker.py", line 261, in run
    return Docker().run(argv, args.keep, quiet=args.quiet)
  File "./tests/docker/docker.py", line 229, in run
    quiet=quiet)
  File "./tests/docker/docker.py", line 147, in _do_check
    return subprocess.check_call(self._command + cmd, **kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['docker', 'run', '--label', 
'com.qemu.instance.uuid=48e2d3042d5411e8a75c52540069c830', '-u', '0', 
'--security-opt', 'seccomp=unconfined', '--rm', '--net=none', '-e', 
'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=8', '-e', 
'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', 
'/root/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', 
'/var/tmp/patchew-tester-tmp-_42j_rgl/src/docker-src.2018-03-21-18.07.28.25329:/var/tmp/qemu:z,ro',
 'qemu:centos6', '/var/tmp/qemu/run', 'test-quick']' returned non-zero exit 
status 2
make[1]: *** [tests/docker/Makefile.include:129: docker-run] Error 1
make[1]: Leaving directory '/var/tmp/patchew-tester-tmp-_42j_rgl/src'
make: *** [tests/docker/Makefile.include:163: address@hidden Error 2

real    1m23.270s
user    0m8.174s
sys     0m6.373s
=== OUTPUT END ===

Test command exited with code: 2


---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]