Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Print BinOpMod Str TupleLoad Call NameLoad NameLoad Call AttributeLoad Str attr NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Print BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad orelse Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num While Call AttributeLoad AttributeLoad NameLoad attr attr body Print Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body While CompareGt Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Print BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num If Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn Str NameLoad body Assign NameStore Call NameLoad keyword BinOpMod Str Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list
N/A N/A os N/A shutil N/A time behave_pytest.hook install_pytest_asserts itest_utils cleanup_file itest_utils get_service_connection_string itest_utils setup_mesos_cli_config itest_utils wait_for_marathon kazoo.client KazooClient kazoo.exceptions NoNodeError paasta_tools marathon_tools before_all N/A N/A context N/A N/A N/A N/A install_pytest_asserts N/A N/A context cluster testcluster N/A N/A context mesos_cli_config N/A N/A N/A os path join N/A N/A os getcwd mesos-cli.json N/A N/A wait_for_marathon N/A N/A setup_mesos_cli_config N/A context mesos_cli_config N/A context cluster N/A after_all N/A N/A context N/A N/A N/A N/A cleanup_file N/A context mesos_cli_config N/A _clean_up_marathon_apps N/A N/A context N/A N/A N/A If a marathon client object exists in our context, delete any apps in Marathon and wait until they die. N/A N/A hasattr context marathon_client N/A N/A True N/A N/A apps N/A N/A marathon_tools list_all_marathon_app_ids N/A context marathon_client N/A N/A apps N/A N/A N/A N/A after_scenario: Deleting %d apps to prep for the next scenario. %s N/A N/A len apps N/A N/A , join apps N/A app apps N/A N/A N/A N/A marathon_tools is_app_id_running app N/A context marathon_client N/A N/A N/A after_scenario: %s does look like it is running. Scaling down and killing it... app N/A N/A N/A N/A context marathon_client scale_app app instances 0 force True N/A N/A N/A time sleep 1 N/A N/A N/A N/A context marathon_client delete_app app force True N/A N/A N/A after_scenario: %s showed up in the app_list, but doesn't look like it is running? app N/A N/A N/A time sleep 0.5 N/A N/A N/A N/A context marathon_client list_deployments N/A N/A after_scenario: There are still marathon deployments in progress. sleeping. N/A N/A N/A time sleep 0.5 N/A _clean_up_chronos_jobs N/A N/A context N/A N/A N/A  If a chronos client object exists, delete any jobs and wait for them to die  N/A N/A hasattr context chronos_client N/A N/A N/A N/A len N/A N/A N/A context chronos_client list 0 N/A N/A jobs N/A N/A N/A context chronos_client list N/A job jobs N/A N/A N/A after_scenario: Job %s is present in chronos. Deleting. N/A job N/A name N/A N/A N/A N/A context chronos_client delete N/A job N/A name N/A N/A N/A time sleep 1 N/A N/A hasattr context jobs N/A N/A N/A context jobs N/A N/A _clean_up_mesos_cli_config N/A N/A context N/A N/A N/A If a mesos cli config file was written, clean it up. N/A N/A hasattr context mesos_cli_config_filename N/A N/A N/A Cleaning up %s N/A context mesos_cli_config_filename N/A N/A N/A os unlink N/A context mesos_cli_config_filename N/A N/A context mesos_cli_config_filename N/A _clean_up_soa_dir N/A N/A context N/A N/A N/A If a yelpsoa-configs directory was written, clean it up. N/A N/A hasattr context soa_dir N/A N/A N/A Cleaning up %s N/A context soa_dir N/A N/A N/A shutil rmtree N/A context soa_dir N/A N/A context soa_dir N/A _clean_up_etc_paasta N/A N/A context N/A N/A N/A N/A hasattr context etc_paasta N/A N/A N/A Cleaning up %s N/A context etc_paasta N/A N/A N/A shutil rmtree N/A context etc_paasta N/A N/A context etc_paasta N/A _clean_up_zookeeper_autoscaling N/A N/A context N/A N/A N/A If max_instances was set for autoscaling, clean up zookeeper N/A N/A max_instances context N/A N/A client N/A KazooClient hosts N/A %s/mesos-testcluster N/A get_service_connection_string zookeeper read_only True N/A N/A N/A client start N/A N/A N/A N/A N/A client delete /autoscaling recursive True N/A N/A N/A NoNodeError N/A N/A N/A N/A N/A client stop N/A N/A N/A client close N/A after_scenario N/A N/A context scenario N/A N/A N/A N/A _clean_up_marathon_apps context N/A N/A _clean_up_chronos_jobs context N/A N/A _clean_up_mesos_cli_config context N/A N/A _clean_up_soa_dir context N/A N/A _clean_up_etc_paasta context N/A N/A _clean_up_zookeeper_autoscaling context N/A