[Bug 1699247] New: perl-IO-Socket-SSL-2.056-1.fc28 FTBFS: tests fail due to expired certificates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1699247

            Bug ID: 1699247
           Summary: perl-IO-Socket-SSL-2.056-1.fc28 FTBFS: tests fail due
                    to expired certificates
           Product: Fedora
           Version: 28
            Status: NEW
         Component: perl-IO-Socket-SSL
          Assignee: paul@xxxxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: caillon+fedoraproject@xxxxxxxxx,
                    jose.p.oliveira.oss@xxxxxxxxx, paul@xxxxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    rhughes@xxxxxxxxxx, rstrode@xxxxxxxxxx,
                    sandmann@xxxxxxxxxx
  Target Milestone: ---
   External Bug ID: CPAN 127095
    Classification: Fedora



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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux