Failing tests

28 views
Skip to first unread message

Sebastian Riedel

unread,
Oct 2, 2011, 3:00:39 PM10/2/11
to mojol...@googlegroups.com
It looks like there are currently quite a few tests randomly failing with Perl 5.12.3 and 5.12.4 on multiple platforms, sadly http://cpantersters.org is still down, which doesn't leave us many options for gathering information.

For now i've also reverted all previous attempts to disable affected tests, since there are more and sometimes conflicting reports popping up. https://github.com/kraih/mojo/commit/5eb5d5452edb634b41098e7475efbd0b0d6832b0

It would be really great if we could gather a few reports with detailed information for the current GitHub master (https://github.com/kraih/mojo) in this thread.
Most important are full test output, operating system version as well as perl version and compile options.

Personally i develop against Perl 5.14.1 and 5.10.1 on OS X at the moment, which does not appear to have any problems at all.
I can however confirm that Perl 5.12.3 on OS X does fail a few tests randomly, for so far unknown reasons.

Sergey Andreev

unread,
Oct 2, 2011, 3:25:37 PM10/2/11
to mojol...@googlegroups.com
Windows 7 - 64bit
This is perl 5, version 12, subversion 3 (v5.12.3) built for
MSWin32-x86-multi-thread
Perl on windows Strawberry perl.
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_SITECUSTOMIZE

_______________________output if fails test_______________________________

t/mojo/user_agent.t ........................ 55/76 # Failed test 'kept
connection not alive'
# at t/mojo/user_agent.t line 234.
# got: '1'
# expected: undef

# Failed test 'right status'
# at t/mojo/user_agent.t line 235.
# got: undef
# expected: '200'

# Failed test 'right content'
# at t/mojo/user_agent.t line 236.
# got: 'broken!'
# expected: 'works!'

# Failed test 'kept connection alive'
# at t/mojo/user_agent.t line 241.
# got: undef
# expected: '1'

t/mojo/user_agent.t ........................ 63/76 # Failed test 'kept
connection not alive'
# at t/mojo/user_agent.t line 252.
# got: '1'
# expected: undef

# Failed test 'right status'
# at t/mojo/user_agent.t line 253.
# got: undef
# expected: '200'

# Failed test 'right content'
# at t/mojo/user_agent.t line 254.
# got: 'broken!'
# expected: 'works!'
t/mojo/user_agent.t ........................ 74/76 # Looks like you
failed 7 tests of 76.
t/mojo/user_agent.t ........................ Dubious, test returned 7
(wstat 1792, 0x700)
Failed 7/76 subtests


_______________________/output if fails test_______________________________
Then it hold on
t/mojolicious/websocket_lite_app.t ......... 1/78

and never ends (10+ minutes)


03.10.2011 2:00, Sebastian Riedel пишет:

> --
> You received this message because you are subscribed to the Google
> Groups "Mojolicious" group.
> To post to this group, send email to mojol...@googlegroups.com.
> To unsubscribe from this group, send email to
> mojolicious...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mojolicious?hl=en.

Sergey Andreev

unread,
Oct 2, 2011, 3:37:04 PM10/2/11
to Mojolicious
On Fedora Core 15,
Perl 5.12.3

Summary of my perl5 (revision 5 version 12 subversion 3)
configuration:

Platform:
osname=linux, osvers=2.6.32-71.14.1.el6.x86_64, archname=x86_64-
linux-thread-multi
uname='linux x86-18.phx2.fedoraproject.org
2.6.32-71.14.1.el6.x86_64 #1 smp wed jan 5 17:01:01 est 2011 x86_64
x86_64 x86_64 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -Dccdlflags=-Wl,--enable-new-dtags -
DDEBUGGING=-g -Dversion=5.12.3 -Dmyhostname=localhost -
Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr
-Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/
perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -
Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib64/perl5 -
Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=x86_64-linux-
thread-multi -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -
Dusethreads -Duseithreads -Dusedtrace=/usr/bin/dtrace -Duselargefiles -
Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -
Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -
Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -
Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -
Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -
Dscriptdir=/usr/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-
aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -
fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.6.0 20110331 (Red Hat 4.6.0-2)',
gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -fstack-protector'
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -
lc -lgdbm_compat
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.13.90'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,--
enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at Apr 14 2011 13:32:42
@INC:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5



NO Fails. but still hold on

t/mojolicious/websocket_lite_app.t ......... 26/78

and nothing happens more than 10+ minutes

and first 5 minutes perl is on TOP uses CPU
1954 Sergey 20 0 165m 19m 2436 R 99.4 0.5 3:41.07 perl
then CPU usage is down to 0.3%

Hope it helps

sri

unread,
Oct 2, 2011, 5:03:17 PM10/2/11
to Mojolicious
Passing test results for multiple platforms and versions would also be
appreciated, especially Windows and FreeBSD.

--
sebastian

sri

unread,
Oct 2, 2011, 6:44:57 PM10/2/11
to Mojolicious
The problem might be solved now, or replaced with a dozen new ones. :)
https://github.com/kraih/mojo/commit/0aa18b7c12bf20054b6ca93daac515808e2a2c83

--
sebastian

Sergey Andreev

unread,
Oct 2, 2011, 9:24:58 PM10/2/11
to mojol...@googlegroups.com
Confirm, tested and installed!
Thanks!

2011/10/3 sri <kra...@googlemail.com>:

> --
> You received this message because you are subscribed to the Google Groups "Mojolicious" group.
> To post to this group, send email to mojol...@googlegroups.com.
> To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.
>
>

--
Sergey Andreev

sri

unread,
Oct 3, 2011, 8:55:27 AM10/3/11
to Mojolicious
Looks like the problem just shifted a bit, those exact same tests are
now broken on Perl 5.10.
What a weird bug, i can make two versions pass, but not all three,
some help tracking it down would be appreciated.

--
sebastian

Sergey Andreev

unread,
Oct 3, 2011, 9:20:47 AM10/3/11
to mojol...@googlegroups.com
03.10.2011 19:55, sri пишет:
Not same test as i see, on my env.

Latest from https://github.com/kraih/mojo/tarball/master
5.10.1
Ubuntu 10.04

t/mojo/websocket_proxy.t ................... 1/9
[Mon Oct 3 20:16:17 2011] [error] Event "close" failed: Can't locate
object method "on_message" via package "Mojo::Transaction::HTTP" at
t/mojo/websocket_proxy.t line 168.

sri

unread,
Oct 3, 2011, 1:33:48 PM10/3/11
to Mojolicious
And fixed, overall stability improvements from the last few patches
should be massive.
https://github.com/kraih/mojo/commit/6dcf40cd8d5a8322028b8a49aafa95fa8c36694a

--
sebastian

Charlie Brady

unread,
Oct 3, 2011, 3:21:24 PM10/3/11
to Mojolicious

Should all the 999999999s be 9999999?

Reply all
Reply to author
Forward
0 new messages