regession tests failing after stackprofile test is run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
High
|
John Johansen | ||
Xenial |
Fix Committed
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Committed
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
John Johansen | ||
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
from source, I'm running the tests and the makefile fails at the end with:
running stackprofile
Makefile:303: recipe for target 'tests' failed
make: *** [tests] Error 1
No idea why that is happening. It's breaking on our kernel team regression tests runs, so can this be investigated? The source was fetched using "apt-get source apparmor".
A full run is below:
king@ubuntu:
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)
(mlockall)
(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
/home/king/
*** A 'Killed' message from bash is expected for the following test
/home/king/
running chdir
running clone
running coredump
*** A 'Segmentation Fault' message from bash is expected for the following test
/home/king/
*** A 'Segmentation Fault' message from bash is expected for the following test
/home/king/
*** A 'Segmentation Fault' message from bash is expected for the following test
/home/king/
*** A 'Segmentation Fault' message from bash is expected for the following test
/home/king/
*** A 'Segmentation Fault' message from bash is expected for the following test
/home/king/
XFAIL: Error: corefile present when not expected -- COREDUMP (ix confinement)
running deleted
running environ
Fatal Error (environ): Unable to run test sub-executable
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
using mount rules ...
running mult_mount
running named_pipe
running namespaces
running net_raw
running open
running openat
running pipe
running pivot_root
running ptrace
using ptrace v6 tests ...
running pwrite
running query_label
Alert: query_label passed. Test 'QUERY file (all base perms #1)' was marked as expected pass but known problem (xpass)
xpass: QUERY file (all base perms #1)
Alert: query_label passed. Test 'QUERY file (all base perms #2)' was marked as expected pass but known problem (xpass)
xpass: QUERY file (all base perms #2)
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
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
running dbus_eavesdrop
running dbus_message
running dbus_service
running dbus_unrequeste
running aa_policy_cache
running exec_stack
running stackonexec
running stackprofile
Makefile:303: recipe for target 'tests' failed
make: *** [tests] Error 1
Changed in apparmor (Ubuntu): | |
importance: | Undecided → High |
Changed in apparmor (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in apparmor (Ubuntu Yakkety): | |
status: | New → Fix Committed |
Changed in apparmor (Ubuntu Zesty): | |
status: | Incomplete → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in linux (Ubuntu Yakkety): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Yakkety): | |
status: | Fix Released → Triaged |
Changed in linux (Ubuntu Xenial): | |
status: | Triaged → Fix Committed |
Hi Colin,
stackprofile is just the last test in the for-loop, it's the make tests target failing as a whole. It looks like for some reason the environ test is failing.
What kernel are you running this on?
Thanks.