From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#36912: JSON-related tests failing on latest master branch Date: Mon, 05 Aug 2019 15:24:04 +0200 Message-ID: <87lfw7zqx7.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55223) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hucz1-00022T-Ur for bug-guix@gnu.org; Mon, 05 Aug 2019 09:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hucz1-00064d-1e for bug-guix@gnu.org; Mon, 05 Aug 2019 09:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54244) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hucz0-00064P-PX for bug-guix@gnu.org; Mon, 05 Aug 2019 09:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hucz0-0003Rz-LF for bug-guix@gnu.org; Mon, 05 Aug 2019 09:25:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-reply-to: 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: bkleung89@gmail.com Cc: 36912-done@debbugs.gnu.org Brian Leung writes: > For example, `make check TESTS=3D"tests/swh.scm"` yields two failing test= s. > Running one of the package-manager test suites (such as gem.scm)` will al= so > 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 pack= age is upgraded to point to the latest version of Guile JSON. --=20 Ricardo