[Bug 1489703] New: 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

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

 



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: jplesnik@xxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: jplesnik@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx
   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 -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@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