Bug#745971: libio-socket-ssl-perl: FTBFS: Test failure

Salvatore Bonaccorso carnil at debian.org
Wed Apr 30 19:16:18 UTC 2014


Hi,

On Sat, Apr 26, 2014 at 02:45:45PM -0700, Daniel Schepler wrote:
> On Saturday, April 26, 2014 10:48:14 PM Salvatore Bonaccorso wrote:
> > You are right, I haven't noticed it as my pbuilder allowed network
> > connection.
> 
> Hmm, I wasn't doing anything special to block network connections from within 
> pbuilder, and I had network access when I tried the build.  Something in my 
> DNS setup tends to make certain lookups fail more often than normal, but I'm 
> not sure if that would have anything to do with it.

Some small progress: I have not found the exact cause. But playing around for
the test now, if I leave in %hosts one of

    www.comdirect.de sha1$0d9626705b9984b19bca19f8ceb18885b103d0e9
    meine.deutsche-bank.de sha1$ba54c47dd5493db54cd0f76a120cac11cdfb76f8
    www.live.com sha1$10c56ee9e2acaf2e77caeb7072bf6522dd7422b8

If it cannot connect to the given host (bringing down the network inerface in
the build vm), the test is skipped:

----cut---------cut---------cut---------cut---------cut---------cut-----
# PERL5LIB=lib prove -v t/external/usable_ca.t
t/external/usable_ca.t .. 
1..4
ok 1 # skip cannot connect to www.comdirect.de:443 with IO::Socket::INET: Invalid argument
ok 2 # skip cannot connect to www.comdirect.de:443 with IO::Socket::INET: Invalid argument
ok 3 # skip cannot connect to www.comdirect.de:443 with IO::Socket::INET: Invalid argument
ok 4 - no successful connects, not checking CA usage
ok
All tests successful.
Files=1, Tests=4,  0 wallclock secs ( 0.01 usr  0.00 sys +  0.03 cusr  0.00 csys =  0.04 CPU)
Result: PASS
----cut---------cut---------cut---------cut---------cut---------cut-----

But beeing able to connect:

----cut---------cut---------cut---------cut---------cut---------cut-----
# PERL5LIB=lib prove -v t/external/usable_ca.t
t/external/usable_ca.t .. 
1..4
# 5 connections to www.comdirect.de ok
# fingerprint www.comdirect.de matches
ok 1 # skip ssl upgrade failed with builtin CA store
ok 2 # skip ssl upgrade failed with builtin CA store
ok 3 # skip ssl upgrade failed with builtin CA store
not ok 4 - verification against builtin CA store:  0/1

#   Failed test 'verification against builtin CA store:  0/1'
#   at t/external/usable_ca.t line 126.
# Looks like you failed 1 test of 4.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 
        (less 3 skipped subtests: 0 okay)

Test Summary Report
-------------------
t/external/usable_ca.t (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  4
  Non-zero exit status: 1
Files=1, Tests=4,  0 wallclock secs ( 0.01 usr  0.00 sys +  0.04 cusr  0.00 csys =  0.05 CPU)
Result: FAIL
----cut---------cut---------cut---------cut---------cut---------cut-----


Regards,
Salvatore



More information about the pkg-perl-maintainers mailing list