GNU bug report logs - #51837
[Cuirass] Wrong type: #f in cuirass/templates.scm

Previous Next

Package: guix;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Sun, 14 Nov 2021 11:18:02 UTC

Severity: normal

Done: Mathieu Othacehe <othacehe <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 51837 in the body.
You can then email your comments to 51837 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#51837; Package guix. (Sun, 14 Nov 2021 11:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 14 Nov 2021 11:18:02 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: bug-guix <at> gnu.org
Cc: Mathieu Othacehe <othacehe <at> gnu.org>
Subject: [Cuirass] Wrong type: #f in cuirass/templates.scm
Date: Sun, 14 Nov 2021 12:14:40 +0100
[Message part 1 (text/plain, inline)]
Guix,

The following page refuses to load:

--8<---------------cut here---------------start------------->8---
~$ curl -LI https://ci.guix.gnu.org/build/1618120/details
HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 14 Nov 2021 11:16:01 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 42
Connection: keep-alive
--8<---------------cut here---------------end--------------->8---

Here's what gets logged in cuirass-web.log:

--8<---------------cut here---------------start------------->8---
2021-11-14T12:13:51 GET /build/1618120/details
In cuirass/http.scm:
  747:13  5 (url-handler _ _)
In cuirass/templates.scm:
  740:22  4 (build-details ((#:derivation . "/gnu/store/0rks1d?") 
  ?) ?)
In srfi/srfi-1.scm:
  603:19  3 (map2 (1287823 1287827 1289462 1289463 1289464 # # # 
  ?) ?)
In cuirass/templates.scm:
  747:51  2 (_ 1287823 _)
   215:4  1 (status-class _)
In ice-9/boot-9.scm:
 1685:16  0 (raise-exception _ #:continuable? _)
In procedure =: Wrong type: #f
--8<---------------cut here---------------end--------------->8---

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#51837; Package guix. (Sun, 14 Nov 2021 11:28:02 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: Mathieu Othacehe <othacehe <at> gnu.org>, bug-guix <at> gnu.org,
 51837 <at> debbugs.gnu.org
Subject: Re: bug#51837: [Cuirass] Wrong type: #f in cuirass/templates.scm
Date: Sun, 14 Nov 2021 12:25:29 +0100
[Message part 1 (text/plain, inline)]
I forgot what I once knew:

Tobias Geerinckx-Rice via Bug reports for GNU Guix 写道:
> ~$ curl -LI https://ci.guix.gnu.org/build/1618120/details

Due to an unrelated Cuirass(/Guile?) bug -I wouldn't work either 
way:

 $ curl -LI https://ci.guix.gnu.org/
 HTTP/1.1 404 Not Found

but the page is still broken regardless.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#51837; Package guix. (Sun, 14 Nov 2021 11:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#51837; Package guix. (Sun, 14 Nov 2021 16:32:01 GMT) Full text and rfc822 format available.

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

From: John Kehayias <john.kehayias <at> protonmail.com>
To: "51837 <at> debbugs.gnu.org" <51837 <at> debbugs.gnu.org>
Subject: Re: [Cuirass] Wrong type: #f in cuirass/templates.scm
Date: Sun, 14 Nov 2021 16:31:30 +0000
I've noticed not getting build detail pages for in-progress or scheduled builds. I definitely noticed in the last few days with trying to see the builds with the core-updates-frozen-batched-changes merge (there was a long gc job forceably killed, maybe other wonkiness?). But I can't be sure if it was before that as well.




Information forwarded to bug-guix <at> gnu.org:
bug#51837; Package guix. (Sun, 14 Nov 2021 17:00:03 GMT) Full text and rfc822 format available.

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

From: John Kehayias <john.kehayias <at> protonmail.com>
To: "51837 <at> debbugs.gnu.org" <51837 <at> debbugs.gnu.org>
Subject: Re: [Cuirass] Wrong type: #f in cuirass/templates.scm
Date: Sun, 14 Nov 2021 16:59:17 +0000
> I've noticed not getting build detail pages for in-progress or scheduled builds. I definitely noticed in the last few days with trying to see the builds with the core-updates-frozen-batched-changes merge (there was a long gc job forceably killed, maybe other wonkiness?). But I can't be sure if it was before that as well.

I take that back, seeing (recent, at least) failed builds also not show the detail pages, like https://ci.guix.gnu.org/build/1618541/details




Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Mon, 29 Nov 2021 13:27:02 GMT) Full text and rfc822 format available.

Notification sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
bug acknowledged by developer. (Mon, 29 Nov 2021 13:27:02 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 51837-done <at> debbugs.gnu.org
Subject: Re: bug#51837: [Cuirass] Wrong type: #f in cuirass/templates.scm
Date: Mon, 29 Nov 2021 14:26:29 +0100
Hello Tobias,

This error was likely caused by the core-updates-frozen-batched-changes
specification removal in Cuirass. Some builds keep referring to removed
specifications causing unexpected behaviours.

The strange thing is that I'm using the "DELETE CASCADE" SQL property
that should remove Builds pointing to a removed specification
automatically.

Regardless of this misunderstanding, it might not be great idea to
remove specifications altogether because a build that is added by the
core-updates-frozen specification might be referred by the master
specification once the merge has happened.

I introduced specification deactivation with
https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git/commit/?id=b362f06b9134f99a476e0f2ec32335ce6ddc6e8c
to work around this problem.

This is not yet deployed, but I think it should solve the issue you
reported.

Thanks,

Mathieu






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Dec 2021 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 119 days ago.

Previous Next


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