From unknown Sat Jun 21 03:23:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52557 <52557@debbugs.gnu.org> To: bug#52557 <52557@debbugs.gnu.org> Subject: Status: sporadic offload when --max-jobs=0 Reply-To: bug#52557 <52557@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:23:43 +0000 retitle 52557 sporadic offload when --max-jobs=3D0 reassign 52557 guix submitter 52557 zimoun severity 52557 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 16 12:36:57 2021 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 To: Bug Guix Subject: sporadic offload when --max-jobs=0 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-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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