GNU bug report logs - #63389
Cuirass stuck during evaluation

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Tue, 9 May 2023 11:50:02 UTC

Severity: normal

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 63389 in the body.
You can then email your comments to 63389 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#63389; Package guix. (Tue, 09 May 2023 11:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 09 May 2023 11:50:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: Cuirass stuck during evaluation
Date: Tue, 09 May 2023 13:49:43 +0200
Following the ‘core-updates’ merge, evaluations started by ‘cuirass
register’ seem to never complete.

The log shows things like “evaluating spec 'shepherd'” but there’s never
an indication of completion of failure.

The ‘cuirass register’ process spins at 100% after the ‘cuirass
evaluate’ process has failed, as if ‘evaluate’ in (cuirass base) did not
react properly to the end-of-file from the pipe:

--8<---------------cut here---------------start------------->8---
6220  dup2(0, 3)                        = 3
6220  dup2(52, 4)                       = 4
6220  dup2(48, 5)                       = 5
6220  dup2(3, 0)                        = 0
6220  dup2(4, 1)                        = 1
6220  dup2(5, 2)                        = 2
[…]
6220  execve("/home/ludo/.guix-profile/bin/guile", ["/home/ludo/.guix-profile/bin/guile", "--no-auto-compile", "-e", "main", "-s", "/data/src/cuirass/bin/cuirass", "evaluate", "dbname=test host=/tmp/ephemeralpg.NU2hSW", "17"], 0x238c9b0 /* 22 vars */) = 0
[…]
6203  read(47, "  2. &fix-hint: \"Make sure your list of channels\\ncontains one channel named @code{guix} providing the core of Guix.\"\n", 15324) = 118
6203  read(47, 0x7f1a9fbc34ba, 15206)   = -1 EAGAIN (Resource temporarily unavailable)
6203  epoll_ctl(12, EPOLL_CTL_MOD, 47, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=47, u64=47}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12,  <unfinished ...>
6220  write(2, "  3. &error-location: #<<location> file: \"guix/channels.scm\" line: 584 column: 18>\n", 83) = 83
6203  <... epoll_wait resumed>[{events=EPOLLIN, data={u32=47, u64=47}}], 8, 101) = 1
6203  read(47, "  3. &error-location: #<<location> file: \"guix/channels.scm\" line: 584 column: 18>\n", 15206) = 83
6203  read(47, 0x7f1a9fbc350d, 15123)   = -1 EAGAIN (Resource temporarily unavailable)
6203  epoll_ctl(12, EPOLL_CTL_MOD, 47, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=47, u64=47}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12,  <unfinished ...>
6220  exit_group(1)                     = ?
6221  <... futex resumed>)              = ?
6226  <... futex resumed>)              = ?
6224  <... read resumed> <unfinished ...>) = ?
6223  <... futex resumed>)              = ?
6222  <... futex resumed>)              = ?
6226  +++ exited with 1 +++
6224  +++ exited with 1 +++
6223  +++ exited with 1 +++
6221  +++ exited with 1 +++
6222  +++ exited with 1 +++
6203  <... epoll_wait resumed>[{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 101) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 97) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 97) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
6220  +++ exited with 1 +++
6203  --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6220, si_uid=1000, si_status=1, si_utime=23 /* 0.23 s */, si_stime=5 /* 0.05 s */} ---
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 97) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 97) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 96) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 96) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 96) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 96) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 96) = 1
6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
--8<---------------cut here---------------end--------------->8---

This is with:

--8<---------------cut here---------------start------------->8---
Generation 261	May 09 2023 09:50:33	(current)
  guix 649ce7b
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 649ce7b433171a47e8a2819b849bfa88c736d0e9
--8<---------------cut here---------------end--------------->8---

To be continued…

Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 09 May 2023 22:41:01 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
bug acknowledged by developer. (Tue, 09 May 2023 22:41:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: 63389-done <at> debbugs.gnu.org
Subject: Re: bug#63389: Cuirass stuck during evaluation
Date: Wed, 10 May 2023 00:40:47 +0200
Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:

> 6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 96) = 1
> 6203  epoll_ctl(12, EPOLL_CTL_MOD, 51, {events=EPOLLIN|EPOLLRDHUP|EPOLLONESHOT, data={u32=51, u64=51}}) = 0
> 6203  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 6203  epoll_wait(12, [{events=EPOLLHUP, data={u32=51, u64=51}}], 8, 96) = 1

This looked like a déja vu; turns out we were using Fibers 1.0.0…

Fixed:

  https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git/commit/?id=1d49240cc19de45e6ccfa1bfd58bf0f205b79804
  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=357e0b2690e6ce647065ce721b58d860d71fdead

Ludo’.




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

This bug report was last modified 324 days ago.

Previous Next


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