Archived
This forum has been archived. Please start a new discussion on GitHub.
Make test problem
Hi,
I'm installing Ice 3.1.1 for C++ in a CentOS 4.4. No problems during compilation, but in the make test step I have this problem:
*** running tests in ./test/IceGrid/session
starting icegrid registry... ok
starting icegrid node... ok
adding application... ok
starting client... ok
starting router... ok
starting admin router... ok
testing username/password sessions... ok
testing sessions from secure connection... ok
testing Glacier2 username/password sessions... ok
testing Glacier2 sessions from secure connection... ok
testing updates with admin sessions... ok
testing registry observer... ./bin/icegridnode: error: service caught unhandled exception:
cannot create directory `test/IceGrid/session/db/node-1/servers':
Permission denied
timeout: AllTests.cpp:1609
Last 10 updates of observer `nodeObs1':
wait for update from line 1379
server `node-1' on node `localnode' state updated: 1 (pid = 10097)
server `node-1' on node `localnode' state updated: 2 (pid = 10097)
wait for update from line 1605
wait for update from line 1606
wait for update from line 1609
server `node-1' on node `localnode' state updated: 3 (pid = 0)
wait for update from line 1609
server `node-1' on node `localnode' state updated: 0 (pid = 0)
wait for update from line 1609
Last 10 updates of observer `regObs1':
adapter removed `DummyAdapter' (serial = 26)
wait for update from line 1508 (serial = 26)
object added `dummy -t:tcp -h 127.0.0.1 -p 10000' (serial = 27)
wait for update from line 1526 (serial = 27)
object updated `dummy -t:tcp -h host -p 10000' (serial = 28)
wait for update from line 1534 (serial = 28)
object removed `dummy' (serial = 29)
wait for update from line 1541 (serial = 29)
application added `NodeApp' (serial = 30)
wait for update from line 1579 (serial = 30)
failed!
AllTests.cpp:458: assertion `false' failed
sh: line 1: 10044 Aborted ./test/IceGrid/session/client --Ice.Default.Host=127.0.0.1 --Ice.NullHandleAbort --Ice.Warn.Connections --Ice.Default.Locator="IceGrid/Locator:default -p 12010" --IceDir="." --TestDir="./test/IceGrid/session" 2>&1
./bin/glacier2router: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:12347
remote address = 127.0.0.1:37913
./bin/glacier2router: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:12348
remote address = 127.0.0.1:37914
PermissionsVerifierServer: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:37890
remote address = 127.0.0.1:37893
PermissionsVerifierServer: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:37890
remote address = 127.0.0.1:37894
remove application... ok
test in ./test/IceGrid/session failed with exit status 256
I'm compiling and installing Ice as root. I have read this thread (http://www.zeroc.com/vbulletin/showthread.php?t=2549&highlight=cannot+create+directory+%60test%2FIceGrid%2Fsession%2Fdb%2Fnode-1%2Fservers%27) and this other one (http://www.zeroc.com/vbulletin/showthread.php?t=2468), but I don't understand what's the matter
Do I need to change some configuration file?
Thanks a lot!
Cheers
I'm installing Ice 3.1.1 for C++ in a CentOS 4.4. No problems during compilation, but in the make test step I have this problem:
*** running tests in ./test/IceGrid/session
starting icegrid registry... ok
starting icegrid node... ok
adding application... ok
starting client... ok
starting router... ok
starting admin router... ok
testing username/password sessions... ok
testing sessions from secure connection... ok
testing Glacier2 username/password sessions... ok
testing Glacier2 sessions from secure connection... ok
testing updates with admin sessions... ok
testing registry observer... ./bin/icegridnode: error: service caught unhandled exception:
cannot create directory `test/IceGrid/session/db/node-1/servers':
Permission denied
timeout: AllTests.cpp:1609
Last 10 updates of observer `nodeObs1':
wait for update from line 1379
server `node-1' on node `localnode' state updated: 1 (pid = 10097)
server `node-1' on node `localnode' state updated: 2 (pid = 10097)
wait for update from line 1605
wait for update from line 1606
wait for update from line 1609
server `node-1' on node `localnode' state updated: 3 (pid = 0)
wait for update from line 1609
server `node-1' on node `localnode' state updated: 0 (pid = 0)
wait for update from line 1609
Last 10 updates of observer `regObs1':
adapter removed `DummyAdapter' (serial = 26)
wait for update from line 1508 (serial = 26)
object added `dummy -t:tcp -h 127.0.0.1 -p 10000' (serial = 27)
wait for update from line 1526 (serial = 27)
object updated `dummy -t:tcp -h host -p 10000' (serial = 28)
wait for update from line 1534 (serial = 28)
object removed `dummy' (serial = 29)
wait for update from line 1541 (serial = 29)
application added `NodeApp' (serial = 30)
wait for update from line 1579 (serial = 30)
failed!
AllTests.cpp:458: assertion `false' failed
sh: line 1: 10044 Aborted ./test/IceGrid/session/client --Ice.Default.Host=127.0.0.1 --Ice.NullHandleAbort --Ice.Warn.Connections --Ice.Default.Locator="IceGrid/Locator:default -p 12010" --IceDir="." --TestDir="./test/IceGrid/session" 2>&1
./bin/glacier2router: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:12347
remote address = 127.0.0.1:37913
./bin/glacier2router: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:12348
remote address = 127.0.0.1:37914
PermissionsVerifierServer: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:37890
remote address = 127.0.0.1:37893
PermissionsVerifierServer: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:37890
remote address = 127.0.0.1:37894
remove application... ok
test in ./test/IceGrid/session failed with exit status 256
I'm compiling and installing Ice as root. I have read this thread (http://www.zeroc.com/vbulletin/showthread.php?t=2549&highlight=cannot+create+directory+%60test%2FIceGrid%2Fsession%2Fdb%2Fnode-1%2Fservers%27) and this other one (http://www.zeroc.com/vbulletin/showthread.php?t=2468), but I don't understand what's the matter
Do I need to change some configuration file?
Thanks a lot!
Cheers
0
Comments
-
Hi,
The test doesn't support being run as "root". This will be fixed in the next release (the test is disabled if the tests are being run as root).
Cheers,
Benoit.0 -
Hi benoit,
ok, I'm going to compile and test as XYZ user, and then I'll install as root
Thanks a lot for your time
Cheers!0