develooper Front page | perl.perl5.porters | Postings from July 2011

Re: Smoke [blead] v5.15.0-213-gd632d9a FAIL(F) linux2.6.38-8-generic [debian] (x86_64/8 cpu)

Thread Previous | Thread Next
From:
Paul LeoNerd Evans
Date:
July 4, 2011 06:47
Subject:
Re: Smoke [blead] v5.15.0-213-gd632d9a FAIL(F) linux2.6.38-8-generic [debian] (x86_64/8 cpu)
Message ID:
20110704134707.GW32367@cel.leo
On Mon, Jul 04, 2011 at 09:46:57AM +0100, Nicholas Clark wrote:
> > Failures: (common-args) -Dcc=g++ -O
> > [default] -Uusenm
> > ../ext/Socket/t/getaddrinfo.t...............................FAILED
> >     21-22
> >     Non-zero exit status: 2
> 
> ../lib/Pod/t/InputObjects.t ....................................... ok
> 
> #   Failed test '$err == 0 for host=cpan.perl.org/service=ftp/socktype=STREAM'
> #   at t/getaddrinfo.t line 73.
> #          got: -2
> #     expected: 0
> 
> #   Failed test '@res has results'#   at t/getaddrinfo.t line 75.
> ../lib/Term/Complete.t ............................................ ok
> # Looks like you failed 2 tests of 29.
> ../ext/Socket/t/getaddrinfo.t ..................................... 
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 2/29 subtests 
> 
> 
> 
> Not sure what to do about that. I'm guessing it's a transient failure, possibly
> timing related.

Hmm.. 

  ./netdb.h:595:# define EAI_NONAME         -2    /* NAME or SERVICE is unknown.  */

Looks like a permanent failure there, but that's my glibc on Linux. That
particular error is supposed to be a permanent "the nameserver said this
doesn't exist", rather than a temporary failure of not being able to
talk to the nameserver or getting a response.

That said, if it failed just once, it might just be e.g. a caching
problem upstream somewhere. This is the sort of small wrapper around
libc that's hard to unit test in a way that doesn't end up relying on
external dependencies to give the right answers. :/

Thanks for the report though,

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About