Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Gearman CPAN distribution.

Report information
The Basics
Id: 116075
Status: resolved
Priority: 0/
Queue: Gearman

People
Owner: info [...] maximka.de
Requestors: CHORNY [...] cpan.org
PLICEASE [...] cpan.org
Cc:
AdminCc:

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



Subject: test suite hangs running out of git
crux% prove -lv t/10-all.t t/10-all.t .. Unknown option: v I am not sure where the option "v" is, or where it is being used. It appears to hang indefinitely on my os x laptop, which has the pure perl German::Server installed (with gearmand in the path).
On Tue Jul 12 07:52:49 2016, PLICEASE wrote: Show quoted text
> crux% prove -lv t/10-all.t > t/10-all.t .. Unknown option: v > > I am not sure where the option "v" is, or where it is being used. It > appears to hang indefinitely on my os x laptop, which has the pure > perl German::Server installed (with gearmand in the path).
Interesting I just upgraded to the latest Gearman::Server, which makes progress, but still hangs: crux% prove -lv t/10-all.t t/10-all.t .. ok 1 - An object of class 'Gearman::Client' isa 'Gearman::Client' /Users/ollisg/dev/Gearman/t/worker.pl at /Users/ollisg/dev/Gearman/t/lib/Test/Gearman.pm line 143. /Users/ollisg/dev/Gearman/t/worker.pl at /Users/ollisg/dev/Gearman/t/lib/Test/Gearman.pm line 143. # Subtest: taskset 1 ok 1 - do_task does not accept arrayref argument ok 2 - do_task returned 8 for sum ok 3 - An object of class 'Gearman::Taskset' isa 'Gearman::Taskset' ok 4 - add_task/wait returned 8 for sum ok 5 - on_fail not called on a successful result 1..5 ok 2 - taskset 1 # Subtest: taskset 2 ok 1 - First task completed (sum is 2) ok 2 - Second task completed (sum is 4) 1..2 ok 3 - taskset 2 # Subtest: failures ok 1 - Job that failed naturally returned undef Job 'fail_die' died: test reason at /Users/ollisg/dev/Gearman/t/worker.pl line 32. ok 2 - the die message is available in the on_fail sub 1..2 ok 4 - failures # Subtest: worker process exits ok 1 - Job that failed via exit returned undef /Users/ollisg/dev/Gearman/t/worker.pl at /Users/ollisg/dev/Gearman/t/lib/Test/Gearman.pm line 143. 1..1 ok 5 - worker process exits # Subtest: timeout ok 1 - Job that timed out after 3 seconds returns failure 1..1 ok 6 - timeout # Subtest: sleeping
All tests passed travis ci in upcoming release with gearmand (gearman.org). Testing with Gearman::Server is in TODO.
I see similar hanging with German 1.130.001. -- Alexandr Ciornii, http://chorny.net
v1.130 tests with gearmand (gearman.org) pass travis ci https://travis-ci.org/p-alik/perl-Gearman and my own testing on freebsd and debian. May you test current release please
On Fri Aug 05 17:20:06 2016, palik wrote: Show quoted text
> v1.130 tests with gearmand (gearman.org) pass travis ci > https://travis-ci.org/p-alik/perl-Gearman > and my own testing on freebsd and debian. > May you test current release please
confirmed latest version out of git now works for me.
I'm going to close the issue. Please reopen it on demand.