testing/next queue for travis and docker
cover testing/next queue for travis and docker
Hi,
This series collects together a bunch of Daniel and Philippe's testing patches and adds a few of my own. Broadly they simplify the Travis test cases to be all VM based in preparation for switching to running docker based builds and tests. I also bumped up the base build to Xenial given we can always (and will eventually) run the legacy LTS builds via our own docker images.
The following patches need review
patch 0006/tests use in place sed magic for enabling deb src.patch patch 0017/travis bump to Xenial baseline.patch
patch 0018/tests docker update our Travis image.patch patch 0019/tests docker remove SID_AGE test hack.patch
Alex Bennée (5):
tests: use in-place sed magic for enabling deb-src in travis image
travis: use homebrew addon for MacOSX
travis: bump to Xenial baseline
tests/docker: update our Travis image
tests/docker: remove SID_AGE test hack
Daniel P. Berrangé (12):
tests: run ldconfig after installing extra software
tests: remove obsolete 'debian' dockerfile
tests: update Fedora dockerfile to use Fedora 29
tests: update Fedora i386 cross image to Fedora 29
travis: add whitespace between each major section & matrix entry
travis: define all the build matrix entries in one place
travis: standardize the syntax used for env variables
travis: don't clone git submodules upfront
travis: stop redefining the script commands
travis: stop using container based envs
travis: run tests in verbose mode
travis: remove matrix settings that duplicate global settings
Philippe Mathieu-Daudé (2):
docker: Use stable git tag for virglrenderer
docker: Use a stable snapshot for Debian Sid
.travis.yml | 172 ++++++++++++------ tests/docker/Makefile.include | 13 -- tests/docker/dockerfiles/debian-amd64.docker | 5 +- tests/docker/dockerfiles/debian-sid.docker | 7 +- tests/docker/dockerfiles/debian.docker | 13 -- .../dockerfiles/fedora-i386-cross.docker | 2 +- tests/docker/dockerfiles/fedora.docker | 4 +- tests/docker/dockerfiles/travis.docker | 4 +- 8 files changed, 131 insertions(+), 89 deletions(-) delete mode 100644 tests/docker/dockerfiles/debian.docker
Signature · 1 line
2.17.1
PATCH 1/19 docker: Use stable git tag for virglrenderer
From: Philippe Mathieu-Daudé <[email protected]>
Use a stable tag instead of some random commit from mainstream development, to avoid unexpected build failures.
This fixes:
CC virglrenderer.lo
virglrenderer.c: In function 'virgl_has_gl_colorspace':
virglrenderer.c:208:11: error: implicit declaration of function 'virgl_has_egl_khr_gl_colorspace' [-Werror=implicit-function-declaration]
virgl_has_egl_khr_gl_colorspace(egl_info));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
virglrenderer.c:208:43: error: 'egl_info' undeclared (first use in this function)
virgl_has_egl_khr_gl_colorspace(egl_info));
^~~~~~~~ virglrenderer.c:208:43: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
As of this commit 'git virglrenderer-0.7.0' is the last stable tag. (virglrenderer commit breaking: fb4f7577f7ef)
--- tests/docker/dockerfiles/debian-amd64.docker | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
tests/docker/dockerfiles/debian-amd64.docker +2 -1
@@ -24,7 +24,8 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \ libegl1-mesa-dev \ libepoxy-dev \ libgbm-dev -RUN git clone https://anongit.freedesktop.org/git/virglrenderer.git /usr/src/virglrenderer +RUN git clone https://anongit.freedesktop.org/git/virglrenderer.git /usr/src/virglrenderer && \ + cd /usr/src/virglrenderer && git checkout virglrenderer-0.7.0 RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install # netmap
Signature · 1 line
2.17.1
Re: [Qemu-devel] [PATCH v1 01/19] docker: Use stable git tag for virglrenderer
Quoted 33 lines · Alex Bennée
From: Philippe Mathieu-Daudé <[email protected]>
Use a stable tag instead of some random commit from mainstream development, to avoid unexpected build failures.
This fixes:
CC virglrenderer.lo
virglrenderer.c: In function 'virgl_has_gl_colorspace':
virglrenderer.c:208:11: error: implicit declaration of function 'virgl_has_egl_khr_gl_colorspace' [-Werror=implicit-function-declaration]virgl_has_egl_khr_gl_colorspace(egl_info)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ virglrenderer.c:208:43: error: 'egl_info' undeclared (first use in this function) virgl_has_egl_khr_gl_colorspace(egl_info)); ^~~~~~~~virglrenderer.c:208:43: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errorsAs of this commit 'git virglrenderer-0.7.0' is the last stable tag. (virglrenderer commit breaking:
fb4f7577f7ef)Signed-off-by Philippe Mathieu-Daudé <[email protected]>Signed-off-by Alex Bennée <[email protected]>--- tests/docker/dockerfiles/debian-amd64.docker | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)tests/docker/dockerfiles/debian-amd64.docker +0
-0
tests/docker/dockerfiles/debian-amd64.docker RUN DEBIAN_FRONTEND=noninteractive eatmydata \ · line 31
Quoted 9 lines
tests/docker/dockerfiles/debian-amd64.docker +2
-1@@ -24,7 +24,8 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \ libegl1-mesa-dev \ libepoxy-dev \ libgbm-dev -RUN git clone https://anongit.freedesktop.org/git/virglrenderer.git /usr/src/virglrenderer +RUN git clone https://anongit.freedesktop.org/git/virglrenderer.git /usr/src/virglrenderer && \ + cd /usr/src/virglrenderer && git checkout virglrenderer-0.7.0 RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install # netmap
I will prepare another patches for netmap and tricore-binutils.
PATCH 2/19 tests: run ldconfig after installing extra software
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
The docker file builds and installs software into /usr/local but does not run ldconfig. As a result QEMU links to libvirglrenderer.so, but then crashes in "make check" unable to find the library.
--- tests/docker/dockerfiles/debian-amd64.docker | 2 ++ 1 file changed, 2 insertions(+)
tests/docker/dockerfiles/debian-amd64.docker +2 -0
@@ -36,5 +36,7 @@ RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps --kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install ENV QEMU_CONFIGURE_OPTS --enable-netmap +RUN ldconfig + # gcrypt ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS --enable-gcrypt
Signature · 1 line
2.17.1
Re: [Qemu-devel] [PATCH v1 02/19] tests: run ldconfig after installing extra software
Quoted 5 lines · Alex Bennée
From: Daniel P. Berrangé <[email protected]>
The docker file builds and installs software into
/usr/localbut does not run ldconfig. As a result QEMU links to libvirglrenderer.so, but then crashes in "make check" unable to find the library.
Wow.
tests/docker/dockerfiles/debian-amd64.docker RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap · line 36
Quoted 13 lines
Signed-off-by Daniel P. Berrangé <[email protected]>Signed-off-by Alex Bennée <[email protected]>--- tests/docker/dockerfiles/debian-amd64.docker | 2 ++ 1 file changed, 2 insertions(+)tests/docker/dockerfiles/debian-amd64.docker +0
-0@@ -36,5 +36,7 @@ RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps --kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install
Daniel do you mind if we call ldconfig after each 'make install'? So if one takes this as template the 'fix' is include and he won't run into the same mistake:
RUN ... && make install && ldconfig
-- >8 --
@@ -25,14 +25,14 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \
libepoxy-dev \
libgbm-dev RUN git clone https://anongit.freedesktop.org/git/virglrenderer.git/usr/src/virglrenderer
-RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install
+RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install && ldconfig
# netmap
RUN DEBIAN_FRONTEND=noninteractive eatmydata \
apt-get install -y --no-install-recommends \
linux-headers-amd64
RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
-RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps
--kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install
+RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps
--kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install &&
ldconfig
ENV QEMU_CONFIGURE_OPTS --enable-netmap
---Regardless if Dan agree to change:
Quoted 7 lines
tests/docker/dockerfiles/debian-amd64.docker +2
-0ENV QEMU_CONFIGURE_OPTS --enable-netmap +RUN ldconfig + # gcrypt ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS --enable-gcrypt
PATCH 3/19 tests: remove obsolete 'debian' dockerfile
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
The 'debian' dockerfile was deprecated in favour of versioned dockerfiles in July 2017. That is enough time for developers to be warned about the rename.
--- tests/docker/dockerfiles/debian.docker | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 tests/docker/dockerfiles/debian.docker
tests/docker/dockerfiles/debian.docker deleted +0 -13
@@ -1,13 +0,0 @@ -# This template is deprecated and was previously based on Jessie on QEMU 2.9. -# Now than Stretch is out, please use qemu:debian8 as base for Jessie, -# and qemu:debian9 for Stretch. -# -FROM qemu:debian9 - -MAINTAINER Philippe Mathieu-Daudé <[email protected]> - -RUN for n in $(seq 8); do echo; done && \ - echo "\n\t\tThis image is deprecated." && echo && \ - echo "\tUse 'FROM qemu:debian9' to use the stable Debian Stretch image" && \ - echo "\tor 'FROM qemu:debian8' to use old Debian Jessie." && \ - for n in $(seq 8); do echo; done
Signature · 1 line
2.17.1
Re: [Qemu-devel] [PATCH v1 03/19] tests: remove obsolete 'debian' dockerfile
Quoted 8 lines · Alex Bennée
From: Daniel P. Berrangé <[email protected]>
The 'debian' dockerfile was deprecated in favour of versioned dockerfiles in July 2017. That is enough time for developers to be warned about the rename.
Signed-off-by Daniel P. Berrangé <[email protected]>Signed-off-by Alex Bennée <[email protected]>
Quoted 25 lines
--- tests/docker/dockerfiles/debian.docker | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 tests/docker/dockerfiles/debian.dockertests/docker/dockerfiles/debian.docker deleted +0
-13@@ -1,13 +0,0 @@ -# This template is deprecated and was previously based on Jessie on QEMU 2.9. -# Now than Stretch is out, please use qemu:debian8 as base for Jessie, -# and qemu:debian9 for Stretch. -# -FROM qemu:debian9 - -MAINTAINER Philippe Mathieu-Daudé <[email protected]> - -RUN for n in $(seq 8); do echo; done && \ - echo "\n\t\tThis image is deprecated." && echo && \ - echo "\tUse 'FROM qemu:debian9' to use the stable Debian Stretch image" && \ - echo "\tor 'FROM qemu:debian8' to use old Debian Jessie." && \ - for n in $(seq 8); do echo; done
PATCH 4/19 tests: update Fedora dockerfile to use Fedora 29
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
Fedora 29 is the current newest release, so switch to using that from the current Fedora 28.
--- tests/docker/dockerfiles/fedora.docker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tests/docker/dockerfiles/fedora.docker +2 -2
@@ -1,4 +1,4 @@ -FROM fedora:28 +FROM fedora:29 ENV PACKAGES \ bc \ bison \
@@ -81,7 +81,7 @@ ENV PACKAGES \ tar \ usbredir-devel \ virglrenderer-devel \ - vte3-devel \ + vte291-devel \ which \ xen-devel \ zlib-devel
Signature · 1 line
2.17.1
PATCH 5/19 tests: update Fedora i386 cross image to Fedora 29
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
Using the "latest" tag is not a good idea because this changes what release it points to every 6 months. Together with caching of docker builds this can cause confusion where CI has cached & built with Fedora N, while a developer tries to reproduce a CI problem with Fedora N + 1, or vica-verca.
--- tests/docker/dockerfiles/fedora-i386-cross.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/fedora-i386-cross.docker +1 -1
@@ -1,4 +1,4 @@ -FROM fedora:latest +FROM fedora:29 ENV PACKAGES \ gcc \ glib2-devel.i686 \
Signature · 1 line
2.17.1
Re: [Qemu-devel] [PATCH v1 05/19] tests: update Fedora i386 cross image to Fedora 29
Quoted 7 lines · Alex Bennée
From: Daniel P. Berrangé <[email protected]>
Using the "latest" tag is not a good idea because this changes what release it points to every 6 months. Together with caching of docker builds this can cause confusion where CI has cached & built with Fedora N, while a developer tries to reproduce a CI problem with Fedora N + 1, or vica-verca.
So we now learned the hard way commiting "FROM x:latest" to a repository is a bad practice.
tests/docker/dockerfiles/fedora-i386-cross.docker line 1
Quoted 13 lines
Signed-off-by Daniel P. Berrangé <[email protected]>Signed-off-by Alex Bennée <[email protected]>--- tests/docker/dockerfiles/fedora-i386-cross.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/docker/dockerfiles/fedora-i386-cross.docker +0
-1@@ -1,4 +1,4 @@ -FROM fedora:latest
If checkpatch wasn't in Perl I'd have added a check to ban :latest.
tests/docker/dockerfiles/fedora-i386-cross.docker line 4
Quoted 5 lines
tests/docker/dockerfiles/fedora-i386-cross.docker +1
-0+FROM fedora:29 ENV PACKAGES \ gcc \ glib2-devel.i686 \
Re: [Qemu-devel] [PATCH v1 05/19] tests: update Fedora i386 cross image to Fedora 29
Quoted 11 lines · Philippe Mathieu-Daudé
Quoted 7 lines · Alex Bennée
From: Daniel P. Berrangé <[email protected]>
Using the "latest" tag is not a good idea because this changes what release it points to every 6 months. Together with caching of docker builds this can cause confusion where CI has cached & built with Fedora N, while a developer tries to reproduce a CI problem with Fedora N + 1, or vica-verca.
So we now learned the hard way commiting "FROM x:latest" to a repository is a bad practice.
Unfortunately this is the second time we've had to learn it :-(
commit 5b9b49d7bd3e0da13e8f6d58578443a11817f56e
Author: Paolo Bonzini <[email protected]>
Date: Fri Jan 12 12:11:43 2018 +0100
docker: change Fedora base image to fedora:27
Using "fedora:latest" makes behavior different depending on when you actually pulled the image from the docker repository. In my case, the supposedly "latest" image was a Fedora 25 download from 8 months ago, and the new "test-debug" test was failing.
Use "27" to improve reproducibility and make it clear when the image is obsolete.
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
PATCH 6/19 tests: use in-place sed magic for enabling deb-src in travis image
In reply to Alex BennéeThis avoids potential problems with duplicates.
--- tests/docker/dockerfiles/travis.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/travis.docker +1 -1
@@ -2,7 +2,7 @@ FROM travisci/ci-garnet:packer-1512502276-986baf0 ENV DEBIAN_FRONTEND noninteractive ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8 -RUN cat /etc/apt/sources.list | sed "s/# deb-src/deb-src/" >> /etc/apt/sources.list +RUN sed -i "s/# deb-src/deb-src/" /etc/apt/sources.list RUN apt-get update RUN apt-get -y build-dep qemu RUN apt-get -y install device-tree-compiler python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools gcovr
Signature · 1 line
2.17.1
Re: [Qemu-devel] [PATCH v1 06/19] tests: use in-place sed magic for enabling deb-src in travis image
Quoted 12 lines · Alex Bennée
This avoids potential problems with duplicates.
Signed-off-by Alex Bennée <[email protected]>--- tests/docker/dockerfiles/travis.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/docker/dockerfiles/travis.docker +0
-0
tests/docker/dockerfiles/travis.docker FROM travisci/ci-garnet:packer-1512502276-986baf0 · line 5
Quoted 5 lines
tests/docker/dockerfiles/travis.docker +1
-1@@ -2,7 +2,7 @@ FROM travisci/ci-garnet:packer-1512502276-986baf0 ENV DEBIAN_FRONTEND noninteractive ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8 -RUN cat /etc/apt/sources.list | sed "s/# deb-src/deb-src/" >> /etc/apt/sources.list +RUN sed -i "s/# deb-src/deb-src/" /etc/apt/sources.list
Good!
Do you mind fixing the other Debian Dockerfiles?
$ git grep 'sed "' tests/docker/ tests/docker/dockerfiles/debian-bootstrap.docker:20:RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.list tests/docker/dockerfiles/debian-sid.docker:21:RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list tests/docker/dockerfiles/debian8.docker:15:RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list tests/docker/dockerfiles/debian9.docker:13:RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list tests/docker/dockerfiles/travis.docker:5:RUN cat /etc/apt/sources.list | sed "s/# deb-src/deb-src/" >> /etc/apt/sources.list
Quoted 4 lines
tests/docker/dockerfiles/travis.docker +0
-0RUN apt-get update RUN apt-get -y build-dep qemu RUN apt-get -y install device-tree-compiler python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools gcovr
PATCH 7/19 travis: add whitespace between each major section & matrix entry
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
Improve the readability of the travis config by adding two blank lines between each major section and matrix entry.
--- .travis.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+)
.travis.yml +42 -0
@@ -1,6 +1,7 @@ # The current Travis default is a container based 14.04 Trust on EC2 # Additional builds with specific requirements for a full VM need to # be added as additional matrix: entries later on + sudo: false dist: trusty language: c
@@ -9,6 +10,8 @@ python: compiler: - gcc cache: ccache + + addons: apt: packages:
@@ -40,6 +43,7 @@ addons: - uuid-dev - gcovr + # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu # to prevent IRC notifications from forks. This was created using: # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu"
@@ -49,6 +53,8 @@ notifications: - secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1KWKjZe9KDTZWppWRYVwAwQMzVeSOsbbU4tRoJ6Pp+3qhH1Z0eGYR9ZgKYAoTumDFgSAYRp4IscKS8jkoedOqM=" on_success: change on_failure: always + + env: global: - SRC_DIR="."
@@ -63,9 +69,13 @@ env: - CONFIG="--enable-modules --disable-linux-user" - CONFIG="--with-coroutine=ucontext --disable-linux-user" - CONFIG="--with-coroutine=sigaltstack --disable-linux-user" + + git: # we want to do this ourselves submodules: false + + before_install: - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi
@@ -75,54 +85,82 @@ before_script: - ${SRC_DIR}/configure ${CONFIG} || { cat config.log && exit 1; } script: - make ${MAKEFLAGS} && ${TEST_CMD} + + matrix: include: # Test out-of-tree builds - env: CONFIG="--enable-debug --enable-debug-tcg" BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.." + + # Test with Clang for compile portability (Travis uses clang-5.0) - env: CONFIG="--disable-system" compiler: clang + + - env: CONFIG="--disable-user" compiler: clang + + # gprof/gcov are GCC features - env: CONFIG="--enable-gprof --enable-gcov --disable-pie --target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" after_success: - ${SRC_DIR}/scripts/travis/coverage-summary.sh compiler: gcc + + # We manually include builds which we disable "make check" for - env: CONFIG="--enable-debug --enable-tcg-interpreter" TEST_CMD="" compiler: gcc + + # We don't need to exercise every backend with every front-end - env: CONFIG="--enable-trace-backends=log,simple,syslog --disable-system" TEST_CMD="" compiler: gcc + + - env: CONFIG="--enable-trace-backends=ftrace --target-list=x86_64-softmmu" TEST_CMD="" compiler: gcc + + - env: CONFIG="--enable-trace-backends=ust --target-list=x86_64-softmmu" TEST_CMD="" compiler: gcc + + - env: CONFIG="--disable-tcg" TEST_CMD="" compiler: gcc + + # MacOSX builds - env: CONFIG="--target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" os: osx osx_image: xcode9.4 compiler: clang + + - env: CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu" os: osx osx_image: xcode10 compiler: clang + + # Python builds - env: CONFIG="--target-list=x86_64-softmmu" python: - "3.0" + + - env: CONFIG="--target-list=x86_64-softmmu" python: - "3.6" + + # Acceptance (Functional) tests - env: CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu" TEST_CMD="make AVOCADO_SHOW=app check-acceptance"
@@ -131,6 +169,8 @@ matrix: packages: - python3-pip - python3.4-venv + + # Using newer GCC with sanitizers - addons: apt:
@@ -175,6 +215,8 @@ matrix: - TEST_CMD="" before_script: - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || { cat config.log && exit 1; } + + - env: - CONFIG="--disable-system --disable-docs" - TEST_CMD="make check-tcg"
Signature · 1 line
2.17.1
PATCH 8/19 travis: define all the build matrix entries in one place
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
The current build matrix is constructed from entries listed under the environment variable config section, as well as the general purpose build matrix section. Move everything under the general purpose section so it is clear at a glance what is in the matrix.
--- .travis.yml | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-)
.travis.yml +21 -8
@@ -61,14 +61,6 @@ env: - BUILD_DIR="." - TEST_CMD="make check" - MAKEFLAGS="-j3" - matrix: - - CONFIG="--disable-system" - - CONFIG="--disable-user" - - CONFIG="--enable-debug --enable-debug-tcg" - - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb --disable-user" - - CONFIG="--enable-modules --disable-linux-user" - - CONFIG="--with-coroutine=ucontext --disable-linux-user" - - CONFIG="--with-coroutine=sigaltstack --disable-linux-user" git:
@@ -89,6 +81,27 @@ script: matrix: include: + - env: CONFIG="--disable-system" + + + - env: CONFIG="--disable-user" + + + - env: CONFIG="--enable-debug --enable-debug-tcg" + + + - env: CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb --disable-user" + + + - env: CONFIG="--enable-modules --disable-linux-user" + + + - env: CONFIG="--with-coroutine=ucontext --disable-linux-user" + + + - env: CONFIG="--with-coroutine=sigaltstack --disable-linux-user" + + # Test out-of-tree builds - env: CONFIG="--enable-debug --enable-debug-tcg" BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.."
Signature · 1 line
2.17.1
PATCH 9/19 travis: standardize the syntax used for env variables
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
Matrix entries are defining env variables using two different syntax styles:
- env: FOO=bar
WIZZ=bang
and
- env:
- FOO=bar
- WIZZ=bang
Switch everything to use the latter style as the more normal indentation approach.
--- .travis.yml | 77 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 49 insertions(+), 28 deletions(-)
.travis.yml +49 -28
@@ -81,102 +81,123 @@ script: matrix: include: - - env: CONFIG="--disable-system" + - env: + - CONFIG="--disable-system" - - env: CONFIG="--disable-user" + - env: + - CONFIG="--disable-user" - - env: CONFIG="--enable-debug --enable-debug-tcg" + - env: + - CONFIG="--enable-debug --enable-debug-tcg" - - env: CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb --disable-user" + - env: + - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb --disable-user" - - env: CONFIG="--enable-modules --disable-linux-user" + - env: + - CONFIG="--enable-modules --disable-linux-user" - - env: CONFIG="--with-coroutine=ucontext --disable-linux-user" + - env: + - CONFIG="--with-coroutine=ucontext --disable-linux-user" - - env: CONFIG="--with-coroutine=sigaltstack --disable-linux-user" + - env: + - CONFIG="--with-coroutine=sigaltstack --disable-linux-user" # Test out-of-tree builds - - env: CONFIG="--enable-debug --enable-debug-tcg" - BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.." + - env: + - CONFIG="--enable-debug --enable-debug-tcg" + - BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.." # Test with Clang for compile portability (Travis uses clang-5.0) - - env: CONFIG="--disable-system" + - env: + - CONFIG="--disable-system" compiler: clang - - env: CONFIG="--disable-user" + - env: + - CONFIG="--disable-user" compiler: clang # gprof/gcov are GCC features - - env: CONFIG="--enable-gprof --enable-gcov --disable-pie --target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" + - env: + - CONFIG="--enable-gprof --enable-gcov --disable-pie --target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" after_success: - ${SRC_DIR}/scripts/travis/coverage-summary.sh compiler: gcc # We manually include builds which we disable "make check" for - - env: CONFIG="--enable-debug --enable-tcg-interpreter" - TEST_CMD="" + - env: + - CONFIG="--enable-debug --enable-tcg-interpreter" + - TEST_CMD="" compiler: gcc # We don't need to exercise every backend with every front-end - - env: CONFIG="--enable-trace-backends=log,simple,syslog --disable-system" - TEST_CMD="" + - env: + - CONFIG="--enable-trace-backends=log,simple,syslog --disable-system" + - TEST_CMD="" compiler: gcc - - env: CONFIG="--enable-trace-backends=ftrace --target-list=x86_64-softmmu" - TEST_CMD="" + - env: + - CONFIG="--enable-trace-backends=ftrace --target-list=x86_64-softmmu" + - TEST_CMD="" compiler: gcc - - env: CONFIG="--enable-trace-backends=ust --target-list=x86_64-softmmu" - TEST_CMD="" + - env: + - CONFIG="--enable-trace-backends=ust --target-list=x86_64-softmmu" + - TEST_CMD="" compiler: gcc - - env: CONFIG="--disable-tcg" - TEST_CMD="" + - env: + - CONFIG="--disable-tcg" + - TEST_CMD="" compiler: gcc # MacOSX builds - - env: CONFIG="--target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" + - env: + - CONFIG="--target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" os: osx osx_image: xcode9.4 compiler: clang - - env: CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu" + - env: + - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu" os: osx osx_image: xcode10 compiler: clang # Python builds - - env: CONFIG="--target-list=x86_64-softmmu" + - env: + - CONFIG="--target-list=x86_64-softmmu" python: - "3.0" - - env: CONFIG="--target-list=x86_64-softmmu" + - env: + - CONFIG="--target-list=x86_64-softmmu" python: - "3.6" # Acceptance (Functional) tests - - env: CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu" - TEST_CMD="make AVOCADO_SHOW=app check-acceptance" + - env: + - CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu" + - TEST_CMD="make AVOCADO_SHOW=app check-acceptance" addons: apt: packages:
Signature · 1 line
2.17.1
PATCH 10/19 travis: don't clone git submodules upfront
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
The configure script & Makefile are already capable of figuring out which git submodules are required for a given build platform, and cloning them at the right time.
--- .travis.yml | 1 - 1 file changed, 1 deletion(-)
.travis.yml +0 -1
@@ -71,7 +71,6 @@ git: before_install: - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi - - git submodule update --init --recursive capstone dtc ui/keycodemapdb before_script: - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - ${SRC_DIR}/configure ${CONFIG} || { cat config.log && exit 1; }
Signature · 1 line
2.17.1
PATCH 11/19 travis: use homebrew addon for MacOSX
In reply to Alex BennéeRather than poking homebrew manually we can specify the packages needed via the homebrew addon. These are only installed on MacOS based builds.
--- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
.travis.yml +6 -3
@@ -42,6 +42,12 @@ addons: - sparse - uuid-dev - gcovr + homebrew: + packages: + - libffi + - gettext + - glib + - pixman # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu
@@ -68,9 +74,6 @@ git: submodules: false -before_install: - - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi - - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi before_script: - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - ${SRC_DIR}/configure ${CONFIG} || { cat config.log && exit 1; }
Signature · 1 line
2.17.1
Re: [Qemu-devel] [PATCH v1 11/19] travis: use homebrew addon for MacOSX
Quoted 6 lines · Alex Bennée
Rather than poking homebrew manually we can specify the packages needed via the homebrew addon. These are only installed on MacOS based builds.
Signed-off-by Alex Bennée <[email protected]>Signed-off-by Alex Bennée <[email protected]>
Dupe
Quoted 3 lines
--- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
.travis.yml addons: · line 48
Quoted 13 lines
.travis.yml +4
-0@@ -42,6 +42,12 @@ addons: - sparse - uuid-dev - gcovr + homebrew: + packages: + - libffi + - gettext
A separate patch can also drop libffi & gettext since travis logs show they are already installed these days.
Quoted 6 lines
.travis.yml +2
-0+ - glib + - pixman # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu
.travis.yml git: · line 79
Quoted 9 lines
.travis.yml +0
-3@@ -68,9 +74,6 @@ git: submodules: false -before_install: - - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi - - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi before_script: - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - ${SRC_DIR}/configure ${CONFIG} || { cat config.log && exit 1; }
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
PATCH 12/19 travis: stop redefining the script commands
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
One of the matrix entries redefines the script command in order to add the ${MAKEFLAGS} variable. Ideally ${MAKEFLAGS} would be referenced by the definition of the ${TEST_CMD} env variable, but this isn't possible in travis. ${MAKEFLAGS} exists to eliminate duplication of flags in every "make" command, but this cure causes a worse problem, namely the reduplication of the "script" command. It is simpler to just insert "-j3" directly into any "make" command.
--- .travis.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
.travis.yml +3 -6
@@ -65,8 +65,7 @@ env: global: - SRC_DIR="." - BUILD_DIR="." - - TEST_CMD="make check" - - MAKEFLAGS="-j3" + - TEST_CMD="make check -j3" git:
@@ -78,7 +77,7 @@ before_script: - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - ${SRC_DIR}/configure ${CONFIG} || { cat config.log && exit 1; } script: - - make ${MAKEFLAGS} && ${TEST_CMD} + - make -j3 && ${TEST_CMD} matrix:
@@ -255,9 +254,7 @@ matrix: - env: - CONFIG="--disable-system --disable-docs" - - TEST_CMD="make check-tcg" - script: - - make ${MAKEFLAGS} && ${TEST_CMD} ${MAKEFLAGS} + - TEST_CMD="make -j3 check-tcg" sudo: required dist: trusty compiler: gcc
Signature · 1 line
2.17.1
PATCH 13/19 travis: stop using container based envs
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
The Travis container based envs are deprecated:
https://docs.travis-ci.com/user/reference/trusty/
"Container-based infrastructure is currently being deprecated.
Please remove any sudo: false keys in your .travis.yml file to use the default fully-virtualized Linux infrastructure instead."
--- .travis.yml | 5 ----- 1 file changed, 5 deletions(-)
.travis.yml +0 -5
@@ -1,8 +1,4 @@ -# The current Travis default is a container based 14.04 Trust on EC2 -# Additional builds with specific requirements for a full VM need to -# be added as additional matrix: entries later on -sudo: false dist: trusty language: c python:
@@ -255,6 +251,5 @@ matrix: - env: - CONFIG="--disable-system --disable-docs" - TEST_CMD="make -j3 check-tcg" - sudo: required dist: trusty compiler: gcc
Signature · 1 line
2.17.1
PATCH 14/19 travis: run tests in verbose mode
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
Travis sometimes fails a build because it produces no console output for over 10 minutes. If this is due to a genuine hang, it would be useful to have used verbose test output to see where it failed. If this is just due to tests being very slow, having verbose output might allow the build to succeed.
--- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
.travis.yml +2 -2
@@ -61,7 +61,7 @@ env: global: - SRC_DIR="." - BUILD_DIR="." - - TEST_CMD="make check -j3" + - TEST_CMD="make check -j3 V=1" git:
@@ -250,6 +250,6 @@ matrix: - env: - CONFIG="--disable-system --disable-docs" - - TEST_CMD="make -j3 check-tcg" + - TEST_CMD="make -j3 check-tcg V=1" dist: trusty compiler: gcc
Signature · 1 line
2.17.1
PATCH 15/19 travis: remove matrix settings that duplicate global settings
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
The global defaults request "trusty" and "gcc", so matrix entries do not need to repeat this.
--- .travis.yml | 8 -------- 1 file changed, 8 deletions(-)
.travis.yml +0 -8
@@ -128,39 +128,33 @@ matrix: - CONFIG="--enable-gprof --enable-gcov --disable-pie --target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" after_success: - ${SRC_DIR}/scripts/travis/coverage-summary.sh - compiler: gcc # We manually include builds which we disable "make check" for - env: - CONFIG="--enable-debug --enable-tcg-interpreter" - TEST_CMD="" - compiler: gcc # We don't need to exercise every backend with every front-end - env: - CONFIG="--enable-trace-backends=log,simple,syslog --disable-system" - TEST_CMD="" - compiler: gcc - env: - CONFIG="--enable-trace-backends=ftrace --target-list=x86_64-softmmu" - TEST_CMD="" - compiler: gcc - env: - CONFIG="--enable-trace-backends=ust --target-list=x86_64-softmmu" - TEST_CMD="" - compiler: gcc - env: - CONFIG="--disable-tcg" - TEST_CMD="" - compiler: gcc # MacOSX builds
@@ -251,5 +245,3 @@ matrix: - env: - CONFIG="--disable-system --disable-docs" - TEST_CMD="make -j3 check-tcg V=1" - dist: trusty - compiler: gcc
Signature · 1 line
2.17.1
Re: [Qemu-devel] [PATCH v1 15/19] travis: remove matrix settings that duplicate global settings
Quoted 7 lines · Alex Bennée
From: Daniel P. Berrangé <[email protected]>
The global defaults request "trusty" and "gcc", so matrix entries do not need to repeat this.
Signed-off-by Daniel P. Berrangé <[email protected]>Signed-off-by Alex Bennée <[email protected]>
Quoted 55 lines
--- .travis.yml | 8 -------- 1 file changed, 8 deletions(-).travis.yml +0
-8@@ -128,39 +128,33 @@ matrix: - CONFIG="--enable-gprof --enable-gcov --disable-pie --target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" after_success: - ${SRC_DIR}/scripts/travis/coverage-summary.sh - compiler: gcc # We manually include builds which we disable "make check" for - env: - CONFIG="--enable-debug --enable-tcg-interpreter" - TEST_CMD="" - compiler: gcc # We don't need to exercise every backend with every front-end - env: - CONFIG="--enable-trace-backends=log,simple,syslog --disable-system" - TEST_CMD="" - compiler: gcc - env: - CONFIG="--enable-trace-backends=ftrace --target-list=x86_64-softmmu" - TEST_CMD="" - compiler: gcc - env: - CONFIG="--enable-trace-backends=ust --target-list=x86_64-softmmu" - TEST_CMD="" - compiler: gcc - env: - CONFIG="--disable-tcg" - TEST_CMD="" - compiler: gcc # MacOSX builds@@ -251,5 +245,3 @@ matrix: - env: - CONFIG="--disable-system --disable-docs" - TEST_CMD="make -j3 check-tcg V=1" - dist: trusty - compiler: gcc
PATCH 16/19 docker: Use a stable snapshot for Debian Sid
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
The Debian Sid repository is not garanteed to be stable, as his 'unstable' name suggest :)
To allow quick testing, packages are pushed various time a day, which my be annoying when trying to use it for stable development (which is not recommended, but Sid provides edge packages we use for testing).
Debian provides repositories snapshots which are suitable for our use. Pick a recent date that works. When required, update to newer releases will be easy.
This fixes current issues with this image:
$ make docker-image-debian-sid
[...]
The following packages have unmet dependencies:
build-essential : Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed
git : Depends: perl but it is not going to be installed
Depends: liberror-perl but it is not going to be installed
pkg-config : Depends: libdpkg-perl but it is not going to be installed
texinfo : Depends: perl (>= 5.26.2-6) but it is not going to be installed
Depends: libtext-unidecode-perl but it is not going to be installed
Depends: libxml-libxml-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.--- tests/docker/dockerfiles/debian-sid.docker | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
tests/docker/dockerfiles/debian-sid.docker +6 -1
@@ -11,7 +11,12 @@ # updated and trigger a re-build. # -FROM debian:sid-slim +# This must be earlier than the snapshot date we are aiming for +FROM debian:sid-20181011-slim + +# Use a snapshot known to work (see http://snapshot.debian.org/#Usage) +ENV DEBIAN_SNAPSHOT_DATE "20181030" +RUN sed -i "s%^deb \(https\?://\)deb.debian.org/debian/\? \(.*\)%deb [check-valid-until=no] \1snapshot.debian.org/archive/debian/${DEBIAN_SNAPSHOT_DATE} \2%" /etc/apt/sources.list # Use a snapshot known to work (see http://snapshot.debian.org/#Usage) ENV DEBIAN_SNAPSHOT_DATE "20181030"
Signature · 1 line
2.17.1
Re: [Qemu-devel] [PATCH v1 16/19] docker: Use a stable snapshot for Debian Sid
Quoted 39 lines · Alex Bennée
From: Philippe Mathieu-Daudé <[email protected]>
The Debian Sid repository is not garanteed to be stable, as his 'unstable' name suggest :)
To allow quick testing, packages are pushed various time a day, which my be annoying when trying to use it for stable development (which is not recommended, but Sid provides edge packages we use for testing).Debian provides repositories snapshots which are suitable for our use. Pick a recent date that works. When required, update to newer releases will be easy.
This fixes current issues with this image:
$ make docker-image-debian-sid [...] The following packages have unmet dependencies: build-essential : Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed git : Depends: perl but it is not going to be installed Depends: liberror-perl but it is not going to be installed pkg-config : Depends: libdpkg-perl but it is not going to be installed texinfo : Depends: perl (>= 5.26.2-6) but it is not going to be installed Depends: libtext-unidecode-perl but it is not going to be installed Depends: libxml-libxml-perl but it is not going to be installed E: Unable to correct problems, you have held broken packages.Signed-off-by Philippe Mathieu-Daudé <[email protected]>[AJB: also tweak FROM to a earlier snapshot]Signed-off-by Alex Bennée <[email protected]>--- tests/docker/dockerfiles/debian-sid.docker | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)tests/docker/dockerfiles/debian-sid.docker +0
-0
tests/docker/dockerfiles/debian-sid.docker line 19
Quoted 10 lines
tests/docker/dockerfiles/debian-sid.docker +6
-1@@ -11,7 +11,12 @@ # updated and trigger a re-build. # -FROM debian:sid-slim +# This must be earlier than the snapshot date we are aiming for +FROM debian:sid-20181011-slim + +# Use a snapshot known to work (see http://snapshot.debian.org/#Usage) +ENV DEBIAN_SNAPSHOT_DATE "20181030" +RUN sed -i "s%^deb \(https\?://\)deb.debian.org/debian/\? \(.*\)%deb [check-valid-until=no] \1snapshot.debian.org/archive/debian/${DEBIAN_SNAPSHOT_DATE} \2%" /etc/apt/sources.list
These 2 lines are now dup (probably because Fam's PR entered before this series).
tests/docker/dockerfiles/debian-sid.docker
Quoted 4 lines
tests/docker/dockerfiles/debian-sid.docker +0
-0# Use a snapshot known to work (see http://snapshot.debian.org/#Usage) ENV DEBIAN_SNAPSHOT_DATE "20181030"
Without the dup lines:
PATCH 17/19 travis: bump to Xenial baseline
In reply to Alex BennéeTravis is slowly catching up. Move to Xenial based images for our current builds. These are now all proper VMs.
--- .travis.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-)
.travis.yml +7 -9
@@ -1,8 +1,8 @@ - -dist: trusty +# The current Travis default is a VM based 16.04 Xenial on GCE +# Additional builds with specific requirements for a full VM need to +# be added as additional matrix: entries later on +dist: xenial language: c -python: - - "2.6" compiler: - gcc cache: ccache
@@ -34,7 +34,7 @@ addons: - libssh2-1-dev - liburcu-dev - libusb-1.0-0-dev - - libvte-2.90-dev + - libvte-2.91-dev - sparse - uuid-dev - gcovr
@@ -193,9 +193,7 @@ matrix: apt: packages: - python3-pip - - python3.4-venv - - + - python3.5-venv # Using newer GCC with sanitizers - addons: apt:
@@ -229,7 +227,7 @@ matrix: - libssh2-1-dev - liburcu-dev - libusb-1.0-0-dev - - libvte-2.90-dev + - libvte-2.91-dev - sparse - uuid-dev language: generic
Signature · 1 line
2.17.1
PATCH 18/19 tests/docker: update our Travis image
In reply to Alex BennéeWe are now using Xenial based images on Travis so we should make the same one available as our qemu:travis docker image.
--- tests/docker/dockerfiles/travis.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/travis.docker +1 -1
@@ -1,4 +1,4 @@ -FROM travisci/ci-garnet:packer-1512502276-986baf0 +FROM travisci/ci-sardonyx:packer-1546978056-2c98a19 ENV DEBIAN_FRONTEND noninteractive ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8
Signature · 1 line
2.17.1
PATCH 19/19 tests/docker: remove SID_AGE test hack
In reply to Alex BennéeNow we are using "named" snapshots of debian-sid we can rely on the existing checksum mechanism for detecting changes.
--- tests/docker/Makefile.include | 13 ------------- 1 file changed, 13 deletions(-)
tests/docker/Makefile.include +0 -13
@@ -98,19 +98,6 @@ docker-image-debian-s390x-cross: docker-image-debian9 docker-image-debian-win32-cross: docker-image-debian8-mxe docker-image-debian-win64-cross: docker-image-debian8-mxe -# Debian SID images - we are tracking a rolling distro so we want to -# force a re-build of the base image if we ever need to build one of -# its children. -ifndef SKIP_DOCKER_BUILD -ifeq ($(HAVE_USER_DOCKER),y) -SID_AGE=$(shell $(DOCKER_SCRIPT) check --checktype=age --olderthan=180 --quiet qemu:debian-sid) -ifeq ($(SID_AGE),) -else -docker-image-debian-sid: NOCACHE=1 -endif -endif -endif - docker-image-debian-alpha-cross: docker-image-debian-sid docker-image-debian-hppa-cross: docker-image-debian-sid docker-image-debian-m68k-cross: docker-image-debian-sid
Signature · 1 line
2.17.1
Patchew URL: https://patchew.org/QEMU/[email protected]/
Patchew URL: https://patchew.org/QEMU/[email protected]/
Hi,
This series failed the docker-mingw@fedora 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
time make docker-test-mingw@fedora SHOW_ENV=1 J=14 === TEST SCRIPT END ===
The full log is available at
http://patchew.org/logs/[email protected]/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to [email protected]