From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OP4uHU95u2GrAQAAgWs5BA (envelope-from ) for ; Thu, 16 Dec 2021 18:37:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oKTjGE95u2HhKAAAB5/wlQ (envelope-from ) for ; Thu, 16 Dec 2021 17:37: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 09969E804 for ; Thu, 16 Dec 2021 18:37:19 +0100 (CET) Received: from localhost ([::1]:36854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxugw-0001Y2-8T for larch@yhetil.org; Thu, 16 Dec 2021 12:37:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxugg-0001Tv-Nr for bug-guix@gnu.org; Thu, 16 Dec 2021 12:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxugg-0002J9-DF for bug-guix@gnu.org; Thu, 16 Dec 2021 12:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxugg-00063l-Ab for bug-guix@gnu.org; Thu, 16 Dec 2021 12:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52557: sporadic offload when --max-jobs=0 Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Dec 2021 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52557 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52557@debbugs.gnu.org X-Debbugs-Original-To: Bug Guix Received: via spool by submit@debbugs.gnu.org id=B.163967621723279 (code B ref -1); Thu, 16 Dec 2021 17:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Dec 2021 17:36:57 +0000 Received: from localhost ([127.0.0.1]:36597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxugb-00063P-72 for submit@debbugs.gnu.org; Thu, 16 Dec 2021 12:36:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:37750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxugY-00063H-Jh for submit@debbugs.gnu.org; Thu, 16 Dec 2021 12:36:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxugY-00010u-Av for bug-guix@gnu.org; Thu, 16 Dec 2021 12:36:54 -0500 Received: from [2a00:1450:4864:20::32f] (port=56198 helo=mail-wm1-x32f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxugV-0002Gc-OX for bug-guix@gnu.org; Thu, 16 Dec 2021 12:36:54 -0500 Received: by mail-wm1-x32f.google.com with SMTP id p18so19374531wmq.5 for ; Thu, 16 Dec 2021 09:36:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=AofJfyxubJWTlki1P391eNQsoKC4mW7eBk7C4XW66aI=; b=ThJx8hulxDSBN/JqlXfKDINuOffFyTmDOigJ0CUXNwAW8ZusBDJwh5T7H45edma2f9 7UBewQgdoTaLdAUbbCPe711t2pHLA5ANpXMDTz1onZr01XwdhbSig7TM9Ta2c9tjJZEe +GbHpYDhTHfaEcyUpJyNRkyF5RN/3kh95EwvgbKKlc67EH79eFCS2gG683iYD6WWU5dU L156UDoZi2yfj74dJYIusD2YJLypinm9NbckLc6SeX35TduuQ1WDwODrdNJOIzX51fWf VxZNV+fenWIyJNGJW5fY7/K4clV6h9/E4KgvrC/XcnUSN6j/hdA971uiqSSZoW6AVr/q VfQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=AofJfyxubJWTlki1P391eNQsoKC4mW7eBk7C4XW66aI=; b=WvTtHCB7ffwCtcjdjPgfaaNmtL5ZnHXvyHJhC3jlrCKh0mTsj5+K4l/Q4jBXlBudiX SUaeZs5CULxUtyWufUsSUwokJMwwUI5vF0i5JjC6ZVCNhtZImg0aIwNjHEKYi1kVnOnj IpI4G5EdGFo7fzfbudxr+upU56nKP+AStWGiUQGZdUDthc65CRa2qSjfB4FjSfYtDVuZ S7oFgMAjfm8uMY3FhDP4/tv1a46CQKeQUDN0OSERcHofV0cdtFwAv0xC9cwTp35x79wi TOTe4aF/Vor+PUynpQRIllgncuj+bllbewmfpT/UNYX4zUCoDfqv3lG3Y/I5UJAUvYk9 Wnvw== X-Gm-Message-State: AOAM531rSy9FJP3qHI+UhI9+7QfE038zvFtyB3odqGhNVrG4l37OGKIF vsRtzaVS+d7b647xQCcbCLhEyAF2r44= X-Google-Smtp-Source: ABdhPJyoKXWJ5Fozw5natNHdORm+6O8cfN7SCx3iqjfdXr6Wo+gINaEJeqoWz25vEGjwuXD6CYbkgQ== X-Received: by 2002:a05:600c:3d94:: with SMTP id bi20mr5990358wmb.83.1639676209844; Thu, 16 Dec 2021 09:36:49 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id i15sm10532539wmq.18.2021.12.16.09.36.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 09:36:49 -0800 (PST) From: zimoun Date: Thu, 16 Dec 2021 18:30:14 +0100 Message-ID: <86pmpwh2zd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32f (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1639676239; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=AofJfyxubJWTlki1P391eNQsoKC4mW7eBk7C4XW66aI=; b=mhEDCIr10QtgV8sRhlIdTuLZEJ9B4ac98r/qiKE5LKLULgH19dlYOmraXFNuuTuSgcPwlx UP1n+1682kCkD4vWyoVlyDRbMBCWDlP2NrV7+vF7AJc5AwBbIeDV1srQ7KV0i3Ikd87/hm /1Zah4pGCjGKiL8wN0yCODnaPM+OGCNJhsFZPsil0tycIBy1ApXj7NvrFmMqNmBaYbtyjK uv2ArAWS1+QqUB8VdISQWy41672L/crVA2TsZ08pi4rmbEVN7P4Nwlp2q6iakHiKNPQdkP HGpEYD8QNxWFMJOtPk0AhNk7/1/6wzteOL6nB8NYLD+jJ5kfAdH7RKunqE/dgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639676239; a=rsa-sha256; cv=none; b=T4uRr6GKPw2wLgdm95zk594agN70vDcfNrGQu2tH6pLfUhzZ9CFsyNF9hd49b9GTiBaxCy b11GvCNbIP856wagQTlkhN24CQS1iWHYwnJF1geP3ZXSrmSi/V555Quqf5jfNs0HmcbvRr li2DBAxTsX1odb1Ic5bJXxSzSOrP7fTJn/NOXItBu0LWCvcvLJzi3ZdOBd6VLwlMbCVtZh H5YrdRWkWiPWFOg4ArDUpedZWNQXAGIuicIqgQb0giS6dAaGj6039hYD/s20RM/HpLww9q QMp3HNalHEy8mFgP/mhFpDAGkNZqyHf+X069C7KB1I89Ar4Ix3KqSOFcbpQP8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ThJx8hul; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ThJx8hul; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 09969E804 X-Spam-Score: -3.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: TaFM7y+hE1px Hi, Although the daemon is configured with --max-jobs=3D0, it sporadically builds on master machine instead of offload or fail. Offload seems to work: --8<---------------cut here---------------start------------->8--- $ guix offload status guix offload: getting status of 1 build machines defined in '/etc/guix/mach= ines.scm'... x.x.x.x kernel: Linux 5.4.0-26-generic architecture: x86_64 host name: jack-Precision-7820-Tower normalized load: 0.00 free disk space: 2383907.54 MiB time difference: 0 s $ guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'.= .. guix offload: Guix is usable on 'x.x.x.x' (test returned "/gnu/store/883yjk= l46dxw9mzykykmbs0yzwyxm17z-test") guix offload: 'x.x.x.x' is running GNU Guile 3.0.7 guix offload: sending 1 store item (0 MiB) to 'x.x.x.x'... exporting path `/gnu/store/ala5gqgj5agzxilvccsm3qqzqaiydwan-export-test' guix offload: 'x.x.x.x' successfully imported '/gnu/store/ala5gqgj5agzxilvc= csm3qqzqaiydwan-export-test' retrieving 1 store item from 'x.x.x.x'... guix offload: successfully imported '/gnu/store/l23vb8ghypysf4ga0y27d8i87gi= gx89l-import-test' from 'x.x.x.x' --8<---------------cut here---------------end--------------->8--- Then, master daemon is configured with --max-jobs=3D0, --8<---------------cut here---------------start------------->8--- $ ps aux | grep guix-daemon root 346541 0.0 0.0 12124 5496 ? Ss 13:55 0:00 guix-dae= mon --build-users-group=3Dguixbuild --max-jobs=3D0 simon 350521 0.0 0.0 6184 656 pts/1 S+ 14:01 0:00 grep gui= x-daemon --8<---------------cut here---------------end--------------->8--- Last, a common build works=E2=80=A6 --8<---------------cut here---------------start------------->8--- $ guix build git /gnu/store/lyv420lrfm5j4ixknbhs294k5f05qn1s-git-2.34.0-credential-libsecret /gnu/store/pj11pm007b2h6yz1b38q1l0kpxmcpcjj-git-2.34.0-credential-netrc /gnu/store/8wyjvrnsrviy1mvhvgy4nm6sg0brsz2b-git-2.34.0-gui /gnu/store/rvppl0bs1ghhhdfszkbz73k1dc70807l-git-2.34.0 /gnu/store/qff9ispj7bkpv9k6yp2gz689afqd0zpa-git-2.34.0-send-email /gnu/store/llhzwa22dns5qxwqppqg7c7sa5lr6r3j-git-2.34.0-subtree /gnu/store/ilgcyafxssrsn6d4aw7n8h8ycjla4vx7-git-2.34.0-svn --8<---------------cut here---------------end--------------->8--- =E2=80=A6but that, --8<---------------cut here---------------start------------->8--- $ guix build git --no-grafts --check --8<---------------cut here---------------end--------------->8--- builds sometimes locally, sometimes not. The build had been once offloaded, but then not. For an example of offload [1]. I expect to always offload or fail because --max-jobs=3D0. Cheers, simon 1: =20=20