Non-koji mock allows DNS resolution, but forbids network connections. This causes a test to fail: + make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*. t gpg: new configuration file `/builddir/.gnupg/gpg.conf' created gpg: WARNING: options in `/builddir/.gnupg/gpg.conf' are not yet active during t his run gpgkeys: HTTP fetch error 7: Failed to connect to pool.sks-keyservers.net port 1 1371: Network is unreachable gpg: Signature made Tue Aug 30 08:30:20 2011 CEST using DSA key ID A317C15D gpg: requesting key A317C15D from hkp server pool.sks-keyservers.net gpg: no valid OpenPGP data found. gpg: Can't check signature: public key not found ==> BAD/TAMPERED signature detected! <== t/00signature.t .. Failed 1/1 subtests This is causes by insufficient skip-test condition in t/00signature.t. Reported to upstream <https://rt.cpan.org/Public/Bug/Display.html?id=94397> with proposed fix.
Unfortunately there is still still race between the TCP check and calling the gpg: + make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t gpg: new configuration file `/builddir/.gnupg/gpg.conf' created gpg: WARNING: options in `/builddir/.gnupg/gpg.conf' are not yet active during this run gpgkeys: HTTP fetch error 7: Failed to connect to pool.sks-keyservers.net port 11371: Network is unreachable gpg: Signature made Fri Apr 4 06:03:24 2014 CEST using DSA key ID A317C15D gpg: requesting key A317C15D from hkp server pool.sks-keyservers.net gpg: no valid OpenPGP data found. gpg: Can't check signature: public key not found ==> BAD/TAMPERED signature detected! <== t/00signature.t .. Failed 1/1 subtests t/52podcover.t ... ok t/pod.t .......... ok t/updatedir.t .... ok Test Summary Report ------------------- t/00signature.t (Wstat: 0 Tests: 1 Failed: 1) Failed test: 1
I bundled the upstream key not rely on any network.