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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#36912: closed (JSON-related tests failing on latest master
 branch)
Date: Mon, 05 Aug 2019 13:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 05 Aug 2019 15:24:04 +0200
with message-id <87lfw7zqx7.fsf <at> elephly.net>
and subject line Re: bug#36912: JSON-related tests failing on latest master branch
has caused the debbugs.gnu.org bug report #36912,
regarding JSON-related tests failing on latest master branch
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
36912: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36912
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
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



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.