Skip Menu |

This queue is for tickets about the Dancer-Plugin-Fake-Response CPAN distribution.

Report information
The Basics
Id: 106143
Status: open
Priority: 0/
Queue: Dancer-Plugin-Fake-Response

People
Owner: Nobody in particular
Requestors: asarch [...] hotmail.com
Cc:
AdminCc:

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



Subject: Issues with 0.03 version
Date: Wed, 29 Jul 2015 07:31:30 -0500
To: bug-Dancer-Plugin-Fake-Response [...] rt.cpan.org
From: Alef Sheridan Ariel Ramírez Chiñas <asarch [...] hotmail.com>
Hi, doing a cpan Task::Dancer in: # perl -V Summary of my perl5 (revision 5 version 18 subversion 1) configuration: Platform: osname=linux, osvers=3.10.9-smp, archname=i486-linux-thread-multi uname='linux hive 3.10.9-smp #1 smp wed aug 21 15:27:17 cdt 2013 i686 amd phenom(tm) ii x6 1100t processor authenticamd gnulinux ' config_args='-de -Dprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib/perl5 -Darchlib=/usr/lib/perl5 -Dvendorprefix=/usr -Dprivlib=/usr/share/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Dvendorarch=/usr/lib/perl5/vendor_perl -Dscriptdir=/usr/bin -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dlibpth=/usr/local/lib /usr/lib /lib -Doptimize=-O2 -march=i486 -mtune=i686 -Dusethreads -Duseithreads -Duseshrplib -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Darchname=i486-linux' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', 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 -march=i486 -mtune=i686', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.8.1', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.17.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.17' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -march=i486 -mtune=i686 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Sep 5 2013 22:01:10 @INC: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 . I get: Running install for module 'Dancer::Plugin::Fake::Response' Running make for N/NO/NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz Fetching with LWP: http://noodle.portalus.net/CPAN/authors/id/N/NO/NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz Fetching with LWP: http://noodle.portalus.net/CPAN/authors/id/N/NO/NOUDARD/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/N/NO/NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz ok CPAN.pm: Building N/NO/NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Dancer-Plugin-Fake-Response' version '0.03' Building Dancer-Plugin-Fake-Response NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz ./Build -- OK Running Build test # Testing Dancer::Plugin::Fake::Response 0.03, Perl 5.018001, /usr/bin/perl5.18.1 t/00-load.t .................. ok # Failed test '/rewrite_fake_route/:id.:format return data configured in plugin setting' # at t/01-catch_fake_exception.t line 61. # got: '{"id":"1","test":"get test"}' # expected: '{"test":"get test","id":"1"}' # Failed test '/rewrite_fake_route/:id.:format return data configured in plugin setting' # at t/01-catch_fake_exception.t line 65. # got: '{"id":"2","test":"put test"}' # expected: '{"test":"put test","id":"2"}' # Looks like you failed 2 tests of 12. t/01-catch_fake_exception.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/12 subtests # Failed test '/rewrite_fake_route/:id.:format return data configured in plugin setting' # at t/02-dynamic_params.t line 69. # got: '{"fake_params":":fake","test":"get test","id":"1","asked_id":"12"}' # expected: '{"test":"get test","asked_id":"12","fake_params":":fake","id":"1"}' # Failed test '/rewrite_fake_route/:id.:format return data configured in plugin setting' # at t/02-dynamic_params.t line 73. # got: '{"asked_id":"12","id":"2","fake_params":":fake","test":"put test"}' # expected: '{"test":"put test","asked_id":"12","fake_params":":fake","id":"2"}' # Failed test '/rewrite_fake_route/:id.:format return data configured in plugin setting' # at t/02-dynamic_params.t line 77. # got: '{"id":"3","asked_id":"json","fake_params":":fake","test":"post test"}' # expected: '{"test":"post test","asked_id":"json","fake_params":":fake","id":"3"}' # Failed test '/rewrite_fake_route/:id.:format return data configured in plugin setting' # at t/02-dynamic_params.t line 81. # got: '{"fake_params":":fake","test":"delete test","id":"4","asked_id":"12"}' # expected: '{"test":"delete test","asked_id":"12","fake_params":":fake","id":"4"}' # Looks like you failed 4 tests of 12. t/02-dynamic_params.t ........ Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/12 subtests t/boilerplate.t .............. ok t/manifest.t ................. skipped: Author tests not required for installation t/pod-coverage.t ............. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t ...................... ok Test Summary Report ------------------- t/01-catch_fake_exception.t (Wstat: 512 Tests: 12 Failed: 2) Failed tests: 3, 6 Non-zero exit status: 2 t/02-dynamic_params.t (Wstat: 1024 Tests: 12 Failed: 4) Failed tests: 3, 6, 9, 12 Non-zero exit status: 4 t/boilerplate.t (Wstat: 0 Tests: 3 Failed: 0) TODO passed: 2 Files=7, Tests=29, 10 wallclock secs ( 0.12 usr 0.03 sys + 2.48 cusr 0.24 csys = 2.87 CPU) Result: FAIL Failed 2/7 test programs. 6/29 subtests failed. NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz Running Build install make test had returned bad status, won't install without force Best regards.
On 2015-07-29 08:31:48, asarch@hotmail.com wrote: Show quoted text
> Hi, > > doing a cpan Task::Dancer in: > > # perl -V > Summary of my perl5 (revision 5 version 18 subversion 1) > configuration: > > Platform: > osname=linux, osvers=3.10.9-smp, archname=i486-linux-thread-multi > uname='linux hive 3.10.9-smp #1 smp wed aug 21 15:27:17 cdt 2013 > i686 amd phenom(tm) ii x6 1100t processor authenticamd gnulinux ' > config_args='-de -Dprefix=/usr -Dsiteprefix=/usr/local > -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib/perl5 > -Darchlib=/usr/lib/perl5 -Dvendorprefix=/usr > -Dprivlib=/usr/share/perl5 > -Dvendorlib=/usr/share/perl5/vendor_perl > -Dvendorarch=/usr/lib/perl5/vendor_perl -Dscriptdir=/usr/bin > -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dlibpth=/usr/local/lib > /usr/lib > /lib -Doptimize=-O2 -march=i486 -mtune=i686 -Dusethreads -Duseithreads > -Duseshrplib -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr > -Darchname=i486-linux' > hint=recommended, useposix=true, d_sigaction=define > useithreads=define, usemultiplicity=define > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=undef, use64bitall=undef, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', 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 -march=i486 -mtune=i686', > cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include' > ccversion='', gccversion='4.8.1', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=4, prototype=define > Linker and Libraries: > ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' > libpth=/usr/local/lib /usr/lib /lib > libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > libc=/lib/libc-2.17.so, so=so, useshrplib=true, libperl=libperl.so > gnulibc_version='2.17' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E > -Wl,-rpath,/usr/lib/perl5/CORE' > cccdlflags='-fPIC', lddlflags='-shared -O2 -march=i486 -mtune=i686 > -L/usr/local/lib -fstack-protector' > > > Characteristics of this binary (from libperl): > Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS > PERL_DONT_CREATE_GVSV > PERL_HASH_FUNC_ONE_AT_A_TIME_HARD > PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP > PERL_PRESERVE_IVUV PERL_SAWAMPERSAND > USE_ITHREADS > USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE > USE_LOCALE_CTYPE USE_LOCALE_NUMERIC > USE_PERLIO > USE_PERL_ATOF USE_REENTRANT_API > Built under linux > Compiled at Sep 5 2013 22:01:10 > @INC: > /usr/local/lib/perl5 > /usr/local/share/perl5 > /usr/lib/perl5/vendor_perl > /usr/share/perl5/vendor_perl > /usr/lib/perl5 > /usr/share/perl5 > . > I get: > > Running install for module 'Dancer::Plugin::Fake::Response' > Running make for N/NO/NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz > Fetching with LWP: > http://noodle.portalus.net/CPAN/authors/id/N/NO/NOUDARD/Dancer-Plugin- > Fake-Response-0.03.tar.gz > Fetching with LWP: > http://noodle.portalus.net/CPAN/authors/id/N/NO/NOUDARD/CHECKSUMS > Checksum for > /root/.cpan/sources/authors/id/N/NO/NOUDARD/Dancer-Plugin-Fake- > Response-0.03.tar.gz > ok > > CPAN.pm: Building N/NO/NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz > > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'Dancer-Plugin-Fake-Response' version > '0.03' > Building Dancer-Plugin-Fake-Response > NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz > ./Build -- OK > Running Build test > # Testing Dancer::Plugin::Fake::Response 0.03, Perl 5.018001, > /usr/bin/perl5.18.1 > t/00-load.t .................. ok > > # Failed test '/rewrite_fake_route/:id.:format return data > configured > in plugin setting' > # at t/01-catch_fake_exception.t line 61. > # got: '{"id":"1","test":"get test"}' > # expected: '{"test":"get test","id":"1"}' > > # Failed test '/rewrite_fake_route/:id.:format return data > configured > in plugin setting' > # at t/01-catch_fake_exception.t line 65. > # got: '{"id":"2","test":"put test"}' > # expected: '{"test":"put test","id":"2"}' > # Looks like you failed 2 tests of 12. > t/01-catch_fake_exception.t .. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/12 subtests > > # Failed test '/rewrite_fake_route/:id.:format return data > configured > in plugin setting' > # at t/02-dynamic_params.t line 69. > # got: '{"fake_params":":fake","test":"get > test","id":"1","asked_id":"12"}' > # expected: '{"test":"get > test","asked_id":"12","fake_params":":fake","id":"1"}' > > # Failed test '/rewrite_fake_route/:id.:format return data > configured > in plugin setting' > # at t/02-dynamic_params.t line 73. > # got: > '{"asked_id":"12","id":"2","fake_params":":fake","test":"put test"}' > # expected: '{"test":"put > test","asked_id":"12","fake_params":":fake","id":"2"}' > > # Failed test '/rewrite_fake_route/:id.:format return data > configured > in plugin setting' > # at t/02-dynamic_params.t line 77. > # got: > '{"id":"3","asked_id":"json","fake_params":":fake","test":"post > test"}' > # expected: '{"test":"post > test","asked_id":"json","fake_params":":fake","id":"3"}' > > # Failed test '/rewrite_fake_route/:id.:format return data > configured > in plugin setting' > # at t/02-dynamic_params.t line 81. > # got: '{"fake_params":":fake","test":"delete > test","id":"4","asked_id":"12"}' > # expected: '{"test":"delete > test","asked_id":"12","fake_params":":fake","id":"4"}' > # Looks like you failed 4 tests of 12. > t/02-dynamic_params.t ........ > Dubious, test returned 4 (wstat 1024, 0x400) > Failed 4/12 subtests > t/boilerplate.t .............. ok > t/manifest.t ................. skipped: Author tests not required for > installation > t/pod-coverage.t ............. skipped: Test::Pod::Coverage 1.08 > required for testing POD coverage > t/pod.t ...................... ok > > Test Summary Report > ------------------- > t/01-catch_fake_exception.t (Wstat: 512 Tests: 12 Failed: 2) > Failed tests: 3, 6 > Non-zero exit status: 2 > t/02-dynamic_params.t (Wstat: 1024 Tests: 12 Failed: 4) > Failed tests: 3, 6, 9, 12 > Non-zero exit status: 4 > t/boilerplate.t (Wstat: 0 Tests: 3 Failed: 0) > TODO passed: 2 > Files=7, Tests=29, 10 wallclock secs ( 0.12 usr 0.03 sys + 2.48 > cusr > 0.24 csys = 2.87 CPU) > Result: FAIL > Failed 2/7 test programs. 6/29 subtests failed. > NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz > ./Build test -- NOT OK > //hint// to see the cpan-testers results for installing this module, > try: > reports NOUDARD/Dancer-Plugin-Fake-Response-0.03.tar.gz > Running Build install > make test had returned bad status, won't install without force > > Best regards.
The failures together with a look at http://matrix.cpantesters.org/?dist=Dancer-Plugin-Fake-Response+0.03 (failures for perl > 5.17.x) suggest that there's a hash randomization problem involved.