From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IEpfE1fR4F/TVwAA0tVLHw (envelope-from ) for ; Mon, 21 Dec 2020 16:46:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4CE6D1fR4F87NgAA1q6Kng (envelope-from ) for ; Mon, 21 Dec 2020 16:46:15 +0000 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 0BD2F9403CA for ; Mon, 21 Dec 2020 16:46:15 +0000 (UTC) Received: from localhost ([::1]:58758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krOK5-0007FD-Up for larch@yhetil.org; Mon, 21 Dec 2020 11:46:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krOJv-0007EH-Bh for guix-patches@gnu.org; Mon, 21 Dec 2020 11:46:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36605) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krOJu-0006u8-L3 for guix-patches@gnu.org; Mon, 21 Dec 2020 11:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krOJu-0006oJ-JQ for guix-patches@gnu.org; Mon, 21 Dec 2020 11:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45006] cuirass: Add remote build support. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Dec 2020 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45006 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 45006-submit@debbugs.gnu.org id=B45006.160856913726134 (code B ref 45006); Mon, 21 Dec 2020 16:46:02 +0000 Received: (at 45006) by debbugs.gnu.org; 21 Dec 2020 16:45:37 +0000 Received: from localhost ([127.0.0.1]:48151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krOJU-0006nS-QC for submit@debbugs.gnu.org; Mon, 21 Dec 2020 11:45:37 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:41989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krOJS-0006nC-FS for 45006@debbugs.gnu.org; Mon, 21 Dec 2020 11:45:35 -0500 Received: by mail-wr1-f50.google.com with SMTP id m5so11678724wrx.9 for <45006@debbugs.gnu.org>; Mon, 21 Dec 2020 08:45:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=vw0/pAtRCSer0g1gLDt3NqekypynCv88iwtBRrUDa3s=; b=c2u9F8tkxKXAC0SivIH8b7AzOsVZOiLi22RnCrpeymDTieDI+a4YttvT90cQeJxgZF uZSxXxhES2YWWmepEP+jmHPMUuDomaWTgZKZhsuUl9w45i/xzhc/JKe5dyrA+rlQxibl qMymNuVVSqyoEdD2W5bREY3o7T0vL1W3j6GLKlm4lJ8abiXwoky35vkNoIXr975SDyht mbNP89OOfdYwGLMyQYRFCGpY11ZWaRcB1RgIjeKEuU6kFbzPDvORa4fIMFSHLY9kWP9K A70ACZXgW+NCH0qgzwN+Hfoa2OgJPIDHAr8IBjwoH1RZP1zyWggx0/sT2fTv5DV3g4M5 /ezg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=vw0/pAtRCSer0g1gLDt3NqekypynCv88iwtBRrUDa3s=; b=IcS7sgE4yPJDaY6gnJWdw8xKhoFOWsV1P943KGoVDk6zxt3tqHNY/F4TAMRERgSIg6 5Rx/ggoTeVk9D3rUzLXBIt8nq8960EcGnCp02iQoyxq5OFxoHgo6VF7LXzv3tpnOHCLK XcuCBtlQbMJuyUs0hSdoUmBVcuzOWSi70SXRE79PyVlpK0JvvGr2B6laNIwKMNmxolYR SL+QzIqgF6iq5yz89Hr6ODtZF1x/yyey6u6Geq0QHQToRdxbIPdaM3nXCNn3UcF/sLai w4vjujveyufWmA4JzuoXUfTESbZq1Ws0/j31+X6cq9iY4Pt7VWYQ4nTyTshB+2fJhqAA X1mA== X-Gm-Message-State: AOAM532yhGkNLen4atBNZLPyo6Hsjl/d7BC14Q1e2gKw9WXg3Anl/+sC e+UclTq+w/il3uX8J2BaJlZ18KjlyIE= X-Google-Smtp-Source: ABdhPJwKN4xrctA5vKLwVuSN3ZURfoQRlwaIIHfqVBGuOQ8u7OsVWE2klawt0bS6Mct01ljXjICD/g== X-Received: by 2002:a5d:68ce:: with SMTP id p14mr19529845wrw.386.1608569128481; Mon, 21 Dec 2020 08:45:28 -0800 (PST) Received: from lili (oul69-1-82-232-2-3.fbx.proxad.net. [82.232.2.3]) by smtp.gmail.com with ESMTPSA id i18sm28166115wrp.74.2020.12.21.08.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 08:45:28 -0800 (PST) From: zimoun In-Reply-To: <87pn332o4o.fsf@gnu.org> References: <87czzso4dj.fsf@gnu.org> <86pn3s1mbu.fsf@gmail.com> <87wnxb2s6j.fsf@gnu.org> <86czz39rhg.fsf@gmail.com> <87pn332o4o.fsf@gnu.org> Date: Mon, 21 Dec 2020 17:41:21 +0100 Message-ID: <867dpb9kni.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45006@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.22 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=c2u9F8tk; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0BD2F9403CA X-Spam-Score: -1.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: JE8M/zV4znQr Hi Mathieu, Thanks for the explanations. On Mon, 21 Dec 2020 at 16:08, Mathieu Othacehe wrote: >> Where are these specification_priority and package_priority configured? > > specification_priority comes from the new "#:priority" field in the > Cuirass specification file and package_priority comes from the new > "#:priority" field in the job structure. > > specification_priority =E2=88=88 [0, 9] > package_priority =E2=88=88 [0, 9] > > =E2=87=92 build_priority =E2=88=88 [0, 99] > > where 0 is the maximal priority. When both specification_priority and > package_priority are unset, the priority defaults to 99. > > I'm currently using the following priorities: > > modular: 1 > guix-master:2 > staging:3 > core-updates:4 Is this the specification_priority? Where would the package_priority be defined? A file mapping the package name to the priority number? Something else? > The builds are picked according to their priority and then their > timestamp, so that the most recent builds are picked first when the > priorities are identical. First are high priority, whatever the timestamp is, right? > I don't have a strategy regarding package_priority yet. Why do you need a package_priority strategy? You only need a #:priority strategy and a formula to compute it with the relevant parameters, here specification_priority and package_priority. Or I miss something. In my understanding, the priority is given by something as: #:priority =3D f(specification_priority, package_priority, timestamp) where, for example, once a week the queue is reevaluated to increase the old; otherwise some could be blocked. >> This removes part of issues about GC on The Big Store, right? > > Yes, this should allow to garbage collect way more aggressively the > store on berlin and hopefully reduce the GC duration. Really cool! Cheers, simon