# Net::DNS::Paranoid - Test failures - How to change xip.io to nip.io

**URL:** <https://www.debian-fr.org/t/net-paranoid-test-failures-how-to-change-xip-io-to-nip-io/88535>\
**Category:** Programmation\
**Tags:** perl\
**Created:** [Juillet 18, 2023, 2:50 UTC](https://www.debian-fr.org/t/net-paranoid-test-failures-how-to-change-xip-io-to-nip-io/88535 "2023-07-18T14:50:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon36725218](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@anon36725218](https://www.debian-fr.org/u/anon36725218)\
**Post date:** [Juillet 18, 2023, 2:50 UTC](https://www.debian-fr.org/t/net-paranoid-test-failures-how-to-change-xip-io-to-nip-io/88535/1 "2023-07-18T14:50:35Z")

</div>

Bonjour,

Suite à cette erreur lors de l’installation du module Perl [Net::DNS::Paranoid](https://metacpan.org/pod/Net::DNS::Paranoid) :

```
Failed test 'this domain is okay. 50.112.116.235.xip.io isn't blocked' at t/01_simple.t line 84.

```

Fichier :

```
/root/.cpan/sources/authors/id/T/TO/TOKUHIROM/Net-DNS-Paranoid-0.08.tar.gz

```

Je n’arrive pas à l’installer.

À priori, il y a un bug, il faudrait changer «&nbsp;un appel lors de la phase de test du module&nbsp;» : CF → [https://github.com/tokuhirom/Net-DNS-Paranoid/issues/4](https://github.com/tokuhirom/Net-DNS-Paranoid/issues/4) ← Changer «&nbsp;[xip.io](http://xip.io)&nbsp;» en «&nbsp;[nip.io](http://nip.io)&nbsp;»

Je ne sais pas comment faire ?

J’ai essayé de changer dans le fichier `/root/.cpan/build/Net-DNS-Paranoid-0.08-1/t/01_simple.t`  
Mais il me recréait un «&nbsp;build&nbsp;» à chaque fois avec le [xip.io](http://xip.io).

Faudrait-il que je change [xip.io](http://xip.io) en [nip.io](http://nip.io) dans le fichier du tar.gz ?

> **L'erreur est la suivante :**
>
> ```
> root@mail:/home/orj# cpan -i Net::DNS::Paranoid
> Loading internal logger. Log::Log4perl recommended for better logging
> Reading '/root/.cpan/Metadata'
> Database was generated on Mon, 17 Jul 2023 13:17:02 GMT
> Running install for module 'Net::DNS::Paranoid'
> Checksum for /root/.cpan/sources/authors/id/T/TO/TOKUHIROM/Net-DNS-Paranoid-0.08.tar.gz ok
> Configuring T/TO/TOKUHIROM/Net-DNS-Paranoid-0.08.tar.gz with Build.PL
> Created MYMETA.yml and MYMETA.json
> Creating new 'Build' script for 'Net-DNS-Paranoid' version '0.08'
> cp META.json MYMETA.json
> cp META.yml MYMETA.yml
> TOKUHIROM/Net-DNS-Paranoid-0.08.tar.gz
> /usr/bin/perl Build.PL --installdirs site -- OK
> Running Build for T/TO/TOKUHIROM/Net-DNS-Paranoid-0.08.tar.gz
> Building Net-DNS-Paranoid
> TOKUHIROM/Net-DNS-Paranoid-0.08.tar.gz
> ./Build -- OK
> Running Build test for TOKUHIROM/Net-DNS-Paranoid-0.08.tar.gz
> t/00_compile.t .. ok
> t/01_simple.t ... 1/?
> # Failed test at t/01_simple.t line 82.
> # Structures begin differing at:
> # $got->[0][0] = Does not exist
> # $expected->[0][0] = '50.112.116.235'
> # Looks like you failed 1 test of 1.
> t/01_simple.t ... 10/?
> # Failed test 'this domain is okay. 50.112.116.235.xip.io isn't blocked'
> # at t/01_simple.t line 84.
> 
> # Failed test 'ok'
> # at t/01_simple.t line 89.
> # Structures begin differing at:
> # $got->[0][0] = Does not exist
> # $expected->[0][0] = '50.112.116.235'
> # Looks like you failed 1 test of 2.
> 
> # Failed test 'internal. bad. blocked by default by module.'
> # at t/01_simple.t line 91.
> # Looks like you failed 2 tests of 12.
> t/01_simple.t ... Dubious, test returned 2 (wstat 512, 0x200)
> Failed 2/12 subtests
> 
> Test Summary Report
> -------------------
> t/01_simple.t (Wstat: 512 (exited 2) Tests: 12 Failed: 2)
> Failed tests: 10-11
> Non-zero exit status: 2
> Files=2, Tests=13, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.22 cusr 0.05 csys = 0.31 CPU)
> Result: FAIL
> Failed 1/2 test programs. 2/13 subtests failed.
> TOKUHIROM/Net-DNS-Paranoid-0.08.tar.gz
> ./Build test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
> reports TOKUHIROM/Net-DNS-Paranoid-0.08.tar.gz
> root@mail:/home/orj#
> 
> ```

Il ne me reste que ce module pour avoir le module Perl [Mail::BIMI](https://metacpan.org/pod/Mail::BIMI) 😉

> **Perl module Mail::BIMI dépendances ;)**
>
> ```
> #------------------------------------------------------------
> # Mail::BIMI
> # https://metacpan.org/pod/Mail::BIMI
> #------------------------------------------------------------
> 
> cpan -i App::Cmd::Setup -> App::Cmd::Setup is up to date (0.335).
> cpan -i Cache::FastMmap -> Cache::FastMmap is up to date (1.57).
> cpan -i Carp -> Carp is up to date (1.54).
> cpan -i Convert::ASN1 -> Convert::ASN1 is up to date (0.33).
> cpan -i Crypt::OpenSSL::Verify -> Crypt::OpenSSL::Verify is up to date (0.36).
> cpan -i Crypt::OpenSSL::X509 -> Crypt::OpenSSL::X509 is up to date (1.915).
> cpan -i Digest::SHA -> Digest::SHA is up to date (6.04).
> cpan -i Exporter -> Exporter is up to date (5.77).
> cpan -i File::Slurp -> File::Slurp is up to date (9999.32).
> cpan -i File::Temp -> File::Temp is up to date (0.2311).
> cpan -i HTTP::Tiny::Paranoid -> --------------------------------- dependencies] -- NA --- ERROR
> cpan -i IO::Uncompress::Gunzip -> IO::Uncompress::Gunzip is up to date (2.205).
> cpan -i Import::Into -> Import::Into is up to date (1.002005).
> cpan -i JSON -> JSON is up to date (4.10).
> cpan -i MIME::Base64 -> MIME::Base64 is up to date (3.16_01).
> cpan -i Mail::AuthenticationResults::Header::Comment -> Mail::AuthenticationResults::Header::Comment is up to date (2.20230112).
> cpan -i Mail::AuthenticationResults::Header::Entry -> Mail::AuthenticationResults::Header::Entry is up to date (2.20230112).
> cpan -i Mail::AuthenticationResults::Header::SubEntry -> Mail::AuthenticationResults::Header::SubEntry is up to date (2.20230112).
> cpan -i Mail::DMARC -> Mail::DMARC is up to date (1.20230215).
> cpan -i Mail::DMARC::PurePerl -> Mail::DMARC::PurePerl is up to date (1.20230215).
> cpan -i Moose -> Moose is up to date (2.2203).
> cpan -i Moose::Role -> Moose::Role is up to date (2.2203).
> cpan -i Moose::Util::TypeConstraints -> Moose::Util::TypeConstraints is up to date (2.2203).
> cpan -i Mozilla::CA -> Mozilla::CA is up to date (20221114).
> cpan -i Net::DNS::Resolver -> Net::DNS::Resolver is up to date (1895).
> cpan -i Sereal -> Sereal is up to date (5.004).
> cpan -i Sub::Install -> Sub::Install is up to date (0.929).
> cpan -i Term::ANSIColor -> Term::ANSIColor is up to date (5.01).
> cpan -i XML::LibXML -> XML::LibXML is up to date (2.0209).
> cpan -i base -> base is up to date (2.27).
> cpan -i constant -> constant is up to date (1.33).
> cpan -i feature -> feature is up to date (1.82).
> cpan -i open -> open is up to date (1.13).
> cpan -i strict -> strict is up to date (1.12).
> cpan -i warnings -> warnings is up to date (1.65).
> 
> ```

> **Perl configuration infos :**
>
> ```
> root@mail:/home/orj# uname -a
> Linux mail 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
> 
> root@mail:/home/orj# which perl
> /usr/bin/perl
> root@mail:/home/orj# perl -v
> 
> This is perl 5, version 38, subversion 0 (v5.38.0) built for x86_64-linux
> 
> Copyright 1987-2023, Larry Wall
> 
> Perl may be copied only under the terms of either the Artistic License or the
> GNU General Public License, which may be found in the Perl 5 source kit.
> 
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl". If you have access to the
> Internet, point your browser at https://www.perl.org/, the Perl Home Page.
> 
> root@mail:/home/orj# perl -V
> [....]
> Built under linux
> Compiled at Jul 17 2023 17:26:29
> %ENV:
> PERL5LIB="/etc/perl:/usr/share/perl5"
> @INC:
> /etc/perl
> /usr/share/perl5
> /usr/lib/perl5/site_perl/5.38.0/x86_64-linux
> /usr/lib/perl5/site_perl/5.38.0
> /usr/lib/perl5/5.38.0/x86_64-linux
> /usr/lib/perl5/5.38.0
> 
> root@mail:/home/orj# ls -l /usr/share/perl5/
> total 24
> drwxr-xr-x 4 root root 4096 juil. 18 14:02 ./
> drwxr-xr-x 119 root root 4096 juil. 18 14:00 ../
> drwxr-xr-x 8 root root 4096 mars 14 22:41 Debconf/
> drwxr-xr-x 4 root root 4096 mars 14 22:42 Debian/
> -rw-r--r-- 1 root root 5408 juin 25 2020 DebianLinux.pm
> 
> ```

Salutations.

Romain
