project-hatohol / hatohol

A unified manager of monitoring software
http://www.hatohol.org/
Other
89 stars 29 forks source link

Failed to boot hatohol sometime in test #74

Open kz0817 opened 10 years ago

kz0817 commented 10 years ago

https://travis-ci.org/project-hatohol/hatohol/jobs/13020304

$ test/launch-hatohol-for-test.sh
spawn /home/travis/build/project-hatohol/hatohol/server/tools/hatohol-config-db-creator /home/travis/build/project-hatohol/hatohol/test/hatohol-config.dat
[INFO]  Configuration DB Server: localhost, port: (default), DB: hatohol, User: hatohol, use password: yes
Configuration DB Server: 'localhost', port: (default)
Please input the root password for the above server."(If you've not set the root password, just push enter)
: 
FaceRest port: 0
send: spawn id exp6 not open
    while executing
"send "yes\n""
[INFO]  Configuration DB Server: localhost, port: (default), DB: hatohol, User: hatohol, use password: yes
[INFO]  Run as a test mode.
[INFO]  started hatohol server: ver. 0.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) couldn't connect to host
[INFO]  started face-rest, port: 33194
[ERR]  Got Hatohol Exception:  ASSERTION failed: [m_soupServer] : failed: soup_server_new: 33194
kz0817 commented 10 years ago

The similar problem happend in my desktop (Ubuntu 13.10 64bit).

testFaceRest:
[INFO] <DBClientConfig.cc:453> Configuration DB Server: localhost, port: (default), DB: hatohol, User: hatohol, use password: yes
[INFO] <DBClient.cc:179> Default DB: test_servers_in_helper, User: hatohol_test_user, use passowrd: no
  testFaceRest::test_updateUserRoleWithoutFlags:        [INFO]  Default DB: test_db_user, User: hatohol_test_user, use passowrd: no
[INFO] <DBClient.cc:179> Default DB: test_servers_in_helper, User: hatohol_test_user, use passowrd: no
[INFO] <FaceRest.cc:332> started face-rest, port: 53194
(cutter:18375): GLib-GObject-CRITICAL **: Custom constructor for class SoupServer returned NULL (which is invalid).  Unable to remove object from construction_objects list, so memory was probably just leaked.  Please use GInitable instead.
[ERR] <FaceRest.cc:455> Self PID: 18375, exit status: 256
<<stdout>>
<<stderr>>
[ERR]  Got Hatohol Exception:  ASSERTION failed: [m_ctx->soupServer] : failed: soup_server_new: 53194, errno: 98