Bug 151602

Summary: Package build ignores self-test errors
Product: [Fedora] Fedora Reporter: Steve Snyder <swsnyder>
Component: perlAssignee: Warren Togami <wtogami>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-17 23:52:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Snyder 2005-03-20 18:36:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050227 Fedora/1.7.5-4.icc

Description of problem:
When rebuilding binary RPM from recent perl SRPMs, errors in self-test are ignored.

The Perl self-test always fails (at least 1 failure - see bug #127023).  This can clearly seen by running this command:

  rpmbuild -bc /usr/src/redhat/SPREC/perl.spec

The self-test is run as part of the build and the number of failed test is shown at the end.

Now do this:

  rpmbuild -bb /usr/src/redhat/SPREC/perl.spec

The same errors occure during the compile/self-test, but this time the build breezes right by, continuing to build the binary packages.


Version-Release number of selected component (if applicable):
perl-5.8.3-18.src.rpm through perl-5.8.6-5.src.rpm

How reproducible:
Always

Steps to Reproduce:
1. Rebuild binary Perl packages from SRPM.
2. Pay attention to the results of the self-test, note non-zero number of failures.
3. Build of binary packages runs to completion despite failures.


Actual Results:  Some tests within the self-test suite fail, yet binary packages build without complaint.

Expected Results:  Either no self-tests should fail (the ideal) or the build of the binary RPMs should also fail, to reflect the bad build.


Additional info:

I see this same behavior with the Perl SRPMs from FC2, FC3 and current Rawhide.  I just picked the FC3 distro as the "Version" because it is the most recently released.  This is actually a long-standing problem.

Comment 1 Warren Togami 2005-05-17 23:52:52 UTC
We are unable to fix this at this time.