Skip Menu |

This queue is for tickets about the Mongol CPAN distribution.

Report information
The Basics
Id: 126977
Status: resolved
Priority: 0/
Queue: Mongol

People
Owner: Nobody in particular
Requestors: chaz [...] chaz6.com
Cc:
AdminCc:

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



Subject: Failed test 'require Mongol::Models::Person;' at t/model.t line 30.
From: chaz [...] chaz6.com
Trying to install Mongol 2.3 on Linux x86_64 with perl v5.28.0 fails with the following output:- Checking dependencies from MYMETA.json ... Checking if you have Test::Pod 0 ... Yes (1.52) Checking if you have MongoDB 0 ... Yes (v2.0.1) Checking if you have MooseX::Storage::Base::SerializedClass 0 ... Yes (0.2.0) Checking if you have Class::Load 0 ... Yes (0.25) Checking if you have Test::Pod::Coverage 0 ... Yes (1.10) Checking if you have Data::UUID 0 ... Yes (1.221) Checking if you have Moose 0 ... Yes (2.2011) Checking if you have MooseX::ClassAttribute 0 ... Yes (0.29) Checking if you have Test::More 0 ... Yes (1.302140) Checking if you have Lingua::EN::Inflect 0 ... Yes (1.903) Checking if you have MooseX::Storage 0 ... Yes (0.52) Building and testing Mongol-2.3 Building Mongol t/basic.t ......... skipped: Cannot connect to mongo! t/cursor.t ........ skipped: Cannot connect to mongo! # Failed test 'require Mongol::Models::Person;' # at t/model.t line 30. # Tried to require 'Mongol::Models::Person'. # Error: Could not locate type constraint (MongoDB::OID) for the union at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Meta/Role/Application/ToClass.pm line 31 # Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class::__ANON__::SERIAL::10=HASH(0x4a87970)') called at /home/chaz/perl5/lib/perl5/MooseX/ClassAttribute/Trait/Application/ToClass.pm line 26 # Class::MOP::Class:::around('CODE(0x433d6f8)', 'Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Class/MOP/Method/Wrapped.pm line 164 # Moose::Meta::Class::__ANON__::SERIAL::9::_wrapped_apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Class/MOP/Method/Wrapped.pm line 95 # Moose::Meta::Class::__ANON__::SERIAL::9::apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Meta/Role.pm line 472 # Moose::Meta::Role::apply('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class=HASH(0x480dbe8)') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Util.pm line 171 # Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x480dbe8)', undef, 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Util.pm line 113 # Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x480dbe8)', 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose.pm line 57 # Moose::with('Moose::Meta::Class=HASH(0x480dbe8)', 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Exporter.pm line 419 # Moose::with('Mongol::Roles::Core') called at t/lib/Mongol/Models/Person.pm line 7 # require Mongol/Models/Person.pm at (eval 868) line 2 # eval 'package main; # require Mongol::Models::Person; # 1; # ' at /home/chaz/perl5/lib/perl5/Test/More.pm line 1032 # Test::More::_eval('package main;^Jrequire Mongol::Models::Person;^J1;^J') called at /home/chaz/perl5/lib/perl5/Test/More.pm line 896 # Test::More::require_ok('Mongol::Models::Person') called at t/model.t line 30 # Compilation failed in require at (eval 868) line 2.
On 2018-08-28 13:24:35, chaz6 wrote: Show quoted text
> Trying to install Mongol 2.3 on Linux x86_64 with perl v5.28.0 fails > with the following output:- > > Checking dependencies from MYMETA.json ... > Checking if you have Test::Pod 0 ... Yes (1.52) > Checking if you have MongoDB 0 ... Yes (v2.0.1) > Checking if you have MooseX::Storage::Base::SerializedClass 0 ... Yes > (0.2.0) > Checking if you have Class::Load 0 ... Yes (0.25) > Checking if you have Test::Pod::Coverage 0 ... Yes (1.10) > Checking if you have Data::UUID 0 ... Yes (1.221) > Checking if you have Moose 0 ... Yes (2.2011) > Checking if you have MooseX::ClassAttribute 0 ... Yes (0.29) > Checking if you have Test::More 0 ... Yes (1.302140) > Checking if you have Lingua::EN::Inflect 0 ... Yes (1.903) > Checking if you have MooseX::Storage 0 ... Yes (0.52) > Building and testing Mongol-2.3 > Building Mongol > t/basic.t ......... skipped: Cannot connect to mongo! > t/cursor.t ........ skipped: Cannot connect to mongo! > > # Failed test 'require Mongol::Models::Person;' > # at t/model.t line 30. > # Tried to require 'Mongol::Models::Person'. > # Error: Could not locate type constraint (MongoDB::OID) for the > union at /home/chaz/perl5/lib/perl5/x86_64- > linux/Moose/Meta/Role/Application/ToClass.pm line 31 > # > Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', > 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class::__ANON__::SERIAL::10=HASH(0x4a87970)') called at > /home/chaz/perl5/lib/perl5/MooseX/ClassAttribute/Trait/Application/ToClass.pm > line 26 > # Class::MOP::Class:::around('CODE(0x433d6f8)', > 'Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', > 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Class/MOP/Method/Wrapped.pm > line 164 > # > Moose::Meta::Class::__ANON__::SERIAL::9::_wrapped_apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', > 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Class/MOP/Method/Wrapped.pm > line 95 > # > Moose::Meta::Class::__ANON__::SERIAL::9::apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', > 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Meta/Role.pm line 472 > # > Moose::Meta::Role::apply('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class=HASH(0x480dbe8)') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Util.pm line 171 > # > Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x480dbe8)', > undef, 'Mongol::Roles::Core') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Util.pm line 113 > # > Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x480dbe8)', > 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64- > linux/Moose.pm line 57 > # Moose::with('Moose::Meta::Class=HASH(0x480dbe8)', > 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64- > linux/Moose/Exporter.pm line 419 > # Moose::with('Mongol::Roles::Core') called at > t/lib/Mongol/Models/Person.pm line 7 > # require Mongol/Models/Person.pm at (eval 868) line 2 > # eval 'package main; > # require Mongol::Models::Person; > # 1; > # ' at /home/chaz/perl5/lib/perl5/Test/More.pm line 1032 > # Test::More::_eval('package main;^Jrequire > Mongol::Models::Person;^J1;^J') called at > /home/chaz/perl5/lib/perl5/Test/More.pm line 896 > # Test::More::require_ok('Mongol::Models::Person') called at > t/model.t line 30 > # Compilation failed in require at (eval 868) line 2.
I also see the failure. Statistical analysis suggests that this is a regression with MongoDB 2: **************************************************************** Regression 'mod:MongoDB' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 60727329348658296.00 [1='eq_v1.4.5'] 0.0000 0.0000 0.75 [2='eq_v1.6.0'] 0.0000 0.0000 0.75 [3='eq_v1.6.1'] 0.0000 0.0000 1.40 [4='eq_v1.8.0'] 0.0000 0.0000 2.94 [5='eq_v1.8.1'] 0.0000 0.0000 2.27 [6='eq_v1.8.2'] 0.0000 0.0000 3.37 [7='eq_v1.8.3'] 0.0000 0.0000 0.00 [8='eq_v2.0.1'] -1.0000 0.0000 -42940706385785120.00 R^2= 1.000, N= 110, K= 9 ****************************************************************
Hey guys, Sorry for replying so late but I made a new release (2.4) to work with MongoDB v2, I've also moved the repository to GitLab (now public) and added GitLab CI on it. On Tue Aug 28 13:24:35 2018, chaz6 wrote: Show quoted text
> Trying to install Mongol 2.3 on Linux x86_64 with perl v5.28.0 fails > with the following output:- > > Checking dependencies from MYMETA.json ... > Checking if you have Test::Pod 0 ... Yes (1.52) > Checking if you have MongoDB 0 ... Yes (v2.0.1) > Checking if you have MooseX::Storage::Base::SerializedClass 0 ... Yes > (0.2.0) > Checking if you have Class::Load 0 ... Yes (0.25) > Checking if you have Test::Pod::Coverage 0 ... Yes (1.10) > Checking if you have Data::UUID 0 ... Yes (1.221) > Checking if you have Moose 0 ... Yes (2.2011) > Checking if you have MooseX::ClassAttribute 0 ... Yes (0.29) > Checking if you have Test::More 0 ... Yes (1.302140) > Checking if you have Lingua::EN::Inflect 0 ... Yes (1.903) > Checking if you have MooseX::Storage 0 ... Yes (0.52) > Building and testing Mongol-2.3 > Building Mongol > t/basic.t ......... skipped: Cannot connect to mongo! > t/cursor.t ........ skipped: Cannot connect to mongo! > > # Failed test 'require Mongol::Models::Person;' > # at t/model.t line 30. > # Tried to require 'Mongol::Models::Person'. > # Error: Could not locate type constraint (MongoDB::OID) for the > union at /home/chaz/perl5/lib/perl5/x86_64- > linux/Moose/Meta/Role/Application/ToClass.pm line 31 > # > Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', > 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class::__ANON__::SERIAL::10=HASH(0x4a87970)') called at > /home/chaz/perl5/lib/perl5/MooseX/ClassAttribute/Trait/Application/ToClass.pm > line 26 > # Class::MOP::Class:::around('CODE(0x433d6f8)', > 'Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', > 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Class/MOP/Method/Wrapped.pm > line 164 > # > Moose::Meta::Class::__ANON__::SERIAL::9::_wrapped_apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', > 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Class/MOP/Method/Wrapped.pm > line 95 > # > Moose::Meta::Class::__ANON__::SERIAL::9::apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', > 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Meta/Role.pm line 472 > # > Moose::Meta::Role::apply('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', > 'Moose::Meta::Class=HASH(0x480dbe8)') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Util.pm line 171 > # > Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x480dbe8)', > undef, 'Mongol::Roles::Core') called at > /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Util.pm line 113 > # > Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x480dbe8)', > 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64- > linux/Moose.pm line 57 > # Moose::with('Moose::Meta::Class=HASH(0x480dbe8)', > 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64- > linux/Moose/Exporter.pm line 419 > # Moose::with('Mongol::Roles::Core') called at > t/lib/Mongol/Models/Person.pm line 7 > # require Mongol/Models/Person.pm at (eval 868) line 2 > # eval 'package main; > # require Mongol::Models::Person; > # 1; > # ' at /home/chaz/perl5/lib/perl5/Test/More.pm line 1032 > # Test::More::_eval('package main;^Jrequire > Mongol::Models::Person;^J1;^J') called at > /home/chaz/perl5/lib/perl5/Test/More.pm line 896 > # Test::More::require_ok('Mongol::Models::Person') called at > t/model.t line 30 > # Compilation failed in require at (eval 868) line 2.
On Wed Sep 26 10:02:06 2018, MARGHI wrote: Show quoted text
> Hey guys, > > Sorry for replying so late but I made a new release (2.4) to work with > MongoDB v2, I've also moved the repository to GitLab (now public) and > added GitLab CI on it.
Thank you, confirmed PASS :-)