This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to cpan-testers@[EMAIL PROTECTED]
to keep other
test volunteers informed and to prevent any duplicate effort.
--
Dear Agent Zhang,
This is a computer-generated re****t for OpenResty-0.1.1
on perl 5.10.0, created by CPAN-Re****ter-1.11.
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this re****t is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL re****ts for missing library
or binary dependencies, unsup****ted operating systems, and so on:
http://cpantest.grango.org/wiki/CPANAuthorNotes
Sections of this re****t:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
this re****t is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
/opt/perl/5.10.0/bin/perl "-Iinc" Makefile.PL --config=
--installdeps=Class::Prototyped,0,Test::LongString,0,Text::Diff,0,Cache::Cache,1.05,Cookie::XS,0.06,FCGI,0,CGI::Simple,1.103,CGI::Simple::Cookie,0,YAML::Syck,1.04,DBI,1.57,Clone,0.22,Params::Util,0.22,Parse::Yapp,0,DBD::Pg,1.49,Data::UUID,1.148,GD::SecurityImage,1.64,Cache::Memcached::Fast,0.06,Hash::Merge,0,Config::Simple,0
PERL_DL_NONLAZY=1 /opt/perl/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01-sanity.t
t/02-carrie.t t/02-chuanwen.t t/03-model.t t/04-model-col.t
t/05-model-row.t t/06-charset.t t/07-bug.t t/09-sql-insert.t
t/09-sql-select.t t/09-sql-update.t t/10-order-by.t t/11-limits.t
t/12-offset.t t/13-count.t t/14-admin.t t/15-default.t t/16-minisql.t
t/17-minisql-select.t t/18-url-params.t t/19-view.t t/20-role.t
t/20-view.t t/21-captcha.t t/22-version.t t/23-sanity-callback.t
t/24-session.t t/99-pod-coverage.t t/99-pod.t
t/01-sanity...............ok
t/02-carrie...............ok
t/02-chuanwen.............ok
t/03-model................ok
t/04-model-col............
# Failed test 'response content OK - TEST 38: Insert a record'
# at t/OpenResty.pm line 127.
# got: '{"error":"Unexpected query: \"insert into \\\"laser\\\"
(\\\"M\\\") values ('3.14000000000000012');\\n\" (Expecting: \"insert into
\\\"laser\\\" (\\\"M\\\") values ('3.14');\\n\")","success":0}'
# expected:
'{"last_row":"/=/model/laser/id/2","rows_affected":1,"success":1}'
Unexpected query: "select nspname from pg_namespace where nspname =
'tester' limit 1;\n" (Expecting: "select max(id) from \"laser\"")
Use of uninitialized value $retval in addition (+) at
lib/OpenResty/Backend/Pg.pm line 116.
# Failed test 'response content OK - TEST 39: query via id'
# at t/OpenResty.pm line 127.
# got: '{"error":"Account \"tester\" does not
exist.","success":0}'
# expected: '[{"M":"3.14","id":"2"}]'
Unexpected query: "select count(*) from _access_rules where role = 'Admin'
and method = 'PUT' and (url = '/=/model/laser/M' or url =
'/=/model/laser/~' or url = '/=/model/~/~');" (Expecting: "select count(*)
from _access_rules where role = 'Admin' and method = 'GET' and (url =
'/=/model/laser/id/2' or url = '/=/model/laser/id/~' or url =
'/=/model/laser/~/~' or url = '/=/model/~/~/~');")
# Looks like you planned 120 tests but only ran 117.
# Looks like you failed 2 tests of 117 run.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/120 subtests
t/05-model-row............ok
t/06-charset..............ok
t/07-bug..................ok
t/09-sql-insert...........ok
t/09-sql-select...........ok
t/09-sql-update...........ok
t/10-order-by.............ok
t/11-limits...............skipped: Skipped in PgMocked or recording mode
since too many tests here.
t/12-offset...............ok
t/13-count................ok
t/14-admin................ok
t/15-default..............ok
t/16-minisql..............ok
t/17-minisql-select.......ok
t/18-url-params...........ok
t/19-view.................ok
t/20-role.................ok
t/20-view.................ok
t/21-captcha..............ok
t/22-version..............ok
t/23-sanity-callback......ok
t/24-session..............ok
t/99-pod-coverage.........skipped: We know we don't have enough POD :(
t/99-pod..................skipped: Test::Pod 1.00 required for testing POD
Test Summary Re****t
-------------------
t/04-model-col.t (Wstat: 512 Tests: 117 Failed: 2)
Failed tests: 113, 116
Non-zero exit status: 2
Parse errors: Bad plan. You planned 120 tests but ran 117.
Files=29, Tests=1762, 13 wallclock secs ( 0.54 usr 0.06 sys + 11.98 cusr
1.38 csys = 13.96 CPU)
Result: FAIL
Failed 1/29 test programs. 2/1762 subtests failed.
make: *** [test_dynamic] Error 255
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
---------------------- ----- -----
Cache::Cache 1.05 1.05
Cache::Memcached::Fast 0.06 0.09
CGI 3.33 3.33
CGI::Simple 1.103 1.103
CGI::Simple::Cookie 0 1.103
Class::Prototyped 0 1.11
Clone 0.22 0.28
Config::Simple 0 4.58
Cookie::XS 0.06 0.07
Data::UUID 1.148 1.148
DBD::Pg 1.49 2.2.2
DBI 1.57 1.602
Encode::Guess 0 2.02
FCGI 0 0.67
GD::SecurityImage 1.64 1.65
Hash::Merge 0 0.10
HTTP::Response 1.53 1.53
List::Util 0 1.19
LWP::UserAgent 0 2.036
Params::Util 0.22 0.31
Parse::Yapp 0 0
Test::LongString 0 0.11
Text::Diff 0 0.35
YAML::Syck 1.04 1.04
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = zh_TW
LANGUAGE = zh_TW
LC_ALL = zh_TW
LC_COLLATE = zh_TW
LC_CTYPE = zh_TW
LC_MESSAGES = zh_TW
LC_MONETARY = zh_TW
LC_NUMERIC = zh_TW
LC_TIME = zh_TW
PATH = /home/imacat/bin:/bin:/usr/bin:/opt/java/bin:/usr/local/bin
PERL5LIB =
/home/imacat/.cpan/build/GD-SecurityImage-1.65-MxxUu3/blib/arch:/home/imacat/.cpan/build/GD-SecurityImage-1.65-MxxUu3/blib/lib:/home/imacat/.cpan/build/GD-2.35-Sd99Rs/blib/arch:/home/imacat/.cpan/build/GD-2.35-Sd99Rs/blib/lib:/home/imacat/.cpan/build/Text-Diff-0.35-sfXjnR/blib/arch:/home/imacat/.cpan/build/Text-Diff-0.35-sfXjnR/blib/lib:/home/imacat/.cpan/build/Algorithm-Diff-1.1902-_0Igv4/blib/arch:/home/imacat/.cpan/build/Algorithm-Diff-1.1902-_0Igv4/blib/lib:/home/imacat/.cpan/build/Parse-Yapp-1.05-X5OXnm/blib/arch:/home/imacat/.cpan/build/Parse-Yapp-1.05-X5OXnm/blib/lib:/home/imacat/.cpan/build/Data-UUID-1.148-hBadaQ/blib/arch:/home/imacat/.cpan/build/Data-UUID-1.148-hBadaQ/blib/lib:/home/imacat/.cpan/build/YAML-Syck-1.04-QOEBxR/blib/arch:/home/imacat/.cpan/build/YAML-Syck-1.04-QOEBxR/blib/lib:/home/imacat/.cpan/build/Devel-Leak-0.03-HlWf3R/blib/arch:/home/imacat/.cpan/build/Devel-Leak-0.03-HlWf3R/blib/lib:/home/imacat/.cpan/build/DBD-Pg-2.2.2-k3OMhw/blib/!
arch:/home/imacat/.cpan/build/DBD-Pg-2.2.2-k3OMhw/blib/lib:/home/imacat/.cpan/build/Hash-Merge-0.10-tAQO_j/blib/arch:/home/imacat/.cpan/build/Hash-Merge-0.10-tAQO_j/blib/lib:/home/imacat/.cpan/build/Clone-0.28-HF20KD/blib/arch:/home/imacat/.cpan/build/Clone-0.28-HF20KD/blib/lib:/home/imacat/.cpan/build/Test-LongString-0.11-kgjpoi/blib/arch:/home/imacat/.cpan/build/Test-LongString-0.11-kgjpoi/blib/lib:/home/imacat/.cpan/build/FCGI-0.67-hO8HoD/blib/arch:/home/imacat/.cpan/build/FCGI-0.67-hO8HoD/blib/lib:/home/imacat/.cpan/build/CGI-Simple-1.103-5enYfr/blib/arch:/home/imacat/.cpan/build/CGI-Simple-1.103-5enYfr/blib/lib:/home/imacat/.cpan/build/DBI-1.602-CnZI7N/blib/arch:/home/imacat/.cpan/build/DBI-1.602-CnZI7N/blib/lib:/home/imacat/.cpan/build/Cache-Memcached-Fast-0.09-h2KaVB/blib/arch:/home/imacat/.cpan/build/Cache-Memcached-Fast-0.09-h2KaVB/blib/lib:/home/imacat/.cpan/build/Params-Util-0.31-kxdgud/blib/arch:/home/imacat/.cpan/build/Params-Util-0.31-kxdgud/blib/lib:/home/ima!
cat/.cpan/build/Cache-Cache-1.05-zJFBb0/blib/arch:/home/imacat/.cpan/b
uild/Cache-Cache-1.05-zJFBb0/blib/lib:/home/imacat/.cpan/build/Digest-SHA1-2.11-2hsORv/blib/arch:/home/imacat/.cpan/build/Digest-SHA1-2.11-2hsORv/blib/lib:/home/imacat/.cpan/build/Error-0.17012-C4uCs9/blib/arch:/home/imacat/.cpan/build/Error-0.17012-C4uCs9/blib/lib:/home/imacat/.cpan/build/Cookie-XS-0.07-KBy0a_/blib/arch:/home/imacat/.cpan/build/Cookie-XS-0.07-KBy0a_/blib/lib:/home/imacat/.cpan/build/Class-Prototyped-1.11-p2VmS8/blib/arch:/home/imacat/.cpan/build/Class-Prototyped-1.11-p2VmS8/blib/lib:/home/imacat/.cpan/build/Config-Simple-4.58-lFX_Uw/blib/arch:/home/imacat/.cpan/build/Config-Simple-4.58-lFX_Uw/blib/lib:/home/imacat/lib/perl5
PERL5_CPANPLUS_IS_RUNNING = 9985
PERL5_CPAN_IS_RUNNING = 9985
PERL_MM_USE_DEFAULT = 1
SHELL = /bin/zsh
TERM = xterm
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /opt/perl/5.10.0/bin/perl
$UID/$EUID = 1000 / 1000
$GID = 100 0 4 6 20 24 25 29 34 38 40 44 46 50 100 104 1000
$EGID = 100 0 4 6 20 24 25 29 34 38 40 44 46 50 100 104 1000
Perl module toolchain versions installed:
Module Have
------------------- ---------
CPAN 1.9205
Cwd 3.2701
ExtUtils::CBuilder 0.22
ExtUtils::Command 1.13
ExtUtils::Install 1.50
ExtUtils::MakeMaker 6.44
ExtUtils::Manifest 1.51_01
ExtUtils::Par***S 2.19
File::Spec 3.2701
Module::Build 0.2808_01
Module::Signature 0.55
Test::Harness 3.10
Test::More 0.78
YAML 0.66
YAML::Syck 1.04
version 0.74
--
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.22.10, archname=x86_64-linux-thread-multi-ld
uname='linux rinse 2.6.22.10 #1 smp tue nov 20 02:36:22 cst 2007
x86_64 gnulinux '
config_args='-d -Dusethreads -Dcc=gcc -Duselongdouble -Doptimize=-g
-O3 -Duse64bitint -Duse64bitall -Dprefix=/opt/perl/5.10.0 -Dd_dosuid
-Dinc_version_list=none -Duseshrplib=true
-Dcf_email=imacat@[EMAIL PROTECTED]
'
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=define
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-g -O3',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-pipe -I/usr/local/include'
ccversion='', gccversion='4.1.2 20061115 (prerelease) (Debian
4.1.1-21)', 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='long double', nvsize=16,
Off_t='off_t', lseeksize=8
alignbytes=16, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.6.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.6'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/CORE'
cccdlflags='-fPIC', lddlflags='-shared -g -O3 -L/usr/local/lib'


|