Skip Menu |

This queue is for tickets about the IO-Async CPAN distribution.

Report information
The Basics
Id: 89569
Status: open
Priority: 0/
Queue: IO-Async

People
Owner: Nobody in particular
Requestors: Chris.Wright [...] OntarioSystems.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Errors during make test on Red Hat.
Date: Wed, 16 Oct 2013 14:28:28 -0400
To: "bug-IO-Async [...] rt.cpan.org" <bug-IO-Async [...] rt.cpan.org>
From: Chris Wright <Chris.Wright [...] OntarioSystems.com>
Thank you for providing this excellent perl module. I developed a database cleanup routine using IO::Async::Function modules and it works very well. I used version 0.60 on Centos for the development work. A few days ago, my colleague loaded this module onto our Red Hat EL6 server with no issues. Today, our software QC tester tried to load this module onto a different Red Hat EL6 server and the tests failed, as shown below. We noticed that you uploaded a new version 0.61 yesterday, and we suspect that the build is now failing on our Red Hat instances. I downloaded version 0.60 from a mirror and it installs without error. We are running: $ Uname -r Linux oscitdqcoam01 2.6.32-358.6.1.el6.x86_64 #1 SMP Tue Apr 23 19:29:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $ Perl -v This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi We tried installing with cpan and cpanm with the same result. cpanm (App::cpanminus) 1.6911 on perl 5.010001 built for x86_64-linux-thread-multi Work directory is /root/.cpanm/work/1381947088.16157 You have make /usr/bin/make You have LWP 6.05 You have /bin/tar: tar (GNU tar) 1.23 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching IO::Async::Function on cpanmetadb ... --> Working on IO::Async::Function Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Async-0.61.tar.gz -> OK Unpacking IO-Async-0.61.tar.gz Entering IO-Async-0.61 Checking configure dependencies from META.json Configuring IO-Async-0.61 Running Build.PL Checking prerequisites... recommends: * IO::Socket::IP is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'IO-Async' version '0.61' -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::Refcount 0 ... Yes (0.07) Checking if you have Future 0.12 ... Yes (0.19) Checking if you have Test::Fatal 0 ... Yes (0.010) Checking if you have Storable 0 ... Yes (2.20) Checking if you have Time::HiRes 0 ... Yes (1.9721) Checking if you have Exporter 5.57 ... Yes (5.63) Checking if you have Future::Utils 0.18 ... Yes (0.19) Checking if you have Test::More 0.88 ... Yes (0.98) Checking if you have File::Temp 0 ... Yes (0.22) Checking if you have IO::Poll 0 ... Yes (0.07) Checking if you have Test::Identity 0 ... Yes (0.01) Checking if you have Socket 2.007 ... Yes (2.012) Checking if you have File::stat 0 ... Yes (1.01) Building and testing IO-Async-0.61 Building IO-Async t/00use.t .................... ok t/01timequeue.t .............. ok t/02os.t ..................... ok t/03loop-magic.t ............. ok t/04notifier.t ............... ok t/05notifier-child.t ......... ok t/06notifier-mixin.t ......... ok t/10loop-poll-io.t ........... ok t/10loop-select-io.t ......... ok t/11loop-poll-timer.t ........ ok t/11loop-select-timer.t ...... ok t/12loop-poll-signal.t ....... ok t/12loop-select-signal.t ..... ok t/13loop-poll-idle.t ......... ok t/13loop-select-idle.t ....... ok t/14loop-poll-child.t ........ ok t/14loop-select-child.t ...... ok t/15loop-poll-control.t ...... ok t/15loop-select-control.t .... ok t/18loop-poll-legacy.t ....... ok t/18loop-select-legacy.t ..... ok t/19loop-future.t ............ ok t/19test.t ................... ok t/20handle.t ................. ok t/21stream-1read.t ........... ok t/21stream-2write.t .......... ok t/21stream-3split.t .......... ok t/21stream-4encoding.t ....... ok t/22timer-absolute.t ......... ok t/22timer-countdown.t ........ ok t/22timer-periodic.t ......... ok t/23signal.t ................. ok t/24listener.t ............... ok t/25socket.t ................. ok t/26pid.t .................... ok t/27file.t ................... ok t/28filestream.t ............. ok t/30loop-fork.t .............. ok t/31loop-spawnchild.t ........ ok t/32loop-spawnchild-setup.t .. ok t/33process.t ................ ok t/34process-handles.t ........ ok t/35loop-openchild.t ......... ok t/36loop-runchild.t .......... ok t/37loop-child-root.t ........ ok t/38loop-thread.t ............ ok t/40channel.t ................ ok t/41routine.t ................ ok t/42function.t ............... ok t/50resolver.t ............... All 27 subtests passed t/51loop-connect.t ........... All 35 subtests passed t/52loop-listen.t ............ All 21 subtests passed t/53loop-extend.t ............ ok t/60protocol.t ............... ok t/61protocol-stream.t ........ ok t/62protocol-linestream.t .... ok t/63handle-connect.t ......... ok t/99pod.t .................... skipped: Test::Pod 1.00 required for testing POD Test Summary Report ------------------- t/50resolver.t (Wstat: 13 Tests: 27 Failed: 0) Non-zero wait status: 13 t/51loop-connect.t (Wstat: 13 Tests: 35 Failed: 0) Non-zero wait status: 13 t/52loop-listen.t (Wstat: 13 Tests: 21 Failed: 0) Non-zero wait status: 13 Files=58, Tests=1515, 104 wallclock secs ( 0.45 usr 0.20 sys + 5.91 cusr 1.55 csys = 8.11 CPU) Result: FAIL Failed 3/58 test programs. 0/1515 subtests failed. -> FAIL Installing IO::Async::Function failed. See /root/.cpanm/build.log for details. Chris Wright Lead Software Engineer Ontario Systems, LLC. Attention: This message and all attachments are private and may contain information that is confidential and privileged. If you received this message in error, please notify the sender by reply email and delete the message immediately.
On Wed Oct 16 14:30:19 2013, Chris.Wright@OntarioSystems.com wrote: Show quoted text
> We noticed that you uploaded a new version 0.61 yesterday, and we > suspect that the build is now failing on our Red Hat instances. I > downloaded version 0.60 from a mirror and it installs without error.
... Show quoted text
> $ Perl -v > This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi > > We tried installing with cpan and cpanm with the same result. >
... Show quoted text
> Test Summary Report > ------------------- > t/50resolver.t (Wstat: 13 Tests: 27 Failed: 0) > Non-zero wait status: 13 > t/51loop-connect.t (Wstat: 13 Tests: 35 Failed: 0) > Non-zero wait status: 13 > t/52loop-listen.t (Wstat: 13 Tests: 21 Failed: 0) > Non-zero wait status: 13 > Files=58, Tests=1515, 104 wallclock secs ( 0.45 usr 0.20 sys + 5.91 > cusr 1.55 csys = 8.11 CPU) > Result: FAIL > Failed 3/58 test programs. 0/1515 subtests failed.
Yes, I have noticed those on CPAN testers.. :( I haven't been able to reproduce it locally on 5.18.1, so I wonder if it's only affecting older perls. I shall try a 5.10.1 on my testing box. Exit status 13 means it terminated with signal 13, which is SIGPIPE. This I suspect is almost certainly due to the new shutdown logic in Routine, added to make the Windows code work better. I therefore suspect at least that this is just a shutdown-related issue, and shouldn't affect longrunning code until it tries to exit. So hopefully, while the tests themselves fail, if you 'notest install' you should find most things continue to run unaffected. -- Paul Evans
Subject: Re: [rt.cpan.org #89569] Errors during make test on Red Hat.
Date: Thu, 17 Oct 2013 18:17:45 -0400
To: "bug-IO-Async [...] rt.cpan.org" <bug-IO-Async [...] rt.cpan.org>
From: Chris Wright <Chris.Wright [...] OntarioSystems.com>
Thanks for the reply. I hadn't considered that it might be related to the perl version as well. We will try out the notest install the next chance we get. Show quoted text
> On Oct 17, 2013, at 6:11 PM, "Paul Evans via RT" <bug-IO-Async@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=89569 > >
>> On Wed Oct 16 14:30:19 2013, Chris.Wright@OntarioSystems.com wrote: >> We noticed that you uploaded a new version 0.61 yesterday, and we >> suspect that the build is now failing on our Red Hat instances. I >> downloaded version 0.60 from a mirror and it installs without error.
> ...
>> $ Perl -v >> This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi >> >> We tried installing with cpan and cpanm with the same result.
> ...
>> Test Summary Report >> ------------------- >> t/50resolver.t (Wstat: 13 Tests: 27 Failed: 0) >> Non-zero wait status: 13 >> t/51loop-connect.t (Wstat: 13 Tests: 35 Failed: 0) >> Non-zero wait status: 13 >> t/52loop-listen.t (Wstat: 13 Tests: 21 Failed: 0) >> Non-zero wait status: 13 >> Files=58, Tests=1515, 104 wallclock secs ( 0.45 usr 0.20 sys + 5.91 >> cusr 1.55 csys = 8.11 CPU) >> Result: FAIL >> Failed 3/58 test programs. 0/1515 subtests failed.
> > Yes, I have noticed those on CPAN testers.. :( > > I haven't been able to reproduce it locally on 5.18.1, so I wonder if it's only affecting older perls. I shall try a 5.10.1 on my testing box. > > Exit status 13 means it terminated with signal 13, which is SIGPIPE. This I suspect is almost certainly due to the new shutdown logic in Routine, added to make the Windows code work better. I therefore suspect at least that this is just a shutdown-related issue, and shouldn't affect longrunning code until it tries to exit. So hopefully, while the tests themselves fail, if you 'notest install' you should find most things continue to run unaffected. > > -- > > Paul Evans
Attention: This message and all attachments are private and may contain information that is confidential and privileged. If you received this message in error, please notify the sender by reply email and delete the message immediately.