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

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 14 Nov 2017 21:54:04 +0000

Your bug report

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

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
29102: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29102
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#29102: FAIL: make check-system TESTS="btrfs-root-os" not enough space
From: Oleg Pykhalov <[email-masked]>
To: [email-masked] (Ludovic Courtès)
Cc: Oleg Pykhalov <[email-masked]>, [email-masked], [email-masked]
Date: Wed, 15 Nov 2017 00:53:02 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Ludovic,

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

[...]

>>>> 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.

OK, pushed as 5724a14e71f21ccfe865ed6fadae3f7683fc66e2

Thanks,
Oleg.

Subject: FAIL: make check-system TESTS="btrfs-root-os" not enough space
From: Oleg Pykhalov <[email-masked]>
To: [email-masked]
Date: Wed, 01 Nov 2017 15:27:39 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Guix,

There is an issue with not enough space:

    $ make check-system TESTS="btrfs-root-os"

I succeed by “double” this:

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)))
   "Run SCRIPT (a shell script following the GuixSD installation procedure) in
 OS to install TARGET-OS.  Return a VM image of TARGET-SIZE bytes containing
 the installed system.  The packages specified in PACKAGES will be appended to
@@ -793,7 +793,7 @@ export GUIX_BUILD_OPTIONS=--no-grafts
 ls -l /run/current-system/gc-roots
 parted --script /dev/vdb mklabel gpt \\
   mkpart primary ext2 1M 3M \\
-  mkpart primary ext2 3M 1G \\
+  mkpart primary ext2 3M 2G \\
   set 1 boot on \\
   set 1 bios_grub on
 mkfs.btrfs -L my-root /dev/vdb2