Bug 1552447

Summary: perl-Catalyst-Runtime-5.90117-2.fc29 FTBFS: Failed test 'elapsed' at t/unit_stats.t
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Catalyst-RuntimeAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: emmanuel, iarnell, perl-devel, tremble
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/4200947
Whiteboard:
Fixed In Version: perl-Catalyst-Runtime-5.90117-3.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-30 12:50:03 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 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.