Bug 1118362

Summary: perl-Test-Assert-0.0504-9.fc21 FTBFS due signature test failing if there are network difficulties
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Test-AssertAssignee: Paul Howarth <paul>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mmaslano, paul, perl-devel, psabata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Test-Assert-0.0504-10.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-10 14:59:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2014-07-10 14:08:01 UTC
perl-Test-Assert-0.0504-9.fc21 can fail to build from sources due tests sensitive to network:

+ ./Build test --test_files 'xt/check_changes.t xt/consistent_version_numbers.t xt/distribution.t xt/kwalitee.t xt/minimumversion.t  xt/pod.t xt/pod_coverage.t xt/pod_syntax.t xt/signature.t'
xt/check_changes.t ............... ok
xt/consistent_version_numbers.t .. ok
xt/distribution.t ................ ok
xt/kwalitee.t .................... ok
xt/minimumversion.t .............. ok
xt/pod.t ......................... ok
xt/pod_coverage.t ................ ok
xt/pod_syntax.t .................. ok
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 Sun Dec  6 23:48:27 2009 CET using DSA key ID C0B10A5B
gpg: requesting key C0B10A5B 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! <==
#   Failed test 'Valid signature'
#   at xt/signature.t line 9.
# Looks like you failed 1 test of 1.
xt/signature.t ................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
Test Summary Report
-------------------
xt/signature.t                 (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=9, Tests=40, 11 wallclock secs ( 0.04 usr  0.02 sys +  5.47 cusr  0.13 csys =  5.66 CPU)
Result: FAIL

Comment 1 Petr Pisar 2014-07-10 14:29:11 UTC
I will bundle the key. There is a race between checking for key server connectivity and the gpg tool itself.