From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6PoZMOVeDWG2gAAAgWs5BA (envelope-from ) for ; Fri, 06 Aug 2021 18:10:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KAbiK+VeDWEhOwAA1q6Kng (envelope-from ) for ; Fri, 06 Aug 2021 16:10:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 068112811E for ; Fri, 6 Aug 2021 18:10:13 +0200 (CEST) Received: from localhost ([::1]:58936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mC2QF-0007fz-0X for larch@yhetil.org; Fri, 06 Aug 2021 12:10:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC2Q6-0007fj-6G for bug-guix@gnu.org; Fri, 06 Aug 2021 12:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mC2Q5-0000me-Vv for bug-guix@gnu.org; Fri, 06 Aug 2021 12:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mC2Q5-00069R-O6 for bug-guix@gnu.org; Fri, 06 Aug 2021 12:10:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49913: python-networkx test failing Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 06 Aug 2021 16:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49913 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49913@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162826614823493 (code B ref -1); Fri, 06 Aug 2021 16:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Aug 2021 16:09:08 +0000 Received: from localhost ([127.0.0.1]:51193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC2PD-00066r-Tq for submit@debbugs.gnu.org; Fri, 06 Aug 2021 12:09:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:46376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC2PA-00066g-35 for submit@debbugs.gnu.org; Fri, 06 Aug 2021 12:09:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC2P9-0007ZF-Rj for bug-guix@gnu.org; Fri, 06 Aug 2021 12:09:03 -0400 Received: from cyberdimension.org ([2001:910:1314:ffff::1]:59120 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mC2P6-0008Su-W6 for bug-guix@gnu.org; Fri, 06 Aug 2021 12:09:03 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id ece30241 for ; Fri, 6 Aug 2021 16:01:56 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id a9e891e4 for ; Fri, 6 Aug 2021 16:01:56 +0000 (UTC) Date: Fri, 6 Aug 2021 18:09:42 +0200 From: Denis 'GNUtoo' Carikli Message-ID: <20210806180942.24070c62@primarylaptop.localdomain> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/26M=zJEsUKApqz3gavAcz30"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628266213; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=8lNxAwQsVOn5kXSpdDcJ9tCIMftTbKSSS/Ir8D3Hd1E=; b=gF4gq21501MFqPizUT6j8PBpaT3Dr9t8QDJCUbjklCWGsvQHOmN81yMYRkXwY6L6TIxTy6 kRUrNMoFC5O9Hu/meWvBFn4Xu/8NiqPJvd8ccTKd29Old3ruRBcZhH29nwxAqpzwf4/Eop J1SMLpnyG9foK/GOtoZ6c7LzDgKUlI9/Lh4UmirFrEmIyzxQ/D38OJpJLikbgvXV7vrcKO dg3rjnCTj6kanrCKjPfetdvdTJRC5XvH3YoPs3cEPqrs8GRctw2IVQ43X+7cXU8NlYb4vv Eixj5cPL4aWO5jYfvImZDrfOrFUsco3yoytMqzGLhYx3QBjIIx4ZfI0dUuk/qg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628266213; a=rsa-sha256; cv=none; b=od8u3WZsDXAkkoXn3qpimOIOhvDFHEN1eozC/xo59gPwFjrk/DBTZREYRgMmvqEWHo/IoJ o8wo+GGjjNGfTxRExtl/6AmITuizx2/yXlblB675VPTAd3Zn9ICl/ka6KN85ZGIFLBjla7 vkB0++G++yhDpbGcP1lIhVzbiZLGxChNVcBL1WGmxw3QPdKaXX4dVR8eW6GuR6W5XDOddf RRMmCmw9xvsFdZIJWKfrnAruEHp9E8d9O0MZ1py7VoT/Qsr8zdV7wfwHWRov3QMgRrkU8k 0g2xLZ6kNq78KX5iskazGrKszlBZ2mTwrf+DoPLPCV6SjaMjdLN1vSoVePfUOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.52 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 068112811E X-Spam-Score: -4.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8qXZkQY6Sg9r --Sig_/26M=zJEsUKApqz3gavAcz30 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi,=20 when trying to install fdroidserver, I have the following build failure in the tests with python-networkx: > building > /gnu/store/64a09gnkl01k6vcwrn1cvv1v8nm88xhb-python-networkx-2.5.1.drv... > 100% 'check' > [###########################################################]builder > for > `/gnu/store/64a09gnkl01k6vcwrn1cvv1v8nm88xhb-python-networkx-2.5.1.drv' > failed with exit code 1 build of > /gnu/store/64a09gnkl01k6vcwrn1cvv1v8nm88xhb-python-networkx-2.5.1.drv > failed View build log at > '/var/log/guix/drvs/64/a09gnkl01k6vcwrn1cvv1v8nm88xhb-python-networkx-2.5= .1.drv.bz2'. [...] > networkx/utils/tests/test_random_sequence.py::test_random_weighted_choice= PASSED [ 99%] > networkx/utils/tests/test_rcm.py::test_reverse_cuthill_mckee PASSED = [ 99%] > networkx/utils/tests/test_rcm.py::test_rcm_alternate_heuristic PASSED = [ 99%] > networkx/utils/tests/test_unionfind.py::test_unionfind PASSED = [ 99%] > networkx/utils/tests/test_unionfind.py::test_subtree_union PASSED = [ 99%] > networkx/utils/tests/test_unionfind.py::test_unionfind_weights PASSED = [ 99%] > networkx/utils/tests/test_unionfind.py::test_empty_union PASSED = [100%] >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D FAILURES =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ____________________ TestWeightedPath.test_weight_functions _____________= _______ >=20 > self =3D >=20 > def test_weight_functions(self): > def heuristic(*z): > return hash(z) > =20 > def getpath(pred, v, s): > return [v] if v =3D=3D s else getpath(pred, pred[v], s) + [v] > =20 > def goldberg_radzik(g, s, t, weight=3D"weight"): > pred, dist =3D nx.goldberg_radzik(g, s, weight=3Dweight) > dist =3D dist[t] > return dist, getpath(pred, t, s) > =20 > def astar(g, s, t, weight=3D"weight"): > path =3D nx.astar_path(g, s, t, heuristic, weight=3Dweight) > dist =3D nx.astar_path_length(g, s, t, heuristic, weight=3Dwe= ight) > return dist, path > =20 > def vlp(G, s, t, l, F, w): > res =3D F(G, s, t, weight=3Dw) > validate_length_path(G, s, t, l, *res, weight=3Dw) > =20 > G =3D self.cycle > s =3D 6 > t =3D 4 > path =3D [6] + list(range(t + 1)) > =20 > def weight(u, v, _): > return 1 + v ** 2 > =20 > length =3D sum(weight(u, v, None) for u, v in pairwise(path)) > vlp(G, s, t, length, nx.bidirectional_dijkstra, weight) > vlp(G, s, t, length, nx.single_source_dijkstra, weight) > vlp(G, s, t, length, nx.single_source_bellman_ford, weight) > vlp(G, s, t, length, goldberg_radzik, weight) > > vlp(G, s, t, length, astar, weight) >=20 > networkx/algorithms/shortest_paths/tests/test_weighted.py:233:=20 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _= _ _ _=20 > networkx/algorithms/shortest_paths/tests/test_weighted.py:218: in vlp > validate_length_path(G, s, t, l, *res, weight=3Dw) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _= _ _ _=20 >=20 > G =3D , s =3D 6, t =3D= 4 > soln_len =3D 35, length =3D 43, path =3D [6, 5, 4] > weight =3D .weig= ht at 0xb4a2f538> >=20 > def validate_length_path(G, s, t, soln_len, length, path, weight=3D"w= eight"): > > assert soln_len =3D=3D length > E assert 35 =3D=3D 43 > E -35 > E +43 >=20 > networkx/algorithms/shortest_paths/tests/test_weighted.py:29: AssertionEr= ror > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1 failed, 3517 passed, 182 skipped in 2= 46.61s (0:04:06) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > command "pytest" "-vv" "--pyargs" "networkx" failed with status 1 I've the following setup: Host distribution: Parabola i686 with an x86_64 kernel (linux-libre-64) Guix: Guix i686 Do I need to give more information? Denis. --Sig_/26M=zJEsUKApqz3gavAcz30 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmENXsYACgkQX138wUF3 4mMifw/8C1SfvHXRDrCkzLADVLy2LRgS+fgIUGxgPjGzBRh+r4KdzdTjPpe4Z5e3 YZrZExoFVHjrGlwiLsRUpa3DFamVF+azzgjVB2bOqu3LybwDOjadu95VRW/qmSnF eif+E2kJTlUQVVvjdEIPpBEy5hcW8SGq0NoV0yXcgmjEm4TEwkCB0EG2dOb42DfD 3rR8Sbhs45m+bnxqdSEfQan1J6ZdQw2Xg55JOgjEjROp6CUlvLRMEOJA6mkwLaW9 I+7nqAsGCI4GMkp8hP/PekUR/eSCU6VirX/JriiYvEa2XeJzN6Y38NcvpyCHGXhG OCNHNT6r0mT3WPAJKx4sU1tnrmwf19fQfS/55/TSYSiUxLvDmlzjAjsC3Tzpi/cQ usq9/aQDrpfj/nUdKBponAzrdUj5qSZD//Cta1qOsJmKBjNOeVj3ECbUjrN1qbiq vm5BUEcaHvjR1RRc0FHdM5/xBaF7hHP/4dXRNaJYpAxDhi7t6hGWwoLC4pAmOMRm fpWP5/xqKJLKsrZVUZhDT6lKTe/HU2Jjr/+H4G4Kn0/+0D+keNEiJP7cXy4xKUgH 3RDHlX0af94fbc4bBU7+6f2rYMLbQyrCisaOPooEhGcFslWWz82aD2dYgOT9L0Kc lFbgGnCntun1y9OmZW75Gj/fBKEDAfSIWjCySwMVsWBqMCTyBBU= =C5a0 -----END PGP SIGNATURE----- --Sig_/26M=zJEsUKApqz3gavAcz30--