Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1705700

Summary: lasso FTBFS because an expired certificate is used in the tests
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: lassoAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jdennis, jhrozek, ppisar, rcritten, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/6258310
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-03 13:53:25 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: 1700317, 1686977, 1732841    
Attachments:
Description Flags
Full log from Copr none

Description Miro Hrončok 2019-05-02 19:15:16 UTC
Created attachment 1561936 [details]
Full log from Copr

lasso 2.6.0-12.fc31 fails to build with Python 3.8.
The failure might (not) be Python 3.8 related:

make  check-TESTS
make[4]: Entering directory '/builddir/build/BUILD/lasso-2.6.0/tests'
make[5]: Entering directory '/builddir/build/BUILD/lasso-2.6.0/tests'
FAIL: tests
PASS: tests2
============================================================================
Testsuite summary for lasso 2.6.0
============================================================================
# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to lasso-devel.libre-entreprise.org
============================================================================
make[5]: Leaving directory '/builddir/build/BUILD/lasso-2.6.0/tests'
make[5]: *** [Makefile:966: test-suite.log] Error 1
make[4]: *** [Makefile:1074: check-TESTS] Error 2
make[3]: *** [Makefile:1179: check-am] Error 2
make[4]: Leaving directory '/builddir/build/BUILD/lasso-2.6.0/tests'
make[3]: Leaving directory '/builddir/build/BUILD/lasso-2.6.0/tests'
make[2]: Leaving directory '/builddir/build/BUILD/lasso-2.6.0/tests'
make[2]: *** [Makefile:858: check-recursive] Error 1
make[1]: *** [Makefile:575: check-recursive] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/lasso-2.6.0'
make: *** [Makefile:870: check] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.fwpjDt (%check)

Full log attached.

Comment 1 Jakub Hrozek 2019-05-03 10:04:02 UTC
Thank you for the bug report. I don't think this is related to Python3.8 because the test that fails is an ordinary C test. Is the environment you tested with reproducable? (e.g. a mock config?)

Comment 2 Miro Hrončok 2019-05-03 10:25:55 UTC
yes: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Comment 3 Petr Pisar 2019-05-17 11:31:29 UTC
A difference between passing and failing build root is at <https://apps.fedoraproject.org/koschei/build/6258310>.

Comment 4 Jakub Hrozek 2019-06-03 11:45:52 UTC
I'm sorry for the late reply. In the end, this really has nothing to do with python, the issue was that an expired certificate is used in the tests. I'll patch lasso to not use the certificate while we work on solving this better with upstream.

Comment 5 Jakub Hrozek 2019-06-03 13:53:25 UTC
Fixed in lasso-2.6.0-13.fc31

I also backported the fix into the older supported branches (30, 29) and built the packages to make sure they do actually build:
 - lasso-2.6.0-12.fc30
 - lasso-2.6.0-11.fc29
But I don't think it is required to issue a bodhi update as long as the libraries are patched so that the next build that actually does something useful succeeds.

I'm going to close this bug now.

Comment 6 Miro Hrončok 2019-06-03 14:18:59 UTC
Build succeeded with Python 3.8. Thank you.