Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-16-2006
eric.hill eric.hill is offline
Registered User
 
Name: Eric Hill
Organization: Pioneer Balloon Co.
Project: Internal Research
 
Join Date: Jul 2006
Location: Wichita, KS
Posts: 25
Make test failure

I'm doing some testing with Ice on linux. I successfully built the source package (literally zero problems! ) and was running the tests when I experienced an error with an IceGrid test...

Code:
*** 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:1590
Last 10 updates of observer `nodeObs1':
  wait for update from line 1360
  server `node-1' on node `localnode' state updated: 1 (pid = 25820)
  server `node-1' on node `localnode' state updated: 2 (pid = 25820)
  wait for update from line 1586
  wait for update from line 1587
  wait for update from line 1590
  server `node-1' on node `localnode' state updated: 3 (pid = 0)
  wait for update from line 1590
  server `node-1' on node `localnode' state updated: 0 (pid = 0)
  wait for update from line 1590
Last 10 updates of observer `regObs1':
  adapter removed `DummyAdapter' (serial = 26)
  wait for update from line 1489 (serial = 26)
  object added `dummy -t:tcp -h 127.0.0.1 -p 10000' (serial = 27)
  wait for update from line 1507 (serial = 27)
  object updated `dummy -t:tcp -h host -p 10000' (serial = 28)
  wait for update from line 1515 (serial = 28)
  object removed `dummy' (serial = 29)
  wait for update from line 1522 (serial = 29)
  application added `NodeApp' (serial = 30)
  wait for update from line 1560 (serial = 30)
failed!
AllTests.cpp:458: assertion `false' failed
./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:54102
./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:54104
PermissionsVerifierServer: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:54081
remote address = 127.0.0.1:54084
PermissionsVerifierServer: warning: connection exception:
TcpTransceiver.cpp:217: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:54081
remote address = 127.0.0.1:54085
remove application... ok
test in ./test/IceGrid/session failed with exit status 256
hpblade18:/usr/src/Ice-3.1.0#
It looks like the test fails when creating a directory, but I'm running on this machine as root and have complete ownership of the files. In addition, I can manually create the directory, so I'm not quite sure where the problem is.

I (obviously) don't need the tests to complete to be able to work with Ice.

FWIW, this is a debian linux distro on the 2.6.8-2-686 kernel with gcc 3.3.5.
__________________
Eric Hill - ijack.net
Pioneer Balloon Co.
Reply With Quote
  #2 (permalink)  
Old 08-16-2006
BiT BiT is offline
Registered User
 
Name: Přemysl Čermák
Organization: Logos a.s.
Project: "Simple" web-shop (Apache, mod_python or PHP, Ice)
 
Join Date: Jul 2006
Location: Prague
Posts: 4
Problem

I have same problem with test on Gentoo. (kernel 2.6.12 r4, gcc 4.1.1, glib with nptl)

Last edited by BiT : 08-16-2006 at 04:45 PM.
Reply With Quote
  #3 (permalink)  
Old 08-16-2006
xdm's Avatar
xdm xdm is offline
ZeroC Staff
 
Name: José Gutíerrez de la Concha Martínez
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Sep 2003
Location: La Coruña, Spain
Posts: 299
Hi eric

I think that the problem is that you don't set the user attribute in the icebox descriptor, this is the user that's run icegridnode. By default in Ice-3.1.0 if you run icegridnode as root it use nobody as user.
you can read Benoit answer for a similar question in this thread

Hope this help
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 problem lucsat Help Center 2 01-17-2007 09:54 AM
"make test" failure on Ice 3.0.1 installation. SUSE 10.1. pchapin Help Center 4 05-22-2006 11:20 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:03 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.