Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
New tests
splice07, accept03, readahead01:
Tests that feeds the syscall all kinds of invalid file descriptors and checks that the syscall fails properly.
proc_sched_rt01 a regression test for:
c1fc6484e1fb ("sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset") 079be8fc6309 ("sched/rt: Disallow writing invalid values to sched_rt_period_us")
ksm07 a test for KSM smart-scan.
pathconf02 negative testcases for pathconf()
pipe15 A regresson test for:
46c4c9d1beb7 ("pipe: increase minimum default pipe size to 2 pages")
nft02 A regression test for:
515ad530795c ("netfilter: nf_tables: do not ignore genmask when looking up chain by id") aka CVE-2023-31248
sched_setscheduler04 a test for SCHED_RESET_ON_FORK
setsockopt10 A regression test for: 2c02d41d71f9 ("net/ulp: prevent ULP without clone op from entering the LISTEN status") aka CVE-2023-0461
gettid02 A basic gettid02 test.
splice06 A test that splicing from a /proc files works.
Increased coverage
ioctl02 cover more modern termios ioctls() as well.
fanotify13 More test coverage for overlayfs.
input* test now check UI_GET_NAME ioctl() too.
Removed tests
fork12 Which was a naive fork bomb test, we do have other tests (setrlimit01.c, ...) that better cover this scenario.
mongo test framework
Which was test reiser, ext2 and jfs unmaintained for a decade.
simple_tracer.c Tracing test from 2009 that does not compile anymore.
runtest/fsx-linux This is consolidation of runtest files, since these test duplicated in ltp-aiodio.part3.
testscripts/autofs{1,4}.sh, testscripts/sysfs.sh, testscripts/ltp-scsi_debug.sh, testscripts/ltpdmmapper.sh
These were unmaintained and unused scripts.
scsi/* A testsuite with a custom kernel module for kernel 2.5 that didn't compile cleanly for decades.
load_stress_all_kernel_modules.sh Broken for quite some time.
The LTP library now has a functions to iterate over different file descriptors. That allows us to easily implement more comprehensive tests that feed various syscalls all possible file descriptors and check that the syscall fails properly with invalid combinations. Most notable use of this library is the newly introduced splice07.c test.
The minimal size of the device for a few filesystem tests was increased to 1GB because modern filesystems, most notably Btrfs does not work properly on smaller devices.
LTP now tests bcachefs if kernel support and bcache.mkfs is present
30 testcases were converted to the new test library
brought to you by Petr Vorel
The performance tests in net.features can be now skipped by setting
LTP_NET_FEATURES_IGNORE_PERFORMANCE_FAILURE=1
which is useful when testing is
executed on VMs on a overloaded host or if we are running tests with a
background load.
Kirk was updated to v1.2
This version brings the following updates:
The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at:
https://github.com/linux-test-project/ltp/releases/tag/20240129
The project pages as well as GIT repository are hosted on GitHub:
https://github.com/linux-test-project/ltp http://linux-test-project.github.io/
If you ever wondered how to write a LTP testcase, don't miss our developer documentation at:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines
https://github.com/linux-test-project/ltp/wiki/C-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Network-API
https://github.com/linux-test-project/ltp/wiki/Shell-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Case-Tutorial
https://github.com/linux-test-project/ltp/wiki/Build-System
Patches, new tests, bugs, comments or questions should go to to our mailing list at [email protected].
Many thanks to the people contributing to this release:
git shortlog -s -e -n 20230929..
147 Petr Vorel <[email protected]>
25 Yang Xu <[email protected]>
21 Andrea Cervesato <[email protected]>
18 Martin Doucha <[email protected]>
12 Cyril Hrubis <[email protected]>
11 Marius Kittler <[email protected]>
8 Wei Gao <[email protected]>
7 Amir Goldstein <[email protected]>
7 Richard Palethorpe <[email protected]>
6 Avinesh Kumar <[email protected]>
6 Edward Liaw <[email protected]>
6 Jan Kara <[email protected]>
5 Jan Stancek <[email protected]>
4 Hongchen Zhang <[email protected]>
4 Kevin Brodsky <[email protected]>
4 Xiao Yang <[email protected]>
3 Shiyang Ruan <[email protected]>
2 Li Wang <[email protected]>
2 Li Zhijian <[email protected]>
2 Pengfei Xu <[email protected]>
2 Stefan Roesch <[email protected]>
1 Alexander Kanavin <[email protected]>
1 Brennan Ashton <[email protected]>
1 Korobeynikov Gleb <[email protected]>
1 Marcos Paulo de Souza <[email protected]>
1 Mengchi Cheng <[email protected]>
1 Murphy Zhou <[email protected]>
1 Shizhao Chen <[email protected]>
1 Shoukui Zhang <[email protected]>
1 Subramanya Swamy <[email protected]>
1 haopengxiang <[email protected]>
1 nietingting <[email protected]>
1 wangxuewen <[email protected]>
1 ybonatakis <[email protected]>
And also thanks to patch reviewers:
git log 20230929.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
111 Petr Vorel <[email protected]>
70 Cyril Hrubis <[email protected]>
47 Li Wang <[email protected]>
35 Richard Palethorpe <[email protected]>
14 Martin Doucha <[email protected]>
8 Amir Goldstein <[email protected]>
7 Xiao Yang <[email protected]>
7 Marius Kittler <[email protected]>
6 Jan Kara <[email protected]>
4 Avinesh Kumar <[email protected]>
3 Andrea Cervesato <[email protected]>
3 Jan Stancek <[email protected]>
2 Yang Xu <[email protected]>
1 Petr Vorel <[email protected]>
1 Christian Brauner <[email protected]>
New tests
Increased coverage
ebizzy benchmark counter increment races and overflows were fixed
A few more testcases were converted to guarded buffers that is data passed by pointer to kernel are immediatelly following a PROT_NONE page and followed by canaries to catch off-by-one errors
Tests that modprobe kernel modules are now skipped when secure boot is enabled on x86 and ppc64le
ioprio tests now use IOPRIO_PRIO_NUM instead of hardcoded value to check for prio range
35 testcases were converted to the new test library
The new runltp-ng version is now called kirk
There is now experimental LTX support implemented
The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at:
https://github.com/linux-test-project/ltp/releases/tag/YYYYMMDD
The project pages as well as GIT repository are hosted on GitHub:
https://github.com/linux-test-project/ltp http://linux-test-project.github.io/
If you ever wondered how to write a LTP testcase, don't miss our developer documentation at:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines
https://github.com/linux-test-project/ltp/wiki/C-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Network-API
https://github.com/linux-test-project/ltp/wiki/Shell-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Case-Tutorial
https://github.com/linux-test-project/ltp/wiki/Build-System
Patches, new tests, bugs, comments or questions should go to to our mailing list at [email protected].
Many thanks to the people contributing to this release:
$ git shortlog -s -e -n 20230516..
71 Petr Vorel <[email protected]>
32 Yang Xu <[email protected]>
26 Avinesh Kumar <[email protected]>
22 Andrea Cervesato <[email protected]>
22 Martin Doucha <[email protected]>
13 Cyril Hrubis <[email protected]>
13 Li Wang <[email protected]>
6 Wei Gao <[email protected]>
5 Souta Kawahara <[email protected]>
4 Amir Goldstein <[email protected]>
4 Marius Kittler <[email protected]>
3 Richard Palethorpe <[email protected]>
3 Ci Zhou <[email protected]>
2 Damien Le Moal <[email protected]>
2 Jan Kara <[email protected]>
2 Konstantin Khorenko <[email protected]>
2 Min Li <[email protected]>
2 Murphy Zhou <[email protected]>
2 Vishal Chourasia <[email protected]>
1 Ashwin Dayanand Kamat <[email protected]>
1 Duncan.chu <[email protected]>
1 Dylan Jhong <[email protected]>
1 Edward Liaw <[email protected]>
1 Hongchen Zhang <[email protected]>
1 Jeff Layton <[email protected]>
1 Leo Yu-Chi Liang <[email protected]>
1 Nageswara R Sastry <[email protected]>
1 Randolph <[email protected]>
1 Rick Edgecombe <[email protected]>
1 Shizhao Chen <[email protected]>
1 Takuya Wakazono <[email protected]>
1 Zachary Leaf <[email protected]>
1 Li Qiang <[email protected]>
1 Ioannis Bonatakis <[email protected]>
And also thanks to patch reviewers:
$ git log 20230516.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
104 Cyril Hrubis <[email protected]>
66 Petr Vorel <[email protected]>
46 Li Wang <[email protected]>
15 Martin Doucha <[email protected]>
14 Avinesh Kumar <[email protected]>
14 Richard Palethorpe <[email protected]>
8 Xiao Yang <[email protected]>
3 Niklas Cassel <[email protected]>
3 Marius Kittler <[email protected]>
3 Damien Le Moal <[email protected]>
2 Srikar Dronamraju <[email protected]>
2 Shrikanth Hegde <[email protected]>
2 Linus Walleij <[email protected]>
2 Amir Goldstein <[email protected]>
1 Yang Xu <[email protected]>
1 Vlastimil Babka <[email protected]>
1 Murphy Zhou <[email protected]>
1 Jeff Moyer <[email protected]>
1 Andrea Cervesato <[email protected]>
New tests
Increased coverage
fs_fill test was fixed on 256+ CPUs
loongarch support was added
brought to you by Petr Vorel
The new runltp-ng was finally included in the previous release tarball
There were no changes done in this release, however parallel text execution is being worked on, possibly there would be preview ready for the next release
tomoyo testsuite which is maintained elsewhere by tomoyo devs
execltp script which was unmaintained for years
The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at:
https://github.com/linux-test-project/ltp/releases/tag/20230516
The project pages as well as GIT repository are hosted on GitHub:
https://github.com/linux-test-project/ltp http://linux-test-project.github.io/
If you ever wondered how to write a LTP testcase, don't miss our developer documentation at:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines
https://github.com/linux-test-project/ltp/wiki/C-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Network-API
https://github.com/linux-test-project/ltp/wiki/Shell-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Case-Tutorial
https://github.com/linux-test-project/ltp/wiki/Build-System
Patches, new tests, bugs, comments or questions should go to to our mailing list at [email protected].
Many thanks to the people contributing to this release:
git shortlog -s -e -n 20230127..
58 Petr Vorel <[email protected]>
20 Andrea Cervesato via ltp <[email protected]>
19 Yang Xu <[email protected]>
15 Martin Doucha <[email protected]>
11 Andrea Cervesato <[email protected]>
11 Edward Liaw <[email protected]>
10 Wei Gao <[email protected]>
8 Avinesh Kumar <[email protected]>
5 Cyril Hrubis <[email protected]>
5 Teo Couprie Diaz <[email protected]>
4 Li Wang <[email protected]>
3 Hao Ge <[email protected]>
3 Ping Fang <[email protected]>
3 Richard Palethorpe <[email protected]>
3 Tarun Sahu <[email protected]>
2 Hao Zeng <[email protected]>
2 Leo Yu-Chi Liang <[email protected]>
2 Sowmya Indranna <[email protected]>
1 Andrei Gherzan <[email protected]>
1 Ashwin Dayanand Kamat via ltp <[email protected]>
1 David Hildenbrand <[email protected]>
1 Enze Li <[email protected]>
1 Fabrice Fontaine <[email protected]>
1 Frank He <[email protected]>
1 Hui Min Mina Chou <[email protected]>
1 Jan Stancek <[email protected]>
1 Liam R. Howlett <[email protected]>
1 Mahesh Kumar G <[email protected]>
1 Nikita Yushchenko <[email protected]>
1 Paulson Raja L <[email protected]>
1 Seth Forshee (DigitalOcean) <[email protected]>
1 Vignesh Raman <[email protected]>
1 William Roche <[email protected]>
And also thanks to patch reviewers:
git log 20230127.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
68 Cyril Hrubis <[email protected]>
60 Petr Vorel <[email protected]>
36 Richard Palethorpe <[email protected]>
35 Li Wang <[email protected]>
7 Jan Stancek <[email protected]>
4 Avinesh Kumar <[email protected]>
3 Yang Xu <[email protected]>
2 Andrea Cervesato <[email protected]>
1 Tetsuo Handa <[email protected]>
New tests
Increased coverage
The minimal supported kernel version was raised to 3.10
The AIO test cleanup was finished with rewrite of aiocp and aio-stress
LTP is now compiled with explicit -std=gnu99 which forces reasonably modern C even on oldest distributions we still have to support
LTP build system now forces LC_{COLLATE, NUMERIC}=C in order to have reproducible builds
31 tests were cleaned up and converted for the new test API
The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at:
https://github.com/linux-test-project/ltp/releases/tag/20230127
The project pages as well as GIT repository are hosted on GitHub:
https://github.com/linux-test-project/ltp http://linux-test-project.github.io/
If you ever wondered how to write a LTP testcase, don't miss our developer documentation at:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines
https://github.com/linux-test-project/ltp/wiki/C-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Network-API
https://github.com/linux-test-project/ltp/wiki/Shell-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Case-Tutorial
https://github.com/linux-test-project/ltp/wiki/BuildSystem
Patches, new tests, bugs, comments or questions should go to to our mailing list at [email protected].
Many thanks to the people contributing to this release:
git shortlog -s -e -n 20220930..
50 Petr Vorel <[email protected]>
34 Yang Xu <[email protected]>
33 Tarun Sahu <[email protected]>
28 Avinesh Kumar <[email protected]>
21 Richard Palethorpe <[email protected]>
13 Martin Doucha <[email protected]>
15 Andrea Cervesato <[email protected]>
9 Li Wang <[email protected]>
9 Zhao Gongyi <[email protected]>
6 Akihiko Odaki <[email protected]>
6 David Hildenbrand <[email protected]>
6 Jan Stancek <[email protected]>
6 Tudor Cretu <[email protected]>
6 Luo xiaoyu <[email protected]>
4 Wei Gao <[email protected]>
3 Edward Liaw via ltp <[email protected]>
3 Jan Kara <[email protected]>
2 Alessandro Carminati <[email protected]>
2 Alex <[email protected]>
2 Cyril Hrubis <[email protected]>
2 Pengfei Xu <[email protected]>
2 Rong Tao <[email protected]>
2 Teo Couprie Diaz <[email protected]> 1 He Zhe <[email protected]>
1 Huangjie Liao <[email protected]>
1 Ilya Kurdyukov <[email protected]>
1 Jie2x Zhou <[email protected]>
1 Joerg Vehlow <[email protected]>
1 Khem Raj <[email protected]>
1 Murphy Zhou <[email protected]>
1 Nikolaus Voss <[email protected]>
1 Randolph <[email protected]>
1 Sven Schnelle <[email protected]>
1 Vitaly Chikunov <[email protected]>
1 [email protected] <[email protected]>
1 wangkaiyuan <[email protected]>
1 zijunzhao <[email protected]>
And also thanks to patch reviewers:
git log 20220930.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
106 Richard Palethorpe <[email protected]>
70 Petr Vorel <[email protected]>
47 Cyril Hrubis <[email protected]>
45 Li Wang <[email protected]>
14 Yang Xu <[email protected]>
7 Jan Stancek <[email protected]>
8 Martin Doucha <[email protected]>
3 Avinesh Kumar <[email protected]>
2 Pengfei Xu <[email protected]>
1 Richard Purdie <[email protected]>
1 Khem Raj <[email protected]>
1 Christian Brauner (Microsoft) <[email protected]>
1 Chang S. Bae <[email protected]>
1 Andrea Cervesato <[email protected]>
1 Akihiko Odaki <[email protected]>
New tests
Increased coverage
Minimal filesystem size was increased from 256MB to 300MB in order to be able to format it with XFS (mkfs.xfs 5.19)
More testcaseses were made runtime aware + runtime fixes
Improvements in the shell test library
Improvements in open posix testsuite build and installation
Shell cgroup testcases were rewritten and cleaned up
46 tests were rewritten to the new library
brought to you by Petr Vorel
The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at:
https://github.com/linux-test-project/ltp/releases/tag/20220930
The project pages as well as GIT repository are hosted on GitHub:
https://github.com/linux-test-project/ltp http://linux-test-project.github.io/
If you ever wondered how to write a LTP testcase, don't miss our developer documentation at:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines
https://github.com/linux-test-project/ltp/wiki/C-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Network-API
https://github.com/linux-test-project/ltp/wiki/Shell-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Case-Tutorial
https://github.com/linux-test-project/ltp/wiki/BuildSystem
Patches, new tests, bugs, comments or questions should go to to our mailing list at [email protected].
Many thanks to the people contributing to this release:
git shortlog -s -e -n 20220527..
97 Petr Vorel <[email protected]>
50 Avinesh Kumar <[email protected]>
26 Martin Doucha <[email protected]>
22 Amir Goldstein <[email protected]>
19 Luke Nowakowski-Krijger <[email protected]>
12 Cyril Hrubis <[email protected]>
12 Yang Xu <[email protected]>
10 Andrea Cervesato <[email protected]>
10 Li Wang <[email protected]>
9 Richard Palethorpe <[email protected]>
7 Jan Stancek <[email protected]>
6 Andrea Cervesato via ltp <[email protected]>
6 Edward Liaw <[email protected]>
5 Joerg Vehlow <[email protected]>
5 Tudor Cretu <[email protected]>
5 Zhao Gongyi <[email protected]>
3 Dylan Jhong <[email protected]>
2 Andrea Cervesato <[email protected]>
2 Chen Hanxiao <[email protected]>
2 Hongchen Zhang <[email protected]>
2 Rong Tao <[email protected]>
1 Bogdan Lezhepekov <[email protected]>
1 Cristian Marussi <[email protected]>
1 Huangjie Liao <[email protected]>
1 Jan Kara <[email protected]>
1 Jun Huang <[email protected]>
1 Khem Raj <[email protected]>
1 Leo Yu-Chi Liang <[email protected]>
1 Luo xiaoyu <[email protected]>
1 Ross Burton <[email protected]>
1 Sharan Turlapati <[email protected]>
1 Xiao Liang <[email protected]>
1 Xiao Yang <[email protected]>
1 Zhao Gongyi via ltp <[email protected]>
And also thanks to patch reviewers:
git log 20220527.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
118 Petr Vorel <[email protected]>
114 Cyril Hrubis <[email protected]>
77 Li Wang <[email protected]>
65 Richard Palethorpe <[email protected]>
18 Jan Kara <[email protected]>
13 Martin Doucha <[email protected]>
6 Yang Xu <[email protected]>
5 Matthew Bobrowski <[email protected]>
4 Amir Goldstein <[email protected]>
2 Jan Stancek <[email protected]>
1 Thomas Petazzoni <[email protected]>
1 Joerg Vehlow <[email protected]>
1 Christian Brauner (Microsoft) <[email protected]>
1 Avinesh Kumar <[email protected]>
New tests
Increased coverage
KVM library was written for LTP
The concept of test runtime was introduced
Removed tests
The test library was fixed to terminate all leftover processes in the case that the main test process dies or exits
New sparse check for {} terminator for struct arrays in tst_test has been implemented
Shell library improvements
Userns tests were rewritten into the new test API
Mountns tests were rewritten into the new test API
33 tests were rewritten to the new library
In-flight patches include:
brought to you by Petr Vorel
Several fixes (e.g. important nfs_lib: Fix fsid randomisation)
Ongoing discussion where should be SCTP testsuite home
The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at:
https://github.com/linux-test-project/ltp/releases/tag/20220527
The project pages as well as GIT repository are hosted on GitHub:
https://github.com/linux-test-project/ltp http://linux-test-project.github.io/
If you ever wondered how to write a LTP testcase, don't miss our developer documentation at:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines
https://github.com/linux-test-project/ltp/wiki/C-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Network-API
https://github.com/linux-test-project/ltp/wiki/Shell-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Case-Tutorial
https://github.com/linux-test-project/ltp/wiki/BuildSystem Patches, new tests, bugs, comments or questions should go to to our mailing list at [email protected].
Many thanks to the people contributing to this release:
git shortlog -s -e -n 20220121..
72 Petr Vorel <[email protected]>
51 Cyril Hrubis <[email protected]>
42 Andrea Cervesato <[email protected]>
22 Li Wang <[email protected]>
21 Richard Palethorpe <[email protected]>
17 Martin Doucha <[email protected]>
15 Yang Xu <[email protected]>
10 Jan Stancek <[email protected]>
10 Zhao Gongyi <[email protected]>
7 Amir Goldstein <[email protected]>
6 Dai Shili <[email protected]>
6 Bogdan Lezhepekov <[email protected]>
4 tangmeng <[email protected]>
2 Chunyu Hu <[email protected]>
2 Kushal Chand <[email protected]>
2 xiaoshoukui <[email protected]>
1 Alexander Ivanov <[email protected]>
1 Alexander Kanavin <[email protected]>
1 Andrea Arcangeli <[email protected]>
1 Edward Liaw via ltp <[email protected]>
1 Fabrice Fontaine <[email protected]>
1 Pavel Tikhomirov <[email protected]>
1 Wang Kunfeng via ltp <[email protected]>
1 Yael Tzur via ltp <[email protected]>
1 ihsinme <[email protected]>
And also thanks to patch reviewers:
git log 20220121.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
148 Cyril Hrubis <[email protected]>
105 Petr Vorel <[email protected]>
73 Li Wang <[email protected]>
21 Yang Xu <[email protected]>
17 Richard Palethorpe <[email protected]>
10 Martin Doucha <[email protected]>
6 Jan Stancek <[email protected]>
1 Waiman Long <[email protected]>
1 Jan Kara <[email protected]>
1 Gabriel Krisman Bertazi <[email protected]>
1 Andrea Cervesato <[email protected]>
1 Alexey Kodanev <[email protected]>
Since the last release 269 patches by 32 authors were merged.
Patch review is what most of the projects struggle with and LTP is no different. If you can spare some effort helping with the patch review is more than welcomed.
New tests
Increased coverage
The test library process, that watches over timeouts and carries on with the test cleanup, now adjusts it's own OOM score so that it's more likely that it outlives the child process that runs the test
First half of the ltp-aiodio testcases was rewritten and cleaned up
39 tests were rewritten to the new library
'make check' improvements
The test library gained support for 'known-fail' tag
The test library gained support for version check when a tool is required to be installed on a system, e.g. .needs_cmds = {"mkfs.ext4 >= 1.43.0", NULL} will skip the test unless the mkfs.ext4 is present and the version is at least 1.43.0
The test library added .supported_archs field to the test_test structure which can be used to limit the test to a subset of CPU architectures
The test library added .skip_in_compat flag to skip tests in compat (-m32) mode
The shell library gained support boolean expressions on kernel .config variables
New environment variable KCONFIG_SKIP_CHECK was added that allows users to skip kernel config checks
New environment variable LTP_SINGLE_FS_TYPE was added that can be used to limit tests that run against all filesystem to a single one
The new library testcases now print environment variables in help (-h)
The test metadata are parsed during the build and installed by default now, which is another step towards making the test executor smarter.
In-flight patchse include:
Unfortunately the runltp-ng is still not included in LTP, we will try to work on it during the next development cycle as well, but we can't promise it will be rock stable to be included in the next release either.
brought to you by Petr Vorel
The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at:
https://github.com/linux-test-project/ltp/releases/tag/20220121
The project pages as well as GIT repository are hosted on GitHub:
https://github.com/linux-test-project/ltp http://linux-test-project.github.io/
If you ever wondered how to write a LTP testcase, don't miss our developer documentation at:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines
https://github.com/linux-test-project/ltp/wiki/C-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Network-API
https://github.com/linux-test-project/ltp/wiki/Shell-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Case-Tutorial
https://github.com/linux-test-project/ltp/wiki/BuildSystem
Patches, new tests, bugs, comments or questions should go to to our mailing list at [email protected].
Many thanks to the people contributing to this release: git shortlog -s -e -n 20210927..
51 Petr Vorel <[email protected]>
47 Yang Xu <[email protected]>
31 Richard Palethorpe <[email protected]>
24 Joerg Vehlow <[email protected]>
17 Cyril Hrubis <[email protected]>
15 Andrea Cervesato <[email protected]>
14 tangmeng <[email protected]>
9 Gabriel Krisman Bertazi <[email protected]>
7 zhanglianjie <[email protected]>
6 Dai Shili <[email protected]>
6 Li Wang <[email protected]>
6 Martin Doucha <[email protected]>
4 Jan Stancek <[email protected]>
3 Alex Henrie <[email protected]>
3 Matthew Bobrowski <[email protected]>
3 Zhao Gongyi <[email protected]>
3 sujiaxun <[email protected]>
2 Krzysztof Kozlowski <[email protected]>
2 QI Fuli <[email protected]>
2 Ralph Siemsen <[email protected]>
2 YiLin.Li <[email protected]>
2 wenyehai <[email protected]>
1 Bogdan Lezhepekov <[email protected]>
1 Egor Petrov <[email protected]>
1 Fabian Vogt <[email protected]>
1 Fabrice Fontaine <[email protected]>
1 Masayoshi Mizuma <[email protected]>
1 Nikita Yushchenko <[email protected]>
1 Thadeu Lima de Souza Cascardo <[email protected]>
1 Wang Kunfeng <[email protected]>
1 chengweibin <[email protected]>
1 sujiauxn <[email protected]>
And also thanks to patch reviewers:
git log 20210927.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
154 Cyril Hrubis <[email protected]>
71 Petr Vorel <[email protected]>
29 Li Wang <[email protected]>
24 Richard Palethorpe <[email protected]>
12 Amir Goldstein <[email protected]>
11 Yang Xu <[email protected]>
9 Martin Doucha <[email protected]>
3 Tim Bird <[email protected]>
3 Matthew Bobrowski <[email protected]>
3 Jan Stancek <[email protected]>
3 Eric Biggers <[email protected]>
3 Alexey Kodanev <[email protected]>
2 Liu Xinpeng <[email protected]>
2 Andrea Cervesato <[email protected]>
1 Petr Vorel <[email protected]>
1 Mimi Zohar <[email protected]>
Since the last release 483 patches by 40 authors were merged.
This is a record breaking release by the number of patches as well as by the amount of newly implemented functionality. Many thanks to all contributors!
And even more thanks to the reviewers!
Patch review is what most of the projects struggle with and LTP is no different. If you can spare some effort helping with the patch review is more than welcomed.
New tests
New regression tests
Increased coverage
75 tests were rewritten to the new library
Removed tests
The CI was moved from Travis to GitHub actions
'make check' was introduced to the LTP build system
Subset of our library tests i.e. tests for the test library is now executed CI in github actions, this is ongoing effort to make sure that the test library used by the testcases is working as expected
The test library was fixed to print all messages to stderr
Testcases were fixed not to expect certain users and groups to be present on the system
New environment variable LTP_VIRT_OVERRIDE was added
Fixed (again) timeouts in shell test library
Finally after the years we are slowly making tests limits-aware
There is ongoing effort to fix LTP cgroup tests, this release includes many small fixes and improvements in the cgroup tests
The aarch64 system call table was fixed not to include 32bit only syscall numbers
The TST_EXP_*() macros were improved and a few bugs were fixed
The test library developer documentation and tutorials were reorganized and improved
Next release will hopefully include runltp-ng which is new and improved LTP testrunner. The current runltp script will be maintained alongside with the new solution for some time but removed after a few releases.
You are more than welcome to try it and make sure that it works for you before it becomes the official LTP testrunner.
See: https://github.com/metan-ucw/runltp-ng
brought to you by Petr Vorel
C network library
Shell network library
Tests rewritten to the new library
Removed tests
The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at:
https://github.com/linux-test-project/ltp/releases/tag/20210927
The project pages as well as GIT repository are hosted on GitHub:
https://github.com/linux-test-project/ltp http://linux-test-project.github.io/
If you ever wondered how to write a LTP testcase, don't miss our developer documentation at:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines
https://github.com/linux-test-project/ltp/wiki/C-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Network-API
https://github.com/linux-test-project/ltp/wiki/Shell-Test-API
https://github.com/linux-test-project/ltp/wiki/C-Test-Case-Tutorial
https://github.com/linux-test-project/ltp/wiki/BuildSystem
Patches, new tests, bugs, comments or questions should go to to our mailing list at [email protected].
Many thanks to the people contributing to this release:
git shortlog -s -e -n 20210927..
87 Petr Vorel <[email protected]>
51 Xie Ziyao <[email protected]>
51 Richard Palethorpe <[email protected]>
50 Martin Doucha <[email protected]>
30 Krzysztof Kozlowski <[email protected]>
29 Cyril Hrubis <[email protected]>
28 Alexey Kodanev <[email protected]>
27 Yang Xu <[email protected]>
20 Li Wang <[email protected]>
18 zhanglianjie <[email protected]>
17 Joerg Vehlow <[email protected]>
12 Vinay Kumar <[email protected]>
8 Xie Ziyao <[email protected]>
7 sujiaxun <[email protected]>
5 Bogdan Lezhepekov <[email protected]>
5 Dai Shili <[email protected]>
5 Jan Stancek <[email protected]>
5 QI Fuli <[email protected]>
4 Leo Liang <[email protected]>
2 Alexander Egorenkov <[email protected]>
2 Amir Goldstein <[email protected]>
2 Shiyang Ruan <[email protected]>
2 Thadeu Lima de Souza Cascardo <[email protected]>
2 Zhao Gongyi <[email protected]>
1 Alessio Balsini <[email protected]>
1 Bogdan Lezhepekov via ltp <[email protected]>
1 Cao jin <[email protected]>
1 Egor Petrov <[email protected]>
1 Ian May <[email protected]>
1 John Stultz <[email protected]>
1 Leo Yu-Chi Liang <[email protected]>
1 Marius Hillenbrand <[email protected]>
1 Naresh Kamboju <[email protected]>
1 Radoslav Kolev <[email protected]>
1 Wang Xin <[email protected]>
1 Xiao Yang <[email protected]>
1 Zou Wei <[email protected]>
1 dongshijiang <[email protected]>
And also thanks to patch reviewers:
git log 20210927.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
289 Cyril Hrubis <[email protected]>
113 Petr Vorel <[email protected]>
75 Li Wang <[email protected]>
25 Richard Palethorpe <[email protected]>
16 Yang Xu <[email protected]>
12 Alexey Kodanev <[email protected]>
7 Jan Stancek <[email protected]>
6 Richard Palethorpe <[email protected]>
5 Xiao Yang <[email protected]>
5 Martin Doucha <[email protected]>
3 Joerg Vehlow <[email protected]>
3 Enji Cooper <[email protected]>
2 Krzysztof Kozlowski <[email protected]>
1 Yang Xu <[email protected]
1 Xie Ziyao <[email protected]>
1 Stephen Kitt <[email protected]>
1 Petr Vorel <[email protected]>
1 Leo Yu-Chi Liang <[email protected]>
1 Joerg Vehlow <[email protected]>
Since the last release 364 patches by 50 authors were merged.
New tests
New regression tests
Increased coverage
52 tests were rewritten to the new library
with that we reached important milestone where new library testcases outnumber the old library tests for the first time ever
Converted tests:
Integrity Measurement Architecture (IMA)
Added new library for managing network interfaces over netlink
Added new library for cgroup discovery and management
Fixed timeouts in shell test library
The fuzzy sync library was fixed to yield() on single CPU systems
Fixed kernel module detection on BusyBox
Open Posix Testsuite now use $TMPDIR instead of previously hardcoded /tmp
LTP should now produce reproducible build after a few fixes to the buildsystem and libs
The documentation generated from the test sources was improved, you can check out the generated documentation pages for this release at:
http://linux-test-project.github.io/metadata/metadata.asciidoctor.html
Also have a look at a few nice test documentation examples:
http://linux-test-project.github.io/metadata/metadata.asciidoctor.html#acct02 http://linux-test-project.github.io/metadata/metadata.asciidoctor.html#bpf_prog05 http://linux-test-project.github.io/metadata/metadata.asciidoctor.html#semctl09
We also wrote down a document about the oldest supported kernel and libc, see: https://github.com/linux-test-project/ltp/wiki/Supported-kernel,-libc,-toolchain-versions
brought to you by Petr Vorel
New tests: UDP encapsulation tests (FOU and GUE)
Tests converted to new API: CAN tests, multicast stress tests, route-change
Reduce false positive on tests using tst_netload
Many thanks to the people contributing to this release:
git shortlog -s -e -n 20210121..
84 Petr Vorel <[email protected]>
35 Zhao Gongyi <[email protected]>
35 Richard Palethorpe <[email protected]>
26 Xie Ziyao <[email protected]>
22 Martin Doucha <[email protected]>
20 Cyril Hrubis <[email protected]>
15 Joerg Vehlow <[email protected]>
13 Li Wang <[email protected]>
10 Xiao Yang <[email protected]>
8 Amir Goldstein <[email protected]>
7 QI Fuli <[email protected]>
7 Yang Xu <[email protected]>
6 Feiyu Zhu <[email protected]>
5 Alexey Kodanev <[email protected]>
5 Richard Purdie <[email protected]>
5 Yang Xu <[email protected]>
4 Jan Stancek <[email protected]>
4 Shiyang Ruan <[email protected]>
4 zhanglianjie <[email protected]>
4 zhao gongyi <[email protected]>
3 Cixi Geng <[email protected]>
3 Kory Maincent <[email protected]>
3 Lakshmi Ramasubramanian <[email protected]>
3 Shiyang Ruan <[email protected]>
3 Wang Xin <[email protected]>
2 Palmer Dabbelt via ltp <[email protected]>
2 Petr Vorel <[email protected]>
2 Thadeu Lima de Souza Cascardo <[email protected]>
2 Xiao Yang <[email protected]>
2 Zenghui Gao <[email protected]>
1 Alexander Egorenkov <[email protected]>
1 Ankit Jain <[email protected]>
1 Bogdan Lezhepekov <[email protected]>
1 Colin Ian King <[email protected]>
1 Cristian Marussi <[email protected]>
1 He Zhe <[email protected]>
1 Jinghui Huang <[email protected]>
1 Jinhui Huang <[email protected]>
1 Konstantin Aladyshev <[email protected]>
1 Leo Yu-Chi Liang <[email protected]>
1 Liam Howlett <[email protected]>
1 QI Fuli <[email protected]>
1 Sharan Turlapati <[email protected]>
1 Tim Gates <[email protected]>
1 Yann Sionneau via ltp <[email protected]>
1 dongshijiang <[email protected]>
1 ouyangciyan <[email protected]>
1 sujiaxun <[email protected]>
1 tianyu <[email protected]>
1 Tree Davies <[email protected]>
And also thanks to patch reviewers:
git log 20210121.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
151 Cyril Hrubis <[email protected]>
130 Petr Vorel <[email protected]>
70 Li Wang <[email protected]>
7 Yang Xu <[email protected]>
7 Xiao Yang <[email protected]>
6 Oliver Hartkopp <[email protected]>
5 Alexey Kodanev <[email protected]>
4 Yang Xu <[email protected]>
4 Martin Doucha <[email protected]>
4 Lakshmi Ramasubramanian <[email protected]>
4 Jan Stancek <[email protected]>
3 Xiao Yang <[email protected]>
2 Viresh Kumar <[email protected]>
2 Richard Palethorpe <[email protected]>
2 Leo Yu-Chi Liang <[email protected]>
2 Jan Kara <[email protected]>
1 Liam R. Howlett <[email protected]>
1 Jiri Slaby <[email protected]>
1 Eric Biggers <[email protected]>
Since the last release 303 patches by 35 authors were merged.
New tests
New regression tests
Increased coverage
Removed tests
The metadata extraction patchset was merged. LTP now produces metadata.json with a metadata for new library testcases and also html test catalogue build from the extracted metadata.
https://github.com/linux-test-project/ltp/blob/master/docparse/README.md
Kernel .config parser was rewritten to support proper boolean expressions
LTP now requires pkg-config > 0.23 (working version 0.24 was released in 2010)
Error handling in test library (mostly SAFE_MACROS()) was unified
High level test library overview was written: https://github.com/linux-test-project/ltp/blob/master/lib/README.md
IMA/EVM
16 testcases were converted to the new test library
brought to you by Petr Vorel
New tests
Fixes
Compatibility fixes:
Rewrite into new API
Many thanks to the people contributing to this release:
git shortlog -s -e -n 20200930..
88 Petr Vorel <[email protected]>
52 Cyril Hrubis <[email protected]>
25 Martin Doucha <[email protected]>
19 Yang Xu <[email protected]>
18 Viresh Kumar <[email protected]>
10 Xiao Yang <[email protected]>
8 Alexey Kodanev <[email protected]>
8 Amir Goldstein <[email protected]>
8 Feiyu Zhu <[email protected]>
8 Kory Maincent <[email protected]>
7 Radoslav Kolev <[email protected]>
5 Richard Palethorpe <[email protected]>
4 Cixi Geng <[email protected]>
4 Krzysztof Dynowski <[email protected]>
4 Li Wang <[email protected]>
4 Po-Hsu Lin <[email protected]>
4 Joerg Vehlow <[email protected]>
3 Alexander Egorenkov <[email protected]>
2 Khem Raj <[email protected]>
2 Li Zhijian <[email protected]>
2 Pengfei Xu <[email protected]>
2 Tree Davies <[email protected]>
2 Yang Xu <[email protected]>
2 Bogdan Lezhepekov <[email protected]>
2 Johannes Nixdorf <[email protected]>
1 Alexander Egorenkov <[email protected]>
1 Deepak Rawat <[email protected]>
1 Filip Bozuta <[email protected]>
1 Jan Stancek <[email protected]>
1 Peter Bee <[email protected]>
1 Petr Cervinka via ltp <[email protected]>
1 Punit Agrawal <[email protected]>
1 Radoslav Kolev via ltp <[email protected]>
1 Xinpeng Liu <[email protected]>
1 bhargavdas <[email protected]>
And also thanks to patch reviewers:
git log 20200930.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
114 Cyril Hrubis <[email protected]>
58 Petr Vorel <[email protected]>
51 Li Wang <[email protected]>
13 Yang Xu <[email protected]>
11 Amir Goldstein <[email protected]>
10 Alexey Kodanev <[email protected]>
9 Jan Stancek <[email protected]>
5 Xiao Yang <[email protected]>
5 Jan Kara <[email protected]>
3 Xiao Yang <[email protected]>
5 Richard Palethorpe <[email protected]>
3 Martin Doucha <[email protected]>
2 Mimi Zohar <[email protected]>
1 Kory Maincent <[email protected]>
1 Joerg Vehlow <[email protected]>