Module Expr Str ImportFrom alias alias alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Expr Call NameLoad keyword BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If CompareNotIn NameLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body If CompareIsNot Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad If NameLoad body Return TupleLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body For NameStore SubscriptLoad NameLoad Index Str body If CompareIsNot Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad If CompareIsNot NameLoad NameLoad body Return TupleLoad SubscriptLoad NameLoad Index Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad If CompareIsNot NameLoad NameLoad body Return TupleLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list Assign NameStore Call NameLoad Call NameLoad Str NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num orelse If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword AttributeLoad NameLoad attr Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Num If CompareNotEq Call NameLoad NameLoad Num body Continue Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str If BoolOpAnd CompareGtE Call NameLoad NameLoad Num CompareEq SubscriptLoad NameLoad Index Num Str CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign SubscriptStore NameLoad Index Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str attr NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore Call AttributeLoad Call NameLoad Str attr Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr Str Str keyword Call NameLoad Call AttributeLoad NameLoad attr Str Num keyword Call AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad Str If CompareNotEq Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpDiv NameLoad Str Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad BinOpDiv NameLoad Str NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse TryExcept body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If BoolOpAnd AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num body Expr Call NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign NameStore NameLoad orelse Assign TupleStore NameStore NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str BoolOpOr NameLoad Str If NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad If NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str BinOpDiv NameLoad Str With Call AttributeLoad BinOpDiv NameLoad Str attr Str keyword Str keyword Str NameStore body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad Str For NameStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr body Assign NameStore BinOpDiv NameLoad NameLoad If CompareIn NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad BinOpDiv NameLoad Str attr Str NameStore body For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Expr Call NameLoad Call NameLoad NameLoad BinOpDiv NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpDiv NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpDiv NameLoad Str With Call AttributeLoad BinOpDiv NameLoad Str attr Str keyword Str keyword Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Call NameLoad NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Raise decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad Call NameLoad NameLoad Index Str Expr Call NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Assign NameStore Call NameLoad BinOpDiv NameLoad Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num attr Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr TupleLoad Str NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpMod Str Call NameLoad SubscriptLoad NameLoad Index Str If NameLoad body AugAssignAdd NameStore Str orelse AugAssignAdd NameStore Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr GeneratorExp BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad AugAssignAdd NameStore Str If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd ListLoad SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Slice Num orelse Assign NameStore NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Num If NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore BinOpAdd ListComp BinOpMod Str Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr NameLoad orelse Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpMod Str NameLoad NameLoad Str Assign NameStore BinOpMod Str Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore UnaryOpNot BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call NameLoad Str NameLoad orelse Assign NameStore NameLoad Assign NameStore Call NameLoad Str Assign NameStore BinOpDiv AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpDiv Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad Call AttributeLoad Str attr TupleLoad NameLoad NameLoad NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore SubscriptLoad NameLoad Index Str TryFinally body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad finalbody Expr Call NameLoad NameLoad NameLoad decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call NameLoad Str NameLoad Assign NameStore Call NameLoad Str Assign NameStore BinOpDiv Call NameLoad Str NameLoad Assign NameStore BinOpDiv AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad Call AttributeLoad Str attr TupleLoad NameLoad NameLoad NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Return NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call NameLoad NameLoad Index Str Expr Call NameLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore NameLoad body Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr If CompareEq SubscriptLoad NameLoad Index Num Str body If CompareLt Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str If UnaryOpNot Call NameLoad Str body Return TupleLoad NameLoad Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str handlers ExceptHandler type AttributeLoad NameLoad attr body Return TupleLoad NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr If CompareEq SubscriptLoad NameLoad Index Num Str body If CompareGtE Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad Str body Return NameLoad orelse Return TupleLoad NameLoad BinOpMod Str SubscriptLoad NameLoad Index Num orelse Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Call NameLoad NameLoad NameLoad Return Dict Str NameLoad decorator_list
N/A N/A Vagrant plugin for reprounzip.

This files contains the 'vagrant' unpacker, which builds a Vagrant template
from a reprozip pack. That template can then be run as a virtual machine via
Vagrant (``vagrant up``).

See http://www.vagrantup.com/
 __future__ division print_function unicode_literals N/A argparse distutils.version LooseVersion N/A logging N/A os N/A paramiko N/A re rpaths PosixPath Path N/A subprocess N/A sys reprounzip.common load_config record_usage RPZPack reprounzip signals reprounzip.parameters get_parameter reprounzip.unpackers.common COMPAT_OK COMPAT_MAYBE COMPAT_NO CantFindInstaller composite_action target_must_exist make_unique_name shell_escape select_installer busybox_url join_root FileUploader FileDownloader get_runs add_environment_options fixup_environment metadata_read metadata_write metadata_initial_iofiles metadata_update_run reprounzip.unpackers.common.x11 X11Handler reprounzip.unpackers.vagrant.run_command IgnoreMissingKey run_interactive reprounzip.utils unicode_ iteritems stderr download_file select_box N/A N/A runs N/A N/A N/A Selects a box for the experiment, with the correct distribution.
     N/A N/A distribution version N/A N/A runs N/A 0 N/A distribution N/A distribution N/A N/A distribution lower N/A architecture N/A N/A runs N/A 0 N/A architecture N/A N/A record_usage vagrant_select_box N/A %s;%s;%s N/A distribution version architecture N/A N/A architecture N/A i686 x86_64 N/A N/A N/A N/A logging critical Error: unsupported architecture %s architecture N/A N/A N/A sys exit 1 find_distribution N/A N/A parameter distribution version architecture N/A N/A N/A boxes N/A parameter N/A boxes N/A distrib boxes N/A N/A N/A N/A N/A re match N/A distrib N/A name distribution None N/A N/A result N/A find_version distrib version architecture N/A N/A result None N/A N/A result N/A default N/A parameter N/A default N/A N/A N/A logging warning Unsupported distribution '%s', using %s distribution N/A default N/A name N/A result N/A N/A N/A default N/A architectures get architecture N/A result N/A N/A N/A N/A default N/A distribution result N/A find_version N/A N/A distrib version architecture N/A N/A N/A N/A version None N/A N/A box N/A distrib N/A versions N/A N/A N/A N/A N/A re match N/A box N/A version version None N/A N/A result N/A N/A N/A box N/A architectures get architecture N/A N/A result None N/A N/A N/A N/A box N/A distribution result N/A box N/A distrib N/A default N/A N/A version None N/A N/A N/A N/A logging warning Using %s instead of '%s' N/A box N/A name version N/A result N/A N/A N/A box N/A architectures get architecture N/A N/A result None N/A N/A N/A N/A box N/A distribution result N/A N/A result N/A find_distribution N/A get_parameter vagrant_boxes distribution version architecture N/A N/A result None N/A N/A N/A N/A logging critical Error: couldn't find a base box for required architecture N/A N/A N/A sys exit 1 N/A result N/A write_dict N/A N/A path dct N/A N/A N/A N/A metadata_write path dct vagrant N/A read_dict N/A N/A path N/A N/A N/A N/A metadata_read path vagrant N/A machine_setup N/A N/A target use_chroot N/A N/A N/A Prepare the machine and get SSH parameters from ``vagrant ssh``.
     N/A N/A N/A out N/A N/A subprocess check_output N/A vagrant ssh-config cwd N/A target path stderr N/A subprocess PIPE N/A N/A N/A N/A subprocess CalledProcessError N/A N/A N/A N/A logging info Calling 'vagrant up'... N/A N/A N/A retcode N/A N/A subprocess check_call N/A vagrant up cwd N/A target path N/A N/A N/A OSError N/A N/A N/A N/A logging critical vagrant executable not found N/A N/A N/A sys exit 1 N/A N/A N/A retcode 0 N/A N/A N/A N/A logging critical vagrant up failed with code %d retcode N/A N/A N/A sys exit 1 N/A out N/A N/A subprocess check_output N/A vagrant ssh-config cwd N/A target path N/A vagrant_info N/A N/A line N/A N/A out split N/A N/A line N/A N/A N/A N/A line strip split 1 N/A N/A N/A len line 2 N/A N/A N/A value N/A N/A N/A line N/A 1 decode utf-8 N/A N/A N/A N/A len value 2 N/A N/A value N/A 0 " N/A N/A value N/A -1 " N/A N/A value N/A value N/A 1 -1 N/A N/A vagrant_info N/A N/A N/A N/A N/A N/A line N/A 0 decode utf-8 lower value N/A N/A identityfile vagrant_info N/A N/A key_file N/A vagrant_info N/A identityfile N/A N/A key_file N/A N/A N/A Path ~/.vagrant.d/insecure_private_key expand_user N/A info N/A dict hostname N/A N/A vagrant_info get hostname 127.0.0.1 port N/A int N/A N/A vagrant_info get port 2222 username N/A N/A vagrant_info get user vagrant key_filename key_file N/A N/A N/A logging debug SSH parameters from Vagrant: %s@%s:%s, key=%s N/A info N/A username N/A info N/A hostname N/A info N/A port N/A info N/A key_filename N/A use_chroot N/A N/A ssh N/A N/A paramiko SSHClient N/A N/A N/A ssh set_missing_host_key_policy N/A IgnoreMissingKey N/A N/A N/A ssh connect info N/A chan N/A N/A N/A N/A ssh get_transport open_session N/A N/A N/A chan exec_command N/A /usr/bin/sudo /bin/sh -c %s N/A shell_escape for i in dev proc; do if ! grep "^/experimentroot/$i$" /proc/mounts; then mount -o rbind /$i /experimentroot/$i; fi; done N/A N/A N/A N/A chan recv_exit_status 0 N/A N/A N/A N/A logging critical Couldn't mount directories in chroot N/A N/A N/A sys exit 1 N/A N/A N/A ssh close N/A info N/A vagrant_setup_create N/A N/A args N/A N/A N/A Sets up the experiment to be run in a Vagrant-built virtual machine.

    This can either build a chroot or not.

    If building a chroot, we do just like without Vagrant: we copy all the
    files and only get what's missing from the host. But we do install
    automatically the packages whose files are required.

    If not building a chroot, we install all the packages, and only unpack
    files that don't come from packages.

    In short: files from packages with packfiles=True will only be used if
    building a chroot.
     N/A N/A N/A args pack N/A N/A N/A N/A logging critical setup/create needs the pack filename N/A N/A N/A sys exit 1 N/A pack N/A Path N/A N/A args pack N/A 0 N/A target N/A Path N/A N/A args target N/A 0 N/A N/A N/A target exists N/A N/A N/A N/A logging critical Target directory exists N/A N/A N/A sys exit 1 N/A use_chroot N/A args use_chroot N/A mount_bind N/A args bind_magic_dirs N/A N/A record_usage use_chroot use_chroot mount_bind mount_bind N/A N/A N/A signals pre_setup target target pack pack N/A rpz_pack N/A RPZPack pack N/A N/A N/A rpz_pack extract_config N/A target config.yml N/A N/A runs packages other_files config N/A load_config N/A target config.yml True N/A N/A N/A args memory N/A N/A memory None N/A N/A N/A N/A memory N/A int N/A N/A args memory N/A -1 N/A N/A N/A ValueError N/A N/A N/A N/A logging critical Invalid value for memory size: %r N/A args memory N/A N/A N/A sys exit 1 N/A N/A N/A args base_image N/A N/A args base_image N/A 0 N/A N/A N/A record_usage vagrant_explicit_image True N/A box N/A N/A args base_image N/A 0 N/A N/A args distribution N/A N/A target_distribution N/A N/A args distribution N/A 0 N/A N/A target_distribution None N/A N/A N/A target_distribution box N/A select_box runs N/A N/A N/A logging info Using box %s box N/A N/A N/A logging debug Distribution: %s N/A target_distribution unknown N/A use_chroot N/A N/A packages N/A pkg N/A pkg packages N/A N/A pkg packfiles N/A packages N/A N/A N/A record_usage vagrant_install_pkgs True N/A N/A N/A logging info Some packages were not packed, so we'll install and copy their files
Packages that are missing:
%s N/A N/A join N/A N/A pkg name N/A pkg packages N/A packages N/A N/A N/A N/A installer N/A select_installer pack runs target_distribution N/A N/A N/A CantFindInstaller N/A e N/A N/A N/A N/A logging error Need to install %d packages but couldn't select a package installer: %s N/A len packages e N/A N/A N/A target mkdir parents True N/A N/A N/A N/A N/A logging info Writing setup script %s... N/A target setup.sh N/A N/A N/A N/A target setup.sh open w encoding utf-8 newline fp N/A N/A N/A N/A fp write #!/bin/sh

set -e

 N/A packages N/A N/A N/A N/A fp write N/A N/A installer update_script N/A N/A N/A fp write N/A N/A N/A fp write N/A N/A installer install_script packages N/A N/A N/A fp write N/A use_chroot N/A N/A N/A N/A fp write 
mkdir /experimentroot; cd /experimentroot
 N/A N/A N/A fp write N/A tar zpxf /vagrant/data.tgz --numeric-owner --strip=1 %s
 N/A rpz_pack data_prefix N/A mount_bind N/A N/A N/A N/A fp write 
mkdir -p /experimentroot/dev
mkdir -p /experimentroot/proc
 N/A pkg packages N/A N/A N/A N/A fp write N/A 
# Copies files from package %s
 N/A pkg name N/A f N/A pkg files N/A N/A f N/A f path N/A dest N/A join_root N/A PosixPath /experimentroot f N/A N/A N/A fp write N/A mkdir -p %s
 N/A shell_escape N/A unicode_ N/A f parent N/A N/A N/A fp write N/A cp -L %s %s
 N/A N/A shell_escape N/A unicode_ f N/A shell_escape N/A unicode_ dest N/A N/A N/A N/A fp write 
cd /
 N/A paths N/A set N/A pathlist N/A N/A f other_files N/A N/A path N/A PosixPath / N/A c N/A N/A N/A rpz_pack remove_data_prefix N/A f path components N/A N/A path N/A path c N/A N/A path paths N/A N/A N/A N/A N/A paths add path N/A N/A N/A N/A N/A rpz_pack get_data path N/A N/A N/A KeyError N/A N/A N/A N/A logging info Missing file %s path N/A N/A N/A N/A pathlist append path N/A N/A N/A N/A target rpz-files.list open wb lfp N/A N/A p N/A reversed pathlist N/A N/A N/A N/A lfp write N/A N/A join_root N/A rpz_pack data_prefix p path N/A N/A N/A lfp write N/A N/A N/A fp write tar zpxf /vagrant/data.tgz --keep-old-files --numeric-owner --strip=1 --null -T /vagrant/rpz-files.list || /bin/true
 N/A use_chroot N/A N/A arch N/A N/A runs N/A 0 N/A architecture N/A N/A download_file N/A busybox_url arch N/A target busybox N/A busybox-%s arch N/A N/A N/A fp write 
cp /vagrant/busybox /experimentroot/busybox
chmod +x /experimentroot/busybox
mkdir -p /experimentroot/bin
[ -e /experimentroot/bin/sh ] || \
    ln -s /busybox /experimentroot/bin/sh
 N/A N/A N/A logging info Copying pack file... N/A N/A N/A rpz_pack copy_data_tar N/A target data.tgz N/A N/A N/A rpz_pack close N/A N/A N/A logging info Writing %s... N/A target Vagrantfile N/A N/A N/A N/A target Vagrantfile open w encoding utf-8 newline fp N/A N/A N/A N/A fp write # -*- mode: ruby -*-
# vi: set ft=ruby

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
 N/A N/A N/A fp write N/A   config.vm.box = "%s"
 box N/A N/A N/A fp write   config.vm.provision "shell", path: "setup.sh"
 N/A N/A memory None N/A N/A N/A N/A fp write N/A   config.vm.provider "virtualbox" do |v|
    v.memory = %d
  end
 memory N/A N/A N/A fp write end
 N/A N/A write_dict target N/A metadata_initial_iofiles config N/A use_chroot use_chroot N/A N/A N/A signals post_setup target target pack pack N/A N/A N/A Exception N/A N/A N/A N/A target rmtree ignore_errors True N/A N/A vagrant_setup_start N/A N/A args N/A N/A N/A Starts the vagrant-built virtual machine.
     N/A target N/A Path N/A N/A args target N/A 0 N/A use_chroot N/A N/A read_dict target N/A use_chroot N/A N/A check_vagrant_version N/A N/A machine_setup target use_chroot N/A target_must_exist vagrant_run N/A N/A args N/A N/A N/A Runs the experiment in the virtual machine.
     N/A target N/A Path N/A N/A args target N/A 0 N/A unpacked_info N/A read_dict target N/A use_chroot N/A unpacked_info N/A use_chroot N/A cmdline N/A args cmdline N/A N/A check_vagrant_version N/A config N/A load_config N/A target config.yml True N/A runs N/A config runs N/A selected_runs N/A get_runs runs N/A args run cmdline N/A hostname N/A N/A N/A runs N/A N/A selected_runs N/A 0 get hostname reprounzip N/A x11 N/A X11Handler N/A args x11 N/A local hostname N/A args x11_display N/A cmds N/A N/A run_number selected_runs N/A N/A run N/A runs N/A run_number N/A cmd N/A cd %s &&  N/A shell_escape N/A run N/A workingdir N/A use_chroot N/A N/A cmd /busybox env -i  N/A N/A cmd /usr/bin/env -i  N/A environ N/A N/A x11 fix_env N/A run N/A environ N/A environ N/A fixup_environment environ args N/A cmd N/A N/A join N/A N/A %s=%s N/A N/A shell_escape k N/A shell_escape v N/A N/A k v N/A iteritems environ N/A cmd N/A N/A cmdline None N/A N/A argv N/A N/A N/A run N/A binary N/A N/A run N/A argv N/A 1 N/A N/A argv cmdline N/A cmd N/A N/A join N/A N/A shell_escape a N/A a argv N/A uid N/A N/A run get uid 1000 N/A gid N/A N/A run get gid 1000 N/A use_chroot N/A N/A userspec N/A %s:%s N/A uid gid N/A cmd N/A chroot --userspec=%s /experimentroot /bin/sh -c %s N/A userspec N/A shell_escape cmd N/A N/A cmd N/A sudo -u '#%d' sh -c %s N/A uid N/A shell_escape cmd N/A N/A N/A cmds append cmd N/A use_chroot N/A N/A cmds N/A N/A N/A chroot /experimentroot /bin/sh -c %s N/A shell_escape c N/A c N/A x11 init_cmds cmds N/A N/A cmds N/A N/A x11 init_cmds cmds N/A cmds N/A N/A  &&  join cmds N/A cmds N/A N/A N/A OLD_HOSTNAME=$(/bin/hostname); /bin/hostname %s;  hostname cmds ; RES=$?; /bin/hostname "$OLD_HOSTNAME"; exit $RES N/A cmds N/A /usr/bin/sudo /bin/sh -c %s N/A shell_escape cmds N/A info N/A machine_setup target N/A unpacked_info N/A use_chroot N/A N/A N/A signals pre_run target target N/A interactive N/A N/A N/A args no_stdin N/A N/A N/A os environ get REPROUNZIP_NON_INTERACTIVE N/A retcode N/A run_interactive info interactive cmds N/A N/A args no_pty N/A x11 port_forward N/A N/A N/A stderr write N/A 
*** Command finished, status: %d
 retcode N/A N/A metadata_update_run config unpacked_info selected_runs N/A N/A write_dict target unpacked_info N/A N/A N/A signals post_run target target retcode retcode N/A target_must_exist SSHUploader N/A FileUploader N/A __init__ N/A N/A self target input_files files use_chroot N/A N/A N/A N/A self use_chroot use_chroot N/A N/A N/A FileUploader __init__ self target input_files files N/A prepare_upload N/A N/A self files N/A N/A N/A N/A N/A ssh_info N/A machine_setup N/A self target N/A self use_chroot N/A N/A N/A N/A subprocess CalledProcessError N/A N/A N/A N/A logging critical Failed to get the status of the machine -- is it running? N/A N/A N/A sys exit 1 N/A N/A self ssh N/A N/A paramiko SSHClient N/A N/A N/A N/A self ssh set_missing_host_key_policy N/A IgnoreMissingKey N/A N/A N/A N/A self ssh connect ssh_info N/A upload_file N/A N/A self local_path input_path N/A N/A N/A N/A self use_chroot N/A N/A remote_path N/A join_root N/A PosixPath /experimentroot input_path N/A N/A remote_path input_path N/A temp N/A make_unique_name reprozip_input_ N/A ltemp N/A N/A self target temp N/A rtemp N/A N/A PosixPath /vagrant temp N/A N/A N/A logging info Copying file to shared folder... N/A N/A N/A local_path copyfile ltemp N/A N/A N/A logging info Moving file into place... N/A chan N/A N/A N/A N/A N/A self ssh get_transport open_session N/A chown_cmd N/A /bin/chown --reference=%s %s N/A N/A shell_escape N/A remote_path path N/A shell_escape N/A rtemp path N/A chmod_cmd N/A /bin/chmod --reference=%s %s N/A N/A shell_escape N/A remote_path path N/A shell_escape N/A rtemp path N/A mv_cmd N/A /bin/mv %s %s N/A N/A shell_escape N/A rtemp path N/A shell_escape N/A remote_path path N/A N/A N/A chan exec_command N/A /usr/bin/sudo /bin/sh -c %s N/A shell_escape N/A N/A  &&  join N/A chown_cmd chmod_cmd mv_cmd N/A N/A N/A N/A chan recv_exit_status 0 N/A N/A N/A N/A logging critical Couldn't move file in virtual machine N/A N/A N/A N/A N/A ltemp remove N/A N/A N/A OSError N/A N/A N/A N/A N/A sys exit 1 N/A N/A N/A chan close N/A finalize N/A N/A self N/A N/A N/A N/A N/A N/A self ssh close N/A N/A vagrant_upload N/A N/A args N/A N/A N/A Replaces an input file in the VM.
     N/A target N/A Path N/A N/A args target N/A 0 N/A files N/A args file N/A unpacked_info N/A read_dict target N/A input_files N/A N/A unpacked_info setdefault input_files N/A N/A use_chroot N/A unpacked_info N/A use_chroot N/A N/A N/A N/A SSHUploader target input_files files use_chroot N/A N/A N/A write_dict target unpacked_info N/A target_must_exist SSHDownloader N/A FileDownloader N/A __init__ N/A N/A self target files use_chroot all_ N/A False N/A N/A N/A self use_chroot use_chroot N/A N/A N/A FileDownloader __init__ self target files all_ all_ N/A prepare_download N/A N/A self files N/A N/A N/A N/A N/A info N/A machine_setup N/A self target N/A self use_chroot N/A N/A N/A N/A subprocess CalledProcessError N/A N/A N/A N/A logging critical Failed to get the status of the machine -- is it running? N/A N/A N/A sys exit 1 N/A N/A self ssh N/A N/A paramiko SSHClient N/A N/A N/A N/A self ssh set_missing_host_key_policy N/A IgnoreMissingKey N/A N/A N/A N/A self ssh connect info N/A download N/A N/A self remote_path local_path N/A N/A N/A N/A self use_chroot N/A N/A remote_path N/A join_root N/A PosixPath /experimentroot remote_path N/A temp N/A make_unique_name reprozip_output_ N/A rtemp N/A N/A PosixPath /vagrant temp N/A ltemp N/A N/A self target temp N/A N/A N/A logging info Copying file to shared folder... N/A chan N/A N/A N/A N/A N/A self ssh get_transport open_session N/A cp_cmd N/A /bin/cp %s %s N/A N/A shell_escape N/A remote_path path N/A shell_escape N/A rtemp path N/A chown_cmd N/A /bin/chown vagrant %s N/A shell_escape N/A rtemp path N/A chmod_cmd N/A /bin/chmod 644 %s N/A shell_escape N/A rtemp path N/A N/A N/A chan exec_command N/A /usr/bin/sudo /bin/sh -c %s N/A shell_escape N/A N/A  &&  join N/A cp_cmd chown_cmd chmod_cmd N/A N/A N/A N/A chan recv_exit_status 0 N/A N/A N/A N/A logging critical Couldn't copy file in virtual machine N/A N/A N/A N/A N/A ltemp remove N/A N/A N/A OSError N/A N/A N/A False N/A N/A N/A N/A N/A ltemp rename local_path N/A N/A N/A OSError N/A e N/A N/A N/A N/A logging critical Couldn't download output file: %s
%s remote_path N/A str e N/A N/A N/A ltemp remove N/A False N/A True N/A finalize N/A N/A self N/A N/A N/A N/A N/A N/A self ssh close N/A N/A vagrant_download N/A N/A args N/A N/A N/A Gets an output file out of the VM.
     N/A target N/A Path N/A N/A args target N/A 0 N/A files N/A args file N/A use_chroot N/A N/A read_dict target N/A use_chroot N/A N/A SSHDownloader target files use_chroot all_ N/A args all N/A target_must_exist vagrant_suspend N/A N/A args N/A N/A N/A Suspends the VM through Vagrant, without destroying it.
     N/A target N/A Path N/A N/A args target N/A 0 N/A retcode N/A N/A subprocess call N/A vagrant suspend cwd N/A target path N/A N/A retcode 0 N/A N/A N/A N/A logging critical vagrant suspend failed with code %d, ignoring... retcode N/A target_must_exist vagrant_destroy_vm N/A N/A args N/A N/A N/A Destroys the VM through Vagrant.
     N/A target N/A Path N/A N/A args target N/A 0 N/A N/A read_dict target N/A retcode N/A N/A subprocess call N/A vagrant destroy -f cwd N/A target path N/A N/A retcode 0 N/A N/A N/A N/A logging critical vagrant destroy failed with code %d, ignoring... retcode N/A target_must_exist vagrant_destroy_dir N/A N/A args N/A N/A N/A Destroys the directory.
     N/A target N/A Path N/A N/A args target N/A 0 N/A N/A read_dict target N/A N/A N/A signals pre_destroy target target N/A N/A N/A target rmtree N/A N/A N/A signals post_destroy target target N/A target_must_exist _executable_in_path N/A N/A executable N/A N/A N/A pathlist N/A N/A N/A N/A N/A os environ N/A PATH split N/A os pathsep N/A . N/A pathexts N/A N/A N/A N/A N/A os environ get PATHEXT split N/A os pathsep N/A path pathlist N/A N/A ext pathexts N/A N/A fullpath N/A N/A N/A N/A os path join path executable ext N/A N/A N/A N/A os path isfile fullpath N/A N/A True N/A False N/A check_vagrant_version N/A N/A N/A N/A N/A N/A N/A out N/A N/A subprocess check_output N/A vagrant --version N/A N/A N/A N/A N/A subprocess CalledProcessError OSError N/A N/A N/A N/A logging error Couldn't run vagrant N/A N/A N/A sys exit 1 N/A out N/A N/A N/A N/A N/A N/A N/A N/A out decode ascii strip lower split N/A N/A N/A out N/A 0 vagrant N/A N/A N/A N/A LooseVersion N/A out N/A 1 N/A LooseVersion 1.1 N/A N/A N/A N/A logging error Vagrant >=1.1 is required; detected version: %s N/A out N/A 1 N/A N/A N/A sys exit 1 N/A N/A N/A N/A logging error Vagrant >=1.1 is required N/A N/A N/A sys exit 1 N/A test_has_vagrant N/A N/A pack N/A kwargs N/A N/A Compatibility test: has vagrant (ok) or not (maybe).
     N/A N/A N/A _executable_in_path vagrant N/A N/A N/A COMPAT_MAYBE vagrant not found in PATH N/A N/A N/A out N/A N/A subprocess check_output N/A vagrant --version N/A N/A N/A N/A subprocess CalledProcessError N/A N/A N/A COMPAT_NO vagrant was found in PATH but doesn't seem to work properly N/A out N/A N/A N/A N/A N/A N/A N/A N/A out decode ascii strip lower split N/A N/A N/A out N/A 0 vagrant N/A N/A N/A N/A LooseVersion N/A out N/A 1 N/A LooseVersion 1.1 N/A N/A COMPAT_OK N/A N/A N/A COMPAT_NO N/A Vagrant >=1.1 is required; detected version: %s N/A out N/A 1 N/A N/A N/A COMPAT_NO Vagrant >=1.1 is required N/A setup N/A N/A parser N/A kwargs N/A N/A Runs the experiment in a virtual machine created through Vagrant

    You will need Vagrant to be installed on your machine if you want to run
    the experiment.

    setup   setup/create    creates Vagrantfile (needs the pack filename)
            setup/start     starts or resume the virtual machine
    upload                  replaces input files in the machine
                            (without arguments, lists input files)
    run                     runs the experiment in the virtual machine
    suspend                 suspend the virtual machine without destroying it
    download                gets output files from the machine
                            (without arguments, lists output files)
    destroy destroy/vm      destroys the virtual machine
            destroy/dir     removes the unpacked directory

    For example:

        $ reprounzip vagrant setup mypack.rpz experiment; cd experiment
        $ reprounzip vagrant run .
        $ reprounzip vagrant download . results:/home/user/theresults.txt
        $ cd ..; reprounzip vagrant destroy experiment

    Upload specifications are either:
      :input_id             restores the original input file from the pack
      filename:input_id     replaces the input file with the specified local
                            file

    Download specifications are either:
      output_id:            print the output file to stdout
      output_id:filename    extracts the output file to the corresponding local
                            path
     N/A subparsers N/A N/A parser add_subparsers title actions metavar help N/A argparse SUPPRESS add_opt_general N/A N/A opts N/A N/A N/A N/A N/A opts add_argument target nargs 1 help Experiment directory N/A add_opt_setup N/A N/A opts N/A N/A N/A N/A N/A opts add_argument pack nargs 1 help Pack to extract N/A N/A N/A opts add_argument --use-chroot action store_true default True help N/A argparse SUPPRESS N/A N/A N/A opts add_argument --dont-use-chroot action store_false dest use_chroot default True help Don't prefer original files nor use chroot in the virtual machine N/A N/A N/A opts add_argument --no-use-chroot action store_false dest use_chroot default True help N/A argparse SUPPRESS N/A N/A N/A opts add_argument --dont-bind-magic-dirs action store_false default True dest bind_magic_dirs help Don't mount /dev and /proc inside the chroot (no effect if --dont-use-chroot is set) N/A N/A N/A opts add_argument --base-image nargs 1 help Vagrant box to use N/A N/A N/A opts add_argument --distribution nargs 1 help Distribution used in the Vagrant box (for package installer selection) N/A N/A N/A opts add_argument --memory nargs 1 help Amount of RAM to allocate to VM (megabytes, default: box default) N/A N/A parser_setup_create N/A N/A subparsers add_parser setup/create N/A N/A add_opt_setup parser_setup_create N/A N/A add_opt_general parser_setup_create N/A N/A N/A parser_setup_create set_defaults func vagrant_setup_create N/A parser_setup_start N/A N/A subparsers add_parser setup/start N/A N/A add_opt_general parser_setup_start N/A N/A N/A parser_setup_start set_defaults func vagrant_setup_start N/A parser_setup N/A N/A subparsers add_parser setup N/A N/A add_opt_setup parser_setup N/A N/A add_opt_general parser_setup N/A N/A N/A parser_setup set_defaults func N/A composite_action vagrant_setup_create vagrant_setup_start N/A parser_upload N/A N/A subparsers add_parser upload N/A N/A add_opt_general parser_upload N/A N/A N/A parser_upload add_argument file nargs N/A argparse ZERO_OR_MORE help <path>:<input_file_name N/A N/A N/A parser_upload set_defaults func vagrant_upload N/A parser_run N/A N/A subparsers add_parser run N/A N/A add_opt_general parser_run N/A N/A N/A parser_run add_argument run default None nargs ? N/A N/A N/A parser_run add_argument --no-stdin action store_true default False help Don't connect program's input stream to this terminal N/A N/A N/A parser_run add_argument --no-pty action store_true default False help Don't request a PTY from the SSH server N/A N/A N/A parser_run add_argument --cmdline nargs N/A argparse REMAINDER help Command line to run N/A N/A N/A parser_run add_argument --enable-x11 action store_true default False dest x11 help Enable X11 support (needs an X server on the host) N/A N/A N/A parser_run add_argument --x11-display dest x11_display help Display number to use on the experiment side (change the host display with the DISPLAY environment variable) N/A N/A add_environment_options parser_run N/A N/A N/A parser_run set_defaults func vagrant_run N/A parser_download N/A N/A subparsers add_parser download N/A N/A add_opt_general parser_download N/A N/A N/A parser_download add_argument file nargs N/A argparse ZERO_OR_MORE help <output_file_name>[:<path>] N/A N/A N/A parser_download add_argument --all action store_true help Download all output files to the current directory N/A N/A N/A parser_download set_defaults func vagrant_download N/A parser_suspend N/A N/A subparsers add_parser suspend N/A N/A add_opt_general parser_suspend N/A N/A N/A parser_suspend set_defaults func vagrant_suspend N/A parser_destroy_vm N/A N/A subparsers add_parser destroy/vm N/A N/A add_opt_general parser_destroy_vm N/A N/A N/A parser_destroy_vm set_defaults func vagrant_destroy_vm N/A parser_destroy_dir N/A N/A subparsers add_parser destroy/dir N/A N/A add_opt_general parser_destroy_dir N/A N/A N/A parser_destroy_dir set_defaults func vagrant_destroy_dir N/A parser_destroy N/A N/A subparsers add_parser destroy N/A N/A add_opt_general parser_destroy N/A N/A N/A parser_destroy set_defaults func N/A composite_action vagrant_destroy_vm vagrant_destroy_dir N/A N/A test_compatibility test_has_vagrant N/A