Module Expr Str 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 TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str ImportFrom alias Import alias TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad If AttributeLoad NameLoad attr body Return Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Dict Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Dict Str Call AttributeLoad Str attr Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad Str attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Call AttributeLoad Str attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad Str attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad Str attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad Str Str Str Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore TupleLoad Str Str Str Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore TupleLoad Str Str body If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad Str Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp Call AttributeLoad NameLoad attr Str Str Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore TupleLoad Str Str Str Str body For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad NameLoad If AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad Str attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call NameLoad Call AttributeLoad Str attr NameLoad If CompareNotIn NameLoad SubscriptLoad NameLoad Index NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index NameLoad NameLoad Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call NameLoad Str handlers ExceptHandler type NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr keyword Call NameLoad NameLoad NameLoad keyword Str keyword Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr keyword Call NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword Call NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr keyword Call NameLoad NameLoad NameLoad keyword Str keyword Call NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad Str If NameLoad body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If BoolOpOr CompareIs NameLoad NameLoad CompareIs SubscriptLoad NameLoad Index NameLoad NameLoad CompareNotIn AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body Expr Call NameLoad Str Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str handlers ExceptHandler type NameLoad body Expr Call NameLoad Call AttributeLoad Str attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Slice Num SubscriptLoad AttributeLoad NameLoad attr Slice Num body Expr Call NameLoad Str Expr Call NameLoad Call AttributeLoad Str attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Slice Num SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str handlers ExceptHandler type NameLoad body Expr Call NameLoad Call AttributeLoad Str attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call NameLoad NameLoad If NameLoad body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign NameStore Num ExceptHandler type NameLoad body Assign NameStore Num ExceptHandler type NameLoad body Assign NameStore Num If NameLoad body Raise If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Str attr keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword TupleLoad Str Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num If CompareIs AttributeLoad NameLoad attr NameLoad body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Call NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A 
This script is used to test Salt from a Jenkins server, specifically
jenkins.saltstack.com.

This script is intended to be shell-centric!!
 __future__ absolute_import print_function N/A glob N/A os N/A re N/A sys N/A json N/A time N/A shutil N/A optparse N/A subprocess N/A random N/A salt.utils N/A N/A salt.utils.nb_popen NonBlockingPopen N/A N/A N/A ImportError N/A N/A SALT_LIB N/A N/A N/A os path abspath N/A N/A N/A os path dirname N/A N/A N/A os path dirname __file__ N/A N/A SALT_LIB N/A sys path N/A N/A N/A N/A N/A sys path insert 0 SALT_LIB N/A N/A salt.utils.nb_popen NonBlockingPopen N/A N/A N/A ImportError N/A N/A N/A N/A N/A sys path insert 0 N/A N/A N/A os path join SALT_LIB salt utils nb_popen NonBlockingPopen N/A yaml N/A N/A N/A requests N/A HAS_REQUESTS True N/A N/A N/A ImportError N/A N/A HAS_REQUESTS False N/A SALT_GIT_URL https://github.com/saltstack/salt.git build_pillar_data N/A N/A options N/A N/A N/A 
    Build a YAML formatted string to properly pass pillar data
     N/A pillar N/A test_transport cloud_only with_coverage N/A options test_transport N/A options cloud_only N/A N/A options test_without_coverage False N/A N/A N/A options test_git_commit None N/A N/A N/A pillar N/A test_git_commit N/A options test_git_commit N/A N/A N/A options test_git_url None N/A N/A N/A pillar N/A test_git_url N/A options test_git_url N/A N/A N/A options bootstrap_salt_url None N/A N/A N/A pillar N/A bootstrap_salt_url N/A options bootstrap_salt_url N/A N/A N/A options bootstrap_salt_commit None N/A N/A N/A pillar N/A bootstrap_salt_commit N/A options bootstrap_salt_commit N/A N/A options package_source_dir N/A N/A N/A pillar N/A package_source_dir N/A options package_source_dir N/A N/A options package_build_dir N/A N/A N/A pillar N/A package_build_dir N/A options package_build_dir N/A N/A options package_artifact_dir N/A N/A N/A pillar N/A package_artifact_dir N/A options package_artifact_dir N/A N/A options pillar N/A N/A N/A N/A pillar update N/A dict N/A options pillar N/A N/A N/A N/A N/A yaml dump pillar default_flow_style True indent 0 width N/A sys maxint rstrip N/A build_minion_target N/A N/A options vm_name N/A N/A N/A target vm_name N/A grain N/A options grain_target N/A N/A target N/A N/A  and G@{0} format grain N/A N/A options grain_target N/A N/A N/A N/A "{0}" format target N/A target N/A generate_vm_name N/A N/A options N/A N/A N/A 
    Generate a random enough vm name
     N/A N/A BUILD_NUMBER N/A os environ N/A N/A random_part N/A N/A BUILD{0:0>6} format N/A N/A N/A os environ get BUILD_NUMBER N/A N/A random_part N/A N/A N/A N/A os urandom 3 encode hex N/A N/A N/A {0}-{1}-{2} format N/A options vm_prefix N/A options platform random_part N/A delete_vm N/A N/A options N/A N/A N/A 
    Stop a VM
     N/A cmd N/A N/A salt-cloud -d {0} -y format N/A options delete_vm N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A NonBlockingPopen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE stream_stds True N/A N/A N/A proc poll_and_read_until_finish interval 0.5 N/A N/A N/A proc communicate N/A echo_parseable_environment N/A N/A options parser N/A N/A N/A 
    Echo NAME=VAL parseable output
     N/A output N/A N/A N/A options platform N/A N/A name N/A generate_vm_name options N/A N/A N/A output extend N/A N/A N/A JENKINS_SALTCLOUD_VM_PLATFORM={0} format N/A options platform N/A N/A JENKINS_SALTCLOUD_VM_NAME={0} format name N/A N/A options provider N/A N/A N/A N/A output append N/A N/A JENKINS_SALTCLOUD_VM_PROVIDER={0} format N/A options provider N/A N/A options pull_request N/A N/A N/A HAS_REQUESTS False N/A N/A N/A N/A parser error The python 'requests' library needs to be installed N/A headers N/A N/A url N/A N/A https://api.github.com/repos/saltstack/salt/pulls/{0} format N/A options pull_request N/A github_access_token_path N/A N/A N/A os path join N/A N/A N/A os environ get JENKINS_HOME N/A N/A N/A os path expanduser ~ .github_token N/A N/A N/A N/A os path isfile github_access_token_path N/A N/A headers N/A Authorization N/A N/A token {0} format N/A N/A N/A N/A N/A open github_access_token_path read strip N/A http_req N/A N/A requests get url headers headers N/A N/A N/A http_req status_code 200 N/A N/A N/A N/A parser error N/A N/A Unable to get the pull request: {0[message]} format N/A N/A http_req json N/A pr_details N/A N/A http_req json N/A N/A N/A output extend N/A N/A N/A SALT_PR_GIT_URL={0} format N/A N/A N/A pr_details N/A head N/A repo N/A clone_url N/A N/A SALT_PR_GIT_BRANCH={0} format N/A N/A pr_details N/A head N/A ref N/A N/A SALT_PR_GIT_COMMIT={0} format N/A N/A pr_details N/A head N/A sha N/A N/A SALT_PR_GIT_BASE_BRANCH={0} format N/A N/A pr_details N/A base N/A ref N/A N/A N/A N/A sys stdout write N/A N/A 

{0}

 format N/A N/A join output N/A N/A N/A N/A sys stdout flush N/A download_unittest_reports N/A N/A options N/A N/A N/A N/A print Downloading remote unittest reports... N/A N/A N/A N/A sys stdout flush N/A workspace N/A options workspace N/A xml_reports_path N/A N/A N/A os path join workspace xml-test-reports N/A N/A N/A N/A os path isdir xml_reports_path N/A N/A N/A N/A shutil rmtree xml_reports_path N/A N/A N/A os makedirs xml_reports_path N/A cmds N/A salt {0} archive.tar zcvf /tmp/xml-test-reports.tar.gz '*.xml' cwd=/tmp/xml-unittests-output/ salt {0} cp.push /tmp/xml-test-reports.tar.gz mv -f /var/cache/salt/master/minions/{1}/files/tmp/xml-test-reports.tar.gz {2} && tar zxvf {2}/xml-test-reports.tar.gz -C {2}/xml-test-reports && rm -f {2}/xml-test-reports.tar.gz N/A vm_name N/A options download_unittest_reports N/A cmd cmds N/A N/A cmd N/A N/A cmd format N/A build_minion_target options vm_name vm_name workspace N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A NonBlockingPopen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE stream_stds True N/A N/A N/A proc poll_and_read_until_finish interval 0.5 N/A N/A N/A proc communicate N/A N/A N/A proc returncode 0 N/A N/A N/A print N/A N/A 
Failed to execute command. Exit code: {0} format N/A proc returncode N/A N/A N/A time sleep 0.25 N/A download_coverage_report N/A N/A options N/A N/A N/A N/A print Downloading remote coverage report... N/A N/A N/A N/A sys stdout flush N/A workspace N/A options workspace N/A vm_name N/A options download_coverage_report N/A N/A N/A N/A os path isfile N/A N/A N/A os path join workspace coverage.xml N/A N/A N/A N/A os unlink N/A N/A N/A os path join workspace coverage.xml N/A cmds N/A salt {0} archive.gzip /tmp/coverage.xml salt {0} cp.push /tmp/coverage.xml.gz gunzip /var/cache/salt/master/minions/{1}/files/tmp/coverage.xml.gz mv /var/cache/salt/master/minions/{1}/files/tmp/coverage.xml {2} N/A cmd cmds N/A N/A cmd N/A N/A cmd format N/A build_minion_target options vm_name vm_name workspace N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A NonBlockingPopen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE stream_stds True N/A N/A N/A proc poll_and_read_until_finish interval 0.5 N/A N/A N/A proc communicate N/A N/A N/A proc returncode 0 N/A N/A N/A print N/A N/A 
Failed to execute command. Exit code: {0} format N/A proc returncode N/A N/A N/A time sleep 0.25 N/A download_remote_logs N/A N/A options N/A N/A N/A N/A print Downloading remote logs... N/A N/A N/A N/A sys stdout flush N/A workspace N/A options workspace N/A vm_name N/A options download_remote_logs N/A fname N/A salt-runtests.log minion.log N/A N/A N/A N/A N/A os path isfile N/A N/A N/A os path join workspace fname N/A N/A N/A N/A os unlink N/A N/A N/A os path join workspace fname N/A N/A N/A options remote_log_path N/A N/A N/A options remote_log_path N/A /tmp/salt-runtests.log /var/log/salt/minion N/A cmds N/A N/A remote_log N/A options remote_log_path N/A N/A N/A N/A cmds extend N/A N/A N/A salt {{0}} archive.gzip {0} format remote_log N/A N/A salt {{0}} cp.push {0}.gz format remote_log N/A N/A gunzip /var/cache/salt/master/minions/{{1}}/files{0}.gz format remote_log N/A N/A mv /var/cache/salt/master/minions/{{1}}/files{0} {{2}}/{1} format remote_log N/A N/A {0}{1} format N/A N/A N/A os path basename remote_log N/A N/A N/A remote_log endswith .log .log N/A cmd cmds N/A N/A cmd N/A N/A cmd format N/A build_minion_target options vm_name vm_name workspace N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A NonBlockingPopen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE stream_stds True N/A N/A N/A proc poll_and_read_until_finish interval 0.5 N/A N/A N/A proc communicate N/A N/A N/A proc returncode 0 N/A N/A N/A print N/A N/A 
Failed to execute command. Exit code: {0} format N/A proc returncode N/A N/A N/A time sleep 0.25 N/A download_packages N/A N/A options N/A N/A N/A N/A print Downloading packages... N/A N/A N/A N/A sys stdout flush N/A workspace N/A options workspace N/A vm_name N/A options download_packages N/A fglob N/A salt-*.rpm salt-*.deb salt-*.pkg.xz salt-buildpackage.log N/A N/A fname N/A N/A glob glob N/A N/A N/A os path join workspace fglob N/A N/A N/A N/A N/A os path isfile fname N/A N/A N/A N/A os unlink fname N/A cmds N/A N/A N/A salt {{0}} archive.tar czf {0}.tar.gz sources='*.*' cwd={0} format N/A options package_artifact_dir N/A N/A salt {{0}} cp.push {0}.tar.gz format N/A options package_artifact_dir N/A N/A tar -C {{2}} -xzf /var/cache/salt/master/minions/{{1}}/files{0}.tar.gz format N/A options package_artifact_dir N/A cmd cmds N/A N/A cmd N/A N/A cmd format N/A build_minion_target options vm_name vm_name workspace N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A NonBlockingPopen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE stream_stds True N/A N/A N/A proc poll_and_read_until_finish interval 0.5 N/A N/A N/A proc communicate N/A N/A N/A proc returncode 0 N/A N/A N/A print N/A N/A 
Failed to execute command. Exit code: {0} format N/A proc returncode N/A N/A N/A time sleep 0.25 N/A run N/A N/A opts N/A N/A N/A 
    RUN!
     N/A vm_name N/A N/A N/A os environ get JENKINS_SALTCLOUD_VM_NAME N/A generate_vm_name opts N/A N/A opts download_remote_reports N/A N/A N/A N/A opts test_without_coverage False N/A N/A N/A opts download_coverage_report vm_name N/A N/A opts download_unittest_reports vm_name N/A N/A opts download_packages vm_name N/A N/A N/A opts bootstrap_salt_commit None N/A N/A N/A N/A opts bootstrap_salt_url None N/A N/A N/A opts bootstrap_salt_url https://github.com/saltstack/salt.git N/A cmd N/A N/A salt-cloud -l debug --script-args "-D -g {bootstrap_salt_url} -n git {1}" -p {provider}_{platform} {0} format vm_name N/A N/A N/A os environ get SALT_MINION_BOOTSTRAP_RELEASE N/A opts bootstrap_salt_commit N/A opts __dict__ N/A N/A cmd N/A N/A salt-cloud -l debug --script-args "-D -n git {1}" -p {provider}_{platform} {0} format vm_name N/A N/A N/A os environ get SALT_MINION_BOOTSTRAP_RELEASE N/A opts bootstrap_salt_commit N/A opts __dict__ N/A N/A N/A opts splay None N/A N/A cloud_downtime N/A N/A random randint 0 N/A opts splay N/A N/A print N/A N/A Sleeping random period before calling salt-cloud: {0} format cloud_downtime N/A N/A N/A time sleep cloud_downtime N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A NonBlockingPopen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE stream_stds True N/A N/A N/A proc poll_and_read_until_finish interval 0.5 N/A N/A N/A proc communicate N/A retcode N/A proc returncode N/A N/A retcode 0 N/A N/A N/A print N/A N/A Failed to bootstrap VM. Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A print N/A N/A VM Bootstrapped. Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A bootstrap_downtime N/A N/A random randint 0 N/A opts splay N/A N/A print N/A N/A Sleeping for {0} seconds to allow the minion to breathe a little format bootstrap_downtime N/A N/A N/A N/A sys stdout flush N/A N/A N/A time sleep bootstrap_downtime N/A N/A N/A opts bootstrap_salt_commit None N/A N/A N/A print Grabbing bootstrapped minion version information ...  N/A cmd N/A N/A salt -t 100 {0} --out json test.version format N/A build_minion_target opts vm_name N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A N/A subprocess Popen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout _ N/A N/A proc communicate N/A retcode N/A proc returncode N/A N/A retcode 0 N/A N/A N/A print N/A N/A Failed to get the bootstrapped minion version. Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A outstr N/A N/A N/A N/A N/A salt utils to_str stdout strip N/A N/A outstr N/A N/A N/A print N/A N/A Failed to get the bootstrapped minion version(no output). Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A N/A version_info N/A N/A json loads outstr N/A bootstrap_minion_version N/A N/A N/A os environ get SALT_MINION_BOOTSTRAP_RELEASE N/A N/A opts bootstrap_salt_commit N/A 7 N/A N/A print N/A N/A Minion reported salt version: {0} format version_info N/A N/A bootstrap_minion_version N/A version_info N/A vm_name N/A N/A N/A print 

ATTENTION!!!!
 N/A N/A print The boostrapped minion version commit does not contain the desired commit: N/A N/A print N/A N/A  '{0}' does not contain '{1}' format N/A version_info N/A vm_name bootstrap_minion_version N/A N/A print N/A N/A N/A N/A sys stdout flush N/A N/A N/A print matches! N/A N/A N/A ValueError N/A N/A N/A print N/A N/A Failed to load any JSON from '{0}' format outstr N/A N/A opts cloud_only N/A N/A cloud_provider_downtime N/A N/A random randint 3 N/A opts splay N/A N/A N/A time sleep cloud_provider_downtime N/A cmd N/A N/A salt -t 900 {target} state.sls {cloud_prep_sls} pillar="{pillar}" --no-color format target N/A build_minion_target opts vm_name cloud_prep_sls cloud-only pillar N/A build_pillar_data opts N/A N/A standard_sls_downtime N/A N/A random randint 3 N/A opts splay N/A N/A N/A time sleep standard_sls_downtime N/A cmd N/A N/A salt -t 1800 {target} state.sls {prep_sls} pillar="{pillar}" --no-color format target N/A build_minion_target opts vm_name prep_sls N/A opts prep_sls pillar N/A build_pillar_data opts N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A N/A subprocess Popen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout stderr N/A N/A proc communicate N/A stdout N/A N/A N/A print N/A N/A N/A salt utils to_str stdout N/A stderr N/A N/A N/A print N/A N/A N/A salt utils to_str stderr N/A N/A N/A N/A sys stdout flush N/A retcode N/A proc returncode N/A N/A retcode 0 N/A N/A N/A print N/A N/A Failed to execute the preparation SLS file. Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A opts cloud_only N/A N/A cloud_provider_pillar N/A N/A random randint 3 N/A opts splay N/A N/A N/A time sleep cloud_provider_pillar N/A cmd N/A N/A salt -t 600 {target} state.sls {cloud_prep_sls} pillar="{pillar}" --no-color format target N/A build_minion_target opts vm_name cloud_prep_sls cloud-test-configs pillar N/A build_pillar_data opts N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A N/A subprocess Popen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess STDOUT N/A N/A stdout stderr N/A N/A proc communicate N/A stdout N/A N/A N/A print Cloud configuration files provisioned via pillar. N/A stderr N/A N/A N/A print N/A N/A N/A salt utils to_str stderr N/A N/A N/A N/A sys stdout flush N/A retcode N/A proc returncode N/A N/A retcode 0 N/A N/A N/A print N/A N/A Failed to execute the preparation SLS file. Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A N/A opts prep_sls_2 None N/A N/A sls_2_downtime N/A N/A random randint 3 N/A opts splay N/A N/A N/A time sleep sls_2_downtime N/A cmd N/A N/A salt -t 30 {target} state.sls {prep_sls_2} pillar="{pillar}" --no-color format prep_sls_2 N/A opts prep_sls_2 pillar N/A build_pillar_data opts target N/A build_minion_target opts vm_name N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A N/A subprocess Popen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess STDOUT N/A N/A stdout stderr N/A N/A proc communicate N/A stdout N/A N/A N/A print N/A N/A N/A salt utils to_str stdout N/A stderr N/A N/A N/A print N/A N/A N/A salt utils to_str stderr N/A N/A N/A N/A sys stdout flush N/A retcode N/A proc returncode N/A N/A retcode 0 N/A N/A N/A print N/A N/A Failed to execute the 2nd preparation SLS file. Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A N/A opts test_git_url None N/A N/A test_git_downtime N/A N/A random randint 1 N/A opts splay N/A N/A N/A time sleep test_git_downtime N/A N/A print Grabbing the cloned repository remotes information ...  N/A cmd N/A N/A salt -t 100 {0} --out json git.remote_get /testing format N/A build_minion_target opts vm_name N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A N/A subprocess Popen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout _ N/A N/A proc communicate N/A retcode N/A proc returncode N/A N/A retcode 0 N/A N/A N/A print N/A N/A Failed to get the cloned repository remote. Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A stdout N/A N/A N/A print N/A N/A Failed to get the cloned repository remote(no output). Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A N/A remotes_info N/A N/A json loads N/A N/A stdout strip N/A N/A N/A remotes_info None N/A N/A remotes_info N/A vm_name None N/A N/A opts test_git_url N/A remotes_info N/A vm_name N/A N/A N/A print The cloned repository remote is not the desired one: N/A N/A print N/A N/A  '{0}' is not in {1} format N/A opts test_git_url remotes_info N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A print matches! N/A N/A N/A ValueError N/A N/A N/A print N/A N/A Failed to load any JSON from '{0}' format N/A N/A N/A N/A N/A salt utils to_str stdout strip N/A N/A N/A opts test_git_commit None N/A N/A test_git_commit_downtime N/A N/A random randint 1 N/A opts splay N/A N/A N/A time sleep test_git_commit_downtime N/A N/A print Grabbing the cloned repository commit information ...  N/A cmd N/A N/A salt -t 100 {0} --out json git.revision /testing format N/A build_minion_target opts vm_name N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A N/A subprocess Popen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout _ N/A N/A proc communicate N/A N/A N/A N/A sys stdout flush N/A retcode N/A proc returncode N/A N/A retcode 0 N/A N/A N/A print N/A N/A Failed to get the cloned repository revision. Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A stdout N/A N/A N/A print N/A N/A Failed to get the cloned repository revision(no output). Exit code: {0} format retcode N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A N/A revision_info N/A N/A json loads N/A N/A stdout strip N/A N/A N/A N/A revision_info N/A vm_name N/A 7 N/A N/A opts test_git_commit N/A 7 N/A N/A N/A print The cloned repository commit is not the desired one: N/A N/A print N/A N/A  '{0}' != '{1}' format N/A N/A revision_info N/A vm_name N/A 7 N/A N/A opts test_git_commit N/A 7 N/A N/A N/A N/A sys stdout flush N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A N/A N/A sys exit retcode N/A N/A print matches! N/A N/A N/A ValueError N/A N/A N/A print N/A N/A Failed to load any JSON from '{0}' format N/A N/A N/A N/A N/A salt utils to_str stdout strip N/A test_begin_downtime N/A N/A random randint 3 N/A opts splay N/A N/A N/A time sleep test_begin_downtime N/A cmd N/A N/A salt -t 1800 {target} state.sls {sls} pillar="{pillar}" --no-color format sls N/A opts sls pillar N/A build_pillar_data opts target N/A build_minion_target opts vm_name N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A N/A subprocess Popen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout stderr N/A N/A proc communicate N/A outstr N/A N/A N/A salt utils to_str stdout N/A outstr N/A N/A N/A print outstr N/A stderr N/A N/A N/A print N/A N/A N/A salt utils to_str stderr N/A N/A N/A N/A sys stdout flush N/A N/A N/A match N/A N/A re search Test Suite Exit Code: (?P<exitcode>[\d]+) outstr N/A retcode N/A int N/A N/A match group exitcode N/A N/A N/A AttributeError N/A N/A retcode 1 N/A N/A ValueError N/A N/A retcode 1 N/A N/A TypeError N/A N/A retcode 1 N/A outstr N/A N/A N/A N/A retcode 0 N/A N/A N/A N/A time sleep 3 N/A cmd N/A N/A salt -t 1800 {target} state.sls buildpackage pillar="{pillar}" --no-color format pillar N/A build_pillar_data opts target N/A build_minion_target opts vm_name N/A N/A print N/A N/A Running CMD: {0} format cmd N/A N/A N/A N/A sys stdout flush N/A proc N/A N/A subprocess Popen cmd shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout stderr N/A N/A proc communicate N/A stdout N/A N/A N/A print N/A N/A N/A salt utils to_str stdout N/A stderr N/A N/A N/A print N/A N/A N/A salt utils to_str stderr N/A N/A N/A N/A sys stdout flush N/A N/A download_packages opts N/A N/A opts download_remote_reports N/A N/A N/A download_unittest_reports opts N/A N/A N/A opts test_without_coverage False N/A N/A N/A download_coverage_report opts N/A N/A N/A opts clean N/A JENKINS_SALTCLOUD_VM_NAME N/A os environ N/A N/A N/A delete_vm opts N/A retcode N/A parse N/A N/A N/A N/A N/A 
    Parse the CLI options
     N/A parser N/A N/A optparse OptionParser N/A N/A N/A parser add_option --vm-prefix default N/A N/A N/A os environ get JENKINS_VM_NAME_PREFIX ZJENKINS help The bootstrapped machine name prefix N/A N/A N/A parser add_option -w --workspace default N/A N/A N/A os path abspath N/A N/A N/A os environ get WORKSPACE N/A N/A N/A os path dirname N/A N/A N/A os path dirname __file__ help Path the execution workspace N/A N/A N/A parser add_option --platform default N/A N/A N/A os environ get JENKINS_SALTCLOUD_VM_PLATFORM None help The target platform, choose from:
cent6
cent5
ubuntu12.04 N/A N/A N/A parser add_option --provider default N/A N/A N/A os environ get JENKINS_SALTCLOUD_VM_PROVIDER None help The vm provider N/A N/A N/A parser add_option --bootstrap-salt-url default None help The salt git repository url used to boostrap a minion N/A N/A N/A parser add_option --bootstrap-salt-commit default None help The salt git commit used to boostrap a minion N/A N/A N/A parser add_option --test-git-url default None help The testing git repository url N/A N/A N/A parser add_option --test-git-commit default None help The testing git commit to track N/A N/A N/A parser add_option --test-transport default zeromq choices N/A zeromq raet tcp help Select which transport to run the integration tests with, zeromq, raet, or tcp. Default: %default N/A N/A N/A parser add_option --test-without-coverage default False action store_true help Do not generate coverage reports N/A N/A N/A parser add_option --prep-sls default git.salt help The sls file to execute to prepare the system N/A N/A N/A parser add_option --prep-sls-2 default None help An optional 2nd system preparation SLS N/A N/A N/A parser add_option --sls default testrun-no-deps help The final sls file to execute N/A N/A N/A parser add_option --pillar action append nargs 2 help Pillar (key, value)s to pass to the sls file. Example: '--pillar pillar_key pillar_value' N/A N/A N/A parser add_option --no-clean dest clean default True action store_false help Clean up the built vm N/A N/A N/A parser add_option --echo-parseable-environment default False action store_true help Print a parseable KEY=VAL output N/A N/A N/A parser add_option --pull-request type int help Include the PR info only N/A N/A N/A parser add_option --delete-vm default None help Delete a running VM N/A N/A N/A parser add_option --download-remote-reports default False action store_true help Download remote reports when running remote 'testrun' state N/A N/A N/A parser add_option --download-unittest-reports default None help Download the XML unittest results N/A N/A N/A parser add_option --download-coverage-report default None help Download the XML coverage reports N/A N/A N/A parser add_option --remote-log-path action append default N/A help Provide additional log paths to download from remote minion N/A N/A N/A parser add_option --download-remote-logs default None help Download remote minion and runtests log files N/A N/A N/A parser add_option --grain-target action append default N/A help Match minions using compound matchers, the minion ID, plus the passed grain. N/A N/A N/A parser add_option --cloud-only default False action store_true help Run the cloud provider tests only. N/A N/A N/A parser add_option --build-packages default True action store_true help Run buildpackage.py to create packages off of the git build. N/A N/A N/A parser add_option --package-source-dir default /testing help Directory where the salt source code checkout is found (default: %default) N/A N/A N/A parser add_option --package-build-dir default /tmp/salt-buildpackage help Build root for automated package builds (default: %default) N/A N/A N/A parser add_option --package-artifact-dir default /tmp/salt-packages help Location on the minion from which packages should be retrieved (default: %default) N/A N/A N/A parser add_option --splay default 10 help The number of seconds across which calls to provisioning components should be made N/A N/A options args N/A N/A parser parse_args N/A N/A N/A N/A options delete_vm None N/A N/A options test_git_commit N/A N/A N/A delete_vm options N/A N/A N/A parser exit 0 N/A N/A N/A N/A options download_unittest_reports None N/A N/A options test_git_commit N/A N/A N/A download_unittest_reports options N/A N/A N/A parser exit 0 N/A N/A N/A options test_without_coverage False N/A N/A N/A N/A N/A options download_coverage_report None N/A N/A options test_git_commit N/A N/A N/A download_coverage_report options N/A N/A N/A parser exit 0 N/A N/A N/A N/A options download_remote_logs None N/A N/A options test_git_commit N/A N/A N/A download_remote_logs options N/A N/A N/A parser exit 0 N/A N/A N/A N/A options platform N/A N/A options pull_request N/A N/A N/A N/A parser exit --platform or --pull-request is required N/A N/A N/A N/A options provider N/A N/A options pull_request N/A N/A N/A N/A parser exit --provider or --pull-request is required N/A N/A options echo_parseable_environment N/A N/A N/A echo_parseable_environment options parser N/A N/A N/A parser exit 0 N/A N/A N/A N/A options test_git_commit N/A N/A options pull_request N/A N/A N/A N/A parser exit --commit or --pull-request is required N/A options N/A N/A N/A __name__ __main__ N/A N/A exit_code N/A run N/A parse N/A N/A print N/A N/A Exit Code: {0} format exit_code N/A N/A N/A sys exit exit_code