testing updates (green CI!)
The following changes since commit 23da9e297b4120ca9702cabec91599a44255fe96:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190722' into staging (2019-07-22 15:16:48 +0100)
are available in the Git repository at:
https://github.com/stsquad/qemu.git tags/pull-testing-230719-1
for you to fetch changes up to 2e3b8743cd66f1d0fbc83051b0b6b072a97460cc:
gitlab-ci: Remove qcow2 tests that are handled by "make check" already (2019-07-23 11:33:15 +0100)
----------------------------------------------------------------
Final testing updates:
- docker sphinx updates
- windows build re-enabled in CI
- travis_retry for make check
- quick iotests enabled for make check
- build fixes
----------------------------------------------------------------
Alex Bennée (7):
tests/docker: add test-misc for building tools & docs tests/migration-test: don't spam the logs when we fail tests/dockerfiles: update the win cross builds to stretch
shippable: re-enable the windows cross builds hw/i386: also turn off VMMOUSE is VMPORT is disabled
travis: enable travis_retry for check phase tests/docker: invoke the DEBUG shell with --noprofile/--norc
Marc-André Lureau (1):
archive-source: also create a stash for submodules
Philippe Mathieu-Daudé (11):
tests/docker: Install Sphinx in the Ubuntu images tests/docker: Install Sphinx in the Fedora image tests/docker: Install Ubuntu images noninteractively tests/docker: Install Sphinx in the Debian images tests/docker: Install the NSIS tools in the MinGW capable images tests/docker: Set the correct cross-PKG_CONFIG_PATH in the MXE images tests/docker: Install texinfo in the Fedora image
buildsys: The NSIS Windows build requires the documentation installed
buildsys: The NSIS Windows build requires qemu-nsis.bmp installed tests/docker: Let the test-mingw test generate a NSIS installer
NSIS: Add missing firmware blobs
Thomas Huth (4):
tests/qemu-iotests/check: Allow tests without groups tests/qemu-iotests/group: Remove some more tests from the "auto" group
tests: Run the iotests during "make check" again
gitlab-ci: Remove qcow2 tests that are handled by "make check" already
.gitlab-ci.yml | 13 +--
.shippable.yml | 9 +-
.travis.yml | 2 +-
Makefile | 3 +-
hw/i386/Kconfig | 4 +-
qemu.nsi | 11 ++
scripts/archive-source.sh | 18 ++--
tests/Makefile.include | 10 +-
tests/check-block.sh | 44 ++++++--
tests/docker/Makefile.include | 6 +-
tests/docker/dockerfiles/debian-win32-cross.docker | 10 +-
tests/docker/dockerfiles/debian-win64-cross.docker | 10 +-
tests/docker/dockerfiles/debian10.docker | 1 +
.../{debian8-mxe.docker => debian9-mxe.docker} | 11 +-
tests/docker/dockerfiles/debian9.docker | 1 +
tests/docker/dockerfiles/fedora.docker | 4 +
tests/docker/dockerfiles/ubuntu.docker | 3 +-
tests/docker/dockerfiles/ubuntu1804.docker | 3 +-
tests/docker/run | 4 +-
tests/docker/test-mingw | 4 +-
tests/docker/test-misc | 22 ++++
tests/migration-test.c | 19 ++--
tests/qemu-iotests-quick.sh | 8 --
tests/qemu-iotests/check | 4 +-
tests/qemu-iotests/group | 120 +++++++++++----------
25 files changed, 212 insertions(+), 132 deletions(-)
rename tests/docker/dockerfiles/{debian8-mxe.docker => debian9-mxe.docker} (56%)
create mode 100755 tests/docker/test-misc
delete mode 100755 tests/qemu-iotests-quick.shSignature · 1 line
2.20.1
[Qemu-devel] [PULL 01/23] archive-source: also create a stash for submodules
From: Marc-André Lureau <[email protected]>
"git archive" fails when a submodule has a modification, because "git stash create" doesn't handle submodules. Let's teach our archive-source.sh to handle modifications in submodules the same way as qemu tree, by creating a stash.
Message-Id: <[email protected]>
scripts/archive-source.sh +10 -8
@@ -39,14 +39,16 @@ function cleanup() { } trap "cleanup" 0 1 2 3 15 -if git diff-index --quiet HEAD -- &>/dev/null -then - HEAD=HEAD -else - HEAD=$(git stash create) -fi +function tree_ish() { + local retval='HEAD' + if ! git diff-index --quiet --ignore-submodules=all HEAD -- &>/dev/null + then + retval=$(git stash create) + fi + echo "$retval" +} -git archive --format tar $HEAD > "$tar_file" +git archive --format tar "$(tree_ish)" > "$tar_file" test $? -ne 0 && error "failed to archive qemu" for sm in $submodules; do status="$(git submodule status "$sm")"
@@ -62,7 +64,7 @@ for sm in $submodules; do echo "WARNING: submodule $sm is out of sync" ;; esac - (cd $sm; git archive --format tar --prefix "$sm/" $smhash) > "$sub_file" + (cd $sm; git archive --format tar --prefix "$sm/" $(tree_ish)) > "$sub_file" test $? -ne 0 && error "failed to archive submodule $sm ($smhash)" tar --concatenate --file "$tar_file" "$sub_file" test $? -ne 0 && error "failed append submodule $sm to $tar_file"
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 03/23] tests/docker: Install Sphinx in the Ubuntu images
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
Since commit 5f71eac06e the Sphinx tool is required to build the rST documentation.
This fixes:
$ ./configure --enable-docs
ERROR: User requested feature docs
configure was not able to find it.
Install texinfo, Perl/perl-podlators and python-sphinx
Message-Id: <[email protected]>
tests/docker/dockerfiles/ubuntu.docker +1 -0
@@ -61,6 +61,7 @@ ENV PACKAGES flex bison \ libxen-dev \ make \ python-yaml \ + python3-sphinx \ sparse \ texinfo \ xfslibs-dev
tests/docker/dockerfiles/ubuntu1804.docker +1 -0
@@ -48,6 +48,7 @@ ENV PACKAGES flex bison \ libxen-dev \ make \ python-yaml \ + python3-sphinx \ sparse \ texinfo \ xfslibs-dev
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 06/23] tests/migration-test: don't spam the logs when we fail
In reply to Alex BennéeQuite often the information about which test failed is hidden by the wall of repeated failures for each page. Stop outputting the error after 10 bad pages and just summarise the total damage at the end.
tests/migration-test.c +12 -7
@@ -308,7 +308,7 @@ static void check_guests_ram(QTestState *who)uint8_t first_byte;uint8_t last_byte;bool hit_edge = false; -bool bad = false; +int bad =0 ;qtest_memread (who, start_address, &first_byte,1 ); last_byte = first_byte;
@@ -327,15 +327,20 @@ static void check_guests_ram(QTestState *who) hit_edge = true; last_byte = b; }else { -fprintf (stderr,"Memory content inconsistency at %x" -" first_byte = %x last_byte = %x current = %x" -" hit_edge = %x\n" , - address, first_byte, last_byte, b, hit_edge); - bad = true; + bad++; +if (bad <=10 ) { +fprintf (stderr,"Memory content inconsistency at %x" +" first_byte = %x last_byte = %x current = %x" +" hit_edge = %x\n" , + address, first_byte, last_byte, b, hit_edge); + } } } } -g_assert_false (bad); +if (bad >=10 ) { +fprintf (stderr,"and in another %d pages" , bad -10 ); + } +g_assert (bad ==0 ); }static void cleanup (const char *filename)
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 02/23] tests/docker: add test-misc for building tools & docs
In reply to Alex BennéeAdd yet another test type so we cna quickly exercise the miscellaneous build products of the build system under various docer configurations.
tests/docker/test-misc new file +22 -0
@@ -0,0 +1,22 @@ +#!/bin/bash -e +# +# Build the miscellaneous components +# +# Copyright (c) 2019 Linaro Ltd. +# +# Authors: +# Alex Bennée <[email protected]> +# +# This work is licensed under the terms of the GNU GPL, version 2 or later. +# See the COPYING file in the top-level directory. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. common.rc + +cd "$BUILD_DIR" + +# build everything else but QEMU +configure_qemu --disable-user --disable-system --enable-docs --enable-tools +build_qemu +install_qemu
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 08/23] shippable: re-enable the windows cross builds
In reply to Alex BennéeThe pkg.mxe.cc repo has been restored.
.shippable.yml +4 -5
@@ -7,11 +7,10 @@ env: matrix: - IMAGE=debian-amd64 TARGET_LIST=x86_64-softmmu,x86_64-linux-user - # currently disabled as the mxe.cc repos are down - # - IMAGE=debian-win32-cross - # TARGET_LIST=arm-softmmu,i386-softmmu,lm32-softmmu - # - IMAGE=debian-win64-cross - # TARGET_LIST=aarch64-softmmu,sparc64-softmmu,x86_64-softmmu + - IMAGE=debian-win32-cross + TARGET_LIST=arm-softmmu,i386-softmmu,lm32-softmmu + - IMAGE=debian-win64-cross + TARGET_LIST=aarch64-softmmu,sparc64-softmmu,x86_64-softmmu - IMAGE=debian-armel-cross TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user - IMAGE=debian-armhf-cross
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 11/23] tests/docker: Set the correct cross-PKG_CONFIG_PATH in the MXE images
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
This silents a bunch of warnings while compiling the Slirp objects:
$ make [...] CC slirp/src/tftp.o Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found CC slirp/src/udp6.o Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found [...]
Message-Id: <[email protected]>
tests/docker/dockerfiles/debian-win32-cross.docker +3 -0
@@ -11,6 +11,9 @@ ENV TARGET i686 ENV PATH $PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/bin +ENV PKG_CONFIG_PATH \ + $PKG_CONFIG_PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/lib/pkgconfig + RUN DEBIAN_FRONTEND=noninteractive eatmydata \ apt-get install -y --no-install-recommends \ mxe-$TARGET-w64-mingw32.shared-bzip2 \
tests/docker/dockerfiles/debian-win64-cross.docker +3 -0
@@ -11,6 +11,9 @@ ENV TARGET x86-64 ENV PATH $PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/bin +ENV PKG_CONFIG_PATH \ + $PKG_CONFIG_PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/lib/pkgconfig + RUN DEBIAN_FRONTEND=noninteractive eatmydata \ apt-get install -y --no-install-recommends \ mxe-$TARGET-w64-mingw32.shared-bzip2 \
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 04/23] tests/docker: Install Sphinx in the Fedora image
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
Since commit 5f71eac06e the Sphinx tool is required to build the rST documentation.
This fixes:
$ ./configure --enable-docs
ERROR: User requested feature docs
configure was not able to find it.
Install texinfo, Perl/perl-podlators and python-sphinx
Message-Id: <[email protected]>
tests/docker/dockerfiles/fedora.docker +2 -0
@@ -76,6 +76,7 @@ ENV PACKAGES \ perl-Test-Harness \ pixman-devel \ python3 \ + python3-sphinx \ PyYAML \ rdma-core-devel \ SDL2-devel \
@@ -95,4 +96,5 @@ ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3 RUN dnf install -y $PACKAGES RUN rpm -q $PACKAGES | sort > /packages.txt +ENV PATH $PATH:/usr/libexec/python3-sphinx/ ENV FEATURES mingw clang pyyaml asan
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 07/23] tests/dockerfiles: update the win cross builds to stretch
In reply to Alex BennéeWhile fixing up pkg.mxe.cc they move the URLs around a bit and dropped Jessie support in favour of Stretch. We also need to update the keys used to verify the packages.
tests/docker/Makefile.include +3 -3
@@ -85,7 +85,7 @@ endif # Enforce dependencies for composite images docker-image-debian: docker-image-debian9 -docker-image-debian8-mxe: docker-image-debian8 +docker-image-debian9-mxe: docker-image-debian9 docker-image-debian-amd64: docker-image-debian9 docker-image-debian-armel-cross: docker-image-debian9 docker-image-debian-armhf-cross: docker-image-debian9
@@ -96,8 +96,8 @@ docker-image-debian-mipsel-cross: docker-image-debian9 docker-image-debian-mips64el-cross: docker-image-debian9 docker-image-debian-ppc64el-cross: docker-image-debian9 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 +docker-image-debian-win32-cross: docker-image-debian9-mxe +docker-image-debian-win64-cross: docker-image-debian9-mxe docker-image-debian-alpha-cross: docker-image-debian-sid docker-image-debian-hppa-cross: docker-image-debian-sid
tests/docker/dockerfiles/debian-win32-cross.docker +2 -2
@@ -1,9 +1,9 @@ # # Docker mingw32 cross-compiler target # -# This docker target builds on the debian Jessie MXE base image. +# This docker target builds on the debian Stretch MXE base image. # -FROM qemu:debian8-mxe +FROM qemu:debian9-mxe MAINTAINER Philippe Mathieu-Daudé <[email protected]>
tests/docker/dockerfiles/debian-win64-cross.docker +2 -2
@@ -1,9 +1,9 @@ # # Docker mingw64 cross-compiler target # -# This docker target builds on the debian Jessie MXE base image. +# This docker target builds on the debian Stretch MXE base image. # -FROM qemu:debian8-mxe +FROM qemu:debian9-mxe MAINTAINER Philippe Mathieu-Daudé <[email protected]>
tests/docker/dockerfiles/debian9-mxe.docker renamed from tests/docker/dockerfiles/debian8-mxe.docker +7 -4
@@ -1,15 +1,18 @@ # # Docker mingw cross-compiler target # -# This docker target builds on the debian Jessie base image. +# This docker target builds on the debian Stretch base image. # -FROM qemu:debian8 +FROM qemu:debian9 MAINTAINER Philippe Mathieu-Daudé <[email protected]> +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt install -y --no-install-recommends gnupg dirmngr + # Add the foreign architecture we want and install dependencies -RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D43A795B73B16ABE9643FE1AFD8FFF16DB45C6AB && \ - echo "deb http://pkg.mxe.cc/repos/apt/debian jessie main" > /etc/apt/sources.list.d/mxeapt.list +RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6BF758A33A3A276 && \ + echo "deb http://pkg.mxe.cc/repos/apt stretch main" > /etc/apt/sources.list.d/mxeapt.list RUN apt-get update RUN DEBIAN_FRONTEND=noninteractive eatmydata \ apt-get install -y --no-install-recommends \
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 10/23] tests/docker: Install the NSIS tools in the MinGW capable images
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
This fixes:
$ make installer
(cd /tmp/qemu-nsis; \
for i in qemu-system-*.exe; do \
arch=${i%.exe}; \
arch=${arch#qemu-system-}; \
echo Section \"$arch\" Section_$arch; \
echo SetOutPath \"\$INSTDIR\"; \
echo File \"\${BINDIR}\\$i\"; \
echo SectionEnd; \
done \
) >/tmp/qemu-nsis/system-emulations.nsh
makensis -V2 -NOCD \
-DCONFIG_DOCUMENTATION="y" \
\
-DBINDIR="/tmp/qemu-nsis" \
\
-DSRCDIR="/home/phil/source/qemu" \
-DOUTFILE="qemu-setup-4.0.90.exe" \
-DDISPLAYVERSION="4.0.90" \
/home/phil/source/qemu/qemu.nsi
/bin/sh: 1: makensis: not found
Makefile:1077: recipe for target 'qemu-setup-4.0.90.exe' failed
make: *** [qemu-setup-4.0.90.exe] Error 127Message-Id: <[email protected]>
tests/docker/dockerfiles/debian-win32-cross.docker +3 -0
@@ -9,6 +9,8 @@ MAINTAINER Philippe Mathieu-Daudé <[email protected]> ENV TARGET i686 +ENV PATH $PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/bin + RUN DEBIAN_FRONTEND=noninteractive eatmydata \ apt-get install -y --no-install-recommends \ mxe-$TARGET-w64-mingw32.shared-bzip2 \
@@ -19,6 +21,7 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \ mxe-$TARGET-w64-mingw32.shared-lzo \ mxe-$TARGET-w64-mingw32.shared-nettle \ mxe-$TARGET-w64-mingw32.shared-ncurses \ + mxe-$TARGET-w64-mingw32.shared-nsis \ mxe-$TARGET-w64-mingw32.shared-pixman \ mxe-$TARGET-w64-mingw32.shared-pkgconf \ mxe-$TARGET-w64-mingw32.shared-pthreads \
tests/docker/dockerfiles/debian-win64-cross.docker +3 -0
@@ -9,6 +9,8 @@ MAINTAINER Philippe Mathieu-Daudé <[email protected]> ENV TARGET x86-64 +ENV PATH $PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/bin + RUN DEBIAN_FRONTEND=noninteractive eatmydata \ apt-get install -y --no-install-recommends \ mxe-$TARGET-w64-mingw32.shared-bzip2 \
@@ -19,6 +21,7 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \ mxe-$TARGET-w64-mingw32.shared-lzo \ mxe-$TARGET-w64-mingw32.shared-nettle \ mxe-$TARGET-w64-mingw32.shared-ncurses \ + mxe-$TARGET-w64-mingw32.shared-nsis \ mxe-$TARGET-w64-mingw32.shared-pixman \ mxe-$TARGET-w64-mingw32.shared-pkgconf \ mxe-$TARGET-w64-mingw32.shared-pthreads \
tests/docker/dockerfiles/fedora.docker +1 -0
@@ -52,6 +52,7 @@ ENV PACKAGES \ mingw32-libpng \ mingw32-libtasn1 \ mingw32-nettle \ + mingw32-nsis \ mingw32-pixman \ mingw32-pkg-config \ mingw32-SDL2 \
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 05/23] tests/docker: Install Ubuntu images noninteractively
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
We correctly use the DEBIAN_FRONTEND environment variable on the Debian images, but forgot the Ubuntu ones are based on it.
Since building docker images is not interactive, we need to inform the APT tools about it using the DEBIAN_FRONTEND environment variable (we already use it on our Debian images).
This fixes:
$ make docker-image-ubuntu V=1 [...] Setting up tzdata (2019b-0ubuntu0.19.04) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Configuring tzdata ------------------
Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located.
1. Africa 4. Australia 7. Atlantic 10. Pacific 13. Etc
2. America 5. Arctic 8. Europe 11. SystemV
3. Antarctica 6. Asia 9. Indian 12. US Geographic area: 12
[HANG]
Message-Id: <[email protected]>
tests/docker/dockerfiles/ubuntu.docker +1 -1
@@ -66,6 +66,6 @@ ENV PACKAGES flex bison \ texinfo \ xfslibs-dev RUN apt-get update && \ - apt-get -y install $PACKAGES + DEBIAN_FRONTEND=noninteractive apt-get -y install $PACKAGES RUN dpkg -l $PACKAGES | sort > /packages.txt ENV FEATURES clang pyyaml sdl2
tests/docker/dockerfiles/ubuntu1804.docker +1 -1
@@ -53,6 +53,6 @@ ENV PACKAGES flex bison \ texinfo \ xfslibs-dev RUN apt-get update && \ - apt-get -y install $PACKAGES + DEBIAN_FRONTEND=noninteractive apt-get -y install $PACKAGES RUN dpkg -l $PACKAGES | sort > /packages.txt ENV FEATURES clang pyyaml sdl2
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 09/23] tests/docker: Install Sphinx in the Debian images
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
Since commit 5f71eac06e the Sphinx tool is required to build the rST documentation.
This fixes:
$ ./configure --enable-docs
ERROR: User requested feature docs
configure was not able to find it.
Install texinfo, Perl/perl-podlators and python-sphinx
Message-Id: <[email protected]>
tests/docker/dockerfiles/debian10.docker +1 -0
@@ -27,5 +27,6 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \ pkg-config \ psmisc \ python \ + python3-sphinx \ texinfo \ $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)
tests/docker/dockerfiles/debian9.docker +1 -0
@@ -27,5 +27,6 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \ pkg-config \ psmisc \ python \ + python3-sphinx \ texinfo \ $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 12/23] tests/docker: Install texinfo in the Fedora image
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
The 'makeinfo' is required to generate the documentation from the 'html' Makefile rule (called by 'install-doc'). The NSIS installer uses these files.
Message-Id: <[email protected]>
tests/docker/dockerfiles/fedora.docker +1 -0
@@ -87,6 +87,7 @@ ENV PACKAGES \ systemd-devel \ systemtap-sdt-devel \ tar \ + texinfo \ usbredir-devel \ virglrenderer-devel \ vte291-devel \
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 23/23] gitlab-ci: Remove qcow2 tests that are handled by "make check" already
In reply to Alex BennéeFrom: Thomas Huth <[email protected]>
Since most iotests are now run during "make check" already, we do not need to test them explicitly from the gitlab-ci.yml script anymore. And while we're at it, add some of the new non-auto tests >= 246 instead.
Message-Id: <[email protected]>
.gitlab-ci.yml +4 -9
@@ -45,15 +45,10 @@ build-tcg-disabled: - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 052 063 077 086 101 104 106 113 147 148 150 151 152 157 159 160 163 170 171 183 184 192 194 197 205 208 215 221 222 226 227 236 - - ./check -qcow2 001 002 003 004 005 007 008 009 010 011 012 013 017 018 019 - 020 021 022 024 025 027 028 029 031 032 033 034 035 036 037 038 - 039 040 042 043 046 047 048 049 050 051 052 053 054 056 057 058 - 060 061 062 063 065 066 067 068 069 071 072 073 074 079 080 082 - 085 086 089 090 091 095 096 097 098 099 102 103 104 105 107 108 - 110 111 114 117 120 122 124 126 127 129 130 132 133 134 137 138 - 139 140 141 142 143 144 145 147 150 151 152 154 155 156 157 158 - 161 165 170 172 174 176 177 179 184 186 187 190 192 194 195 196 - 197 200 202 203 205 208 209 214 215 216 217 218 222 226 227 229 234 + - ./check -qcow2 028 040 051 056 057 058 065 067 068 082 085 091 095 096 102 + 122 124 127 129 132 139 142 144 145 147 151 152 155 157 165 194 + 196 197 200 202 203 205 208 209 215 216 218 222 227 234 246 247 + 248 250 254 255 256 build-user: script:
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 19/23] tests/docker: invoke the DEBUG shell with --noprofile/--norc
In reply to Alex BennéeIt's very confusing when things work in the debug shell because the environment is different from what the test is running. Fix this by ensuring we only have the inherited environment from the run shell.
tests/docker/run +2 -2
@@ -62,7 +62,7 @@ echo "* Prepared to run command:" echo " $CMD" echo "* Hit Ctrl-D to continue, or type 'exit 1' to abort" echo -$SHELL +$SHELL --noprofile --norc if "$CMD"; then exit 0
@@ -72,7 +72,7 @@ elif test -n "$DEBUG"; then echo "* Hit Ctrl-D to exit" echo # Force error after shell exits - $SHELL && exit 1 + $SHELL --noprofile --norc && exit 1 else exit 1 fi
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 21/23] tests/qemu-iotests/group: Remove some more tests from the "auto" group
In reply to Alex BennéeFrom: Thomas Huth <[email protected]>
Remove some more tests from the "auto" group that either have issues in certain environments (like macOS or FreeBSD, or on certain file systems like ZFS or tmpfs), do not work with the qcow2 format, or that are simply taking too much time.
Message-Id: <[email protected]>
tests/qemu-iotests/group +61 -59
@@ -14,7 +14,9 @@ # runnable in any case. That means they should run with every QEMU binary # (also non-x86), with every QEMU configuration (i.e. must not fail if # an optional feature is not compiled in - but reporting a "skip" is ok), -# and work all kind of host filesystems and users (e.g. "nobody" or "root"). +# work at least with the qcow2 file format, work with all kind of host +# filesystems and users (e.g. "nobody" or "root") and must not take too +# much memory and disk space (since CI pipelines tend to fail otherwise). # #
@@ -33,8 +35,8 @@ 011 rw auto quick 012 auto quick 013 rw auto -014 rw auto -015 rw snapshot auto +014 rw +015 rw snapshot # 016 was removed, do not reuse 017 rw backing auto quick 018 rw backing auto quick
@@ -42,7 +44,7 @@ 020 rw backing auto quick 021 io auto quick 022 rw snapshot auto -023 rw auto +023 rw 024 rw backing auto quick 025 rw auto quick 026 rw blkdbg
@@ -78,94 +80,94 @@ 056 rw backing 057 rw 058 rw quick -059 rw auto quick +059 rw quick 060 rw auto quick 061 rw auto 062 rw auto quick 063 rw auto quick -064 rw auto quick +064 rw quick 065 rw quick 066 rw auto quick 067 rw quick 068 rw quick 069 rw auto quick -070 rw auto quick +070 rw quick 071 rw auto quick 072 rw auto quick 073 rw auto quick 074 rw auto quick -075 rw auto quick -076 auto -077 rw auto quick -078 rw auto quick +075 rw quick +076 io +077 rw quick +078 rw quick 079 rw auto 080 rw auto -081 rw auto quick -082 rw auto quick -083 rw auto -084 img auto quick +081 rw quick +082 rw quick +083 rw +084 img quick 085 rw 086 rw auto quick 087 rw quick -088 rw auto quick +088 rw quick 089 rw auto quick 090 rw auto quick -091 rw auto migration -092 rw auto quick +091 rw migration +092 rw quick 093 throttle -094 rw auto quick +094 rw quick 095 rw quick 096 rw quick 097 rw auto backing 098 rw auto backing quick 099 rw auto quick # 100 was removed, do not reuse -101 rw auto quick -102 rw auto quick +101 rw quick +102 rw quick 103 rw auto quick 104 rw auto 105 rw auto quick -106 rw auto quick +106 rw quick 107 rw auto quick 108 rw auto quick -109 rw auto +109 rw 110 rw auto backing quick 111 rw auto quick 112 rw -113 rw auto quick +113 rw quick 114 rw auto quick 115 rw -116 rw auto quick +116 rw quick 117 rw auto 118 rw -119 rw auto quick +119 rw quick 120 rw auto quick 121 rw -122 rw auto -123 rw auto quick +122 rw +123 rw quick 124 rw backing 125 rw 126 rw auto backing 127 rw backing quick -128 rw auto quick +128 rw quick 129 rw quick 130 rw auto quick -131 rw auto quick +131 rw quick 132 rw quick 133 auto quick 134 rw auto quick -135 rw auto +135 rw 136 rw 137 rw auto 138 rw auto quick 139 rw quick 140 rw auto quick 141 rw auto quick -142 auto +142 143 auto quick 144 rw quick 145 quick -146 auto quick +146 quick 147 img 148 rw quick 149 rw sudo
@@ -179,23 +181,23 @@ 157 quick 158 rw auto quick 159 rw auto quick -160 rw auto quick +160 rw quick 161 rw auto quick 162 quick 163 rw 165 rw quick 169 rw quick migration 170 rw auto quick -171 rw auto quick +171 rw quick 172 auto -173 rw auto +173 rw 174 auto -175 auto quick +175 quick 176 rw auto backing 177 rw auto quick 178 img 179 rw auto quick -181 rw auto migration +181 rw migration 182 rw quick 183 rw migration 184 rw auto quick
@@ -210,62 +212,62 @@ 194 rw migration quick 195 rw auto quick 196 rw quick migration -197 rw auto quick +197 rw quick 198 rw 199 rw migration 200 rw -201 rw auto migration +201 rw migration 202 rw quick 203 rw migration 204 rw quick 205 rw quick 206 rw -207 rw auto +207 rw 208 rw quick 209 rw quick -210 rw auto -211 rw auto quick -212 rw auto quick -213 rw auto quick +210 rw +211 rw quick +212 rw quick +213 rw quick 214 rw auto -215 rw auto quick +215 rw quick 216 rw quick 217 rw auto quick 218 rw quick 219 rw 220 rw auto -221 rw auto quick +221 rw quick 222 rw quick 223 rw quick 224 rw quick -225 rw auto quick +225 rw quick 226 auto quick 227 quick 228 rw quick 229 auto quick -231 auto quick +231 quick 232 quick -233 auto quick +233 quick 234 quick migration 235 quick 236 quick -237 rw auto quick +237 rw quick 238 quick -239 rw auto quick +239 rw quick 240 quick -241 rw auto quick +241 rw quick 242 rw quick -243 rw auto quick +243 rw quick 244 rw auto quick 245 rw 246 rw quick 247 rw quick 248 rw quick 249 rw auto quick -250 rw auto quick +250 rw quick 251 rw auto quick 252 rw auto backing quick -253 rw auto quick -254 rw auto backing quick -255 rw auto quick -256 rw auto quick +253 rw quick +254 rw backing quick +255 rw quick +256 rw quick
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 14/23] buildsys: The NSIS Windows build requires qemu-nsis.bmp installed
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
The qemu-nsis.bmp file was not listed with the other blobs, thus not installed in the ${BINDIR} location.
This fixes:
$ make installer
[...]
(cd /tmp/qemu-nsis; \
for i in qemu-system-*.exe; do \
arch=${i%.exe}; \
arch=${arch#qemu-system-}; \
echo Section \"$arch\" Section_$arch; \
echo SetOutPath \"\$INSTDIR\"; \
echo File \"\${BINDIR}\\$i\"; \
echo SectionEnd; \
done \
) >/tmp/qemu-nsis/system-emulations.nsh
makensis -V2 -NOCD \
-DCONFIG_DOCUMENTATION="y" \
\
-DBINDIR="/tmp/qemu-nsis" \
\
-DSRCDIR="/home/phil/source/qemu" \
-DOUTFILE="qemu-setup-4.0.90.exe" \
-DDISPLAYVERSION="4.0.90" \
/home/phil/source/qemu/qemu.nsi
File: "/tmp/qemu-nsis\*.bmp" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "/home/phil/source/qemu/qemu.nsi" on line 122 -- aborting creation process
Makefile:1077: recipe for target 'qemu-setup-4.0.90.exe' failed
make: *** [qemu-setup-4.0.90.exe] Error 1Message-Id: <[email protected]>
Makefile +1 -0
@@ -761,6 +761,7 @@ pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom \ efi-e1000.rom efi-eepro100.rom efi-ne2k_pci.rom \ efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom \ efi-e1000e.rom efi-vmxnet3.rom \ +qemu-nsis.bmp \ bamboo.dtb canyonlands.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \ multiboot.bin linuxboot.bin linuxboot_dma.bin kvmvapic.bin pvh.bin \ s390-ccw.img s390-netboot.img \
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 20/23] tests/qemu-iotests/check: Allow tests without groups
In reply to Alex BennéeFrom: Thomas Huth <[email protected]>
The regular expressions in the "check" script currently expect that there is always a space after the test number in the group file, so you can't have a test in there without a group unless the line still ends with a space - which is quite error prone since some editors might remove spaces at the end of lines automatically.
Thus let's fix the regular expressions so that it is also possible to have lines with one test number only in the group file.
Message-Id: <[email protected]>
tests/qemu-iotests/check +2 -2
@@ -488,7 +488,7 @@ testlist options BEGIN { for (t='$start'; t<='$end'; t++) printf "%03d\n",t }' \ | while read id do - if grep -s "^$id " "$source_iotests/group" >/dev/null + if grep -s "^$id\( \|\$\)" "$source_iotests/group" >/dev/null then # in group file ... OK echo $id >>$tmp.list
@@ -547,7 +547,7 @@ else touch $tmp.list else # no test numbers, do everything from group file - sed -n -e '/^[0-9][0-9][0-9]*/s/[ ].*//p' <"$source_iotests/group" >$tmp.list + sed -n -e '/^[0-9][0-9][0-9]*/s/^\([0-9]*\).*/\1/p' <"$source_iotests/group" >$tmp.list fi fi
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 18/23] travis: enable travis_retry for check phase
In reply to Alex BennéeWe have some flaky tests and usually the test passes on a retry. Enable travis_retry for the test phase and see if that helps keep things green.
.travis.yml +1 -1
@@ -75,7 +75,7 @@ before_script: - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } script: - - make -j3 && ${TEST_CMD} + - make -j3 && travis_retry ${TEST_CMD} matrix:
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 17/23] hw/i386: also turn off VMMOUSE is VMPORT is disabled
In reply to Alex BennéeCommit 97fd1ea8c1 broke the build for --without-default-devices as VMMOUSE depends on VMPORT.
hw/i386/Kconfig +2 -2
@@ -52,6 +52,7 @@ config I440FX bool imply E1000_PCI imply VMPORT + imply VMMOUSE select PC_PCI select PC_ACPI select ACPI_SMBUS
@@ -59,7 +60,6 @@ config I440FX select IDE_PIIX select DIMM select SMBIOS - select VMMOUSE select FW_CFG_DMA config ISAPC
@@ -78,6 +78,7 @@ config Q35 imply AMD_IOMMU imply E1000E_PCI_EXPRESS imply VMPORT + imply VMMOUSE select PC_PCI select PC_ACPI select PCI_EXPRESS_Q35
@@ -85,7 +86,6 @@ config Q35 select AHCI_ICH9 select DIMM select SMBIOS - select VMMOUSE select FW_CFG_DMA config VTD
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 13/23] buildsys: The NSIS Windows build requires the documentation installed
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
This fixes:
$ make installer
[...]
(cd /tmp/qemu-nsis; \
for i in qemu-system-*.exe; do \
arch=${i%.exe}; \
arch=${arch#qemu-system-}; \
echo Section \"$arch\" Section_$arch; \
echo SetOutPath \"\$INSTDIR\"; \
echo File \"\${BINDIR}\\$i\"; \
echo SectionEnd; \
done \
) >/tmp/qemu-nsis/system-emulations.nsh
makensis -V2 -NOCD \
\
-DCONFIG_GTK="y" \
-DBINDIR="/tmp/qemu-nsis" \
\
-DSRCDIR="/source/qemu" \
-DOUTFILE="qemu-setup-4.0.90.exe" \
-DDISPLAYVERSION="4.0.90" \
/source/qemu/qemu.nsi
File: "/tmp/qemu-nsis\qemu-doc.html" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "/source/qemu/qemu.nsi" on line 173 -- aborting creation process
make: *** [Makefile:1080: qemu-setup-4.0.90.exe] Error 1Message-Id: <[email protected]>
Makefile +1 -1
@@ -1077,7 +1077,7 @@ installer: $(INSTALLER) INSTDIR=/tmp/qemu-nsis -$(INSTALLER): $(SRC_PATH)/qemu.nsi +$(INSTALLER): install-doc $(SRC_PATH)/qemu.nsi $(MAKE) install prefix=${INSTDIR} ifdef SIGNCODE (cd ${INSTDIR}; \
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 16/23] NSIS: Add missing firmware blobs
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
Various firmwares has been added in the pc-bios/ directory:
- CCW (since commit 0c1fecdd523)
- skiboot (since commit bcad45de6a0)
- EDK2 (since commit f7fa38b74c3)
Since we install qemu-system able to run the architectures targetted by these firmware, include them in the NSIS exe.
Message-Id: <[email protected]>
qemu.nsi +11 -0
@@ -106,6 +106,9 @@ RequestExecutionLevel admin ;-------------------------------- ; The stuff to install. +; +; Remember to keep the "Uninstall" section in sync. + Section "${PRODUCT} (required)" SectionIn RO
@@ -122,6 +125,10 @@ Section "${PRODUCT} (required)" File "${BINDIR}\*.bmp" File "${BINDIR}\*.bin" File "${BINDIR}\*.dtb" + File "${BINDIR}\*.fd" + File "${BINDIR}\*.img" + File "${BINDIR}\*.lid" + File "${BINDIR}\*.ndrv" File "${BINDIR}\*.rom" File "${BINDIR}\openbios-*"
@@ -210,6 +217,10 @@ Section "Uninstall" Delete "$INSTDIR\*.bin" Delete "$INSTDIR\*.dll" Delete "$INSTDIR\*.dtb" + Delete "$INSTDIR\*.fd" + Delete "$INSTDIR\*.img" + Delete "$INSTDIR\*.lid" + Delete "$INSTDIR\*.ndrv" Delete "$INSTDIR\*.rom" Delete "$INSTDIR\openbios-*" Delete "$INSTDIR\qemu-img.exe"
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 22/23] tests: Run the iotests during "make check" again
In reply to Alex BennéeFrom: Thomas Huth <[email protected]>
People often forget to run the iotests before submitting patches or pull requests - this is likely due to the fact that we do not run the tests during our mandatory "make check" tests yet. Now that we've got a proper "auto" group of iotests that should be fine to run in every environment, we can enable the iotests during "make check" again by running the "auto" tests by default from the check-block.sh script.
Some cases still need to be checked first, though: iotests need bash and GNU sed (otherwise they fail), and if gprof is enabled, it spoils the output of some test cases causing them to fail. So if we detect that one of the required programs is missing or that gprof is enabled, we still have to skip the iotests to avoid failures.
And finally, since we are using check-block.sh now again, this patch also removes the qemu-iotests-quick.sh script since we do not need that anymore (and having two shell wrapper scripts around the block tests seems rather confusing than helpful).
Message-Id: <[email protected]>
tests/Makefile.include +6 -4
@@ -142,7 +142,7 @@ check-unit-y += tests/test-uuid$(EXESUF) check-unit-y += tests/ptimer-test$(EXESUF) check-unit-y += tests/test-qapi-util$(EXESUF) -check-block-$(CONFIG_POSIX) += tests/qemu-iotests-quick.sh +check-block-$(call land,$(CONFIG_POSIX),$(CONFIG_SOFTMMU)) += tests/check-block.sh # All QTests for now are POSIX-only, but the dependencies are # really in libqtest, not in the testcases themselves.
@@ -1092,8 +1092,10 @@ clean-tcg: $(CLEAN_TCG_TARGET_RULES) QEMU_IOTESTS_HELPERS-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_LINUX)) = tests/qemu-iotests/socket_scm_helper$(EXESUF) -.PHONY: check-tests/qemu-iotests-quick.sh -check-tests/qemu-iotests-quick.sh: tests/qemu-iotests-quick.sh qemu-img$(EXESUF) qemu-io$(EXESUF) qemu-nbd$(EXESUF) $(QEMU_IOTESTS_HELPERS-y) +.PHONY: check-tests/check-block.sh +check-tests/check-block.sh: tests/check-block.sh qemu-img$(EXESUF) \ + qemu-io$(EXESUF) qemu-nbd$(EXESUF) $(QEMU_IOTESTS_HELPERS-y) \ + $(patsubst %,%/all,$(filter %-softmmu,$(TARGET_DIRS))) $< .PHONY: $(patsubst %, check-%, $(check-qapi-schema-y))
@@ -1167,7 +1169,7 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y)) check-tests/qapi-schema/doc-good.texi check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS)) check-block: $(patsubst %,check-%, $(check-block-y)) -check: check-qapi-schema check-unit check-softfloat check-qtest check-decodetree +check: check-block check-qapi-schema check-unit check-softfloat check-qtest check-decodetree check-clean: rm -rf $(check-unit-y) tests/*.o $(QEMU_IOTESTS_HELPERS-y) rm -rf $(sort $(foreach target,$(SYSEMU_TARGET_LIST), $(check-qtest-$(target)-y)) $(check-qtest-generic-y))
tests/check-block.sh +34 -10
58 lines not on this page · raw message
tests/qemu-iotests-quick.sh deleted +0 -8
@@ -1,8 +0,0 @@ -#!/bin/sh - -cd tests/qemu-iotests - -ret=0 -TEST_DIR=${TEST_DIR:-/tmp/qemu-iotests-quick-$$} ./check -T -qcow2 -g quick || ret=1 - -exit $ret
Signature · 1 line
2.20.1
[Qemu-devel] [PULL 15/23] tests/docker: Let the test-mingw test generate a NSIS installer
In reply to Alex BennéeFrom: Philippe Mathieu-Daudé <[email protected]>
The NSIS installer generates an executable suitable to install QEMU on Windows.
Message-Id: <[email protected]>
tests/docker/test-mingw +3 -1
@@ -27,8 +27,10 @@ for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do --enable-curl \ --enable-vnc \ --enable-bzip2 \ - --enable-guest-agent + --enable-guest-agent \ + --enable-docs install_qemu + make installer make clean done
Signature · 1 line
2.20.1
Quoted 16 lines · Alex Bennée
The following changes since commit
23da9e297b4120ca9702cabec91599a44255fe96:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190722' into staging (2019-07-22 15:16:48 +0100)
are available in the Git repository at:
https://github.com/stsquad/qemu.git tags/pull-testing-230719-1
for you to fetch changes up to
2e3b8743cd66f1d0fbc83051b0b6b072a97460cc:gitlab-ci: Remove qcow2 tests that are handled by "make check" already (2019-07-23 11:33:15 +0100)
----------------------------------------------------------------
Final testing updates:
Quoted 7 lines
- docker sphinx updates
- windows build re-enabled in CI
-travis_retryfor make check
- quick iotests enabled for make check
- build fixes----------------------------------------------------------------
'make check-tcg' fails (x86-64 host):
make: Entering directory '/home/petmay01/linaro/qemu-for-merges/build/all-linux-static'
BUILD debian10
The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive eatmydata
apt install -y --no-install-recommends bison
build-essential ca-certificates clang flex
gettext git pkg-config psmisc
python python3-sphinx texinfo $(apt-get -s
build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)' returned a non-zero code: 100
Traceback (most recent call last):
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 615, in <module>
sys.exit(main())
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 611, in main
return args.cmdobj.run(args, argv)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 413, in run
extra_files_cksum=cksum)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 280, in build_image
quiet=quiet)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 207, in _do_check
return subprocess.check_call(self._command + cmd, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'qemu:debian10', '-f', '/tmp/docker_buildBgZdCD/tmp6MJLiZ.docker', '/tmp/docker_buildBgZdCD']' returned non-zero exit status 100 /home/petmay01/linaro/qemu-for-merges/tests/docker/Makefile.include:53:
recipe for target 'docker-image-debian10' failed
make: *** [docker-image-debian10] Error 1
make: Leaving directory '/home/petmay01/linaro/qemu-for-merges/build/all-linux-static'
I also got a failure with openbsd which seems to be when the tests run check-block.sh:
/home/qemu/qemu-test.Dy1Aj3/src/tests/check-block.sh
TEST iotest-qcow2: 001 TEST iotest-qcow2: 002 TEST iotest-qcow2: 003 TEST iotest-qcow2: 004 TEST iotest-qcow2: 005 [not run] TEST iotest-qcow2: 007 [fail]
QEMU --
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../aarch64-softmmu/qemu-system-aarch64" -nodefaults -machine virt,accel=qtestQEMU_IMG --
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-img"QEMU_IO --
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-io"
--cache writeback -f qcow2QEMU_NBD --
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-nbd"
IMGFMT -- qcow2 (compat=1.1) IMGPROTO -- file PLATFORM -- OpenBSD/amd64 openbsd 6.5 TEST_DIR -- /home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/scratch
SOCKET_SCM_HELPER --
--- /home/qemu/qemu-test.Dy1Aj3/src/tests/qemu-iotests/007.out Tue
Jul 23 10:49:15 2019
+++ /home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/007.out.bad
Tue Jul 23 11:10:21 2019
@@ -2,16 +2,7 @@
creating image
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
-savevm 1
-savevm 2
-savevm 3
-savevm 4
-savevm 5
-savevm 6
-savevm 7
-savevm 8
-savevm 9
-savevm 10
+./007: line 51: seq: command not found
[and some other failures]
I see Thomas Huth has a patch on-list for that, but this didn't manifest as a problem before this pullreq.
thanks
-- PMM
Quoted 55 lines · Peter Maydell
Quoted 16 lines · Alex Bennée
The following changes since commit
23da9e297b4120ca9702cabec91599a44255fe96:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190722' into staging (2019-07-22 15:16:48 +0100)
are available in the Git repository at:
https://github.com/stsquad/qemu.git tags/pull-testing-230719-1
for you to fetch changes up to
2e3b8743cd66f1d0fbc83051b0b6b072a97460cc:gitlab-ci: Remove qcow2 tests that are handled by "make check" already (2019-07-23 11:33:15 +0100)
----------------------------------------------------------------
Final testing updates:Quoted 7 lines
- docker sphinx updates
- windows build re-enabled in CI
-travis_retryfor make check
- quick iotests enabled for make check
- build fixes----------------------------------------------------------------
'make check-tcg' fails (x86-64 host):
make: Entering directory '
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static'
BUILD debian10
The command '/bin/sh-c DEBIAN_FRONTEND=noninteractive eatmydata
apt install -y --no-install-recommends bison
build-essential ca-certificates clang flex
gettext git pkg-config psmisc
python python3-sphinx texinfo $(apt-get -s
build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)' returned a non-zero code: 100
Traceback (most recent call last):
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 615, in <module>sys.exit(main())File "
/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 611, in main
returnargs.cmdobj.run(args, argv)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 413, in run
extra_files_cksum=cksum)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 280, inbuild_image
quiet=quiet)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 207, in_do_check
returnsubprocess.check_call(self._command + cmd, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 190, incheck_call
raiseCalledProcessError(retcode, cmd)
Quoted 8 lines
subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'qemu:debian10', '-f', '
/tmp/docker_buildBgZdCD/tmp6MJLiZ.docker', '/tmp/docker_buildBgZdCD']' returned non-zero exit status 100/home/petmay01/linaro/qemu-for-merges/tests/docker/Makefile.include:53:
recipe for target 'docker-image-debian10' failed
make: *** [docker-image-debian10] Error 1
make: Leaving directory '/home/petmay01/linaro/qemu-for-merges/build/all-linux-static'
Odd. Does:
make docker-image-debian10 V=1
fail for you? Can you retry with:
make docker-image-debian10 V=1 NOCACHE=1
Quoted 49 lines
I also got a failure with openbsd which seems to be when the tests run
check-block.sh:
/home/qemu/qemu-test.Dy1Aj3/src/tests/check-block.shTEST iotest-qcow2: 001 TEST iotest-qcow2: 002 TEST iotest-qcow2: 003 TEST iotest-qcow2: 004 TEST iotest-qcow2: 005 [not run] TEST iotest-qcow2: 007 [fail]QEMU --
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../aarch64-softmmu/qemu-system-aarch64" -nodefaults -machine virt,accel=qtestQEMU_IMG--
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-img"QEMU_IO--
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-io"
--cache writeback -f qcow2QEMU_NBD--
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-nbd"IMGFMT -- qcow2 (compat=1.1) IMGPROTO -- file PLATFORM -- OpenBSD/amd64 openbsd 6.5 TEST_DIR -- /home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/scratch
SOCKET_SCM_HELPER-----
/home/qemu/qemu-test.Dy1Aj3/src/tests/qemu-iotests/007.outTueJul 23 10:49:15 2019+++
/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/007.out.bad
Tue Jul 23 11:10:21 2019(quoted diff) +1
-10@@ -2,16 +2,7 @@ creating image Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 -savevm 1 -savevm 2 -savevm 3 -savevm 4 -savevm 5 -savevm 6 -savevm 7 -savevm 8 -savevm 9 -savevm 10 +./007: line 51: seq: command not found[and some other failures]
Quoted 2 lines
I see Thomas Huth has a patch on-list for that, but this didn't manifest as a problem before this pullreq.
OK, I'll add it and rebuild the PR.
Have you noticed any issues with check-acceptance?
Quoted 3 lines
thanks
-- PMM
--
Alex Bennée
Quoted 55 lines · Alex Bennée
Quoted 52 lines · Peter Maydell
Quoted 16 lines · Alex Bennée
The following changes since commit
23da9e297b4120ca9702cabec91599a44255fe96:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190722' into staging (2019-07-22 15:16:48 +0100)
are available in the Git repository at:
https://github.com/stsquad/qemu.git tags/pull-testing-230719-1
for you to fetch changes up to
2e3b8743cd66f1d0fbc83051b0b6b072a97460cc:gitlab-ci: Remove qcow2 tests that are handled by "make check" already (2019-07-23 11:33:15 +0100)
----------------------------------------------------------------
Final testing updates:Quoted 7 lines
- docker sphinx updates
- windows build re-enabled in CI
-travis_retryfor make check
- quick iotests enabled for make check
- build fixes----------------------------------------------------------------
'make check-tcg' fails (x86-64 host):
make: Entering directory '
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static'
BUILD debian10
The command '/bin/sh-c DEBIAN_FRONTEND=noninteractive eatmydata
apt install -y --no-install-recommends bison
build-essential ca-certificates clang flex
gettext git pkg-config psmisc
python python3-sphinx texinfo $(apt-get -s
build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)' returned a non-zero code: 100
Traceback (most recent call last):
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 615, in <module>sys.exit(main())File "
/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 611, in main
returnargs.cmdobj.run(args, argv)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 413, in run
extra_files_cksum=cksum)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 280, inbuild_image
quiet=quiet)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 207, in_do_check
Quoted 8 lines
Quoted 8 lines
return
subprocess.check_call(self._command + cmd, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 190, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'qemu:debian10', '-f', '/tmp/docker_buildBgZdCD/tmp6MJLiZ.docker', '/tmp/docker_buildBgZdCD']' returned non-zero exit status 100/home/petmay01/linaro/qemu-for-merges/tests/docker/Makefile.include:53:
recipe for target 'docker-image-debian10' failed
Yes, we should definitively improve this error report.
Quoted 11 lines
Quoted 3 lines
make: *** [docker-image-debian10] Error 1
make: Leaving directory '/home/petmay01/linaro/qemu-for-merges/build/all-linux-static'Odd. Does:
make docker-image-debian10 V=1
fail for you? Can you retry with:
make docker-image-debian10 V=1 NOCACHE=1
Should we use a stable tag for the stable release? Such:
-- >8 --
(quoted diff) +0 -0
b/tests/docker/dockerfiles/debian10.docker
index aeeb151b52..0f2800377d 100644
tests/docker/dockerfiles/debian10.docker +1 -2
@@ -7,7 +7,7 @@ # On its own you can't build much but the docker-foo-cross targets # build on top of the base debian image. # -FROM debian:buster-slim +FROM debian:buster-20190708-slim # Duplicate deb line as deb-src ---
Quoted 47 lines
Quoted 47 lines
I also got a failure with openbsd which seems to be when the tests run
check-block.sh:
/home/qemu/qemu-test.Dy1Aj3/src/tests/check-block.shTEST iotest-qcow2: 001 TEST iotest-qcow2: 002 TEST iotest-qcow2: 003 TEST iotest-qcow2: 004 TEST iotest-qcow2: 005 [not run] TEST iotest-qcow2: 007 [fail]QEMU --
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../aarch64-softmmu/qemu-system-aarch64" -nodefaults -machine virt,accel=qtestQEMU_IMG--
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-img"QEMU_IO--
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-io"
--cache writeback -f qcow2QEMU_NBD--
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-nbd"IMGFMT -- qcow2 (compat=1.1) IMGPROTO -- file PLATFORM -- OpenBSD/amd64 openbsd 6.5 TEST_DIR -- /home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/scratch
SOCKET_SCM_HELPER-----
/home/qemu/qemu-test.Dy1Aj3/src/tests/qemu-iotests/007.outTueJul 23 10:49:15 2019+++
/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/007.out.bad
Tue Jul 23 11:10:21 2019(quoted diff) +1
-10@@ -2,16 +2,7 @@ creating image Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 -savevm 1 -savevm 2 -savevm 3 -savevm 4 -savevm 5 -savevm 6 -savevm 7 -savevm 8 -savevm 9 -savevm 10 +./007: line 51: seq: command not found
Quoted 6 lines
Quoted 4 lines
[and some other failures]
I see Thomas Huth has a patch on-list for that, but this didn't manifest as a problem before this pullreq.
OK, I'll add it and rebuild the PR.
But Thomas got another error later...
Quoted 11 lines
Have you noticed any issues with check-acceptance?
Quoted 3 lines
thanks
-- PMM--
Alex Bennée
Quoted 8 lines · Philippe Mathieu-Daudé
Quoted 4 lines · Alex Bennée
Quoted 2 lines
I see Thomas Huth has a patch on-list for that, but this didn't manifest as a problem before this pullreq.
OK, I'll add it and rebuild the PR.
But Thomas got another error later...
If we're not sure what all the needed fixes are we should probably just drop the change that starts running the iotests under 'make check'. Otherwise this pullreq is going to miss rc2, and it's too big to go into rc3.
thanks
-- PMM
Quoted 6 lines · Peter Maydell
Quoted 5 lines · Philippe Mathieu-Daudé
Quoted 3 lines · Alex Bennée
Quoted 2 lines
I see Thomas Huth has a patch on-list for that, but this didn't manifest as a problem before this pullreq.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
OK, I'll add it and rebuild the PR.
But Thomas got another error later...
If we're not sure what all the needed fixes are we should probably just drop the change that starts running the iotests under 'make check'. Otherwise this pullreq is going to miss rc2, and it's too big to go into rc3.
I'm just double checking now - it does seem OpenBSD is very slow even with 18 cores assigned.
Quoted 3 lines
thanks
-- PMM
--
Alex Bennée
Quoted 14 lines · Alex Bennée
Quoted 10 lines · Peter Maydell
Quoted 8 lines · Philippe Mathieu-Daudé
Quoted 4 lines · Alex Bennée
Quoted 2 lines
I see Thomas Huth has a patch on-list for that, but this didn't manifest as a problem before this pullreq.
OK, I'll add it and rebuild the PR.
But Thomas got another error later...
Quoted 7 lines
Quoted 4 lines
If we're not sure what all the needed fixes are we should probably just drop the change that starts running the iotests under 'make check'. Otherwise this pullreq is going to miss rc2, and it's too big to go into rc3.
I'm just double checking now - it does seem OpenBSD is very slow even with 18 cores assigned.
We should avoid enabling "very slow" tests in make check too...
thanks
-- PMM
Quoted 11 lines · Peter Maydell
Quoted 10 lines · Alex Bennée
Quoted 6 lines · Peter Maydell
Quoted 5 lines · Philippe Mathieu-Daudé
Quoted 3 lines · Alex Bennée
Quoted 2 lines
I see Thomas Huth has a patch on-list for that, but this didn't manifest as a problem before this pullreq.
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
OK, I'll add it and rebuild the PR.
But Thomas got another error later...
If we're not sure what all the needed fixes are we should probably just drop the change that starts running the iotests under 'make check'. Otherwise this pullreq is going to miss rc2, and it's too big to go into rc3.
I think OpenBSD was the final thing that is not working. I've checked freebsd and macOS and they were working fine for me there. The netbsd image does not have "bash", so the tests are skipped there.
Quoted 4 lines
Quoted 2 lines
I'm just double checking now - it does seem OpenBSD is very slow even with 18 cores assigned.
We should avoid enabling "very slow" tests in make check too...
It's not the iotests that are slow here, it's the whole openbsd image - even compiling is way slower than natively... it feels like it is ignoring the multiple cores and only running single-threaded.
Thomas
Quoted 88 lines · Philippe Mathieu-Daudé
Quoted 55 lines · Alex Bennée
Quoted 52 lines · Peter Maydell
Quoted 16 lines · Alex Bennée
The following changes since commit
23da9e297b4120ca9702cabec91599a44255fe96:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190722' into staging (2019-07-22 15:16:48 +0100)
are available in the Git repository at:
https://github.com/stsquad/qemu.git tags/pull-testing-230719-1
for you to fetch changes up to
2e3b8743cd66f1d0fbc83051b0b6b072a97460cc:gitlab-ci: Remove qcow2 tests that are handled by "make check" already (2019-07-23 11:33:15 +0100)
----------------------------------------------------------------
Final testing updates:Quoted 7 lines
- docker sphinx updates
- windows build re-enabled in CI
-travis_retryfor make check
- quick iotests enabled for make check
- build fixes----------------------------------------------------------------
'make check-tcg' fails (x86-64 host):
make: Entering directory '
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static'
BUILD debian10
The command '/bin/sh-c DEBIAN_FRONTEND=noninteractive eatmydata
apt install -y --no-install-recommends bison
build-essential ca-certificates clang flex
gettext git pkg-config psmisc
python python3-sphinx texinfo $(apt-get -s
build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)' returned a non-zero code: 100
Traceback (most recent call last):
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 615, in <module>sys.exit(main())File "
/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 611, in main
returnargs.cmdobj.run(args, argv)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 413, in run
extra_files_cksum=cksum)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 280, inbuild_image
quiet=quiet)
File "/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py",
line 207, in_do_checkQuoted 8 lines
Quoted 8 lines
return
subprocess.check_call(self._command + cmd, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 190, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'qemu:debian10', '-f', '/tmp/docker_buildBgZdCD/tmp6MJLiZ.docker', '/tmp/docker_buildBgZdCD']' returned non-zero exit status 100/home/petmay01/linaro/qemu-for-merges/tests/docker/Makefile.include:53:
recipe for target 'docker-image-debian10' failedYes, we should definitively improve this error report.
Quoted 11 lines
Quoted 3 lines
make: *** [docker-image-debian10] Error 1
make: Leaving directory '/home/petmay01/linaro/qemu-for-merges/build/all-linux-static'Odd. Does:
make docker-image-debian10 V=1
fail for you? Can you retry with:
make docker-image-debian10 V=1 NOCACHE=1
Should we use a stable tag for the stable release? Such:
-- >8 --
tests/docker/dockerfiles/debian10.docker +0
-0
tests/docker/dockerfiles/debian10.docker line 10
Quoted 5 lines
tests/docker/dockerfiles/debian10.docker +1
-1@@ -7,7 +7,7 @@ # On its own you can't build much but the docker-foo-cross targets # build on top of the base debian image. # -FROM debian:buster-slim +FROM debian:buster-20190708-slim
I don't think so - Buster is stable now - I think the problem is stale cache states from previous interrupted builds. If NOCACHE makes it go away then I think we are good.
Quoted 51 lines
tests/docker/dockerfiles/debian10.docker +0
-1# Duplicate deb line as deb-src ---Quoted 47 lines
Quoted 47 lines
I also got a failure with openbsd which seems to be when the tests run
check-block.sh:
/home/qemu/qemu-test.Dy1Aj3/src/tests/check-block.shTEST iotest-qcow2: 001 TEST iotest-qcow2: 002 TEST iotest-qcow2: 003 TEST iotest-qcow2: 004 TEST iotest-qcow2: 005 [not run] TEST iotest-qcow2: 007 [fail]QEMU --
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../aarch64-softmmu/qemu-system-aarch64" -nodefaults -machine virt,accel=qtestQEMU_IMG--
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-img"QEMU_IO--
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-io"
--cache writeback -f qcow2QEMU_NBD--
"/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/../../qemu-nbd"IMGFMT -- qcow2 (compat=1.1) IMGPROTO -- file PLATFORM -- OpenBSD/amd64 openbsd 6.5 TEST_DIR -- /home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/scratch
SOCKET_SCM_HELPER-----
/home/qemu/qemu-test.Dy1Aj3/src/tests/qemu-iotests/007.outTueJul 23 10:49:15 2019+++
/home/qemu/qemu-test.Dy1Aj3/build/tests/qemu-iotests/007.out.bad
Tue Jul 23 11:10:21 2019(quoted diff) +1
-10@@ -2,16 +2,7 @@ creating image Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 -savevm 1 -savevm 2 -savevm 3 -savevm 4 -savevm 5 -savevm 6 -savevm 7 -savevm 8 -savevm 9 -savevm 10 +./007: line 51: seq: command not found
Quoted 20 lines
Quoted 6 lines
Quoted 4 lines
[and some other failures]
I see Thomas Huth has a patch on-list for that, but this didn't manifest as a problem before this pullreq.
OK, I'll add it and rebuild the PR.
But Thomas got another error later...
Quoted 11 lines
Have you noticed any issues with check-acceptance?
Quoted 3 lines
thanks
-- PMM--
Alex Bennée
--
Alex Bennée
Quoted 5 lines · Alex Bennée
Odd. Does:
make docker-image-debian10 V=1
fail for you?
Yes. The files apt tries to download do not appear to be
on the mirror:
e104462:bionic:all-linux-static$ make docker-image-debian10 V=1 /home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py build qemu:debian10 /home/petmay01/linaro/qemu-for-merges/tests/docker/dockerfiles/debian10.docker
--add-current-user
Sending build context to Docker daemon 3.072kB
Step 1/7 : FROM debian:buster-slim
---> 7e86f6dc8410
Step 2/7 : RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
---> Using cache
---> a16e81a24df9
Step 3/7 : RUN apt update
---> Using cache
---> 272778d384a0
Step 4/7 : RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
---> Using cache
---> 0113e60b5abe
Step 5/7 : RUN DEBIAN_FRONTEND=noninteractive eatmydata apt
install -y --no-install-recommends bison
build-essential ca-certificates clang flex
gettext git pkg-config psmisc
python python3-sphinx texinfo $(apt-get -s
build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)
---> Running in 9f66f5f38684
WARNING: apt does not have a stable CLI interface. Use with caution in scripts. [...]
After this operation, 791 MB of additional disk space will be used. Err:1 http://cdn-fastly.deb.debian.org/debian buster/main amd64 perl-base amd64 5.28.1-4
404 Not Found [IP: 151.101.16.204 80]
Err:2 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libsystemd0 amd64 240-5
404 Not Found [IP: 151.101.16.204 80]
Err:3 http://cdn-fastly.deb.debian.org/debian buster/main amd64 gcc-8-base amd64 8.2.0-16
404 Not Found [IP: 151.101.16.204 80]
Err:4 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libgcc1 amd64 1:8.2.0-16
404 Not Found [IP: 151.101.16.204 80]
Err:5 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libstdc++6 amd64 8.2.0-16
404 Not Found [IP: 151.101.16.204 80]
Err:6 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libc6 amd64 2.28-6
404 Not Found [IP: 151.101.16.204 80]
though some are present, eg
Get:210 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libatk1.0-data all 2.30.0-2 [145 kB]
Quoted 3 lines
Can you retry with:
make docker-image-debian10 V=1 NOCACHE=1
Yes, this works. It looks like docker is caching the result of the "apt update" state, when it really needs to rerun this every time because the state on the servers may have changed.
thanks
-- PMM
Quoted 61 lines · Peter Maydell
Quoted 5 lines · Alex Bennée
Odd. Does:
make docker-image-debian10 V=1
fail for you?
Yes. The files apt tries to download do not appear to be
on the mirror:
e104462:bionic:all-linux-static$ make docker-image-debian10 V=1/home/petmay01/linaro/qemu-for-merges/tests/docker/docker.pybuild qemu:debian10/home/petmay01/linaro/qemu-for-merges/tests/docker/dockerfiles/debian10.docker
--add-current-user
Sending build context to Docker daemon 3.072kB
Step 1/7 : FROM debian:buster-slim
--->7e86f6dc8410
Step 2/7 : RUN cat/etc/apt/sources.list| sed "s/^deb\ /deb-src /" >>/etc/apt/sources.list
---> Using cache
--->a16e81a24df9
Step 3/7 : RUN apt update
---> Using cache
--->272778d384a0
Step 4/7 : RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
---> Using cache
--->0113e60b5abe
Step 5/7 : RUN DEBIAN_FRONTEND=noninteractive eatmydata apt
install -y --no-install-recommends bison
build-essential ca-certificates clang flex
gettext git pkg-config psmisc
python python3-sphinx texinfo $(apt-get -s
build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)
---> Running in9f66f5f38684WARNING: apt does not have a stable CLI interface. Use with caution in scripts. [...]
After this operation, 791 MB of additional disk space will be used. Err:1 http://cdn-fastly.deb.debian.org/debian buster/main amd64 perl-base amd64 5.28.1-4
404 Not Found [IP: 151.101.16.204 80]
Err:2 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libsystemd0 amd64 240-5
404 Not Found [IP: 151.101.16.204 80]
Err:3 http://cdn-fastly.deb.debian.org/debian buster/main amd64 gcc-8-base amd64 8.2.0-16
404 Not Found [IP: 151.101.16.204 80]
Err:4 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libgcc1 amd64 1:8.2.0-16
404 Not Found [IP: 151.101.16.204 80]
Err:5 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libstdc++6 amd64 8.2.0-16
404 Not Found [IP: 151.101.16.204 80]
Err:6 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libc6 amd64 2.28-6
404 Not Found [IP: 151.101.16.204 80]though some are present, eg
Get:210 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libatk1.0-data all 2.30.0-2 [145 kB]
Quoted 8 lines
Quoted 3 lines
Can you retry with:
make docker-image-debian10 V=1 NOCACHE=1
Yes, this works. It looks like docker is caching the result of the "apt update" state, when it really needs to rerun this every time because the state on the servers may have changed.
Yeah, I fixed Ubuntu here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=beac6a98f6eb271f2520a329ca051313afd70a69
But failed to explain this reason while trying to fix Debian:
https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg02081.html