Subject: | Online Tests fail in company networks and in some DSL provider networks |
Online tests fail in some company networks due to standard SPAM/Malware prevention measures, e.g. only the official mail servers may connect directly to the internet. All other connections are blocked.
As for many ISPs, especially Dial-in and DSL, their IP ranges are often on SPAM lists, thanks to Microsoft's approach to security *facepalm*
For example:
Show quoted text
>
> PERL_DL_NONLAZY=1 "/home/cavac/bin/CavacPerl-5.26.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-> > e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/original.t .. 1/2 Server said: 554 5.7.1 Service unavailable; Client host [178.189.148.240] blocked using > zen.spamhaus.org; https://www.spamhaus.org/query/ip/178.189.148.240
> t/original.t .. Failed 1/2 subtests
>
> Test Summary Report
> -------------------
> t/original.t (Wstat: 0 Tests: 2 Failed: 1)
> Failed test: 2
> Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.04 CPU)
> Result: FAIL
> Failed 1/1 test programs. 1/2 subtests failed.
For my purposes, this doesn't matter, i am using dedicated mail servers that have my systems whitelisted in one way or another.
But it means a lot more work/time when installing, since i have to run the installation of this module manually after it breaks the usual installing-as-dependency chain for the CPAN shell.
Possible solutions:
*) Make the online tests optional
*) Run a dedicated "dummy" mailserver for the tests locally.