apparmor mount regression test fails when CONFIG_MANDATORY_FILE_LOCKING is disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Steve Beattie | ||
QA Regression Testing |
Fix Released
|
Undecided
|
Steve Beattie | ||
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Bionic |
Invalid
|
High
|
Unassigned | ||
linux-kvm (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Like bug 1760672, the test_regression
But the error message is a little bit different. The "mount" test failed in this case.
FAIL: test_regression
Run kernel regression tests
-----
Traceback (most recent call last):
File "./test-
self.
AssertionError: Got exit code 2, expected 0
running aa_exec
running access
xfail: ACCESS file rx (r)
xfail: ACCESS file rwx (r)
xfail: ACCESS file r (wx)
xfail: ACCESS file rx (wx)
xfail: ACCESS file rwx (wx)
xfail: ACCESS dir rwx (r)
xfail: ACCESS dir r (wx)
xfail: ACCESS dir rx (wx)
xfail: ACCESS dir rwx (wx)
running at_secure
running introspect
running capabilities
(ptrace)
(reboot)
(chroot)
(net_raw)
(ioperm)
(iopl)
running changeprofile
running onexec
running changehat
running changehat_fork
running changehat_misc
*** A 'Killed' message from bash is expected for the following test
/tmp/
*** A 'Killed' message from bash is expected for the following test
/tmp/
running chdir
running clone
running coredump
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/
XFAIL: Error: corefile present when not expected -- COREDUMP (ix confinement)
running deleted
running environ
running exec
running exec_qual
running fchdir
running fd_inheritance
running fork
running i18n
running link
running link_subset
running mkdir
running mmap
running mount
Error: mount failed. Test 'MOUNT (unconfined)' was expected to 'pass'. Reason for failure 'FAIL: mount /dev/loop0 on /tmp/sdtest.
using mount rules ...
Error: mount failed. Test 'MOUNT (confined cap mount:ALL)' was expected to 'pass'. Reason for failure 'FAIL: mount /dev/loop0 on /tmp/sdtest.
Error: mount failed. Test 'MOUNT (confined cap mount -> mntpnt)' was expected to 'pass'. Reason for failure 'FAIL: mount /dev/loop0 on /tmp/sdtest.
Error: mount failed. Test 'MOUNT (confined cap mount fstype)' was expected to 'pass'. Reason for failure 'FAIL: mount /dev/loop0 on /tmp/sdtest.
running mult_mount
running named_pipe
running namespaces
running net_raw
running open
running openat
running pipe
running pivot_root
kernel does not support pivot_root domain transitions - skipping tests ...
running ptrace
using ptrace v6 tests ...
running pwrite
running query_label
running regex
running rename
running readdir
running rw
running socketpair
running swap
mkswap: /tmp/sdtest.
swapon: /tmp/sdtest.
running sd_flags
running setattr
running symlink
running syscall
WARNING: syscall sysctl not implemented, skipping tests ...
running tcp
running unix_fd_server
running unix_socket_
xpass: AF_UNIX pathname socket (dgram); confined server w/ access (rw)
xpass: AF_UNIX pathname socket (dgram); confined client w/ access (rw)
running unix_socket_
running unix_socket_unnamed
xpass: AF_UNIX unnamed socket (dgram); confined server (peer label w/ implicit perms)
xpass: AF_UNIX unnamed socket (dgram); confined server (peer label w/ explicit perms)
xpass: AF_UNIX unnamed socket (dgram); confined server (peer label, peer addr)
xpass: AF_UNIX unnamed socket (dgram); confined server (type, peer label, peer addr)
xpass: AF_UNIX unnamed socket (dgram); confined server (type, addr, peer label)
xpass: AF_UNIX unnamed socket (dgram); confined server (type, addr, peer label, peer addr)
running unlink
running xattrs
Required feature 'file/xattr' not available.. Skipping tests ...
running longpath
XFAIL: This version of AppArmor does not support changing buffer size.
running dbus_eavesdrop
dbus[1212]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0
running dbus_message
dbus[1540]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0
running dbus_service
dbus[2320]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0
running dbus_unrequeste
dbus[2754]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0
running aa_policy_cache
running exec_stack
running stackonexec
running stackprofile
Makefile:303: recipe for target 'tests' failed
make: *** [tests] Error 1
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-1004-kvm x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
Date: Wed Apr 18 10:36:57 2018
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in linux (Ubuntu Bionic): | |
status: | Incomplete → Triaged |
importance: | Undecided → High |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1765025
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.