Incubaid/arakoon — pull request #15 by NicolasT (2013-03-04 18:02:08+00:00)
Title: Tests: Fix 'system_tests_quick.test_3_nodes_stop_all_start_slaves'

Test execution output::

ERROR: arakoon_system_tests.server.quick.system_tests_basic.test_3_nodes_stop_all_start_slaves
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/qbase3/lib/python2.6/site-packages/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/opt/qbase3/var/tests/arakoon_system_tests/server/system_tests_common.py", line 65, in decorate
raise fatal_ex
ArakoonNodeNotLocal: sturdy_3 is not a local node
-------------------- >> begin captured logging << --------------------
root: INFO: Creating data base dir /opt/qbase3/var/tmp/arakoon_system_tests/test_3_nodes_stop_all_start_slaves
root: INFO: Using master election
root: INFO: Creating client config
root: INFO: Changing log level to debug for all nodes
root: INFO: Setting lease expiration to 8
root: INFO: Starting cluster
root: DEBUG: calling: ['/opt/qbase3/apps/arakoon/bin/arakoon', '--node', 'sturdy_0', '-config', '/opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg', '-daemonize']
root: DEBUG: calling: ['/opt/qbase3/apps/arakoon/bin/arakoon', '--node', 'sturdy_1', '-config', '/opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg', '-daemonize']
root: DEBUG: calling: ['/opt/qbase3/apps/arakoon/bin/arakoon', '--node', 'sturdy_2', '-config', '/opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg', '-daemonize']
root: INFO: Setup complete
root: INFO: stop_all
root: DEBUG: stopping 'sturdy_0' with: pkill -fx /opt/qbase3/apps/arakoon/bin/arakoon --node sturdy_0 -config /opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg -daemonize
root: DEBUG: stopping 'sturdy_1' with: pkill -fx /opt/qbase3/apps/arakoon/bin/arakoon --node sturdy_1 -config /opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg -daemonize
root: DEBUG: stopping 'sturdy_2' with: pkill -fx /opt/qbase3/apps/arakoon/bin/arakoon --node sturdy_2 -config /opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg -daemonize
root: DEBUG: calling: ['/opt/qbase3/apps/arakoon/bin/arakoon', '--node', 'sturdy_0', '-config', '/opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg', '-daemonize']
root: DEBUG: calling: ['/opt/qbase3/apps/arakoon/bin/arakoon', '--node', 'sturdy_1', '-config', '/opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg', '-daemonize']
root: CRITICAL: Traceback (most recent call last):
File "/opt/qbase3/var/tests/arakoon_system_tests/server/system_tests_common.py", line 56, in decorate
func(*args,**kwargs)
File "/opt/qbase3/var/tests/arakoon_system_tests/server/quick/system_tests_basic.py", line 400, in test_3_nodes_stop_all_start_slaves
C.startOne( slave )
File "/opt/qbase3/var/tests/arakoon_system_tests/server/system_tests_common.py", line 349, in startOne
cluster.startOne(name)
File "/opt/qbase3/lib/pymonkey/extensions/arakoon/server/ArakoonManagement.py", line 822, in startOne
self._requireLocal(nodeName)
File "/opt/qbase3/lib/pymonkey/extensions/arakoon/server/ArakoonManagement.py", line 814, in _requireLocal
raise ArakoonNodeNotLocal( nodeName)
ArakoonNodeNotLocal: sturdy_3 is not a local node

root: INFO: basic_teardown(False)
root: INFO: Stopping arakoon daemons for cluster sturdy
root: INFO: stop_all
root: DEBUG: stopping 'sturdy_0' with: pkill -fx /opt/qbase3/apps/arakoon/bin/arakoon --node sturdy_0 -config /opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg -daemonize
root: DEBUG: stopping 'sturdy_1' with: pkill -fx /opt/qbase3/apps/arakoon/bin/arakoon --node sturdy_1 -config /opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg -daemonize
root: DEBUG: stopping 'sturdy_2' with: pkill -fx /opt/qbase3/apps/arakoon/bin/arakoon --node sturdy_2 -config /opt/qbase3/cfg/qconfig/arakoon/sturdy/sturdy.cfg -daemonize
root: INFO: Teardown complete
--------------------- >> end captured logging << ---------------------