Module ImportFrom alias alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias ImportFrom alias alias alias alias alias alias ImportFrom alias If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Import alias orelse Import alias identifier FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Dict Assign NameStore SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Index Num For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Break orelse Expr Call AttributeLoad NameLoad attr Str For NameStore SubscriptLoad NameLoad Index Str body If CompareNotIn SubscriptLoad NameLoad Index Str NameLoad body Continue Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str keyword Lambda arguments args NameParam defaults CompareNotEq SubscriptLoad NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd BoolOpOr UnaryOpNot NameLoad Call AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore Call NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If CompareNotIn SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Continue For NameStore SubscriptLoad NameLoad Index Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Dict Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad While NameLoad body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index NameLoad NameLoad Break If CompareNotIn NameLoad NameLoad body Continue If CompareIn NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad If BoolOpOr SubscriptLoad NameLoad Index Str UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num If CompareGt Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Break For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Break Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeStore NameLoad attr Dict Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list Expr Call NameLoad Str NameLoad TryExcept body Expr Call NameLoad Str Expr Call NameLoad Assign NameStore NameLoad For NameStore SubscriptLoad NameLoad Index Str body Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If NameLoad body Expr Call NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If SubscriptLoad NameLoad Index Str body Break Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad If NameLoad body Expr Call NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad SubscriptLoad NameLoad Index Str body Expr Call NameLoad Str NameLoad Break Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr Num UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad With AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad If SubscriptLoad NameLoad Index Str body Break Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad name NameStore body With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareLtE NameLoad Num body Continue Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str UnaryOpNot NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword Str decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import print_function N/A os N/A sys N/A time N/A stat N/A tarfile N/A hashlib N/A multiprocessing N/A traceback N/A fabric.state N/A fabric.tasks N/A fabric.network N/A fabric.api fab N/A testmill testmill console versioncontrol util error inflect console testmill.state env N/A N/A N/A N/A sys version_info N/A 0 3 N/A N/A io N/A N/A StringIO io run_all_tasks N/A N/A app vms N/A N/A N/A Run the runbook for an application ``app``. N/A hosts N/A N/A host_info N/A N/A appname N/A N/A N/A N/A app N/A name split : N/A 1 N/A appdef N/A N/A env manifest N/A applications N/A N/A N/A N/A appdef N/A name appname N/A N/A N/A N/A N/A N/A error raise_error Application definition not found? N/A vm N/A app N/A vms N/A N/A N/A N/A vm N/A name vms N/A N/A N/A ipaddr N/A N/A vm N/A dynamicMetadata N/A externalIp N/A N/A N/A hosts append ipaddr N/A N/A host_info N/A ipaddr N/A vm N/A name N/A N/A env test_id N/A N/A N/A N/A os urandom 16 encode hex N/A N/A N/A console info Starting run `{0}`. N/A env test_id N/A N/A env host_info host_info N/A N/A env start_time N/A int N/A N/A time time N/A N/A env lock N/A N/A multiprocessing Lock N/A manager N/A N/A multiprocessing Manager N/A N/A env shared_state N/A N/A manager dict N/A vmname vms N/A N/A vmstate N/A N/A N/A vmstate N/A exited False N/A N/A vmstate N/A completed_tasks N/A N/A N/A vmstate N/A shell_env_update N/A N/A N/A N/A env shared_state N/A vmname vmstate N/A N/A env appdef appdef N/A N/A env application app N/A N/A env vms vms N/A N/A N/A fab env user ravello N/A N/A N/A fab env key_filename N/A env private_key_file N/A N/A N/A fab env disable_known_hosts True N/A N/A N/A fab env remote_interrupt True N/A N/A N/A fab env hosts hosts N/A N/A N/A fab env parallel True N/A N/A N/A fab env output_prefix N/A env debug N/A N/A N/A N/A fabric state output running N/A env debug N/A N/A N/A N/A fabric state output output True N/A N/A N/A N/A fabric state output status N/A env debug N/A noun N/A N/A inflect plural_noun virtual machine N/A len vms N/A N/A N/A console info Executing tasks on {0} {1}... N/A len vms noun N/A N/A N/A N/A fabric tasks execute run_tasklist env N/A errors N/A set N/A vmname vms N/A N/A vmstate N/A N/A env shared_state N/A vmname N/A N/A taskname status N/A N/A N/A vmstate N/A completed_tasks items N/A N/A N/A status 0 N/A N/A N/A N/A errors add N/A N/A `{0}` on `{1}` format taskname vmname N/A N/A errors N/A N/A N/A N/A console info All tasks were executed succesfully! N/A N/A what N/A N/A inflect plural_noun task N/A len errors N/A errapps N/A N/A ,  join errors N/A N/A N/A console error The following {0} failed: {1} what errapps N/A N/A N/A N/A fabric network disconnect_all N/A N/A len errors N/A preinit N/A N/A N/A N/A N/A Prepare the VM before any tasks are run. N/A packagedir N/A N/A testmill packagedir N/A fname N/A N/A N/A os path join packagedir preinit.sh N/A N/A file fname fin N/A N/A script N/A N/A fin read N/A shutdown_urls N/A N/A url_template {0}/deployment/app/{1}/vm/{2}/stop N/A app N/A env application N/A myself_last N/A sorted N/A app N/A vms key N/A N/A N/A vm N/A N/A N/A vm N/A id N/A N/A env vm N/A id N/A vm myself_last N/A N/A url N/A N/A url_template format N/A N/A env api url N/A app N/A id N/A vm N/A id N/A N/A N/A shutdown_urls append url N/A shutdown_urls N/A N/A join N/A map N/A util shell_escape shutdown_urls N/A keepalive N/A N/A N/A env appdef get keepalive 50 N/A script N/A N/A script format test_id N/A env test_id keepalive keepalive api_cookie N/A N/A env api _cookie shutdown_urls shutdown_urls N/A script_name N/A N/A {0}.preinit format N/A env test_id N/A N/A N/A fab put N/A N/A io StringIO script script_name N/A command N/A N/A exec $SHELL {0} format script_name N/A N/A N/A fab run command shell False pty True quiet N/A N/A env debug N/A show_output N/A N/A task N/A N/A N/A Show output for a completed task. N/A N/A task interactive N/A N/A N/A N/A N/A task quiet N/A N/A env debug N/A N/A N/A output N/A task stdout N/A N/A N/A N/A output N/A N/A output isspace N/A N/A env debug N/A N/A N/A N/A N/A console writeln 
== Output for task `{0}` on VM `{1}`:
 N/A task name N/A N/A env vm N/A name N/A N/A N/A console writeln output N/A N/A N/A console writeln N/A synchronize_on_task N/A N/A taskname timeout N/A 600 N/A N/A Wait until all instances of ``taskname`` have completed.
    Returns a dictionary with the shared state of the VMs that
    were waited for.
     N/A waitfor N/A set N/A vmdef N/A N/A env appdef N/A vms N/A N/A N/A N/A vmdef N/A name N/A env vms N/A N/A N/A taskdef N/A vmdef N/A tasks N/A N/A N/A N/A taskdef N/A name taskname N/A N/A N/A N/A waitfor add N/A vmdef N/A name N/A state N/A N/A end_time N/A N/A N/A time time timeout N/A True N/A N/A vmdef N/A N/A env appdef N/A vms N/A N/A vmname N/A vmdef N/A name N/A vmstate N/A N/A env shared_state N/A vmname N/A N/A vmstate N/A exited N/A N/A N/A state N/A vmname vmstate N/A N/A N/A vmname waitfor N/A N/A N/A N/A taskname N/A vmstate N/A completed_tasks N/A N/A N/A N/A waitfor remove vmname N/A N/A state N/A vmname vmstate N/A N/A N/A vmstate N/A exited N/A waitfor N/A N/A N/A N/A N/A console debug N/A Waiting for %s N/A repr waitfor N/A N/A N/A time sleep 5 N/A N/A N/A N/A time time end_time N/A N/A N/A N/A error raise_error Timeout waiting for task `{0}`. taskname N/A state N/A run_tasklist N/A N/A passed_env N/A N/A N/A Run the task list for the current host.

    This function runs in a separate process, that is spawned by the
    ``multiprocessing`` module that Fabric uses for its parallel execution.

    The ``passed_env`` argument is the environment as it was passed through by
    our parent. This is required for Windows that does not have ``fork()`` and
    therefore we need to re-initialize the environment.
     N/A N/A N/A env update passed_env N/A host N/A N/A fab env host_string N/A N/A N/A fab env hosts N/A host N/A N/A N/A fab env parallel False N/A vmname N/A N/A env host_info N/A host N/A appname N/A N/A env appdef N/A name N/A vmdef N/A N/A env appdef N/A vms N/A N/A N/A N/A vmdef N/A name vmname N/A N/A N/A vm N/A N/A env application N/A vms N/A N/A N/A N/A vm N/A name vmname N/A N/A N/A N/A env vm vm N/A shell_env N/A env shell_env N/A N/A N/A shell_env N/A RAVELLO_TEST_ID N/A env test_id N/A N/A shell_env N/A RAVELLO_TEST_USER ravello N/A N/A shell_env N/A RAVELLO_APP_ID N/A N/A env application N/A id N/A N/A shell_env N/A RAVELLO_APP_NAME N/A N/A env application N/A name N/A N/A shell_env N/A RAVELLO_APPDEF_NAME N/A N/A env appdef N/A name N/A N/A shell_env N/A RAVELLO_PROJECT N/A N/A env api _project N/A N/A shell_env N/A RAVELLO_SERVICE_URL N/A N/A env api url N/A N/A shell_env N/A RAVELLO_SERVICE_COOKIE N/A N/A env api _cookie N/A N/A shell_env N/A RAVELLO_VM_ID N/A vm N/A id N/A N/A shell_env N/A RAVELLO_VM_NAME N/A vm N/A name debug N/A N/A message N/A args kwargs N/A N/A message N/A N/A message format args kwargs N/A N/A N/A console debug [VM {0}] {1} vmname message N/A N/A N/A debug Running task list for `{0}` host N/A N/A N/A N/A debug Pre-initialize VM N/A N/A preinit N/A sync_task None N/A taskdef N/A vmdef N/A tasks N/A N/A N/A debug Running task `{0}`. N/A taskdef N/A name N/A N/A N/A env shell_env N/A RAVELLO_TASK_NAME N/A taskdef N/A name N/A clsname N/A N/A taskdef get class testmill.tasks.Task N/A cls N/A N/A util load_class clsname N/A task N/A cls taskdef N/A vmstate N/A N/A env shared_state N/A vmname N/A N/A vmstate N/A current_task N/A task name N/A N/A N/A env shared_state N/A vmname vmstate N/A sync_task N/A N/A N/A debug Sync state on task `{0}`. sync_task N/A completed N/A synchronize_on_task sync_task N/A N/A name state N/A N/A completed items N/A N/A N/A state N/A exited N/A N/A N/A update N/A N/A N/A state N/A shell_env_update get sync_task N/A update N/A N/A N/A debug Updated {0} environment vars. N/A len update N/A N/A N/A N/A env shell_env update update N/A N/A completed N/A state N/A exited N/A N/A N/A debug Stopping due to failed task on VM `{0}`. name N/A N/A N/A N/A task run N/A vmstate N/A N/A env shared_state N/A vmname N/A N/A N/A vmstate N/A completed_tasks N/A N/A task name N/A task return_code N/A N/A N/A vmstate N/A shell_env_update N/A N/A task name N/A task env_update N/A N/A N/A N/A task return_code 0 N/A N/A N/A env args continue_ N/A N/A N/A vmstate N/A exited True N/A N/A N/A env shared_state N/A vmname vmstate N/A N/A env lock N/A N/A N/A show_output task N/A N/A vmstate N/A exited N/A N/A N/A sync_task N/A taskdef N/A name N/A N/A N/A Exception N/A e N/A N/A N/A env lock N/A N/A N/A N/A console show_exception e N/A vmstate N/A N/A env shared_state N/A vmname N/A N/A vmstate N/A exited True N/A N/A N/A env shared_state N/A vmname vmstate N/A N/A fab task create_script N/A N/A taskname commands N/A N/A N/A Create the script to execute ``commands``. N/A packagedir N/A N/A testmill packagedir N/A fname N/A N/A N/A os path join packagedir runtask.sh N/A N/A file fname fin N/A N/A script N/A N/A fin read N/A lines N/A N/A tmpl {0}={1}; export {0} N/A N/A key value N/A N/A N/A env shell_env items N/A N/A escaped N/A N/A util shell_escape N/A str value N/A N/A N/A lines append N/A N/A tmpl format key escaped N/A shell_vars N/A N/A join lines N/A N/A N/A env args continue_ N/A N/A tmpl {0}
 N/A N/A tmpl {0}
test "$?" -ne "0" && exit 1
 N/A shell_commands N/A N/A join N/A N/A N/A tmpl format cmd N/A cmd commands N/A script N/A N/A script format shell_vars shell_vars shell_commands shell_commands N/A script N/A parse_env_update N/A N/A contents N/A N/A N/A Parse an env-update file. N/A update N/A N/A line N/A N/A contents splitlines N/A N/A p1 N/A N/A line find N/A N/A p1 0 N/A N/A N/A key N/A line N/A p1 N/A value N/A line N/A N/A p1 1 N/A N/A update N/A key value N/A update N/A Task N/A N/A N/A fabric tasks Task N/A N/A A task from the manifest. __init__ N/A N/A self name N/A kwargs N/A N/A N/A N/A N/A super Task self __init__ N/A N/A self name name N/A N/A self user N/A N/A kwargs pop user None N/A N/A self commands N/A N/A kwargs pop commands N/A N/A N/A env verbose N/A N/A N/A self quiet False N/A N/A N/A self quiet N/A N/A kwargs pop quiet False N/A N/A N/A env args interactive N/A N/A N/A self interactive True N/A N/A N/A self interactive N/A N/A kwargs pop interactive False N/A key kwargs N/A N/A N/A setattr self key N/A kwargs N/A key N/A N/A self stdout N/A N/A self env_update None N/A N/A self return_code None N/A run N/A N/A self commands user N/A None None N/A N/A Run a remote command through ``fabric.api.run()``.

        Instead of executing the commands directory, we create a script,
        upload it, and execute that. This allows us more control over
        the environment, and is also faster in case many commands are
        executed.
         N/A N/A commands None N/A N/A commands N/A self commands N/A script_name N/A N/A runs/{0}/.ravello/{1}.sh format N/A env test_id N/A self name N/A script N/A create_script N/A self name commands N/A N/A N/A fab put N/A N/A io StringIO script script_name N/A runargs N/A shell pty warn_only False True True N/A show_output N/A N/A env debug N/A N/A self interactive N/A N/A self quiet N/A N/A runargs N/A quiet N/A show_output N/A N/A user None N/A N/A user N/A self user N/A user N/A N/A invoke sudo -u {user} $SHELL -l {script_name} N/A N/A invoke exec $SHELL -l {script_name} N/A invoke_args N/A user script_name user script_name N/A command N/A N/A invoke format invoke_args N/A ret N/A N/A fab run command runargs N/A N/A self stdout ret N/A update N/A N/A io StringIO N/A remote_name N/A N/A runs/{0}/.ravello/{1}.env-update format N/A env test_id N/A self name N/A N/A N/A fab get remote_name update N/A update N/A parse_env_update N/A N/A update getvalue N/A N/A self env_update update N/A N/A self return_code N/A ret return_code N/A N/A SysinitTask N/A Task N/A N/A Perform system initalization.

    This task is run exactly once per VM.
     run N/A N/A self N/A N/A N/A md N/A N/A hashlib sha1 N/A command N/A self commands N/A N/A N/A N/A md update N/A command N/A token N/A N/A md hexdigest N/A commands N/A N/A tmpl test -f $RAVELLO_HOME/sysinit/{0}.done && exit 0 || true N/A N/A N/A commands append N/A N/A tmpl format token N/A N/A N/A commands extend N/A self commands N/A tmpl touch $RAVELLO_HOME/sysinit/{0}.done N/A N/A N/A commands append N/A N/A tmpl format token N/A N/A N/A N/A super SysinitTask self run commands commands user root N/A N/A create_archive N/A N/A N/A N/A N/A ravello_dir N/A N/A util get_ravello_dir N/A N/A N/A st N/A N/A os stat ravello_dir N/A N/A N/A OSError N/A N/A st None N/A N/A st N/A N/A N/A stat S_ISDIR N/A st st_mode N/A N/A N/A N/A error raise_error Path `{0}` exists but is not a directory. ravello_dir N/A N/A N/A st None N/A N/A N/A N/A os mkdir ravello_dir N/A distfile N/A N/A N/A os path join ravello_dir dist.tar.gz N/A N/A N/A st N/A N/A os stat distfile N/A N/A N/A OSError N/A N/A st None N/A N/A st N/A N/A st st_mtime N/A env start_time N/A N/A distfile N/A archive N/A N/A N/A tarfile TarFile open distfile w:gz N/A repotype N/A N/A N/A env manifest N/A repository N/A type N/A files N/A N/A versioncontrol walk_repository . repotype N/A fname files N/A N/A N/A N/A fname startswith ravello_dir N/A N/A N/A N/A N/A archive add fname recursive False N/A N/A N/A archive close N/A distfile N/A DeployTask N/A Task N/A N/A Deploy the project to the remote VM. copy_from_local N/A N/A self N/A N/A N/A N/A env lock N/A N/A distpath N/A create_archive N/A remote_dir N/A N/A runs/{0}/.ravello format N/A env test_id N/A N/A N/A fab put distpath remote_dir N/A N/A _ distname N/A N/A N/A os path split distpath N/A command N/A N/A tar xpfz .ravello/{0} format distname N/A N/A N/A N/A super DeployTask self run commands N/A command N/A remote_checkout N/A N/A self version N/A N/A N/A repotype N/A N/A N/A env manifest N/A repository N/A type N/A N/A repotype N/A N/A N/A N/A error raise_error Unknown repository type, cannot checkout. N/A url N/A N/A N/A env manifest N/A repository N/A url N/A commands N/A N/A versioncontrol get_checkout_command url version repotype N/A N/A N/A N/A super DeployTask self run commands commands N/A run N/A N/A self N/A N/A N/A version N/A getattr self remote None N/A version N/A N/A N/A N/A self remote_checkout version N/A N/A N/A N/A self copy_from_local N/A N/A