GNU bug report logs - #41709
installed-os test failing

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Mathieu Othacehe <othacehe@HIDDEN>; dated Thu, 4 Jun 2020 14:37:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 41709 <at> debbugs.gnu.org:


Received: (at 41709) by debbugs.gnu.org; 6 Jun 2020 13:29:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 06 09:29:17 2020
Received: from localhost ([127.0.0.1]:51065 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhYsv-0003vd-18
	for submit <at> debbugs.gnu.org; Sat, 06 Jun 2020 09:29:17 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55728)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jhYst-0003vM-Ec
 for 41709 <at> debbugs.gnu.org; Sat, 06 Jun 2020 09:29:15 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:60313)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1jhYso-0001T5-5b
 for 41709 <at> debbugs.gnu.org; Sat, 06 Jun 2020 09:29:10 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51698 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1jhYsl-0003hB-US; Sat, 06 Jun 2020 09:29:08 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#41709: installed-os test failing
References: <87img6rj7t.fsf@HIDDEN>
Date: Sat, 06 Jun 2020 15:29:05 +0200
In-Reply-To: <87img6rj7t.fsf@HIDDEN> (Mathieu Othacehe's message of "Thu, 04
 Jun 2020 16:36:38 +0200")
Message-ID: <87y2p0tja6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 41709
Cc: 41709 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi!

Mathieu Othacehe <othacehe@HIDDEN> skribis:

> By reverting this commit 0eed77127592323d89f56c215a15374a1aaae110
> (introducing an extra glibc to %default-locale-libcs), it drops down to:
>
> 1305.5 MiB.
>
> Now multiple options:
>
> * Revert this commit.
> * Find other system closure improvements.
> * Up the limit to 1.5GiB.

Let=E2=80=99s just set the =E2=80=98locale-libcs=E2=80=99 field in (gnu tes=
ts) so that it
contains a single libc.  WDYT?

> * "openssh" is dragging "xauth" which drags some X libraries (but this
> does not account for much).

Yes, but that=E2=80=99s necessary for =E2=80=9Cssh -X=E2=80=9D, so I think =
we consciously made
that choice long ago.

> * "sudo" is dragging "python" for about 100MiB.

Comes from the Python plugin added in
452244e670467afe0e8ccdfb9ca2980d5a3b4694.  No idea what it buys us.

> * "info-reader" is dragging "perl" (and is in fact the same size as
> "texinfo" because of a mistake that I introduced with
> 614a1e3fa2d731d4719f03912b1b87fb4fd309cb) for about 100MiB.

Ah would be nice to fix and add a #:disallowed-references flag there!

> * The switch to non-canonical version of "glibc" and "coreutils" to fix
> system cross-compilation in dfc8ccbf5da96a67eb1cade499f0def21e7fdb02 is
> also responsible for about 100MiB.

Yeah, that=E2=80=99s the price to pay.  :-/

> I also discovered that enabling CONFIG_MODULE_COMPRESS, the size of
> linux-libre is reduced by 63%.

Woohoo!

> Now, the big source of improvement could be Guix itself (278MiB without
> dependencies).

Yep, see my recent message on this topic.  :-)

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#41709; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 41709 <at> debbugs.gnu.org:


Received: (at 41709) by debbugs.gnu.org; 5 Jun 2020 17:01:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 05 13:01:22 2020
Received: from localhost ([127.0.0.1]:49754 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhFic-0002hk-4T
	for submit <at> debbugs.gnu.org; Fri, 05 Jun 2020 13:01:22 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57670)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1jhFib-0002hW-8S
 for 41709 <at> debbugs.gnu.org; Fri, 05 Jun 2020 13:01:21 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42324)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>) id 1jhFiV-0004FX-Uh
 for 41709 <at> debbugs.gnu.org; Fri, 05 Jun 2020 13:01:15 -0400
Received: from [2a01:e0a:fa:a50:809b:e323:9e90:279b] (port=33056 helo=meru)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <othacehe@HIDDEN>) id 1jhFiU-0005I1-W7
 for 41709 <at> debbugs.gnu.org; Fri, 05 Jun 2020 13:01:15 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: 41709 <at> debbugs.gnu.org
Subject: Re: bug#41709: installed-os test failing
References: <87img6rj7t.fsf@HIDDEN> <87eequres9.fsf@HIDDEN>
Date: Fri, 05 Jun 2020 19:01:13 +0200
In-Reply-To: <87eequres9.fsf@HIDDEN> (Mathieu Othacehe's message of "Thu, 04
 Jun 2020 18:12:22 +0200")
Message-ID: <87mu5hmopy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 41709
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


> All in all, fixing all of this makes the closure size to drop below 1GiB
> which is already a good first step.
>
> I'll try to provide patches soon.

I also discovered that enabling CONFIG_MODULE_COMPRESS, the size of
linux-libre is reduced by 63%.

This makes the image way lighter.

--8<---------------cut here---------------start------------->8---
/gnu/store/6p01ki4iwdxp2bmlr2n27hfry3hp7yac-guix-1.1.0-6.da1b79f   477.4   278.3  29.5%
/gnu/store/158nawzghm4lwm7q7ah8zhh7624fw7zb-locale-2.31             91.9    91.9   9.7%
/gnu/store/la3bzdd032892xrm6sq5zz64rzjhp1yg-linux-libre-5.4.44      79.7    79.7   8.4%
...
total: 943.2 MiB
--8<---------------cut here---------------end--------------->8---

Now, the big source of improvement could be Guix itself (278MiB without
dependencies).

I think we can go further!

Thanks,

Mathieu





Information forwarded to bug-guix@HIDDEN:
bug#41709; Package guix. Full text available.

Message received at 41709 <at> debbugs.gnu.org:


Received: (at 41709) by debbugs.gnu.org; 4 Jun 2020 16:12:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 04 12:12:33 2020
Received: from localhost ([127.0.0.1]:47343 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jgsTp-0001cT-7J
	for submit <at> debbugs.gnu.org; Thu, 04 Jun 2020 12:12:33 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37554)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1jgsTn-0001cF-H2
 for 41709 <at> debbugs.gnu.org; Thu, 04 Jun 2020 12:12:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35607)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>) id 1jgsTi-00056q-B9
 for 41709 <at> debbugs.gnu.org; Thu, 04 Jun 2020 12:12:26 -0400
Received: from [2a01:e0a:fa:a50:70fc:c1c7:fca9:4c2f] (port=52640 helo=meru)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <othacehe@HIDDEN>) id 1jgsTg-0002DW-KL
 for 41709 <at> debbugs.gnu.org; Thu, 04 Jun 2020 12:12:24 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: 41709 <at> debbugs.gnu.org
Subject: Re: bug#41709: installed-os test failing
References: <87img6rj7t.fsf@HIDDEN>
Date: Thu, 04 Jun 2020 18:12:22 +0200
In-Reply-To: <87img6rj7t.fsf@HIDDEN> (Mathieu Othacehe's message of "Thu, 04
 Jun 2020 16:36:38 +0200")
Message-ID: <87eequres9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 41709
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


> Now multiple options:
>
> * Revert this commit.
> * Find other system closure improvements.
> * Up the limit to 1.5GiB.
>
> WDYT?

Digging a bit more, I discovered multiple culprits in the image closure
size.

* "openssh" is dragging "xauth" which drags some X libraries (but this
does not account for much).

* "sudo" is dragging "python" for about 100MiB.

* "info-reader" is dragging "perl" (and is in fact the same size as
"texinfo" because of a mistake that I introduced with
614a1e3fa2d731d4719f03912b1b87fb4fd309cb) for about 100MiB.

* The switch to non-canonical version of "glibc" and "coreutils" to fix
system cross-compilation in dfc8ccbf5da96a67eb1cade499f0def21e7fdb02 is
also responsible for about 100MiB.

All in all, fixing all of this makes the closure size to drop below 1GiB
which is already a good first step.

I'll try to provide patches soon.

Thanks,

Mathieu





Information forwarded to bug-guix@HIDDEN:
bug#41709; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Jun 2020 14:36:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 04 10:36:46 2020
Received: from localhost ([127.0.0.1]:47200 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jgqz7-0005UB-ST
	for submit <at> debbugs.gnu.org; Thu, 04 Jun 2020 10:36:46 -0400
Received: from lists.gnu.org ([209.51.188.17]:46696)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1jgqz5-0005U3-Nl
 for submit <at> debbugs.gnu.org; Thu, 04 Jun 2020 10:36:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39836)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1jgqz5-0001gM-HN
 for bug-guix@HIDDEN; Thu, 04 Jun 2020 10:36:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:33740)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>) id 1jgqz5-00025X-8e
 for bug-guix@HIDDEN; Thu, 04 Jun 2020 10:36:43 -0400
Received: from lfbn-ann-1-136-86.w86-200.abo.wanadoo.fr ([86.200.104.86]:58386
 helo=meru)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <othacehe@HIDDEN>) id 1jgqz4-0005At-Gz
 for bug-guix@HIDDEN; Thu, 04 Jun 2020 10:36:43 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: bug-guix@HIDDEN
Subject: installed-os test failing
Date: Thu, 04 Jun 2020 16:36:38 +0200
Message-ID: <87img6rj7t.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hello

The installed-os test is failing because the image closure is (again)
bigger than the allocated 1.4GiB in the test partition.

--8<---------------cut here---------------start------------->8---
guix size $(./pre-inst-env guix system build gnu/system/examples/bare-bones.tmpl)
--8<---------------cut here---------------end--------------->8---

reports 1397.3 MiB.

By reverting this commit 0eed77127592323d89f56c215a15374a1aaae110
(introducing an extra glibc to %default-locale-libcs), it drops down to:

1305.5 MiB.

Now multiple options:

* Revert this commit.
* Find other system closure improvements.
* Up the limit to 1.5GiB.

WDYT?

Thanks,

Mathieu




Acknowledgement sent to Mathieu Othacehe <othacehe@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#41709; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 6 Jun 2020 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.