On Mon, Oct 10, 2022 at 01:54:16PM +0100, Daniel P. Berrangé wrote: > On Tue, Oct 04, 2022 at 02:01:12PM +0100, Alex Bennée wrote: > > From: Paolo Bonzini <pbonz...@redhat.com> > > > > s390-ccw remains a bit more complex, because the -march=z900 test is done > > only for the native cross compiler. Otherwise, all that is needed is > > to pass the (now mandatory) target argument to write_target_makefile. > > > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > > Signed-off-by: Alex Bennée <alex.ben...@linaro.org> > > Message-Id: <20220929114231.583801-29-alex.ben...@linaro.org> > > I'm not at all convinced this change was/is a good idea. > > First of all, it causes 'make' to now download about 1 GB of > container images > > $ ./configure --target-list=x86_64-softmmu > $ make > ...snip... > BUILD debian-powerpc-test-cross > Trying to pull > registry.gitlab.com/qemu-project/qemu/qemu/debian-powerpc-test-cross:latest... > Getting image source signatures > Copying blob 2a205c8a1d36 [=>------------------------------------] 12.4MiB > / 257.2MiB > > ... > ...snip... > > Despite downloading this image, it then proceeded to rebuild the > image from scratch, requiring another few 100MBs of downloads > of dpkgs. This time the download was without progress information > until it entirely failed due to a dead Debia mirror server, needing > a retry.
This failure seems worse than I realized. It also failed on a non-responsive mirror when re-building the s390 image. WHen I re-ran 'make' it definitely did not retry the re-build process, as 'BUILD debian-s390x-cross' was instantaneous. So it looks like it is using the downloaded cached image, despite the previous 'make' apparently considering that to have been outdated content needing a rebuild. FWIW the failure output was: BUILD debian-s390x-cross Trying to pull registry.gitlab.com/qemu-project/qemu/qemu/debian-s390x-cross:latest... Getting image source signatures Copying blob fc8d65e34cd5 [===================================>--] 341.6MiB / 360.2MiB Copying blob fc8d65e34cd5 done Copying blob bd159e379b3b skipped: already exists Copying blob 13224e2971af done Copying config 67a127f7cd done Writing manifest to image destination Storing signatures debconf: delaying package configuration, since apt-utils is not installed E: Failed to fetch http://deb.debian.org/debian/pool/main/s/systemd/systemd_247.3-7%2bdeb11u1_amd64.deb 400 Bad Request [IP: 199.232.122.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/p/perl/perl_5.32.1-4%2bdeb11u2_amd64.deb Error reading from server - read (104: Connection reset by peer) [IP: 199.232.122.132 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Error: error building at STEP "RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y eatmydata && eatmydata apt-get dist-upgrade -y && eatmydata apt-get install --no-install-recommends -y bash bc bison bsdextrautils bzip2 ca-certificates ccache dbus debianutils diffutils exuberant-ctags findutils flex gcovr genisoimage gettext git hostname libglib2.0-dev libpcre2-dev libspice-protocol-dev llvm locales make meson ncat ninja-build openssh-client perl-base pkgconf python3 python3-numpy python3-opencv python3-pillow python3-pip python3-sphinx python3-sphinx-rtd-theme python3-venv python3-yaml rpm2cpio sed sparse tar tesseract-ocr tesseract-ocr-eng texinfo && eatmydata apt-get autoremove -y && eatmydata apt-get autoclean -y && sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && dpkg-reconfigure locales": error while running runtime: exit status 100 Traceback (most recent call last): File "/home/berrange/src/virt/qemu/tests/docker/docker.py", line 683, in <module> sys.exit(main()) File "/home/berrange/src/virt/qemu/tests/docker/docker.py", line 679, in main return args.cmdobj.run(args, argv) File "/home/berrange/src/virt/qemu/tests/docker/docker.py", line 493, in run dkr.build_image(tag, docker_dir, dockerfile, File "/home/berrange/src/virt/qemu/tests/docker/docker.py", line 343, in build_image self._do_check(build_args, File "/home/berrange/src/virt/qemu/tests/docker/docker.py", line 247, in _do_check return subprocess.check_call(self._command + cmd, **kwargs) File "/usr/lib64/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['podman', 'build', '-t', 'qemu/debian-s390x-cross', '-f', '/tmp/docker_buildt03fabg5/tmp3xpdzx90.docker', '--cache-from', 'registry.gitlab.com/qemu-project/qemu/qemu/debian-s390x-cross', '/tmp/docker_buildt03fabg5']' returned non-zero exit status 100. make[1]: *** [/home/berrange/src/virt/qemu/tests/docker/Makefile.include:38: docker-image-debian-s390x-cross] Error 1 make[1]: Leaving directory '/home/berrange/src/virt/qemu/build' make: *** [GNUmakefile:11: all] Error 2 With regards, Daniel -- |: 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 :|