Skip Menu |
 

This queue is for tickets about the Catalyst-Model-DBIC-Schema CPAN distribution.

Report information
The Basics
Id: 101446
Status: open
Priority: 0/
Queue: Catalyst-Model-DBIC-Schema

People
Owner: Nobody in particular
Requestors: exodist7 [...] gmail.com
Cc:
AdminCc:

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



Subject: Test Failures
Download (untitled) / with headers
text/plain 6.5k
A test fails. Fails with both new and old Test::More, so something else is probably to blame. Here is the log: Entering Catalyst-Model-DBIC-Schema-0.65 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.98) Running Makefile.PL Configuring Catalyst-Model-DBIC-Schema-0.65 ... *** Module::AutoInstall version 1.06 *** Checking for Perl dependencies... *** Since we're running under cpanminus, I'll just let it take care of the dependency's installation later. [Core Features] - Test::More ...loaded. (1.001014 >= 0.94) - Test::Exception ...loaded. (0.35) - Storable ...loaded. (2.49) - Test::Requires ...loaded. (0.08) - DBD::SQLite ...loaded. (1.46) - DBIx::Class ...loaded. (0.082810 >= 0.08114) - Catalyst::Runtime ...loaded. (5.90080 >= 5.80005) - CatalystX::Component::Traits ...loaded. (0.19 >= 0.14) - Moose ...loaded. (2.1213 >= 1.12) - MooseX::MarkAsMethods ...loaded. (0.15 >= 0.13) - MooseX::Types ...loaded. (0.45) - MooseX::Types::LoadableClass ...loaded. (0.013 >= 0.009) - Module::Runtime ...loaded. (0.014 >= 0.012) - namespace::autoclean ...loaded. (0.24 >= 0.09) - Carp::Clan ...loaded. (6.04) - List::MoreUtils ...loaded. (0.33) - Tie::IxHash ...loaded. (1.23) - Try::Tiny ...loaded. (0.22) - Catalyst::Component::InstancePerContext ...loaded. (0.001001) [Catalyst::Helper support] - Catalyst::Devel ...missing. (would need 1.0) - DBIx::Class::Schema::Loader ...missing. (would need 0.04005) - MooseX::NonMoose ...missing. (would need 0.16) ==> Auto-install the 3 optional module(s) from CPAN? [n] n [Caching support] - DBIx::Class::Cursor::Cached ...missing. ==> Auto-install the 1 optional module(s) from CPAN? [n] n [Replication support] - namespace::clean ...loaded. (0.25) - Hash::Merge ...loaded. (0.200) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Catalyst::Model::DBIC::Schema Writing MYMETA.yml and MYMETA.json OK Checking dependencies from MYMETA.json ... Checking if you have DBIx::Class 0.08114 ... Yes (0.082810) Checking if you have Module::Runtime 0.012 ... Yes (0.014) Checking if you have Tie::IxHash 0 ... Yes (1.23) Checking if you have Test::Requires 0 ... Yes (0.08) Checking if you have Carp::Clan 0 ... Yes (6.04) Checking if you have Moose 1.12 ... Yes (2.1213) Checking if you have Catalyst::Component::InstancePerContext 0 ... Yes (0.001001) Checking if you have MooseX::MarkAsMethods 0.13 ... Yes (0.15) Checking if you have Test::More 0.94 ... Yes (1.001014) Checking if you have CatalystX::Component::Traits 0.14 ... Yes (0.19) Checking if you have namespace::autoclean 0.09 ... Yes (0.24) Checking if you have Test::Exception 0 ... Yes (0.35) Checking if you have MooseX::Types 0 ... Yes (0.45) Checking if you have DBD::SQLite 0 ... Yes (1.46) Checking if you have List::MoreUtils 0 ... Yes (0.33) Checking if you have Try::Tiny 0 ... Yes (0.22) Checking if you have Hash::Merge 0 ... Yes (0.200) Checking if you have MooseX::Types::LoadableClass 0.009 ... Yes (0.013) Checking if you have namespace::clean 0 ... Yes (0.25) Checking if you have Catalyst::Runtime 5.80005 ... Yes (5.90080) Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.98) Checking if you have Storable 0 ... Yes (2.49) Building and testing Catalyst-Model-DBIC-Schema-0.65 ... cp lib/Catalyst/Model/DBIC/Schema/Types.pm blib/lib/Catalyst/Model/DBIC/Schema/Types.pm cp lib/Catalyst/TraitFor/Model/DBIC/Schema/Caching.pm blib/lib/Catalyst/TraitFor/Model/DBIC/Schema/Caching.pm cp lib/Catalyst/TraitFor/Model/DBIC/Schema/SchemaProxy.pm blib/lib/Catalyst/TraitFor/Model/DBIC/Schema/SchemaProxy.pm cp lib/Catalyst/TraitFor/Model/DBIC/Schema/Replicated.pm blib/lib/Catalyst/TraitFor/Model/DBIC/Schema/Replicated.pm cp lib/Catalyst/Helper/Model/DBIC/Schema.pm blib/lib/Catalyst/Helper/Model/DBIC/Schema.pm cp lib/Catalyst/Model/DBIC/Schema.pm blib/lib/Catalyst/Model/DBIC/Schema.pm cp lib/Catalyst/TraitFor/Model/DBIC/Schema/PerRequestSchema.pm blib/lib/Catalyst/TraitFor/Model/DBIC/Schema/PerRequestSchema.pm Manifying blib/man3/Catalyst::Helper::Model::DBIC::Schema.3 Manifying blib/man3/Catalyst::Model::DBIC::Schema.3 Manifying blib/man3/Catalyst::TraitFor::Model::DBIC::Schema::Caching.3 Manifying blib/man3/Catalyst::TraitFor::Model::DBIC::Schema::PerRequestSchema.3 Manifying blib/man3/Catalyst::TraitFor::Model::DBIC::Schema::Replicated.3 Manifying blib/man3/Catalyst::TraitFor::Model::DBIC::Schema::SchemaProxy.3 PERL_DL_NONLAZY=1 /home/exodist/perl5/perlbrew/perls/main/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01use.t t/02pod.t t/05testapp.t t/06c3_issues.t t/07connect_info.t t/08helper.t t/09schema_options.t t/10literal_sql_through_accessor.t t/01use.t ........................... ok t/02pod.t ........................... skipped: set TEST_POD to enable this test t/05testapp.t ....................... skipped: Enable this optional test with $ENV{C_M_DBIC_SCHEMA_TESTAPP} t/06c3_issues.t ..................... 1/1 # Failed test 'Config keys correct' # at /home/exodist/.cpanm/work/1420927196.16595/Catalyst-Model-DBIC-Schema-0.65/t/lib/TestAppC3Fail.pm line 22. # Structures begin differing at: # $got->[0] = '__configured_from_psgi_middleware' # $expected->[0] = 'home' # Looks like you failed 1 test of 1. t/06c3_issues.t ..................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/07connect_info.t .................. ok t/08helper.t ........................ skipped: Test requires module 'Catalyst::Helper' but it's not found t/09schema_options.t ................ ok t/10literal_sql_through_accessor.t .. ok Test Summary Report ------------------- t/06c3_issues.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=8, Tests=25, 3 wallclock secs ( 0.03 usr 0.01 sys + 2.60 cusr 0.14 csys = 2.78 CPU) Result: FAIL Failed 1/8 test programs. 1/25 subtests failed. make: *** [test_dynamic] Error 255 FAIL
Subject: Re: [rt.cpan.org #101446] Test Failures
Date: Mon, 12 Jan 2015 13:41:07 +0100
To: bug-Catalyst-Model-DBIC-Schema [...] rt.cpan.org
From: ilmari [...] ilmari.org (Dagfinn Ilmari Mannsåker)
Download (untitled) / with headers
text/plain 1.1k
"Chad Granum via RT" <bug-Catalyst-Model-DBIC-Schema@rt.cpan.org> writes: Show quoted text
> A test fails. Fails with both new and old Test::More, so something > else is probably to blame. Here is the log:
[…] Show quoted text
> - Catalyst::Runtime ...loaded. (5.90080 >= 5.80005)
[…] Show quoted text
> t/06c3_issues.t ..................... 1/1 > # Failed test 'Config keys correct' > # at /home/exodist/.cpanm/work/1420927196.16595/Catalyst-Model-DBIC-Schema-0.65/t/lib/TestAppC3Fail.pm line 22. > # Structures begin differing at: > # $got->[0] = '__configured_from_psgi_middleware' > # $expected->[0] = 'home' > # Looks like you failed 1 test of 1. > t/06c3_issues.t ..................... Dubious, test returned 1 (wstat 256, 0x100)
This is due to a horrid hack that existed for one day, and unfortunately one release, in Catalyst::Runtime. Upgrading to 5.90081 or newer will fix it. I've made the test ignore the key in question. -- - Twitter seems more influential [than blogs] in the 'gets reported in the mainstream press' sense at least. - Matt McLeod - That'd be because the content of a tweet is easier to condense down to a mainstream media article. - Calle Dybedahl


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.