GNU bug report logs - #46879
Non-deterministic failures while building Guix with Guile 3.0.5

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Tue, 2 Mar 2021 18:22:02 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46879 in the body.
You can then email your comments to 46879 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#46879; Package guix. (Tue, 02 Mar 2021 18:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 02 Mar 2021 18:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: <bug-guix <at> gnu.org>
Subject: Non-deterministic failures while building Guix with Guile 3.0.5
Date: Tue, 02 Mar 2021 19:21:42 +0100
Hi,

I stumbled upon this error while building the ‘guix’ channel for commit
fee4afd84b772ce111629dd3ff7ff89636539859:

--8<---------------cut here---------------start------------->8---
@ build-started /gnu/store/m7128g8wi8p529ifbqcbgpi0szvrwq8n-guix-cli.drv - x86_64-linux /var/log/guix/drvs/m7//128g8wi8p529ifbqcbgpi0szvrwq8n-guix-cli.drv.bz2 22747
[  0/106] loading...	  0.0% of 53 files
[  1/106] loading...	  1.9% of 53 files
[  2/106] loading...	  3.8% of 53 files
[  3/106] loading...	  5.7% of 53 files
[  4/106] loading...	  7.5% of 53 files
[  5/106] loading...	  9.4% of 53 files
[  6/106] loading...	 11.3% of 53 files
[  7/106] loading...	 13.2% of 53 filesBacktrace:
In ice-9/boot-9.scm:
   222:29 19 (map1 (((gnu packages linux)) ((gnu packages man)) ((gnu packages nano)) ((gnu packages nvi)) ((gnu packages package-management)) ((gnu packages pciutils)) ((gnu packages texinfo)) # ?))
   222:29 18 (map1 (((gnu packages man)) ((gnu packages nano)) ((gnu packages nvi)) ((gnu packages package-management)) ((gnu packages pciutils)) ((gnu packages texinfo)) ((gnu packages zile)) # ?))
   222:29 17 (map1 (((gnu packages nano)) ((gnu packages nvi)) ((gnu packages package-management)) ((gnu packages pciutils)) ((gnu packages texinfo)) ((gnu packages zile)) ((gnu services)) ((?)) ?))
   222:29 16 (map1 (((gnu packages nvi)) ((gnu packages package-management)) ((gnu packages pciutils)) ((gnu packages texinfo)) ((gnu packages zile)) ((gnu services)) ((gnu services shepherd)) # ?))
   222:29 15 (map1 (((gnu packages package-management)) ((gnu packages pciutils)) ((gnu packages texinfo)) ((gnu packages zile)) ((gnu services)) ((gnu services shepherd)) ((gnu services base)) # ?))
   222:29 14 (map1 (((gnu packages pciutils)) ((gnu packages texinfo)) ((gnu packages zile)) ((gnu services)) ((gnu services shepherd)) ((gnu services base)) ((gnu bootloader)) ((gnu system #)) # ?))
   222:29 13 (map1 (((gnu packages texinfo)) ((gnu packages zile)) ((gnu services)) ((gnu services shepherd)) ((gnu services base)) ((gnu bootloader)) ((gnu system shadow)) ((gnu system nss)) (#) ?))
   222:29 12 (map1 (((gnu packages zile)) ((gnu services)) ((gnu services shepherd)) ((gnu services base)) ((gnu bootloader)) ((gnu system shadow)) ((gnu system nss)) ((gnu system locale)) ((?)) ?))
   222:29 11 (map1 (((gnu services)) ((gnu services shepherd)) ((gnu services base)) ((gnu bootloader)) ((gnu system shadow)) ((gnu system nss)) ((gnu system locale)) ((gnu system pam)) ((gnu ?)) ?))
   222:29 10 (map1 (((gnu services shepherd)) ((gnu services base)) ((gnu bootloader)) ((gnu system shadow)) ((gnu system nss)) ((gnu system locale)) ((gnu system pam)) ((gnu system #)) ((gnu ?)) ?))
   222:17  9 (map1 (((gnu services base)) ((gnu bootloader)) ((gnu system shadow)) ((gnu system nss)) ((gnu system locale)) ((gnu system pam)) ((gnu system linux-initrd)) ((gnu system uuid)) (#) ?))
  3297:17  8 (resolve-interface (gnu services base) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In ice-9/threads.scm:
    390:8  7 (_ _)
In ice-9/boot-9.scm:
  3223:13  6 (_)
In ice-9/threads.scm:
    390:8  5 (_ _)
In ice-9/boot-9.scm:
  3507:20  4 (_)
   2806:4  3 (save-module-excursion #<procedure 7fffe1b327e0 at ice-9/boot-9.scm:3508:21 ()>)
  3527:26  2 (_)
In unknown file:
           1 (primitive-load-path "gnu/services/base" #<procedure 7fffe18ca400 at ice-9/boot-9.scm:3514:37 ()>)
In gnu/services/base.scm:
   1883:8  0 (_)

gnu/services/base.scm:1883:8: In procedure allocate-struct: Wrong type argument in position 1 (expecting struct): #<procedure %user-account?-procedure (obj)>
builder for `/gnu/store/m7128g8wi8p529ifbqcbgpi0szvrwq8n-guix-cli.drv' failed with exit code 1
@ build-failed /gnu/store/m7128g8wi8p529ifbqcbgpi0szvrwq8n-guix-cli.drv - 1 builder for `/gnu/store/m7128g8wi8p529ifbqcbgpi0szvrwq8n-guix-cli.drv' failed with exit code 1
cannot build derivation `/gnu/store/53ispcqx4wfqnfxbggxdi0h5bhm2i4n5-guix-cli-modules.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/qlai4gy7gkdp7fpjwn94mig8mhfk7vvn-guix-system-tests.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/s43p40z233ilnr1w0kbyx6y0fv6c63sr-guix-fee4afd84-modules.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fa6m8apnhg61q5vywq34rv20aiqaq1qx-guix-fee4afd84.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ah90pwc8xvand39j2z8zfxf2kkzzy6ay-profile.drv': 1 dependencies couldn't be built
--8<---------------cut here---------------end--------------->8---

Looks like a GC/memory corruption/thread-safety issue—scary.

Ludo’.




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 02 Mar 2021 18:23:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#46879; Package guix. (Tue, 02 Mar 2021 18:25:01 GMT) Full text and rfc822 format available.

Message #10 received at 46879 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 46879 <at> debbugs.gnu.org
Subject: Re: bug#46879: Non-deterministic failures while building Guix with
 Guile 3.0.5
Date: Tue, 02 Mar 2021 19:23:51 +0100
Another one at <https://ci.guix.gnu.org/build/307469/log/raw>:

--8<---------------cut here---------------start------------->8---
[  0/ 56] loading...	  0.0% of 28 files[  1/ 56] loading...	  3.6% of 28 filesBacktrace:
In srfi/srfi-1.scm:
   586:29 19 (map1 (#<<service> type: #<service-type host-name 7fffe4d10500> value: "komputilo"> #<<service> type: #<service-type account 7fffe4c8c500> value: ((".bash_profile" #<<plain-file> n?> ?))
   586:29 18 (map1 (#<<service> type: #<service-type account 7fffe4c8c500> value: ((".bash_profile" #<<plain-file> name: "bash_profile" content: "# Honor per-interactive-shell startup file\nif ?> ?))
   586:29 17 (map1 (#<<service> type: #<service-type udev 7fffe4d1bf80> value: #<<udev-configuration> udev: #<package eudev <at> 3.2.9 gnu/packages/linux.scm:3346 7fffe46b50a0> rules: (#<package lvm?> ?))
   586:29 16 (map1 (#<<service> type: #<service-type nscd 7fffe4d10340> value: #<<nscd-configuration> log-file: "/var/log/nscd.log" debug-level: 0 caches: (#<<nscd-cache> database: hosts positi?> ?))
   586:29 15 (map1 (#<<service> type: #<service-type guix 7fffe4d10200> value: #<<guix-configuration> guix: #<package guix <at> 1.2.0-13.a53f711 gnu/packages/package-management.scm:137 7fffe62dcaa0>?> ?))
   586:29 14 (map1 (#<<service> type: #<service-type urandom-seed 7fffe4d106c0> value: #f> #<<service> type: #<service-type syslog 7fffe4d10300> value: #<<syslog-configuration> syslogd: #<file-?> ?))
   586:29 13 (map1 (#<<service> type: #<service-type syslog 7fffe4d10300> value: #<<syslog-configuration> syslogd: #<file-append #<package inetutils <at> 1.9.4 gnu/packages/admin.scm:636 7fffe49edf0?> ?))
   586:29 12 (map1 (#<<service> type: #<service-type static-networking 7fffe4d1be80> value: (#<<static-networking> interface: "lo" ip: "127.0.0.1" netmask: #f gateway: #f provision: (loopback) ?> ?))
   586:29 11 (map1 (#<<service> type: #<service-type mingetty 7fffe4d10380> value: #<<mingetty-configuration> mingetty: #<package mingetty <at> 1.08 gnu/packages/admin.scm:745 7fffe49eddc0> tty: "tt?> ?))
   586:29 10 (map1 (#<<service> type: #<service-type mingetty 7fffe4d10380> value: #<<mingetty-configuration> mingetty: #<package mingetty <at> 1.08 gnu/packages/admin.scm:745 7fffe49eddc0> tty: "tt?> ?))
   586:29  9 (map1 (#<<service> type: #<service-type mingetty 7fffe4d10380> value: #<<mingetty-configuration> mingetty: #<package mingetty <at> 1.08 gnu/packages/admin.scm:745 7fffe49eddc0> tty: "tt?> ?))
   586:29  8 (map1 (#<<service> type: #<service-type mingetty 7fffe4d10380> value: #<<mingetty-configuration> mingetty: #<package mingetty <at> 1.08 gnu/packages/admin.scm:745 7fffe49eddc0> tty: "tt?> ?))
   586:29  7 (map1 (#<<service> type: #<service-type mingetty 7fffe4d10380> value: #<<mingetty-configuration> mingetty: #<package mingetty <at> 1.08 gnu/packages/admin.scm:745 7fffe49eddc0> tty: "tt?> ?))
   586:29  6 (map1 (#<<service> type: #<service-type mingetty 7fffe4d10380> value: #<<mingetty-configuration> mingetty: #<package mingetty <at> 1.08 gnu/packages/admin.scm:745 7fffe49eddc0> tty: "tt?> ?))
   586:29  5 (map1 (#<<service> type: #<service-type agetty 7fffe4d103c0> value: #<<agetty-configuration> agetty: #<package util-linux <at> 2.35.1 gnu/packages/linux.scm:1507 7fffe46b0e60> tty: #f t?> ?))
   586:29  4 (map1 (#<<service> type: #<service-type console-fonts 7fffe4d10440> value: (("tty1" . "LatGrkCyr-8x16") ("tty2" . "LatGrkCyr-8x16") ("tty3" . "LatGrkCyr-8x16") ("tty4" . "LatGrkCyr?> ?))
   586:29  3 (map1 (#<<service> type: #<service-type virtual-terminal 7fffe4d104c0> value: #t> #<<service> type: #<service-type marionette-repl 7fffe4d34b80> value: #<<marionette-configuration>?> ?))
   586:29  2 (map1 (#<<service> type: #<service-type marionette-repl 7fffe4d34b80> value: #<<marionette-configuration> device: "/dev/virtio-ports/org.gnu.guix.port.0" imported-modules: ((gnu se?> ?))
   586:17  1 (map1 (#<<service> type: #<service-type mcron 7fffe4c30000> value: #<<mcron-configuration> mcron: #<package mcron <at> 1.2.0 gnu/packages/guile-xyz.scm:2552 7fffe9a8f1e0> jobs: (#<gexp (j?>))
In gnu/services/mcron.scm:
   132:13  0 (mcron-shepherd-services _)

gnu/services/mcron.scm:132:13: In procedure mcron-shepherd-services:
In procedure allocate-struct: Wrong type argument in position 1 (expecting struct): #<procedure %shepherd-service?-procedure (obj)>
builder for `/gnu/store/kp01hrirz40h7p7aim4dspajjv3yyvda-guix-system-tests.drv' failed with exit code 1
@ build-failed /gnu/store/kp01hrirz40h7p7aim4dspajjv3yyvda-guix-system-tests.drv - 1 builder for `/gnu/store/kp01hrirz40h7p7aim4dspajjv3yyvda-guix-system-tests.drv' failed with exit code 1
cannot build derivation `/gnu/store/1v7j6wa0k6ffdfpy3q9pkwkhyz17hp9g-guix-system-tests-modules.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/cmha52znf9zig1srmq4nsfscf5686nzn-guix-66c31d507-modules.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/6zpgcrscw02pmai422nvy1lfp3gvi9fm-guix-module-union.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/j0za8iwyq2527bw0ywyzsj3pvkhqk6qc-guix-command.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/vdp37k5f9wbjlb5bnjs1g51d8p9pnk45-guix-daemon.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/gc1rsbvabqvj17fj8jliipglr5ani4v6-guix-66c31d507.drv': 3 dependencies couldn't be built
--8<---------------cut here---------------end--------------->8---

It’s quite rare, but frequent enough for CI to experience it
occasionally.

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#46879; Package guix. (Thu, 04 Mar 2021 22:18:01 GMT) Full text and rfc822 format available.

Message #13 received at 46879 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 46879 <at> debbugs.gnu.org
Subject: Re: bug#46879: Non-deterministic failures while building Guix with
 Guile 3.0.5
Date: Thu, 04 Mar 2021 23:16:50 +0100
Ludovic Courtès <ludo <at> gnu.org> skribis:

> In gnu/services/mcron.scm:
>    132:13  0 (mcron-shepherd-services _)
>
> gnu/services/mcron.scm:132:13: In procedure mcron-shepherd-services:
> In procedure allocate-struct: Wrong type argument in position 1 (expecting struct): #<procedure %shepherd-service?-procedure (obj)>
> builder for `/gnu/store/kp01hrirz40h7p7aim4dspajjv3yyvda-guix-system-tests.drv' failed with exit code 1

Turns out this is not the first time such things are reported:

  https://issues.guix.gnu.org/28858
  https://issues.guix.gnu.org/44402

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#46879; Package guix. (Wed, 23 Mar 2022 03:13:02 GMT) Full text and rfc822 format available.

Message #16 received at 46879 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 46879 <at> debbugs.gnu.org
Subject: Re: bug#46879: Non-deterministic failures while building Guix with
 Guile 3.0.5
Date: Tue, 22 Mar 2022 23:12:19 -0400
Hi Ludovic,

Ludovic Courtès <ludo <at> gnu.org> writes:

> Ludovic Courtès <ludo <at> gnu.org> skribis:
>
>> In gnu/services/mcron.scm:
>>    132:13  0 (mcron-shepherd-services _)
>>
>> gnu/services/mcron.scm:132:13: In procedure mcron-shepherd-services:
>> In procedure allocate-struct: Wrong type argument in position 1
>> (expecting struct): #<procedure %shepherd-service?-procedure (obj)>
>> builder for `/gnu/store/kp01hrirz40h7p7aim4dspajjv3yyvda-guix-system-tests.drv' failed with exit code 1
>
> Turns out this is not the first time such things are reported:
>
>   https://issues.guix.gnu.org/28858
>   https://issues.guix.gnu.org/44402

Just to confirm, is this fixed in the new Guile we are using?

If so, please feel free to close this issue.

Thank you,

Maxim




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 24 Mar 2022 08:32:02 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Courtès <ludo <at> gnu.org>:
bug acknowledged by developer. (Thu, 24 Mar 2022 08:32:02 GMT) Full text and rfc822 format available.

Message #21 received at 46879-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 46879-done <at> debbugs.gnu.org
Subject: Re: bug#46879: Non-deterministic failures while building Guix with
 Guile 3.0.5
Date: Thu, 24 Mar 2022 09:31:13 +0100
Hi Maxim,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Ludovic Courtès <ludo <at> gnu.org> skribis:
>>
>>> In gnu/services/mcron.scm:
>>>    132:13  0 (mcron-shepherd-services _)
>>>
>>> gnu/services/mcron.scm:132:13: In procedure mcron-shepherd-services:
>>> In procedure allocate-struct: Wrong type argument in position 1
>>> (expecting struct): #<procedure %shepherd-service?-procedure (obj)>
>>> builder for `/gnu/store/kp01hrirz40h7p7aim4dspajjv3yyvda-guix-system-tests.drv' failed with exit code 1
>>
>> Turns out this is not the first time such things are reported:
>>
>>   https://issues.guix.gnu.org/28858
>>   https://issues.guix.gnu.org/44402
>
> Just to confirm, is this fixed in the new Guile we are using?

I think so; I haven’t seen reports of such a thing since that one, but I
forgot exactly what we did back then.

Closing!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 21 Apr 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 362 days ago.

Previous Next


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