From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MCy5OjrVw2THMgEASxT56A (envelope-from ) for ; Fri, 28 Jul 2023 16:48:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0Gu3OTrVw2TxCwAAG6o9tA (envelope-from ) for ; Fri, 28 Jul 2023 16:48:26 +0200 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 C645057D4E for ; Fri, 28 Jul 2023 16:48:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=domoVK9u; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690555706; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=fD4DZ09f29td57/XcG1yIfX47d7Ku3EYHtuRQV7w77c=; b=VDtc9xNb0TxRZMtCcw7Wr9rTQM5QVCoXeODDRKgPSxjfw5vkq/TI/gx46ltNQt7PV54OQh xF0C7Sh8KO8fNNrrLXdL4ro5UjMD7fgQClYqBVj/Mzu8eLYWd/DmEY2Eq1VdjWe8Gvx2Sg w43gCKkEcz4MlifkGdqg5w0QSyVF7szW0cscq5+/35Hfw9bTJDkCu/6h8UJ4xsIre3Fg7D m1ABzjudDL9Uu5lUnw9wFEBb1/5J3bLSjiBDNkqZWv4PoO2UrbZtxJFWN9bZGaPixiVPVM G8FkwjHFJikz1InMzQlMF9zCtCLHOqN2DSv71IIAvPwGJPeMALVSKxcU3DIOxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=domoVK9u; 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=1690555706; a=rsa-sha256; cv=none; b=fnzVH4IjOOOWMVHpsI3suoL9QM6WUCVa+DzzvXc5Nf37wiLNgXKTqllDN32UPGld9Iehgu hszILUGHJ4KTIK4HecVx2KCpXLR+OUl+qHZ8K3rcjcvrkgK+OtuNJYdAMfmDh0HSmRW4X6 cA8Q2lBWyRAvNycnr/9RUbP7cABKcbIWuWdavPipX+R9ZXuiopfKHuL8m7sfE2UkqP3mhw qO484VrO/yLKqG1jtrkYdci8lP2uGD3P/aAYTeE1vlDiYizaVPxE33DOsmNNCI7SEZIhkt Ro/qc/qE5HQzKYZpByM7rIY3ys+6DD3oqZ0lE2pxUypEOjRzt+VIrvtkfU5+bQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPO1k-0000HZ-8Y; Fri, 28 Jul 2023 10:01:08 -0400 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 1qPO1e-0000FQ-Pa for bug-guix@gnu.org; Fri, 28 Jul 2023 10:01:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qPO1e-0003CI-Hm for bug-guix@gnu.org; Fri, 28 Jul 2023 10:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qPO1e-000220-33 for bug-guix@gnu.org; Fri, 28 Jul 2023 10:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64760: [PATCH 2/3] tests: store-roots: Initial gc-roots should be empty. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 28 Jul 2023 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Janneke Nieuwenhuizen Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 64760@debbugs.gnu.org Received: via spool by 64760-submit@debbugs.gnu.org id=B64760.16905528327764 (code B ref 64760); Fri, 28 Jul 2023 14:01:02 +0000 Received: (at 64760) by debbugs.gnu.org; 28 Jul 2023 14:00:32 +0000 Received: from localhost ([127.0.0.1]:45755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPO19-00021A-Sx for submit@debbugs.gnu.org; Fri, 28 Jul 2023 10:00:32 -0400 Received: from jpoiret.xyz ([206.189.101.64]:33954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPO17-000212-SM for 64760@debbugs.gnu.org; Fri, 28 Jul 2023 10:00:30 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 7FF4B185328; Fri, 28 Jul 2023 14:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1690552827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fD4DZ09f29td57/XcG1yIfX47d7Ku3EYHtuRQV7w77c=; b=domoVK9uEQTxo12Rofd3n0WDH46AVnoyeFnXfhWxn9DfFWiOkusYO3+UcYoc+Tpc9f0aIl Ag3ghNan6di7ccNIilAYBYzIXHRH6aYv5Da+m5RnEWhzzt4Oh7srvnFdrTULByfOtA5u0s tSUZork8zxNSvKcfnVzYmS6BGFYOTG6JJ2j/67Hes4bGxpAfPpk9oPStuMe0y8b2dRyeZ7 n3Q4zB/a+YceZvg9KsJNPGTKBURMNuOthoii2dd8UOz6Nnj3+y4eshf8DBZc6T4A6q1WSp WQLHozLZQ0LlD+S7go9Tz7Gplu/ix/XtPzorlw8kU95xMuk4pVnNjBey14ON4g== In-Reply-To: <87mszgcta7.fsf@gnu.org> References: <877cqtfu95.fsf@jpoiret.xyz> <87mszgcta7.fsf@gnu.org> Date: Fri, 28 Jul 2023 16:00:24 +0200 Message-ID: <873518m8zr.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: / 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: , Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -7.73 X-Migadu-Queue-Id: C645057D4E X-Migadu-Spam-Score: -7.73 X-Migadu-Scanner: mx0.migadu.com X-TUID: BlvqyYTLOcQ+ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi everyone, Janneke Nieuwenhuizen writes: > Just a headsup that this change breaks the store-roots test on the hurd > for me. Thanks for the feedback Janneke. It seems that there is some left-over state that can mess with this state's result: I was initially surprised that the /profiles directory could appear in the gc roots, but that's because it is symlinked under /gcroots, not because it is itself searched for gc roots. In any case, the /gcroots directory along with the /gcroots/profiles symlink is created when a connection is made to the daemon, which is not the case here yet. However, a connection might have been opened before for the same state dir (which depends on the PID of build-aux/test-env.in). It might also depend on whether the clean-up of the state directory made by `trap` worked and whether PIDs get re-used quickly on the specific kernel. I think this is all too unreliable here (I have one such example of a leftover PID state dir in my tree, so it might happen more often than not). In any case, if this test is only here to check if gc-roots doesn't error out, we could return #t at the end to only fish for errors. WDYT? Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmTDyfgQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcailXXDACc6+4RVyembAqpezU2h8ndBxCHcNYgMVvn qz4kgORP1+wxb46b/x71lFwuflh/uHm6535hq2GAHfflU+cAl9QEKtC/6mPxyOUZ qX9Zvb/4830IXWQ6iAJ3rmGS5oy8K8r2mv1QHMhcu9TpzWG2Cyw/G+3b6bB7RZqM ab18LGOYT717GOip0F+0YWJFj8ZQr3sc454CYeKrT8oSH0p68co/yENP0PcNIG+0 S+AT/s414mtob90d4NjoA1hA5nKK7GLZadmlnBRziK4kIgKCqYiJEDo8ajtt+sRF Zx9w2WTP2E3IQ8eE18owJS5g2Wf7uIRwV+X70aZrYrJea5tiPaX0wsQhcSVGsM/Z bbAzU4w0q/JEunhd53yJ8kL8U8YWp3GtrGgPqrVjI9PTGCC9YWHVu4FRcDjbvSUV EADNaNsy9LJ+/778HA53xG02SJTu2oOygyroDuM4XwNFBxjgFUUVwb1YU6WGLQ77 xmT5PZNcSvubXf+32SgBBaCkiA69gMA= =koHk -----END PGP SIGNATURE----- --=-=-=--