Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 01-17-2007
lucsat's Avatar
lucsat lucsat is offline
Registered User
 
Name: Jordi Rubio
Organization: Grupo Intercom
Project: I+D
 
Join Date: Oct 2005
Location: Terrassa
Posts: 15
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 (Make test failure) 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
__________________
Jordi Rubio Moreno
Grupo Intercom
www.grupointercom.com
Reply With Quote
  #2 (permalink)  
Old 01-17-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,564
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.
Reply With Quote
  #3 (permalink)  
Old 01-17-2007
lucsat's Avatar
lucsat lucsat is offline
Registered User
 
Name: Jordi Rubio
Organization: Grupo Intercom
Project: I+D
 
Join Date: Oct 2005
Location: Terrassa
Posts: 15
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!
__________________
Jordi Rubio Moreno
Grupo Intercom
www.grupointercom.com
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Make test failure eric.hill Help Center 2 08-16-2006 10:33 PM
getifaddrs() does not supported by glibc, IceE fails to make app in /IceE/test syseeker Help Center 2 07-02-2006 10:27 PM
CertificateVerificationException when "make test" after make Ice 3.0.0? richardma Help Center 1 01-06-2006 07:25 AM
STL assertion failure make test fails sylvain Bug Reports 2 03-02-2003 08:24 AM
make test fails with Python 2.0 jmu Bug Reports 0 02-23-2003 03:25 PM


All times are GMT -4. The time now is 12:41 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.