Good news everyone,
the Linux Test Project test suite stable release for *September 2023* has been
released.
Since the last release 250 patches by 34 authors were merged, 14 authors were new.
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.
The release notes were prepared by Cyril Hrubis.
NOTABLE CHANGES
===============
* New tests
- epoll_wait07 for EPOLLONESHOT
- epoll_wait06 for EPOLLET
- epoll_wait05 for EPOLLRDHUP
- process_madvise01 for MADV_PAGEOUT
- faccessat201 basic faccessat2() test
- faccessat202 checks that the syscall fails correctly
- tcindex01 aka CVE-2023-1829
- mremap06 reproducer for
7e7757876f25 ("mm/mremap: fix vm_pgoff in vma_merge() case 3")
- starvation a simple test case for sched starvation
https://lwn.net/ml/linux-kernel/[email protected]/
- pipe14 for end-of-file (read() returns 0) in a case the write end is closed
- statx12 basic test for STATX_ATTR_MOUNT_ROOT
- kvm_svm03 KVM test for CPU lockup through malicous SVM guest
- kvm_svm02 test that KVM correctly intercepts VMSAVE and VMLOAD instructions
in a nested virtual machine aka CVE-2021-3656
- statx11 a basic test for STATX_DIOALIGN on block device
- statx10 a basic test for STATX_DIOALIGN on regular file
* Increased coverage
- fanotify13 added test variant for overalfs upper fs
- mmap05 increased coverage for EINVAL
- mmap06 increased coverage for EACCES
- bind03 now includes regression test for
c0c3b8d380a8 ("unix_bind_bsd(): unlink if we fail after successful mknod")
- stack_clash added test for mmap() minding gap
* 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
- we finally got rid of the old and messy libclone library
+ The usual amount of fixes and cleanups
KIRK (previously RUNLTP-NG)
===========================
* The new runltp-ng version is now called kirk
- The name was changed since kirk now supports different testsuites as well
- Apart from the name changes the internals were rewritten and cleaned up
- Prototype for parallel testruns is included as well
- https://github.com/linux-test-project/kirk/#readme
* There is now experimental LTX support implemented
- Beware this is _VERY EXPERIMENTAL_ at the moment
- LTX is tiny binary that runs on system under test
- LTX communicates with kirk over serial using messages packed in msgpack
- LTX is going to be locked in memory and executed with realtime priority
- LTX allows advanced features such as running tests in parallel
- https://github.com/linux-test-project/ltx
REMOVED TESTS
=============
* mmap07 (included in mmap06)
* setgroups04 (included in setgroups03)
DOWNLOAD AND LINKS
==================
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].
CREDITS
=======
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]>