From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 023A2C3A5A6 for ; Thu, 19 Sep 2019 15:47:56 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 82CBF208C0 for ; Thu, 19 Sep 2019 15:47:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 82CBF208C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:45798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAyew-0001uB-AA for qemu-devel@archiver.kernel.org; Thu, 19 Sep 2019 11:47:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37994) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAyd4-0000T3-SZ for qemu-devel@nongnu.org; Thu, 19 Sep 2019 11:46:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAyd2-0004Q8-U6 for qemu-devel@nongnu.org; Thu, 19 Sep 2019 11:45:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40546) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iAyd2-0004P0-Iu for qemu-devel@nongnu.org; Thu, 19 Sep 2019 11:45:56 -0400 Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 82DCAA909 for ; Thu, 19 Sep 2019 15:45:55 +0000 (UTC) Received: by mail-wr1-f71.google.com with SMTP id v18so1222851wro.16 for ; Thu, 19 Sep 2019 08:45:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=n4VwMeCgOkMDgF/Tb86b2xxDOCQzflHpgwxUUtzxdgg=; b=av6r6hxckaWx2UaSx+VP/lx508PyB547SprA5S/SpZVHNRY7CQEZn61OJLkNA6MrdF CKu4PmZ5akRW69m91UZaD+ElcuKvkRmwmkyQY1IMHIMCiA808rQD12io6dWiaOFee650 z7rxoUOpMCJBXzyzrcUfIoGH59q+4dN3zgEsgczSgAeDTZCCk5KFxaSXxGjarxLi1IxF VATJNd/kGF4kKax6joiaWi8XCgOlooNdi3NLw8N7v3G74KNb0PhFItDNoOR8ScjGzLzQ aAdtR4VezyAYGSPmkl10731exV/zqbrg9yelxYyqg3EVkR5mU3Dww4UctOdCcAMpLkE8 sgog== X-Gm-Message-State: APjAAAVOVi7rh8783S1kzTWqQWND40Diopb/ZBErWTPLCaZ3J2db5vE0 KdHpSer5o7Vo80nZ//o/lBlS8tDoCdVTqCzGtAQlXYPrXF1m9T39CHOGisoTWOC6mGBnLjQITLP CakyIBlNYlfgcQSo= X-Received: by 2002:a1c:110:: with SMTP id 16mr3616018wmb.88.1568907954267; Thu, 19 Sep 2019 08:45:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqwV/IeFPtsBqRcwcOH5mdayNWUT6KOf19N7ALXoSN1wTVFRy0qh847HSmKJHdLgrEoh/X1f/A== X-Received: by 2002:a1c:110:: with SMTP id 16mr3615990wmb.88.1568907954003; Thu, 19 Sep 2019 08:45:54 -0700 (PDT) Received: from [192.168.1.115] (240.red-88-21-68.staticip.rima-tde.net. [88.21.68.240]) by smtp.gmail.com with ESMTPSA id s12sm15371836wra.82.2019.09.19.08.45.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Sep 2019 08:45:53 -0700 (PDT) Subject: Re: [NOTFORMERGE PATCH v2 1/9] tests/docker: Kludge to build the Fedora image From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= To: =?UTF-8?Q?Alex_Benn=c3=a9e?= References: <20190715174817.18981-1-philmd@redhat.com> <20190715174817.18981-2-philmd@redhat.com> <87ef2quu53.fsf@zen.linaroharston> <594aeb2a-cf54-16be-fdfa-05fb7a96842b@redhat.com> Openpgp: id=89C1E78F601EE86C867495CBA2A3FD6EDEADC0DE; url=http://pgp.mit.edu/pks/lookup?op=get&search=0xA2A3FD6EDEADC0DE Message-ID: <0898141b-2c4e-bba7-8ec1-835636e23d03@redhat.com> Date: Thu, 19 Sep 2019 17:45:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <594aeb2a-cf54-16be-fdfa-05fb7a96842b@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Thomas Huth , "Daniel P. Berrange" , Stefan Weil , Helge Deller , Cornelia Huck , qemu-devel@nongnu.org, Christian Borntraeger , qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?UTF-8?Q?C=c3=a9dric_Le_Goater?= , Richard Henderson , Laszlo Ersek , David Gibson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 7/16/19 3:03 PM, Philippe Mathieu-Daud=C3=A9 wrote: > On 7/16/19 12:54 PM, Alex Benn=C3=A9e wrote: >> >> Philippe Mathieu-Daud=C3=A9 writes: >> >>> Rebuilding the Fedora image is failing: >>> >>> $ make docker-image-fedora V=3D1 >> >> Broken build state? Just do: >> >> make docker-image-fedora V=3D1 NOCACHE=3D1 >=20 > No, this doesn't help: >=20 > $ make docker-image-fedora V=3D1 NOCACHE=3D1 > ./tests/docker/docker.py build qemu:fedora > tests/docker/dockerfiles/fedora.docker --no-cache --add-current-user > Sending build context to Docker daemon 4.096kB > Step 1/8 : FROM fedora:30 > ---> 9754ce14641d > Step 2/8 : ENV PACKAGES bc bison bluez-libs-devel > brlapi-devel bzip2 bzip2-devel ccache clang > cyrus-sasl-devel device-mapper-multipath-devel findutils > flex gcc gcc-c++ gettext git glib2-devel > glusterfs-api-devel gnutls-devel gtk3-devel hostname > libaio-devel libasan libattr-devel libblockdev-mpath-devel > libcap-devel libcap-ng-devel libcurl-devel libfdt-devel > libiscsi-devel libjpeg-devel libpmem-devel libpng-devel > librbd-devel libseccomp-devel libssh-devel libubsan > libusbx-devel libxml2-devel llvm lzo-devel make > mingw32-bzip2 mingw32-curl mingw32-glib2 mingw32-gmp > mingw32-gnutls mingw32-gtk3 mingw32-libjpeg-turbo > mingw32-libpng mingw32-libtasn1 mingw32-nettle > mingw32-pixman mingw32-pkg-config mingw32-SDL2 mingw64-bzip= 2 > mingw64-curl mingw64-glib2 mingw64-gmp mingw64-gnutls > mingw64-gtk3 mingw64-libjpeg-turbo mingw64-libpng > mingw64-libtasn1 mingw64-nettle mingw64-pixman > mingw64-pkg-config mingw64-SDL2 ncurses-devel nettle-devel > nss-devel numactl-devel perl perl-Test-Harness > pixman-devel python3 python3-sphinx PyYAML > rdma-core-devel SDL2-devel snappy-devel sparse > spice-server-devel systemd-devel systemtap-sdt-devel tar > usbredir-devel virglrenderer-devel vte291-devel which > xen-devel zlib-devel > ---> Running in dfeaaaa6bd31 > Removing intermediate container dfeaaaa6bd31 > ---> 853735cf32a1 > Step 3/8 : ENV QEMU_CONFIGURE_OPTS --python=3D/usr/bin/python3 > ---> Running in 64af2877181d > Removing intermediate container 64af2877181d > ---> 2cb74a994b35 > Step 4/8 : RUN dnf install -y $PACKAGES > ---> Running in 106e7fcb2900 > Fedora Modular 30 - x86_64 2.1 MB/s | 2.7 MB > 00:01 > Fedora Modular 30 - x86_64 - Updates 1.6 MB/s | 2.3 MB > 00:01 > Fedora 30 - x86_64 - Updates 6.3 MB/s | 17 MB > 00:02 > Failed to synchronize cache for repo 'updates' > Error: Failed to synchronize cache for repo 'updates' > The command '/bin/sh -c dnf install -y $PACKAGES' returned a non-zero > code: 1 >=20 >>> [...] >>> Step 4/8 : RUN dnf install -y $PACKAGES >>> ---> Running in cef9615efafb >>> Fedora Modular 30 - x86_64 2.0 MB/s | 2.7 MB = 00:01 >>> Fedora Modular 30 - x86_64 - Updates 1.6 MB/s | 2.3 MB = 00:01 >>> Fedora 30 - x86_64 - Updates 6.1 MB/s | 17 MB = 00:02 >>> Failed to synchronize cache for repo 'updates' >>> Error: Failed to synchronize cache for repo 'updates' >>> The command '/bin/sh -c dnf install -y $PACKAGES' returned a non-ze= ro code: 1 >>> Traceback (most recent call last): >>> File "./tests/docker/docker.py", line 615, in >>> sys.exit(main()) >>> File "./tests/docker/docker.py", line 611, in main >>> return args.cmdobj.run(args, argv) >>> File "./tests/docker/docker.py", line 413, in run >>> extra_files_cksum=3Dcksum) >>> File "./tests/docker/docker.py", line 280, in build_image >>> quiet=3Dquiet) >>> File "./tests/docker/docker.py", line 207, in _do_check >>> return subprocess.check_call(self._command + cmd, **kwargs) >>> File "/usr/lib64/python2.7/subprocess.py", line 190, in check_cal= l >>> raise CalledProcessError(retcode, cmd) >>> subprocess.CalledProcessError: Command '['docker', 'build', '-t', '= qemu:fedora', '-f', '/tmp/docker_buildbKtWAa/tmpIctHw2.docker', '/tmp/doc= ker_buildbKtWAa']' returned non-zero exit status 1 >>> make: *** [tests/docker/Makefile.include:53: docker-image-fedora] E= rror 1 >>> >>> The fix found in one of the comment from this thread helped to have >>> it working again: https://bugzilla.redhat.com/show_bug.cgi?id=3D17066= 27 >>> >>> Signed-off-by: Philippe Mathieu-Daud=C3=A9 >>> --- >>> I have no idea what it does, it just works (TM). >>> --- >>> tests/docker/dockerfiles/fedora.docker | 3 ++- >>> 1 file changed, 2 insertions(+), 1 deletion(-) >>> >>> diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/do= ckerfiles/fedora.docker >>> index e6d39e14cb..f6be5e2dd7 100644 >>> --- a/tests/docker/dockerfiles/fedora.docker >>> +++ b/tests/docker/dockerfiles/fedora.docker >>> @@ -94,6 +94,7 @@ ENV PACKAGES \ >>> zlib-devel >>> ENV QEMU_CONFIGURE_OPTS --python=3D/usr/bin/python3 >>> >>> -RUN dnf install -y $PACKAGES >>> +RUN echo zchunk=3DFalse >> /etc/dnf/dnf.conf >>> +RUN dnf clean metadata && dnf install -y $PACKAGES >>> RUN rpm -q $PACKAGES | sort > /packages.txt >>> ENV FEATURES mingw clang pyyaml asan Bouh this issue is back, and using the same kludge I can build the Fedora image. Might be related to my ISP, no idea.