Issues installing RT::Extension::REST2


#1

I’m having issues installing RT::Extension::REST2

I’m running RT 4.4.1 on debian jessie.
perl v5.20.2

First, a note to those who follow – sudo cpanm RT::Extension::REST2 has the following unmet dependencies:

Test::NoWarnings
Test::WWW::Mechanize::PSGI
Log::Dispatch::Perl

After installing those and exporting RT_DBA_USER and RT_DBA_PASSWORD, I’m still seeing a number of failing unit tests.

I pastebinned the build.log. Follow the link to get the failed unit tests.

There were some tests that simply failed on warnings… I’m willing to do a force install on those. Here are the legit fails:

#   Failed test 'two Multi Member'
#   Failed test 'preserved two Multi Members when no watcher keys'
#   Failed test 'preserved two Multi Members when identical watcher values'
#   Failed test 'preserved two Multi Members when out of order watcher values'
#   Failed test 'preserved two Multi Members when watcher ids instead of names'
#   Failed test 'two Requestors'
#   Failed test 'two Ccs'
#   Failed test 'two AdminCcs'
#   Failed test 'preserved two Requestors when no watcher keys'
#   Failed test 'preserved two Ccs when no watcher keys'
#   Failed test 'preserved two AdminCcs when no watcher keys'
#   Failed test 'preserved two Requestors when identical watcher values'
#   Failed test 'preserved two Ccs when identical watcher values'
#   Failed test 'preserved two AdminCcs when identical watcher values'
#   Failed test 'preserved two Requestors when out of order watcher values'
#   Failed test 'preserved two Ccs when out of order watcher values'
#   Failed test 'preserved two AdminCcs when out of order watcher values'
#   Failed test 'preserved two Requestors when watcher ids instead of names'
#   Failed test 'preserved two Ccs when watcher ids instead of names'
#   Failed test 'preserved two AdminCcs when watcher ids instead of names'

Is this a configuration issue on my part, or a bug? How serious are the failed tests?


#2

Hi Barton,

When you install the module it prints warnings like this about missing modules:

Warning: prerequisite Module::Path 0 not found.
Warning: prerequisite MooseX::NonMoose 0 not found.
Warning: prerequisite MooseX::Role::Parameterized 0 not found.
Warning: prerequisite Test::WWW::Mechanize::PSGI 0 not found.
Warning: prerequisite namespace::autoclean 0 not found.

You just need to install them and it should work. Like you, I did miss the obvious the first run through. :slight_smile:

Regards,
Ken