crash running 'guix pull'

  • Open
  • quality assurance status badge
Details
3 participants
  • Maxime Devos
  • Peter Bhat Harkins
  • zimoun
Owner
unassigned
Submitted by
Peter Bhat Harkins
Severity
normal
P
P
Peter Bhat Harkins wrote on 18 Mar 2022 19:56
(address . bug-guix@gnu.org)
20220318185622.wdoz7kxlkcenyw5c@push.cx
I tried running 'guix pull' on a VPS running guix and it crashed. The
output said to email the log to this address, so I am.

I'd appreciate any pointers towards a solution; I did a bit of googling
and didn't see how to get unstuck.

Thanks!


--
Peter Bhat Harkins - https://malaprop.org
-bash-5.0# time guix pull -v 1
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 386adb6 (505 new commits)...
Building from this channel:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
building /gnu/store/vgv0hn6b3l03wr8n7gkr1w1544av3qch-module-import.drv...
building /gnu/store/yh914wm3zydmmymks3dhavznlkn3g7g1-module-import.drv...
building /gnu/store/lwnsg6xzwjrmqh4v6bhhkipg86zmhw8b-module-import-compiled.drv...
building /gnu/store/d53a8rwws8sjfyl55dzknr8w0ywpri1g-module-import-compiled.drv...
building /gnu/store/z9nsgksn1wv1p189sarxw2lp9d498bbv-compute-guix-derivation.drv...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
glibc-2.33 8.2MiB 5.6MiB/s 00:00 [ ] 3.1%guix pull: error: You found a bug: the program '/gnu/store/7z9q1plaj7f0pa4znz350aa9qg969r80-compute-guix-derivation'
failed to compute the derivation for Guix (version: "386adb6df0e00e7170df0cdfaf0e04c38d0f3e11"; system: "x86_64-linux";
host version: "6417b97c7e10de8592ac9fda15774ee711d3dc25"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.


real 9m20.124s
user 4m28.800s
sys 0m2.990s
M
M
Maxime Devos wrote on 18 Mar 2022 22:03
ffddb45a6e9d577235686c184ccdaab535ea610b.camel@telenet.be
Peter Bhat Harkins schreef op vr 18-03-2022 om 13:56 [-0500]:
Toggle quote (18 lines)
> I tried running 'guix pull' on a VPS running guix and it crashed. The
> output said to email the log to this address, so I am.
>
> I'd appreciate any pointers towards a solution; I did a bit of
> googling
> and didn't see how to get unstuck.

> glibc-2.33 8.2MiB 5.6MiB/s
> 00:00 [ ] 3.1%guix pull: error: You found a bug:
> the program '/gnu/store/7z9q1plaj7f0pa4znz350aa9qg969r80-compute-
> guix-derivation'
> failed to compute the derivation for Guix (version:
> "386adb6df0e00e7170df0cdfaf0e04c38d0f3e11"; system: "x86_64-linux";
> host version: "6417b97c7e10de8592ac9fda15774ee711d3dc25"; pull-
> version: 1).
> Please report the COMPLETE output above by email to
> <bug-guix@gnu.org>.

These kind of problems are often transient and can be resolved by
trying again.

Anyways, I have a patch to make "guix pull" print more descriptive
error messages (https://issues.guix.gnu.org/50238),which should in the
future help with investigating the cause of these failures, but it
needs a little more work ... (maybe tomorrow)

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYjTzuhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ld4AQCR/vqv7vTZ92AI6A81ZBR+s/yh
O9NDStQ7R/ANE+MVNgD/acnCp26ESRUNR/b9qQXsdNcuGagAo3Ty3WgjdVuK3QI=
=Ulhf
-----END PGP SIGNATURE-----


P
P
Peter Bhat Harkins wrote on 18 Mar 2022 23:13
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 54453@debbugs.gnu.org)
20220318221308.eowxox2gijnxckr4@push.cx
Unfortunately, I have tried four or five times over the last three weeks
and always gotten this crash.




--
Peter Bhat Harkins - https://malaprop.org
Z
Z
zimoun wrote on 21 Mar 2022 17:58
(name . Peter Bhat Harkins)(address . peter@push.cx)
CAJ3okZ0uqeNhDVQrRy7GzNR4u41-igwKvdgCD8s6au2afwkJrQ@mail.gmail.com
Hi,

On Sat, 19 Mar 2022 at 02:01, Peter Bhat Harkins <peter@push.cx> wrote:
Toggle quote (4 lines)
>
> Unfortunately, I have tried four or five times over the last three weeks
> and always gotten this crash.

Do you have enough free space on your VPS? Or enough RAM memory?

Cheers,
simon
P
P
Peter Bhat Harkins wrote on 21 Mar 2022 20:10
(address . 54453@debbugs.gnu.org)
20220321191023.j2wisd5vpdn3vel2@push.cx
How much is required? I don't see it documented in the man page or manual.
Z
Z
zimoun wrote on 21 Mar 2022 20:36
(name . Peter Bhat Harkins)(address . peter@push.cx)(address . 54453@debbugs.gnu.org)
CAJ3okZ2uYC-_zUsnJTdDvqU0dXuOjo38VqGx3n1zM2HGxqoOvg@mail.gmail.com
Hi,

On Mon, 21 Mar 2022 at 20:13, Peter Bhat Harkins <peter@push.cx> wrote:
Toggle quote (3 lines)
>
> How much is required? I don't see it documented in the man page or manual.

Well, it depends. :-) Is it because the free space or because of the
RAM? I mean, what is the value of the free space? Have you already
succeed with "guix pull" or is it the first time you are running it?


Cheers,
simon
P
P
Peter Bhat Harkins wrote on 21 Mar 2022 22:23
(address . 54453@debbugs.gnu.org)
20220321212316.sdqc7le6slzkxbpj@push.cx
The VPS was created almost two years ago, and 'guix pull' was run many
times, though not in the last few months.

Is there documentation anywhere of what system resources a guix system,
or this particular command, requires? Is there any method for
estimating? It sounds like you're suggesting the requirements have
changed over time. Do running guix systems require more disk and RAM as
they age, or does this undocumented requirement also apply to new
systems?

At this point I'm less concerned about this individual crash bug and
more concerned that running any guix system is unsustainable.
Z
Z
zimoun wrote on 22 Mar 2022 19:52
865yo5akfz.fsf@gmail.com
Hi,

On Mon, 21 Mar 2022 at 16:23, Peter Bhat Harkins <peter@push.cx> wrote:

Toggle quote (3 lines)
> The VPS was created almost two years ago, and 'guix pull' was run many
> times, though not in the last few months.

Did you garbage collect “guix gc”? For instance with the option ’-F 5G’
or this option ’-d 9m’.

Because if you pull again and again, the store is growing. And
depending on the size your VPS, you can reach the limit of the available
space.


Toggle quote (7 lines)
> Is there documentation anywhere of what system resources a guix system,
> or this particular command, requires? Is there any method for
> estimating? It sounds like you're suggesting the requirements have
> changed over time. Do running guix systems require more disk and RAM as
> they age, or does this undocumented requirement also apply to new
> systems?

No, I am not suggesting a change. I am trying to identify why your
setup is failing and emit hypothesis.

Toggle quote (3 lines)
> At this point I'm less concerned about this individual crash bug and
> more concerned that running any guix system is unsustainable.

You are drawing hard conclusions from some hypothesis when they are just
hypothesis.

Over this 2 years, how many times did you garbage collect?


Cheers,
simon
?