From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MNQ+NYtm8mLtFAEAbAwnHQ (envelope-from ) for ; Tue, 09 Aug 2022 15:52:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SJRONItm8mKOhQAAG6o9tA (envelope-from ) for ; Tue, 09 Aug 2022 15:52:11 +0200 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 88C2A2D42 for ; Tue, 9 Aug 2022 15:52:11 +0200 (CEST) Received: from localhost ([::1]:45780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLPeU-0001eQ-ID for larch@yhetil.org; Tue, 09 Aug 2022 09:52:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLPeM-0001eI-EG for bug-guix@gnu.org; Tue, 09 Aug 2022 09:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLPeM-0004a4-5Y for bug-guix@gnu.org; Tue, 09 Aug 2022 09:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLPeL-0001Ka-Up for bug-guix@gnu.org; Tue, 09 Aug 2022 09:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57039: `make check' yields two failed tests. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 13:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57039 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Cc: 57039@debbugs.gnu.org Received: via spool by 57039-submit@debbugs.gnu.org id=B57039.16600530765064 (code B ref 57039); Tue, 09 Aug 2022 13:52:01 +0000 Received: (at 57039) by debbugs.gnu.org; 9 Aug 2022 13:51:16 +0000 Received: from localhost ([127.0.0.1]:42912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLPdb-0001Jc-Gb for submit@debbugs.gnu.org; Tue, 09 Aug 2022 09:51:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLPdS-0001Iy-FT for 57039@debbugs.gnu.org; Tue, 09 Aug 2022 09:51:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLPdN-0004NN-3K; Tue, 09 Aug 2022 09:51:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=3wKDdVZ5iLpkgiVgQR44Ts08noEYn7xWPUte6uowheg=; b=Ossv5xiZlBgloe+1zMfj Gc6yBMCV9wyUgMeo83nM77HIH1nqGnIdsAT3ZIZ+fB2+hVZf5AH7A9TLQWx9NcCv9b3AVm0u4zpuF Y8fVJVPnh/Qsc8EyLWBRxbIsqceM1R/et3LkeYUHi3SsLBcBSvt/ohAxbhSOO5k1HfjLl+6DnsPMa GG/MNeC1nRjcMJWTsQy5bSKhLbmE8qNb/sCArQR66LKEPe91mDhahopoB3qT9JNtQ9QCrVYAvMukt +YRZIr0zaewRGtMHDfWZ0TyvPobDYcq3ZHERJZ1KQMeqhzI82pssnWG8sZLC8o5Aw+Fe4r8SKV2Rg ZkYk/cFUCYVplQ==; Received: from [193.50.110.201] (port=40818 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLPdM-0002kY-Mv; Tue, 09 Aug 2022 09:51:00 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <7489b352818b7c33071c23f385f9017cb89c78c1.camel@phfrohring.com> Date: Tue, 09 Aug 2022 15:50:58 +0200 In-Reply-To: <7489b352818b7c33071c23f385f9017cb89c78c1.camel@phfrohring.com> ("Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?="'s message of "Sun, 07 Aug 2022 16:13:33 +0200") Message-ID: <87a68d7cfx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660053131; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3wKDdVZ5iLpkgiVgQR44Ts08noEYn7xWPUte6uowheg=; b=J8q6PuX9ADbvARhpF3gayHolLGVNm30S/WXXZ2J5uWEGqGQI6m5NgmhPY7mJW7Vam4LjV/ DYy382762Xjf5a7v4R+2g9rh8ZgpsVZN5m/ZcBBwiUZ21mSkj6gz0J/pxZyucH+xWQMiAz RQtSX2mheGmQmmixsmc9B+JNw7VW30bkJbQQfuAYScf1NaV+wJqbTa2VhGo8HJUbz4BZeZ ql1FKEuqaub9M/gIqp9Y05pvzltWkv6nuMOwnZzxE4KgXIRoChS9cqTwQDnmurPy/RS0D/ kbO3nsX3AqJFb/tMUXvq3tej2qHCFwNC92rfaZyAsSl4SjSO0vOPLtfKPA2kfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660053131; a=rsa-sha256; cv=none; b=Ebirdok3q7R4t5d2Hz81Uxtnr28HYlMZ0hS2rjM3iP09wAtIPRRX/8BadkR6ShCa2fy9xc tTKq22uEo1Mw/hxaFWzgaVcaj4rlTPcPY/mCNxhuuO2Omw7pH1vofoFMzVfkXfdpGhb/pk X7j2dKMuV3ISvkqrHbHm5FMcAIX6Wgch+Z/TofuN+d1nYhfhNvCa/cxiX2DwogP9hFevjl 8XgFcQaXDW9h0BqT0WSu9qpuqVtb24H7x723z2qy07bQuqLC0vhK7Ro+WfumtSh0vQdlNg 4AYQ+1wPhorBtX0yT4WwbqH6/yiRd2/gYu7y+VRuLGW6RnIP6d3KMQOpCzJVOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Ossv5xiZ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Ossv5xiZ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 88C2A2D42 X-Spam-Score: -5.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: YKGYhLPeaCpK Hi, Pierre-Henry Fr=C3=B6hring skribis: > test-name: channel-news, one entry > location: /home/phf/src/guix/tests/channels.scm:323 > source: > + (test-assert > + "channel-news, one entry" [...] > + (entry (tag "tag-for-first-news-entry") > + (title (en "Old news.") (eo "Malnova?oj.")) The question mark here suggests you=E2=80=99re not running the tests with a UTF-8 locale. Could you add, say, =E2=80=98glibc-locales=E2=80=99 to your environment, en= sure GUIX_LOCPATH points to it, and set LC_ALL=3Den_US.UTF-8 (or similar)? > ;;; (fail (package (name "python-foo") (version "1.0.0") (source (origin = (method url-fetch) (uri (pypi-uri "foo" version)) (sha256 (base32 "03ygiww1= c9fdgs998x4rqhxa73gq0r30rp0vq50q022wp1d6w0cz")))) (build-system python-buil= d-system) (propagated-inputs (list python-wrong)) (home-page "http://exampl= e.com") (synopsis "summary") (description "summary") (license license:lgpl2= .0)) #f) > test-name: pypi->guix-package, wheels > location: /home/phf/src/guix/tests/pypi.scm:276 > source: > + (test-assert > + "pypi->guix-package, wheels" > + (mock ((guix import utils) > + url-fetch > + (lambda (url file-name) > + (match url > + ("https://example.com/foo-1.0.0.tar.gz" > + (begin > + (mkdir-p "foo-1.0.0/foo.egg-info/") > + (with-output-to-file > + "foo-1.0.0/foo.egg-info/requires.txt" > + (lambda () > + (display > + "wrong data to make sure we're testing wheel= s "))) > + (parameterize > + ((current-output-port (%make-void-port "rw+"))) > + (system* "tar" "czvf" file-name "foo-1.0.0/")) > + (delete-file-recursively "foo-1.0.0") > + (set! test-source-hash > + (call-with-input-file file-name port-sha256)))) > + ("https://example.com/foo-1.0.0-py2.py3-none-any.whl" > + (begin > + (mkdir "foo-1.0.0.dist-info") > + (with-output-to-file > + "foo-1.0.0.dist-info/METADATA" > + (lambda () (display test-metadata))) > + (let ((zip-file (string-append file-name ".zip"))) > + (system* > + "zip" > + "-q" > + zip-file > + "foo-1.0.0.dist-info/METADATA") > + (rename-file zip-file file-name)) > + (delete-file-recursively "foo-1.0.0.dist-info"))) > + (_ (error "Unexpected URL: " url))))) > + (mock ((guix http-client) > + http-fetch > + (lambda (url . rest) > + (match url > + ("https://pypi.org/pypi/foo/json" > + (values > + (open-input-string test-json-1) > + (string-length test-json-1))) > + ("https://example.com/foo-1.0.0-py2.py3-none-an= y.whl" > + #f) > + (_ (error "Unexpected URL: " url))))) > + (invalidate-memoization! pypi->guix-package) > + (match (pypi->guix-package "foo") > + (('package > + ('name "python-foo") > + ('version "1.0.0") > + ('source > + ('origin > + ('method 'url-fetch) > + ('uri ('pypi-uri "foo" 'version)) > + ('sha256 ('base32 (? string? hash))))) > + ('build-system 'python-build-system) > + ('propagated-inputs > + ('list 'python-bar 'python-baz)) > + ('native-inputs ('list 'python-pytest)) > + ('home-page "http://example.com") > + ('synopsis "summary") > + ('description "summary") > + ('license 'license:lgpl2.0)) > + (string=3D? > + (bytevector->nix-base32-string test-source-hash) > + hash)) > + (x (pk 'fail x #f)))))) > actual-value: #f > result: FAIL Not sure about that one. Does it still occur on current =E2=80=98master=E2= =80=99? See on how to run only tests from =E2=80=98tests/pypi.scm=E2=80=99. Thanks, Ludo=E2=80=99.