Bug 1552447 - perl-Catalyst-Runtime-5.90117-2.fc29 FTBFS: Failed test 'elapsed' at t/unit_stats.t
Summary: perl-Catalyst-Runtime-5.90117-2.fc29 FTBFS: Failed test 'elapsed' at t/unit_s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Catalyst-Runtime
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL: https://apps.fedoraproject.org/kosche...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-07 07:46 UTC by Petr Pisar
Modified: 2018-03-30 12:50 UTC (History)
4 users (show)

Fixed In Version: perl-Catalyst-Runtime-5.90117-3.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-30 12:50:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 124459 0 None None None 2018-03-07 07:46:17 UTC

Description Petr Pisar 2018-03-07 07:46:18 UTC
perl-Catalyst-Runtime-5.90117-2.fc29 fails to build in F29 because a test fails:

#   Failed test 'elapsed'
#   at t/unit_stats.t line 94.
#          got: '1520251689.51182'
#     expected: '14'
# Looks like you failed 1 test of 13.
t/unit_stats.t ........................................................ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/13 subtests 

This is triggered by upgrading perl-Time-HiRes from 1.9753-2.fc28 to 1.9754-1.fc28 and caused by Catalyst-Runtime test that redefines Time::HiRes::gettimeofday() but than calls Time::HiRes::tv_interval() and expects  Time::HiRes::tv_interval() will call Time::HiRes::gettimeofday(). This is not true since Time-HiRes-1.9754.

A fix exists at <http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Catalyst-Runtime-5.90117-RT124459.patch>.

Also Fedora 28 is affected.

Comment 1 Fedora Update System 2018-03-11 11:38:09 UTC
perl-Catalyst-Runtime-5.90117-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-cd4219f2d2

Comment 2 Fedora Update System 2018-03-11 18:48:25 UTC
perl-Catalyst-Runtime-5.90117-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-cd4219f2d2

Comment 3 Fedora Update System 2018-03-30 12:50:03 UTC
perl-Catalyst-Runtime-5.90117-3.fc28 has been pushed to the Fedora 28 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.