From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IMyVN/+l4F8wJgAA0tVLHw (envelope-from ) for ; Mon, 21 Dec 2020 13:41:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wHpVM/+l4F+1dwAAbx9fmQ (envelope-from ) for ; Mon, 21 Dec 2020 13:41:19 +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 992419403A2 for ; Mon, 21 Dec 2020 13:41:19 +0000 (UTC) Received: from localhost ([::1]:44290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krLR8-0004ln-IG for larch@yhetil.org; Mon, 21 Dec 2020 08:41:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krLQs-0004ld-Sd for guix-patches@gnu.org; Mon, 21 Dec 2020 08:41:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krLQs-00021b-KO for guix-patches@gnu.org; Mon, 21 Dec 2020 08:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krLQs-0006PM-IJ for guix-patches@gnu.org; Mon, 21 Dec 2020 08:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45006] cuirass: Add remote build support. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Dec 2020 13:41: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: zimoun Received: via spool by 45006-submit@debbugs.gnu.org id=B45006.160855805824608 (code B ref 45006); Mon, 21 Dec 2020 13:41:02 +0000 Received: (at 45006) by debbugs.gnu.org; 21 Dec 2020 13:40:58 +0000 Received: from localhost ([127.0.0.1]:46530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krLQi-0006OU-9w for submit@debbugs.gnu.org; Mon, 21 Dec 2020 08:40:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krLQa-0006NZ-5p for 45006@debbugs.gnu.org; Mon, 21 Dec 2020 08:40:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38000) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krLQU-0001so-Ul; Mon, 21 Dec 2020 08:40:38 -0500 Received: from [2a01:e0a:19b:d9a0:ac2a:8ddd:1dd0:ed79] (port=54484 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1krLQT-00063y-Q1; Mon, 21 Dec 2020 08:40:38 -0500 From: Mathieu Othacehe References: <87czzso4dj.fsf@gnu.org> <86pn3s1mbu.fsf@gmail.com> Date: Mon, 21 Dec 2020 14:40:36 +0100 In-Reply-To: <86pn3s1mbu.fsf@gmail.com> (zimoun's message of "Wed, 02 Dec 2020 12:25:41 +0100") Message-ID: <87wnxb2s6j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: -2.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 992419403A2 X-Spam-Score: -2.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: Sdla/X8RX43n Hello, There's a new variant of this patch on the wip-offload branch of Cuirass. Quite a few things have changed since the first version: * The "remote-server" no longer communicates directly with Cuirass, all the exchanges are done through the database. * The "remote-worker" now honors "timeout" and "max-silent-time" package parameters. * I have added build priorities support. The build priority is computed this way: build_priority = specification_priority * 10 + package_priority * There's a new "worker" table that stores what workers are currently building, and an associated "/workers" page. * The "remote-worker" can connect to a "remote-server" specified on the command line. * The substitutes are downloaded and stored in the publish cache directory. I have deployed another Cuirass instance on berlin using this mechanism and workers on all build machines. It's been building master/core-updated/staging/modular specifications since a few days for x86_64-linux and i686-linux architectures. The results are really better than using the current implementation and it should be possible to transition to this new architecture soon. Thanks, Mathieu