Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Build Validation Failing #5716

Closed
dos2ii opened this issue Sep 18, 2018 · 1 comment
Closed

Build Validation Failing #5716

dos2ii opened this issue Sep 18, 2018 · 1 comment
Labels

Comments

@dos2ii
Copy link

dos2ii commented Sep 18, 2018

Hitting below error while validating the newly installed eosio. Kindly advise. Thanks in advance!

root@nodeos1:/eos/data/eos/build# ctest --output-on-failure -R 'nodeos_run_test'
Test project /eos/data/eos/build
Start 33: nodeos_run_test
1/3 Test #33: nodeos_run_test .................. Passed 61.24 sec
Start 34: bnet_nodeos_run_test
2/3 Test #34: bnet_nodeos_run_test ............. Passed 61.33 sec
Start 36: nodeos_run_test-mongodb
3/3 Test #36: nodeos_run_test-mongodb ..........***Failed 0.29 sec
terminate called after throwing an instance of 'fc::eof_exception'
BEGIN
UTC time: 2018-09-18 09:06:00.759012
EOS Client version: 08819aa
Processor: x86_64
OS name: Linux-4.4.0-87-generic-x86_64-with-Ubuntu-16.04-xenial
SERVER: localhost
PORT: 8888
echo db.version() | mongo --host localhost --port 27017 EOStest
Test failed.

Contents of etc/eosio/node_bios/config.ini:
File etc/eosio/node_bios/config.ini not found.

Contents of var/lib/node_bios/stderr.txt:
File var/lib/node_bios/stderr.txt not found.

== Errors see above ==
Shut down the cluster.
cmd: programs/eosio-launcher/eosio-launcher -k 9
cmd: pkill -9 nodeos
Shut down the wallet.
cmd: pkill -9 keosd
Traceback (most recent call last):
File "/eos/data/eos/build/tests/nodeos_run_test.py", line 61, in
if enableMongo and not cluster.isMongodDbRunning():
File "/eos/data/eos/build/tests/Cluster.py", line 1071, in isMongodDbRunning
ret,outs,errs=Node.stdinAndCheckOutput(cmd.split(), subcommand)
File "/eos/data/eos/build/tests/Node.py", line 74, in stdinAndCheckOutput
popen=subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/usr/lib/python3.5/subprocess.py", line 947, in init
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'mongo'

67% tests passed, 1 tests failed out of 3

Total Test time (real) = 122.86 sec

@gleehokie
Copy link
Contributor

It looks like mongo (MongoDB) is not in your path. You probably don't have it installed or if you do it's not in your path for some reason.

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

Reopen if you need more help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants