crash.software
Projects
Pull Requests
Issues
Builds
criu
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
criu
Files
🤬
Sign In
32d6e7b5
ROOT
/
test
/
zdtm.py
Search
History
2298 lines
|
ISO-8859-1
|
61 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
absolute_import
division
print_function
unicode_literals
str
open
range
zip
int
input
argparse
glob
os
subprocess
time
tempfile
shutil
re
stat
signal
atexit
sys
linecache
random
string
fcntl
errno
datetime
yaml
struct
crpc
prev_line
alarm
(*args)
traceit
(f,e,a)
tests_root
clean_tests_root
()
make_tests_root
()
report_dir
init_report
(path)
add_to_report
(path,tgt_name)
add_to_output
(path)
prev_crash_reports
check_core_files
()
arch
host_flavor
name
ns
root
__init__
(self,opts)
init
(self,l_bins,x_bins)
fini
(self)
clean
()
ns_flavor
__root_dirs
name
ns
uns
root
root_mounted
__init__
(self,opts)
__copy_one
(self,fname)
__copy_libs
(self,binary)
__mknod
(self,name,rdev=None)
__construct_root
(self)
__copy_deps
(self,deps)
init
(self,l_bins,x_bins)
fini
(self)
clean
()
userns_flavor
(ns_flavor)
name
uns
__init__
(self,opts)
init
(self,l_bins,x_bins)
clean
()
flavors
flavors_codes
encode_flav
(f)
decode_flav
(i)
tail
(path)
rpidfile
(path)
wait_pid_die
(pid,who,tmo=30)
test_flag
(tdesc,flag)
test_fail_exc
(Exception)
step
__init__
(self,step)
__str__
(self)
test_fail_expected_exc
(Exception)
cr_action
__init__
(self,cr_action)
zdtm_test
__name
__desc
__freezer
__pid
__flavor
_bins
_env
_deps
auto_reap
__timeout
__init__
(self,name,desc,flavor,freezer)
__make_action
(self,act,env=None,root=None)
__pidfile
(self)
__wait_task_die
(self)
__add_wperms
(self)
start
(self)
kill
(self,sig=signal.SIGKILL)
pre_dump_notify
(self)
stop
(self)
getpid
(self)
getname
(self)
__getcropts
(self)
getdopts
(self)
getropts
(self)
unlink_pidfile
(self)
gone
(self,force=True)
print_output
(self)
static
(self)
ns
(self)
blocking
(self)
available
()
cleanup
()
load_module_from_file
(name,path)
importlib.util
imp
inhfd_test
__name
__fdtyp
__peer_pid
__files
__peer_file_names
__dump_opts
__messages
__fds
__init__
(self,name,desc,flavor,freezer)
__get_message
(self,i)
start
(self)
stop
(self)
kill
(self)
getname
(self)
getpid
(self)
gone
(self,force=True)
getdopts
(self)
getropts
(self)
print_output
(self)
static
(self)
blocking
(self)
available
()
cleanup
()
groups_test
(zdtm_test)
__real_name
__subs
_env
__init__
(self,name,desc,flavor,freezer)
__get_start_cmd
(self,name)
start
(self)
stop
(self)
test_classes
join_ns_file
criu_cli
run
(action,args,criu_bin,fault=None,strace=[],preexec=None,nowait=False)
criu_rpc_process
wait
(self)
terminate
(self)
criu_rpc
__set_opts
(criu,args,ctx)
run
(action,args,criu_bin,fault=None,strace=[],preexec=None,nowait=False)
criu
__test
__dump_path
__iter
__prev_dump_iter
__page_server
__remote_lazy_pages
__lazy_pages
__lazy_migrate
__restore_sibling
__join_ns
__empty_ns
__fault
__script
__sat
__dedup
__mdedup
__user
__leave_stopped
__criu
__show_stats
__lazy_pages_p
__page_server_p
__dump_process
__criu_bin
__crit_bin
__init__
(self,opts)
fini
(self)
logs
(self)
set_test
(self,test)
cleanup
(self)
__ddir
(self)
set_user_id
(self)
__criu_act
(self,action,opts=[],log=None,nowait=False)
show_stats
(self,action)
dump
(self,action,opts=[])
restore
(self)
check
(feature)
available
()
kill
(self)
try_run_hook
(test,args)
do_sbs
init_sbs
()
sbs
(what)
iter_parm
(opt,dflt)
cr
(cr_api,test,opts)
get_visible_state
(test)
check_visible_state
(test,state,opts)
glob
noop_freezer
kernel
__init__
(self)
attach
(self)
freeze
(self)
thaw
(self)
getdopts
(self)
getropts
(self)
cg_freezer
__path
__state
kernel
__init__
(self,path,state)
attach
(self)
__set_state
(self,state)
freeze
(self)
thaw
(self)
getdopts
(self)
getropts
(self)
get_freezer
(desc)
cmp_ns
(ns1,match,ns2,msg)
check_joinns_state
(t)
pstree_each_pid
(root_pid)
is_proc_stopped
(pid)
get_thread_status
(thread_dir)
is_thread_stopped
(status)
pstree_check_stopped
(root_pid)
pstree_signal
(root_pid,signal)
do_run_test
(tname,tdesc,flavs,opts)
Launcher
__opts
__total
__runtest
__nr
__max
__subs
__fail
__file_report
__junit_file
__junit_test_cases
__failed
__nr_skip
__use_log
__taint
__init__
(self,opts,nr_tests)
__show_progress
(self,msg)
skip
(self,name,reason)
run_test
(self,name,desc,flavor)
__wait_one
(self,flags)
__wait_all
(self)
wait
(self)
wait_all
(self)
finish
(self)
all_tests
(opts)
default_test
get_test_desc
(tname)
self_checkskip
(tname)
print_fname
(fname,typ)
print_sep
(title,sep="=",width=80)
print_error
(line)
grep_errors
(fname)
run_tests
(opts)
sti_fmt
show_test_info
(t)
list_tests
(opts)
group
__tests
__desc
__deps
__init__
(self,tname,tdesc)
__is_mergeable_desc
(self,desc)
merge
(self,tname,tdesc)
size
(self)
__dump_meta
(self,fname,ext)
dump
(self,fname)
group_tests
(opts)
clean_stuff
(opts)
status
pid
tinfo
p
sp
rp
lp
gp
cp
opts
All occurrences
Please wait...
Page is in error, reload to recover