Non-deterministic failures while building Guix with Guile 3.0.5

OpenSubmitted by Ludovic Courtès.
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Severity
important
L
L
Ludovic Courtès wrote on 2 Mar 19:21 +0100
(address . bug-guix@gnu.org)
875z29wh55.fsf@inria.fr
Hi,
I stumbled upon this error while building the ‘guix’ channel for commitfee4afd84b772ce111629dd3ff7ff89636539859:
Toggle snippet (47 lines)@ 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 1cannot build derivation `/gnu/store/53ispcqx4wfqnfxbggxdi0h5bhm2i4n5-guix-cli-modules.drv': 1 dependencies couldn't be builtcannot build derivation `/gnu/store/qlai4gy7gkdp7fpjwn94mig8mhfk7vvn-guix-system-tests.drv': 1 dependencies couldn't be builtcannot build derivation `/gnu/store/s43p40z233ilnr1w0kbyx6y0fv6c63sr-guix-fee4afd84-modules.drv': 1 dependencies couldn't be builtcannot build derivation `/gnu/store/fa6m8apnhg61q5vywq34rv20aiqaq1qx-guix-fee4afd84.drv': 1 dependencies couldn't be builtcannot build derivation `/gnu/store/ah90pwc8xvand39j2z8zfxf2kkzzy6ay-profile.drv': 1 dependencies couldn't be built
Looks like a GC/memory corruption/thread-safety issue—scary.
Ludo’.
L
L
Ludovic Courtès wrote on 2 Mar 19:22 +0100
control message for bug #46879
(address . control@debbugs.gnu.org)
874khtwh40.fsf@gnu.org
severity 46879 importantquit
L
L
Ludovic Courtès wrote on 2 Mar 19:23 +0100
Re: bug#46879: Non-deterministic failures while building Guix with Guile 3.0.5
(address . 46879@debbugs.gnu.org)
87zgzlv2h4.fsf@gnu.org
Toggle snippet (36 lines)[ 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@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@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@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@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@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@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@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@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@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@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@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 1cannot build derivation `/gnu/store/1v7j6wa0k6ffdfpy3q9pkwkhyz17hp9g-guix-system-tests-modules.drv': 1 dependencies couldn't be builtcannot build derivation `/gnu/store/cmha52znf9zig1srmq4nsfscf5686nzn-guix-66c31d507-modules.drv': 1 dependencies couldn't be builtcannot build derivation `/gnu/store/6zpgcrscw02pmai422nvy1lfp3gvi9fm-guix-module-union.drv': 1 dependencies couldn't be builtcannot build derivation `/gnu/store/j0za8iwyq2527bw0ywyzsj3pvkhqk6qc-guix-command.drv': 1 dependencies couldn't be builtcannot build derivation `/gnu/store/vdp37k5f9wbjlb5bnjs1g51d8p9pnk45-guix-daemon.drv': 1 dependencies couldn't be builtcannot build derivation `/gnu/store/gc1rsbvabqvj17fj8jliipglr5ani4v6-guix-66c31d507.drv': 3 dependencies couldn't be built
It’s quite rare, but frequent enough for CI to experience itoccasionally.
Ludo’.
L
L
Ludovic Courtès wrote on 4 Mar 23:16 +0100
(address . 46879@debbugs.gnu.org)
87zgzilg31.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> skribis:
Toggle quote (7 lines)> 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’.
?