Comment 2 for bug 1833935

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: sysctl02_sh from ubuntu_ltp failed on KVM kernels because AppArmor enabled

Built a Cosmic generic kernel with AppArmor disabled, failures still can be seen in the test report:
$ grep -i apparmor /boot/config-4.18.0-25-generic
# CONFIG_SECURITY_APPARMOR is not set
$ uname -a
Linux amaura 4.18.0-25-generic #26 SMP Tue Jun 25 07:49:54 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

<<<test_output>>>
incrementing stop
sysctl02 1 TINFO: timeout per run is 0h 5m 0s
sysctl02 1 TFAIL: /proc/sys/fs/file-max overflows and set to 0
sysctl02 2 TFAIL: /proc/sys/fs/file-max overflows and set to 18446744073709551615
sysctl02 3 TFAIL: /proc/sys/fs/file-max overflows and set to 9223372036854775808
sysctl02 4 TCONF: kernel doesn't support KASAN

Summary:
passed 0
failed 3
skipped 1
warnings 0

And the commits mentioned in this test case does not exist in our kernel, so this is a valid kernel issue.