Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp Dict Str Str Str Str Str Str Str NameLoad Str Str Call NameLoad NameLoad NameLoad Str NameLoad Str comprehension NameStore Call NameLoad Num Call NameLoad NameLoad For NameStore NameLoad body TryExcept body Print BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Print BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Raise If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp Dict Str Str Str Str Str Str Str NameLoad Str Str BinOpMod Str NameLoad Str NameLoad Str comprehension NameStore Call NameLoad Num Call NameLoad NameLoad Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad For NameStore NameLoad body TryExcept body Print BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Print BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Raise decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad Print AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad NameLoad NameLoad Assert CompareEq NameLoad Call NameLoad NameLoad Assert CompareIn Str NameLoad Assert CompareIn Str NameLoad For NameStore AttributeLoad NameLoad attr body Assert CompareIn BinOpMod Str NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call NameLoad NameLoad Print AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assert UnaryOpNot Call NameLoad ListComp CompareIn NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assert Call NameLoad ListComp CompareNotIn NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assert Call NameLoad ListComp CompareIn NameLoad NameLoad comprehension NameStore NameLoad decorator_list
N/A N/A json behave then behave when paasta_tools.chronos_tools compose_job_id paasta_tools.utils _run launch_jobs N/A N/A context num_jobs state service job N/A N/A N/A client N/A context chronos_client N/A jobs N/A N/A async command epsilon name owner disabled schedule False echo 1 PT15M N/A compose_job_id service job paasta True R/2014-01-01T00:00:00Z/PT60M N/A x N/A range 0 N/A int num_jobs N/A job jobs N/A N/A N/A N/A N/A attempting to create job %s N/A job N/A name N/A N/A N/A client add job N/A N/A N/A Exception N/A N/A N/A Error creating test job: %s N/A N/A json dumps job N/A N/A N/A state configured N/A N/A N/A context configured_job_names N/A N/A job N/A name N/A job jobs N/A N/A N/A state unconfigured N/A N/A N/A context unconfigured_job_names N/A N/A job N/A name N/A job jobs N/A N/A when I launch {num_jobs} {state} jobs for the service "{service}" with scheduled chronos instance "{job}" launch_non_paasta_jobs N/A N/A context num_jobs N/A N/A N/A client N/A context chronos_client N/A jobs N/A N/A async command epsilon name owner disabled schedule False echo 1 PT15M N/A foobar%d job rogue True R/2014-01-01T00:00:00Z/PT60M N/A job N/A range 0 N/A int num_jobs N/A N/A context non_paasta_jobs N/A N/A job N/A name N/A job jobs N/A job jobs N/A N/A N/A N/A N/A attempting to create job %s N/A job N/A name N/A N/A N/A client add job N/A N/A N/A Exception N/A N/A N/A Error creating test job: %s N/A N/A json dumps job N/A N/A N/A when I launch {num_jobs} non-paasta jobs check_cleanup_chronos_jobs_output N/A N/A context expected_return_code N/A N/A N/A cmd N/A ../paasta_tools/cleanup_chronos_jobs.py --soa-dir %s N/A context soa_dir N/A N/A exit_code output N/A _run cmd N/A N/A context unconfigured_job_names N/A N/A Got exitcode %s with output:
%s N/A exit_code output N/A N/A exit_code N/A int expected_return_code N/A N/A Successfully Removed Tasks (if any were running) for: output N/A N/A Successfully Removed Jobs: output N/A job N/A context unconfigured_job_names N/A N/A N/A N/A   %s job output N/A N/A then cleanup_chronos_jobs exits with return code "{expected_return_code}" and the correct output run_cleanup_chronos_jobs N/A N/A context N/A N/A N/A cmd N/A ../paasta_tools/cleanup_chronos_jobs.py --soa-dir %s N/A context soa_dir N/A N/A N/A context exit_code N/A context output N/A _run cmd N/A N/A context output N/A N/A when we run cleanup_chronos_jobs check_non_paasta_jobs N/A N/A context N/A N/A N/A jobs N/A N/A N/A context chronos_client list N/A running_job_names N/A N/A job N/A name N/A job jobs N/A N/A N/A any N/A N/A job_name running_job_names N/A job_name N/A context non_paasta_jobs N/A N/A then the non-paasta jobs are not in the job list assert_jobs_not_in_job_list N/A N/A context state N/A N/A N/A jobs N/A N/A N/A context chronos_client list N/A N/A state configured N/A N/A state_list N/A context configured_job_names N/A N/A N/A state unconfigured N/A N/A state_list N/A context unconfigured_job_names N/A N/A assert_no_job_names_in_list state_list jobs N/A N/A then the {state} chronos jobs are not in the job list assert_jobs_all_in_job_list N/A N/A context state N/A N/A N/A jobs N/A N/A N/A context chronos_client list N/A N/A state configured N/A N/A state_list N/A context configured_job_names N/A N/A N/A state unconfigured N/A N/A state_list N/A context unconfigured_job_names N/A N/A assert_all_job_names_in_list state_list jobs N/A N/A then the {state} chronos jobs are in the job list assert_no_job_names_in_list N/A N/A names jobs N/A N/A N/A running_job_names N/A N/A job N/A name N/A job jobs N/A N/A all N/A N/A job_name running_job_names N/A job_name names N/A assert_all_job_names_in_list N/A N/A names jobs N/A N/A N/A running_job_names N/A N/A job N/A name N/A job jobs N/A N/A all N/A N/A job_name running_job_names N/A job_name names N/A