Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1154974 - perl-Devel-Timer-0.05-2.fc22 FTBFS randomly: Failed test 'sort by count' at t/test.t line 73
Summary: perl-Devel-Timer-0.05-2.fc22 FTBFS randomly: Failed test 'sort by count' at t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Devel-Timer
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Denis Fateyev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1157166
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-21 07:38 UTC by Petr Pisar
Modified: 2014-11-25 20:08 UTC (History)
2 users (show)

Fixed In Version: perl-Devel-Timer-0.06-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-15 09:06:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2014-10-21 07:38:18 UTC
perl-Devel-Timer-0.05-2.fc22 fails to build sometimes because 'sort by count' t/test.t test fails randomly:

$ prove -b -v t/test.t 
t/test.t .. 
1..49
ok 1 - use Devel::Timer;
ok 2 - Total time
ok 3 - header
ok 4 - step 0
ok 5 - step 1
ok 6 - step 2
ok 7 - step 3
ok 8 - step 4
ok 9 - step 5
ok 10 - step 6
ok 11 - no step 7
ok 12 - Total time
ok 13 - header
ok 14 - A -> B
ok 15 - B -> C
ok 16 - B -> A
ok 17 - INIT -> A
ok 18 - order by time descending
ok 19 - Total time
ok 20 - header
ok 21 - A -> B
ok 22 - B -> C
ok 23 - B -> A
ok 24 - INIT -> A
not ok 25 - sort by count

#   Failed test 'sort by count'
#   at t/test.t line 73.
ok 26 - get_stats('A', 'B')
ok 27 - $time
ok 28 - $time
ok 29 - $percent
ok 30 - $percent
ok 31 - $count
ok 32 - get_stats('B', 'A')
ok 33 - $time
ok 34 - $time
ok 35 - $percent
ok 36 - $percent
ok 37 - $count
ok 38 - get_stats('B', 'C')
ok 39 - $time
ok 40 - $time
ok 41 - $percent
ok 42 - $percent
ok 43 - $count
ok 44 - get_stats('INIT', 'A')
ok 45 - $time
ok 46 - $time
ok 47 - $percent
ok 48 - $percent
ok 49 - $count
# Looks like you failed 1 test of 49.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/49 subtests 

Test Summary Report
-------------------
t/test.t (Wstat: 256 Tests: 49 Failed: 1)
  Failed test:  25
  Non-zero exit status: 1

Comment 1 Denis Fateyev 2014-10-21 08:11:18 UTC
I saw similar behavior sometimes earlier too, but haven't found any tendency since it can fail one 1 time per 10 runs, or so.
Looks like I need to contact upstream for clarification.

Comment 2 Denis Fateyev 2014-11-09 19:29:29 UTC
Fixed in Devel::Timer 0.06.
https://koji.fedoraproject.org/koji/taskinfo?taskID=8083989

Comment 3 Fedora Update System 2014-11-09 19:31:11 UTC
perl-Devel-Timer-0.06-1.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/perl-Devel-Timer-0.06-1.el7

Comment 4 Fedora Update System 2014-11-09 19:33:44 UTC
perl-Devel-Timer-0.06-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/perl-Devel-Timer-0.06-1.fc21

Comment 5 Fedora Update System 2014-11-09 19:36:05 UTC
perl-Devel-Timer-0.06-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-Devel-Timer-0.06-1.fc20

Comment 6 Fedora Update System 2014-11-10 18:28:49 UTC
Package perl-Devel-Timer-0.06-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-Devel-Timer-0.06-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14691/perl-Devel-Timer-0.06-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-11-15 09:06:34 UTC
perl-Devel-Timer-0.06-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-11-19 15:58:13 UTC
perl-Devel-Timer-0.06-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-11-25 20:08:35 UTC
perl-Devel-Timer-0.06-1.el7 has been pushed to the Fedora EPEL 7 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.