From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Leung Subject: bug#36912: JSON-related tests failing on latest master branch Date: Mon, 5 Aug 2019 17:10:34 +0200 Message-ID: References: <87lfw7zqx7.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006161a8058f601e06" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47248) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hueea-0001Wu-HB for bug-guix@gnu.org; Mon, 05 Aug 2019 11:12:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hueeY-00066L-Su for bug-guix@gnu.org; Mon, 05 Aug 2019 11:12:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55096) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hueeY-00065m-BY for bug-guix@gnu.org; Mon, 05 Aug 2019 11:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hueeY-0006Ay-4F for bug-guix@gnu.org; Mon, 05 Aug 2019 11:12:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lfw7zqx7.fsf@elephly.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 36912-done@debbugs.gnu.org --0000000000006161a8058f601e06 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Got it, thanks for your response. On Mon, Aug 5, 2019 at 3:24 PM Ricardo Wurmus wrote: > > Brian Leung writes: > > > For example, `make check TESTS=3D"tests/swh.scm"` yields two failing te= sts. > > 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 =E2=80= =9Cguix > environment guix=E2=80=9D you still get an environment with Guile JSON 1.= x. > This leads to the test failure. > > This problem disappears when you run =E2=80=9Cguix environment guix --ad-= hoc > guile-json=E2=80=9D; it will disappear when the =E2=80=9Cguix=E2=80=9D pa= ckage is upgraded to > point to the latest version of Guile JSON. > > -- > Ricardo > > --0000000000006161a8058f601e06 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Got it, thanks for your response.

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

Brian Leung <bk= leung89@gmail.com> writes:

> For example, `make check TESTS=3D"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 =E2=80= =9Cguix
environment guix=E2=80=9D you still get an environment with Guile JSON 1.x.=
This leads to the test failure.

This problem disappears when you run =E2=80=9Cguix environment guix --ad-ho= c
guile-json=E2=80=9D; it will disappear when the =E2=80=9Cguix=E2=80=9D pack= age is upgraded to
point to the latest version of Guile JSON.

--
Ricardo

--0000000000006161a8058f601e06--