From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: guix weather issue? (was Re: guix package builds, subsitutes and --no-build) Date: Tue, 26 Feb 2019 10:33:22 +0100 Message-ID: <87imx651y5.fsf@roquette.mug.biscuolo.net> References: <87pnrm76ta.fsf@roquette.mug.biscuolo.net> <20190220214442.GA22965@jasmine.lan> <871s416umx.fsf@roquette.mug.biscuolo.net> <87ef80trpm.fsf@gmail.com> <87a7ik57xs.fsf@roquette.mug.biscuolo.net> <874l8s2ek0.fsf@elephly.net> <8736oc2ebh.fsf@elephly.net> <877edn6hrs.fsf@roquette.mug.biscuolo.net> <87zhqj29ak.fsf@elephly.net> <8736obkhfs.fsf@gnu.org> <87woln27hb.fsf@elephly.net> <87y3634zaa.fsf@roquette.mug.biscuolo.net> <87zhqj81uj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:53075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyZ7T-0006yX-Og for guix-devel@gnu.org; Tue, 26 Feb 2019 04:33:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyZ7S-0001zI-F2 for guix-devel@gnu.org; Tue, 26 Feb 2019 04:33:47 -0500 In-Reply-To: <87zhqj81uj.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org, Mathieu Lirzin --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Chris, Chris Marusich writes: > Giovanni Biscuolo writes: > >> do you think I should file a bug report or should I wait for more >> investigation in this list? > > Let's confirm the issue by reproducing it, and then open a bug report. OK, thanks! > The possible issue here is that berlin reported a substitute was > available, even though the substitute isn't actually available. > Right? AFAIU the issue is "guix weather" reporting on the availability related to current master and not of user commit: am I wrong? a little (digression anyway even if that is not the issue, users should have some way to check if a substitute is available for their current commit, so they can decide if they are willing to locally build or not. =20=20=20=20 also, it would be useful if "guix package -i/-u" allowed users to choose to fail (via a flag or a CLI prompt) in case a substitute is not available; AFAIU "Substitution failure" [1] works when a substitute *is available* but download fails (and we have "--fallback" just in case), but there is non way to fail in case substitute in not available. =20=20=20=20 in my specific case with ungoogled-chromium, it took about 8 hours on a 8 cores + 16GB RAM machine (although heavily used) to reach 75% of the build process... and finally I had to cancel the build since the machine load reached 40 (since other "heavy" processes started via cronjobs).) anyway: back to the issue > If you could provide the following information, I can try to reproduce > it for you: > > - The output of 'guix describe'. > - The manifest file you used in your 'guix weather' command. I posted them yesterday in this thread; they are: .ungoogled-chromium.manifest: =2D-8<---------------cut here---------------start------------->8--- (specifications->manifest '("ungoogled-chromium")) =2D-8<---------------cut here---------------end--------------->8--- =2D-8<---------------cut here---------------start------------->8--- $ guix describe Generation 3 Feb 19 2019 19:35:54 (current) guix a4fc802 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: a4fc80254a53b46b33f138d1009ddd044b8cb6be =2D-8<---------------cut here---------------end--------------->8--- yesterday I upgraded guix (guix pull), now I am on: =2D-8<---------------cut here---------------start------------->8--- Generation 4 feb 25 2019 16:21:26 (current) guix cc842b5 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: cc842b58af0a52dc8a01d4a4a30fa2fa0c599190 =2D-8<---------------cut here---------------end--------------->8--- I was able to install ungoogled-chromium substitute: today that package weather is the same as two days ago: =2D-8<---------------cut here---------------start------------->8--- $ guix weather --manifest=3D.ungoogled-chromium.manifest computing 1 package derivations for x86_64-linux... looking for 1 store items on https://ci.guix.info... updating substitutes from 'https://ci.guix.info'... 100.0% https://ci.guix.info 100.0% substitutes available (1 out of 1) 99,3 MiB of nars (compressed) 288,3 MiB on disk (uncompressed) 3,952 seconds per request (3,0 seconds in total) 0,3 requests per second 'https://ci.guix.info/api/queue?nr=3D1000' returned 504 ("Gateway Time-ou= t") =2D-8<---------------cut here---------------end--------------->8--- Thanks! Giovanni [1] https://www.gnu.org/software/guix/manual/en/html_node/Substitution-Failure.= html#Substitution-Failure =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlx1B+IACgkQ030Op87M ORIBgxAAgsmfyVYgaI7ILgrFlHdGKknIIyMxsRGzuCF8YJWmkygNA5LmMVHPslqG FQdIvUcOD58QwDEC/G4LRfF8KL6yWKCC/Opkcu6nSttSoQCBW+Lfr1iH0Im1MHXT +2/a0Bfy9yA7Z3qWSzCAxsJat2/qFdT1WAndLowSwIPl0Nr9Wk3BYXn2TnF6z6+M MQXQVwh26p9J8jByZuXTDxn8L59gNUl7ueKkd68zUTEB7wXCIgDf4Nvdc2LECmn6 YYaJyskC9+13YvuIcEcrjMJ21nQjW7g1wQ0Ra+sccWYsgbESdB7CotOLguFEDZgJ GNGyYq5mr7HYpMQNosm2zUYdtjOkZODJD/YCFL/Q0oP/oLfe1kx3BG7Wz0ICwPNc 9P89LU63CQ5X+pVwPARGTYgDMcobhjBSOIJjYsye+H4PQrZc75dbTbbAjhbPjx/I C1xAauWtUVIVKIk7cJLPMTbu6M9Qy9j+CWPOq/oJogmOxfjk7YU3u/grIl7Epp2w 3s8I+6TVHMAo90zvNL763fMu8c03mV7aIkKWZOlfjbUn8tGH9wQf4+xQn6MTY2DC wiaeNiO+U7wfo0CQ0u1+pZHHJDEM290YXbgEnCuhaf3izYa0LXAiS5q/n3D1HWvi JqRgf4AxRW4s6Pyx+7N2PlWBPUjT+V5zIxRd84IGft6xXFbJoY8= =QS4P -----END PGP SIGNATURE----- --=-=-=--