From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:f42::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oDx8MxrmxWEpaQEAgWs5BA (envelope-from ) for ; Fri, 24 Dec 2021 16:24:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aK5FMBrmxWHvTAAAauVa8A (envelope-from ) for ; Fri, 24 Dec 2021 16:24:10 +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 7A3AC8EBC for ; Fri, 24 Dec 2021 16:24:10 +0100 (CET) Received: from localhost ([::1]:46272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0mQT-0003Jx-JV for larch@yhetil.org; Fri, 24 Dec 2021 10:24:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0mQM-0003Jp-Hs for guix-patches@gnu.org; Fri, 24 Dec 2021 10:24:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0mQM-0007PB-8a for guix-patches@gnu.org; Fri, 24 Dec 2021 10:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0mQM-0007Ai-2R for guix-patches@gnu.org; Fri, 24 Dec 2021 10:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52174] [PATCH v2 1/6] gnu: add crun Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Dec 2021 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52174 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Timmy Douglas Cc: 52174@debbugs.gnu.org Received: via spool by 52174-submit@debbugs.gnu.org id=B52174.164035942227504 (code B ref 52174); Fri, 24 Dec 2021 15:24:02 +0000 Received: (at 52174) by debbugs.gnu.org; 24 Dec 2021 15:23:42 +0000 Received: from localhost ([127.0.0.1]:37899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0mQ2-00079W-F9 for submit@debbugs.gnu.org; Fri, 24 Dec 2021 10:23:42 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0mPw-000793-TP for 52174@debbugs.gnu.org; Fri, 24 Dec 2021 10:23:40 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7F8A9331; Fri, 24 Dec 2021 16:23:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vjxMgTmTecaw; Fri, 24 Dec 2021 16:23:29 +0100 (CET) Received: from ribbon (unknown [78.199.208.147]) by hera.aquilenet.fr (Postfix) with ESMTPSA id DD909BE; Fri, 24 Dec 2021 16:23:28 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <874k75pzi7.fsf@gnu.org> <52542aec3c127a893453ac1ecbbd504022d4c8dd.1639889841.git.mail@timmydouglas.com> <875yrjl8a5.fsf@gnu.org> <87tuf1zpa1.fsf@timmydouglas.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?UTF-8?Q?Niv=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 24 Dec 2021 16:23:27 +0100 In-Reply-To: <87tuf1zpa1.fsf@timmydouglas.com> (Timmy Douglas's message of "Tue, 21 Dec 2021 12:17:10 -0800") Message-ID: <87v8zet4b4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 7F8A9331 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1640359450; 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; bh=MFeBXK1J8EZXwjDfyNws7+hU564LJiQcpZkTzcyPp+Y=; b=WSdELPgJOTdFMTdAHnQVVN0axA+T/Y5DyoSeaL3yiAD+Kar8ce28Y4c6WWl8kHSoI9rIcI 6I311kDeedi0RS3vmWG5FbUKUYem9mPJwlu/bODXZTmhkWgru13elixM9Jl3IivEXAqVuz anQ3fZq8P3xcR4Im7sC8kRRDiOEnO3XBziuTgKjbf/ihTqsoTLdpBJnhrYuURJvopIoRJe kl5tETZP5pdHb67SkgotZM/tHZBtE0tTY0WHAHGFeOPNZavrqJjZHlfAGQaNmRGAPEnAt+ WzpgwjGhYU0ViU3LJOOVKfFZ6NW7QRokpoetjuej+ljvUv72apQOkaYbP7RugA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640359450; a=rsa-sha256; cv=none; b=s+SH1JXO+o/thn/AI2mMyyQBzD+y2CU2NLZ6Roq+0icuEOziXK/fGQAWPhwbPPbH7nbrKv mXC1o8MpZ7nLzygUMvrzzwrVgDKoEgt+qNOyAMOHCHWlGqpY0kTSMhLFX3W0S4VXeRdk6l ZbbAbbXNml64QrdmZehVLIbdLrL5/dznCRZtf6FL+wztAKSMmpC4UV39gdRbwabOnF9f84 PkyhUd84vjB6b4fQ4eSag0UpYi80x1LljQT7aU42X0HwJhFJGCPeoHmCcfV1vEMNqHHi1F nbMqfXYGpSyoABq81hYtyjNDAfBTjKUFI+ShjnVwQkTofZbERIb3cl/BjFPe+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.56 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7A3AC8EBC X-Spam-Score: -4.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: CUV+2phm1EK2 Hello, Timmy Douglas skribis: > Ludovic Court=C3=A8s writes: [...] >> Sorry for not noticing earlier: we try hard to run test suites, and only >> disable it as a last resort, with a comment explaining why. Often, we >> disable specific tests that cannot run in the build environment (for >> instance because they assume network access) and run everything else. >> >> I had a quick go at running crun=E2=80=99s test suite, and there=E2=80= =99s a number of >> failures, which is not reassuring. >> >> Could you investigate a bit with the goal of fixing any actual issues >> the test suite reveals and/or skipping individual tests that cannot be >> run? > > are there some docs I could refer to on how Guix sandboxes the build? > I tried > https://guix.gnu.org/manual/en/html_node/Debugging-Build-Failures.html#De= bugging-Build-Failures > but I think I need to go further than sourcing env vars. Pretty much all the tricks are there. There=E2=80=99s also info on what=E2=80=99s visible in the build environmen= t here: https://guix.gnu.org/manual/en/html_node/Invoking-guix_002ddaemon.html > I tried modifying `make check` phase to invoking `mount` to see if I > could poke around (which didn't exactly work in my quick attempt...) > because I'm not sure how to debug some of the issues. I suspect some are > due to the fs layout/mounts. Probably could figure it out with some more > time but thought it might be best to ask first. > > With these changes I could get them to pass by manually `make check`ing > in the --keep-failed directory: > > (add-after 'unpack 'fix-tests > (lambda _ > (substitute* (find-files "tests" "\\.(c|py)") > (("/bin/true") (which "true")) > (("/bin/false") (which "false")) > ; relies on sd_notify which requires systemd? > (("\"sd-notify\" : test_sd_notify,") "") > (("\"sd-notify-file\" : test_sd_notify_file,") ""))))))) > > > from guix build: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > Testsuite summary for crun UNKNOWN > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > # TOTAL: 73 > # PASS: 9 > # SKIP: 28 > # XFAIL: 0 > # FAIL: 36 > # XPASS: 0 > # ERROR: 0 There are 36 failures though; does =E2=80=98test-suite.log=E2=80=99 show mo= re details? Thanks, Ludo=E2=80=99.