Skip to content

LTP 20250130

Latest
Compare
Choose a tag to compare
@pevik pevik released this 30 Jan 19:14
· 18 commits to master since this release
20250130
a7c31df

NOTABLE CHANGES

  • New tests

    • madvise12 Tests that MADV_GUARD_INSTALL is causing SIGSEGV on access.
    • fsplough A test that checks data integrity between reads and writes for a file.
    • landlock08 Test for landlock bind()/connect().
    • hugemmap34 Tests that kernel handles properly when stack grows into a
      hugepage segment.
    • rt_sigqueueinfo02 Tests for rt_sigqueueinfo() errors.
    • listmount04 Tests for listmout() errors.
    • listmount03 Test for EPERM on inaccesible mount point.
    • listmount02 Test for group mount IDs.
    • listmount01 Test for LSMT_ROOT.
    • statmount08 Test for EPERM on inaccesible mount point.
    • statmount07 Tests for statmount() errors.
    • statmount06 Test for STATMOUNT_FS_TYPE.
    • statmount05 Test for STATMOUNT_VFS_ROOT and STATMOUNT_MNT_POINT.
    • statmount04 Test for STATMOUNT_PROPAGATE_FROM.
    • statmount03 Test for STATMOUNT_MNT_BASIC.
    • statmount02 Test for STATMOUNT_MNT_BASIC.
    • statmount01 Test for statmount() without any flags.
    • ioctl_ficlone01 Basic test for FICLONE ioctl().
    • ioctl_ficlone02 Test for EOPNOTSUPP for usupported FS.
    • ioctl_ficlone03 Tests for FICLONE errors.
    • ioctl_ficlonerange01 Basic test for FICLONERANGE ioctl().
    • ioctl_ficlonerange02 Tests for FICLONERANGE errors.
  • Increased coverage

    • getrandom05 Tests the getrandom() syscall along with the VDSO implementation.
    • landlock02 Adds landlock network coverage.
  • The failure hits (possible missing kernel patches) are now disabled until the
    test library finishes intialization. This is because if we fail to set up the
    test environment we haven't had a chance to reproduce the bug.

  • The test library now supports per filesystem mkfs options, mount flags and
    min_kver. This is immediatelly used by FICLONE and FICLONERANGE tests since
    the support for different filesystems was added into different kernel versions.

  • Rewritten tests

    • both pty01 and ptem01 test were cleaned up and split into several tests
    • vma05.sh is a first test rewritten to the new shell test library
    • process_madvise01 now runs in memory cgroup, where we can properly control
      memory pressure.
    • fanotify10 Now drops cache three times to make sure inode is evicted, if
      the test stil fails in certain setups, please let us know.
  • Removed tests

    • logrotate_tests.sh Since logrotate has it's own testsuite it's pointless to
      keep the broken LTP test.
  • Changes in test runtime and timeout handling

    • the runtime and timeout values are now tracked separately
    • runtime is now the time limit for a loop in the main test function
    • timeout is now an safety upper limit for the test execution
    • both values are per test iteration (e.g. for a single filesystem)
    • the LTP_TIMEOUT_MUL now multiplies the safety limit
    • the LTP_RUNTIME_MUL now multiplies for how long certain test will run
    • selected (debug) kernel CONFIG_ options, if enabled now, multiply the
      test timeouts
    • many testcases that run >= 1s on a slow reference hardware (RPi zero) were
      annotated with a proper timeout
    • generally the timeout handling should just work fine (tm) without any
      user adjustenments
  • Couple of fixes were applied to the test metadata extractor
    so the data in ltp.json file are now more useful

  • The syscall number fallback definitions are now automatically generated from
    kernel sources.

  • 20 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 nfs10.sh test data integrity over NFS (uses fsplough)
  • Removed old ftp01.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/20250130

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

61  Petr Vorel <[email protected]>
59  Andrea Cervesato <[email protected]>
29  Cyril Hrubis <[email protected]>
18  Xinjian Ma (Fujitsu) <[email protected]>
12  Li Wang <[email protected]>
11  Martin Doucha <[email protected]>
 8  Jan Stancek <[email protected]>
 6  Ricardo B. Marliere <[email protected]>
 5  Wei Gao <[email protected]>
 3  Attila Fazekas <[email protected]>
 3  David Hildenbrand <[email protected]>
 3  lufei <[email protected]>
 2  Avinesh Kumar <[email protected]>
 2  Edward Liaw <[email protected]>
 2  Li Zhijian <[email protected]>
 2  Ma Xinjian via ltp <[email protected]>
 2  Po-Hsu Lin <[email protected]>
 1  Alessandro Carminati <[email protected]>
 1  Ian Whitfield <[email protected]>
 1  Khem Raj <[email protected]>
 1  Nathaniel Manista <[email protected]>
 1  Samir Mulani <[email protected]>
 1  Sven Schnelle <[email protected]>
 1  Xiubo Li <[email protected]>
 1  Zizhi Wo <[email protected]>

And also thanks to patch reviewers:

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

107 Petr Vorel <[email protected]>
 86 Cyril Hrubis <[email protected]>
 31 Li Wang <[email protected]>
 12 Andrea Cervesato <[email protected]>
 11 Wei Gao <[email protected]>
  9 Jan Stancek <[email protected]>
  7 Avinesh Kumar <[email protected]>
  3 Po-Hsu Lin <[email protected]>
  2 Martin Doucha <[email protected]>
  2 Jan Kara <[email protected]>
  1 Mimi Zohar <[email protected]>
  1 Chuck Lever <[email protected]>