public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Alexander Scheel <ascheel@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/jss] pqc: Disable async io tests
Date: Tue, 28 Jul 2026 16:48:48 GMT [thread overview]
Message-ID: <178525732817.1.8127639516942776433.rpms-jss-3cd9441c5470@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/jss
Branch : pqc
Commit : 3cd9441c547009bc99ea7c1eb683fccceca76314
Author : Alexander Scheel <ascheel@redhat.com>
Date : 2019-08-08T12:48:44-04:00
Stats : +83/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/jss/c/3cd9441c547009bc99ea7c1eb683fccceca76314?branch=pqc
Log:
Disable async io tests
NSS on s390x is broken:
https://bugzilla.redhat.com/show_bug.cgi?id=1730109
Ignore the problem by disabling some tests.
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
---
diff --git a/0001-Disable-buffer-based-tests.patch b/0001-Disable-buffer-based-tests.patch
new file mode 100644
index 0000000..c432844
--- /dev/null
+++ b/0001-Disable-buffer-based-tests.patch
@@ -0,0 +1,78 @@
+From ab1ba593ac9965607e60a16f3e5e75ba9ccfb505 Mon Sep 17 00:00:00 2001
+From: Alexander Scheel <ascheel@redhat.com>
+Date: Thu, 8 Aug 2019 12:35:28 -0400
+Subject: [PATCH] Disable failing tests on special arches
+
+Signed-off-by: Alexander Scheel <ascheel@redhat.com>
+---
+ cmake/JSSTests.cmake | 40 ----------------------------------------
+ 1 file changed, 40 deletions(-)
+
+diff --git a/cmake/JSSTests.cmake b/cmake/JSSTests.cmake
+index 9397f45d..ae6b0d22 100644
+--- a/cmake/JSSTests.cmake
++++ b/cmake/JSSTests.cmake
+@@ -78,19 +78,6 @@ macro(jss_tests)
+ NAME "BigObjectIdentifier"
+ COMMAND "org.mozilla.jss.tests.BigObjectIdentifier"
+ )
+- jss_test_java(
+- NAME "JSS_Test_PR_FileDesc"
+- COMMAND "org.mozilla.jss.tests.TestPRFD"
+- )
+- jss_test_java(
+- NAME "JSS_Test_Raw_SSL"
+- COMMAND "org.mozilla.jss.tests.TestRawSSL" "${RESULTS_NSSDB_OUTPUT_DIR}"
+- DEPENDS "Setup_DBs"
+- )
+- jss_test_java(
+- NAME "JSS_Test_Buffer"
+- COMMAND "org.mozilla.jss.tests.TestBuffer"
+- )
+ if ((${Java_VERSION_MAJOR} EQUAL 1) AND (${Java_VERSION_MINOR} LESS 9))
+ jss_test_java(
+ NAME "Test_PKCS11Constants.java_for_Sun_compatibility"
+@@ -121,16 +108,6 @@ macro(jss_tests)
+ NAME "JUnit_UTF8StringTest"
+ COMMAND "org.junit.runner.JUnitCore" "org.mozilla.jss.tests.UTF8StringTest"
+ )
+- jss_test_exec(
+- NAME "buffer_size_1"
+- COMMAND "${BIN_OUTPUT_DIR}/buffer_size_1"
+- DEPENDS "generate_c_buffer_size_1"
+- )
+- jss_test_exec(
+- NAME "buffer_size_4"
+- COMMAND "${BIN_OUTPUT_DIR}/buffer_size_4"
+- DEPENDS "generate_c_buffer_size_4"
+- )
+ jss_test_java(
+ NAME "JUnit_ChainSortingTest"
+ COMMAND "org.junit.runner.JUnitCore" "org.mozilla.jss.tests.ChainSortingTest"
+@@ -253,23 +230,6 @@ macro(jss_tests)
+ DEPENDS "Setup_DBs"
+ )
+
+- # SSL Engine related tests
+- jss_test_exec(
+- NAME "TestBufferPRFD_RSA"
+- COMMAND "${BIN_OUTPUT_DIR}/TestBufferPRFD" "${RESULTS_NSSDB_OUTPUT_DIR}" "${DB_PWD}" "Server_RSA"
+- DEPENDS "List_CA_certs" "generate_c_TestBufferPRFD"
+- )
+- jss_test_exec(
+- NAME "TestBufferPRFD_ECDSA"
+- COMMAND "${BIN_OUTPUT_DIR}/TestBufferPRFD" "${RESULTS_NSSDB_OUTPUT_DIR}" "${DB_PWD}" "Server_ECDSA"
+- DEPENDS "List_CA_certs" "generate_c_TestBufferPRFD"
+- )
+- jss_test_java(
+- NAME "JSS_Test_BufferPRFD"
+- COMMAND "org.mozilla.jss.tests.TestBufferPRFD" "${RESULTS_NSSDB_OUTPUT_DIR}" "${DB_PWD}"
+- DEPENDS "List_CA_certs"
+- )
+-
+ # FIPS-related tests
+ jss_test_java(
+ NAME "Enable_FipsMODE"
+--
+2.21.0
+
diff --git a/jss.spec b/jss.spec
index 60f135f..40bbda1 100644
--- a/jss.spec
+++ b/jss.spec
@@ -7,7 +7,7 @@ URL: http://www.dogtagpki.org/wiki/JSS
License: MPLv1.1 or GPLv2+ or LGPLv2+
Version: 4.6.1
-Release: 1%{?_timestamp}%{?_commit_id}%{?dist}
+Release: 2%{?_timestamp}%{?_commit_id}%{?dist}
# global _phase -a1
# To generate the source tarball:
@@ -25,6 +25,7 @@ Source: https://github.com/dogtagpki/%{name}/archive/v%{version}%{?_phas
# <version tag> \
# > jss-VERSION-RELEASE.patch
# Patch: jss-VERSION-RELEASE.patch
+Patch0: 0001-Disable-buffer-based-tests.patch
################################################################################
# Build Dependencies
@@ -159,6 +160,9 @@ cp -p *.txt $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
################################################################################
%changelog
+* Thu Aug 08 2019 Dogtag PKI Team <pki-devel@redhat.com> - 4.6.1-2
+- Disable unnecessary tests to fix broken s390x
+
* Thu Aug 08 2019 Dogtag PKI Team <pki-devel@redhat.com> - 4.6.1-1
- Rebase to JSS 4.6.1
reply other threads:[~2026-07-28 16:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178525732817.1.8127639516942776433.rpms-jss-3cd9441c5470@fedoraproject.org \
--to=ascheel@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox