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

make test failed #2715

Closed
mrzzcn opened this issue May 3, 2018 · 16 comments
Closed

make test failed #2715

mrzzcn opened this issue May 3, 2018 · 16 comments

Comments

@mrzzcn
Copy link

mrzzcn commented May 3, 2018

branch: commit f537bc5 (HEAD -> master, origin/master, origin/HEAD)

The following tests FAILED:
	 27 - nodeos_run_test (Failed)
	 28 - nodeos_run_remote_test (Failed)
	 30 - nodeos_run_test-mongodb (Failed)
	 31 - distributed-transactions-test (Failed)
	 32 - distributed-transactions-remote-test (Failed)
	 33 - restart-scenarios-test_resync (Failed)
Errors while running CTest
make: *** [test] Error 8

Mac OS

@mrzzcn
Copy link
Author

mrzzcn commented May 3, 2018

node version: v10.0.0

@pacificcode pacificcode self-assigned this May 3, 2018
@pacificcode
Copy link
Contributor

pacificcode commented May 3, 2018

@mrzzcn Check that mongod is running and try again.
pgrep -x mongod

@mrzzcn
Copy link
Author

mrzzcn commented May 4, 2018

@pacificcode yes, mongod was running, and there has been some connections between the tests running.
I just ignored those failed tests and keep sudo make install , I run through all the tutorials, and all work fine.

But, today, when I try again:

The following tests FAILED:
	 30 - nodeos_run_test-mongodb (Failed)
Errors while running CTest
make: *** [test] Error 8

there is only one failed test left, and still, the mongod is running.

@quocle108
Copy link

I tried on MACOS , and also have the same problem:

The following tests FAILED:
27 - nodeos_run_test (Failed)
28 - nodeos_run_remote_test (Failed)
30 - nodeos_run_test-mongodb (Failed)
31 - distributed-transactions-test (Failed)
32 - distributed-transactions-remote-test (Failed)
33 - restart-scenarios-test_resync (Failed)
Errors while running CTest
make: *** [test] Error 8

The test 25, 26 sometime works, but sometime it failed. don't know why.

@mrzzcn : how did you passed others test. I did make install, but the test also the same result

@quocle108
Copy link

quocle108 commented May 4, 2018

When i tried cmd: tests/nodeos_run_test.py --mongodb -v --dump-error-detail >& mongo_test.log
There are something related memory space. But my lap have more than 50GB free memory.

i've attached a logfile

mongo_test.log

@mrzzcn
Copy link
Author

mrzzcn commented May 4, 2018

@quocle108 I don't know, after sudo make install I just keep going with the turorials, today, when I run test again, it just passed. Only that one still failed.
May be you could try git pull and build again.

@harvey1993
Copy link

I failed at the last test

@quocle108
Copy link

quocle108 commented May 4, 2018

@mrzzcn Yes, i've tried

git pull

. it doesn't work.

By the way, i 've tried to look at logfile. there are something related mongodb and memory space

here is apart of logfile:

1264614ms thread-0 chain_plugin.cpp:225 plugin_startup ] 13 N5boost12interprocess22interprocess_exceptionE: No space left on device
rethrow No space left on device:
{"my->genesis_file.generic_string()":"/Users/quocle/eos/build/etc/eosio/node_00/./genesis.json","what":"No space left on device"}

@pacificcode
Copy link
Contributor

@mrzzcn can you run the following and paste the result here?
cd /path/to/eos
df -h .

@quocle108
Copy link

screen shot 2018-05-05 at 9 31 06 am

@pacificcode
Copy link
Contributor

@quocle108 you are clearly running out of disk space. Clear up some space and you should be good to go.

@mrzzcn
Copy link
Author

mrzzcn commented May 9, 2018

Mac OS

Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1  233Gi  178Gi   45Gi    80% 5220639 9223372036849555168    0%   /

@fher98
Copy link

fher98 commented May 12, 2018

25/28 Test #25: unit_test_binaryen .................. Passed 82.72 sec
Start 26: unit_test_wavm
26/28 Test #26: unit_test_wavm ...................... Passed 354.31 sec
Start 27: plugin_test
27/28 Test #27: plugin_test ......................... Passed 0.02 sec
Start 28: distributed-transactions-test
28/28 Test #28: distributed-transactions-test .......***Failed 33.83 sec

96% tests passed, 1 tests failed out of 28

Total Test time (real) = 471.40 sec

The following tests FAILED:
28 - distributed-transactions-test (Failed)
Errors while running CTest
Makefile:61: recipe for target 'test' failed
make: *** [test] Error 8
[1]+ Exit 100

Any help with #28

@macsilber
Copy link

macsilber commented May 24, 2018

I think the problem for mac osx users is the paths the these two files are for Linux; when you run tests/nodeos_run_test.py --mongodb -v --dump-error-detail >& mongo_test.log that is the output i get consistently.I also found it worked a few builds ago but then stopped and reverted back.

BEGIN
TEST_OUTPUT: test_output_0.txt
SERVER: localhost
PORT: 8888
 echo db.version() | mongo --host localhost --port 27017 EOStest
 MongoDb response: b'MongoDB shell version v3.6.4\nconnecting to: mongodb://localhost:27017/EOStest\nMongoDB server version: 3.6.4\n3.6.4\nbye\n'
 cmd: pkill -9 keosd
 cmd: programs/eosio-launcher/eosio-launcher -k 15
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 ==

@geneidy
Copy link

geneidy commented Jul 1, 2018

posted but seeing I unassigned @pacificcode. Please excuse me.

@ghost ghost mentioned this issue Jul 24, 2018
Closed
@bittree9527
Copy link

same error, after run: brew install go,test passed.

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

8 participants