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

From: [email-masked] (Ludovic Courtès)
Date: Sat, 11 Nov 2017 18:45:38 +0100

Hi,

Oleg Pykhalov <[email-masked]> skribis:

> [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))

Good point.  In that case please push the initial patch.

Thank you,
Ludo’.