Skip Menu |

This queue is for tickets about the XML-Compile-SOAP-Daemon CPAN distribution.

Report information
The Basics
Id: 75516
Status: resolved
Priority: 0/
Queue: XML-Compile-SOAP-Daemon

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

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



Subject: Regression 3.02 tests fail
Date: Sun, 4 Mar 2012 03:34:08 -0600
To: bugs-xml-compile-soap-daemon [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
3.01 installs fine for me, but 3.02 seems to fail tests, attaching build log -- Caleb Cushing http://xenoterracide.com

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Sun, 4 Mar 2012 10:45:21 +0100
To: Caleb Cushing via RT <bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Caleb Cushing via RT (bug-XML-Compile-SOAP-Daemon@rt.cpan.org) [120304 09:34]: Show quoted text
> Sun Mar 04 04:34:19 2012: Request 75516 was acted upon. > Transaction: Ticket created by XENO > Queue: XML-Compile-SOAP-Daemon > Subject: Regression 3.02 tests fail > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: xenoterracide@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75516 > > > 3.01 installs fine for me, but 3.02 seems to fail tests, attaching build log
Show quoted text
> t/01use.t ........ ok > notice: Process Backgrounded > # Failed test 'not POST' > # at t/10fault_ns.t line 99. > # got: '500 > # Can't connect to localhost:8876 (Connection refused) > # text/plain
For some reason, the temporary daemon which is used to run those tests cannot start. You can find the cause in your /var/log/messages. This does not need to be a problem of ::Daemon. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Sun, 4 Mar 2012 04:25:43 -0600
To: bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
On Sun, Mar 4, 2012 at 3:45 AM, Mark Overmeer via RT <bug-XML-Compile-SOAP-Daemon@rt.cpan.org> wrote: Show quoted text
> For some reason, the temporary daemon which is used to run those tests > cannot start.  You can find the cause in your /var/log/messages. > This does not need to be a problem of ::Daemon.
curious because I have no problem installing 3.00 or 3.01, nothing else is running on that port, and I can start a patched server.pl just fine. Also no relevant errors in /var/log/messages of course I'm running as a user (not root), so I'm not sure if it'd allow it anyways. -- Caleb Cushing http://xenoterracide.com
Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Sun, 4 Mar 2012 13:54:00 -0600
To: bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
I added a wait after the failing test so I could check it by hand (and tried a few different ports) ok 3 - Started daemon 12337 tv % telnet localhost 8080 slave-iv Trying ::1... Connection failed: Connection refused Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused tv % ps -ef | grep 12337 slave-iv 1000 12366 1061 0 13:49 pts/1 00:00:00 grep --color 12337 the process is not actually running Though I do notice a an additional defunct tv % ps -ef | grep perl slave-iv 1000 12393 1062 0 13:52 pts/2 00:00:00 /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.2/bin/perl /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.2/bin/prove -lv 1000 12395 12393 0 13:52 pts/2 00:00:00 /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.2/bin/perl t/10fault_ns.t 1000 12396 12395 0 13:52 pts/2 00:00:00 [perl] <defunct> -- Caleb Cushing http://xenoterracide.com
Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Sun, 4 Mar 2012 15:33:26 -0600
To: bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
adding a patch which shows that the daemon didn't actually successfully start (note can be applied by patch -p1 < 0001-test-to-see-if-daemon-is-actually-running.patch ). Also I'd like to note that I tried running the fixed server.pl and it doesn't start -- Caleb Cushing http://xenoterracide.com

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Sun, 4 Mar 2012 15:49:55 -0600
To: bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
perhaps my strace of the server.pl will help. -- Caleb Cushing http://xenoterracide.com
Download log
application/octet-stream 280.7k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Sun, 4 Mar 2012 23:49:30 +0100
To: Caleb Cushing via RT <bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Caleb Cushing via RT (bug-XML-Compile-SOAP-Daemon@rt.cpan.org) [120304 21:50]: Show quoted text
> Queue: XML-Compile-SOAP-Daemon > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75516 > > > perhaps my strace of the server.pl will help.
Ik can reproduce the problem with server.pl, not with the test script, it seems. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Mon, 5 Mar 2012 00:03:43 +0100
To: Caleb Cushing via RT <bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Caleb Cushing via RT (bug-XML-Compile-SOAP-Daemon@rt.cpan.org) [120304 10:26]: Show quoted text
> Queue: XML-Compile-SOAP-Daemon > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75516 > > > On Sun, Mar 4, 2012 at 3:45 AM, Mark Overmeer via RT > <bug-XML-Compile-SOAP-Daemon@rt.cpan.org> wrote:
> > For some reason, the temporary daemon which is used to run those tests > > cannot start.  You can find the cause in your /var/log/messages. > > This does not need to be a problem of ::Daemon.
> > curious because I have no problem installing 3.00 or 3.01, nothing > else is running on that port, and I can start a patched server.pl just > fine. Also no relevant errors in /var/log/messages of course I'm > running as a user (not root), so I'm not sure if it'd allow it > anyways.
Gladly, my /var/log/messages shows Mar 4 23:55:12 moon server.pl[25613]: Can't call method "isa" on unblessed reference at ../../lib/XML/Compile/SOAP/Daemon/LWPutil.pm line 233. Change this in lib/XML/Compile/SOAP/Daemon/NetServer.pm sub post_bind_hook() { my $self = shift; my $prop = $self->{server}; - lwp_socket_init $prop->{sock}; + lwp_socket_init $_ for @{$prop->{sock}}; } -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Mon, 5 Mar 2012 00:15:46 +0100
To: Caleb Cushing via RT <bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Caleb Cushing via RT (bug-XML-Compile-SOAP-Daemon@rt.cpan.org) [120304 21:33]: Show quoted text
> Queue: XML-Compile-SOAP-Daemon > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75516 > > > adding a patch which shows that the daemon didn't actually > successfully start (note can be applied by patch -p1 < > 0001-test-to-see-if-daemon-is-actually-running.patch ). Also I'd like > to note that I tried running the fixed server.pl and it doesn't start
Show quoted text
> -ok(1, "Started daemon $daemon_pid"); > +ok ( kill(0, $daemon_pid), "daemon $daemon_pid is running" );
In practice this will work, but the real problem was that the pidfile was not removed before the daemon got started. That the file is written is prove that the daemon has started. Still no idea why my regression tests did not break... probably something wrong in the @INC path. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Mon, 5 Mar 2012 14:10:46 +0100
To: Caleb Cushing via RT <bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Caleb Cushing via RT (bug-XML-Compile-SOAP-Daemon@rt.cpan.org) [120304 09:34]: Show quoted text
> Sun Mar 04 04:34:19 2012: Request 75516 was acted upon. > Transaction: Ticket created by XENO > Queue: XML-Compile-SOAP-Daemon > Subject: Regression 3.02 tests fail > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: xenoterracide@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75516 > > > 3.01 installs fine for me, but 3.02 seems to fail tests, attaching build log
I have released 3.03 this morning, because the fix had quite high priority. I hope it works well for you, otherwise we need a new release... -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #75516] Regression 3.02 tests fail
Date: Mon, 5 Mar 2012 11:22:09 -0600
To: bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
On Mon, Mar 5, 2012 at 7:11 AM, Mark Overmeer via RT <bug-XML-Compile-SOAP-Daemon@rt.cpan.org> wrote: Show quoted text
> I have released 3.03 this morning, because the fix had quite high > priority.  I hope it works well for you, otherwise we need a new > release...
test suite passes, and server.pl works -- Caleb Cushing http://xenoterracide.com
Got fixed in 3.03