GNU logs - #58205, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#58205: reconfiguration stuck unless using '--no-grafts'
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 30 Sep 2022 21:19:02 +0000
Resent-Message-ID: <handler.58205.B.166457271319787 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 58205
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 58205 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix <bug-guix@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.166457271319787
          (code B ref -1); Fri, 30 Sep 2022 21:19:02 +0000
Received: (at submit) by debbugs.gnu.org; 30 Sep 2022 21:18:33 +0000
Received: from localhost ([127.0.0.1]:43057 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oeNOw-000591-HQ
	for submit <at> debbugs.gnu.org; Fri, 30 Sep 2022 17:18:33 -0400
Received: from lists.gnu.org ([209.51.188.17]:58844)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1oeNOq-00058n-Tx
 for submit <at> debbugs.gnu.org; Fri, 30 Sep 2022 17:18:28 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49474)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1oeNOq-0004fV-4A
 for bug-guix@HIDDEN; Fri, 30 Sep 2022 17:18:24 -0400
Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]:39868)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1oeNOm-000405-Vh
 for bug-guix@HIDDEN; Fri, 30 Sep 2022 17:18:22 -0400
Received: by mail-qt1-x82d.google.com with SMTP id s18so3444584qtx.6
 for <bug-guix@HIDDEN>; Fri, 30 Sep 2022 14:18:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date; bh=NuacUxQcvAHkgfaIh7d1HfAuBiskVShFJ3q08qAAlMU=;
 b=NxHdbbZTcWJMXvo8AjSteDnzTZX77XdVxSfpUcZPvhlqfwcTECBJHya0NJlRe4+c0f
 HGqRTuq+bZo2d74WSIqR9FNfr96sIua0u5KvFT7R54XXhzPvPUFEpU3PW9zz2qZPSks8
 lvNJR2+jiaEIB8RTvVRXJKoVwmVnd7Z3KRtwQyAHgR4D24ujobUCbQaSj0RPaTavKtpG
 74tKnPBW++bDfwSZTqpKRIiXG3mXwWlKZRIDPXoT19E7kyFsdU+WZdiLo5UroU5OhIn4
 L37dRrY0ghZRtxM7Z3r1beDhTyT/H55RoKQTsUG9hfviPGV4xaQcKJaqppjKCRBHSwKH
 ja8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date;
 bh=NuacUxQcvAHkgfaIh7d1HfAuBiskVShFJ3q08qAAlMU=;
 b=2Ncwoc83Lh5CC/yj59p8FuflSoLIaP6lVkJtcYfC48WdT/te2IOd09Sa/K4kbrVVCH
 SfqWEQ16zvhpYZNshEijBsx11PeuRkeBj+mu8g2NsQ+Svl0UjfbXhEGZd2Dgdt4kf4lk
 v/SH4NPj6yLhj3fYCcC26tjlUspVkkWVN+Gyx9/WrTYw7GnoP47GFCxxKGlie4/sXX/1
 kXFDlAkaCHMpqy+vl25GxMA46zgNsRj9NW6aNECqOVY1R+8x1rinzubXUIA5+qKyFtVV
 gI/JBWqbgLxhP1FPHu3UBXnVjlTuP7yqb/F1tc0wRm9l3TuBVIygwqYLy0yqPmmZJzYL
 FFtw==
X-Gm-Message-State: ACrzQf0/j+x6btlXT5SFwaTl14FEzv4S+LlHPKl7MtwhErFtFox7aCwd
 Q5gTtcPqf+75Zr49sZx/6SB0eOs+XKs=
X-Google-Smtp-Source: AMsMyM4ujRcYq2lZijG1vOFuEHbCb+z0uVPS0B0+GFRWs1BY4Q77aRlJ+DCB1ulzCeO99PfTWoJ/fA==
X-Received: by 2002:a05:622a:34b:b0:35d:4322:af30 with SMTP id
 r11-20020a05622a034b00b0035d4322af30mr8537823qtw.268.1664572699256; 
 Fri, 30 Sep 2022 14:18:19 -0700 (PDT)
Received: from hurd (dsl-10-141-205.b2b2c.ca. [72.10.141.205])
 by smtp.gmail.com with ESMTPSA id
 x22-20020a05620a259600b006cf9084f7d0sm3635867qko.4.2022.09.30.14.18.18
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 30 Sep 2022 14:18:18 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Date: Fri, 30 Sep 2022 17:18:18 -0400
Message-ID: <87fsg8lfxh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::82d;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qt1-x82d.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

While working on Berlin today from a chroot, and with --no-substitutes
used for guix-daemon, I wasn't able to complete the 'guix system
reconfigure' step; it'd hand on a read call (seen using strace):

--8<---------------cut here---------------start------------->8---
statfs("/gnu/store", {f_type=BTRFS_SUPER_MAGIC, f_bsize=4096, f_blocks=26843282944, f_bfree=14069128626, f_bavail=14067391234, f_files=0, f_ffree=0, f_fsid={val=[0x4f5822b0, 0xf74cbbd4]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
write(14, "\t\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0006\0\0\0\0\0\0\0/gnu/sto"..., 152) = 152
read(14, "gmlo\0\0\0\0", 8)             = 8
read(14, "\276\0\0\0\0\0\0\0", 8)       = 8
read(14, "@ build-started /gnu/store/kv1gh"..., 192) = 192
)     = 12
write(2, "applying 3 grafts for guix-1.3.0"..., 48applying 3 grafts for guix-1.3.0-29.9e46320 ...
) = 48
read(14, "gmlo\0\0\0\0", 8)             = 8
read(14, "\255\0\0\0\0\0\0\0", 8)       = 8
read(14, "@ build-log 17291 151\ngrafting '"..., 176) = 176
\)                = 5
read(14,
--8<---------------cut here---------------end--------------->8---

After passing --no-grafts to 'guix system reconfigure', it could
complete without any error.

-- 
Thanks,
Maxim




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: bug#58205: Acknowledgement (reconfiguration stuck unless using
 '--no-grafts')
Message-ID: <handler.58205.B.166457271319787.ack <at> debbugs.gnu.org>
References: <87fsg8lfxh.fsf@HIDDEN>
X-Gnu-PR-Message: ack 58205
X-Gnu-PR-Package: guix
Reply-To: 58205 <at> debbugs.gnu.org
Date: Fri, 30 Sep 2022 21:19:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 58205 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
58205: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58205
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#58205: reconfiguration stuck unless using '--no-grafts'
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 02 Oct 2022 20:20:01 +0000
Resent-Message-ID: <handler.58205.B58205.166474197419057 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 58205
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Cc: 58205 <at> debbugs.gnu.org
Received: via spool by 58205-submit <at> debbugs.gnu.org id=B58205.166474197419057
          (code B ref 58205); Sun, 02 Oct 2022 20:20:01 +0000
Received: (at 58205) by debbugs.gnu.org; 2 Oct 2022 20:19:34 +0000
Received: from localhost ([127.0.0.1]:48134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1of5Qz-0004xJ-JG
	for submit <at> debbugs.gnu.org; Sun, 02 Oct 2022 16:19:33 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58176)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1of5Qx-0004x6-Tb
 for 58205 <at> debbugs.gnu.org; Sun, 02 Oct 2022 16:19:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35244)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1of5Qs-0004rb-Hr; Sun, 02 Oct 2022 16:19:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=fOFWMvEOvIwTL8AzaaqopfDk5rZj8V8BysFPLopWYqI=; b=mgfgRopFNGKg9tsuyn7p
 amGROFTJV5e9mKpt/Ry/CGLj6qUjOliW+3ecWUPHiNGTpiwamQ7h4ZchBjuU/NZIv3cRWrn4GQdmI
 RiLIhby1RloWaM+LROjMOxGmM9LVIqMOzj7f7iJKfGdl84wjQxMVCswKRvuPt6oXqejFyHQ1u/cX2
 sxhPXv3BoXbE3/E/mKe22phJUwCk8575RIysc58ExppK3s5jscRrMG4wM+Cs8jJZS3pStuoBPTPp5
 Q5tPlGGcdIV586BU7oasHYRVDIisCbxmua2M8qv0Jw0PwUzqgEqSWPZIn+S02/tzNNjg+QbIZjB2B
 1cI7wF9giWqwcQ==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58246
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1of5Qs-0002Ga-3b; Sun, 02 Oct 2022 16:19:26 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <87fsg8lfxh.fsf@HIDDEN>
Date: Sun, 02 Oct 2022 22:19:23 +0200
In-Reply-To: <87fsg8lfxh.fsf@HIDDEN> (Maxim Cournoyer's message of "Fri, 30
 Sep 2022 17:18:18 -0400")
Message-ID: <87r0zq9dx0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Maxim Cournoyer <maxim.cournoyer@HIDDEN> skribis:

> While working on Berlin today from a chroot, and with --no-substitutes
> used for guix-daemon, I wasn't able to complete the 'guix system
> reconfigure' step; it'd hand on a read call (seen using strace):
>
> statfs("/gnu/store", {f_type=3DBTRFS_SUPER_MAGIC, f_bsize=3D4096, f_block=
s=3D26843282944, f_bfree=3D14069128626, f_bavail=3D14067391234, f_files=3D0=
, f_ffree=3D0, f_fsid=3D{val=3D[0x4f5822b0, 0xf74cbbd4]}, f_namelen=3D255, =
f_frsize=3D4096, f_flags=3DST_VALID|ST_RELATIME}) =3D 0
> write(14, "\t\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0006\0\0\0\0\0\0\0/gnu/sto"...,=
 152) =3D 152
> read(14, "gmlo\0\0\0\0", 8)             =3D 8
> read(14, "\276\0\0\0\0\0\0\0", 8)       =3D 8
> read(14, "@ build-started /gnu/store/kv1gh"..., 192) =3D 192
> )     =3D 12
> write(2, "applying 3 grafts for guix-1.3.0"..., 48applying 3 grafts for g=
uix-1.3.0-29.9e46320 ...
> ) =3D 48
> read(14, "gmlo\0\0\0\0", 8)             =3D 8
> read(14, "\255\0\0\0\0\0\0\0", 8)       =3D 8
> read(14, "@ build-log 17291 151\ngrafting '"..., 176) =3D 176
> \)                =3D 5
> read(14,

The build process is probably actually grafting things, and while doing
that it doesn=E2=80=99t output anything.  Thus it=E2=80=99s not surprising =
that the
client is stuck on read(2) waiting for data on the daemon socket.  It
might be that the grafting process is just taking a long time?

The way to debug that would be to run =E2=80=98sudo guix processes=E2=80=99=
, to identify
the build process and hand (the one that builds /gnu/store/kv1hg=E2=80=A6.d=
rv in
the example above), and to strace that process.

HTH!

Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#58205: reconfiguration stuck unless using '--no-grafts'
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 04 Oct 2022 12:43:02 +0000
Resent-Message-ID: <handler.58205.B58205.16648873613937 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 58205
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 58205 <at> debbugs.gnu.org
Received: via spool by 58205-submit <at> debbugs.gnu.org id=B58205.16648873613937
          (code B ref 58205); Tue, 04 Oct 2022 12:43:02 +0000
Received: (at 58205) by debbugs.gnu.org; 4 Oct 2022 12:42:41 +0000
Received: from localhost ([127.0.0.1]:52869 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ofhFx-00011Q-0c
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2022 08:42:41 -0400
Received: from mail-qt1-f182.google.com ([209.85.160.182]:38828)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1ofhFv-00011D-17
 for 58205 <at> debbugs.gnu.org; Tue, 04 Oct 2022 08:42:40 -0400
Received: by mail-qt1-f182.google.com with SMTP id y2so8013149qtv.5
 for <58205 <at> debbugs.gnu.org>; Tue, 04 Oct 2022 05:42:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject
 :date; bh=YlRe4cj0MXLoNkWqIa8G3PVMllmWr6AtTpbxTLKTbHs=;
 b=UcCfAAKciV7ugNpvIKObCQe98uDlcbpRESUjkHqXMfclfBTTA1Fr02Av5CJoOPk6R7
 K7ZtvogerNQtd/GpL4XbDZ0NqqxD+yQutzS6tgr5Tya1xbGGWVEo2/XglztiH1JS1ZHv
 g4slTpMTgimcRhMhmnONPhc/iTND978PFlx0NXMNW/awHgvWnPnZpf8rW1hSgCc+lAC6
 H07BWSpyW4w5k7Vie5qs9EhPVOkXDN1xjitIkjCTDbUWfP8++vIktvu2LfeWgAWx0cDs
 IM5cXUmpPr1caKR2ZUHiBFmgIfC2iHCY6F9mABUDhlOLr8P1NV6JfrQj34uZGo2dQh31
 1Nkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state
 :from:to:cc:subject:date;
 bh=YlRe4cj0MXLoNkWqIa8G3PVMllmWr6AtTpbxTLKTbHs=;
 b=Knl5tDeMz5+ZCF2Eu3xS/eHNX+5QConXnyg0A+ILSMynthwSAnXJoTNQaEINN3rE6Y
 zabfE8gqj1yBL7hXDC42YCCYZjsF8TvsGg8wU73PyR8wTQIPvm2Wk2SqfcsfFhGD3BGH
 v/8ViABUxLjaf4H0Neocy1HEH5v4VGcYc9XtcTbAz6eLRqGuUf8zlKxBgh/4cgjX3g07
 0DLx+2zsu/j+HlZJ3bATshBVbSUg6UPSMbL+Bb+Z2KIkUGiNYawkRRb+0leU1yqq6c9P
 Z/3xSKYcd/QCIrqtwTBcqNNnlimL2eqmCviql88qWGRhIaxYowEwprx8bF/s/VKr+wcx
 Afbw==
X-Gm-Message-State: ACrzQf1QJR4BC59tvIdtiKYZ0vFkoQ858jaqdE0WlpJksyrsJDJNQ90G
 4RQ4nCOSwwRpmWKUqfGHfmnzjxGuQaMd8A==
X-Google-Smtp-Source: AMsMyM7nSK4etSo4xegeMqE/p1AbjBskDuTVjhwqJb2QOiKoF8tAi/1I//X5J+eFlsb6D5TIWyzp3Q==
X-Received: by 2002:ac8:7089:0:b0:35b:b5fa:5e35 with SMTP id
 y9-20020ac87089000000b0035bb5fa5e35mr19059594qto.449.1664887353235; 
 Tue, 04 Oct 2022 05:42:33 -0700 (PDT)
Received: from hurd ([2607:fad8:4:3::1007]) by smtp.gmail.com with ESMTPSA id
 u18-20020a05620a431200b006ce9d6e51f4sm1196934qko.67.2022.10.04.05.42.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 04 Oct 2022 05:42:32 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
References: <87fsg8lfxh.fsf@HIDDEN> <87r0zq9dx0.fsf@HIDDEN>
Date: Tue, 04 Oct 2022 08:42:31 -0400
In-Reply-To: <87r0zq9dx0.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 02 Oct 2022 22:19:23 +0200")
Message-ID: <87mtabhia0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@HIDDEN> skribis:
>
>> While working on Berlin today from a chroot, and with --no-substitutes
>> used for guix-daemon, I wasn't able to complete the 'guix system
>> reconfigure' step; it'd hand on a read call (seen using strace):
>>
>> statfs("/gnu/store", {f_type=3DBTRFS_SUPER_MAGIC, f_bsize=3D4096,
>> f_blocks=3D26843282944, f_bfree=3D14069128626, f_bavail=3D14067391234,
>> f_files=3D0, f_ffree=3D0, f_fsid=3D{val=3D[0x4f5822b0, 0xf74cbbd4]},
>> f_namelen=3D255, f_frsize=3D4096, f_flags=3DST_VALID|ST_RELATIME}) =3D 0
>> write(14, "\t\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0006\0\0\0\0\0\0\0/gnu/sto"...=
, 152) =3D 152
>> read(14, "gmlo\0\0\0\0", 8)             =3D 8
>> read(14, "\276\0\0\0\0\0\0\0", 8)       =3D 8
>> read(14, "@ build-started /gnu/store/kv1gh"..., 192) =3D 192
>> )     =3D 12
>> write(2, "applying 3 grafts for guix-1.3.0"..., 48applying 3 grafts for =
guix-1.3.0-29.9e46320 ...
>> ) =3D 48
>> read(14, "gmlo\0\0\0\0", 8)             =3D 8
>> read(14, "\255\0\0\0\0\0\0\0", 8)       =3D 8
>> read(14, "@ build-log 17291 151\ngrafting '"..., 176) =3D 176
>> \)                =3D 5
>> read(14,
>
> The build process is probably actually grafting things, and while doing
> that it doesn=E2=80=99t output anything.  Thus it=E2=80=99s not surprisin=
g that the
> client is stuck on read(2) waiting for data on the daemon socket.  It
> might be that the grafting process is just taking a long time?

I think the CPU was idling at the time, per top.  Note that I was in a
chroot setup per info '(guix) Chrooting', with a pretty basic
'guix-daemon' invocation (non-chroot version), in case it could have
anything to do with it.

> The way to debug that would be to run =E2=80=98sudo guix processes=E2=80=
=99, to identify
> the build process and hand (the one that builds /gnu/store/kv1hg=E2=80=A6=
.drv in
> the example above), and to strace that process.

I'll do this next time I encounter this problem, thanks!

--=20
Maxim





Last modified: Tue, 4 Oct 2022 12:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.