Hello All,
I am trying to execute tests for mongo-cxx-driver legacy driver but integration tests are failing on my machine. It is a Ubuntu PPC machine.
Somehow it is not able to connect to the mongo-orchestration.Attached here is the complete output log.
I am also facing issues while starting mongo-orchestration:
1. mongo-orchestration start
Starting Mongo Orchestration on port 8889...
Could not connect to daemon running on localhost:8889 (pid: 2201) within 5 attempts.
Here it is not able to start mongo-orchestration.
2. mongo-orchestration restart
pidfile /root/server.pid does not exist. Daemon not running?
Starting Mongo Orchestration on port 8889...
Here it starts but still the cxx driver gives the error 404.
3. mongo-orchestration --no-fork start
Starting Mongo Orchestration on port 8889...
Bottle v0.12.9 server starting up (using CherryPyServer())...
Listening on
http://localhost:8889/Hit Ctrl-C to quit.
here it is started, but cxx driver tests give error 404.
The output logged on console for mongo-orchestration --no-fork command is:
DEBUG:mongo_orchestration.apps:host_create((), {})
DEBUG:mongo_orchestration.servers:Server.__init__(mongod, {u'journal': True, u'logappend': True, u'ipv6': True}, {}, , , )
CRITICAL:mongo_orchestration.apps:Exception <type 'exceptions.OSError'> [Errno 2] No such file or directory while host_create
CRITICAL:mongo_orchestration.apps:['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/__init__.py", line 62, in wrap\n return f(*arg, **kwd)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 83, in host_create\n result = _host_create(data)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 52, in _host_create\n params.get(\'version\', \'\'))\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 437, in create\n auth_key, login, password, auth_source)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 154, in __init__\n self.config_path, self.cfg = self.__init_mongod(procParams)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 97, in __init_mongod\n self.__init_test_commands(cfg)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 71, in __init_test_commands\n if self.version >= (2, 4):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 193, in version\n command, stdout=subprocess.PIPE).communicate()\n', ' File "/usr/lib/python2.7/subprocess.py", line 710, in __init__\n errread, errwrite)\n', ' File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child\n raise child_exception\n', 'OSError: [Errno 2] No such file or directory\n']
DEBUG:mongo_orchestration.apps:send_result(500, ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/__init__.py", line 62, in wrap\n return f(*arg, **kwd)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 83, in host_create\n result = _host_create(data)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 52, in _host_create\n params.get(\'version\', \'\'))\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 437, in create\n auth_key, login, password, auth_source)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 154, in __init__\n self.config_path, self.cfg = self.__init_mongod(procParams)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 97, in __init_mongod\n self.__init_test_commands(cfg)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 71, in __init_test_commands\n if self.version >= (2, 4):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 193, in version\n command, stdout=subprocess.PIPE).communicate()\n', ' File "/usr/lib/python2.7/subprocess.py", line 710, in __init__\n errread, errwrite)\n', ' File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child\n raise child_exception\n', 'OSError: [Errno 2] No such file or directory\n'])
DEBUG:mongo_orchestration.apps:host_create((), {})
DEBUG:mongo_orchestration.servers:Server.__init__(mongod, {u'journal': True, u'logappend': True, u'ipv6': True}, {}, , , )
CRITICAL:mongo_orchestration.apps:Exception <type 'exceptions.OSError'> [Errno 2] No such file or directory while host_create
CRITICAL:mongo_orchestration.apps:['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/__init__.py", line 62, in wrap\n return f(*arg, **kwd)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 83, in host_create\n result = _host_create(data)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 52, in _host_create\n params.get(\'version\', \'\'))\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 437, in create\n auth_key, login, password, auth_source)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 154, in __init__\n self.config_path, self.cfg = self.__init_mongod(procParams)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 97, in __init_mongod\n self.__init_test_commands(cfg)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 71, in __init_test_commands\n if self.version >= (2, 4):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 193, in version\n command, stdout=subprocess.PIPE).communicate()\n', ' File "/usr/lib/python2.7/subprocess.py", line 710, in __init__\n errread, errwrite)\n', ' File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child\n raise child_exception\n', 'OSError: [Errno 2] No such file or directory\n']
DEBUG:mongo_orchestration.apps:send_result(500, ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/__init__.py", line 62, in wrap\n return f(*arg, **kwd)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 83, in host_create\n result = _host_create(data)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 52, in _host_create\n params.get(\'version\', \'\'))\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 437, in create\n auth_key, login, password, auth_source)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 154, in __init__\n self.config_path, self.cfg = self.__init_mongod(procParams)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 97, in __init_mongod\n self.__init_test_commands(cfg)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 71, in __init_test_commands\n if self.version >= (2, 4):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 193, in version\n command, stdout=subprocess.PIPE).communicate()\n', ' File "/usr/lib/python2.7/subprocess.py", line 710, in __init__\n errread, errwrite)\n', ' File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child\n raise child_exception\n', 'OSError: [Errno 2] No such file or directory\n'])
DEBUG:mongo_orchestration.apps:host_create((), {})
DEBUG:mongo_orchestration.servers:Server.__init__(mongod, {u'journal': True, u'logappend': True, u'ipv6': True}, {}, , , )
CRITICAL:mongo_orchestration.apps:Exception <type 'exceptions.OSError'> [Errno 2] No such file or directory while host_create
CRITICAL:mongo_orchestration.apps:['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/__init__.py", line 62, in wrap\n return f(*arg, **kwd)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 83, in host_create\n result = _host_create(data)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 52, in _host_create\n params.get(\'version\', \'\'))\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 437, in create\n auth_key, login, password, auth_source)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 154, in __init__\n self.config_path, self.cfg = self.__init_mongod(procParams)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 97, in __init_mongod\n self.__init_test_commands(cfg)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 71, in __init_test_commands\n if self.version >= (2, 4):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 193, in version\n command, stdout=subprocess.PIPE).communicate()\n', ' File "/usr/lib/python2.7/subprocess.py", line 710, in __init__\n errread, errwrite)\n', ' File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child\n raise child_exception\n', 'OSError: [Errno 2] No such file or directory\n']
DEBUG:mongo_orchestration.apps:send_result(500, ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/__init__.py", line 62, in wrap\n return f(*arg, **kwd)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 83, in host_create\n result = _host_create(data)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 52, in _host_create\n params.get(\'version\', \'\'))\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 437, in create\n auth_key, login, password, auth_source)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 154, in __init__\n self.config_path, self.cfg = self.__init_mongod(procParams)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 97, in __init_mongod\n self.__init_test_commands(cfg)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 71, in __init_test_commands\n if self.version >= (2, 4):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 193, in version\n command, stdout=subprocess.PIPE).communicate()\n', ' File "/usr/lib/python2.7/subprocess.py", line 710, in __init__\n errread, errwrite)\n', ' File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child\n raise child_exception\n', 'OSError: [Errno 2] No such file or directory\n'])
DEBUG:mongo_orchestration.apps:host_create((), {})
DEBUG:mongo_orchestration.servers:Server.__init__(mongod, {u'journal': True, u'logappend': True, u'ipv6': True}, {}, , , )
CRITICAL:mongo_orchestration.apps:Exception <type 'exceptions.OSError'> [Errno 2] No such file or directory while host_create
CRITICAL:mongo_orchestration.apps:['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/__init__.py", line 62, in wrap\n return f(*arg, **kwd)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 83, in host_create\n result = _host_create(data)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 52, in _host_create\n params.get(\'version\', \'\'))\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 437, in create\n auth_key, login, password, auth_source)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 154, in __init__\n self.config_path, self.cfg = self.__init_mongod(procParams)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 97, in __init_mongod\n self.__init_test_commands(cfg)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 71, in __init_test_commands\n if self.version >= (2, 4):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 193, in version\n command, stdout=subprocess.PIPE).communicate()\n', ' File "/usr/lib/python2.7/subprocess.py", line 710, in __init__\n errread, errwrite)\n', ' File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child\n raise child_exception\n', 'OSError: [Errno 2] No such file or directory\n']
DEBUG:mongo_orchestration.apps:send_result(500, ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/__init__.py", line 62, in wrap\n return f(*arg, **kwd)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 83, in host_create\n result = _host_create(data)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/apps/servers.py", line 52, in _host_create\n params.get(\'version\', \'\'))\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 437, in create\n auth_key, login, password, auth_source)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 154, in __init__\n self.config_path, self.cfg = self.__init_mongod(procParams)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 97, in __init_mongod\n self.__init_test_commands(cfg)\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 71, in __init_test_commands\n if self.version >= (2, 4):\n', ' File "/usr/local/lib/python2.7/dist-packages/mongo_orchestration-0.6.dev0-py2.7.egg/mongo_orchestration/servers.py", line 193, in version\n command, stdout=subprocess.PIPE).communicate()\n', ' File "/usr/lib/python2.7/subprocess.py", line 710, in __init__\n errread, errwrite)\n', ' File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child\n raise child_exception\n', 'OSError: [Errno 2] No such file or directory\n'])
^Croot@pts00452-vm4:~# mongo-orchestration start
Starting Mongo Orchestration on port 8889...
Could not connect to daemon running on localhost:8889 (pid: 2201) within 5 attempts.
I think something is missing on my machine due to which there is problem in starting mongo-orchestration and consequently the cxx drivers tests are failing. Please advise.
Regards
Deepali