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
f0a87835
ROOT
/
test
/
zdtm.py
Search
History
1937 lines
|
ISO-8859-1
|
49 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
argparse
glob
os
subprocess
time
tempfile
shutil
re
stat
signal
atexit
sys
linecache
random
string
imp
fcntl
errno
datetime
yaml
crpc
prev_line
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
encode_flav
(f)
decode_flav
(i)
tail
(path)
rpidfile
(path)
wait_pid_die
(pid,who,tmo=30)
test_flag
(tdesc,flag)
test_fail_exc
step
__init__
(self,step)
test_fail_expected_exc
cr_action
__init__
(self,cr_action)
zdtm_test
__name
__desc
__freezer
__pid
__flavor
_bins
_env
_deps
auto_reap
__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)
stop
(self)
getpid
(self)
getname
(self)
__getcropts
(self)
getdopts
(self)
getropts
(self)
gone
(self,force=True)
print_output
(self)
static
(self)
ns
(self)
blocking
(self)
available
()
inhfd_test
__name
__fdtyp
__my_file
__peer_pid
__peer_file
__peer_file_name
__dump_opts
__message
__init__
(self,name,desc,flavor,freezer)
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
()
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
criu_bin
join_ns_file
criu_cli
run
(action,args,fault=None,strace=[],preexec=None,nowait=False)
criu_rpc
__set_opts
(criu,args,ctx)
run
(action,args,fault=None,strace=[],preexec=None,nowait=False)
criu
__test
__dump_path
__iter
__prev_dump_iter
__page_server
__restore_sibling
__join_ns
__empty_ns
__fault
__script
__sat
__dedup
__mdedup
__user
__leave_stopped
__criu
__lazy_pages_p
__page_server_p
__init__
(self,opts)
logs
(self)
set_test
(self,test)
cleanup
(self)
__ddir
(self)
set_user_id
(self)
__criu_act
(self,action,opts=[],log=None,nowait=False)
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
__failed
__nr_skip
__use_log
__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