From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#29200: `guix build --fallback` does not work with offloading Date: Tue, 07 Nov 2017 23:24:01 +0100 Message-ID: <878tfh3eym.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCCIs-0008C4-FZ for bug-guix@gnu.org; Tue, 07 Nov 2017 17:25:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCCIp-0000Ud-5Y for bug-guix@gnu.org; Tue, 07 Nov 2017 17:25:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCCIp-0000UR-1u for bug-guix@gnu.org; Tue, 07 Nov 2017 17:25:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCCIo-0001mQ-OW for bug-guix@gnu.org; Tue, 07 Nov 2017 17:25:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCCHw-00089n-Mo for bug-guix@gnu.org; Tue, 07 Nov 2017 17:24:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCCHt-0007ws-F2 for bug-guix@gnu.org; Tue, 07 Nov 2017 17:24:08 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:60733) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eCCHt-0007v8-8C for bug-guix@gnu.org; Tue, 07 Nov 2017 17:24:05 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 05C02205D6 for ; Tue, 7 Nov 2017 17:24:03 -0500 (EST) Received: from localhost (cm-84.214.173.174.getinternet.no [84.214.173.174]) by mail.messagingengine.com (Postfix) with ESMTPA id 8726B7F982 for ; Tue, 7 Nov 2017 17:24:02 -0500 (EST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 29200@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello! I've noticed that when offloading, --fallback sometimes fails to actually fall back. Here is a shell transcript: =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build --substitute-urls=3D"https://mirror.hydra.gnu.o= rg" --fallback font-arabic-misc @ substituter-started /gnu/store/26nk7rgc2rhi7v0d8xhqqxglpg532syh-font-arab= ic-misc-1.0.3.tar.xz /gnu/store/19wpps1nmlg4j1530knl7kdhvgcmj5fc-guix-0.13.= 0-8.357ab93/libexec/guix/substitute Downloading https://mirror.hydra.gnu.org/guix/nar/26nk7rgc2rhi7v0d8xhqqxglp= g532syh-font-arabic-misc-1.0.3.tar.xz... guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/na= r/26nk7rgc2rhi7v0d8xhqqxglpg532syh-font-arabic-misc-1.0.3.tar.xz' failed: 4= 04, "Not Found" @ substituter-failed /gnu/store/26nk7rgc2rhi7v0d8xhqqxglpg532syh-font-arabi= c-misc-1.0.3.tar.xz 256 fetching path `/gnu/store/26nk7rgc2rhi7v0d8xhqqxglp= g532syh-font-arabic-misc-1.0.3.tar.xz' failed with exit code 1 process 8395 acquired build slot '/var/guix/offload/192.168.2.11/0' process 8395 acquired build slot '/var/guix/offload/192.168.2.5/0' load on machine '192.168.2.11' is 0.08 (normalized: 0.02) @ build-started /gnu/store/rqgfr39aamfzqq93fl87ai2y61b5s992-font-arabic-mis= c-1.0.3.tar.xz.drv - x86_64-linux /var/log/guix/drvs/rq//gfr39aamfzqq93fl87= ai2y61b5s992-font-arabic-misc-1.0.3.tar.xz.drv.bz2 sending 0 store items to '192.168.2.11'... offloading '/gnu/store/rqgfr39aamfzqq93fl87ai2y61b5s992-font-arabic-misc-1.= 0.3.tar.xz.drv' to '192.168.2.11'... @ build-remote /gnu/store/rqgfr39aamfzqq93fl87ai2y61b5s992-font-arabic-misc= -1.0.3.tar.xz.drv 192.168.2.11 @ substituter-started /gnu/store/26nk7rgc2rhi7v0d8xhqqxglpg532syh-font-arab= ic-misc-1.0.3.tar.xz /gnu/store/19wpps1nmlg4j1530knl7kdhvgcmj5fc-guix-0.13.= 0-8.357ab93/libexec/guix/substitute Downloading https://mirror.hydra.gnu.org/guix/nar/26nk7rgc2rhi7v0d8xhqqxglp= g532syh-font-arabic-misc-1.0.3.tar.xz... guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/na= r/26nk7rgc2rhi7v0d8xhqqxglpg532syh-font-arabic-misc-1.0.3.tar.xz' failed: 4= 04, "Not Found" @ substituter-failed /gnu/store/26nk7rgc2rhi7v0d8xhqqxglpg532syh-font-arabi= c-misc-1.0.3.tar.xz 256 fetching path `/gnu/store/26nk7rgc2rhi7v0d8xhqqxglp= g532syh-font-arabic-misc-1.0.3.tar.xz' failed with exit code 1 derivation '/gnu/store/rqgfr39aamfzqq93fl87ai2y61b5s992-font-arabic-misc-1.= 0.3.tar.xz.drv' offloaded to '192.168.2.11' failed: some substitutes for th= e outputs of derivation `/gnu/store/rqgfr39aamfzqq93fl87ai2y61b5s992-font-a= rabic-misc-1.0.3.tar.xz.drv' failed (usually happens due to networking issu= es); try `--fallback' to build derivation from source=20 @ build-failed /gnu/store/rqgfr39aamfzqq93fl87ai2y61b5s992-font-arabic-misc= -1.0.3.tar.xz.drv - 1 builder for `/gnu/store/rqgfr39aamfzqq93fl87ai2y61b5s= 992-font-arabic-misc-1.0.3.tar.xz.drv' failed with exit code 100 cannot build derivation `/gnu/store/gna22xl7ycq4rzaj487axa5ijbyhqq1q-font-a= rabic-misc-1.0.3.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/gnu/store/gna22xl7ycq4rzaj487ax= a5ijbyhqq1q-font-arabic-misc-1.0.3.drv' failed =2D-8<---------------cut here---------------end--------------->8--- Passing --no-build-hook makes it succeed: =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build --substitute-urls=3D"https://mirror.hydra.gnu.o= rg" --fallback --no-build-hook font-arabic-misc @ substituter-started /gnu/store/26nk7rgc2rhi7v0d8xhqqxglpg532syh-font-arab= ic-misc-1.0.3.tar.xz /gnu/store/19wpps1nmlg4j1530knl7kdhvgcmj5fc-guix-0.13.= 0-8.357ab93/libexec/guix/substitute=20=20=20=20=20=20=20=20=20=20=20=20=20 Downloading https://mirror.hydra.gnu.org/guix/nar/26nk7rgc2rhi7v0d8xhqqxglp= g532syh-font-arabic-misc-1.0.3.tar.xz...=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/na= r/26nk7rgc2rhi7v0d8xhqqxglpg532syh-font-arabic-misc-1.0.3.tar.xz' failed: 4= 04, "Not Found" @ substituter-failed /gnu/store/26nk7rgc2rhi7v0d8xhqqxglpg532syh-font-arabi= c-misc-1.0.3.tar.xz 256 fetching path `/gnu/store/26nk7rgc2rhi7v0d8xhqqxglp= g532syh-font-arabic-misc-1.0.3.tar.xz' failed with exit code 1 @ build-started /gnu/store/rqgfr39aamfzqq93fl87ai2y61b5s992-font-arabic-mis= c-1.0.3.tar.xz.drv - x86_64-linux /var/log/guix/drvs/rq//gfr39aamfzqq93fl87= ai2y61b5s992-font-arabic-misc-1.0.3.tar.xz.drv.bz2 font-arabic-misc-1.0.3/ font-arabic-misc-1.0.3/arabic24.bdf font-arabic-misc-1.0.3/aclocal.m4 [...] =2D-8<---------------cut here---------------end--------------->8--- Interestingly no download was done on the second try, so apparently the source was already in my store. It looks like the offload hook starts before the actual download (possibly because a substitute was advertised), and then fails when the substitute 404s. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAloCMoEACgkQoqBt8qM6 VPrgRggAztHhgGyH8Ll7+XnCd7gqWrwbfaN49DIxaWp2PQ6myevI05ggvRQVag7E Tsl80O1oae/G/TT9PvV6u4AyZNq/bsLrCfroaAoJd5T9R1tnK5MnJNifkMtA0LAp KFrJ3fy4NqUeK2wJVf/mV7TSWnB7l9hnbssnjtd7+cAQLar5pghwMwKzdS9vt5iy LV4R8S1KEfCF5vQdpPQ1bxCLn4oev45+b+v0gbsh3iGtmac04se/K4BwdBTwj2Oj 6oQfDyAn6TwLISqxqYY9S+vKNTS1MueavoJ6pJo8ZKU7X+jINaJKursmIrkXU0nz EmI4clWuuvQQHqm1I5CGKlzTK/FaGQ== =cgml -----END PGP SIGNATURE----- --=-=-=--