From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wGaQB1Bm02HyOQEAgWs5BA (envelope-from ) for ; Mon, 03 Jan 2022 22:10:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GF1ABFBm02HRggAAauVa8A (envelope-from ) for ; Mon, 03 Jan 2022 22:10:40 +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 861CF44F19 for ; Mon, 3 Jan 2022 22:10:39 +0100 (CET) Received: from localhost ([::1]:57128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4UbG-0001zi-FB for larch@yhetil.org; Mon, 03 Jan 2022 16:10:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4Uag-0001zW-Eb for bug-guix@gnu.org; Mon, 03 Jan 2022 16:10:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4Uag-0007yx-4l for bug-guix@gnu.org; Mon, 03 Jan 2022 16:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4Uaf-0008Fo-Qs for bug-guix@gnu.org; Mon, 03 Jan 2022 16:10:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52779: tests/no-home test failure in Shepherd Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Jan 2022 21:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52779 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52779@debbugs.gnu.org Received: via spool by 52779-submit@debbugs.gnu.org id=B52779.164124418131694 (code B ref 52779); Mon, 03 Jan 2022 21:10:01 +0000 Received: (at 52779) by debbugs.gnu.org; 3 Jan 2022 21:09:41 +0000 Received: from localhost ([127.0.0.1]:36386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4UaL-0008F8-G6 for submit@debbugs.gnu.org; Mon, 03 Jan 2022 16:09:41 -0500 Received: from mail-qt1-f181.google.com ([209.85.160.181]:43592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4UaI-0008En-4E for 52779@debbugs.gnu.org; Mon, 03 Jan 2022 16:09:40 -0500 Received: by mail-qt1-f181.google.com with SMTP id q14so32010668qtx.10 for <52779@debbugs.gnu.org>; Mon, 03 Jan 2022 13:09:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=GWZbLiSForI6ZWHpCXTHwv0ZWV/RRgAoQ5RO0J23WQU=; b=BXqm1QA7SjLeRp16ijLP0iZz/l08qrzeDDYxTAXOfTu29AvLv6wEhJaqveOxixYQtE QonbvGj3cIEYfjf2Wegdl97gzxAUTaLH6vBN+LAPma7NzGR5RKZhsRruaWnFMsZTf2a5 +sK5HBTLK6hWd8Sa4nbLXJeV6BjsPYUB8mW+D4Sub/0qxqESw2FW9vIN5VBYhJXja3Pm ZUZmEAgtiEJg7JeC5qblp2IvUtLInlm8olzVdhY7shrWtVbdNubJJsZbcckVa5My0+DC lXqeVdmTcJJDGvtm8Gvioy0zmiQBQ2Q0ZqYngqlzCL6CnQEXM8r14rtMcCUYdR9z4MsC eqYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=GWZbLiSForI6ZWHpCXTHwv0ZWV/RRgAoQ5RO0J23WQU=; b=SErDnRVtip8S7czF8c2/qPbnuwNwfJqQ/yxrO6+qaLTvdKcZLdWV5AlrPQi8rgNyHF y+2mz1VJDgZVpU/XuAEJmYiNFFubYE0lY3VPBGn9k9nKmLcOdu4ShvyGskSvHjphuVFe QWH7FIhPS3+1orGkxys9Xvq+Qa8i/SWFDZtCAFVTYB/ROgpHOVD8FE4HXLfKZ1KOF9xK 40eD9jCkHVp49ly65bXBnuK8mIW6/xJPi7Lne1O+ur38YzSl2IcqcmzHaEl5xWHAp9QF SKABilAczqtQ1vaZ00gjSzz+0qF45+lVSGpREkYXkkx7tR6T+62ltGsmd3ynT36WWDdI Ll1w== X-Gm-Message-State: AOAM531HuLB2VKGJlqkf63nKZQP8ipPVP1uPIUOKHadh9NL1wUToHLT6 kpn7dZmM/iNlr16f0BTRm6Mone4fCBQ= X-Google-Smtp-Source: ABdhPJx7x++ivGAfFiJdG6cKYAmkJTimhMGWuB9G6G1QejPxj7zVg86tgAg0+a03iWmxnWW69ghItg== X-Received: by 2002:ac8:544a:: with SMTP id d10mr42311101qtq.675.1641244172338; Mon, 03 Jan 2022 13:09:32 -0800 (PST) Received: from hurd (dsl-152-60.b2b2c.ca. [66.158.152.60]) by smtp.gmail.com with ESMTPSA id m1sm30127607qkn.115.2022.01.03.13.09.31 for <52779@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 13:09:31 -0800 (PST) From: Maxim Cournoyer References: <87h7ayys14.fsf@gmail.com> Date: Mon, 03 Jan 2022 16:09:30 -0500 In-Reply-To: <87h7ayys14.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 24 Dec 2021 09:52:07 -0500") Message-ID: <87h7akv851.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641244239; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=GWZbLiSForI6ZWHpCXTHwv0ZWV/RRgAoQ5RO0J23WQU=; b=rt9HumbhAalVUx3d1lwBgHFD2m0DQVEcsBOO5f2dWBl1mdWNJHRpTpTtR/NxKSBoz/l89c mNS4pZ7xjpuCJwwNNrObvy1lOv0iuXdd+AbKSxpDh6c5Ie33HyanvHHFkb1zmb3GBUdYeL LmKtLjN2STAW7I58HRlB5EClLmCxGfa+B7renB4Ol2ScxB+c3hWzqJQV91lud5lTOlsvwq aQEFPKtsHXY8ZVxYkUMCJdiI+2mgF6E0vHluvaOe4mroyUXmGF4pQ7YCipNfipYaSRE1/s bOKd40f0wKQx7f62vsjxNuYTlDIrq4SYc2olqk7xmbQ5PyhmpfwxpMyrsZTNoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641244239; a=rsa-sha256; cv=none; b=p3/Hn4hEDURWqfIyMJqONQ1sHJDwJv7Jm9wGfKDo+4mjSuiNWCOfHCnt0BParjymMclalf 0CWnCBO6qe6eSyH7D2ou75XFXsSiJhPSA3OIWWaaKVux6jKJVJ8dMbwWMP5pVOV+YjNzJt ww35FipY8B4bgAdjV4p5HOINCgzjVzkZsmQBAqTBD4jBvL+wQVT/l7+SsE9Ctw5DtZbqOq M3SBk5qVQtKxZBdYnWPJZvu7w6amDlQh6MIdlrvXcd/pXPNz3TES0/r9c9znTqpFrGKjyM dTz3PXMuM+eV3TSXx9KNcmE/c7LTKH0zFjk0OBT0CDhVl7UGn/9EwmtcXVK3JQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BXqm1QA7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BXqm1QA7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 861CF44F19 X-Spam-Score: -1.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: XdkjjOtPl45O Hi, Maxim Cournoyer writes: > Hello Guix, > > I encountered the following (nondeterministic) test failure: > > # TOTAL: 13 > # PASS: 12 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > > .. contents:: :depth: 2 > > FAIL: tests/no-home > =================== > > + shepherd --version > shepherd (GNU Shepherd) 0.8.1 > Copyright (C) 2020 the Shepherd authors > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > + HOME=/nowhere > + export HOME > + test -w /nowhere > + socket=t-socket-1651 > + pid=t-pid-1651 > + herd='herd -s t-socket-1651' > + trap 'rm -f t-socket-1651; > test -f t-pid-1651 && kill `cat t-pid-1651` || true; rm -f t-pid-1651' EXIT > + shepherd_pid=1896 > + test -f t-pid-1651 > + shepherd -I -s t-socket-1651 -c /dev/null -l /dev/null --pid=t-pid-1651 > + kill -0 1896 > + sleep 0.3 > Service root has been started. > + test -f t-pid-1651 > ++ cat t-pid-1651 > + kill -0 1896 > + herd -s t-socket-1651 status root > Started: > + root > + herd -s t-socket-1651 stop root > ++ cat t-pid-1651 > + kill 1896 > + exit 1 > + rm -f t-socket-1651 > + test -f t-pid-1651 > ++ cat t-pid-1651 > + kill 1896 > + rm -f t-pid-1651 > FAIL tests/no-home.sh (exit status: 1) > > > error: in phase 'check': uncaught exception: > %exception #<&invoke-error program: "make" arguments: ("check" "-j" "24" "GUILE_AUTO_COMPILE=0") exit-status: 2 term-signal: #f stop-signal: #f> > phase `check' failed after 15.3 seconds > command "make" "check" "-j" "24" "GUILE_AUTO_COMPILE=0" failed with status 2 > > Perhaps due to high load, as I can't seem to reproduce when building > Shepherd alone. I encountered the problem once more; the errors are slightly different so I'm pasting the failed test output here: --8<---------------cut here---------------end--------------->8--- FAIL: tests/no-home =================== + shepherd --version shepherd (GNU Shepherd) 0.8.1 Copyright (C) 2020 the Shepherd authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. + HOME=/nowhere + export HOME + test -w /nowhere + socket=t-socket-1606 + pid=t-pid-1606 + herd='herd -s t-socket-1606' + trap 'rm -f t-socket-1606; test -f t-pid-1606 && kill `cat t-pid-1606` || true; rm -f t-pid-1606' EXIT + shepherd_pid=1868 + test -f t-pid-1606 + shepherd -I -s t-socket-1606 -c /dev/null -l /dev/null --pid=t-pid-1606 + kill -0 1868 + sleep 0.3 Service root has been started. + test -f t-pid-1606 ++ cat t-pid-1606 + kill -0 1868 + herd -s t-socket-1606 status root Started: + root + herd -s t-socket-1606 stop root ++ cat t-pid-1606 + kill 1868 + exit 1 + rm -f t-socket-1606 + test -f t-pid-1606 ++ cat t-pid-1606 + kill 1868 ./tests/no-home.sh: line 2: kill: (1868) - No such process + true + rm -f t-pid-1606 FAIL tests/no-home.sh (exit status: 1) error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("check" "-j" "24" "GUILE_AUTO_COMPILE=0") exit-status: 2 term-signal: #f stop-signal: #f> phase `check' failed after 15.6 seconds command "make" "check" "-j" "24" "GUILE_AUTO_COMPILE=0" failed with status 2 --8<---------------cut here---------------end--------------->8--- Thanks, Maxim