[LTP] [PATCH 0/2] Update test timeouts in an automated way
Cyril Hrubis
chrubis@suse.cz
Tue Jan 21 13:34:42 CET 2025
First patch adds a script that can parse kirk test results, calculate
timeouts and patch tests with the newly calculated timeouts.
Second patch updates tests timeouts using this script with a results
captured on RPi zero.
Cyril Hrubis (2):
scripts: Add simple script for calculating timeouts
syscalls: Update test timeouts
scripts/calc_timeouts.py | 133 ++++++++++++++++++
testcases/kernel/syscalls/access/access01.c | 1 +
testcases/kernel/syscalls/add_key/add_key05.c | 1 +
testcases/kernel/syscalls/alarm/alarm05.c | 1 +
testcases/kernel/syscalls/alarm/alarm06.c | 1 +
testcases/kernel/syscalls/alarm/alarm07.c | 1 +
testcases/kernel/syscalls/bind/bind04.c | 1 +
testcases/kernel/syscalls/bpf/bpf_prog05.c | 1 +
testcases/kernel/syscalls/bpf/bpf_prog06.c | 1 +
testcases/kernel/syscalls/bpf/bpf_prog07.c | 1 +
.../kernel/syscalls/cachestat/cachestat01.c | 1 +
.../kernel/syscalls/cachestat/cachestat04.c | 1 +
testcases/kernel/syscalls/chdir/chdir01.c | 1 +
.../kernel/syscalls/clock_gettime/leapsec01.c | 1 +
.../clock_nanosleep/clock_nanosleep01.c | 1 +
.../syscalls/clock_settime/clock_settime03.c | 1 +
.../syscalls/close_range/close_range01.c | 1 +
testcases/kernel/syscalls/connect/connect02.c | 1 +
testcases/kernel/syscalls/creat/creat05.c | 1 +
testcases/kernel/syscalls/creat/creat09.c | 1 +
testcases/kernel/syscalls/execve/execve05.c | 1 +
.../kernel/syscalls/execveat/execveat03.c | 1 +
.../kernel/syscalls/fallocate/fallocate04.c | 1 +
.../kernel/syscalls/fallocate/fallocate05.c | 1 +
.../kernel/syscalls/fallocate/fallocate06.c | 2 +-
.../kernel/syscalls/fanotify/fanotify01.c | 1 +
.../kernel/syscalls/fanotify/fanotify03.c | 1 +
.../kernel/syscalls/fanotify/fanotify05.c | 1 +
.../kernel/syscalls/fanotify/fanotify06.c | 1 +
.../kernel/syscalls/fanotify/fanotify09.c | 1 +
.../kernel/syscalls/fanotify/fanotify10.c | 1 +
.../kernel/syscalls/fchmodat2/fchmodat2_01.c | 1 +
testcases/kernel/syscalls/fcntl/fcntl14.c | 1 +
testcases/kernel/syscalls/fcntl/fcntl36.c | 1 +
.../kernel/syscalls/fdatasync/fdatasync03.c | 1 +
.../kernel/syscalls/fgetxattr/fgetxattr01.c | 1 +
.../syscalls/fremovexattr/fremovexattr01.c | 1 +
.../syscalls/fremovexattr/fremovexattr02.c | 1 +
.../kernel/syscalls/fsconfig/fsconfig01.c | 1 +
.../kernel/syscalls/fsconfig/fsconfig03.c | 1 +
.../kernel/syscalls/fsetxattr/fsetxattr01.c | 1 +
testcases/kernel/syscalls/fsmount/fsmount01.c | 1 +
testcases/kernel/syscalls/fsmount/fsmount02.c | 1 +
testcases/kernel/syscalls/fsopen/fsopen01.c | 1 +
testcases/kernel/syscalls/fspick/fspick01.c | 1 +
testcases/kernel/syscalls/fspick/fspick02.c | 1 +
testcases/kernel/syscalls/fstatfs/fstatfs01.c | 1 +
testcases/kernel/syscalls/fsync/fsync01.c | 1 +
testcases/kernel/syscalls/fsync/fsync04.c | 1 +
testcases/kernel/syscalls/getpid/getpid01.c | 1 +
.../kernel/syscalls/getxattr/getxattr02.c | 1 +
.../kernel/syscalls/getxattr/getxattr03.c | 1 +
testcases/kernel/syscalls/inotify/inotify03.c | 1 +
testcases/kernel/syscalls/inotify/inotify05.c | 1 +
testcases/kernel/syscalls/inotify/inotify07.c | 1 +
testcases/kernel/syscalls/inotify/inotify08.c | 1 +
testcases/kernel/syscalls/inotify/inotify11.c | 1 +
testcases/kernel/syscalls/ioctl/ioctl02.c | 1 +
testcases/kernel/syscalls/ioctl/ioctl04.c | 1 +
testcases/kernel/syscalls/ioctl/ioctl08.c | 1 +
testcases/kernel/syscalls/ioctl/ioctl09.c | 1 +
.../kernel/syscalls/ioctl/ioctl_ficlone02.c | 1 +
.../kernel/syscalls/ioctl/ioctl_ficlone03.c | 1 +
.../syscalls/ioctl/ioctl_ficlonerange01.c | 1 +
.../syscalls/ioctl/ioctl_ficlonerange02.c | 1 +
.../kernel/syscalls/ioctl/ioctl_loop01.c | 1 +
66 files changed, 198 insertions(+), 1 deletion(-)
create mode 100755 scripts/calc_timeouts.py
--
2.45.2
More information about the ltp
mailing list