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

            Bug ID: 1489703
           Summary: perl-DBD-Multi-1.01-1.fc28 FTBFS:
                    t/unavailable-server.t fails: DBI
                    connect('dbname=fake;host=192.0.2.1','fakeuser',...)
                    failed: could not connect to server: Network is
                    unreachable
           Product: Fedora
           Version: rawhide
         Component: perl-DBD-Multi
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected],
                    [email protected], [email protected]
   External Bug ID: Github dwright/DBD-Multi/issues/2



perl-DBD-Multi-1.01-1.fc28 fails to build because a test fails on properly
configured network like this:

#   Failed test 'Direct connection timed out'
#   at t/unavailable-server.t line 45.
# Pausing up to 10 seconds to test timeout...
DBI connect('dbname=fake;host=192.0.2.1','fakeuser',...) failed: could not
connect to server: Network is unreachable
    Is the server running on host "192.0.2.1" and accepting
    TCP/IP connections on port 5432? at
/builddir/build/BUILD/DBD-Multi-1.01/blib/lib/DBD/Multi.pm line 441.
DBI connect('dbname=fake;host=192.0.2.1','fakeuser',...) failed: could not
connect to server: Network is unreachable
    Is the server running on host "192.0.2.1" and accepting
    TCP/IP connections on port 5432? at
/builddir/build/BUILD/DBD-Multi-1.01/blib/lib/DBD/Multi.pm line 441.
DBI connect('dbname=fake;host=192.0.2.1','fakeuser',...) failed: could not
connect to server: Network is unreachable
    Is the server running on host "192.0.2.1" and accepting
    TCP/IP connections on port 5432? at
/builddir/build/BUILD/DBD-Multi-1.01/blib/lib/DBD/Multi.pm line 441.
# Looks like you failed 1 test of 7.
t/unavailable-server.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed

This is because 92.0.2.0/24 destination is refused by a router with an ICMP
error message and the test does not expect it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to