MARTIMM / raku-mongodb-driver

MongoDB driver for Raku
Artistic License 2.0
18 stars 8 forks source link

Tests fails as it cannot launch mongodb server #16

Closed szabgab closed 7 years ago

szabgab commented 7 years ago

Trying to install on Rakudo Star 2017.04 in the rakudo-star Docker image I get the error below. It might be some issue with the mongodb server installed, or some interaction with the Docker image.

Any command I should execute to help finding the source of the problem?

2017-06-15 14:20:34.989772 [F]  1: The spawned command '/usr/bin/mongod --dbpath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server1/m.data --port=65010 --fork --logappend --logpath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server1/m.log --smallfiles --pidfilepath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server1/m.pid --oplogSize=128 --verbose=vv --nojournal' exited unsuccessfully (exit code: 1). At ./lib/MongoDB/Server/Control.pm6 (MongoDB::Server::Control):45
t/099-mk-sandbox.t ......1/?2017-06-15 14:20:35.624151 [F]  1: The spawned command '/usr/bin/mongod --dbpath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server2/m.data --port=65011 --fork --logappend --logpath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server2/m.log --smallfiles --pidfilepath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server2/m.pid --oplogSize=128 --verbose=vv --nojournal' exited unsuccessfully (exit code: 1). At ./lib/MongoDB/Server/Control.pm6 (MongoDB::Server::Control):45
t/099-mk-sandbox.t ......2/?2017-06-15 14:20:36.184927 [F]  1: The spawned command '/usr/bin/mongod --dbpath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server3/m.data --port=65012 --fork --logappend --logpath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server3/m.log --smallfiles --pidfilepath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server3/m.pid --oplogSize=128 --verbose=vv --nojournal' exited unsuccessfully (exit code: 1). At ./lib/MongoDB/Server/Control.pm6 (MongoDB::Server::Control):45
2017-06-15 14:20:36.841302 [F]  1: The spawned command '/usr/bin/mongod --dbpath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server1/m.data --port=65010 --fork --logappend --logpath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server1/m.log --smallfiles --pidfilepath=/root/.zef/store/mongo-perl6-driver.git/b065ef515c30ce3b4f645df60b3e4638492d75e0/Sandbox/Server1/m.pid --oplogSize=128 --verbose=vv --nojournal' exited unsuccessfully (exit code: 1). At ./lib/MongoDB/Server/Control.pm6 (MongoDB::Server::Control):45

From that point on all the tests seem to fail:

t/099-mk-sandbox.t ...... ok
Failed to connect: connection refused
MARTIMM commented 7 years ago

Made a new version of MongoDB driver after changes in BSON. Please try again.