Skip Menu |

This queue is for tickets about the CatalystX-CRUD-YUI CPAN distribution.

Report information
The Basics
Id: 40211
Status: resolved
Priority: 0/
Queue: CatalystX-CRUD-YUI

People
Owner: Nobody in particular
Requestors: he [...] NetBSD.org
Cc:
AdminCc:

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



Subject: Tests fail on perl 5.10.0
Date: Tue, 21 Oct 2008 02:21:15 +0200 (CEST)
To: bug-CatalystX-CRUD-YUI [...] rt.cpan.org
From: Havard Eidnes <he [...] NetBSD.org>
Hi, I'm doing various updates for NetBSD's pkgsrc system, and while trying to update this package, I find that "make test" gives several problems. A copy of the log follows below. Comments? Regards, - Håvard
===> Testing for p5-CatalystX-CRUD-YUI-0.006 PERL_DL_NONLAZY=1 /usr/pkg/bin/perl5.10.0 "-MExtUtils::Command::MM" "-e" "test_h arness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00-load.........1/1 # Testing CatalystX::CRUD::YUI 0.006 t/00-load.........ok t/01-rdbo.........1/13 [error] Couldn't render template "undef error - Can't use string ("MyRDBO") as a HASH ref while "strict refs" in use at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Class/Accessor/Fast.pm line 38." [error] Couldn't render template "undef error - Can't use string ("MyRDBO") as a HASH ref while "strict refs" in use at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Class/Accessor/Fast.pm line 38." t/01-rdbo.........5/13 # Failed test 'view foo 1 contains correct ctime' # at t/01-rdbo.t line 54. # '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" # "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> # <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> # <head> # <meta http-equiv="Content-Language" content="en" /> # <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> # <title>MyRDBO</title> # <script type="text/javascript"> # <!-- # function toggleDump (dumpElement) { # var e = document.getElementById( dumpElement ); # if (e.style.display == "none") { # e.style.display = ""; # } # else { # e.style.display = "none"; # } # } # --> # </script> # <style type="text/css"> # body { # font-family: "Bitstream Vera Sans", "Trebuchet MS", Verdana, # Tahoma, Arial, helvetica, sans-serif; # color: #333; # background-color: #eee; # margin: 0px; # padding: 0px; # } # :link, :link:hover, :visited, :visited:hover { # color: #000; # } # div.box { # position: relative; # background-color: #ccc; # border: 1px solid #aaa; # padding: 4px; # margin: 10px; # } # div.error { # background-color: #cce; # border: 1px solid #755; # padding: 8px; # margin: 4px; # margin-bottom: 10px; # } # div.infos { # background-color: #eee; # border: 1px solid #575; # padding: 8px; # margin: 4px; # margin-bottom: 10px; # } # div.name { # background-color: #cce; # border: 1px solid #557; # padding: 8px; # margin: 4px; # } # code.error { # display: block; # margin: 1em 0; # overflow: auto; # } # div.name h1, div.error p { # margin: 0; # } # h2 { # margin-top: 0; # margin-bottom: 10px; # font-size: medium; # font-weight: bold; # text-decoration: underline; # } # h1 { # font-size: medium; # font-weight: normal; # } # /* from http://users.tkk.fi/~tkarvine/linux/doc/pre-wrap/pre-wrap-css3-mozilla-opera-ie.html */ # /* Browser specific (not valid) styles to make preformatted text wrap */ # pre { # white-space: pre-wrap; /* css-3 */ # white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ # white-space: -pre-wrap; /* Opera 4-6 */ # white-space: -o-pre-wrap; /* Opera 7 */ # word-wrap: break-word; /* Internet Explorer 5.5+ */ # } # </style> # </head> # <body> # <div class="box"> # <div class="error"></div> # <div class="infos"><pre> # (en) Please come back later # (fr) SVP veuillez revenir plus tard # (de) Bitte versuchen sie es spaeter nocheinmal # (at) Konnten's bitt'schoen spaeter nochmal reinschauen # (no) Vennligst prov igjen senere # (dk) Venligst prov igen senere # (pl) Prosze sprobowac pozniej # </pre> # </div> # <div class="name"></div> # </div> # </body> # </html> # ' # doesn't match '(?-xism:1972-03-29 06:30:00)' [error] Couldn't render template "undef error - Can't use string ("MyRDBO") as a HASH ref while "strict refs" in use at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Class/Accessor/Fast.pm line 38." [error] Couldn't render template "undef error - Can't use string ("MyRDBO") as a HASH ref while "strict refs" in use at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Class/Accessor/Fast.pm line 38." malformed JSON string, neither array, object, number, string or atom, at character offset 0 ["<!DOCTYPE html PUBLI..."] at t/01-rdbo.t line 65. # Looks like you planned 13 tests but only ran 7. # Looks like you failed 1 test of 7 run. # Looks like your test died just after 7. t/01-rdbo......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/13 subtests t/02-dbic.........ok t/pod-coverage....ok t/pod.............ok Test Summary Report ------------------- t/01-rdbo (Wstat: 65280 Tests: 7 Failed: 1) Failed test: 6 Non-zero exit status: 255 Parse errors: Bad plan. You planned 13 tests but ran 7. Files=5, Tests=33, 18 wallclock secs ( 0.13 usr 0.07 sys + 15.12 cusr 2.37 csys = 17.69 CPU) Result: FAIL Failed 1/5 test programs. 1/33 subtests failed. *** Error code 255 Stop.
Subject: Re: ***SPAM*** [rt.cpan.org #40211] Tests fail on perl 5.10.0
Date: Tue, 21 Oct 2008 20:24:16 -0500
To: bug-CatalystX-CRUD-YUI [...] rt.cpan.org
From: Peter Karman <peter [...] peknet.com>
Havard Eidnes via RT wrote on 10/20/08 7:21 PM: Show quoted text
> Mon Oct 20 20:21:39 2008: Request 40211 was acted upon. > Transaction: Ticket created by he@NetBSD.org > Queue: CatalystX-CRUD-YUI > Subject: Tests fail on perl 5.10.0 > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: he@NetBSD.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40211 > > > > Hi, > > I'm doing various updates for NetBSD's pkgsrc system, and while > trying to update this package, I find that "make test" gives > several problems. A copy of the log follows below. > > Comments? > > Regards, > > - Håvard > > > > ------------------------------------------------------------------------ > > ===> Testing for p5-CatalystX-CRUD-YUI-0.006 > PERL_DL_NONLAZY=1 /usr/pkg/bin/perl5.10.0 "-MExtUtils::Command::MM" "-e" "test_h > arness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t > t/00-load.........1/1 # Testing CatalystX::CRUD::YUI 0.006 > t/00-load.........ok > t/01-rdbo.........1/13 [error] Couldn't render template "undef error - Can't use string ("MyRDBO") as a HASH ref while "strict refs" in use at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Class/Accessor/Fast.pm line 38." > [error] Couldn't render template "undef error - Can't use string ("MyRDBO") as a HASH ref while "strict refs" in use at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Class/Accessor/Fast.pm line 38."
Show quoted text
> t/01-rdbo......... Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 7/13 subtests > t/02-dbic.........ok
Interesting that rdbo fails but dbic passes. I can only assume there is a version mismatch in a RDBO dependency somewhere, since my tests under 5.10.0 all work, as do all others on cpantesters (excepting those that can't find sqlite3). That said, I had a bunch of small fixes in svn that I just uploaded as version 0.007. Please try that and see if you get the same error. I bumped all the prereqs up to the most recent versions, so in theory it should be getting the same versions I just tested with. -- Peter Karman . http://peknet.com/ . peter@peknet.com
No reply to my suggestions, so I am closing this.