Bug#849933: libnet-traceroute-perl: FTBFS (failing tests)

gregor herrmann gregoa at debian.org
Mon Jan 2 15:00:59 UTC 2017


Control: tag -1 + confirmed

On Mon, 02 Jan 2017 12:01:43 +0000, Santiago Vila wrote:

> #   Failed test at t/95-sys-traceroute.t line 71.
> #          got: '2'
> #     expected: '1'
> 
> #   Failed test at t/95-sys-traceroute.t line 72.
> #          got: '192.168.122.1'
> #     expected: '158.49.50.97'
> # Looks like you failed 2 tests of 2.
> t/95-sys-traceroute.t ......... 
> 1..2
> not ok 1
> not ok 2
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 2/2 subtests 

For me it also fails, in a slightly different way:

#   Failed test at t/95-sys-traceroute.t line 71.
#          got: undef
#     expected: '1'

#   Failed test at t/95-sys-traceroute.t line 72.
#          got: undef
#     expected: '192.168.0.33'


(The first test is the number of hops to the result of hostname(), the
second the IP address of this first hop.)


The reason it fails for me (during normal build, I can run it
successfully manually), is that I'm firewalling off everything except
localhost.

In the original case the failure reason seems to be 2 IP addresses
for the host in the virtual machine.


It seems to me that this test is too naïve for real world situations,
as we've already discovered two failure modes, and there are probable
more. Therefore I suggest we skip this test (or mark it as TODO).



Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Peg Leg Sam: Joshua Fit The Battle Of Jericho
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170102/32af82e7/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list