Module Import alias ImportFrom alias ImportFrom alias Import alias Import alias identifier Import alias identifier Import alias identifier ImportFrom alias alias Import alias identifier Import alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str Assign NameStore Dict If CompareNotIn Str Call AttributeLoad NameLoad attr Str body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str NameLoad NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Dict Str Str Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body Return ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str orelse Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assert Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Str Str Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assert UnaryOpNot Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str
N/A N/A os kazoo.client KazooClient multiprocessing Process N/A time N/A zopkio.runtime runtime N/A zopkio.test_utils testutilities N/A zopkio.adhoc_deployer adhoc_deployer zopkio.ztests ZTestSuite ZTest N/A zopkio.adhoc_deployer adhoc_deployer N/A zopkio.runtime runtime ZooKeeperSuite N/A ZTestSuite N/A __init__ N/A N/A self config_dir N/A N/A N/A N/A self config_dir config_dir N/A N/A self LOGS_DIRECTORY /tmp/zopkio_zookeeper/logs/ N/A N/A self OUTPUT_DIRECTORY /tmp/zopkio_zookeeper/results/ N/A N/A self test1 N/A TestProcessTracking N/A setup_suite N/A N/A self N/A N/A N/A Starting zookeeper N/A env_dict N/A N/A N/A localhost N/A N/A runtime get_active_config zookeeper_host N/A N/A env_dict N/A JAVA_HOME /export/apps/jdk/current N/A zookeeper_deployer N/A N/A adhoc_deployer SSHDeployer zookeeper N/A pid_keyword executable env extract post_install_cmds stop_command start_command zookeeper N/A N/A runtime get_active_config zookeeper_exec_location env_dict True N/A N/A runtime get_active_config zookeeper_post_install_cmds N/A N/A runtime get_active_config zookeeper_stop_command N/A N/A runtime get_active_config zookeeper_start_command N/A N/A N/A runtime set_deployer zookeeper zookeeper_deployer N/A N/A N/A zookeeper_deployer install zookeeper N/A hostname install_path N/A N/A runtime get_active_config zookeeper_host /tmp/zookeeper_test N/A N/A N/A zookeeper_deployer start zookeeper configs N/A sync True N/A teardown_suite N/A N/A self N/A N/A N/A zookeeper_deployer N/A N/A runtime get_deployer zookeeper N/A N/A N/A zookeeper_deployer undeploy zookeeper N/A zookeeper terminated N/A process_logs N/A N/A self servicename N/A N/A N/A 
    Lists the logs to copy for each service
    :param servicename: the service to fetch logs for
    :return: the names of the log files to copy
     N/A N/A servicename zookeeper N/A N/A N/A N/A N/A N/A os path join /tmp/zookeeper_test zookeeper.out N/A N/A N/A N/A naarad_config N/A N/A self N/A N/A N/A 
    This returns the path of the naarad config for use in performance verification
    :return: The path to the naarad config (future versions may support returning a naarad config object if
    the naarad api changes)
     N/A N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ naarad.cfg N/A N/A zookeeper_ephemeral_node N/A N/A name N/A N/A N/A zk N/A KazooClient hosts N/A str N/A N/A N/A runtime get_active_config zookeeper_host :2181 N/A N/A N/A zk start N/A N/A N/A zk create /my/zookeeper_test/node1 process1 running ephemeral True N/A N/A N/A time sleep 10 N/A N/A N/A zk exists /my/zookeeper_test/node1 process node is not found at 10 s when it is still running N/A N/A N/A time sleep 20 N/A N/A N/A zk stop N/A TestProcessTracking N/A ZTest N/A test N/A N/A self N/A N/A N/A 
    Tests if process register node correctly with zookeeper and zookeeper deletes it when process terminates
     N/A N/A N/A time sleep 5 N/A kazoo_connection_url N/A str N/A N/A N/A runtime get_active_config zookeeper_host :2181 N/A zkclient N/A KazooClient hosts kazoo_connection_url N/A N/A N/A zkclient start N/A N/A N/A zkclient ensure_path /my/zookeeper_test N/A p N/A Process target zookeeper_ephemeral_node args N/A process1 N/A N/A N/A p start N/A N/A N/A zkclient stop N/A validate N/A N/A self N/A N/A N/A 
    Verify if process register node correctly with zookeeper and zookeeper deletes it when process terminates
     N/A zk N/A KazooClient hosts N/A str N/A N/A N/A runtime get_active_config zookeeper_host :2181 N/A N/A N/A zk start N/A N/A N/A time sleep 60 N/A N/A N/A N/A zk exists /my/zookeeper_test/node1 process node  not found at 60 s when it should have terminated N/A N/A N/A zk stop N/A N/A N/A ztestsuite N/A ZooKeeperSuite N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ config/