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

Debbugs page

Peter Bhat Harkins wrote 3 years ago
(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
Maxime Devos wrote 3 years ago
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-----


Peter Bhat Harkins wrote 3 years ago
(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
zimoun wrote 3 years ago
(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
Peter Bhat Harkins wrote 3 years ago
(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.
zimoun wrote 3 years ago
(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
Peter Bhat Harkins wrote 3 years ago
(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.
zimoun wrote 3 years ago
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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 54453@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 54453
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help