Module Expr Str Import alias Import alias Import alias ImportFrom alias alias alias alias alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Str Str Str Expr Call NameLoad Str Str Str Str Expr Call NameLoad Str Str Str Str Expr Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Str Str Str Str Str Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Str Str Str Str BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Str Str Str Str Str Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Str Str Str Str BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Str Str Str Str Str Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Str Str Str Str BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str Str NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A 
basic set of `jut jobs` tests

 N/A re N/A signal N/A unittest tests.util jut temp_jut_tools_home create_space_in_default_deployment delete_space_from_default_deployment create_user_in_default_deployment delete_user_from_default_deployment jut config JutJobsTests N/A N/A unittest TestCase N/A N/A test_space jut_tools_testing setUpClass N/A N/A cls N/A N/A N/A N/A create_user_in_default_deployment Jut Tools User #1 jut-tools-user01 jut-tools-user01@jut.io bigdata N/A N/A create_user_in_default_deployment Jut Tools User #2 jut-tools-user02 jut-tools-user02@jut.io bigdata N/A N/A create_user_in_default_deployment Jut Tools User #3 jut-tools-user03 jut-tools-user03@jut.io bigdata N/A N/A create_space_in_default_deployment N/A JutJobsTests test_space N/A classmethod tearDownClass N/A N/A cls N/A N/A N/A N/A delete_space_from_default_deployment N/A JutJobsTests test_space N/A N/A delete_user_from_default_deployment jut-tools-user01 bigdata N/A N/A delete_user_from_default_deployment jut-tools-user02 bigdata N/A N/A delete_user_from_default_deployment jut-tools-user03 bigdata N/A classmethod test_jut_jobs_list_with_no_running_jobs N/A N/A self N/A N/A N/A N/A process N/A jut jobs list N/A N/A N/A process expect_status 0 N/A N/A N/A process expect_error No running jobs N/A test_jut_jobs_with_running_jobs N/A N/A self N/A N/A N/A 
        verify that a simple long running program can be displayed correctly
        when running `jut jobs list`

         N/A N/A temp_jut_tools_home N/A N/A configuration N/A N/A config get_default N/A app_url N/A configuration N/A app_url N/A process N/A jut config add -u jut-tools-user01 -p bigdata -a app_url -d N/A N/A N/A process expect_status 0 N/A process N/A jut run --name Persistent Job #1 -p N/A emit -limit 100 | put source_type="event" | write -space "%s" N/A JutJobsTests test_space N/A N/A N/A process expect_status 0 N/A job_id N/A N/A process read_output N/A process N/A jut jobs list -f text N/A N/A N/A process expect_status 0 N/A output N/A N/A process read_output N/A lines N/A N/A output split N/A N/A N/A re match Job ID\w+Juttle Name\w+Owner\w+Start Date\w+Persistent N/A lines N/A 0 N/A N/A N/A re match N/A %s\w+Persistent Job #1\w+jut-tools-user01.*YES job_id N/A lines N/A 1 N/A test_jut_kill_on_persistent_job N/A N/A self N/A N/A N/A 
        verify that a persistent job can be killed using `jut jobs kill`

         N/A N/A temp_jut_tools_home N/A N/A configuration N/A N/A config get_default N/A app_url N/A configuration N/A app_url N/A process N/A jut config add -u jut-tools-user02 -p bigdata -a app_url -d N/A N/A N/A process expect_status 0 N/A process N/A jut run --name Persistent Job #1 -p N/A emit -limit 10000 | put source_type="event" | write -space "%s" N/A JutJobsTests test_space N/A N/A N/A process expect_status 0 N/A job_id N/A N/A N/A N/A process read_output strip N/A process N/A jut jobs list -f text N/A N/A N/A process expect_status 0 N/A output N/A N/A process read_output N/A lines N/A N/A output split N/A N/A N/A re match Job ID\w+Juttle Name\w+Owner\w+Start Date\w+Persistent N/A lines N/A 0 N/A N/A N/A re match N/A %s\w+Persistent Job #1\w+jut-tools-user02.*YES job_id N/A lines N/A 1 N/A process N/A jut jobs kill job_id -y N/A N/A N/A process expect_status 0 N/A N/A N/A process expect_eof N/A process N/A jut jobs list N/A N/A N/A process expect_status 0 N/A N/A N/A process expect_error No running jobs N/A test_jut_jobs_connect_on_persistent_job N/A N/A self N/A N/A N/A 
        verify we can reconnect to a persistent job

         N/A N/A temp_jut_tools_home N/A N/A configuration N/A N/A config get_default N/A app_url N/A configuration N/A app_url N/A process N/A jut config add -u jut-tools-user03 -p bigdata -a app_url -d N/A N/A N/A process expect_status 0 N/A process N/A jut run --name Persistent Job #3 -p N/A emit -limit 10000 | put source_type="event", foo="bar"| (write -space "%s"; keep foo | pass) N/A JutJobsTests test_space N/A N/A N/A process expect_status 0 N/A job_id N/A N/A N/A N/A process read_output strip N/A process N/A jut jobs connect job_id -f text N/A N/A N/A process expect_output bar
 N/A N/A N/A process expect_output bar
 N/A N/A N/A process expect_output bar
 N/A N/A N/A process expect_output bar
 N/A N/A N/A process expect_output bar
 N/A N/A N/A process send_signal N/A signal SIGTERM N/A N/A N/A process expect_status N/A N/A signal SIGTERM N/A process N/A jut jobs kill job_id -y N/A N/A N/A process expect_status 0 N/A N/A N/A process expect_eof N/A process N/A jut jobs list N/A N/A N/A process expect_status 0 N/A N/A N/A process expect_error No running jobs N/A N/A