From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 04 09:51:38 2017 Received: (at 27386) by debbugs.gnu.org; 4 Jul 2017 13:51:38 +0000 Received: from localhost ([127.0.0.1]:51283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSOEs-0003D8-8K for submit@debbugs.gnu.org; Tue, 04 Jul 2017 09:51:38 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:35602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSOEq-0003Cw-Iq for 27386@debbugs.gnu.org; Tue, 04 Jul 2017 09:51:37 -0400 Received: by mail-lf0-f53.google.com with SMTP id b207so119234871lfg.2 for <27386@debbugs.gnu.org>; Tue, 04 Jul 2017 06:51:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Z//At1i4K5wi1oNCD2ZyTf1M5/vLVSoL4P4QtBlrjew=; b=b/iJhObmTkqwLRRSOyPchrRG3k/NDMBp//hnQgZZABY6T7a2zrxgLg9O/v6CCCBSdg AZd1TZv3QYcGMM1ls/0Jrm0IKOwSiGkCJwWp0SYc3/ziPufF+fPMBY0fvi1eJtMSeSWm MNVd5Hui2q/iNO4PYEFSlx2HaWbKuHb2k4f5lqaR48pEeuXcVDoiEc3UVZkWQJbnQ9H2 X/hb2dziNeZehYy819JHXY/X1+TMvSHhrVTal5h5YfeQhqGSABFevhO43vNyQ9yqEVhz rhBaeiQDrXkH8uYTjHxVIdkrTeVstDM1v/AO/yNwC8Qco+bdNCbTkjhIw4SVs4nQD2fu kJpQ== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Z//At1i4K5wi1oNCD2ZyTf1M5/vLVSoL4P4QtBlrjew=; b=ItKpiDQ4mzNbU44ys8dXOHSF/s+R1xpEWhVBX5ZWWMCIcb23842WL2hFwb5y0D/cAF e8kIMtWgL+IDwq5Pd48LA+SawiXKBLvLA6BMpqHZs0G4Zc+wNjImLkrlG/MpXYAtqtqU SZvmCbkUhq/38TDR8pwVYsgKLhCg0wchAAQLQS9X7p3ZChHazSv5C9DqgLvLTN6P4hDD atuhlUBzeCON5wNza7IpH5dNKj7PLsoncd/4JPaSwYmPTuakeClo7cihkRjGR7FEgcKq KRMU3dVvYgzbFPfDv1b3h70FyOyl25P8/WGd9zEUuRj8XPpaYbt+bzRxwnD+eKqfkfTn E6uw== X-Gm-Message-State: AIVw112CYKxJl+i1RcvQ+w5SqVX2qoP7CcgQbPTTPxbIzUgWuA7WBldl D7gcMhp+uksn+zpj X-Received: by 10.46.97.9 with SMTP id v9mr5310019ljb.117.1499176290201; Tue, 04 Jul 2017 06:51:30 -0700 (PDT) Received: from clover (ppp78-37-129-240.pppoe.avangarddsl.ru. [78.37.129.240]) by smtp.gmail.com with ESMTPSA id m28sm190804ljb.15.2017.07.04.06.51.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Jul 2017 06:51:29 -0700 (PDT) From: Oleg Pykhalov To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#27386: offloading documentation and env References: <20170615223456.z5w2oaxifbah2ak2@abyayala> <87podq7cae.fsf@gnu.org> <20170626211511.ox5smekycmqz2vc3@abyayala> <87injh5z3h.fsf@gnu.org> <20170627145418.iq54zrhfzbr7vdtn@abyayala> <87d19p43wg.fsf@gnu.org> <20170627203136.rvl4dr6d3byzjein@abyayala> <8737ak1pji.fsf@gnu.org> <20170628114530.ca43xv4guqoa4mtv@abyayala> <87k23vzsyb.fsf@gnu.org> <20170628223636.h3k24txegftwmlmk@abyayala> <87podnovvh.fsf@gnu.org> Date: Tue, 04 Jul 2017 16:51:12 +0300 In-Reply-To: <87podnovvh.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 29 Jun 2017 13:50:58 +0200") Message-ID: <87lgo41fan.fsf@clover.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 27386 Cc: 27386@debbugs.gnu.org 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: 0.5 (/) Hi, I'm trying to setup offloading too. Just for the report I had an issue after setting up `%load-path` for guile with `.bashrc` snippet. It seems that also required call `guix build` with `--substitute-urls=HOST` because without it I get `acquired build slot` loop like in https://lists.gnu.org/archive/html/guix-devel/2015-05/msg00035.html ~/.bashrc on magnolia.local if [ -n "$SSH_CLIENT" -a "`type -P guile`" ] then source /etc/profile fi natsu@clover ~$ guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'... guix offload: 'magnolia.local' is running guile (GNU Guile) 2.2.2 guix offload: Guix is usable on 'magnolia.local' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") sending 1 store item to 'magnolia.local'... exporting path `/gnu/store/j1xdys0rk60czdfv9riwykdh7iqdhszi-export-test' guix offload: 'magnolia.local' successfully imported '/gnu/store/j1xdys0rk60czdfv9riwykdh7iqdhszi-export-test' retrieving 1 store item from 'magnolia.local'... guix offload: successfully imported '/gnu/store/ij4z815jpvrsmnf2awvmfw8w44vh7ndw-import-test' from 'magnolia.local' natsu@clover ~$ guix build blender substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' waiting for locks or build slots... process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' C-c C-c natsu@clover ~$ ssh magnolia.local cat /proc/loadavg 0.03 0.01 0.00 1/186 2660 natsu@clover ~$ ssh magnolia.local guix package -I gui -p /run/current-system/profile guile-ssh 0.11.0 out /gnu/store/pzhi01qhc19v5xzfgjbqybnbsd7inicx-guile-ssh-0.11.0 guix 0.13.0-2.de9d8f0 out /gnu/store/nrd0v38d61l8y16vqkb1gws0bw45q885-guix-0.13.0-2.de9d8f0 guile 2.2.2 out /gnu/store/1pzfigry5bnh3n146w0ib77vkd2g6jdc-guile-2.2.2 emacs-guix 0.3.1 out /gnu/store/3ahyhf5fp6jvvln0xw0v1bjka1z6i69m-emacs-guix-0.3.1 natsu@clover ~$ guix build --substitute-urls='http://magnolia.local https://mirror.hydra.gnu.org https://hydra.gnu.org' blender substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'http://magnolia.local'... 100.0% substitute: updating list of substitutes from 'http://magnolia.local'... 100.0% substitute: updating list of substitutes from 'http://magnolia.local'... 100.0% updating list of substitutes from 'http://magnolia.local'... 100.0% substitute: updating list of substitutes from 'http://magnolia.local'... 100.0% substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'http://magnolia.local'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% updating list of substitutes from 'https://hydra.gnu.org'... 100.0% The following derivations will be built: /gnu/store/gkxd3c7pncy0pw8gz6b4w2h4yna5b0qr-blender-2.78a.drv /gnu/store/4lcmay4nyk9j3v86wpvvncmy1qkzb6lz-fftw-3.3.5.drv /gnu/store/as3s0ip004kjnkppkp1i56gaakhzcxq1-openimageio-1.6.15.drv /gnu/store/v9m0icyrwdbn6wq5bncpz5cw7ng3p4dm-ffmpeg-2.8.12.drv /gnu/store/yw10vy3i1anmwlgg38hwjn2wxica03cx-jemalloc-4.5.0.drv 51.4 MB will be downloaded: /gnu/store/78dbbi0hqx7irsqcmjzk1xrfh1q8r5ln-jemalloc-4.5.0 /gnu/store/885wcx1sxbqg9f40900xzjpgm9c4lb4i-blender-2.78a substitute: updating list of substitutes from 'http://magnolia.local'... 100.0% substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'http://magnolia.local'... 100.0% substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'http://magnolia.local'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0% @ substituter-started /gnu/store/78dbbi0hqx7irsqcmjzk1xrfh1q8r5ln-jemalloc-4.5.0 /gnu/store/nrd0v38d61l8y16vqkb1gws0bw45q885-guix-0.13.0-2.de9d8f0/libexec/guix/substitute updating list of substitutes from 'https://hydra.gnu.org'... 100.0% Downloading https://hydra.gnu.org/guix/nar/gzip/78dbbi0hqx7irsqcmjzk1xrfh1q8r5ln-jemalloc-4.5.0... jemalloc-4.5.0 645KiB 758KiB/s 00:01 [####################] 100.0% @ substituter-succeeded /gnu/store/78dbbi0hqx7irsqcmjzk1xrfh1q8r5ln-jemalloc-4.5.0 @ build-started /gnu/store/v9m0icyrwdbn6wq5bncpz5cw7ng3p4dm-ffmpeg-2.8.12.drv - x86_64-linux /var/log/guix/drvs/v9//m0icyrwdbn6wq5bncpz5cw7ng3p4dm-ffmpeg-2.8.12.drv.bz2 grafting '/gnu/store/sgxg0wprb4bqlnkdfk46rvhq1a0xzfvx-ffmpeg-2.8.12' -> '/gnu/store/ghjryqmclglr8g4jiyyj21g7vdzzj40n-ffmpeg-2.8.12'... @ build-succeeded /gnu/store/v9m0icyrwdbn6wq5bncpz5cw7ng3p4dm-ffmpeg-2.8.12.drv - @ substituter-started /gnu/store/885wcx1sxbqg9f40900xzjpgm9c4lb4i-blender-2.78a /gnu/store/nrd0v38d61l8y16vqkb1gws0bw45q885-guix-0.13.0-2.de9d8f0/libexec/guix/substitute Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/885wcx1sxbqg9f40900xzjpgm9c4lb4i-blender-2.78a... blender-2.78a 48.4MiB 3.8MiB/s 00:13 [####################] 100.0% @ substituter-succeeded /gnu/store/885wcx1sxbqg9f40900xzjpgm9c4lb4i-blender-2.78a @ build-started /gnu/store/4lcmay4nyk9j3v86wpvvncmy1qkzb6lz-fftw-3.3.5.drv - x86_64-linux /var/log/guix/drvs/4l//cmay4nyk9j3v86wpvvncmy1qkzb6lz-fftw-3.3.5.drv.bz2 grafting '/gnu/store/j3pja3bjg7jha04dzhhkb588y3765fql-fftw-3.3.5' -> '/gnu/store/rq8lav2nqxiid8i1v5bml1rq2lfj0lqb-fftw-3.3.5'... @ build-succeeded /gnu/store/4lcmay4nyk9j3v86wpvvncmy1qkzb6lz-fftw-3.3.5.drv - @ build-started /gnu/store/yw10vy3i1anmwlgg38hwjn2wxica03cx-jemalloc-4.5.0.drv - x86_64-linux /var/log/guix/drvs/yw//10vy3i1anmwlgg38hwjn2wxica03cx-jemalloc-4.5.0.drv.bz2 grafting '/gnu/store/78dbbi0hqx7irsqcmjzk1xrfh1q8r5ln-jemalloc-4.5.0' -> '/gnu/store/0r54ndf05vigzanx035m78jkackg8z54-jemalloc-4.5.0'... @ build-succeeded /gnu/store/yw10vy3i1anmwlgg38hwjn2wxica03cx-jemalloc-4.5.0.drv - @ build-started /gnu/store/as3s0ip004kjnkppkp1i56gaakhzcxq1-openimageio-1.6.15.drv - x86_64-linux /var/log/guix/drvs/as//3s0ip004kjnkppkp1i56gaakhzcxq1-openimageio-1.6.15.drv.bz2 grafting '/gnu/store/ig69hi5lq1zx68hhp6vxkk83bp507ppv-openimageio-1.6.15' -> '/gnu/store/fyi9602hv2wjgcj55qw6f0i6sam854m8-openimageio-1.6.15'... @ build-succeeded /gnu/store/as3s0ip004kjnkppkp1i56gaakhzcxq1-openimageio-1.6.15.drv - @ build-started /gnu/store/gkxd3c7pncy0pw8gz6b4w2h4yna5b0qr-blender-2.78a.drv - x86_64-linux /var/log/guix/drvs/gk//xd3c7pncy0pw8gz6b4w2h4yna5b0qr-blender-2.78a.drv.bz2 grafting '/gnu/store/885wcx1sxbqg9f40900xzjpgm9c4lb4i-blender-2.78a' -> '/gnu/store/1q7y82f5af720na9zgsdqm0vyzgszkfb-blender-2.78a'... @ build-succeeded /gnu/store/gkxd3c7pncy0pw8gz6b4w2h4yna5b0qr-blender-2.78a.drv - /gnu/store/1q7y82f5af720na9zgsdqm0vyzgszkfb-blender-2.78a