Mojolicious 1.99 failing test

12 views
Skip to first unread message

Bernhard Graf

unread,
Oct 6, 2011, 8:27:50 AM10/6/11
to Mojolicious
I would prefer to use the appropriate bugtracker, but the URL
https://github.com/kraih/mojo/issues published in Makefile.PL leads to
a (very beautiful) 404 page.

I am not able to install Mojolicious 1.99, due to a failing - or more
precise: never terminating test in
t/mojolicious/websocket_lite_app.t :

The latest passing test is #48: "exact match for content" (note: #17
also issues "exact match for content"),

after that I get

[Thu Oct 6 14:02:30 2011] [error] Event "close" failed: Can't locate
object method "on_message" via package "Mojo::Transaction::HTTP" at /
home/graf/Mojolicious-1.99/lib/Test/Mojo.pm line 325.

and then the process hangs, eating all available CPU power.

I get the same behaviour under Linux with Perl 5.12.1 and Solaris Perl
5.10.1.

On Linux strace shows an endless loop throught the same 3 ops:

[pid 19099] poll([{fd=8, events=POLLIN|POLLOUT}, {fd=3,
events=POLLIN}, {fd=5, events=POLLIN|POLLOUT}], 3, 25) = 2 ([{fd=8,
revents=POLLIN|POLLOUT|POLLHUP}, {fd=5, revents=POLLIN|POLLOUT|
POLLHUP}])
[pid 19099] read(8, "", 131072) = 0
[pid 19099] read(5, "", 131072) = 0


the Solaris truss loop looks similar:

27459: read(5, 0x08A798C0, 131072) = 0
27459: setcontext(0x08046D50)
27459: setcontext(0x08046D50)
27459: setcontext(0x08046D50)
27459: setcontext(0x08046D50)
27459: setcontext(0x08046D50)
27459: setcontext(0x08046D50)
27459: pollsys(0x08A78CD0, 4, 0x08046F90, 0x00000000) = 1


1.98 runs the test fine on both systems.

Bernhard

Sebastian Riedel

unread,
Oct 6, 2011, 12:42:47 PM10/6/11
to mojol...@googlegroups.com
I would prefer to use the appropriate bugtracker, but the URL
https://github.com/kraih/mojo/issues published in Makefile.PL leads to
a (very beautiful) 404 page.

Yes, we don't use a bugtracker anymore, since it has been abused for support requests too much in the past.
 
I am not able to install Mojolicious 1.99, due to a failing - or more
precise: never terminating test in
t/mojolicious/websocket_lite_app.t :

Already fixed in master.

Reply all
Reply to author
Forward
0 new messages