Skip Menu |

This queue is for tickets about the Net-IMAP-Server CPAN distribution.

Report information
The Basics
Id: 47955
Status: resolved
Priority: 0/
Queue: Net-IMAP-Server

People
Owner: Nobody in particular
Requestors: jettero [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.21
Fixed in: 1.20



Subject: between 1.20 and 1.21, select() always produces 0 RECENT mail
I'm going to really narrow this down later, but it affected a large portion of the tests in Net::IMAP::Simple. I don't know if it's a simple (test) bug or a net-imap-server bug, but I suspect the later since the behavior is quite new. http://www.nntp.perl.org/group/perl.cpan.testers/2009/07/msg4579827.html -- If riding in an airplane is flying, then riding in a boat is swimming. 110 jumps, 45.0 minutes of freefall, 86.2 freefall miles.
Subject: Re: [rt.cpan.org #47955] between 1.20 and 1.21, select() always produces 0 RECENT mail
Date: Thu, 16 Jul 2009 18:11:49 -0400
To: bug-Net-IMAP-Server <bug-net-imap-server [...] rt.cpan.org>
From: Alex Vandiver <alex [...] chmrr.net>
At Thu Jul 16 17:28:33 -0400 2009, Paul Miller via RT wrote: Show quoted text
> I'm going to really narrow this down later, but it affected a large > portion of the tests in Net::IMAP::Simple. I don't know if it's a > simple (test) bug or a net-imap-server bug, but I suspect the later > since the behavior is quite new.
I'm totally willing to believe it's my bad. I can kinda replicate the bug with 'make test', though it's harder to debug because for some reason the tests hang under `prove`. I'm seeing the following (with net-imap-simple 1.1900) Failures with Net::IMAP::Server 1.20: ----------------------------------- t/15_flags.t (Wstat: 0 Tests: 52 Failed: 12) Failed tests: 1-2, 5, 8, 10, 13, 15, 18, 20, 23, 25, 28 t/22_copy_multiple.t (Wstat: 0 Tests: 5 Failed: 1) Failed test: 1 t/22_delete_multiple.t (Wstat: 0 Tests: 8 Failed: 3) Failed tests: 1, 7-8 Failures with Net::IMAP::Server 1.20: ----------------------------------- t/07_select_and_examine.t (Wstat: 65280 Tests: 5 Failed: 1) Failed test: 5 Non-zero exit status: 255 Parse errors: Bad plan. You planned 23 tests but ran 5. t/15_flags.t (Wstat: 0 Tests: 52 Failed: 12) Failed tests: 1-2, 5, 8, 10, 13, 15, 18, 20, 23, 25, 28 t/17_status_and_select.t (Wstat: 0 Tests: 8 Failed: 2) Failed tests: 3, 7 t/22_copy_multiple.t (Wstat: 0 Tests: 5 Failed: 1) Failed test: 1 t/35_imap_results_in_message_body.t (Wstat: 0 Tests: 1 Failed: 1) Failed test: 1 In the future, I'll try to run the Net::IMAP::Simple tests before making a Net::IMAP::Server dist. I've considered ways to add a real testsuite to Net::IMAP::Server, except I can't use Net::IMAP::Simple without making a circular dependency loop at this point. :) I may have to write a sumb IO::Socket-based tester. - Alex -- Networking -- only one letter away from not working
Subject: Re: [rt.cpan.org #47955] between 1.20 and 1.21, select() always produces 0 RECENT mail
Date: Thu, 16 Jul 2009 18:23:36 -0400
To: bug-Net-IMAP-Server <bug-net-imap-server [...] rt.cpan.org>
From: Alex Vandiver <alex [...] chmrr.net>
At Thu Jul 16 18:12:10 -0400 2009, Alex Vandiver via RT wrote: Show quoted text
> I'm totally willing to believe it's my bad. I can kinda replicate the > bug with 'make test', though it's harder to debug because for some > reason the tests hang under `prove`. > [snip]
Scratch that. I'm getting horribly inconsistent results from test run to test run. Tests seems to have some caching or race condition in them somewhere that causes them to fail at random. Any guesses what might cause that? - Alex -- Networking -- only one letter away from not working
Subject: Re: [rt.cpan.org #47955] between 1.20 and 1.21, select() always produces 0 RECENT mail
Date: Thu, 16 Jul 2009 22:09:44 -0400
To: bug-Net-IMAP-Server [...] rt.cpan.org
From: Paul Miller <jettero [...] cpan.org>
On Thu, Jul 16, 2009 at 6:12 PM, Alex Vandiver via RT<bug-Net-IMAP-Server@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=47955 > > In the future, I'll try to run the Net::IMAP::Simple tests before
I've been thinking about including specific versions of IMAP::Server in my ::Simple so you don't have to worry about that kind of thing. Show quoted text
> making a Net::IMAP::Server dist.  I've considered ways to add a real > testsuite to Net::IMAP::Server, except I can't use Net::IMAP::Simple > without making a circular dependency loop at this point.
Maybe if you did the same. And we could just co-ordinate upgrading each-other's test suites? Just a brainstorm. -- If riding in an airplane is flying, then riding in a boat is swimming. 110 jumps, 45.0 minutes of freefall, 86.2 freefall miles.
I'm more than a little surprised this package isn't on github... I had to build a git repo with git-cpan-import to do the bisect. :( -- If riding in an airplane is flying, then riding in a boat is swimming. 110 jumps, 45.0 minutes of freefall, 86.2 freefall miles.
Subject: Re: [rt.cpan.org #47955] between 1.20 and 1.21, select() always produces 0 RECENT mail
Date: Fri, 17 Jul 2009 10:06:36 -0400
To: bug-Net-IMAP-Server <bug-net-imap-server [...] rt.cpan.org>
From: Alex Vandiver <alex [...] chmrr.net>
At Fri Jul 17 08:07:46 -0400 2009, Paul Miller via RT wrote: Show quoted text
> I'm more than a little surprised this package isn't on github... I had > to build a git repo with git-cpan-import to do the bisect. :(
http://github.com/bestpractical/net-imap-server ? - Alex -- Networking -- only one letter away from not working
Subject: Re: [rt.cpan.org #47955] between 1.20 and 1.21, select() always produces 0 RECENT mail
Date: Fri, 17 Jul 2009 10:09:01 -0400
To: bug-Net-IMAP-Server [...] rt.cpan.org
From: Paul Miller <jettero [...] cpan.org>
On Fri, Jul 17, 2009 at 10:06 AM, Alex Vandiver via RT<bug-Net-IMAP-Server@rt.cpan.org> wrote: Show quoted text
Woopsie. I really should have looked first. Why isn't it in the META.yml? -- If riding in an airplane is flying, then riding in a boat is swimming. 110 jumps, 45.0 minutes of freefall, 86.2 freefall miles.
On Fri Jul 17 10:09:19 2009, JETTERO wrote: Show quoted text
Found the exact commit that did it: 4cd5101 Not sure why yet, other priorities, will post more later. -- If riding in an airplane is flying, then riding in a boat is swimming. 110 jumps, 45.0 minutes of freefall, 86.2 freefall miles.
On Fri Jul 17 14:24:47 2009, JETTERO wrote: Show quoted text
> Not sure why yet, other priorities, will post more later.
Got it I think. I tried to find a way to add this ticket to the recipient list for the pull request on github, but I couldn't figure it out. Presumably there's a way to do it. Looks like a typo to me: http://is.gd/1Cuff -- If riding in an airplane is flying, then riding in a boat is swimming. 110 jumps, 45.0 minutes of freefall, 86.2 freefall miles.
Subject: Re: [rt.cpan.org #47955] between 1.20 and 1.21, select() always produces 0 RECENT mail
Date: Fri, 17 Jul 2009 16:34:50 -0400
To: bug-Net-IMAP-Server <bug-net-imap-server [...] rt.cpan.org>
From: Alex Vandiver <alex [...] chmrr.net>
At Fri Jul 17 16:20:04 -0400 2009, Paul Miller via RT wrote: Show quoted text
> Got it I think. > > I tried to find a way to add this ticket to the recipient list for the > pull request on github, but I couldn't figure it out. Presumably > there's a way to do it. > > Looks like a typo to me: http://is.gd/1Cuff
Hm, after some thought, I disagree -- I think it's a missing =. Check that 3c49130, now on github, fixes this? - Alex -- Networking -- only one letter away from not working
Subject: Re: [rt.cpan.org #47955] between 1.20 and 1.21, select() always produces 0 RECENT mail
Date: Fri, 17 Jul 2009 17:23:56 -0400
To: bug-Net-IMAP-Server [...] rt.cpan.org
From: Paul Miller <jettero [...] cpan.org>
On Fri, Jul 17, 2009 at 4:35 PM, Alex Vandiver via RT<bug-Net-IMAP-Server@rt.cpan.org> wrote: Show quoted text
> Hm, after some thought, I disagree -- I think it's a missing =.  Check > that 3c49130, now on github, fixes this?
Yeah, your patch makes more sense than mine. Also, it tests clean for me now. -- If riding in an airplane is flying, then riding in a boat is swimming. 110 jumps, 45.0 minutes of freefall, 86.2 freefall miles.