Bug 1314777 - perl-IO-Pty-Easy-0.09-5.fc25 FTBFS: t/read-write.t test fails randomly
Summary: perl-IO-Pty-Easy-0.09-5.fc25 FTBFS: t/read-write.t test fails randomly
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-IO-Pty-Easy
Version: rawhide
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: 2016-03-04 13:07 UTC by Petr Pisar
Modified: 2016-03-15 11:14 UTC (History)
2 users (show)

Fixed In Version: perl-IO-Pty-Easy-0.09-6.fc25
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-15 11:14:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 95702 0 None None None 2016-03-14 16:38:04 UTC
CPAN 96826 0 None None None 2016-03-04 13:07:53 UTC
CPAN 113038 0 None None None 2016-03-15 11:14:21 UTC

Description Petr Pisar 2016-03-04 13:07:53 UTC
perl-IO-Pty-Easy-0.09-5.fc25 fails to build in F25 sometimes because a test can fail:

%check phase:
#   Failed test 'write returns undef on timeout'
#   at t/read-write.t line 18.
#          got: '11'
#     expected: undef
# Looks like you failed 1 test of 5.
t/read-write.t ............ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed

Reproducer is:

$ while (perl -Ilib t/read-write.t); do :;done

It looks like there is a race in the test.

Comment 1 Petr Pisar 2016-03-14 16:57:14 UTC
I applied a fix I proposed to the upstream. But it fails in koji. It actually fails if tests' stdin is not a TTY. This looks like genuine bug in the module.

Comment 2 Petr Pisar 2016-03-15 11:14:22 UTC
It loks like a bug in the module documentation. I adapted the test.


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