GNU bug report logs - #36912
JSON-related tests failing on latest master branch

Previous Next

Package: guix;

Reported by: Brian Leung <bkleung89 <at> gmail.com>

Date: Sat, 3 Aug 2019 20:00:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

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 36912 in the body.
You can then email your comments to 36912 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#36912; Package guix. (Sat, 03 Aug 2019 20:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Leung <bkleung89 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 03 Aug 2019 20:00:02 GMT) Full text and rfc822 format available.

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

From: Brian Leung <bkleung89 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: JSON-related tests failing on latest master branch
Date: Sat, 3 Aug 2019 21:59:00 +0200
[Message part 1 (text/plain, inline)]
For example, `make check TESTS="tests/swh.scm"` yields two failing tests.
Running one of the package-manager test suites (such as gem.scm)` will also
produce some failing tests.
[Message part 2 (text/html, inline)]

Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Mon, 05 Aug 2019 13:25:02 GMT) Full text and rfc822 format available.

Notification sent to Brian Leung <bkleung89 <at> gmail.com>:
bug acknowledged by developer. (Mon, 05 Aug 2019 13:25:02 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bkleung89 <at> gmail.com
Cc: 36912-done <at> debbugs.gnu.org
Subject: Re: bug#36912: JSON-related tests failing on latest master branch
Date: Mon, 05 Aug 2019 15:24:04 +0200
Brian Leung <bkleung89 <at> gmail.com> writes:

> For example, `make check TESTS="tests/swh.scm"` yields two failing tests.
> Running one of the package-manager test suites (such as gem.scm)` will also
> produce some failing tests.

This is not actually a bug.

We switched from Guile JSON 1.x to 3.x, which has a different
intermediate representation for JSON data structures.

swh.scm and all other modules have been modified, but when you run “guix
environment guix” you still get an environment with Guile JSON 1.x.
This leads to the test failure.

This problem disappears when you run “guix environment guix --ad-hoc
guile-json”; it will disappear when the “guix” package is upgraded to
point to the latest version of Guile JSON.

-- 
Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#36912; Package guix. (Mon, 05 Aug 2019 15:12:02 GMT) Full text and rfc822 format available.

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

From: Brian Leung <bkleung89 <at> gmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 36912-done <at> debbugs.gnu.org
Subject: Re: bug#36912: JSON-related tests failing on latest master branch
Date: Mon, 5 Aug 2019 17:10:34 +0200
[Message part 1 (text/plain, inline)]
Got it, thanks for your response.

On Mon, Aug 5, 2019 at 3:24 PM Ricardo Wurmus <rekado <at> elephly.net> wrote:

>
> Brian Leung <bkleung89 <at> gmail.com> writes:
>
> > For example, `make check TESTS="tests/swh.scm"` yields two failing tests.
> > Running one of the package-manager test suites (such as gem.scm)` will
> also
> > produce some failing tests.
>
> This is not actually a bug.
>
> We switched from Guile JSON 1.x to 3.x, which has a different
> intermediate representation for JSON data structures.
>
> swh.scm and all other modules have been modified, but when you run “guix
> environment guix” you still get an environment with Guile JSON 1.x.
> This leads to the test failure.
>
> This problem disappears when you run “guix environment guix --ad-hoc
> guile-json”; it will disappear when the “guix” package is upgraded to
> point to the latest version of Guile JSON.
>
> --
> Ricardo
>
>
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Sep 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 349 days ago.

Previous Next


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