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: 68155
Status: resolved
Priority: 0/
Queue: Gearman

People
Owner: Nobody in particular
Requestors: mm [...] yuhu.biz
Cc: jhelwig [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.11
Fixed in: 1.130.004



Subject: Gearman 1.11 tests fail
Hello Guys, For some time now the tests of the Gearman Perl modules are failing on my machines. I tried with all versions of gearmand from 0.14 to 0.20. I had no success. Every time I have the same problem. Here is more info: [root@localhost gearmand-0.20]# gearmand -V gearmand 0.20 - https://launchpad.net/gearmand [root@localhost gearmand-0.20]# cd ../Gearman-1.11 [root@localhost Gearman-1.11]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-use...............ok t/10-all...............Unrecognized character \x7F at /usr/sbin/gearmand line 1. make: *** wait: No child processes. Stop. make: *** Waiting for unfinished jobs.... make: *** wait: No child processes. Stop. [root@localhost Gearman-1.11]# uname -a Linux localhost.localdomain 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux [root@localhost Gearman-1.11]# rpm -qa|grep boost boost-system-1.39.0-9.el5 boost-python-1.39.0-9.el5 boost-regex-1.39.0-9.el5 boost-signals-1.39.0-9.el5 boost-devel-1.39.0-9.el5 boost-date-time-1.39.0-9.el5 boost-filesystem-1.39.0-9.el5 boost-wave-1.39.0-9.el5 boost-math-1.39.0-9.el5 boost-test-1.39.0-9.el5 boost-program-options-1.39.0-9.el5 boost-graph-1.39.0-9.el5 boost-1.39.0-9.el5 boost-doc-1.39.0-9.el5 boost-thread-1.39.0-9.el5 boost-serialization-1.39.0-9.el5 boost-iostreams-1.39.0-9.el5 Tested on CentOS 5.5 and CentOS 5.6.
From: ppisar [...] redhat.com
Dne Čt 12.Květen.2011 16:13:49, hackman napsal(a): Show quoted text
> Hello Guys, > For some time now the tests of the Gearman Perl modules are failing on > my machines. > > I tried with all versions of gearmand from 0.14 to 0.20. I had no > success. Every time I have the same problem. > > Here is more info: > > [root@localhost gearmand-0.20]# gearmand -V > > gearmand 0.20 - https://launchpad.net/gearmand > [root@localhost gearmand-0.20]# cd ../Gearman-1.11 > [root@localhost Gearman-1.11]# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00-use...............ok > t/10-all...............Unrecognized character \x7F at /usr/sbin/gearmand > line 1.
When the test starts /usr/sbin/gearmand, it do so via perl interpreter, start_child() in t/TestGearman.pm: exec $^X, '-Iblib/lib', '-Ilib', @$cmd or die $!; Obviously, /usr/sbin/gearmand is not a Perl script anymore, so one cannot executed it by perl.
Subject: Re: [rt.cpan.org #68155] Gearman 1.11 tests fail
Date: Wed, 1 Jun 2016 11:04:17 +0200 (CEST)
To: bug-Gearman [...] rt.cpan.org
From: Alexei Pastuchov <info [...] maximka.de>
Hi, I would recommend you to use last release 1.12.007 https://metacpan.org/release/Gearman It's in status passed by Travis CI https://travis-ci.org/p-alik/perl-Gearman/builds/131394740 BR, Alexei Show quoted text
> On 01 June 2016 at 10:37 Petr Pisar via RT <bug-Gearman@rt.cpan.org> wrote: > > > Queue: Gearman > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68155 > > > Dne Čt 12.Květen.2011 16:13:49, hackman napsal(a):
> > Hello Guys, > > For some time now the tests of the Gearman Perl modules are failing on > > my machines. > > > > I tried with all versions of gearmand from 0.14 to 0.20. I had no > > success. Every time I have the same problem. > > > > Here is more info: > > > > [root@localhost gearmand-0.20]# gearmand -V > > > > gearmand 0.20 - https://launchpad.net/gearmand > > [root@localhost gearmand-0.20]# cd ../Gearman-1.11 > > [root@localhost Gearman-1.11]# make test > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > > t/00-use...............ok > > t/10-all...............Unrecognized character \x7F at /usr/sbin/gearmand > > line 1.
> > When the test starts /usr/sbin/gearmand, it do so via perl interpreter, > start_child() in t/TestGearman.pm: > > exec $^X, '-Iblib/lib', '-Ilib', @$cmd or die $!; > > Obviously, /usr/sbin/gearmand is not a Perl script anymore, so one cannot > executed it by perl.
From: ppisar [...] redhat.com
Dne St 01.čen.2016 05:04:40, palik napsal(a): Show quoted text
> I would recommend you to use last release 1.12.007 > https://metacpan.org/release/Gearman >
I did. Now I found what's the problem. The test expects gearmand from Gearman-Server CPAN distribution that indeed provides /usr/bin/gearmand written in Perl. And tests pass with it. But there exist yet another /usr/sbin/gearmand from <http://gearman.org/> project that is a native binary. If the system has only the latter one installed, the test will pick it up and the error arise.
refactoring on test scripts is highly necessary because a part of them could be executed only in particular environment. It's in work know. Updates follow.
From: sabol [...] alderaan.gsfc.nasa.gov
I'm seeing a similar error when testing P/PA/PALIK/Gearman-1.12.009.tar.gz (which I think is the latest version) in t/50-wait_timeout.t.
In new release v1.130 all tests pass: https://travis-ci.org/p-alik/perl-Gearman May you test the release please
done