Skip to content

Tests fail with "perl: xs/opcontext.c:73: plcb_opctx_initop: Assertion" #44

Description

@bigunyak

Hi there,

I'm trying to install the module but the tests fail with the following error:

Couchbase-2.0.3-ScCY26 $ make test
Running Mkbootstrap for Couchbase ()
chmod 644 Couchbase.bs
PERL_DL_NONLAZY=1 /opt/perlbrew/perls/perl-5.20.2/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t .. ok   
t/01-main.t .. #[WARN] MockServer.pm:112 (Couchbase::MockServer::_do_run): Executing java -jar /home/dima/.cpan/build/Couchbase-2.0.3-ScCY26/t/tmp/CouchbaseMock.jar --buckets=default::couchbase --port=0 --nodes=5 --harakiri-monitor=localhost:34953
perl: xs/opcontext.c:73: plcb_opctx_initop: Assertion `((svtype)((_svstash)->sv_flags & 0xff)) >= SVt_PVMG' failed.
t/01-main.t .. No subtests run 

Test Summary Report
-------------------
t/01-main.t (Wstat: 6 Tests: 0 Failed: 0)
  Non-zero wait status: 6
  Parse errors: No plan found in TAP output
Files=2, Tests=3,  1 wallclock secs ( 0.05 usr  0.00 sys +  0.31 cusr  0.01 csys =  0.37 CPU)
Result: FAIL
Failed 1/2 test programs. 0/3 subtests failed.
Makefile:1118: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

I have libcouchbase-2.5.8 C client library installed.
The CouchbaseMock.jar file was taken from libcouchbase-2.5.8/tests/CouchbaseMock.jar.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions