From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 16 18:06:36 2020 Received: (at 42371) by debbugs.gnu.org; 16 Jul 2020 22:06:36 +0000 Received: from localhost ([127.0.0.1]:56111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwC1T-00016r-RZ for submit@debbugs.gnu.org; Thu, 16 Jul 2020 18:06:36 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:33740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwC1Q-00016c-3W for 42371@debbugs.gnu.org; Thu, 16 Jul 2020 18:06:33 -0400 Received: by mail-qt1-f173.google.com with SMTP id 6so6232563qtt.0 for <42371@debbugs.gnu.org>; Thu, 16 Jul 2020 15:06:32 -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:content-transfer-encoding; bh=68T8V5iYMfKSOid3SwSXyfdpwDnqQXLb8E128TdTlyM=; b=jSB1d9nGsUqtt4z6bWZic4FMSH1zyIX0Lkks5+UxSZwB95fs0dego/DSiwC7tZNCGm lz9+Tn4X6o0iT/XFJ32+2sqGRfDv2nYrjNxbWfy9OM6c6KPN4cXlOFeZTg5pkivga4NQ jCEs76RJelbAqlTjSdD0faw+OdjG0A0zunwLSEN9sdZrtROQg/9vUrQHpPvLHyzkLuOM x1AeI+bvtQGXexZQLTW2nwqdvtNaUVdCnvwaFuCY5NDcNSuoxCpMOTHaVo/DUuVqSwQp dTDaPoWIkMbT5eII9WstM7R1sH36oZATFbgN2oEX1xgzJ8Rn7f99aqwLjU79Z+wlu3Aw DHBw== 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:content-transfer-encoding; bh=68T8V5iYMfKSOid3SwSXyfdpwDnqQXLb8E128TdTlyM=; b=pz0a/evJ9wQYQuKyC1zDgJtGzlE4eyIpgXn8c6WXhpiAojoMvS8voxFtgWGnQh56my znNlc5MEnMDgBeHax0HZmpU6aLwv2UCM6jMEJg24J0CpP1IC1f/GfKZJFVcXez11FDG5 XFRdVukrIvb+uYiWlHebunWn99e60BvoN0xrU3TGmxUbr3e+pxL/wDNxsLR+OgnbHRnp mjnKZF6Wnencla3cXYU9PQhQK1uM4L4/cwgG+akGDx2Zk+H8Sl7buh+ZYhlSRK7eU6aa G9TilnD5ptzaWUbJafvVA32UsTsdBqL4kgKGZYrucuEsO1V8EQUZkD6f8GihzROdkcSh 1vMA== X-Gm-Message-State: AOAM532zYiQLPfLcmiLm+xM5/2JbOV5oJyFxlW8QWbY3WWUtwVzrN9dp nyl7GJuFRZkMqwaFlEZ6bNvrh2by X-Google-Smtp-Source: ABdhPJytRkXQYNYSmEbiSor0C+qz1GLGmwrfUL4dEO1QyUnOIU2sudIO88dhjZ6mYQAdR+uUn6FbrQ== X-Received: by 2002:ac8:7454:: with SMTP id h20mr7227370qtr.84.1594937186204; Thu, 16 Jul 2020 15:06:26 -0700 (PDT) Received: from hurd (dsl-149-149.b2b2c.ca. [66.158.149.149]) by smtp.gmail.com with ESMTPSA id y23sm8644151qkj.25.2020.07.16.15.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 15:06:25 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#42371: Grafts max out build slots without being queued References: <878sfkkb8m.fsf@gmail.com> <871rlb7ogs.fsf@gnu.org> Date: Thu, 16 Jul 2020 18:06:24 -0400 In-Reply-To: <871rlb7ogs.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 16 Jul 2020 12:18:11 +0200") Message-ID: <87tuy7i07z.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42371 Cc: 42371@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: -1.0 (-) Hi Ludo :-) Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> While working on ruby-asciidoctor-pdf, the following command failed >> because of maxing out build users: >> >> ./pre-inst-env guix build --quiet --keep-going --check >> ruby_version@1.0.2 gnome-shell-extension-gsconnect@33 >> numix-gtk-theme@2.6.7 arc-theme@20190917 gnome@3.34.2 >> ruby-fakefs@1.2.2 ruby-protobuf@3.10.3 ruby-fast-gettext@2.0.3 >> ruby-sass-rails@5.0.7 mailcatcher@0.7.1 ruby-rspec-its@1.3.0 >> warzone2100@3.4.0 keepassxc@2.6.0 wsjtx@2.2.2 js8call@2.2.0 >> ruby-yard-with-tests@0.9.25 ruby-asciidoctor-pdf@1.5.3-1.f25ea78 >> ruby-web-console@3.7.0 ruby-autoprefixer-rails@9.4.7 >> ruby-jekyll-paginate-v2@2.0.0 ruby-solargraph@0.36.0 --max-jobs=3D1 >> The following derivations will be built: >> /gnu/store/w5qba9nzswv7ysrlxfwcqdvrf9vsgbk6-ruby-jekyll-paginate-v2-2= .0.0.drv >> /gnu/store/4r1ziw3cb5n5jgknd1jfsvdl46cz56f9-ruby-autoprefixer-rails-9= .4.7.drv >> /gnu/store/2f674244hhb399p86z15zgv246sj78gr-ruby-web-console-3.7.0.drv >> /gnu/store/sqy6f63vzgbyk6jg1zigxvks9g365wfs-ruby-rspec-its-1.3.0.drv >> /gnu/store/zz34dh2q37r21r2d26k7z5rpryysc3km-ruby-sass-rails-5.0.7.drv >> /gnu/store/62nlbfwd2jf01nm0p0wlc9sgvn5yp6gc-ruby-fakefs-1.2.2.drv >> /gnu/store/pjdh08jh7pxlfm4dcz86bg5xqbjyf4lm-gnome-3.34.2.drv >> /gnu/store/xqdvar6gmkz28003md4w9c1mqvg0slas-arc-theme-20190917.drv >> /gnu/store/qwmj9b493ays4dvgkmniq61fnxg3claw-numix-gtk-theme-2.6.7.drv >> /gnu/store/s112ayw6qg86y7j45r5yslfl151ngvgn-ruby_version-1.0.2.drv >> The following grafts will be made: >> /gnu/store/ww8blyc1nkf788jjb3anh22dylibvbah-ruby-solargraph-0.36.0.drv >> /gnu/store/c7bfyqfq8d7imgy8il7wzqpx3qpx4zpw-ruby-asciidoctor-pdf-1.5.= 3-1.f25ea78.drv >> /gnu/store/cf501w2kdgw6k2gv6n24ikhzww8f51x7-ruby-yard-with-tests-0.9.= 25.drv >> /gnu/store/da8hhcaj20z06f2kww0sg4y24ma034dy-js8call-2.2.0.drv >> /gnu/store/zn1jkg86fpji54s0pa0lfnf1dy00s2nh-wsjtx-2.2.2.drv >> /gnu/store/77g250mf14rskilpsggn070y4fjrbngx-keepassxc-2.6.0.drv >> /gnu/store/5k393vfm5qw442ya7v061q5fmjvhhcs5-warzone2100-3.4.0.drv >> /gnu/store/5d4h76qsr0rmbkn2c0zilyjr7mpzk5pd-mailcatcher-0.7.1.drv >> /gnu/store/mxm64sm569fyhdmxh6jlvdl18fwdb6f6-ruby-fast-gettext-2.0.3.d= rv >> /gnu/store/wglga3r1j6x87hqksrh5d1ra70kl729l-ruby-protobuf-3.10.3.drv >> /gnu/store/73nw9dxmmp8jykhmzwdpc3wk7mn81yal-gnome-shell-extension-gsc= onnect-33.drv >> guix build: error: all build users are currently in use; consider >> creating additional users and adding them to the `guixbuild' group > > Presumably here it=E2=80=99s running one job at a time, so I don=E2=80=99= t think it can > end up using more than one build user. > > What does =E2=80=9Cguix processes=E2=80=9D return when that happens? Cou= ld it be that > some other Guix clients are running? > > Thanks, > Ludo=E2=80=99. So, I'm afraid this isn't very useful, but: for the most part of the process, I had something like: --8<---------------cut here---------------start------------->8--- SessionPID: 12549 ClientPID: 12540 ClientCommand: /gnu/store/0w76khfspfy8qmcpjya41chj3bgfcy0k-guile-3.0.4/bin/= guile --no-auto-compile /home/maxim/.config/guix/current/bin/guix environme= nt --pure gcc-toolchain@10 --ad-hoc coreutils strace the-silver-searcher fi= ndutils SessionPID: 1876 ClientPID: 1868 ClientCommand: /gnu/store/6ms9q743slbyx4zj7p97sqrwx8x3dgkm-profile/bin/guil= e \ /home/maxim/src/guix/scripts/guix build --no-grafts --max-jobs=3D1 --qu= iet --keep-going --check ruby_version@1.0.2 gnome-shell-extension-gsconnect= @33 numix-gtk-theme@2.6.7 arc-theme@20190917 gnome@3.34.2 ruby-fakefs@1.2.2= ruby-protobuf@3.10.3 ruby-fast-gettext@2.0.3 ruby-sass-rails@5.0.7 mailcat= cher@0.7.1 ruby-rspec-its@1.3.0 warzone2100@3.4.0 keepassxc@2.6.0 wsjtx@2.2= .2 js8call@2.2.0 ruby-yard-with-tests@0.9.25 ruby-asciidoctor-pdf@1.5.3-1.f= 25ea78 ruby-web-console@3.7.0 ruby-autoprefixer-rails@9.4.7 ruby-jekyll-pag= inate-v2@2.0.0 ruby-solargraph@0.36.0 SessionPID: 447 ClientPID: 441 ClientCommand: /gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2/bin/= guile \ /gnu/store/3f4xln2mii6cmc4c6x9138wl0bsh0fs7-guix-1.1.0-7.d445c30/bi= n/.guix-real publish -u guix-publish -p 80 -C gzip:3 --nar-path=3Dnar --lis= ten=3D0.0.0.0 SessionPID: 7060 ClientPID: 7039 ClientCommand: /gnu/store/0w76khfspfy8qmcpjya41chj3bgfcy0k-guile-3.0.4/bin/= guile --no-auto-compile /home/maxim/.config/guix/current/bin/guix environme= nt guix --8<---------------cut here---------------end--------------->8--- And after the same error was printed (guix build: error: all build users are currently in use; consider creating additional users and adding them to the `guixbuild' group), then I had: --8<---------------cut here---------------start------------->8--- SessionPID: 12549 ClientPID: 12540 ClientCommand: /gnu/store/0w76khfspfy8qmcpjya41chj3bgfcy0k-guile-3.0.4/bin/= guile --no-auto-compile /home/maxim/.config/guix/current/bin/guix environme= nt --pure gcc-toolchain@10 --ad-hoc coreutils strace the-silver-searcher fi= ndutils SessionPID: 447 ClientPID: 441 ClientCommand: /gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2/bin/= guile \ /gnu/store/3f4xln2mii6cmc4c6x9138wl0bsh0fs7-guix-1.1.0-7.d445c30/bi= n/.guix-real publish -u guix-publish -p 80 -C gzip:3 --nar-path=3Dnar --lis= ten=3D0.0.0.0 SessionPID: 7060 ClientPID: 7039 ClientCommand: /gnu/store/0w76khfspfy8qmcpjya41chj3bgfcy0k-guile-3.0.4/bin/= guile --no-auto-compile /home/maxim/.config/guix/current/bin/guix environme= nt guix --8<---------------cut here---------------end--------------->8--- I didn't see the amount of build process going higher than than, monitoring it every second. I've pushed the branch I'm using to test locally here [0], hoping it'll help to reproduce the issue somewhere else. The command to run on this branch is: ./pre-inst-env guix build --no-grafts --max-jobs=3D1 --quiet --keep-going --check ruby_version@1.0.2 gnome-shell-extension-gsconnect@33 numix-gtk-theme@2.6.7 arc-theme@20190917 gnome@3.34.2 ruby-fakefs@1.2.2 ruby-protobuf@3.10.3 ruby-fast-gettext@2.0.3 ruby-sass-rails@5.0.7 mailcatcher@0.7.1 ruby-rspec-its@1.3.0 warzone2100@3.4.0 keepassxc@2.6.0 wsjtx@2.2.2 js8call@2.2.0 ruby-yard-with-tests@0.9.25 ruby-asciidoctor-pdf@1.5.3-1.f25ea78 ruby-web-console@3.7.0 ruby-autoprefixer-rails@9.4.7 ruby-jekyll-paginate-v2@2.0.0 ruby-solargraph@0.36.0 The bug is only triggered when I also pass the "--check" option. So you'll probably have to build the stack once without "--check", then a second time with "--check" passed to trigger the issue (if it's reproducible). Thank you! Maxim [0] https://gitlab.com/Apteryks/guix/-/tree/add-ruby-asciidoctor-pdf