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 1719014

Summary: Expired certificate prevents tests from running
Product: Red Hat Enterprise Linux 7 Reporter: Jakub Hrozek <jhrozek>
Component: lassoAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED ERRATA QA Contact: Scott Poore <spoore>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: riehecky, spoore
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lasso-2.5.1-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1719020 (view as bug list) Environment:
Last Closed: 2020-03-31 19:10:19 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:
Bug Depends On:    
Bug Blocks: 1719020    

Description Jakub Hrozek 2019-06-10 19:09:56 UTC
Description of problem:
lasso's test suite includes a test (test13_test_lasso_server_load_metadata) which loads the signed XML metadata file and checks the signatures. But the documents are signed with a certificate that expired on Mar 23 09:51:37 2019.

This means that the upstream tests fail, which typically prevents the build from passing.

It is possible to just pass NULL instead of TESTSDATADIR "/metadata/metadata-federation-renater.crt" to the lasso_server_load_metadata() call in the test test13_test_lasso_server_load_metadata() which makes the test pass, but of course at the cost of some important code paths not being tested.

Unfortunately I can't think of any way of fixing or working around this short of upstream providing a new certificate (or us patching lasso with our own metadata signed by a cert we generate), but either way, we need to get a new cert somehow.

Version-Release number of selected component (if applicable):
lasso-2.5.1-3.el7

How reproducible:
always 

Steps to Reproduce:
1. rebuild the package
2.
3.

Actual results:
tests fail

Expected results:
tests pass

Additional info:
Upstream issue: https://dev.entrouvert.org/issues/33823

Comment 3 Jakub Hrozek 2019-08-06 11:33:42 UTC
Scott, would you mind adding a qa_ack here? Just verifying that the package built is enough, currently it does not because of this bug (example of a failed build: http://download.eng.bos.redhat.com/brewroot/work/tasks/2996/22922996/build.log)

Comment 5 Scott Poore 2019-10-22 20:55:19 UTC
Verified Sanity Only.

Version:

lasso-2.5.1-5.el7.x86_64

Results:

I can see the fixed version built and installed which verifies that build time tests worked which did not before.

[root@sp1 ~]# rpm -q lasso
lasso-2.5.1-5.el7.x86_64

Also checking build log:

make[6]: Leaving directory `/builddir/build/BUILD/lasso-2.5.1/tests'
============================================================================
Testsuite summary for lasso 2.5.1
============================================================================
# TOTAL: 2
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

...

make[8]: Leaving directory `/builddir/build/BUILD/lasso-2.5.1/bindings/python/tests'
============================================================================
Testsuite summary for lasso 2.5.1
============================================================================
# TOTAL: 2
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

Comment 7 errata-xmlrpc 2020-03-31 19:10:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1002