From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yIXWHLi3k2OrMgAAbAwnHQ (envelope-from ) for ; Fri, 09 Dec 2022 23:33:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0JT8G7i3k2N1GgEAG6o9tA (envelope-from ) for ; Fri, 09 Dec 2022 23:33:28 +0100 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 401EC38264 for ; Fri, 9 Dec 2022 23:33:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3lvY-0004Ed-So; Fri, 09 Dec 2022 17:33:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3lvS-0004EG-Iq for bug-guix@gnu.org; Fri, 09 Dec 2022 17:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3lvS-0004Ey-8I for bug-guix@gnu.org; Fri, 09 Dec 2022 17:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3lvR-0006sT-MR for bug-guix@gnu.org; Fri, 09 Dec 2022 17:33:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59884: =?UTF-8?Q?=E2=80=98gui-installed-desktop-os-encrypted=E2=80=99?= test intermittent failures Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 09 Dec 2022 22:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59884 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 59884@debbugs.gnu.org Received: via spool by 59884-submit@debbugs.gnu.org id=B59884.167062513526417 (code B ref 59884); Fri, 09 Dec 2022 22:33:01 +0000 Received: (at 59884) by debbugs.gnu.org; 9 Dec 2022 22:32:15 +0000 Received: from localhost ([127.0.0.1]:38924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3luh-0006s1-83 for submit@debbugs.gnu.org; Fri, 09 Dec 2022 17:32:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3luf-0006rt-UP for 59884@debbugs.gnu.org; Fri, 09 Dec 2022 17:32:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3lua-0003YO-Gr for 59884@debbugs.gnu.org; Fri, 09 Dec 2022 17:32:08 -0500 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=tlFBhLs8L+8ew4mp6Tnih1UkcKqMUoHSrDI1gAdLFk8=; b=LTHxEq/sM6NPZ2U4l2lO 6sfJQ0DeXtxeKdZxuzwVVrf9MYupH0XhXH+fSpLryK4EKmRy2KCHcdLHkhAsV4XVgH+PMG89FpjXL rAAMXe+N75QjsBBseUKHKe0cs15fMELiFvg7WyMMQdZE/uRh1Wgc5xlr7rAWoCJtF4+lexdnF0SqU e8tJvog5ItVTOqEMru2RuZ/Kq4Y0frY1+X8RmvFOHgzDLZGpN3ayP2/CbbLO0/OsXachmMTpgDdvd OwfijXUvsefy9wCCfDIzXzMR66gfWf2XJppVBKIVi0thqqdNr++/HD0+i6ZuVB6wYXETx4bCH3Fdj QYne0u6AXAN+KQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3lua-0008Jw-2o; Fri, 09 Dec 2022 17:32:08 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878rjjjpa5.fsf@inria.fr> <87359p22pt.fsf@gnu.org> Date: Fri, 09 Dec 2022 23:32:05 +0100 In-Reply-To: <87359p22pt.fsf@gnu.org> (Mathieu Othacehe's message of "Thu, 08 Dec 2022 19:02:38 +0100") Message-ID: <87pmcs5hui.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670625208; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tlFBhLs8L+8ew4mp6Tnih1UkcKqMUoHSrDI1gAdLFk8=; b=KD8V788mZim2rRQpA1kYGtHMqPiJFFuuriiUI1WpfuA5bnLSd0tkg8/Tn3Y3++rJxJj08S uaafaAfEcHxZXS8ZH6v88UvbQNyCUyjAyzJ8Tk8JKhOGvZWQK7igkRv3etHrcGjZJx7lMi WC4ED5p3VPZyBPMFxvHeHjACiOMWJDyAvnjz8w+07MB29ANP8PqbGIKSaiM6817TsCs9cP 8HqRky4WO+R04/a3wE2U542CGAPlGdPEfP+OiIfRqA7y4OccWAe6SS+sZYb0qj/7ohLPA7 Z7AK0tr3PDpZ21cYrW2SSah9gBumdeyE+S4PKAWisa1Khli8Iflz+tyABiXJgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="LTHxEq/s"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670625208; a=rsa-sha256; cv=none; b=hQyLWoCx1v9BLIntXq2sdm0fPcJEa5QiiFF1UZP3XaGE7UcV/gEHVDJkjvDnrML7yZwPEK V7/o7t7dDcwW9o6KmFfpj8Ux8pp9Kbqlvw0JNYv/AAow6GZWl3LvbluEaaTMdFWIkWaKeT qw98R2wHS5gYWj363jEkvLbQMIlXxZRTBhyLrjblrKraZZUlFpMYWrPVTCTryUkypfbYYi eWuA3FBFdlDTGeHPNi7Byq1Ce4nMlGg22dD5gnx88FFtBKtR4DFLy93ieETvmtQLFQvRIc IRm0Ee/JcKZD90XEUhWToYWiRBJoIjFD2OYAyE4RnYi7FihkVNuZcxHKzCPNSA== X-Migadu-Spam-Score: -4.35 X-Spam-Score: -4.35 X-Migadu-Queue-Id: 401EC38264 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="LTHxEq/s"; 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"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: P3X83I3Vj/Si Hi, Mathieu Othacehe skribis: > I spent days on that issue before. It used to show up on all installer > tests, and even on real hardware, then > 8ce6f4dc2879919c12bc76a2f4b01200af97e01 mitigated it. > > The installation is now made in a container to make sure that we are > later on able to umount the store overlay even though some background > processes such as kmscon or udev opened files from the overlay. Right. > Now the issue only shows up on that specific test and is intermittent as > you noticed. On this particular test it seems to be frequent. > To be honest, that was quite painful to debug and I'm a bit scared to > jump back in. I think I had the marionette produce some lsof reports > back then, or something like that. I very much regret not to have kept > notes somewhere. Yeah. One possibility is timing: (restart-service 'guix-daemon) kills the daemon=E2=80=99s process group, waits for the group leader to terminate, then starts the daemon. I think there=E2=80=99s a possibility that other processes in the group (like a =E2=80=98guix substitute=E2=80=99 child) are= still alive at that point and they might be the one keeping the device busy. Sleeping for a couple of seconds should allow us to kinda verify that hypothesis. However, the fact that it=E2=80=99s only in the cryptsetup case suggests this hypothesis might well be completely bogus. But yeah, invoking =E2=80=98lsof=E2=80=99 would tell us. I guess we=E2=80=99ll leave that as future work though. Thanks for your feedback! Ludo=E2=80=99.