all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>,
	"Andy Patterson" <ajpatter@uwaterloo.ca>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] tests: Don't check file-systems in container tests.
Date: Mon, 14 Nov 2016 10:05:04 +0000	[thread overview]
Message-ID: <878tsmtm0f.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87y40nh9ew.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Andy Patterson <ajpatter@uwaterloo.ca> skribis:
>
>> The containers test was hanging for me, and this patch fixed the
>> problem.
>
> [...]
>
>> From 945ad44acf489b7f3a398d4ab739ec2b48477502 Mon Sep 17 00:00:00 2001
>> From: Andy Patterson <ajpatter@uwaterloo.ca>
>> Date: Sat, 12 Nov 2016 22:10:01 -0500
>> Subject: [PATCH] tests: Don't check file-systems in container tests.
>>
>> * tests/containers.scm ("call-with-container, mnt namespace"): Don't
>> check file-system in 'call-with-container' call.
>> * tests/containers.scm
>> ("call-with-container, mnt namespace, wrong bindmount"): Likewise.
>> ---
>>  tests/containers.scm | 6 ++++--
>>  1 file changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/tests/containers.scm b/tests/containers.scm
>> index ccd122a..745b56b 100644
>> --- a/tests/containers.scm
>> +++ b/tests/containers.scm
>> @@ -84,7 +84,8 @@
>>     (call-with-container (list (file-system
>>                                  (device "none")
>>                                  (mount-point "/testing")
>> -                                (type "tmpfs")))
>> +                                (type "tmpfs")
>> +                                (check? #f)))
>
> Do you know exactly how/why it was hanging?  I imagine
> ‘mount-file-system’ would try to invoke fsck.tmpfs, which doesn’t exist,
> thus we get a REPL, which hangs forever.
>
> I guess the real question is why I didn’t experience it, hmm…

This is failing for me on master, I think the guix development snapshot
needs to be updated to include this fix.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

  parent reply	other threads:[~2016-11-14 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-13  3:20 [PATCH] tests: Don't check file-systems in container tests Andy Patterson
2016-11-13 12:05 ` Ludovic Courtès
2016-11-13 15:51   ` Andy Patterson
2016-11-14 10:05   ` Marius Bakke [this message]
2016-11-14 14:42     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878tsmtm0f.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
    --to=mbakke@fastmail.com \
    --cc=ajpatter@uwaterloo.ca \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.