Subject: Re: bug#29102: FAIL: make check-system TESTS="btrfs-root-os" not enough space

From: Oleg Pykhalov <[email-masked]>
Date: Tue, 07 Nov 2017 22:44:51 +0300

Hello Ludovic,

Thank you for review.

[email-masked] (Ludovic Courtès) writes:

> Hi Oleg,
>
> Oleg Pykhalov <[email-masked]> skribis:
>
>> There is an issue with not enough space:
>>
>>     $ make check-system TESTS="btrfs-root-os"
>>
>> I succeed by “double” this:
>
> Good catch.
>
>> diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
>> index a80c520ec..0e97de0a8 100644
>> --- a/gnu/tests/install.scm
>> +++ b/gnu/tests/install.scm
>> @@ -202,7 +202,7 @@ reboot\n")
>>                             #:imported-modules '((gnu services herd)
>>                                                  (guix combinators))))
>>                        (installation-disk-image-file-system-type "ext4")
>> -                      (target-size (* 1200 MiB)))
>> +                      (target-size (* 2200 MiB)))
>
> Maybe you can even change this one to 'guess?

No, because it will fail doing number->string on symbol here:

  (system* "qemu-img" "create" "-f" "qcow2"
           #$output #$(number->string target-size))

Oleg.