From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sCCeCZRfnmZ7OAAA62LTzQ:P1 (envelope-from ) for ; Mon, 22 Jul 2024 13:33:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sCCeCZRfnmZ7OAAA62LTzQ (envelope-from ) for ; Mon, 22 Jul 2024 15:33:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721655188; 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: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; bh=JBx1N1JmazYRRRwltZ899p5fcfkkcXiwFFW1cOfRzBA=; b=N6OjLhKWgDq09ssa6e8yb76Kt28JnhR3tvfv9bTEEH9CylxZSd3YWCvZF4wnaNbD+OkaXW DhDjvAKPpzYCkuyVe6aakX2HG3d+Au/ac9Qsw/4eHUdTNmISYCCby0ZNJ35nxsbuDvLdOu /yWRZJAUv7xVX+/X9lHQ+hALnGw3m7NZpNkZQsvDzE1VbRM36NHk2BzvS4mfsaLfAl4DLc BQx7HmXQ1BW6KZjoMb4Ml1yFgfPqmB7rF2jzO5LGti53bOtPGL2Gby6tSoCoMaBrYLHYsx Mk5+MmylO/lF48SJ1nwnuT/XDVLfetx3rlmS7J6kfuizj1woADWcXyv0TQ4JXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721655188; a=rsa-sha256; cv=none; b=ZFUtakuUrmfWD2SCmqTVvKAm64dLV//blc7EdP3UgQShIX7yt5jP55ENqfPKyt/8MGMOgH q4CDlZg6VcA9554wGvfDN50bdTBt/p93/1qE26O0i6Bav8y6vk/fnT5z1+Uamxf39bqNiX Z1n8yz47mHhOdOfVzqXrjBPHVwOEWbIX1/vreoKaXiy+uE1QntOqtRiBeQNCrdq5Ez7mI4 nd006w8b5BUt5tcv16r2o89jVKo3d/mj3USLNwuimHX2yc8quOKxMilDIyqHfMKFPqrWI7 /cC340ak91Wp1Tgi3jp5fUgn2b9hXsv3n8rBYEYrNVY8QbeWp2SxqxA7eyoyjA== 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 9BF3075E6A for ; Mon, 22 Jul 2024 15:33:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVsaD-00082n-Fe; Mon, 22 Jul 2024 08:56:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVsa7-00082H-Lr for bug-guix@gnu.org; Mon, 22 Jul 2024 08:55:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVsa7-0003Ga-DV for bug-guix@gnu.org; Mon, 22 Jul 2024 08:55:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVsaA-000173-EP for bug-guix@gnu.org; Mon, 22 Jul 2024 08:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72239: libfaketime (still) broken on i686-linux Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Jul 2024 12:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72239 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Z572 <873216071@qq.com>, 72239@debbugs.gnu.org Received: via spool by 72239-submit@debbugs.gnu.org id=B72239.17216529294232 (code B ref 72239); Mon, 22 Jul 2024 12:56:02 +0000 Received: (at 72239) by debbugs.gnu.org; 22 Jul 2024 12:55:29 +0000 Received: from localhost ([127.0.0.1]:57191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVsZd-00016C-2Z for submit@debbugs.gnu.org; Mon, 22 Jul 2024 08:55:29 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVsZZ-000162-Te for 72239@debbugs.gnu.org; Mon, 22 Jul 2024 08:55:27 -0400 Received: from localhost (unknown [212.132.255.81]) by mira.cbaines.net (Postfix) with ESMTPSA id E34A827BBE2; Mon, 22 Jul 2024 13:55:21 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 07854d90; Mon, 22 Jul 2024 12:55:21 +0000 (UTC) From: Christopher Baines In-Reply-To: <87cyn5lx9q.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 22 Jul 2024 09:08:01 +0200") References: <87ikwyl72s.fsf@inria.fr> <87cyn5lx9q.fsf@gnu.org> User-Agent: mu4e 1.12.4; emacs 29.3 Date: Mon, 22 Jul 2024 13:55:19 +0100 Message-ID: <87le1t60y0.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -8.51 X-Migadu-Queue-Id: 9BF3075E6A X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.51 X-TUID: MvGPfjdTu0YN --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Ludovic Court=C3=A8s skribis: > >> So the easiest short-term solution seems to be using datefudge to run >> the =E2=80=98nss=E2=80=99 tests on 32-bit platforms, as Chris already su= ggested before >> (patch below; it=E2=80=99s being built right now, I=E2=80=99ll see tomor= row if it >> worked=E2=80=A6). > > It failed: > > --8<---------------cut here---------------start------------->8--- > $ gunzip < /var/log/guix/drvs/yk/8dxp7v6v29nbhkyiv5x8sk04gszycm-nss-3.99.= drv.gz | tail -20 > NSS_DISABLE_HW_SHA2=3D > NSS_DISABLE_PCLMUL=3D > NSS_DISABLE_AVX=3D > NSS_DISABLE_ARM_NEON=3D > NSS_DISABLE_SSSE3=3D > > Tests summary: > -------------- > Passed: 79015 > Failed: 2 > Failed with core: 0 > ASan failures: 0 > Unknown status: 2 > TinderboxPrint:Unknown: 2 > > error: in phase 'check': uncaught exception: > %exception #<&invoke-error program: "datefudge" arguments: ("2024-01-23" = "./nss/tests/all.sh") exit-status: 1 term-signal: #f stop-signal: #f> > phase `check' failed after 12784.8 seconds > command "datefudge" "2024-01-23" "./nss/tests/all.sh" failed with status 1 > build process 18 exited with status 256 > > $ zgrep -B5 ' - FAILED$' /var/log/guix/drvs/yk/8dxp7v6v29nbhkyiv5x8sk04gs= zycm-nss-3.99.drv.gz > [ FAILED ] Pkcs11RsaPssTestWycheproof.RsaPss4096Sha256 > [ FAILED ] Pkcs11RsaPssTestWycheproof.RsaPss4096Sha512 > [ FAILED ] Pkcs11RsaPssTestWycheproof.RsaPssMisc > > 39 FAILED TESTS > gtests.sh: #54: pk11_gtest run successfully - FAILED > - > [ FAILED ] Pkcs11RsaPssTestWycheproof.RsaPss4096Sha256 > [ FAILED ] Pkcs11RsaPssTestWycheproof.RsaPss4096Sha512 > [ FAILED ] Pkcs11RsaPssTestWycheproof.RsaPssMisc > > 39 FAILED TESTS > gtests.sh: #54: pk11_gtest run successfully - FAILED > --8<---------------cut here---------------end--------------->8--- > > Not sure if it=E2=80=99s because datefudge doesn=E2=80=99t interpose on e= very symbol > that we need or if there=E2=80=99s another problem. > > Thoughts? So you can run just this failing gtests by adding (setenv "NSS_TESTS" "gtests") to the check phase. Then if you build with datefudge and without datefudge, there's some difference in the output when the testsuite starts. When running without datefudge, the tests work and the cd in gtests.sh seems to fail: Running tests for gtests TIMESTAMP gtests BEGIN: Mon Jul 22 10:09:27 UTC 2024 ./gtests.sh: line 25: cd: ./nss/tests: No such file or directory /tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests/gtests But when running with datefudge, the cd seems to work, but the tests fail: Running tests for gtests TIMESTAMP gtests BEGIN: Tue Jan 23 00:00:01 UTC 2024 /tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests This seems to relate to the test failures, as they seem to fail reading a JSON file because they're using the wrong filename: [----------] 1 test from Pkcs11AESKeyWrapKwpTest [ RUN ] Pkcs11AESKeyWrapKwpTest.TestVectors json_reader.cc:13: Failure Value of: f_ Actual: false Expected: true error opening vectors from: /tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tes= ts/../../gtests/pk11_gtest/../common/testvectors/kwp-vectors.json json_reader.cc:130: Failure Failed Unexpected '\0' json_reader.cc:49: Failure Expected equality of these values: take() Which is: '\0' ':' Which is: ':' (58, 0x3A) pk11_aeskeywrapkwp_unittest.cc:120: Failure Expected equality of these values: "numberOfTests" r.ReadLabel() Which is: "" [ FAILED ] Pkcs11AESKeyWrapKwpTest.TestVectors (0 ms) There's two many .. here, it should be /tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests/../gtests/pk11_gtest/../c= ommon/testvectors/kwp-vectors.json Removing the cd line from the gtests.sh script seems to get the package to build for i686-linux with datefudge, so I've sent a patch (#72244) to this effect. It's odd that the cd command works but the tests fail though. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmaeVrdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcWdhAAiNyxv2w+4orZIupxCsxBj1J+bmZfDaWR 92ZcOQ03y1ECAdlM7HK/StnTx2moRhCIctiRB52TDd7yVJxM0V1TuOyKSr9gNgka U7/xmleAjgPSAbzr+Fw27GTPXgR02aBS0ZJy+ZNkkwN5mXrZccK9AE4PuBQO1827 MysovG6L5DMypuS+8tafYyDgeZ7TZsx9whVUWUHEb+wMAvwp52BHnt39IPI0L2cg 3UnxsiUiZTBPuSS+ddvwTO8utxsBicwDDZYzdCWyfycYllbi/X7Ve0NslWyJ2p2Z sSBm9IQNjHEg7iFXBsAVz7u0gNVFLBX/TNatRxVVMSnzbprC/dlTiS/6OzKQ93I2 OC07yBnoDwWo6PuOTnq8h5d1kFZQfc4v86dJ1zAH/UMps3eKBF5WUkwS5+opAGFN FcdXIQashi0foo/agKmmqDM5nQrswMTors7JzD+ugJhUZecU6zXTb/idZhUWcTJ1 wOlSlOrAvfhZWBx4DtZFIzOeFfyk+2XiHh7aNlTw5SSHTBa7GXvjt3b6iAmnK67e TWwSBnldVDvrG0eoCZV2SV+8XQArVGinrxRJQOWnty69WYz7J6jDdZx+8V/IS6OH TVQGvKZmsQauFH93JNuQPfRiOP8NmMD5TIuZxHVWv8jCJQa65Jene8NRHb1uwxIV TTfpF26piPM= =0rIH -----END PGP SIGNATURE----- --=-=-=--