Bug 1699247 - perl-IO-Socket-SSL-2.056-1.fc28 FTBFS: tests fail due to expired certificates
Summary: perl-IO-Socket-SSL-2.056-1.fc28 FTBFS: tests fail due to expired certificates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-IO-Socket-SSL
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-12 08:25 UTC by Petr Pisar
Modified: 2019-04-22 18:42 UTC (History)
7 users (show)

Fixed In Version: perl-IO-Socket-SSL-2.066-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1699306 (view as bug list)
Environment:
Last Closed: 2019-04-22 18:42:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 127095 0 None None None 2019-04-12 08:25:47 UTC

Description Petr Pisar 2019-04-12 08:25:48 UTC
I noticed perl-IO-Socket-SSL-2.056-1.fc28 fails to build on F28 because large amount of tests fail, e.g.:

$ perl -Iblib/{lib,arch} t/auto_verify_hostname.t
1..30
ok 1 - Server Initialization
ok 2 - connection to example.com/www failed
not ok 3 - connection to server.local/ldap succeeded
#   Failed test 'connection to server.local/ldap succeeded'
#   at t/auto_verify_hostname.t line 61.
ok 4 - connection to server.local/www failed
not ok 5 - connection to bla.server.local/www succeeded
#   Failed test 'connection to bla.server.local/www succeeded'
#   at t/auto_verify_hostname.t line 61.
not ok 6 - connection to www7.other.local/www succeeded
#   Failed test 'connection to www7.other.local/www succeeded'
#   at t/auto_verify_hostname.t line 61.
ok 7 - connection to www7.other.local/ldap failed
not ok 8 - connection to bla.server.local/ldap succeeded
#   Failed test 'connection to bla.server.local/ldap succeeded'
#   at t/auto_verify_hostname.t line 61.
ok 9 - tcp connect
ok 10 - ssl upgrade of connection to example.com/www failed
ok 11 - tcp connect
not ok 12 - ssl upgrade of connection to server.local/ldap succeeded
#   Failed test 'ssl upgrade of connection to server.local/ldap succeeded'
#   at t/auto_verify_hostname.t line 79.
ok 13 - tcp connect
ok 14 - ssl upgrade of connection to server.local/www failed
ok 15 - tcp connect
not ok 16 - ssl upgrade of connection to bla.server.local/www succeeded
#   Failed test 'ssl upgrade of connection to bla.server.local/www succeeded'
#   at t/auto_verify_hostname.t line 79.
ok 17 - tcp connect
not ok 18 - ssl upgrade of connection to www7.other.local/www succeeded
#   Failed test 'ssl upgrade of connection to www7.other.local/www succeeded'
#   at t/auto_verify_hostname.t line 79.
ok 19 - tcp connect
ok 20 - ssl upgrade of connection to www7.other.local/ldap failed
ok 21 - tcp connect
not ok 22 - ssl upgrade of connection to bla.server.local/ldap succeeded
#   Failed test 'ssl upgrade of connection to bla.server.local/ldap succeeded'
#   at t/auto_verify_hostname.t line 79.
# Looks like you planned 30 tests but ran 22.
# Looks like you failed 8 tests of 22 run.

It seems to be caused by expired certificates used by the tests. E.g. t/auto_verify_hostname.t uses certs/server-wildcard.pem that has expired:

$ openssl x509 -noout -enddate < certs/server-wildcard.pem
notAfter=Jan 14 19:45:50 2019 GMT

A more recent perl-IO-Socket-SSL in later Fedoras already contains updated certificates.

Comment 1 Fedora Update System 2019-04-12 16:49:34 UTC
perl-IO-Socket-SSL-2.066-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-15afe88b77

Comment 2 Fedora Update System 2019-04-13 03:22:16 UTC
perl-IO-Socket-SSL-2.066-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-15afe88b77

Comment 3 Fedora Update System 2019-04-22 18:42:17 UTC
perl-IO-Socket-SSL-2.066-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.