From ce1f6a31be4df573e45b700162505be25dd95c28 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 9 Jun 2022 09:28:05 +0300 Subject: [PATCH] Disable testsuite on riscv64 for now The results are: Tests summary: -------------- Passed: 83502 Failed: 5 Failed with core: 0 ASan failures: 0 Unknown status: 2 TinderboxPrint:Unknown: 2 4 tests are failing with: ERROR -8181: Peer's Certificate has expired. This is because the following certificate is expired: nss-3.71/nss/tests/libpkix/certs/PayPalEE.cert This is the final failing test: ------------- time ---------------------- real 1.39 user 1.10 sys 0.29 1 seconds sdr.sh: #9: pwdecrypt no time regression - FAILED pwdecrypt needs to deliver 300 entires <1 second. Unmatched board is too slow. Signed-off-by: David Abdurachmanov --- nss.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nss.spec b/nss.spec index f72fedb..c6bd2af 100644 --- a/nss.spec +++ b/nss.spec @@ -6,7 +6,11 @@ %global dracut_modules_dir %{dracutlibdir}/modules.d/05nss-softokn/ %global dracut_conf_dir %{dracutlibdir}/dracut.conf.d +%ifnarch riscv64 %bcond_without tests +%else +%bcond_with tests +%endif %bcond_with dbm # Produce .chk files for the final stripped binaries @@ -44,7 +48,7 @@ rpm.define(string.format("nss_release_tag NSS_%s_RTM", Summary: Network Security Services Name: nss Version: %{nss_version} -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} License: MPLv2.0 URL: http://www.mozilla.org/projects/security/pki/nss/ Requires: nspr >= %{nspr_version} @@ -905,6 +909,9 @@ update-crypto-policies &> /dev/null || : %changelog +* Thu Jun 9 2022 David Abdurachmanov - 3.71.0-1.0.riscv64 +- Disable tests on riscv64 + * Tue Oct 5 2021 Bob Relyea - 3.71.0-1 - Update NSS to 3.71