Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1088366

Summary: Upstream test suite fails in FIPS mode
Product: Red Hat Enterprise Linux 7 Reporter: Alicja Kario <hkario>
Component: nssAssignee: nss-nspr-maint <nss-nspr-maint>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 7.0CC: dueno, eparis, hkario, kengert, ksrot, nkinder, nmavrogi, rrelyea
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-15 09:51:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
work-in-progress-v1 none

Description Alicja Kario 2014-04-16 13:43:43 UTC
Description of problem:
When running build in FIPS mode, the test suite fails

Version-Release number of selected component (if applicable):
nss-3.15.4-6.el7.x86_64
nspr-devel-4.10.2-4.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Setup system to fips mode
2. rpmbuild nss

Actual results:
<snip>
SUMMARY:
========
NSS variables:
--------------
HOST=localhost
DOMSUF=localdomain
BUILD_OPT=1
USE_64=1
NSS_CYCLES=""
NSS_TESTS=""
NSS_SSL_TESTS="crl bypass_normal normal_bypass fips_normal normal_fips iopr"
NSS_SSL_RUN="cov auth stapling stress"
NSS_AIA_PATH=
NSS_AIA_HTTP=
NSS_AIA_OCSP=
IOPR_HOSTADDR_LIST=
PKITS_DATA=

Tests summary:
--------------
Passed:             1538
Failed:             1961
Failed with core:   0
Unknown status:     0

+ cd ../../
+ killall selfserv_9393
selfserv_9393: no process found
+ :
++ grep -c FAILED ./tests_results/security/localhost.1/output.log
+ TEST_FAILURES=1982
+ '[' 1982 -ne 0 ']'
+ echo 'error: test suite returned failure(s)'
error: test suite returned failure(s)
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.1DwFEc (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.1DwFEc (%check)

Expected results:
Test suite pass, build successful

Additional info:
While technically it is a regression (the test suite worked in fips mode in rhel-6), it is caused by the fact that now NSS honours system FIPS setting.

Comment 8 Elio Maldonado Batiz 2015-08-19 12:32:47 UTC
In a beaker test system I ran TCMS Test Case 173278 and it passed.
:: [   LOG    ] :: Installed:    : nss-3.19.1-9.el7.x86_64 
Need dev and qa ack granted and recommend asking for an exception.

Comment 22 Kai Engert (:kaie) (inactive account) 2016-03-22 18:24:44 UTC
Created attachment 1139192 [details]
work-in-progress-v1

Comment 24 Kai Engert (:kaie) (inactive account) 2016-11-16 14:56:17 UTC
The util parts of the work-in-progress patch will land upstream with 
https://bugzilla.mozilla.org/show_bug.cgi?id=1317981