PATH=/usr/bin:/bin:/data/fly2400/cpanfly-5.24/var/megalib/bin Start 2018-09-09T02:02:48 ActivePerl-2400 CPAN-2.10 Reading '/data/fly2400/cpanfly-5.24/var/cpan/Metadata' Database was generated on Sat, 08 Sep 2018 03:29:03 GMT Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/M/MA/MAXMIND/GeoIP2-2.006001.tar.gz ok GeoIP2-2.006001/ GeoIP2-2.006001/LICENSE GeoIP2-2.006001/MANIFEST GeoIP2-2.006001/README.md GeoIP2-2.006001/perlcriticrc GeoIP2-2.006001/Makefile.PL GeoIP2-2.006001/CONTRIBUTING.md GeoIP2-2.006001/xt/ GeoIP2-2.006001/xt/release/ GeoIP2-2.006001/xt/release/meta-json.t GeoIP2-2.006001/xt/release/cpan-changes.t GeoIP2-2.006001/xt/author/ GeoIP2-2.006001/xt/author/synopsis.t GeoIP2-2.006001/xt/author/pod-spell.t GeoIP2-2.006001/xt/author/tidyall.t GeoIP2-2.006001/xt/author/test-version.t GeoIP2-2.006001/xt/author/mojibake.t GeoIP2-2.006001/xt/author/no-tabs.t GeoIP2-2.006001/xt/author/00-compile.t GeoIP2-2.006001/xt/author/portability.t GeoIP2-2.006001/xt/author/clean-namespaces.t GeoIP2-2.006001/xt/author/pod-coverage.t GeoIP2-2.006001/xt/author/eol.t GeoIP2-2.006001/xt/author/pod-syntax.t GeoIP2-2.006001/t/ GeoIP2-2.006001/t/00-report-prereqs.dd GeoIP2-2.006001/t/00-report-prereqs.t GeoIP2-2.006001/t/GeoIP2/ GeoIP2-2.006001/t/GeoIP2/WebService/ GeoIP2-2.006001/t/GeoIP2/WebService/Client.t GeoIP2-2.006001/t/GeoIP2/Types.t GeoIP2-2.006001/t/GeoIP2/Error/ GeoIP2-2.006001/t/GeoIP2/Error/Type.t GeoIP2-2.006001/t/GeoIP2/Database/ GeoIP2-2.006001/t/GeoIP2/Database/Reader-Anonymous-IP.t GeoIP2-2.006001/t/GeoIP2/Database/Reader-Domain.t GeoIP2-2.006001/t/GeoIP2/Database/Reader-Enterprise.t GeoIP2-2.006001/t/GeoIP2/Database/Reader-ISP.t GeoIP2-2.006001/t/GeoIP2/Database/Reader-Connection-Type.t GeoIP2-2.006001/t/GeoIP2/Database/Reader.t GeoIP2-2.006001/t/GeoIP2/Database/Reader-ASN.t GeoIP2-2.006001/t/GeoIP2/Model/ GeoIP2-2.006001/t/GeoIP2/Model/City.t GeoIP2-2.006001/t/GeoIP2/Model/Insights.t GeoIP2-2.006001/t/GeoIP2/Model/Country.t GeoIP2-2.006001/t/GeoIP2/Model/names.t GeoIP2-2.006001/t/lib/ GeoIP2-2.006001/t/lib/Test/ GeoIP2-2.006001/t/lib/Test/GeoIP2.pm GeoIP2-2.006001/bin/ GeoIP2-2.006001/bin/web-service-request GeoIP2-2.006001/dist.ini GeoIP2-2.006001/INSTALL GeoIP2-2.006001/META.json GeoIP2-2.006001/tidyall.ini GeoIP2-2.006001/Changes GeoIP2-2.006001/perltidyrc GeoIP2-2.006001/cpanfile GeoIP2-2.006001/maxmind-db/ GeoIP2-2.006001/maxmind-db/LICENSE GeoIP2-2.006001/maxmind-db/README.md GeoIP2-2.006001/maxmind-db/MaxMind-DB-test-metadata-pointers.mmdb GeoIP2-2.006001/maxmind-db/bad-data/ GeoIP2-2.006001/maxmind-db/bad-data/README.md GeoIP2-2.006001/maxmind-db/bad-data/libmaxminddb/ GeoIP2-2.006001/maxmind-db/bad-data/libmaxminddb/libmaxminddb-offset-integer-overflow.mmdb GeoIP2-2.006001/maxmind-db/bad-data/maxminddb-golang/ GeoIP2-2.006001/maxmind-db/bad-data/maxminddb-golang/metadata-is-an-uint128.mmdb GeoIP2-2.006001/maxmind-db/bad-data/maxminddb-golang/cyclic-data-structure.mmdb GeoIP2-2.006001/maxmind-db/bad-data/maxminddb-golang/unexpected-bytes.mmdb GeoIP2-2.006001/maxmind-db/bad-data/maxminddb-golang/invalid-map-key-length.mmdb GeoIP2-2.006001/maxmind-db/bad-data/maxminddb-golang/invalid-bytes-length.mmdb GeoIP2-2.006001/maxmind-db/bad-data/maxminddb-golang/invalid-string-length.mmdb GeoIP2-2.006001/maxmind-db/bad-data/maxminddb-golang/invalid-data-record-offset.mmdb GeoIP2-2.006001/maxmind-db/tidyall.ini GeoIP2-2.006001/maxmind-db/perltidyrc GeoIP2-2.006001/maxmind-db/source-data/ GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-Precision-Enterprise-Test.json GeoIP2-2.006001/maxmind-db/source-data/GeoLite2-ASN-Test.json GeoIP2-2.006001/maxmind-db/source-data/README GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-Domain-Test.json GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-ISP-Test.json GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-Enterprise-Test.json GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-User-Count-Test.json GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-Country-Test.json GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-Connection-Type-Test.json GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-DensityIncome-Test.json GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-City-Test.json GeoIP2-2.006001/maxmind-db/source-data/GeoIP2-Anonymous-IP-Test.json GeoIP2-2.006001/maxmind-db/MaxMind-DB-spec.md GeoIP2-2.006001/maxmind-db/test-data/ GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-broken-search-tree-24.mmdb GeoIP2-2.006001/maxmind-db/test-data/README.md GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-ipv4-32.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-metadata-pointers.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-ipv6-28.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-Country-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-broken-pointers-24.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-mixed-32.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-ISP-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/maps-with-pointers.raw GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-no-ipv4-search-tree.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-User-Count-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoLite2-ASN-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-ipv6-32.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-mixed-28.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-Connection-Type-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-Enterprise-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-mixed-24.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-decoder.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-ipv4-28.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-Anonymous-IP-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-Precision-Enterprise-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-Domain-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-nested.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-ipv4-24.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-DensityIncome-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-string-value-entries.mmdb GeoIP2-2.006001/maxmind-db/test-data/GeoIP2-City-Test.mmdb GeoIP2-2.006001/maxmind-db/test-data/write-test-data.pl GeoIP2-2.006001/maxmind-db/test-data/MaxMind-DB-test-ipv6-24.mmdb GeoIP2-2.006001/META.yml GeoIP2-2.006001/lib/ GeoIP2-2.006001/lib/GeoIP2/ GeoIP2-2.006001/lib/GeoIP2/WebService/ GeoIP2-2.006001/lib/GeoIP2/WebService/Client.pm GeoIP2-2.006001/lib/GeoIP2/Record/ GeoIP2-2.006001/lib/GeoIP2/Record/Country.pm GeoIP2-2.006001/lib/GeoIP2/Record/Traits.pm GeoIP2-2.006001/lib/GeoIP2/Record/Postal.pm GeoIP2-2.006001/lib/GeoIP2/Record/RepresentedCountry.pm GeoIP2-2.006001/lib/GeoIP2/Record/Location.pm GeoIP2-2.006001/lib/GeoIP2/Record/City.pm GeoIP2-2.006001/lib/GeoIP2/Record/MaxMind.pm GeoIP2-2.006001/lib/GeoIP2/Record/Subdivision.pm GeoIP2-2.006001/lib/GeoIP2/Record/Continent.pm GeoIP2-2.006001/lib/GeoIP2/Error/ GeoIP2-2.006001/lib/GeoIP2/Error/Generic.pm GeoIP2-2.006001/lib/GeoIP2/Error/HTTP.pm GeoIP2-2.006001/lib/GeoIP2/Error/IPAddressNotFound.pm GeoIP2-2.006001/lib/GeoIP2/Error/WebService.pm GeoIP2-2.006001/lib/GeoIP2/Error/Type.pm GeoIP2-2.006001/lib/GeoIP2/Database/ GeoIP2-2.006001/lib/GeoIP2/Database/Reader.pm GeoIP2-2.006001/lib/GeoIP2/Model/ GeoIP2-2.006001/lib/GeoIP2/Model/Insights.pm GeoIP2-2.006001/lib/GeoIP2/Model/Country.pm GeoIP2-2.006001/lib/GeoIP2/Model/ASN.pm GeoIP2-2.006001/lib/GeoIP2/Model/AnonymousIP.pm GeoIP2-2.006001/lib/GeoIP2/Model/ISP.pm GeoIP2-2.006001/lib/GeoIP2/Model/Domain.pm GeoIP2-2.006001/lib/GeoIP2/Model/Enterprise.pm GeoIP2-2.006001/lib/GeoIP2/Model/City.pm GeoIP2-2.006001/lib/GeoIP2/Model/ConnectionType.pm GeoIP2-2.006001/lib/GeoIP2/Role/ GeoIP2-2.006001/lib/GeoIP2/Role/Record/ GeoIP2-2.006001/lib/GeoIP2/Role/Record/Country.pm GeoIP2-2.006001/lib/GeoIP2/Role/Record/HasNames.pm GeoIP2-2.006001/lib/GeoIP2/Role/Error/ GeoIP2-2.006001/lib/GeoIP2/Role/Error/HTTP.pm GeoIP2-2.006001/lib/GeoIP2/Role/HasIPAddress.pm GeoIP2-2.006001/lib/GeoIP2/Role/Model/ GeoIP2-2.006001/lib/GeoIP2/Role/Model/Flat.pm GeoIP2-2.006001/lib/GeoIP2/Role/Model/HasSubdivisions.pm GeoIP2-2.006001/lib/GeoIP2/Role/Model/Location.pm GeoIP2-2.006001/lib/GeoIP2/Role/Model.pm GeoIP2-2.006001/lib/GeoIP2/Role/HasLocales.pm GeoIP2-2.006001/lib/GeoIP2/Types.pm GeoIP2-2.006001/lib/GeoIP2.pm Configuring M/MA/MAXMIND/GeoIP2-2.006001.tar.gz with Makefile.PL >>> /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Have /data/fly2400/cpanfly-5.24/var/megalib Want /home/fly2400/ap2400-300558/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for GeoIP2 Writing MYMETA.yml and MYMETA.json MAXMIND/GeoIP2-2.006001.tar.gz /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK Running make for M/MA/MAXMIND/GeoIP2-2.006001.tar.gz >>> make cp lib/GeoIP2/Model/Domain.pm blib/lib/GeoIP2/Model/Domain.pm cp lib/GeoIP2/Record/Country.pm blib/lib/GeoIP2/Record/Country.pm cp lib/GeoIP2/Record/Traits.pm blib/lib/GeoIP2/Record/Traits.pm cp lib/GeoIP2/Model/ISP.pm blib/lib/GeoIP2/Model/ISP.pm cp lib/GeoIP2/Record/Subdivision.pm blib/lib/GeoIP2/Record/Subdivision.pm cp lib/GeoIP2/Model/Country.pm blib/lib/GeoIP2/Model/Country.pm cp lib/GeoIP2/Role/Error/HTTP.pm blib/lib/GeoIP2/Role/Error/HTTP.pm cp lib/GeoIP2/Record/City.pm blib/lib/GeoIP2/Record/City.pm cp lib/GeoIP2/Role/Model.pm blib/lib/GeoIP2/Role/Model.pm cp lib/GeoIP2/Role/HasIPAddress.pm blib/lib/GeoIP2/Role/HasIPAddress.pm cp lib/GeoIP2/Error/Type.pm blib/lib/GeoIP2/Error/Type.pm cp lib/GeoIP2/Model/AnonymousIP.pm blib/lib/GeoIP2/Model/AnonymousIP.pm cp lib/GeoIP2/Record/MaxMind.pm blib/lib/GeoIP2/Record/MaxMind.pm cp lib/GeoIP2/Error/WebService.pm blib/lib/GeoIP2/Error/WebService.pm cp lib/GeoIP2/WebService/Client.pm blib/lib/GeoIP2/WebService/Client.pm cp lib/GeoIP2/Record/Postal.pm blib/lib/GeoIP2/Record/Postal.pm cp lib/GeoIP2/Types.pm blib/lib/GeoIP2/Types.pm cp lib/GeoIP2/Record/RepresentedCountry.pm blib/lib/GeoIP2/Record/RepresentedCountry.pm cp lib/GeoIP2/Role/Model/HasSubdivisions.pm blib/lib/GeoIP2/Role/Model/HasSubdivisions.pm cp lib/GeoIP2/Role/HasLocales.pm blib/lib/GeoIP2/Role/HasLocales.pm cp lib/GeoIP2/Model/City.pm blib/lib/GeoIP2/Model/City.pm cp lib/GeoIP2/Database/Reader.pm blib/lib/GeoIP2/Database/Reader.pm cp lib/GeoIP2/Record/Location.pm blib/lib/GeoIP2/Record/Location.pm cp lib/GeoIP2/Role/Model/Location.pm blib/lib/GeoIP2/Role/Model/Location.pm cp lib/GeoIP2/Model/ASN.pm blib/lib/GeoIP2/Model/ASN.pm cp lib/GeoIP2/Record/Continent.pm blib/lib/GeoIP2/Record/Continent.pm cp lib/GeoIP2/Role/Model/Flat.pm blib/lib/GeoIP2/Role/Model/Flat.pm cp lib/GeoIP2/Role/Record/Country.pm blib/lib/GeoIP2/Role/Record/Country.pm cp lib/GeoIP2/Error/HTTP.pm blib/lib/GeoIP2/Error/HTTP.pm cp lib/GeoIP2/Model/Insights.pm blib/lib/GeoIP2/Model/Insights.pm cp lib/GeoIP2/Model/ConnectionType.pm blib/lib/GeoIP2/Model/ConnectionType.pm cp lib/GeoIP2.pm blib/lib/GeoIP2.pm cp lib/GeoIP2/Error/IPAddressNotFound.pm blib/lib/GeoIP2/Error/IPAddressNotFound.pm cp lib/GeoIP2/Role/Record/HasNames.pm blib/lib/GeoIP2/Role/Record/HasNames.pm cp lib/GeoIP2/Error/Generic.pm blib/lib/GeoIP2/Error/Generic.pm cp lib/GeoIP2/Model/Enterprise.pm blib/lib/GeoIP2/Model/Enterprise.pm cp bin/web-service-request blib/script/web-service-request "/data/fly2400/ap2400-300558/bin/perl-static" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/web-service-request Manifying 26 pod documents MAXMIND/GeoIP2-2.006001.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/data/fly2400/ap2400-300558/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/GeoIP2/*.t t/GeoIP2/Database/*.t t/GeoIP2/Error/*.t t/GeoIP2/Model/*.t t/GeoIP2/WebService/*.t # # Versions for all modules listed in MYMETA.json (including optional ones): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.16 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.16 # # === Test Requires === # # Module Want Have # --------------------- ---- -------- # ExtUtils::MakeMaker any 7.16 # File::Spec any 3.75 # HTTP::Response any 6.18 # HTTP::Status any 6.18 # IO::Compress::Gzip any 2.081 # MaxMind::DB::Metadata any 0.040001 # Path::Class any 0.37 # Test::Builder any 1.302140 # Test::Fatal any 0.014 # Test::More 0.96 1.302140 # Test::Number::Delta any 1.06 # base any 2.23 # utf8 any 1.19 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.150005 # # === Runtime Requires === # # Module Want Have # -------------------- -------- -------- # B any 1.62 # Data::Dumper any 2.161 # Data::Validate::IP 0.25 0.27 # Exporter any 5.72 # Getopt::Long any 2.5 # HTTP::Headers any 6.18 # HTTP::Request any 6.18 # JSON::MaybeXS any 1.004000 # LWP::Protocol::https any 6.07 # LWP::UserAgent any 6.35 # List::SomeUtils any 0.56 # List::Util any 1.50 # MIME::Base64 any 3.15 # MaxMind::DB::Reader 1.000000 1.000012 # Moo any 2.003004 # Moo::Role any 2.003004 # Params::Validate any 1.29 # Scalar::Util any 1.50 # Sub::Quote any 2.005001 # Throwable::Error any 0.200013 # Try::Tiny any 0.30 # URI any 1.74 # lib any 0.63 # namespace::clean any 0.27 # strict any 1.11 # warnings any 1.36 # t/00-report-prereqs.t ....................... 1..1 ok 1 ok t/GeoIP2/Database/Reader-Anonymous-IP.t ..... ok 1 - is_anonymous is true for 1.2.0.0 ok 2 - is_anonymous_vpn is true for 1.2.0.0 ok 3 - is_hosting_provider is false for 1.2.0.0 ok 4 - is_public_proxy is false for 1.2.0.0 ok 5 - is_tor_exit_node is false for 1.2.0.0 ok 6 - is_anonymous is true for 186.30.236.233 ok 7 - is_anonymous_vpn is false for 186.30.236.233 ok 8 - is_hosting_provider is false for 186.30.236.233 ok 9 - is_public_proxy is true for 186.30.236.233 ok 10 - is_tor_exit_node is false for 186.30.236.233 ok 11 - is_anonymous is false for 6.7.8.9 ok 12 - is_anonymous_vpn is false for 6.7.8.9 ok 13 - is_hosting_provider is false for 6.7.8.9 ok 14 - is_public_proxy is false for 6.7.8.9 ok 15 - is_tor_exit_node is false for 6.7.8.9 ok 16 - is_anonymous is true for 65.4.3.2 ok 17 - is_anonymous_vpn is false for 65.4.3.2 ok 18 - is_hosting_provider is false for 65.4.3.2 ok 19 - is_public_proxy is false for 65.4.3.2 ok 20 - is_tor_exit_node is true for 65.4.3.2 ok 21 - is_anonymous is true for 71.160.223.45 ok 22 - is_anonymous_vpn is false for 71.160.223.45 ok 23 - is_hosting_provider is true for 71.160.223.45 ok 24 - is_public_proxy is false for 71.160.223.45 ok 25 - is_tor_exit_node is false for 71.160.223.45 ok 26 - is_anonymous is true for abcd:1000::1 ok 27 - is_anonymous_vpn is false for abcd:1000::1 ok 28 - is_hosting_provider is false for abcd:1000::1 ok 29 - is_public_proxy is true for abcd:1000::1 ok 30 - is_tor_exit_node is false for abcd:1000::1 1..30 ok t/GeoIP2/Database/Reader-ASN.t .............. ok 1 - correct ASN in ASN database ok 2 - correct AS Org in ASN database ok 3 - correct IP in ASN database 1..3 ok t/GeoIP2/Database/Reader-Connection-Type.t .. ok 1 - correct connection type in Connection-Type database ok 2 - correct IP in Connection-Type database 1..2 ok t/GeoIP2/Database/Reader-Domain.t ........... ok 1 - correct domain in Domain database ok 2 - correct IP in Domain database 1..2 ok t/GeoIP2/Database/Reader-Enterprise.t ....... # Subtest: city ok 1 - confidence ok 2 - names ok 3 - geoname_id 1..3 ok 1 - city # Subtest: continent ok 1 - geoname_id ok 2 - code ok 3 - names 1..3 ok 2 - continent # Subtest: country ok 1 - names ok 2 - confidence ok 3 - iso_code ok 4 - geoname_id 1..4 ok 3 - country # Subtest: location ok 1 - longitude ok 2 - latitude ok 3 - accuracy_radius ok 4 - metro_code ok 5 - time_zone 1..5 ok 4 - location # Subtest: postal ok 1 - confidence ok 2 - code 1..2 ok 5 - postal # Subtest: registered_country ok 1 - iso_code ok 2 - names ok 3 - geoname_id 1..3 ok 6 - registered_country # Subtest: subdivisions ok 1 - names ok 2 - confidence ok 3 - iso_code ok 4 - geoname_id 1..4 ok 7 - subdivisions # Subtest: traits ok 1 - autonomous_system_number ok 2 - autonomous_system_organization ok 3 - connection_type ok 4 - domain ok 5 - is_anonymous_proxy ok 6 - is_legitimate_proxy ok 7 - is_satellite_provider ok 8 - isp ok 9 - organization ok 10 - user_type 1..10 ok 8 - traits 1..8 ok t/GeoIP2/Database/Reader-ISP.t .............. ok 1 - correct ASN in ISP database ok 2 - correct AS Org in ISP database ok 3 - correct ISP in ISP database ok 4 - correct Org in ISP database ok 5 - correct IP in ISP database 1..5 ok t/GeoIP2/Database/Reader.t .................. # Subtest: GeoIP2-Country ok 1 - dies on missing ip - country method ok 2 - dies on "me" - country method ok 3 - dies on private IP - country method ok 4 - dies if IP is not in database - country method ok 5 - 'error thrown when IP address cannot be found' isa 'GeoIP2::Error::IPAddressNotFound' ok 6 - exception ip_address() method returns the IP address ok 7 - dies on invalid ip - country method ok 8 - country is_in_european_union - country method ok 9 - ip address is filled in - country method ok 10 - calling $model_obj->continent() does not throw an error - country model ok 11 - calling $model_obj->country() does not throw an error - country model ok 12 - calling $model_obj->maxmind() does not throw an error - country model ok 13 - calling $model_obj->registered_country() does not throw an error - country model ok 14 - calling $model_obj->traits() does not throw an error - country model 1..14 ok 1 - GeoIP2-Country # Subtest: GeoIP2-City ok 1 - dies on missing ip - city method ok 2 - dies on "me" - city method ok 3 - dies on private IP - city method ok 4 - dies if IP is not in database - city method ok 5 - 'error thrown when IP address cannot be found' isa 'GeoIP2::Error::IPAddressNotFound' ok 6 - exception ip_address() method returns the IP address ok 7 - dies on invalid ip - city method ok 8 - country is_in_european_union - city method ok 9 - ip address is filled in - city method ok 10 - calling $model_obj->city() does not throw an error - city model ok 11 - calling $model_obj->continent() does not throw an error - city model ok 12 - calling $model_obj->country() does not throw an error - city model ok 13 - calling $model_obj->location() does not throw an error - city model ok 14 - calling $model_obj->maxmind() does not throw an error - city model ok 15 - calling $model_obj->postal() does not throw an error - city model ok 16 - calling $model_obj->registered_country() does not throw an error - city model ok 17 - calling $model_obj->represented_country() does not throw an error - city model ok 18 - calling $model_obj->traits() does not throw an error - city model ok 19 - city name - city method ok 20 - country name - city method ok 21 - accuracy_radius 1..21 ok 2 - GeoIP2-City # Subtest: GeoIP2-Precision-Enterprise ok 1 - dies on missing ip - enterprise method ok 2 - dies on "me" - enterprise method ok 3 - dies on private IP - enterprise method ok 4 - dies if IP is not in database - enterprise method ok 5 - 'error thrown when IP address cannot be found' isa 'GeoIP2::Error::IPAddressNotFound' ok 6 - exception ip_address() method returns the IP address ok 7 - dies on invalid ip - enterprise method ok 8 - country is_in_european_union - enterprise method ok 9 - ip address is filled in - enterprise method ok 10 - calling $model_obj->city() does not throw an error - enterprise model ok 11 - calling $model_obj->continent() does not throw an error - enterprise model ok 12 - calling $model_obj->country() does not throw an error - enterprise model ok 13 - calling $model_obj->location() does not throw an error - enterprise model ok 14 - calling $model_obj->maxmind() does not throw an error - enterprise model ok 15 - calling $model_obj->postal() does not throw an error - enterprise model ok 16 - calling $model_obj->registered_country() does not throw an error - enterprise model ok 17 - calling $model_obj->represented_country() does not throw an error - enterprise model ok 18 - calling $model_obj->traits() does not throw an error - enterprise model ok 19 - city name - enterprise method ok 20 - country name - enterprise method ok 21 - accuracy_radius 1..21 ok 3 - GeoIP2-Precision-Enterprise ok 4 - the city method rejected GeoIP2-Anonymous-IP database ok 5 - the country method rejected GeoIP2-Anonymous-IP database ok 6 - the connection_type method rejected GeoIP2-Anonymous-IP database ok 7 - the domain method rejected GeoIP2-Anonymous-IP database ok 8 - the enterprise method rejected GeoIP2-Anonymous-IP database ok 9 - the isp method rejected GeoIP2-Anonymous-IP database ok 10 - the anonymous_ip method accepts GeoIP2-Anonymous-IP database ok 11 - the city method accepts GeoIP2-City database ok 12 - the country method rejected GeoIP2-City database ok 13 - the connection_type method rejected GeoIP2-City database ok 14 - the domain method rejected GeoIP2-City database ok 15 - the enterprise method rejected GeoIP2-City database ok 16 - the isp method rejected GeoIP2-City database ok 17 - the anonymous_ip method rejected GeoIP2-City database ok 18 - the city method accepts GeoIP2-City-Europe database ok 19 - the country method rejected GeoIP2-City-Europe database ok 20 - the connection_type method rejected GeoIP2-City-Europe database ok 21 - the domain method rejected GeoIP2-City-Europe database ok 22 - the enterprise method rejected GeoIP2-City-Europe database ok 23 - the isp method rejected GeoIP2-City-Europe database ok 24 - the anonymous_ip method rejected GeoIP2-City-Europe database ok 25 - the city method accepts GeoIP2-City-South-America database ok 26 - the country method rejected GeoIP2-City-South-America database ok 27 - the connection_type method rejected GeoIP2-City-South-America database ok 28 - the domain method rejected GeoIP2-City-South-America database ok 29 - the enterprise method rejected GeoIP2-City-South-America database ok 30 - the isp method rejected GeoIP2-City-South-America database ok 31 - the anonymous_ip method rejected GeoIP2-City-South-America database ok 32 - the city method rejected GeoIP2-Connection-Type database ok 33 - the country method rejected GeoIP2-Connection-Type database ok 34 - the connection_type method accepts GeoIP2-Connection-Type database ok 35 - the domain method rejected GeoIP2-Connection-Type database ok 36 - the enterprise method rejected GeoIP2-Connection-Type database ok 37 - the isp method rejected GeoIP2-Connection-Type database ok 38 - the anonymous_ip method rejected GeoIP2-Connection-Type database ok 39 - the city method rejected GeoIP2-Country database ok 40 - the country method accepts GeoIP2-Country database ok 41 - the connection_type method rejected GeoIP2-Country database ok 42 - the domain method rejected GeoIP2-Country database ok 43 - the enterprise method rejected GeoIP2-Country database ok 44 - the isp method rejected GeoIP2-Country database ok 45 - the anonymous_ip method rejected GeoIP2-Country database ok 46 - the city method rejected GeoIP2-Domain database ok 47 - the country method rejected GeoIP2-Domain database ok 48 - the connection_type method rejected GeoIP2-Domain database ok 49 - the domain method accepts GeoIP2-Domain database ok 50 - the enterprise method rejected GeoIP2-Domain database ok 51 - the isp method rejected GeoIP2-Domain database ok 52 - the anonymous_ip method rejected GeoIP2-Domain database ok 53 - the city method rejected GeoIP2-Enterprise database ok 54 - the country method rejected GeoIP2-Enterprise database ok 55 - the connection_type method rejected GeoIP2-Enterprise database ok 56 - the domain method rejected GeoIP2-Enterprise database ok 57 - the enterprise method accepts GeoIP2-Enterprise database ok 58 - the isp method rejected GeoIP2-Enterprise database ok 59 - the anonymous_ip method rejected GeoIP2-Enterprise database ok 60 - the city method rejected GeoIP2-ISP database ok 61 - the country method rejected GeoIP2-ISP database ok 62 - the connection_type method rejected GeoIP2-ISP database ok 63 - the domain method rejected GeoIP2-ISP database ok 64 - the enterprise method rejected GeoIP2-ISP database ok 65 - the isp method accepts GeoIP2-ISP database ok 66 - the anonymous_ip method rejected GeoIP2-ISP database ok 67 - the city method rejected GeoIP2-Precision-Anonymous-IP database ok 68 - the country method rejected GeoIP2-Precision-Anonymous-IP database ok 69 - the connection_type method rejected GeoIP2-Precision-Anonymous-IP database ok 70 - the domain method rejected GeoIP2-Precision-Anonymous-IP database ok 71 - the enterprise method rejected GeoIP2-Precision-Anonymous-IP database ok 72 - the isp method rejected GeoIP2-Precision-Anonymous-IP database ok 73 - the anonymous_ip method accepts GeoIP2-Precision-Anonymous-IP database ok 74 - the city method accepts GeoIP2-Precision-City database ok 75 - the country method rejected GeoIP2-Precision-City database ok 76 - the connection_type method rejected GeoIP2-Precision-City database ok 77 - the domain method rejected GeoIP2-Precision-City database ok 78 - the enterprise method rejected GeoIP2-Precision-City database ok 79 - the isp method rejected GeoIP2-Precision-City database ok 80 - the anonymous_ip method rejected GeoIP2-Precision-City database ok 81 - the city method rejected GeoIP2-Precision-Connection-Type database ok 82 - the country method rejected GeoIP2-Precision-Connection-Type database ok 83 - the connection_type method accepts GeoIP2-Precision-Connection-Type database ok 84 - the domain method rejected GeoIP2-Precision-Connection-Type database ok 85 - the enterprise method rejected GeoIP2-Precision-Connection-Type database ok 86 - the isp method rejected GeoIP2-Precision-Connection-Type database ok 87 - the anonymous_ip method rejected GeoIP2-Precision-Connection-Type database ok 88 - the city method rejected GeoIP2-Precision-Country database ok 89 - the country method accepts GeoIP2-Precision-Country database ok 90 - the connection_type method rejected GeoIP2-Precision-Country database ok 91 - the domain method rejected GeoIP2-Precision-Country database ok 92 - the enterprise method rejected GeoIP2-Precision-Country database ok 93 - the isp method rejected GeoIP2-Precision-Country database ok 94 - the anonymous_ip method rejected GeoIP2-Precision-Country database ok 95 - the city method rejected GeoIP2-Precision-Domain database ok 96 - the country method rejected GeoIP2-Precision-Domain database ok 97 - the connection_type method rejected GeoIP2-Precision-Domain database ok 98 - the domain method accepts GeoIP2-Precision-Domain database ok 99 - the enterprise method rejected GeoIP2-Precision-Domain database ok 100 - the isp method rejected GeoIP2-Precision-Domain database ok 101 - the anonymous_ip method rejected GeoIP2-Precision-Domain database ok 102 - the city method rejected GeoIP2-Precision-Enterprise database ok 103 - the country method rejected GeoIP2-Precision-Enterprise database ok 104 - the connection_type method rejected GeoIP2-Precision-Enterprise database ok 105 - the domain method rejected GeoIP2-Precision-Enterprise database ok 106 - the enterprise method accepts GeoIP2-Precision-Enterprise database ok 107 - the isp method rejected GeoIP2-Precision-Enterprise database ok 108 - the anonymous_ip method rejected GeoIP2-Precision-Enterprise database ok 109 - the city method rejected GeoIP2-Precision-ISP database ok 110 - the country method rejected GeoIP2-Precision-ISP database ok 111 - the connection_type method rejected GeoIP2-Precision-ISP database ok 112 - the domain method rejected GeoIP2-Precision-ISP database ok 113 - the enterprise method rejected GeoIP2-Precision-ISP database ok 114 - the isp method accepts GeoIP2-Precision-ISP database ok 115 - the anonymous_ip method rejected GeoIP2-Precision-ISP database ok 116 - the city method accepts GeoLite2-City database ok 117 - the country method rejected GeoLite2-City database ok 118 - the connection_type method rejected GeoLite2-City database ok 119 - the domain method rejected GeoLite2-City database ok 120 - the enterprise method rejected GeoLite2-City database ok 121 - the isp method rejected GeoLite2-City database ok 122 - the anonymous_ip method rejected GeoLite2-City database ok 123 - the city method rejected GeoLite2-Country database ok 124 - the country method accepts GeoLite2-Country database ok 125 - the connection_type method rejected GeoLite2-Country database ok 126 - the domain method rejected GeoLite2-Country database ok 127 - the enterprise method rejected GeoLite2-Country database ok 128 - the isp method rejected GeoLite2-Country database ok 129 - the anonymous_ip method rejected GeoLite2-Country database 1..129 ok t/GeoIP2/Error/Type.t ....................... ok 1 - correct type thrown ok 2 - correct value thrown 1..2 ok t/GeoIP2/Model/City.t ....................... ok 1 - 'GeoIP2::Model::City->new returns' isa 'GeoIP2::Model::City' ok 2 - '$model->city()' isa 'GeoIP2::Record::City' ok 3 - '$model->continent()' isa 'GeoIP2::Record::Continent' ok 4 - '$model->country()' isa 'GeoIP2::Record::Country' ok 5 - '$model->location()' isa 'GeoIP2::Record::Location' ok 6 - '$model->maxmind()' isa 'GeoIP2::Record::MaxMind' ok 7 - '$model->postal()' isa 'GeoIP2::Record::Postal' ok 8 - '$model->registered_country()' isa 'GeoIP2::Record::Country' ok 9 - '$model->represented_country()' isa 'GeoIP2::Record::RepresentedCountry' ok 10 - '$model->most_specific_subdivision' isa 'GeoIP2::Record::Subdivision' ok 11 - '$model->traits()' isa 'GeoIP2::Record::Traits' ok 12 - raw method returns raw input ok 13 - '$model->subdivisions()[0]' isa 'GeoIP2::Record::Subdivision' ok 14 - 'GeoIP2::Model::City object with no data except maxmind.queries_remaining & traits.ip_address' isa 'GeoIP2::Model::City' ok 15 - '$model->city()' isa 'GeoIP2::Record::City' ok 16 - '$model->continent()' isa 'GeoIP2::Record::Continent' ok 17 - '$model->country()' isa 'GeoIP2::Record::Country' ok 18 - '$model->location()' isa 'GeoIP2::Record::Location' ok 19 - '$model->maxmind()' isa 'GeoIP2::Record::MaxMind' ok 20 - '$model->postal()' isa 'GeoIP2::Record::Postal' ok 21 - '$model->registered_country()' isa 'GeoIP2::Record::Country' ok 22 - '$model->represented_country()' isa 'GeoIP2::Record::RepresentedCountry' ok 23 - '$model->most_specific_subdivision' isa 'GeoIP2::Record::Subdivision' ok 24 - '$model->traits()' isa 'GeoIP2::Record::Traits' ok 25 - raw method returns raw input ok 26 - $model->subdivisions returns an empty list ok 27 - no exception when GeoIP2::Model::City class gets raw data with unknown keys ok 28 - raw method returns raw input 1..28 ok t/GeoIP2/Model/Country.t .................... ok 1 - 'minimal GeoIP2::Model::Country object' isa 'GeoIP2::Model::Country' ok 2 - '$model->continent' isa 'GeoIP2::Record::Continent' ok 3 - '$model->country' isa 'GeoIP2::Record::Country' ok 4 - '$model->maxmind' isa 'GeoIP2::Record::MaxMind' ok 5 - '$model->registered_country' isa 'GeoIP2::Record::Country' ok 6 - '$model->traits' isa 'GeoIP2::Record::Traits' ok 7 - continent geoname_id is 42 ok 8 - continent code is NA ok 9 - continent names ok 10 - continent name is North America ok 11 - country geoname_id is 1 ok 12 - country is_in_european_union is 0 ok 13 - country iso_code is US ok 14 - country names ok 15 - country name is United States of America ok 16 - country confidence is undef ok 17 - registered_country geoname_id is 2 ok 18 - registered_country is_in_european_union is 1 ok 19 - registered_country iso_code is DE ok 20 - registered_country names ok 21 - registered_country name is Germany ok 22 - traits is_anonymous_proxy returns 0 by default ok 23 - traits is_satellite_provider returns 0 by default ok 24 - raw method returns raw input 1..24 ok t/GeoIP2/Model/Insights.t ................... ok 1 - 'GeoIP2::Model::Insights->new returns' isa 'GeoIP2::Model::Insights' ok 2 - '$model->city()' isa 'GeoIP2::Record::City' ok 3 - '$model->continent()' isa 'GeoIP2::Record::Continent' ok 4 - '$model->country()' isa 'GeoIP2::Record::Country' ok 5 - '$model->location()' isa 'GeoIP2::Record::Location' ok 6 - '$model->maxmind()' isa 'GeoIP2::Record::MaxMind' ok 7 - '$model->postal()' isa 'GeoIP2::Record::Postal' ok 8 - '$model->registered_country()' isa 'GeoIP2::Record::Country' ok 9 - '$model->represented_country()' isa 'GeoIP2::Record::RepresentedCountry' ok 10 - '$model->most_specific_subdivision' isa 'GeoIP2::Record::Subdivision' ok 11 - '$model->traits()' isa 'GeoIP2::Record::Traits' ok 12 - raw method returns raw input ok 13 - '$model->subdivisions()[0]' isa 'GeoIP2::Record::Subdivision' ok 14 - check average_income ok 15 - check population_density ok 16 - 'GeoIP2::Model::Insights object with no data except maxmind.queries_remaining & traits.ip_address' isa 'GeoIP2::Model::Insights' ok 17 - '$model->city()' isa 'GeoIP2::Record::City' ok 18 - '$model->continent()' isa 'GeoIP2::Record::Continent' ok 19 - '$model->country()' isa 'GeoIP2::Record::Country' ok 20 - '$model->location()' isa 'GeoIP2::Record::Location' ok 21 - '$model->maxmind()' isa 'GeoIP2::Record::MaxMind' ok 22 - '$model->postal()' isa 'GeoIP2::Record::Postal' ok 23 - '$model->registered_country()' isa 'GeoIP2::Record::Country' ok 24 - '$model->represented_country()' isa 'GeoIP2::Record::RepresentedCountry' ok 25 - '$model->most_specific_subdivision' isa 'GeoIP2::Record::Subdivision' ok 26 - '$model->traits()' isa 'GeoIP2::Record::Traits' ok 27 - raw method returns raw input ok 28 - $model->subdivisions returns an empty list ok 29 - no exception when GeoIP2::Model::Insights class gets raw data with unknown keys ok 30 - raw method returns raw input 1..30 ok t/GeoIP2/Model/names.t ...................... ok 1 - continent name is in Chinese (no Russian available) ok 2 - country name is in Russian ok 3 - continent name is undef (no Russian or Japanese available) ok 4 - country name is in Russian ok 5 - continent name is undef (no Japanese available) ok 6 - country name is undef (no Japanese available) 1..6 ok t/GeoIP2/Types.t ............................ ok 1 - Bool accepts undef ok 2 - Bool accepts '' ok 3 - Bool accepts 0 ok 4 - Bool accepts 1 ok 5 - Bool rejects "foo" ok 6 - Bool rejects 100 ok 7 - Bool rejects -100 ok 8 - Bool rejects 42.42 ok 9 - Bool rejects -42.42 ok 10 - Bool rejects ARRAY reference ok 11 - Bool rejects HASH reference ok 12 - Bool rejects Foo object ok 13 - HTTPStatus accepts 200 ok 14 - HTTPStatus accepts 201 ok 15 - HTTPStatus accepts 300 ok 16 - HTTPStatus accepts 301 ok 17 - HTTPStatus accepts 400 ok 18 - HTTPStatus accepts 410 ok 19 - HTTPStatus accepts 500 ok 20 - HTTPStatus accepts 501 ok 21 - HTTPStatus rejects undef ok 22 - HTTPStatus rejects '' ok 23 - HTTPStatus rejects "foo" ok 24 - HTTPStatus rejects 0 ok 25 - HTTPStatus rejects 1 ok 26 - HTTPStatus rejects 100 ok 27 - HTTPStatus rejects -100 ok 28 - HTTPStatus rejects 42.42 ok 29 - HTTPStatus rejects -42.42 ok 30 - HTTPStatus rejects ARRAY reference ok 31 - HTTPStatus rejects HASH reference ok 32 - HTTPStatus rejects Foo object ok 33 - HashRef accepts HASH reference ok 34 - HashRef rejects undef ok 35 - HashRef rejects '' ok 36 - HashRef rejects "foo" ok 37 - HashRef rejects 0 ok 38 - HashRef rejects 1 ok 39 - HashRef rejects 100 ok 40 - HashRef rejects -100 ok 41 - HashRef rejects 42.42 ok 42 - HashRef rejects -42.42 ok 43 - HashRef rejects ARRAY reference ok 44 - HashRef rejects Foo object ok 45 - IPAddress accepts "1.2.3.4" ok 46 - IPAddress accepts "1234:fb29::421a" ok 47 - IPAddress rejects undef ok 48 - IPAddress rejects '' ok 49 - IPAddress rejects "foo" ok 50 - IPAddress rejects 0 ok 51 - IPAddress rejects 1 ok 52 - IPAddress rejects 100 ok 53 - IPAddress rejects -100 ok 54 - IPAddress rejects 42.42 ok 55 - IPAddress rejects -42.42 ok 56 - IPAddress rejects ARRAY reference ok 57 - IPAddress rejects Foo object ok 58 - JSONObject accepts Cpanel::JSON::XS object ok 59 - JSONObject rejects undef ok 60 - JSONObject rejects '' ok 61 - JSONObject rejects "foo" ok 62 - JSONObject rejects 0 ok 63 - JSONObject rejects 1 ok 64 - JSONObject rejects 100 ok 65 - JSONObject rejects -100 ok 66 - JSONObject rejects 42.42 ok 67 - JSONObject rejects -42.42 ok 68 - JSONObject rejects ARRAY reference ok 69 - JSONObject rejects Foo object ok 70 - LocalesArrayRef accepts ARRAY reference ok 71 - LocalesArrayRef accepts ARRAY reference ok 72 - LocalesArrayRef accepts ARRAY reference ok 73 - LocalesArrayRef rejects undef ok 74 - LocalesArrayRef rejects '' ok 75 - LocalesArrayRef rejects "foo" ok 76 - LocalesArrayRef rejects 0 ok 77 - LocalesArrayRef rejects 1 ok 78 - LocalesArrayRef rejects 100 ok 79 - LocalesArrayRef rejects -100 ok 80 - LocalesArrayRef rejects 42.42 ok 81 - LocalesArrayRef rejects -42.42 ok 82 - LocalesArrayRef rejects ARRAY reference ok 83 - LocalesArrayRef rejects Foo object ok 84 - MaxMindID accepts 1 ok 85 - MaxMindID accepts 100 ok 86 - MaxMindID rejects undef ok 87 - MaxMindID rejects '' ok 88 - MaxMindID rejects "foo" ok 89 - MaxMindID rejects 0 ok 90 - MaxMindID rejects -100 ok 91 - MaxMindID rejects 42.42 ok 92 - MaxMindID rejects -42.42 ok 93 - MaxMindID rejects ARRAY reference ok 94 - MaxMindID rejects Foo object ok 95 - MaxMindLicenseKey accepts "aaaaaaaaaaaa" ok 96 - MaxMindLicenseKey accepts "AAAAAAAAAAAA" ok 97 - MaxMindLicenseKey accepts 111111111111 ok 98 - MaxMindLicenseKey accepts "123456abcABC" ok 99 - MaxMindLicenseKey accepts "aaaaaaaaaaaaaaaa" ok 100 - MaxMindLicenseKey accepts "AAAAAAAAAAAAAAAA" ok 101 - MaxMindLicenseKey accepts 1111111111111111 ok 102 - MaxMindLicenseKey accepts "123456abcABC1234" ok 103 - MaxMindLicenseKey rejects undef ok 104 - MaxMindLicenseKey rejects '' ok 105 - MaxMindLicenseKey rejects "foo" ok 106 - MaxMindLicenseKey rejects 0 ok 107 - MaxMindLicenseKey rejects 1 ok 108 - MaxMindLicenseKey rejects 100 ok 109 - MaxMindLicenseKey rejects -100 ok 110 - MaxMindLicenseKey rejects 42.42 ok 111 - MaxMindLicenseKey rejects -42.42 ok 112 - MaxMindLicenseKey rejects ARRAY reference ok 113 - MaxMindLicenseKey rejects Foo object ok 114 - MaybeStr accepts undef ok 115 - MaybeStr accepts '' ok 116 - MaybeStr accepts "foo" ok 117 - MaybeStr accepts 0 ok 118 - MaybeStr accepts 1 ok 119 - MaybeStr accepts 100 ok 120 - MaybeStr accepts -100 ok 121 - MaybeStr accepts 42.42 ok 122 - MaybeStr accepts -42.42 ok 123 - MaybeStr rejects ARRAY reference ok 124 - MaybeStr rejects HASH reference ok 125 - MaybeStr rejects Foo object ok 126 - NameHashRef accepts HASH reference ok 127 - NameHashRef accepts HASH reference ok 128 - NameHashRef accepts HASH reference ok 129 - NameHashRef rejects undef ok 130 - NameHashRef rejects '' ok 131 - NameHashRef rejects "foo" ok 132 - NameHashRef rejects 0 ok 133 - NameHashRef rejects 1 ok 134 - NameHashRef rejects 100 ok 135 - NameHashRef rejects -100 ok 136 - NameHashRef rejects 42.42 ok 137 - NameHashRef rejects -42.42 ok 138 - NameHashRef rejects ARRAY reference ok 139 - NameHashRef rejects HASH reference ok 140 - NameHashRef rejects Foo object ok 141 - NonNegativeInt accepts 0 ok 142 - NonNegativeInt accepts 1 ok 143 - NonNegativeInt accepts 100 ok 144 - NonNegativeInt rejects undef ok 145 - NonNegativeInt rejects '' ok 146 - NonNegativeInt rejects "foo" ok 147 - NonNegativeInt rejects -100 ok 148 - NonNegativeInt rejects 42.42 ok 149 - NonNegativeInt rejects -42.42 ok 150 - NonNegativeInt rejects ARRAY reference ok 151 - NonNegativeInt rejects HASH reference ok 152 - NonNegativeInt rejects Foo object ok 153 - Num accepts 0 ok 154 - Num accepts 1 ok 155 - Num accepts 100 ok 156 - Num accepts -100 ok 157 - Num accepts 42.42 ok 158 - Num accepts -42.42 ok 159 - Num rejects undef ok 160 - Num rejects '' ok 161 - Num rejects "foo" ok 162 - Num rejects ARRAY reference ok 163 - Num rejects HASH reference ok 164 - Num rejects Foo object ok 165 - PositiveInt accepts 1 ok 166 - PositiveInt accepts 100 ok 167 - PositiveInt rejects undef ok 168 - PositiveInt rejects '' ok 169 - PositiveInt rejects "foo" ok 170 - PositiveInt rejects 0 ok 171 - PositiveInt rejects -100 ok 172 - PositiveInt rejects 42.42 ok 173 - PositiveInt rejects -42.42 ok 174 - PositiveInt rejects ARRAY reference ok 175 - PositiveInt rejects HASH reference ok 176 - PositiveInt rejects Foo object ok 177 - Str accepts '' ok 178 - Str accepts "foo" ok 179 - Str accepts 0 ok 180 - Str accepts 1 ok 181 - Str accepts 100 ok 182 - Str accepts -100 ok 183 - Str accepts 42.42 ok 184 - Str accepts -42.42 ok 185 - Str rejects undef ok 186 - Str rejects ARRAY reference ok 187 - Str rejects HASH reference ok 188 - Str rejects Foo object ok 189 - URIObject accepts URI::http object ok 190 - URIObject rejects undef ok 191 - URIObject rejects '' ok 192 - URIObject rejects "foo" ok 193 - URIObject rejects 0 ok 194 - URIObject rejects 1 ok 195 - URIObject rejects 100 ok 196 - URIObject rejects -100 ok 197 - URIObject rejects 42.42 ok 198 - URIObject rejects -42.42 ok 199 - URIObject rejects ARRAY reference ok 200 - URIObject rejects HASH reference ok 201 - URIObject rejects Foo object ok 202 - UserAgentObject accepts LWP::UserAgent object ok 203 - UserAgentObject rejects undef ok 204 - UserAgentObject rejects '' ok 205 - UserAgentObject rejects "foo" ok 206 - UserAgentObject rejects 0 ok 207 - UserAgentObject rejects 1 ok 208 - UserAgentObject rejects 100 ok 209 - UserAgentObject rejects -100 ok 210 - UserAgentObject rejects 42.42 ok 211 - UserAgentObject rejects -42.42 ok 212 - UserAgentObject rejects ARRAY reference ok 213 - UserAgentObject rejects HASH reference ok 214 - UserAgentObject rejects Foo object 1..214 ok t/GeoIP2/WebService/Client.t ................ # Subtest: successful country request ok 1 - 'return value of $client->country' isa 'GeoIP2::Model::Country' ok 2 - is_anonymous_proxy is 1 ok 3 - continent geoname_id is 42 ok 4 - continent code is NA ok 5 - continent names ok 6 - continent name is North America ok 7 - country geoname_id is 1 ok 8 - country is_in_european_union is 0 ok 9 - country iso_code is US ok 10 - country names ok 11 - country name is United States of America ok 12 - 'return value of $client->country for IPv6 address' isa 'GeoIP2::Model::Country' ok 13 - 'return value of $client->country with gzipped response' isa 'GeoIP2::Model::Country' 1..13 ok 1 - successful country request # Subtest: successful Insights request ok 1 - 'return value of $client->insights' isa 'GeoIP2::Model::Insights' ok 2 - is_anonymous is 1 ok 3 - is_anonymous_proxy is 1 ok 4 - is_anonymous_vpn is 1 ok 5 - is_hosting_provider is 1 ok 6 - is_legitimate_proxy is 1 ok 7 - is_public_proxy is 1 ok 8 - is_satellite_provider is 1 ok 9 - is_tor_exit_node is 1 1..9 ok 2 - successful Insights request # Subtest: me parameter ok 1 - can set ip parameter to me 1..1 ok 3 - me parameter # Subtest: invalid JSON ok 1 - 'exception thrown when response status is 200 but body is not valid JSON' isa 'GeoIP2::Error::Generic' ok 2 - error contains expected text 1..2 ok 4 - invalid JSON # Subtest: invalid IP ok 1 - 'exception thrown when web service returns a 4xx error' isa 'GeoIP2::Error::WebService' ok 2 - exception object contains expected code ok 3 - exception object contains expected http_status ok 4 - error contains expected text 1..4 ok 5 - invalid IP # Subtest: no body ok 1 - 'exception thrown when web service returns a 4xx error without a body' isa 'GeoIP2::Error::HTTP' ok 2 - error contains expected text 1..2 ok 6 - no body # Subtest: unexpected JSON response ok 1 - 'exception thrown when web service returns a 4xx error with a JSON body but no code and error keys' isa 'GeoIP2::Error::Generic' ok 2 - error contains expected text 1..2 ok 7 - unexpected JSON response # Subtest: non-JSON 4xx ok 1 - 'exception thrown when web service returns a 4xx error with a non-JSON body' isa 'GeoIP2::Error::HTTP' ok 2 - error contains expected text 1..2 ok 8 - non-JSON 4xx # Subtest: 5xx error ok 1 - 'exception thrown when web service returns a 5xx error' isa 'GeoIP2::Error::HTTP' ok 2 - error contains expected text 1..2 ok 9 - 5xx error # Subtest: unexpected status code ok 1 - 'exception thrown when web service returns a 3xx error' isa 'GeoIP2::Error::HTTP' ok 2 - error contains expected text 1..2 ok 10 - unexpected status code # Subtest: request Accept header ok 1 - got expected URI for Country request ok 2 - request is a GET ok 3 - request sets Accept header to application/json 1..3 ok 11 - request Accept header # Subtest: User-Agent header ok 1 - user agent includes client package and version ok 2 - user agent includes user agent package and version ok 3 - user agent includes Perl version 1..3 ok 12 - User-Agent header # Subtest: 406 with no JSON ok 1 - 'exception thrown when web service returns a 406 error' isa 'GeoIP2::Error::HTTP' ok 2 - error contains expected text ok 3 - error does not complain about JSON issues when Content-Type for error is text/plain 1..3 ok 13 - 406 with no JSON # Subtest: client-side IP validation ok 1 - client rejects ip address 'mine' ok 2 - client rejects ip address '0.1.2.3' ok 3 - client rejects ip address '255.666.242.1' ok 4 - client rejects ip address 'abcd::1234::b6b3' ok 5 - client rejects ip address '1.2.3' ok 6 - client rejects ip address 'abcde::' 1..6 ok 14 - client-side IP validation # Subtest: IP not found ok 1 - 'error thrown when IP address cannot be found' isa 'GeoIP2::Error::IPAddressNotFound' ok 2 - exception ip_address() method returns the IP address 1..2 ok 15 - IP not found # Subtest: user_id backwards-compatibility ok 1 - 'error thrown when IP address cannot be found' isa 'GeoIP2::Error::IPAddressNotFound' ok 2 - exception ip_address() method returns the IP address 1..2 ok 16 - user_id backwards-compatibility 1..16 ok All tests successful. Files=15, Tests=500, 7 wallclock secs ( 0.07 usr 0.06 sys + 5.72 cusr 0.86 csys = 6.71 CPU) Result: PASS MAXMIND/GeoIP2-2.006001.tar.gz make test TEST_VERBOSE=1 -- OK MaxMind, Inc. <support@maxmind.com> Perl API for MaxMind's GeoIP2 web services and databases >>> (cd /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/GeoIP2-2.006001-l4iztI && tar cvf - GeoIP2-2.006001.ppd blib) | gzip -c >/data/fly2400/cpanfly-5.24/var/REPO/M/MA/MAXMIND/GeoIP2-2.006001.tar.gz GeoIP2-2.006001.ppd blib/ blib/man3/ blib/man3/GeoIP2::Model::Enterprise.3 blib/man3/GeoIP2::Model::Insights.3 blib/man3/GeoIP2::Record::MaxMind.3 blib/man3/GeoIP2::Error::HTTP.3 blib/man3/GeoIP2::Model::ISP.3 blib/man3/GeoIP2::Model::ConnectionType.3 blib/man3/GeoIP2::Record::Location.3 blib/man3/GeoIP2::Record::Traits.3 blib/man3/GeoIP2::Error::Type.3 blib/man3/GeoIP2::Record::City.3 blib/man3/GeoIP2::Record::Continent.3 blib/man3/GeoIP2::WebService::Client.3 blib/man3/GeoIP2::Database::Reader.3 blib/man3/GeoIP2.3 blib/man3/GeoIP2::Record::Subdivision.3 blib/man3/GeoIP2::Error::Generic.3 blib/man3/GeoIP2::Record::Postal.3 blib/man3/GeoIP2::Model::ASN.3 blib/man3/GeoIP2::Record::Country.3 blib/man3/GeoIP2::Model::AnonymousIP.3 blib/man3/GeoIP2::Error::WebService.3 blib/man3/GeoIP2::Model::Domain.3 blib/man3/GeoIP2::Record::RepresentedCountry.3 blib/man3/GeoIP2::Error::IPAddressNotFound.3 blib/man3/GeoIP2::Model::Country.3 blib/man3/GeoIP2::Model::City.3 blib/script/ blib/script/web-service-request blib/lib/ blib/lib/GeoIP2.pm blib/lib/GeoIP2/ blib/lib/GeoIP2/WebService/ blib/lib/GeoIP2/WebService/Client.pm blib/lib/GeoIP2/Error/ blib/lib/GeoIP2/Error/WebService.pm blib/lib/GeoIP2/Error/IPAddressNotFound.pm blib/lib/GeoIP2/Error/Generic.pm blib/lib/GeoIP2/Error/Type.pm blib/lib/GeoIP2/Error/HTTP.pm blib/lib/GeoIP2/Role/ blib/lib/GeoIP2/Role/Error/ blib/lib/GeoIP2/Role/Error/HTTP.pm blib/lib/GeoIP2/Role/HasLocales.pm blib/lib/GeoIP2/Role/Model.pm blib/lib/GeoIP2/Role/Model/ blib/lib/GeoIP2/Role/Model/Location.pm blib/lib/GeoIP2/Role/Model/Flat.pm blib/lib/GeoIP2/Role/Model/HasSubdivisions.pm blib/lib/GeoIP2/Role/HasIPAddress.pm blib/lib/GeoIP2/Role/Record/ blib/lib/GeoIP2/Role/Record/HasNames.pm blib/lib/GeoIP2/Role/Record/Country.pm blib/lib/GeoIP2/Types.pm blib/lib/GeoIP2/Model/ blib/lib/GeoIP2/Model/ISP.pm blib/lib/GeoIP2/Model/AnonymousIP.pm blib/lib/GeoIP2/Model/Enterprise.pm blib/lib/GeoIP2/Model/Insights.pm blib/lib/GeoIP2/Model/ASN.pm blib/lib/GeoIP2/Model/City.pm blib/lib/GeoIP2/Model/Country.pm blib/lib/GeoIP2/Model/Domain.pm blib/lib/GeoIP2/Model/ConnectionType.pm blib/lib/GeoIP2/Database/ blib/lib/GeoIP2/Database/Reader.pm blib/lib/GeoIP2/Record/ blib/lib/GeoIP2/Record/Location.pm blib/lib/GeoIP2/Record/Continent.pm blib/lib/GeoIP2/Record/Postal.pm blib/lib/GeoIP2/Record/RepresentedCountry.pm blib/lib/GeoIP2/Record/Traits.pm blib/lib/GeoIP2/Record/MaxMind.pm blib/lib/GeoIP2/Record/City.pm blib/lib/GeoIP2/Record/Subdivision.pm blib/lib/GeoIP2/Record/Country.pm VmSize: 368896 kB Finished 2018-09-09T02:03:02