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

nodeos_run_test (failed) #2464

Closed
dahifi opened this issue Apr 18, 2018 · 3 comments
Closed

nodeos_run_test (failed) #2464

dahifi opened this issue Apr 18, 2018 · 3 comments

Comments

@dahifi
Copy link

dahifi commented Apr 18, 2018

I've tried multiple installations on different Ubuntu (edit)16.04 boxes, both an AWS instance and my local dev box. This is all through SSH.

Following directions on the wiki:
git clone https://github.com/EOSIO/eos --recursive
./eosio_build.sh
~/opt/mongodb/bin/mongod -f ~/opt/mongodb/mongod.conf &
make test

The following tests FAILED:
26 - nodeos_run_test (Failed)
27 - nodeos_run_remote_test (Failed)
29 - nodeos_run_test-mongodb (Failed)
30 - distributed-transactions-test (Failed)
31 - distributed-transactions-remote-test (Failed)
Errors while running CTest
Makefile:61: recipe for target 'test' failed
make: *** [test] Error 8
karma@homeboy:/eos/build$ ps -A |grep mongod25137 pts/0 00:00:04 mongod
karma@homeboy:
/eos/build$ ps -ef |grep nodeos
karma 25242 1992 0 23:31 pts/0 00:00:00 grep --color=auto nodeos

Followed along on #2292, but I get a bash permission denied when running 'tests/nodeos_run_test.py -v --dump-error-detail >& nodeos_run_test.out.txt', with or without sudo.

./tests/nodeos_run_test.py --dont-kill -v
cmd: programs/eosio-launcher/eosio-launcher -k 15
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::create_directory: Permission denied: "/home/karma/eos/build/staging"

sudo ./tests/nodeos_run_test.py --dont-kill -v
cmd: programs/eosio-launcher/eosio-launcher -k 15
is not a valid path

@dahifi
Copy link
Author

dahifi commented Apr 19, 2018

Appears that my issue was related to root being owner on the build directory, which was caused by me sudo'ing one of the build or prior test commands. chown user:user ./eos/build -R took me past that error but is not bringing me to a 'UnboundLocalError: local variable 'jsonData' referenced before assignment' error.

Am going to clear my build directory, resync git and rebuild.

@dahifi
Copy link
Author

dahifi commented Apr 22, 2018

Have spent past couple days rebuilding, making sure tags are set for Dawn3.0 and even upgraded Ubuntu distro from 16.4 to 16.10 on one of my machines. Keep getting same error running 'make test'.

24/26 Test #24: nodeos_run_test .....................***Failed 3.05 sec
Start 25: p2p_dawn515_test
25/26 Test #25: p2p_dawn515_test .................... Passed 1.02 sec
Start 26: nodeos_run_test-mongodb
26/26 Test #26: nodeos_run_test-mongodb .............***Failed 0.46 sec

Running nodeos_run_test.py -v:

ERROR: Exception during code hash retrieval. Reading WAST...
Assembling WASM...
Publishing contract...
Failed to connect
3504132ms thread-0   main.cpp:1151                 main                 ] connect error: 13 St9exception: connect: Connection refused
connect: Connection refused: 
    {"what":"connect: Connection refused"}
    thread-0  httpc.cpp:144 call

  ERROR: Failed to publish eosio.system.
Shut down the cluster.
 cmd: programs/eosio-launcher/eosio-launcher -k 15
 cmd: pkill nodeos
Shut down the wallet.
 cmd: pkill keosd

@dahifi
Copy link
Author

dahifi commented Jun 22, 2018

Most likely a performance issue. Was able to get running once the 1.0 software was released. Ran it in a VirtualBox Ubuntu 18 install running directly on my main SSD.

@dahifi dahifi closed this as completed Jun 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant