Four other tests in ubuntu_ltp_syscalls fail on exfat with the same
swapon() EINVAL on stonking 7.3.0-11.12:

* swapon02 - setup's swapon(alreadyused) fails, so the "File already used" case 
gets EINVAL instead of EBUSY
* swapon03 - first swapon() in setup_swap() fails (swapon03.c:56)
* swapoff01 - "Failed to turn on the swap file" (swapoff01.c:25)
* swapoff02 - only the is_swap_supported() TFAIL; its subtests pass but never 
swapoff an active exfat swap file

Each logs "libswap.c:228: TFAIL: swapon() on exfat failed: EINVAL (22)".
They create swap files with fallocate() + mkswap, the same pattern as
the reproduction above. I did not run these four on the s390x VM; the
link is inferred from the logs and test sources.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175013

Title:
  swapon* swapoff* in ubuntu_ltp_syscalls failed on stonking (swapon()
  on an exfat swap file fails with EINVAL)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2175013/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to