Bug 1083915 - perl-CPAN-Checksums-2.08-8.fc21 FTBFS in non-koji mock
Summary: perl-CPAN-Checksums-2.08-8.fc21 FTBFS in non-koji mock
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-CPAN-Checksums
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-03 08:58 UTC by Petr Pisar
Modified: 2014-07-08 13:38 UTC (History)
3 users (show)

Fixed In Version: perl-CPAN-Checksums-2.09-3.fc21
Clone Of:
Environment:
Last Closed: 2014-07-08 13:38:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 94397 0 None None None Never

Description Petr Pisar 2014-04-03 08:58:03 UTC
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.

Comment 1 Petr Pisar 2014-07-08 13:19:00 UTC
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

Comment 2 Petr Pisar 2014-07-08 13:38:45 UTC
I bundled the upstream key not rely on any network.


Note You need to log in before you can comment on or make changes to this bug.