LemonLDAPNG / apache-session-mongodb

Implementation of Apache::Session which uses MongoDB as backend
https://metacpan.org/pod/Apache::Session::MongoDB
Other
2 stars 2 forks source link

Unit test are failing #9

Closed coudot closed 3 years ago

coudot commented 5 years ago

See Travis logs:

$ perl Makefile.PL && make test

Warning: prerequisite Apache::Session 1.80 not found.

Warning: prerequisite MongoDB 1.60 not found.

Generating a Unix-style Makefile

Writing Makefile for Apache::Session::MongoDB

Writing MYMETA.yml and MYMETA.json

cp lib/Apache/Session/MongoDB.pm blib/lib/Apache/Session/MongoDB.pm

AutoSplitting blib/lib/Apache/Session/MongoDB.pm (blib/lib/auto/Apache/Session/MongoDB)

blib/lib/Apache/Session/MongoDB.pm: some names are not unique when truncated to 8 characters:

 directory blib/lib/auto/Apache/Session/MongoDB:

  searchOn.al, searchOnExpr.al truncate to searchOn

cp lib/Apache/Session/Serialize/MongoDB.pm blib/lib/Apache/Session/Serialize/MongoDB.pm

cp lib/Apache/Session/Store/MongoDB.pm blib/lib/Apache/Session/Store/MongoDB.pm

PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/Apache-Session-MongoDB.t .. 1/11 

#   Failed test 'use Apache::Session::MongoDB;'

#   at t/Apache-Session-MongoDB.t line 13.

#     Tried to use 'Apache::Session::MongoDB'.

#     Error:  Can't locate Apache/Session.pm in @INC (you may need to install the Apache::Session module) (@INC contains: /home/travis/build/LemonLDAPNG/apache-session-mongodb/blib/lib /home/travis/build/LemonLDAPNG/apache-session-mongodb/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/travis/build/LemonLDAPNG/apache-session-mongodb/blib/lib/Apache/Session/MongoDB.pm line 10.

# BEGIN failed--compilation aborted at /home/travis/build/LemonLDAPNG/apache-session-mongodb/blib/lib/Apache/Session/MongoDB.pm line 10.

# Compilation failed in require at t/Apache-Session-MongoDB.t line 13.

# BEGIN failed--compilation aborted at t/Apache-Session-MongoDB.t line 13.

Can't locate auto/Apache/Session/MongoDB/TIEHASH.al in @INC (@INC contains: /home/travis/build/LemonLDAPNG/apache-session-mongodb/blib/lib /home/travis/build/LemonLDAPNG/apache-session-mongodb/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at t/Apache-Session-MongoDB.t line 28.

# Looks like you planned 11 tests but ran 1.

# Looks like you failed 1 test of 1 run.

# Looks like your test exited with 255 just after 1.

t/Apache-Session-MongoDB.t .. Dubious, test returned 255 (wstat 65280, 0xff00)

Failed 11/11 subtests 

We need to add dependency on Apache::Session

guimard commented 5 years ago

CPAN Testers are OK, this is just a c-i bug

coudot commented 5 years ago

Sorry but we need to try to fix Travis. I reopen to have a look at it.

guimard commented 5 years ago

Apache::Session already exists in Makefile.PL, really a Travis/cpanp bug since nothing changed here