From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YLnDDgCsUWPQVQEAbAwnHQ (envelope-from ) for ; Thu, 20 Oct 2022 22:13:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QHvqDgCsUWP5hQEA9RJhRA (envelope-from ) for ; Thu, 20 Oct 2022 22:13:52 +0200 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 aspmx1.migadu.com (Postfix) with ESMTPS id C514C7C09 for ; Thu, 20 Oct 2022 22:13:51 +0200 (CEST) Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olbvK-0005kg-Sf for larch@yhetil.org; Thu, 20 Oct 2022 16:13:50 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olbtY-0003Qw-Kq for larch@yhetil.org; Thu, 20 Oct 2022 16:12:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olbtU-0003OZ-At for guix-devel@gnu.org; Thu, 20 Oct 2022 16:11:56 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olbtP-00083d-2S; Thu, 20 Oct 2022 16:11:54 -0400 Received: by mail-ej1-x62c.google.com with SMTP id k2so2282212ejr.2; Thu, 20 Oct 2022 13:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=tZYQODOfVCi+meywkD35HgbUQCFpHH7LUd4+9+c2hNc=; b=WWry9ba0KDQtsgZy2l9+LB99QoMvmZ7VbWuE1gjjMW6kbhJTmekSL/GsTl7pt1guZP zRmYH1gRGR5wgGpx3NzWvlIBd7WMltSyx/sf0Iw9+V77OzcWwPRPUaW65O6NiBR2n4bE ad4+nsBGzUER+jYTXySRCPwDgBuIQmekfhc5hQDQU+h5vv8/6a7oiQtRfXAF6CCSH814 /lADtg9Po5gaUuFq8EjQSpKdjm437ckq9R8iQFuUceQij4tXVibV2ciwUu/+3cbfDxf1 MKhZynypNHxSlfeo2xrhD4zNRD1xgIkvToiyKWgSNyZs8UqpFr9GB93WESGfQbV4ddgw POgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tZYQODOfVCi+meywkD35HgbUQCFpHH7LUd4+9+c2hNc=; b=Kx8db932hAPdcpqfge/yfh0gGu0On1xiRaSTB5NVjacSlNj++GaeGjoOcXrVrhhhIp WPCTZTzzHcHW++37R0ho5Jb3s/F70d/I7Wey26NpKjEUl1rRQbrqKa1pM0rmLXqYfMIR /mIhPSSi9zYxDnswVrD2cEg6pkOIK6Tc9qU0uCMaRjmqmf1IoT+bSayjvpVe1eS5Xi06 JFXI9LtkZ5HtXOnwpDnOD3ZJcP5f87H2TiDlplq53a0o0tIQs2O2qdNn/brSMLvtRxmE N1kSRruzqUaowQmwvQBiwOcq3Xvpag4m1oMGFvY1Vbb6bb+Rdv4ZLzc0DlPHlnVDmEiO O1kg== X-Gm-Message-State: ACrzQf00M08m4Ka6R0aoKk1RxQUH57i8B1fIsbUURzVkDF7nGxnEjRvw cR1/Y4TyGvfe/ijQhh98lE8M3fNYhYqu9+LEHm8= X-Google-Smtp-Source: AMsMyM69tK5P+2eVI+eO2TLDHQcYSX/kDKEWCHaQKRh6ul4+gWEqrCaslWo5bv57h6BYRGrYTSLlzg== X-Received: by 2002:a17:907:628f:b0:72f:58fc:3815 with SMTP id nd15-20020a170907628f00b0072f58fc3815mr12635379ejc.719.1666296708421; Thu, 20 Oct 2022 13:11:48 -0700 (PDT) Received: from localhost ([141.226.13.62]) by smtp.gmail.com with ESMTPSA id r9-20020a170906280900b0077b523d309asm10653470ejc.185.2022.10.20.13.11.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 13:11:47 -0700 (PDT) Date: Thu, 20 Oct 2022 23:11:41 +0300 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: =?utf-8?B?RsOpbGl4IEJheWxhYyBKYWNxdcOp?= , guix-devel@gnu.org Subject: Re: How long does it take to run the full rustc bootstrap chain? Message-ID: Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , =?utf-8?B?RsOpbGl4IEJheWxhYyBKYWNxdcOp?= , guix-devel@gnu.org References: <87k0514k3g.fsf@alternativebit.fr> <871qr2hl2x.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FKRAESDWxTK/oFnp" Content-Disposition: inline In-Reply-To: <871qr2hl2x.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=efraim.flashner@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666296831; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tZYQODOfVCi+meywkD35HgbUQCFpHH7LUd4+9+c2hNc=; b=SFnJepfSgQXk7EflBGrsmyJkJYIFqYzhtvzwSkk38YXaEJGeIdEdzQPrLyLWloiJbmwXAc 9X6rxcTJFFP/y6RbqGVBoxRUrp9sSO5aV+EELpGBqzp5U38IsTwvxiRcFGjBOlOG9aX8Qh UUhE3A7RlIfi3buq0KYqb17r6/Mp6TDeTMcRkiVRKs/tfXUZ4GXmp9ckorMm5LxRPozB4m iD//kkQzh8KnnPbFXHC9Uchg3A1o7lidcCtKCdhJScycPC6hbZdPsx1IPaJoa+UNSubIpc mI3kKzpRxkxQTWmRTVgeQaL+VsvQ87ExqyO5qZNM/yAcR6P3Pi3gJ67JVoHlQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666296831; a=rsa-sha256; cv=none; b=s4sz5qlfwNt2hVrLC2/oqGPpJ5pYJ6i/r44JFu7YgpGsnBO8knwSDiCM+6QWA4+jziSAL1 uAD+l58FrEM6v6aApnlIL3kfBivly9ltCd2IxhVFxfkJDSxnpavkr7tgUMQCVMAqsLzziY t86f7RwFzq4GJB75ZWQ9IixymnR0JCMSrzRUTZdFq01wUrl6VMg8GQA8m8UbXV550RKx7K v10XXrKMjYgfxSSRuuzSjSHKDTO/HuCG0GKj9Rc7sacxEklLTrPN+vtluAXTcDLOmmo0a/ v/UwX7x+nJLNZY68V0ea0PL7FZx3IjxbsqhZPJnhKfSbP22KoRSTg6VcuvsX1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WWry9ba0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WWry9ba0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C514C7C09 X-Spam-Score: 3.97 X-Migadu-Scanner: scn1.migadu.com X-TUID: aF042WhFp4UJ --FKRAESDWxTK/oFnp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 20, 2022 at 11:59:34AM +0200, Ludovic Court=C3=A8s wrote: > Hi F=C3=A9lix, >=20 > F=C3=A9lix Baylac Jacqu=C3=A9 skribis: >=20 > > I'd be curious to know how long it takes to run the full rustc bootstrap > > chain on the Guix build farm. I'm sadly not sure how to approach this > > problem. >=20 > I believe Efraim, Maxim, and probably a few other people have first-hand > experience building the whole chain. Any estimate, people? I have a number! I just pushed a couple of patches to staging to fix the bootstrap on aarch64, and to decrease the build time and resource usage, and the numbers are in! https://ci.guix.gnu.org/build/1632586/details 11863 seconds from downloading mrustc to building rust-1.60, for 198 minutes, or 3.3 hours. > > Is there a way to extract this information from Cuirass or the Guix data > > service? >=20 > Maybe not from the Guix Data Service, but most likely from Cuirass and > the Guix Build Coordinator. >=20 > For example, shows the > duration, which could can also get with: >=20 > wget -qO- https://ci.guix.gnu.org/build/1505621 |jq >=20 > (The (guix ci) module needs an update to let you do access that info > right from Scheme.) >=20 > Now the /search interface doesn=E2=80=99t have a JSON equivalent, but you= can > find the build ID using something along these lines: >=20 > --8<---------------cut here---------------start------------->8--- > scheme@(guile-user)> ,use(guix ci) > scheme@(guile-user)> (latest-evaluations "https://ci.guix.gnu.org" 10 #:s= pec "master") > $14 =3D (#< id: 739193 spec: "master" complete?: #t checkouts= : (#< commit: "4716cea6256523a8ecf90a426d675bfb7620f3e4" channel:= "guix">)> #< id: 738364 spec: "master" complete?: #t checkouts= : (#< commit: "16d4ded6302c0650978203d0df83614896c453e8" channel:= "guix">)> #< id: 737995 spec: "master" complete?: #t checkouts= : (#< commit: "e61660c78f1190c578dd6f202bc5529cbdcff84e" channel:= "guix">)> #< id: 737588 spec: "master" complete?: #t checkouts= : (#< commit: "88746cd80bc56212ae7922c0fa1cd9a18e44c3bb" channel:= "guix">)> #< id: 737529 spec: "master" complete?: #t checkouts= : (#< commit: "ac553ba68e535810085dd838e48e4fa6ac553e67" channel:= "guix">)> #< id: 736841 spec: "master" complete?: #t checkouts= : (#< commit: "7ecd85eacbfa5b7379f563b83807d3e5258cf700" channel:= "guix">)> #< id: 734789 spec: "master" complete?: #t checkouts= : (#< commit: "3bb145b6e2a8c84e7739ead9ae76dc4d42bb9850" channel:= "guix">)> #< id: 734747 spec: "master" complete?: #t checkouts= : (#< commit: "033cbd11a837dbc7602799f15d691221653e1996" channel:= "guix">)> #< id: 734733 spec: "master" complete?: #t checkouts= : (#< commit: "c9eac0c3553703385c997a70741348ae5d34dc68" channel:= "guix">)> #< id: 734718 spec: "master" complete?: #t checkouts= : (#< commit: "2589997fab07bcebe6d87fd227852389ab5b1962" channel:= "guix">)>) > scheme@(guile-user)> (define jobs (evaluation-jobs "https://ci.guix.gnu.o= rg" (evaluation-id (car $14)))) > scheme@(guile-user)> (length jobs) > $15 =3D 76649 > scheme@(guile-user)> (car jobs) > $16 =3D #< build-id: 1627000 status: scheduled name: "0ad.aarch64-li= nux"> > scheme@(guile-user)> ,use(srfi srfi-1) > scheme@(guile-user)> (find (lambda (job) (string=3D? "rust.x86_64-linux" = (job-name job))) jobs) > $17 =3D #< build-id: 1275492 status: succeeded name: "rust.x86_64-li= nux"> > scheme@(guile-user)> (job-build "https://ci.guix.gnu.org" $17) > $18 =3D #< id: 1275492 derivation: "/gnu/store/dmzhvql66a1n31j2xpy= gfxpw576wpkwb-rust-1.60.0.drv" evaluation: 579940 system: "x86_64-linux" st= atus: succeeded timestamp: 1662284654 start-time: # st= op-time: # products: ()> > --8<---------------cut here---------------end--------------->8--- >=20 > That still doesn=E2=80=99t answer your question, because you=E2=80=99re i= nterested in > the build time of the full Rust bootstrap chain, but that=E2=80=99s a sta= rt! >=20 > HTH, > Ludo=E2=80=99. >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --FKRAESDWxTK/oFnp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmNRq3wACgkQQarn3Mo9 g1FxSBAAnd9+L0v+Rwbc4nsIMf4RAJNImKffSTHvqDHLu22byqeikbkJKKZd5ZJM uzd3AgtqHPnYa7+l5VdU9BTqWu4E7MrnydzrMYu1xu5sAoxtUJAlWla08wvrXkM+ V3jES38/cuOdUs/oWaE7qcJCFhh+cXq17ZKY+RROjXwUh8x6OMyrfpv/pmdBVjMJ kwIgGgXcXhz+7sGBE0lwSasHLZtOzsBboGN/KwZN4Cfv4MKbmVCUfSUqS7IuwDJk 0TNNbscWsiu2tqO06f2ROod7zAoTH1VzH7b2AzKFBO+Otcn29V7Sb4xysOfBAnCC vqpnUScE/fi7NU1+o1vjQSWyIoIyDpFUyRP/ENk6tCC7U5kNvxEltPOzDdTLVA9m GNOMcdS/g1PrcBmVhfPT8pLa/XupO6eAqjGxMe4LTf0FxIy09jBTQgJMh8PrUuA+ mIvlabho0ZMZ6C8Ufsq/CbrA9YiHkdDNkPcC33w1Jf3tBU9y0saWpzdG9hzUHY+L osekZE2UwZ3QP9JiPdZC1c0F/7uz6NWNPpenkYzHUKYKkpmqdvCoqduUp6hYHyll 26bz58NG6ncxdXATtnM5M2OTOkXrTF9vsdqSCxw7PY2xzw3TrqDVCOQZNTakRmsR puf5Hz93CkEGhaCA7Iie6LKCOKq5L1sg6P/6yl3a3+Uy1FDnhnw= =kDHq -----END PGP SIGNATURE----- --FKRAESDWxTK/oFnp--