Skip Menu |

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

Report information
The Basics
Id: 105160
Status: resolved
Priority: 0/
Queue: IO-Async-Loop-Epoll

People
Owner: Nobody in particular
Requestors: DDUMONT [...] cpan.org
Cc: gregoa [...] cpan.org
gregoa [...] debian.org
AdminCc:

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



CC: gregoa [...] debian.org
Subject: Tests fails with IO::Async 0.67
Hello On Debian/sid amd64, IO::Async::Loop::Epoll test fail with IO::Async 0.67: $ perl -wMDevel::SimpleTrace -Ilib t/01loop-io.t 1..22 ok 1 - '$loop' isa 'IO::Async::Loop::Epoll' ok 2 - magic constructor yields $loop ok 3 - $loop has refcount 1 ok 4 - $loop has refcount 1 after watch_io on_read_ready ok 5 - $readready still 0 before ->loop_once ok 6 - $readready when idle ok 7 - $readready after loop_once ok 8 - $readready after ->unwatch_io/->watch_io ok 9 - $loop has refcount 1 after watch_io on_write_ready ok 10 - $writeready after loop_once ok 11 - $readready before HUP ok 12 - $readready after HUP ok 13 - $readready before pipe HUP ok 14 - $readready after pipe HUP ok 15 - $hangup after socket close ok 16 - $hangup after pipe close for writing ok 17 - read/write_ready can cancel each other Can't use an undefined value as a subroutine reference at IO::Async::Loop::Epoll::loop_once(lib/IO/Async/Loop/Epoll.pm:161) at IO::Async::LoopTests::run_tests_io(/usr/share/perl5/IO/Async/LoopTests.pm:356) at IO::Async::LoopTests::run_tests(/usr/share/perl5/IO/Async/LoopTests.pm:115) at main::(t/01loop-io.t:4) Tests are done with perl 5.20 No problem is seen with IO:::Async 0.64 Could you check what's going on ? All the best
On Wed Jun 10 14:52:42 2015, DDUMONT wrote: Show quoted text
> No problem is seen with IO:::Async 0.64 > > Could you check what's going on ?
I believe this is actually caused by a bug in Linux::Epoll, which was fixed by version 0.012 of that module. These tests fail for me against Linux::Epoll 0.011 (latest in Debian/sid) but pass with 0.012 fresh from CPAN. -- Paul Evans
Subject: Re: [rt.cpan.org #105160] Tests fails with IO::Async 0.67
Date: Thu, 11 Jun 2015 21:45:54 +0200
To: Paul Evans via RT <bug-IO-Async-Loop-Epoll [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Thu, 11 Jun 2015 13:41:35 -0400, Paul Evans via RT wrote: Show quoted text
> On Wed Jun 10 14:52:42 2015, DDUMONT wrote:
> > No problem is seen with IO:::Async 0.64 > > Could you check what's going on ?
> I believe this is actually caused by a bug in Linux::Epoll, which was fixed by version 0.012 of that module. > These tests fail for me against Linux::Epoll 0.011 (latest in Debian/sid) but pass with 0.012 fresh from CPAN.
Confirmed, the tests pass with Linux::Epoll 0.012 (uploaded to unstable right now, will follow with libio-async-loop-epoll-perl after this mail). Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Aziza MustafĂ  Zadeh: Spanish Picture
Download signature.asc
application/pgp-signature 949b

Message body not shown because it is not plain text.

RT-Send-CC: gregoa [...] debian.org
Agreed. This module works fine now with new Linux::Epoll I'm closing this bug. Thanks for the quick response. All the best Dod