- Failed
        test 'lookup without hosts file (67.207.145.70)'
Reply-To:
In-Reply-To: <[EMAIL PROTECTED]>
X-Debbugs-No-Ack: please

-=| gregor herrmann, Wed, Nov 26, 2008 at 12:28:22AM +0100 |=-
> On Tue, 25 Nov 2008 17:47:20 -0500, Rene Mayorga wrote:
> > Ok I check this and It looks like the problem is that the package 
> > is
> > expecting a different IP address from poe.perl.org
> 
> Ouch.
>  
> > Ok, I tested again not just when I suppose that my network cable was
> > unplugged I tested after 'ifdown eth0` and indeed the tests are skipped. 
> 
> And I tested now with the network up, and I get the same error as
> you:
> 
> t/06_hosts.......
> #   Failed test 'lookup without hosts file (67.207.145.70)'
> #   at t/06_hosts.t line 54.
> 
> #   Failed test 'lookup without hosts file match (67.207.145.70)'
> #   at t/06_hosts.t line 100.
> # Looks like you failed 2 tests of 3.
> dubious
>  
> > Ok, Sorry for the noise here, but There is still a problem building the
> > package, but now only when the network is available.
> 
> Ack.
> 
> I'm on my way to bed now and can't check further; I _seem_ to remember
> that the changes in the version in unstable are rather minimal, maybe
> we could ask the release team if they would let it migrate? Otherwise
> a patch and t-p-u ...

The changes in sid are:
  * bump version number
  * cange poe.perl.org IP address in tests
  * apply Tinco's patch for skipping tests when no network is 
    available

So the only change not available in testing is the change of the IP 
address of poe.perl.org.

However, I think that the idea is broken -- poe.perl.org may change 
its address again and security team won't be able to rebuild the 
package. What I propose instead is to compare the result of the 
poco-c-dns' resolver and the system-wide resolver.

 $ getent hosts poe.perl.org
 67.207.145.70   poe.perl.org

and ignoring the test if the system-wide resolver fails.

Now, getent may well work fine on Debian, and probably many unux-based 
OSes, but I doubt it can be considered portable. Perhaps using 
Net::DNS would be better.

Providing a patch left as an exercise for the reader :)

-- 
dam            JabberID: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to