ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)

GPL-2.0 License

Stars
2.3K
Committers
427

Bot releases are visible (Hide)

ltp - LTP 20240524 Latest Release

Published by pevik 5 months ago

NOTABLE CHANGES

  • New tests

    • mlock05 Test for pre-faulting locked memory
    • kvm_svm04 Functional test for VMSAVE/VMLOAD instructions
    • arch_prctl01 Test for ARCH_SET_CPUID and ARCH_GET_CPUID
    • kallsyms A test to check that it's impossible to read kernel memory from userspace
    • unlink09 Negative tests for unlink()
    • getrandom05 Negative tests for getrandom()
    • gethostname02 Negative tests for gethostname()
    • splice08 Test for splicing from /dev/zero and /dev/full
    • splice09 Test for splicing to /dev/zero and /dev/null
    • shmat04 A regression test for fc0c8f9089c2
      ("mm, mmap: fix vma_merge() case 7 with vma_ops->close")
    • aslr01 Tests that hugepages, that cause addesses to be aligned to higher
      order of 2, are not used for libraries when ASLR is enabled.
  • Increased coverage

    • getsockname01 More negative testcases
    • getsockopt01 More negative testcases
    • bind01 More negative testcases
    • swapon01 Runs on all supported filesystems now
    • waitpid01 Tests all deadly signals now
    • fanotify01 Tests setting two marks on different filesystems
  • Rewritten tests

    • msgstress testcases were rewritten into a single msgstress01 test
      this should finally fix the test to scale well from small embedded boards
      towards big servers

    • symlink01 has been split into several testcases, previously several different
      testcases were build from the source based on different messy ifdefs

  • UCLINUX support was completely removed from LTP

    It was unmaintained and partially broken and nobody stepped up to maintain
    the support.

  • Small runtest files cleanup

    • runtest/io was merged into ltp-aiodio.part4
    • runtest/cap_bounds and runtest/filecaps were merged into single runtest file
  • 32 testcases were converted to the new test library

  • The usual amount of fixes and cleanups

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • New tests

    • nfs09 Regression test for file truncation on NFS.
  • Increased coverage

    • nfsstat01.sh: Add support for NFSv4*
  • Removed tests

    • clockdiff01.sh Testing clockdiff is not relevant nowadays.
    • telnet01.sh Testing telnet not make sense nowadays, remove it.
    • xinetd_tests.sh Testing xinetd is not relevant nowadays.
    • host01.sh The test does not work in all cases since testing host require
      proper DNS setup or internet connection. Rather than fixing this
      it makes sense to remove the test.

New documentation

We have finally started working on a comprehensive documentation for LTP and
it's test library, the current state can be seen at:

https://linux-test-project.readthedocs.io/en/latest/

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/20240524

The project pages as well as GIT repository are hosted on GitHub:

https://github.com/linux-test-project/ltp

If you ever wondered how to write a LTP testcase, don't miss our developer
documentation at:

https://linux-test-project.readthedocs.io/en/latest/developers/test_case_tutorial.html

And our library API documentation at:

https://linux-test-project.readthedocs.io/en/latest/developers/api_c_tests.html

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 20240129..

140  Petr Vorel <[email protected]>
22  Martin Doucha <[email protected]>
25  Yang Xu <[email protected]>
21  Li Wang <[email protected]>
16  Andrea Cervesato <[email protected]>
15  Andrea Manzini <[email protected]>
14  Wei Gao <[email protected]>
10  Cyril Hrubis <[email protected]>
 5  Avinesh Kumar <[email protected]>
 2  Detlef Riekenberg <[email protected]>
 2  Edward Liaw <[email protected]>
 4  Hui Min Mina Chou <[email protected]>
 2  lufei <[email protected]>
 1  Amir Goldstein <[email protected]>
 1  Dennis Brendel <[email protected]>
 1  Filippo Storniolo <[email protected]>
 1  Jan Stancek <[email protected]>
 1  Khem Raj <[email protected]>
 1  Mete Durlu <[email protected]>
 1  Murphy Zhou <[email protected]>
 1  Samasth Norway Ananda <[email protected]>
 1  Sebastian Chlad <[email protected]>
 1  Sergey Ulanov via ltp <[email protected]>
 1  Shiyang Ruan <[email protected]>
 1  Wenjie Xu <[email protected]>

And also thanks to patch reviewers:

git log 20240129.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r

125 Petr Vorel <[email protected]>
  94 Cyril Hrubis <[email protected]>
  31 Li Wang <[email protected]>
  15 Andrea Cervesato <[email protected]>
  12 Martin Doucha <[email protected]>
  11 Avinesh Kumar <[email protected]>
   7 Jan Stancek <[email protected]>
   3 Marius Kittler <[email protected]>
   3 Jan Kara <[email protected]>
   2 Amir Goldstein <[email protected]>
   1 Wei Gao <[email protected]>
   1 Vlastimil Babka <[email protected]>
   1 Richard Palethorpe <[email protected]>
   1 Matt Bobrowski <[email protected]>
   1 Kent Overstreet <[email protected]>
   1 Joerg Vehlow <[email protected]>
ltp - LTP 20240129

Published by pevik 9 months ago

TODO

ltp - LTP 20230929

Published by pevik about 1 year ago

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]>
ltp - LTP 20230516

Published by pevik over 1 year ago

NOTABLE CHANGES

  • New tests

    • kvm_svm01 aka CVE-2021-3653
    • cgroup_core03 test case for the cgroup kill
    • hugetlb32 regression test for:
      • ba9c1201beaa (mm/hugetlb: clear compound_nr before freeing gigantic pages)
      • a01f43901cfb (hugetlb: be sure to free demoted CMA pages to CMA)
    • mmap20 test for mmap() with MAP_SHARED_VALIDATE
    • mqnotify03 aka CVE-2021-38604
    • mprotect05 regression test for:
      • 2fcd07b7ccd5 (mm/mprotect: Fix successful vma_merge() of next in do_mprotect_pkey())
    • fsconfig03 aka CVE-2022-0185
    • madvise11 regression test for:
      • d4ae9916ea29 (mm: soft-offline: close the race against page allocation)
    • mount07 test case for MS_NOSYMFOLLOW
  • Increased coverage

    • NFS tests now run on btrfs, ext4 and xfs
    • setpgid were rewritten and increased coverage in a few corner cases
    • ioctl01 added more termios coverage
  • fs_fill test was fixed on 256+ CPUs

  • loongarch support was added

  • The usual amount of fixes and cleanups

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • NFS tests now run on btrfs, ext4, xfs
    (might be extended to more filesystems later)
  • nfs08.sh a new test for NFS cache invalidation

RUNLTP-NG

REMOVED TESTS

  • tomoyo testsuite which is maintained elsewhere by tomoyo devs

  • execltp script which was unmaintained for years

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/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].

CREDITS

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]>
ltp - LTP 20230127

Published by pevik over 1 year ago

NOTABLE CHANGES

  • New tests

    • 31 hugetlb tests were cleaned up and ported from libhugetlbfs
    • test for cve-2022-4378 /proc/sys/ files overflow on writing
    • cgroup_core02 regression test for e57457641613 aka CVE-2021-4197
    • dirtyc0w_shmem aka CVE-2022-2590
    • openat04 regression test for ac6800e279a2
    • nice05 basic functional test for nice()
    • madvise03 new test for MADV_DONTNEED
    • prctl10 basic test for PR_SET/GET_TSC
  • Increased coverage

    • mount03 add tests for MS_STRICTATIME, MS_NODIRATIME validate f_flags
    • getitimer01 add check for nonzero timer
    • setitimer01 add interval timer test
    • getitimer02 add ITIMER_VIRTUAL timer error check
    • madvise01 add tests for MADV_COLD and MADV_PAGEOUT
  • The minimal supported kernel version was raised to 3.10

    • LTP is no longer tested on older kernels
    • various checks for old kernels were removed from the test code
  • 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 usual amount of fixes and cleanups

RUNLTP-NG

REMOVED TESTS

  • fs-bench which was broken beyond repair and not worth of keeping

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/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].

CREDITS

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]>
ltp - LTP 20220930

Published by pevik about 2 years ago

NOTABLE CHANGES

  • New tests

    • bpf_prog07 aka CVE-2022-23222
    • bpf_prog06 aka CVE-2021-4204
    • dirtypipe aka CVE-2022-0847
    • execve06 test for argv[0] handling aka CVE-2021-4034
  • Increased coverage

    • creat09 added test for another variant of the CVE-2018-13405
    • fanotify10 test for FAN_MARK_IGNORE with FAN_ONDIR
    • fanotify10 test for FAN_MARK_IGNORE with FAN_EVENT_ON_CHILD
    • fanotify09, fanotify14 add test cases for FAN_MARK_IGNORE
    • fanotify14 add test cases for events not allowed on non-dir
    • fanotify09 add test cases for merge of ignore mask
    • fanotify23 test for FAN_MARK_EVICTABLE
    • fanotify12 test for inotify mask flags IN_ONESHOT and IN_EXCL_UNLINK
    • futex_waitv01 test for EAGIN/ETIMEDOUT
    • mount_setattr01 basic functional test
  • 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

    • filesystem detection have been improved
    • added $TST_SKIP_FILESYSTEMS support to match C API
    • added $TST_ALL_FILESYSTEMS support to match C API
  • Improvements in open posix testsuite build and installation

  • Shell cgroup testcases were rewritten and cleaned up

  • 46 tests were rewritten to the new library

  • The usual amount of fixes and cleanups

WHAT IS IN THE QUEUE

  • Tracking of minimal device sizes per filesystem, which will allow to run test with smaller device sizes for a subset of filesystems

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • Removed old RPC tests: rup01.sh, rusers01.sh
  • Moved rpc01.sh and rpcinfo01.sh to runtest/net.rpc_tests and deleted runtest/net.rpc
  • The tst_net.sh library was fixed for cases when IPv6 was disabled
  • netns tests were rewritten to use tst_net.sh

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/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].

CREDITS

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]>
ltp - LTP 20220527

Published by metan-ucw over 2 years ago

NOTABLE CHANGES

  • New tests

    • kvm_pagefault01: aka CVE-2021-38198
    • fcntl39: test for DN_RENAME (dnotify)
    • io_control01: first cgroup IO controller test
    • keyctl09: test encrypted keys with provided decrypted data
    • memcontrol03, memcontrol04: tests that cgroup memory is partitioned correctly under pressure
    • setsockopt09: regression test for use-after-free in prb_retire_rx_blk_timer_expired()
    • setsockopt09: regression test for double free of rx_owner_map aka CVE-2021-22600
    • pty07: regression test for use-after-free in vt_ioctl()
    • pty06: regression test for VT_DISALLOCATE freeing in-use virtual console
    • pidfd_getfd01 basic functional test
    • pidfd_getfd02 basic error test
    • pidfd_open04 test with PIDFD_NONBLOCK flag
    • futex_waitv01 error tests
    • futex_waitv02 basic functional test with private memory
    • futex_waitv03 basic functional test with shared memory
    • inotify11: test opening files after receiving IN_DELETE
      regression test for a37d9a17f099 (fsnotify: invalidate dcache before IN_DELETE event)
    • statx09 test for STATX_ATTR_VERITY
    • wqueue09 tests WATCH_META_LOSS_NOTIFICATION event
    • wqueue08 tests WATCH_META_REMOVAL_NOTIFICATION event
    • wqueue07 tests NOTIFY_KEY_SETATTR event
    • wqueue06 tests NOTIFY_KEY_CLEARED event
    • wqueue05 tests NOTIFY_KEY_INVALIDATED event
    • wqueue04 tests NOTIFY_KEY_LINKED event
    • wqueue03 tests NOTIFY_KEY_REVOKED event
    • wqueue02 tests NOTIFY_KEY_UNLINKED event
    • wqueue01 tests NOTIFY_KEY_UPDATED event
  • Increased coverage

    • fanotify14, fanotify16: Add tests for FAN_REPORT_TARGET_FID and FAN_RENAME
    • futex_waitv01: Add test verifies EINVAL for invalid nr_futexes
    • getcontext01: Test rewritten so that it actually jumps back
    • fstat02: Validate st_nlink as well
    • sched_get_priority_max01, sched_get_priority_min01: Add missing policies
  • KVM library was written for LTP

  • The concept of test runtime was introduced

  • Removed tests

    • syslog tests as these were testing mostly userspace syslog daemon
      and were broken for most of the syslog daemon implementations
  • 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

    • added support for $TST_FORMAT_DEVICE (.format_device in C API)
    • preparations for shell API get support for testing on all filesystems (.all_filesystems in C API)
    • getopts cleanup and changes how is the library sources,
      which resulted in much simpler library code
  • 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

  • The usual amount of fixes and cleanups

WHAT IS IN THE QUEUE

In-flight patches include:

  • CGroup shell test rewrite that should fix many problems

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • Several fixes (e.g. important nfs_lib: Fix fsid randomisation)

  • Ongoing discussion where should be SCTP testsuite home

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/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].

CREDITS

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]>
ltp - LTP 20220121

Published by metan-ucw over 2 years ago

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.

NOTABLE CHANGES

  • New tests

    • quotactl{08,09} tests for quota info hidden in filesystem.
    • fanotify22 test for FAN_FS_ERROR events by intentionally corrupting a fs image
    • memcontrol02 test for cgroup memory.current and memory.stat
    • memcontrol01 test for cgroup subtree_control and memory controller
    • write06 test if write() works correctly with O_APPEND fd
    • statx08 statx test for the stx_attributes_mask
    • fanotify{20,21} tests for FAN_REPORT_PIDFD
    • irqbalance01 test that tries to assert that IRQ are spread between CPUs reasonably
    • dup207 tests that file offset is correct for both original and dup()ed fds
    • dup206 tests special case where oldfd == newfd
    • ima_conditionals.sh test uid, gid, fowner, and fgroup options added
      in kernel commit 40224c41661b ("ima: add gid support") from v5.16
  • Increased coverage

    • quotactl* tests added support for quotactl_fd and hidden quota files
    • quotaclt* tests also test with vfsv1 format
    • statx01 added check for stx_mnt_id
    • statx01 added check for nlink
    • stat01 added check for nlink
    • finit_module02 added ETXTBSY check
    • epoll_create added two test variants (libc wrapper and raw syscall)
    • creat09 runs on all filesystems now
    • dup202 added check that file mode is same after it has been changed on dup()ed fd
  • 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

    • the rewritten tests are free of runtest file hacks that were problematic for years
    • the second half should get fixed during the next development cycle
    • the rewritten tests so far are:
      • dio_truncate
      • dio_read (previously ltp-diorh)
      • dio_append
      • dio_sparse
      • aiodio_append
  • 39 tests were rewritten to the new library

  • 'make check' improvements

    • added check if test.tags is properly NULL terminated
    • added check if test global functions and variables are static
    • fixed not to report tst_ prefixed static inline functions
  • The test library gained support for 'known-fail' tag

    • to mark kernel bugs that are unfixed for a long time
    • this is similar to the existing tags
    • the first use of the interface are ustat() tests that are failing on Btrfs
      ever since the introduction of the filesystem
  • 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.

  • The usual amount of fixes and cleanups

WHAT IS IN THE QUEUE

In-flight patchse include:

  • KVM test infrastructure that would allow us implement KVM regression tests
  • watchqueue (pipe based kernel notification) testsuite
  • futex_waitv tests
  • CGroup testcases and fixes
  • Test runtime API for the test library that would allow us to controll
    testrun runtime explicitly and fix a few tests that run into timeouts
    on older/slower hardware

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.

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • NFS tests get support for emulating external server activity
  • fix: run exportfs at "server side" in LTP_NETNS case
  • new test: nfs07.sh - NFS directory listing regression

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/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].

CREDITS

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]>
ltp - LTP 20210927

Published by metan-ucw about 3 years ago

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.

NOTABLE CHANGES

  • New tests

    • epoll_ctl05 checks for ELOOP error for circular loop of epolls
    • epoll_ctl04 checks for EINVAL when epoll nesting is too deep
    • epoll_ctl02 checks for EPERM when epoll is not supported for fd
    • epoll_create01 checks that epoll create returns a valid fd
    • epoll_create1_02 checks for EINVAL when epoll_create1() is passed invalid flags
    • epoll_pwait02 test if events are reported properly
    • epoll_pwait03 tests if epoll_pwait/epoll_pwait2 timeouts correctly
    • epoll_pwait04 adds tests for zero timeout and invalid timespec values
    • shmget05 test for /proc/sys/kernel/shm_next_id
    • shmget06 test when shm_next_id is already in use
    • io_getevents02 checks for EINVAL errors via libaio
    • io_cancel02 checks for EFAULT errors via libaio
    • io_submit03 checks for invalid input via syscall
    • io_submit02 checks if correct operation via syscall
    • io_setup02 checks for invalid inputs via syscall
    • io_destroy02 checks for invalid inputs via syscall
    • cfs_bandwidth01 a multi-level cgroup cpu controller test
  • New regression tests

    • creat09 privilege escalation using setgid directory aka CVE-2018-13405
    • can_bcm01 race condition vulnerability in CAN BCM aka CVE-2021-3609
    • setsockopt08 out-of-bounds write corrupting aka CVE-2021-22555
    • perf_event_open03 kernel memory leak aka CVE-2020-25704
    • squashfs01 regression test for broken sanity checks
    • set_mempolicy05 information leak aka CVE-2017-7616
    • userns08 broken id mappings in nested namespaces CVE-2018-18955
    • tc01.sh regression test for tc qdisc command
    • fanotify19 added regression test for:
      a8b98c808eab ("fanotify: fix permission model of unprivileged group")
    • kill13 INT_MIN negation reproducer aka CVE-2018-10124
    • wait403 INT_MIN negation reproducer
    • vsock01 race condition reproducer aka CVE-2021-26708
    • icmp_rate_limit01 DNS cache poisoning attack aka CVE-2020-25705
  • Increased coverage

    • epoll_create02 checks for more EINVAL failures
    • epoll_ctl03 checks that the syscall works with all valid flags combinations
    • mbind01 more tests for MPOL_LOCAL
    • epoll_pwait01 adds test variants for epoll_pwait2()
  • 75 tests were rewritten to the new library

  • Removed tests

    • sched/stress as it was unmaintained and unused for years
    • stress_cd and stress_floppy since these scripts were broken and unmaintained for years
    • disktest as it was unmaintained and unused for years
  • The CI was moved from Travis to GitHub actions

  • 'make check' was introduced to the LTP build system

    • which is a tool for developers that runs various sanity checks on the source code
    • this includes:
      • checkpatch.pl, custom set of sparse rules for C
      • checkbashism.pl for shell
    • please make sure you run 'make check' or 'make check-testname' and fix the
      warnings before submitting patches
  • 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

    • some tests were expecting bin, daemon and similar groups and users to exist on the system
    • now LTP depends only on user 'nobody' and group 'nogroup'
  • New environment variable LTP_VIRT_OVERRIDE was added

  • Fixed (again) timeouts in shell test library

    • turns out you cannot make timeouts in shell race-free so the timeout logic
      is now implemented in a small C helper binary
  • Finally after the years we are slowly making tests limits-aware

    • cgropup tests and a few others are now aware of pid limits imposed by the system
    • next step would be doing rough estimates on the number of processes we can run
      based on the free system memory
  • 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

  • The more that the usual amount of fixes and cleanups

WHAT IS IN THE QUEUE

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

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • C network library

  • Shell network library

    • Allow to skip initialization with TST_NET_SKIP_VARIABLE_INIT=1
    • Disable IPv6 Duplicate Address Detection on link-local addresses
  • Tests rewritten to the new library

    • getaddrinfo01
    • ssh-stress
  • Removed tests

    • broken_ip-totlen
  • More busybox and general fixes

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/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].

CREDITS

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]>
ltp - LTP 20210524

Published by metan-ucw over 3 years ago

Since the last release 364 patches by 50 authors were merged.

NOTABLE CHANGES

  • New tests

    • fanotify17 - tests for fanotify() user limits
    • fanotify18 - tests for validating user permissions
    • fanotify19 - tests for unpriviledged events
    • brk02 - test that removes two VMAs on shrink
    • close_range{01,02} - basic close_range() tests
    • rtc02 - /dev/rtc timer tests
  • New regression tests

    • bpf_prog05 truncation on 32bit div/mod by zero aka CVE-2021-3444
    • writev03 regression test for d4690f1e1cda 'fix iov_iter_fault_in_readable()'
    • io_uring02 regression test for unsafe handling of the root directory aka CVE-2020-29373
  • Increased coverage

    • tmpfs was added for tests that loop over filesystems supported by the SUT
    • fanotify05 added more queue overflow tests and test for unlimited queue
  • 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:

      • chdir01
      • chmod05
      • chown01, chown02, chown03
      • close01, close02
      • get_mempolicy01
      • getgid01, getgid03
      • getpid01, getpid02
      • getppid01, getppid02
      • io_cancel01, io_getevents01
      • mallopt01
      • mmap19
      • netns_netlink
      • pec
      • pidns13
      • reboot01, reboot02
      • sched_getparam01, sched_getparam02, sched_getparam03
      • semctl01, semctl02, semctl03, semctl04, semctl05, semctl07
      • sendfile03, sendfile04, sendfile05, sendfile07
      • setgid01, setgid02, setgid03
      • swapoff01, swapoff02, swapoff03
      • swapon01, swapon02, swapon03
      • swapoff01, swapoff02, swapoff03
      • swapon01, swapon02, swapon03
      • time01
      • times01
      • tkill01, tkill02
      • unlinkat01
      • unshare01, unshare02
      • wait01, wait02
      • CAN tests were cleaned up and converted to the new library
  • Integrity Measurement Architecture (IMA)

    • new SELinux measurement tests
    • fixes
  • Added new library for managing network interfaces over netlink

  • Added new library for cgroup discovery and management

    • this is a big leap forward for cgroup testing
    • greatly simplifies testscases as the library gracefully handles v1/v2
      split configurations that are unfortunatelly still common on recent systems
    • first few tests were converted to use the library
    • more tests are in the queue
  • Fixed timeouts in shell test library

    • ensure that all child processes are killed on timeout as well
    • runs a cleanup after timeout
  • The fuzzy sync library was fixed to yield() on single CPU systems

    • which fixed test timeouts on single CPU systems
    • self tests for the library where implemented where we check that races we
      crafted into the code are triggered correctly by the library even 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

  • The usual amount of fixes and cleanups

NOTABLE CHANGES IN NETWORK TESTS

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

  • Other fixes

CREDITS

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]>
ltp - LTP 20210121

Published by metan-ucw over 3 years ago

Since the last release 303 patches by 35 authors were merged.

NOTABLE CHANGES

  • New tests

    • finit_module()
    • init_module()
    • delete_module()
    • semctl09 for SEM_STAT_ANY flag
    • msgctl06 for MSG_STAT_ANY flag
    • shmctl04 for SHM_STAT_ANY flag
    • sendmmsg() failure tests
    • recvmmsg() failure tests
    • open_by_handle_at()
    • name_to_handle_at()
    • ptrace11 to check if we can trace PID 1
    • select04 failure tests
    • select04 to check if rfds/wfds flags are clered on empty/full fd
  • New regression tests

    • inotify10 added test for fecc4559780d (fsnotify: fix events reported to watching parent and child)
    • fanotify09 for 7372e79c9eb9 (fanotify: fix logic of reporting name info with watched parent)
    • ptrace10 bd14406b78e6 (perf/hw_breakpoint: Modify breakpoint even if the new attr has disabled set)
  • Increased coverage

    • fanotify09 added case with FAN_CLOSE_NOWRITE on a sibling non-dir child
  • Removed tests

    • sync01, sync02 these tests were useless so there was no point in keeping them
  • 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

    • fixed ima_tpm.sh for TPM 2.0 and for TPM 1.2 on kernel >= v5.8 (commit 6f1a1d103b48)
    • rewrote ima_boot_aggregate.c to new API
  • 16 testcases were converted to the new test library

  • The usual amount of fixes and cleanups.

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • New tests

    • wireguard tests
  • Fixes

    • fix various false-positive failures in tests using tst_netload
      (tests in net.features and net_stress.ipsec_* runtest files)
    • if-mtu-change.sh on s390x: fix max packet size for IPv4
  • Compatibility fixes:

    • ping and traceroute from BusyBox
    • MUSL (netstress)
    • traceroute6 from iputils
    • various other fixes and cleanup
  • Rewrite into new API

    • host01
    • netstat01.sh

CREDITS

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]>
ltp - LTP 20200930

Published by metan-ucw about 4 years ago

Since the last release 357 patches by 38 authors were merged.

NOTABLE CHANGES

  • New tests

    • mmap17 for MAP_FIXED_NOREPLACE
    • semctl08 to verify the _time_high fields
    • shmctl06 to verify the _time_high fields
    • msgctl05 to verify the _time_high fields
    • clock_gettime04 to check consistency during successive timer readings
    • mincore03 test for anonymous mappings
    • io_uring01 basic test for asynchronous read()
    • ioctl09 test for BLKRRPART
    • mincore04 test for pages faulted in child
    • clock_settime03 test if timers works fine when clocks overflows 32bit timestamp
    • msgget04 for /proc/sys/kernel/msg_next_id
    • msgget05 for /proc/sys/kernel/msg_next_id
    • send02 for send() with MSG_MORE flag
    • msgrcv03 for MSG_COPY flag
    • msgrcv07 for MSG_COPY flag
    • fcntl38 for F_SETSIG and F_NOTIFY
    • shmctl03 for IPC_INFO flag
    • shmctl07 for SHM_LOCK and SHM_UNLOCK flags
    • shmctl08 for IPC_SET flag
    • mmap18 for MAP_GROWSDOWN flag
    • ima_keys.sh, ima_kexec.sh new IMA tests + examples of required policies
  • New regression tests

    • setsockopt07 race condition between packet_set_ring() and tp_reserve() aka CVE-2017-1000111
    • fanotify10 for 2f02fd3fa13e (fanotify: fix ignore mask logic for events on child and on dir)
    • thp04 Huge Dirty Cow aka CVE-2017-1000405
    • pty05 race between flush_tx_queue() and n_hdlc_send_frames() aka CVE-2017-2636
    • adjtimex03 4-byte kernel data leak via adjtimex CVE-2018-11508
    • af_alg07 use-after-free in sockfs_setattr() aka CVE-2019-8912
    • bpf_prog04 bug in 32bit eBFP verifier aka CVE-2018-18445
    • timer_settime03 overflow of posix timer overrun counter aka CVE-2018-12896
  • Increased coverage

    • ioctl_loop01 added LO_FLAGS_AUTOCLEAR flag coverage
    • timer_gettime01 added timer_gettime64() coverage
    • timer_settime{01,02} added timer_settime64() coverage
    • timerfd{01,04} added timerfd_gettime64() coverage
    • timerfd_gettime01 added timerfd_gettime64() coverage
    • timerfd_settime{01,02} added timerfd_gettime64() coverage
    • sched_rr_get_interval{01,02,03} added sched_rr_get_interval_time64() coverage
    • sched_rr_get_interval01 checks the return value against /proc/sys/kernel/sched_rr_timeslice_ms
    • io_pgetevents{01,02} added io_pgetevents_time64() coverage
    • ioctl_loop02 added LOOP_CONFIGURE test for LO_FLAGS_READ_ONLY
    • pidfd_open01 added check for CLOEXEC handling
    • rt_sigtimedwait01 added rt_sigtimedwait_time64() coverage
    • futex_cmp_requeue{01,02} added futex_time64() coverage
    • futex_wait{01,02,03,04} added futex_time64() coverage
    • futex_wait_bitset01 added futex_time64() coverage
    • mq_timedreceive01 added mq_timedreceive64() coverage
    • mq_timedsend01 added mq_timedsend64() coverage
    • sendmmsg01 added sys_recvmmsg64() coverage
    • ppoll01 added ppoll_time64 coverage
    • ioctl_loop06 added LOOP_CONFIGURE test for block_size
    • select04 added pselect6_time64() coverage
    • utimensat01 added utimensat_time64() coverage
    • msgsnd01 added check for msg_lspid and msg_stime
    • msgrcv01 added check for msg_lrpid and msg_rtime
    • msgrcv07 added more msgtyp tests
    • semop{01,02,03} added semtimedop() and semtimedop_time64() coverage
    • fanotify{14,16} added FAN_REPORT_DFID_NAME and FAN_REPORT_* coverage
    • fanotify09 added cases with subdirectory marks
    • fanotify10 added cets for FAN_REPORT_NAME and ignore mask
    • ioctl_loop07 added LOOP_CONFIGURE test for lo_sizelimit
  • As you can see this release got the rest of the the 64bit timestamp
    testcases, 64bit timestamp syscalls should be reasonably covered now

  • The quickhit runtest file was removed and replaced for quick integration
    tests with smoketest runtest file

  • Additional 26 tests were converted to the new test library, significant part
    of these were cleaned up and rewritten SystemV IPC testcases

  • LTP now includes VDSO parser and explicitly tests timer VDSO functions

  • The backing files for a loop devices are now created by fallocate() if
    possible, which speeds up loop device based tests quite a bit

  • The build system was tweaked to produce much cleaner output
    the verbose output could be enabled by setting an environment variable V=1

  • The usual amount of fixes and cleanups.

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • remove RSH support (for legacy tests use SSH by default in $LTP_RSH)

  • removed rsh, rcp, rlogin tests

  • NFS: detect disabled UDP, expect it being disabled on v5.6+
    (NFS_DISABLE_UDP_SUPPORT is default y)

  • TST_NET_RHOST_RUN_DEBUG=1 enables debugging

  • various fixes and updated docs

CREDITS

Many thanks to the people contributing to this release:

git shortlog -s -e -n 20200515..

70  Petr Vorel <[email protected]>
66  Viresh Kumar <[email protected]>
37  Cyril Hrubis <[email protected]>
35  Yang Xu <[email protected]>
33  Martin Doucha <[email protected]>
19  Li Wang <[email protected]>
13  Jan Stancek <[email protected]>
11  Amir Goldstein <[email protected]>
10  Xiao Yang <[email protected]>
 6  Richard Palethorpe <[email protected]>
 5  Alexey Kodanev <[email protected]>
 5  Feiyu Zhu <[email protected]>
 4  Filip Bozuta <[email protected]>
 4  Lachlan Sneff <[email protected]>
 4  Po-Hsu Lin <[email protected]>
 3  Erico Nunes <[email protected]>
 3  Petr Vorel <[email protected]>
 3  Yixin Zhang <[email protected]>
 2  Eric Biggers <[email protected]>
 2  Khem Raj <[email protected]>
 2  Michal Kowalczyk <[email protected]>
 2  Shwetha Subramanian <[email protected]>
 2  Vikas Kumar <[email protected]>
 2  Yuan Gao <[email protected]>
 1  Bird, Tim <[email protected]>
 1  Fabrice Fontaine <[email protected]>
 1  Harish <[email protected]>
 1  He Zhe <[email protected]>
 1  Kushal Chand <[email protected]>
 1  Nirav Parmar <[email protected]>
 1  Qais Yousef <[email protected]>
 1  Qian Cai <[email protected]>
 1  Stanislav Kholmanskikh <[email protected]>
 1  Tree Davies <[email protected]>
 1  Vishwajith-K <[email protected]>
 1  Vitaly Chikunov <[email protected]>
 1  aidengao <[email protected]>
 1  pravin <[email protected]>

And also thanks to patch reviewers:

git log 20200515.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r

136 Cyril Hrubis <[email protected]>
 72 Petr Vorel <[email protected]>
 48 Li Wang <[email protected]>
 22 Jan Stancek <[email protected]>
 11 Xiao Yang <[email protected]>
  9 Yang Xu <[email protected]>
  9 Alexey Kodanev <[email protected]>
  8 Martin Doucha <[email protected]>
  7 Mimi Zohar <[email protected]>
  5 Vijay Kumar B. <[email protected]>
  4 Viresh Kumar <[email protected]>
  4 Lakshmi Ramasubramanian <[email protected]>
  2 Tim Bird <[email protected]>
  2 Petr Vorel <[email protected]>
  2 Arnd Bergmann <[email protected]>
  2 Amir Goldstein <[email protected]>
  1 Richard Palethorpe <[email protected]>
  1 Jan Kara <[email protected]>
  1 Christian Brauner <[email protected]>
ltp - LTP 20200515

Published by metan-ucw over 4 years ago

Since the last release 327 patches by 26 authors were merged.

NOTABLE CHANGES

  • New tests

    • fanotify16: FAN_MODIFY_DIR test
    • ioctl_loop01: LO_FLAGS_AUTOCLEAR and LO_FLAGS_PARTSCAN test
    • ioctl_loop02: LO_FLAGS_READ_ONLY and LOOP_CHANGE_FD test
    • ioctl_loop03: LOOP_CHANGE_FD test with WR mode
    • ioctl_loop04: LOOP_SET_CAPACITY ioctl test
    • ioctl_loop05: LOOP_SET_DIRECT_IO ioctl test
    • ioctl_loop06: LOOP_SET_BLOCK_SIZE error test
    • ioctl_loop07: LOOP_SET/GET_STATUS64 sizelimit field test
    • pipe2_02: test for pipe2 O_CLOEXEC flag
    • pipe2_04: test for pipe2 with/without O_NONBLOCK mode
    • timerfd04: time namespace test
    • timens01: time namespace test
    • clock_gettime03: time namespace test
    • clock_nanosleep03: time namespace test
    • sysinfo03: time namespace test
    • clone301, clone301: clone3() syscall tests
    • bind04: Connection tests for stream-oriented sockets (SOCK_STREAM and SOCK_SEQPACKET)
    • bind05: Connection tests for datagram-oriented sockets (SOCK_DGRAM)
    • fcntl37: add error test for fcntl with F_SETPIPE_SZ
    • openat201, openat202, openat203: openat2() syscall tests
    • open_tree01, open_tree02: open_tree() syscall tests
    • fspick01, fspick02: fspick() syscall tests
    • move_mount01, move_mount02: move_mount() syscall tests
    • fsmount01, fsmount02: fsmount() syscall tests
    • fsconfig01, fsconfig02: fsconfig() syscall tests
    • fsopen01, fsopen02: fsopen() syscall tests
    • pty04: Test data transmission with SLIP line discipline
    • fallocate06: test for misaligned fallocate()
    • io_pgetevents01, io_pgetevents02: io_pgetevents() syscall tests
    • pidfd_open01, pidfd_open02, pidfd_open03: pidfd_open() syscall tests
    • vmsplice04: vmsplice() test with SPLICE_F_NONBLOCK
    • pipe12: add new test for pipe when write bytes > pipe size
  • New regression tests

    • pty04: Added SLCAN ldisc and check for CVE-2020-11494
    • setsockopt05: Test for CVE-2017-1000112
    • ptrace09: Test for CVE-2018-8897
    • snd_seq01: Test for CVE-2018-7566
    • bind06: Test for CVE-2018-18559
    • ptrace08: Test for CVE-2018-1000199
    • ioctl_sg01: Test for CVE-2018-1000204
    • sendmsg03: Test for CVE-2017-17712
    • timerfd_settime02: Test for CVE-2017-10661
    • connect02: Test for CVE 2018-9568
      and also for setsockopt(IP_ADDRFORM) kernel bug
      (82c9ae440857 ipv6: fix restrict IPV6_ADDRFORM operation)
    • fanotify15: Add a test case for inode marks
      (f367a62a7cad fanotify: merge duplicate events on parent and child)
    • fanotify09: Check merging of events on directories
      (55bf882c7f13 fanotify: fix merging marks masks with FAN_ONDIR)
    • add_key05: add maxbytes/maxkeys test under unprivileged user
      (a08bf91ce28e "KEYS: allow reaching the keys quotas exactly")
    • pipe13: test for pipe to wake up all readers
      (6551d5c56eb0 "pipe: make sure to wake up everybody when the last reader/writer closes")
    • quotactl07: test for Q_XQTUOTARM
      (3dd4d40b4208 "xfs: Sanity check flags of Q_XQUOTARM call")
    • pty03: test for slip/slcan data race
      (0ace17d568241 "can, slip: Protect tty->disc_data in write_wakeup and close with RCU")
  • Increased coverage

    • readv01: new test cases added to the test
    • add_key02: add the "big_key" key type
  • First half of time64 tests for 64bit timer syscalls has landed in this
    relese, second half is going to be part of the next one

  • Additional 12 tests were converted to the new test library

  • Removed tests

    • epoll2: these depended on Portable Coroutine Library and were not even
      compiled by default for a long time
  • Fixes for gcc-10 that enables -fno-common by default

  • LTP now supports ARC CPUs

  • Skip oversleep checks in timer tests under VM

  • The usual amount of fixes and cleanups.

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • New netlink based route change tests

  • Fixes

    • nfs: detect disabled UDP
    • rpc: cleanup unused tests
    • detect libtirpc with pkg-config
  • Rewrite to new API

    • bind02, socketcall0[2-4], test_1_to_1_initmsg_connect (SCTP)
    • rpcinfo01.sh, rpc01.sh, sendfile01.sh, xinetd_tests.sh

CREDITS

Many thanks to the people contributing to this release:

git shortlog -s -e -n 20200120..
105 Petr Vorel [email protected]
49 Yang Xu [email protected]
38 Viresh Kumar [email protected]
35 Martin Doucha [email protected]
33 Cyril Hrubis [email protected]
11 Richard Palethorpe [email protected]
10 Jan Stancek [email protected]
6 Li Wang [email protected]
6 Petr Vorel [email protected]
5 Amir Goldstein [email protected]
4 Jorik Cronenberg [email protected]
4 Zou Wei [email protected]
3 Joerg Vehlow [email protected]
3 Po-Hsu Lin [email protected]
2 Alexey Kodanev [email protected]
2 Jozef Pupava [email protected]
2 Xiao Yang [email protected]
1 Anibal Limon [email protected]
1 Chen Li [email protected]
1 Jozef Pupava [email protected]
1 Khem Raj [email protected]
1 Ronald Monthero [email protected]
1 Sean T Allen [email protected]
1 Vikas Kumar [email protected]
1 Vineet Gupta [email protected]
1 Zorro Lang [email protected]

And also thanks to patch reviewers:

git log 20200120.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
137 Cyril Hrubis [email protected]
62 Petr Vorel [email protected]
56 Li Wang [email protected]
26 Jan Stancek [email protected]
17 Yang Xu [email protected]
12 Alexey Kodanev [email protected]
8 Xiao Yang [email protected]
4 Martin Doucha [email protected]
4 Jan Kara [email protected]
3 Richard Palethorpe [email protected]
3 Matthew Bobrowski [email protected]
2 Xiao Yang [email protected]
2 Viresh Kumar [email protected]
1 Yang Xu [email protected]
1 Desnes A. Nunes do Rosario [email protected]

ltp - LTP 20200120

Published by metan-ucw over 4 years ago

Since the last release 195 patches by 31 authors were merged.

NOTABLE CHANGES

  • New tests

    • vmsplice03 (splicing pipe to user memory)
    • prctl08, prctl09 (PR_{SET,GET}_TIMERSLACK)
  • New regression tests

    • bpf_prog03
  • Increased coverage

    • quotactl tests were rewritten and coverage was increased
  • Additional 19 tests were converted to the new test library

  • Removed tests

  • Our Travis now includes native ppc64le and s390x builds

  • Improved musl support, build with musl in Travis CI using Alpine Linux
    (broken tests are documented in Travis build script travis/alpine.sh)

  • Regression tests now print possibly missing kernel commits:

    --------------------------------------------------------------------------
    snd_timer01.c:134: FAIL: kernel seems vulnerable

    HINT: You _MAY_ be missing kernel fixes, see:

    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d11662f4f798
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ba3021b2c79b

    HINT: You _MAY_ be vulnerable to CVE(s), see:

    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000380

    Summary:
    passed   0
    failed   1
    skipped  0
    warnings 0
    --------------------------------------------------------------------------
  • The usual amount of fixes and cleanups.

METADATA EXTRACTION & TEST CATALOGUE

There is an ongoing experiment that attempts to extract metadata from the
testcases, we also have a proof of concept web page that renders the json
metadata into a browseable test documentation. There is not much there yet,
but we are hoping, among other things, to build a nice, searchable and
browseable test catalogue based on these efforts.

https://github.com/metan-ucw/ltp/tree/master/docparse
http://metan.ucw.cz/outgoing/metadata.html
http://metan.ucw.cz/outgoing/metadata.html?test=abort01
http://metan.ucw.cz/outgoing/metadata.html?test=pcrypt_aead01

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • iptables: add new test for iptables-translate and nft, add IPv6 support
  • route: rewrite route change destination, gateway and interface tests into new API

CREDITS

Many thanks to the people contributing to this release:

git shortlog -s -e -n 20190930..
45 Petr Vorel [email protected]
22 Jan Stancek [email protected]
22 Yang Xu [email protected]
13 Cyril Hrubis [email protected]
13 Petr Vorel [email protected]
11 Li Wang [email protected]
10 Joerg Vehlow [email protected]
10 Martin Doucha [email protected]
7 Alexey Kodanev [email protected]
6 Clemens Famulla-Conrad [email protected]
5 Xiao Yang [email protected]
3 Feiyu Zhu [email protected]
2 Jorik Cronenberg [email protected]
2 Pengfei Xu [email protected]
2 Ping Fang [email protected]
2 Richard Palethorpe [email protected]
1 Cai Zhenglong [email protected]
1 Dylan Chung [email protected]
1 Eric Lin [email protected]
1 Fabrice Fontaine [email protected]
1 He Zhe [email protected]
1 Ivan Hu [email protected]
1 Ma Feng [email protected]
1 Mathias Fiedler [email protected]
1 Rachel Sibley [email protected]
1 Song Jian [email protected]
1 Sultan Alsawaf [email protected]
1 Xiang Li [email protected]
1 Yi Zhao [email protected]
1 Yongxin Liu [email protected]
1 Zou Wei [email protected]

git log 20190930.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
76 Cyril Hrubis [email protected]
46 Petr Vorel [email protected]
28 Li Wang [email protected]
19 Jan Stancek [email protected]
9 Alexey Kodanev [email protected]
5 Clemens Famulla-Conrad [email protected]
4 Richard Palethorpe [email protected]
3 Yang Xu [email protected]
1 Thadeu Lima de Souza Cascardo [email protected]
1 Sumit Garg [email protected]
1 Steve Dickson [email protected]
1 Petr Vorel [email protected]
1 Joerg Vehlow [email protected]
1 Amir Goldstein [email protected]

ltp - LTP 20190930

Published by metan-ucw about 5 years ago

Since the last release 267 patches by 41 authors were merged.

NOTABLE CHANGES

  • New tests

    • Basic eBPF map and program load tests
    • Netlink uevent socket tests
    • Basic ioprio() tests
    • Basic sendmmsg() test
    • mbind() tests
    • Memory protection (pkey) tests
    • prctl() with PR_CAP_AMBIENT
    • prctl() with PR_{GET,SET}_NO_NEW_PRIVS
    • prctl() with PR_{SET,GET}_NAME
    • prctl() with PR_{SET,GET}_SECCOMP
    • futext_cmp_requeue() tests
    • fanotify FAN_REPORT_FID tests
    • fanotify overlayfs tests
    • pidfd_send_signal() tests
    • IMA overlay tests
    • acct() tests
    • preadv2() RWF_NOWAIT tests
  • New tests variants for

    • clock_getres()
  • New regression tests

    • bpf_prog02: regression test for 3612af783cf52c (bpf: fix sanitation rewrite in case of non-pointers)
    • timer_create() aka CVE-2017-18344
    • alsa timer race aka CVE-2017-1000380
    • accept02 aka CVE-2017-8890
    • setsockopt04 aka CVE-2016-9793
    • move_pages12: regression tests for:
      e66f17ff7177 (mm/hugetlb: take page table lock in follow_huge_pmd())
      c9d398fa2378 (mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd())
      4643d67e8cb0 (hugetlbfs: fix hugetlb page migration/fault race causing SIGBUS)
    • crypto_user02: regression test for 21d4120ec6f5 ("crypto: user - prevent operating on larval algorithms")
    • sysctl02: regression test for 32a5ad9c2285 ("sysctl: handle overflow for file-max")
  • Increased coverage

    • copy_file_range()
      • tests for cross device copy
      • tests for invalid files (swapfile, pipe, ...)
    • intel PT tests
    • sync_file_range()
      • added partial range sync
  • Added syscall tables for MIPS

  • Guarded buffers, which are pages followed by a PROT_NONE and preceeded by a
    canary were introduced and 8 tests were changed to make use of the new
    feature. Also newly implemented tests are using the same buffers as well.

  • Additional 36 tests were converted to the new test library

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • New net features:

    • introduce TST_GET_UNUSED_PORT() macro into C API
  • Rewritten to new API:

    • tst_get_unused_port
    • bind01
    • setdomainname
    • sethostname
  • The usuall amount of fixes and cleanups.

CREDITS

Many thanks to the people contributing to this release:

git shortlog -s -e -n 20190517..

68  Petr Vorel <[email protected]>
45  Cyril Hrubis <[email protected]>
27  Yang Xu <[email protected]>
19  Christian Amann <[email protected]>
17  Jan Stancek <[email protected]>
 9  Richard Palethorpe <[email protected]>
 8  Li Wang <[email protected]>
 7  Murphy Zhou <[email protected]>
 6  Jinhui huang <[email protected]>
 5  Amir Goldstein <[email protected]>
 5  Po-Hsu Lin <[email protected]>
 5  Sandeep Patil <[email protected]>
 5  Yixin Zhang <[email protected]>
 4  Joerg Vehlow <[email protected]>
 4  Xiao Yang <[email protected]>
 3  He Zhe <[email protected]>
 3  Matthew Bobrowski <[email protected]>
 2  Caspar Zhang <[email protected]>
 2  Eric Biggers <[email protected]>
 2  Steve Muckle <[email protected]>
 1  Alexey Kodanev <[email protected]>
 1  Ammy Yi <[email protected]>
 1  Hongzhi.Song <[email protected]>
 1  Khem Raj <[email protected]>
 1  Linus Walleij <[email protected]>
 1  Martin Doucha <[email protected]>
 1  Mathias Fiedler <[email protected]>
 1  Michael Moese <[email protected]>
 1  Murphy Zhou <[email protected]>
 1  Petr Cervinka <[email protected]>
 1  Ping Fang <[email protected]>
 1  Piotr Gawel <[email protected]>
 1  Steven Price <[email protected]>
 1  Sultan Alsawaf <[email protected]>
 1  Sumit Garg <[email protected]>
 1  Thadeu Lima de Souza Cascardo <[email protected]>
 1  Tobias Jordan <[email protected]>
 1  Wu,Haiqiang <[email protected]>
 1  Yann Sionneau <[email protected]>
 1  Yi Zhao <[email protected]>
 1  Yu,Siliang <[email protected]>

And also thanks to patch reviewers:

git log 20190517.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r

 94 Cyril Hrubis <[email protected]>
 42 Li Wang <[email protected]>
 16 Amir Goldstein <[email protected]>
 13 Jan Stancek <[email protected]>
 11 Richard Palethorpe <[email protected]>
  7 Petr Vorel <[email protected]>
  6 Xiao Yang <[email protected]>
  6 Clemens Famulla-Conrad <[email protected]>
  5 Yang Xu <[email protected]>
  4 Mimi Zohar <[email protected]>
  4 Alexey Kodanev <[email protected]>
  3 Sumit Garg <[email protected]>
  2 Murphy Zhou <[email protected]>
  2 Ignaz Forster <[email protected]>
  1 Sandeep Patil <[email protected]>
  1 Richard Palethorpe <[email protected]>
  1 Enji Cooper <[email protected]>
  1 Christian Amann <[email protected]>
ltp - LTP 20190517

Published by metan-ucw over 5 years ago

Since the last release 293 patches by 49 authors were merged.

NOTABLE CHANGES

  • New tests

    • ioctl_ns{01-07}: Tests for NS_GET_* ioctls
    • clock_adjtim{01,02}: New tests
    • userfaultfd01: New test
    • ioctl08: Test for FIDEDUPERANGE on Btrfs
    • sigpending02: New test for sigpending/rt_sigpending
    • pivot_root01: New test
    • tgkill{01-03}: New tests
    • set_mempolicy{01-04}: New tests
    • rt_tgsigqueueinfo01: New test
    • binfmt_misc02.sh: New functionality test
    • pwritev2{01-02}: New tests
    • rt_sigpending02: New test
    • fanotify12: New test for FAN_OPEN_EXEC event mask
    • clock_gettime{01,02}: New tests
    • fdatasync03: New test
    • fsync04: New test
    • sync03: New test
    • syncfs01: New test
    • setrlimit06: Add new test for RLIMIT_CPU
    • statx07: Add test for AT_STATX_DONT_SYNC and AT_STATX_FORCE_SYNC
    • clock_settime{01,02}: New tests
  • New regression tests

    • af_alg06: malformed authenc key 8f9c46934848
    • af_alg05: skcipher_walk error bug 8088d3dd4d7c
    • af_alg04: vmac race conditions bb2964810233
    • af_alg03: rfc7539 hash alg validation e57121d08c38
    • af_alg02: salsa20 empty message bug ecaaab564978 aka CVE-2017-17805
    • af_alg01: hmac nesting bug af3ff8045bbf aka CVE-2017-17806
    • binfmt_misc01.sh: 5cc41e099504 ("fs/binfmt_misc.c: do not allow offset overflow)
  • Increased coverage

    • fanotify01: add FAN_REPORT_FID test cases
    • fanotify10: increase test coverage to support FAN_OPEN_EXEC mask
    • fanotify03: add FAN_OPEN_EXEC_PERM
  • New test variants API

    • The LTP test library gained support for test variants, with that we can
      test family of similar syscalls (i.e. different select syscalls) in a
      single test.

    • stime: Test 3 variants

    • sigpending: Test 3 variants

    • select04: Test 4 variants

  • Various fixes for Android Bionic libc (both build and runtime) and musl libc
    are included in this release

  • Additional 22 tests were converted to the new test library

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • New testcases

    • ipsec: test also randomized message length
    • features: new checksum testcases
    • virt: add mode l3s in ipvlan test
    • netstress: support SO_REUSEPORT, MSG_ZEROCOPY
  • Various tests converted into new API

    • (arping01, broken_ip, clockdiff01, ip_tests.sh, ping0{1|0}, tracepath, traceroute)
  • Various small fixes and enhancements, most notable ones:

    • dhcp: correct prefix for expected IPv6 address)
    • lower down packet size to minimum, which still be high enough to require
      fragmentation. This is critical for performance tests, which compare
      virtual devices with the real ones.
    • netstress: various fixes to avoid false-positives
    • dhcp: AppArmor and SELinux fixes, fix paths for non-RHEL distros

CREDITS

Many thanks to the people contributing to this release:

git shortlog -s -e -n 20190115..

40  Petr Vorel <[email protected]>
39  Enji Cooper <[email protected]>
28  Cyril Hrubis <[email protected]>
17  Alexey Kodanev <[email protected]>
15  Petr Vorel <[email protected]>
15  Xiao Yang <[email protected]>
14  Rafael David Tinoco <[email protected]>
12  Matthias Maennich <[email protected]>
11  Sumit Garg <[email protected]>
 9  Eric Biggers <[email protected]>
 7  Jan Stancek <[email protected]>
 7  Jinhui huang <[email protected]>
 7  Li Wang <[email protected]>
 7  Steve Muckle <[email protected]>
 6  Jia Zhang <[email protected]>
 6  Yang Xu <[email protected]>
 5  Matthew Bobrowski <[email protected]>
 4  Shile Zhang <[email protected]>
 3  Christian Amann <[email protected]>
 3  Cristian Marussi <[email protected]>
 3  Greg Hackmann <[email protected]>
 3  Sandeep Patil <[email protected]>
 2  Federico Bonfiglio <[email protected]>
 2  Jason Xing <[email protected]>
 2  Michael Holzheu <[email protected]>
 2  Paul Lawrence <[email protected]>
 2  Zhengwang Ruan <[email protected]>
 1  Alistair Strachan <[email protected]>
 1  Amir Goldstein <[email protected]>
 1  Balamuruhan S <[email protected]>
 1  Daniel Diaz <[email protected]>
 1  Daniel Mentz <[email protected]>
 1  Elif Aslan <[email protected]>
 1  Esteban Flores <[email protected]>
 1  Guangwen Feng <[email protected]>
 1  He Zhe <[email protected]>
 1  Jan Baier <[email protected]>
 1  Michael Holzheu <[email protected]>
 1  Pengfei Xu <[email protected]>
 1  Ramon Pantin <[email protected]>
 1  Richard Palethorpe <[email protected]>
 1  Roman Kalashnikov <[email protected]>
 1  Sandeep Patil <[email protected]>
 1  Saravana Kannan <[email protected]>
 1  Tommi Rantala <[email protected]>
 1  Vaishnavi <[email protected]>
 1  Xiao Liang <[email protected]>
 1  Yixin Zhang <[email protected]>
 1  supersojo <[email protected]>

And also thanks to patch reviewers:

git log 20190115.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r

 73 Cyril Hrubis <[email protected]>
 20 Petr Vorel <[email protected]>
 20 Jan Stancek <[email protected]>
 11 Xiao Yang <[email protected]>
 11 Alexey Kodanev <[email protected]>
  9 Steve Muckle <[email protected]>
  7 Li Wang <[email protected]>
  7 Amir Goldstein <[email protected]>
  5 Mimi Zohar <[email protected]>
  5 Enji Cooper <[email protected]>
  3 Sandeep Patil <[email protected]>
  2 Sumit Garg <[email protected]>
  1 Xiong Zhou <[email protected]>
  1 Sandeep Patil <[email protected]>
  1 Michael Holzheu <[email protected]>
  1 Hendrik Brueckner <[email protected]>
  1 Eric Biggers <[email protected]>
  1 Enji Cooper <[email protected]
  1 Cyril Hrubis <[email protected]>
  1 Cristian Marussi <[email protected]>
  1 Alessio Balsini <[email protected]>
ltp - LTP 20190115

Published by metan-ucw almost 6 years ago

Since the last release 246 patches by 40 authors were merged.

NOTABLE CHANGES

  • New tests

    • fanotify11 - test for FAN_REPORT_TID
    • fanotify01, fanotify03, fanotify10
      • added coverage for FAN_MARK_FILESYSTEM
    • fanotify03
      • added coverage for mountpoint mark
    • getrlimit03 - test if getrlimit syscalls return consistent data
    • increased coverage for readahead and posix_fadvise on overlayfs
    • execveat01 - functional tests
    • execveat02 - invalid inputs tests
    • statx06 - checks for correct statx timestamps
    • lremovexattr01 - functional tests
    • fremovexattr01 - functional tests
    • fremovexattr02 - invalid inputs tests
    • pt_test - Intel PT full trace test
    • membarier01 - functional tests
    • preadv201 - functional tests
    • preadv202 - invalid inputs tests
    • new open posix conformance tests for strchr, strcpy, strncpy,
  • New regression tests

    • crypto_user01 aka CVE-2018-19854 (previously known as CVE-2013-2547)
    • fanout01 aka CVE-2017-15649
    • fanotify09
      • added coverage for merging events on child subdir
        fixed in b469e7e47c8a "fanotify: fix handling of events on child sub-directory"
    • fanotify10 - test for mount ignore mask
      fixed in 9bdda4e9cf2d fsnotify: fix ignore mask logic in fsnotify()
    • getxattr05
      fixed in 82c9a927bc5d ("getxattr: use correct xattr length")
  • Additional 37 tests were converted to the new test library; with that about
    30% of the LTP syscall testcases have been converted so far

  • The travis build-testing is now done using docker ensuring that latest LTP
    git HEAD builds smoothly on major distributions and architectures

  • The fzsync library intended to trigger kernel races has been rewritten again,
    the code is simpler now and at the same time the probability to hit races
    has increased.

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

New features/tests:

  • tests for SIT tunnel
  • tests for MPLS labels
  • netstress: add support for SO_BINDTODEVICE
  • added tst_net_run() shell API function
  • nfs tests were rewritten to new API
  • various fixes in dhcp, ipsec, rpc and virt tests
  • removed ftp and ssh tests

CREDITS

Many thanks to the people contributing to this release:

git shortlog -s -e -n 20180926..
41 Petr Vorel [email protected]
28 Amir Goldstein [email protected]
25 Alexey Kodanev [email protected]
25 Xiao Yang [email protected]
16 Jan Stancek [email protected]
13 Cyril Hrubis [email protected]
8 Enji Cooper [email protected]
8 Stanislav Kholmanskikh [email protected]
7 Clemens Famulla-Conrad [email protected]
6 Cristian Marussi [email protected]
6 Greg Hackmann [email protected]
6 Rafael David Tinoco [email protected]
6 Richard Palethorpe [email protected]
6 Steve Muckle [email protected]
4 Jinhui huang [email protected]
4 Mandri, Padmashree [email protected]
4 Sandeep Patil [email protected]
3 Eric Biggers [email protected]
3 Yixin Zhang [email protected]
2 Jason Xing [email protected]
2 Li Wang [email protected]
2 Subash Ganesan [email protected]
1 Allen, John [email protected]
1 Ammy Yi [email protected]
1 Hongzhi.Song [email protected]
1 Kai Kang [email protected]
1 Keita Suzuki [email protected]
1 Kenneth Magic [email protected]
1 Khem Raj [email protected]
1 Lei Yang [email protected]
1 Masayoshi Mizuma [email protected]
1 Michael Moese [email protected]
1 Myungho Jung [email protected]
1 Po-Hsu Lin [email protected]
1 Shaoting Lei [email protected]
1 Sun Lianwen [email protected]
1 Thadeu Lima de Souza Cascardo [email protected]
1 Tommi Rantala [email protected]
1 nixiaoming [email protected]
1 yangj [email protected]

And also thanks to patch reviewers:
git log 20180926.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r
86 Cyril Hrubis [email protected]
20 Petr Vorel [email protected]
13 Li Wang [email protected]
10 Jan Stancek [email protected]
7 Alexey Kodanev [email protected]
4 Xiao Yang [email protected]
3 Richard Palethorpe [email protected]
1 Steve Muckle [email protected]
1 Richard Palethorpe [email protected]
1 Jan Kara [email protected]
1 Amir Goldstein [email protected]

ltp - LTP 20180926

Published by metan-ucw about 6 years ago

Since the last release 275 patches by 39 authors were merged.

NOTABLE CHANGES

  • New tests

    • statx tests for:
      • basic tests
      • invalid inputs
      • AT_EMPTY_PATH, AT_SYMLINK_NOFOLLOW
      • FS_* flags
      • STATX_ATTR_ENCRYPTED (on ext4)
      • more is on the way
    • mlock2
      • basic tests
      • invalid inputs
    • memfd_create
      • MFD_HUGETLB, MFD_HUGE_2MB, MFD_HUGE_1GB
    • fgetxattr
    • fsetxattr
    • prctl
      • PR_{SET,GET}_CHILD_SUBREAPER
    • madvise
      • MADV_WIPEONFORK, MADV_KEEPONFORK
  • New regression tests

    • mlock203
      b155b4fde5bd mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT)
    • execveat
      355139a8dba4 cap_inode_getsecurity: use d_find_any_alias() instead of d_find_alias()
    • pcrypt_aead01 aka CVE-2017-18075
      d76c68109f37 crypto: pcrypt - fix freeing pcrypt instances
    • shmctl05
      3f05317d9889 ipc/shm: fix use-after-free of shm file via remap_file_pages()
    • realpath01 aka cve-2018-1000001
      fixed by glibc commit 52a713fdd0a3
    • inotify07
      d90a10e2444b fsnotify: Fix fsnotify_mark_connector race
    • fanotify09
      54a307ba8d3c fanotify: fix logic of events on child
    • pty02
      966031f340185 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
    • migrate_pages03
      4b0ece6fa016 mm: migrate: fix remove_migration_pte() for ksm pages
  • msgctl IPC test were redesigned and rewritten

  • ~50 tests were cleaned up and rewritten to the new library API

  • Several network helper libraries and tests has been ported into new API
    (busy poll, DHCP, ipneigh, IPsec, iptables, SCTP, TCP fast open, virt, ...)

  • Many fixes all over the place
  • Removed code

    • pounder21 - broken and wasn't compiled by default for years
  • What didn't make it to this release

    • second rewrite and simplification of the fuzzy sync library
      and this time the user API is much easier to use
    • rewrite of the mempolicy NUMA tests that should finally solve
      all race conditions and random failures

TODO LIST AND ISSUE TRACKER

As noted in the previous release we started to maintain a LTP TODO list in the
form GitHub issues, as expected the list is growing:

https://github.com/linux-test-project/ltp/labels/missing%20coverage

But more importantly we are starting to implement testcases based on that list,
recently we added the fsetxattr, fgetxattr, mlock2, prctl, and statx tests and
more is about to come in the near future.

We do have also list of reproducers to be turned into testcases:

https://github.com/linux-test-project/ltp/labels/reproducer

Lastly but not least I would like to ask everyone to contribute to these lists.
If you have a reproducer or notice missing coverage do not hesitate to open an
issue.

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/20180926

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/C-Test-Case-Tutorial
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines
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].

CREDITS

Many thanks to the people contributing to this release:

git shortlog -s -e -n 20180515..

61  Petr Vorel <[email protected]>
31  Xiao Yang <[email protected]>
28  Cyril Hrubis <[email protected]>
25  Alexey Kodanev <[email protected]>
18  Jan Stancek <[email protected]>
13  Li Wang <[email protected]>
 9  Alistair Strachan <[email protected]>
 9  Jinhui huang <[email protected]>
 9  Mylene Josserand <[email protected]>
 8  Yixin Zhang <[email protected]>
 7  Punit Agrawal <[email protected]>
 7  Rafael David Tinoco <[email protected]>
 7  Richard Palethorpe <[email protected]>
 5  Jinhui Huang <[email protected]>
 4  Sun Lianwen <[email protected]>
 4  vaishnavid <[email protected]>
 3  Michael Moese <[email protected]>
 3  Sandeep Patil <[email protected]>
 2  Amir Goldstein <[email protected]>
 2  Eric Biggers <[email protected]>
 2  Junchi Chen <[email protected]>
 2  Kewal Ukunde <[email protected]>
 2  Wang Long <[email protected]>
 1  Anton Smorodskyi <[email protected]>
 1  Chen Rong <[email protected]>
 1  Christian Lanig <[email protected]>
 1  Eddie.Horng <[email protected]>
 1  Fang Guan <[email protected]>
 1  Fathi Boudra <[email protected]>
 1  Guangwen Feng <[email protected]>
 1  He Zhe <[email protected]>
 1  Kenneth Magic <[email protected]>
 1  Po-Hsu Lin <[email protected]>
 1  Stanislav Kholmanskikh <[email protected]>
 1  Vishnu K <[email protected]>
 1  Yang Shi <[email protected]>
 1  xiao yang <[email protected]>

And also thanks to patch reviewers:

git log 20180515.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r

 64 Cyril Hrubis <[email protected]>
 36 Jan Stancek <[email protected]>
 33 Petr Vorel <[email protected]>
 18 Alexey Kodanev <[email protected]>
 17 Li Wang <[email protected]>
  2 Richard Palethorpe <[email protected]>
  2 Petr Vorel <[email protected]>
  1 Xiao Yang <[email protected]>
  1 Naresh Kamboju <[email protected]>
  1 Mimi Zohar <[email protected]>
  1 Jan Kara <[email protected]>
ltp - LTP 20180515

Published by metan-ucw over 6 years ago

Since the last release 297 patches by 38 authors were merged.

NOTABLE CHANGES

  • New testcases:

    • two inotify regression tests for:
      764baba80168 ("ovl: hash non-dir by lower inode for fsnotify")
      31747eda41ef ("ovl: hash directory inodes for fsnotify")

    • sysclt01 a regression test for:
      5ccba44ba118 ("sched/sysctl: Check user input value of sysctl_sched_time_avg")

    • CVE regression tests for:

      • CVE-2017-17053 - ccd5b3235180 ("x86/mm: Fix use-after-free of ldt_struct")
      • CVE-2017-16939 - 1137b5e2529a ("ipsec: Fix aborted xfrm policy dump crash")
      • CVE-2015-3290 - 9b6e6a8334d5 ("x86/nmi/64: Switch stacks on userspace NMI entry")
      • CVE-2017-17052 - 2b7e8665b4ff ("fork: fix incorrect fput of ->exe_file causing use-after-free")
      • CVE-2017-17807 - 4dca6ea1d943 ("KEYS: add missing permission check for request_key() destination")
    • read_all

      Test that aims to stress test /proc, /sys and safe subset of /dev
      filesystems by reading by reading each readable file using several
      threads.

    • The pwritev03 and preadv03 tests with O_DIRECT executed on all supported filesystems.
      (https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#2214-testing-with-a-block-device)

    • Pids controller tests fixed a race that made them fail sporadically and
      the the coverage was increased.

    • pwrite03, write02

      Write syscall tests for special case with NULL buffer and len 0 where
      the call is expected to return 0 i.e. success.

  • Removed outdated and broken tests

    • sssd daemon test
    • mail command test
    • ht_interrupt -- hyperthreading interrupt balancing test
  • 54 testcases were cleaned up and converted to the new test library

  • The syscalls testrun has been speeded up by about a minute which is 5% of the runtime.

  • Several Android fixes have been applied.

  • New macro for automatic retry with exponential backoff has been added to the
    test library, which should replace all the ad-hoc retry loops we do have all
    around the codebase.

  • IMA (Integrity Measurement Architecture) tests

    • Were rewritten to use new API, updated, and various bugs has been fixed.

    • The most important changes:

      • Avoid running on tmpfs ima_measurements.sh and ima_violations.sh
      • ima_measurements.sh: support new IMA measurement templates, support testing
        most of IMA supported hash algorithms, fix & update iversion check
      • tpm.sh: replace ima_measure with evmctl (external)
      • ima_policy.sh: improve check of policy writability
      • ima_boot_aggregate: fixing event size for modern BIOS

      Many thanks to Mimi Zohar for her review and testing of IMA test cases.

  • Plus the usual number of fixes and cleanups all over the place

NETWORK TESTS

Changelog for network tests brought to you by Peter Vorel.

  • New testcases:

    • for IP_BIND_ADDRESS_NO_PORT, DCCP and UDP ipsec and for UDPLITE protocol
    • regression test sctp_big_chunk aka CVE-2018-5803
    • netstress gained support for IP_BIND_ADDRESS_NO_PORT, SO_ZEROCOPY flags
      and UDPLITE protocol
    • Use libtirpc for all RPC tests
  • Test cases rewritten into new shell API:

    • interface and multicast tests cases
    • in6_02
  • Removed tests cases

    • route{4,6}-ifdown
  • Various fixes and doc cleanups

CREDITS

Many thanks to the people contributing to this release:

git shortlog -s -e -n 20180118..
76 Petr Vorel [email protected]
38 Cyril Hrubis [email protected]
37 Michael Moese [email protected]
30 Alexey Kodanev [email protected]
21 Xiao Yang [email protected]
12 yang xu [email protected]
9 Yixin Zhang [email protected]
7 Jinhui Huang [email protected]
7 Richard Palethorpe [email protected]
6 Jan Stancek [email protected]
6 Li Wang [email protected]
5 Amir Goldstein [email protected]
4 Carlo Marcelo Arenas Belon [email protected]
4 Stanislav Kholmanskikh [email protected]
3 Petr Vorel [email protected]
3 Steve Muckle [email protected]
2 Anders Roxell [email protected]
2 Eric Biggers [email protected]
2 Khem Raj [email protected]
2 Sandeep Patil [email protected]
2 Sebastian Chlad [email protected]
2 xiao yang [email protected]
1 Christian Lanig [email protected]
1 Dmitry Safonov [email protected]
1 Erick Reyes [email protected]
1 Greg Hackmann [email protected]
1 Harish [email protected]
1 Hoang Van Tuyen [email protected]
1 Hridya Valsaraju [email protected]
1 Joe Konno [email protected]
1 Lars Persson [email protected]
1 Lianwen Sun [email protected]
1 Pavel Boldin [email protected]
1 Qiao Zhao [email protected]
1 Xiong Zhou [email protected]
1 Yang Pengfei [email protected]
1 akodanev [email protected]
1 xie hui [email protected]
1 yosun [email protected]

And also thanks to patch reviewers:

git log 20180118.. | grep -Ei '(reviewed|acked)-by:' |
sed 's/.*by: //' | sort | uniq -c | sort -n -r
34 Cyril Hrubis [email protected]
15 Petr Vorel [email protected]
15 Alexey Kodanev [email protected]
11 Jan Stancek [email protected]
7 Richard Palethorpe [email protected]
4 Li Wang [email protected]
3 Mimi Zohar [email protected]
2 Petr Vorel [email protected]
2 James Morris [email protected]
1 yang xu [email protected]
1 Xiao Yang [email protected]

ltp - LTP 20180118

Published by metan-ucw almost 7 years ago

Since the last release 278 patches by 35 authors were merged.

Notable changes for this release include:

  • New tests for:

    • unshare(1) command
    • ioctl07 test for RNDGETENTCNT ioctl()
    • new network MACsec testcases
    • new network IPsec SCTP and DCCP testcases
  • New regression tests for:

    • CVE-2017-5754 aka meltdown
    • CVE-2017-12193 (test add_key04)
    • CVE-2017-15299 and CVE-2017-15951 (test request_key03)
    • CVE-2017-7308 (test setsockopt02)
    • CVE-2016-9604 (test keyctl08)
    • CVE-2017-15537 (test ptrace07)
    • CVE-2017-12192 (test keyctl07)
    • add_key03 regression test for kernel commit 237bbd29f7a0
    • keyctl06 regression test for kernel commit e645016abc80
  • Fixed tests:

    • brk01 (test rewritten from scratch)
    • sigwaitinfo01 (fixed and enabled)
    • openposix aio testcases (uninitialized aiocb)
    • many smaller fixes
  • Removed tests:

    • invalid openposix pthread_barrier_wait_6-1 test
    • tcp_cmds tests for rwho, echo, finger, and rdist.
  • The test library gained support to run a particular test against
    different filesystems including FUSE filesystems such as NTFS or exFAT. The
    mkfs and kernel/FUSE support for a particular filesystem must be in-place
    otherwise the tests will skip it automatically.

    Some of the filesystem specific syscall tests such as fallocate() are
    executed this way now. We also have a new test that fills up filesystem
    using several threads and expects the syscalls to fail gracefully.

  • The fuzzy synchronization library that is used to trigger races mostly in CVE
    testcases was rewritten to use one thread instead of starting a thread on
    each iteration, which is not only faster but also more stable since we
    introduce less random jitter to the timing measurements this way.

  • Various fixes and enhancements for the network testcases.

  • Support for NUMA API older than v2 was dropped from the testcases.

  • The configure script now correctly detects devel libraries on -m32 build.

  • Another large scale cleanup using coccinelle was done on the code base.

    We transformed patterns such as:

    if (scall(...) < 0)
    tst_brkm(TBROK, ...);

    into:

    SAFE_SCALL();

    Which will produce unified and more verbose error reporting in case
    that the call to scall() will fail.

  • The runltp script now lists test skipped by the skipfile parameter as skipped
    in the testrun results, these were missing from it previously.

  • 24 testcases were cleaned up and converted to the new test library

  • The usual amount of fixes all over the code base