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.
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- sysctl02_sh from ubuntu_ltp failed on KVM kernels because AppArmor enabled
+ sysctl02_sh from ubuntu_ltp failed
** Summary changed:
- sysctl02_sh from ubuntu_ltp failed
+ sysctl02_sh from ubuntu_ltp failed with Cosmic kernel
** Also affects: linux (Ubuntu Cosmic)
Importance: Undecided
Status: New
** Also affects: linux-kvm (Ubuntu Cosmic)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1833935
Title:
sysctl02_sh from ubuntu_ltp failed with Cosmic kernel
Status in ubuntu-kernel-tests:
New
Status in linux package in Ubuntu:
New
Status in linux-kvm package in Ubuntu:
New
Status in linux source package in Cosmic:
New
Status in linux-kvm source package in Cosmic:
New
Bug description:
Test complains about apparmor enabled.
As it's enabled by default, I think we might need to disable this test.
Furthermore, this test will need kallsyms to be enabled, which is not
for KVM kernels.
<<<test_start>>>
tag=sysctl02_sh stime=1561360893
cmdline="sysctl02.sh"
contacts=""
analysis=exit
<<<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: /proc/kallsyms not enabled
sysctl02 4 TINFO: AppArmor enabled, this may affect test results
sysctl02 4 TINFO: You can try to disable it with TST_DISABLE_APPARMOR=1
(requires super/root)
sysctl02 4 TINFO: loaded AppArmor profiles: none
Summary:
passed 0
failed 3
skipped 1
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=33 corefile=no
cutime=2 cstime=1
<<<test_end>>>
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-4.18.0-1015-kvm 4.18.0-1015.15
ProcVersionSignature: User Name 4.18.0-1015.15-kvm 4.18.20
Uname: Linux 4.18.0-1015-kvm x86_64
ApportVersion: 2.20.10-0ubuntu13.3
Architecture: amd64
Date: Mon Jun 24 07:21:41 2019
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1833935/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp