Bug 1058699 - FTBFS: perl-AutoClass-1_01-20.fc21: Random tests failure
Summary: FTBFS: perl-AutoClass-1_01-20.fc21: Random tests failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-AutoClass
Version: 20
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-01-28 11:42 UTC by Petr Pisar
Modified: 2014-07-02 13:13 UTC (History)
2 users (show)

Fixed In Version: perl-AutoClass-1_01-21.fc21
Clone Of:
Environment:
Last Closed: 2014-07-02 13:13:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


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

Description Petr Pisar 2014-01-28 11:42:39 UTC
perl-AutoClass-1_01-20.fc21 fails to build randomly because tests fail sometimes like this:

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
t/AutoArgsTest.t ....... ok
t/AutoClassTest.t ...... ok
t/classvarTest.t ....... ok
t/defaultTest.t ........ 1/? # Tests for handling of defaults with  synonyms. Parent only
# Tests for handling of defaults with  synonyms. Parent and Child
t/defaultTest.t ........ ok
t/nullify.t ............ ok
t/override.t ........... ok
t/RootTest.t ........... ok
t/synonym.t ............ ok
t/testCase.t ........... 1/? # test setting attributes from defaults
# test setting attributes from arguments
t/testCase.t ........... ok
t/testInconsistent.t ... 1/?
#   Failed test 'use testInconsistent2 found expected inconsistencies'
#   at t/testInconsistent.t line 13.
#                   'Inconsistent declarations for attribute(s) b a
#       Attribute b: declared instance attribute in testInconsistent2, class attribute in testInconsistent1
#       Attribute a: declared instance attribute in testInconsistent1, class attribute in testInconsistent2 at /home/test/fedora/perl-AutoClass/AutoClass/blib/lib/Class/AutoClass.pm line 540.
#       Class::AutoClass::declare("testInconsistent2") called at t/testInconsistent2.pm line 12
#       require testInconsistent2.pm called at (eval 11) line 2
#       main::BEGIN() called at t/testInconsistent2.pm line 0
#       eval {...} called at t/testInconsistent2.pm line 0
#       eval 'use testInconsistent2' called at t/testInconsistent.t line 12
# Compilation failed in require at (eval 11) line 2.
# BEGIN failed--compilation aborted at (eval 11) line 2.
# '
#     doesn't match '(?^:^Inconsistent declarations for attribute\(s\) a b)'
# Looks like you failed 1 test of 2.
t/testInconsistent.t ... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/testNoAutoClass.t .... ok
t/testNoUseParent.t .... ok
t/testSynonyms2.t ...... ok
t/testUseOutOfOrder.t .. ok

Test Summary Report
-------------------
t/testInconsistent.t (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=14, Tests=362,  2 wallclock secs ( 0.17 usr  0.15 sys +  0.85 cusr  0.58 csys =  1.75 CPU)
Result: FAIL

Comment 1 Petr Pisar 2014-05-14 14:57:48 UTC
Fedora 20 is affected too.

Comment 2 Fedora Update System 2014-05-15 04:54:46 UTC
perl-AutoClass-1_01-21.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-AutoClass-1_01-21.fc20

Comment 3 Fedora Update System 2014-05-24 23:30:16 UTC
perl-AutoClass-1_01-21.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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