stackonexec, stackprofile in test_regression_testsuite from ubuntu_qrt_apparmor failed with J-oem-6.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
New
|
Undecided
|
Unassigned | ||
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found with J-OEM-6.0.0-1007.7
stackonexec from ApparmorTestsui
Error: transition failed. Test 'STACKONEXEC (stacked with unconfined - file)' was expected to 'fail'. Reason for failure expect errno 13 != 0
stackprofile from ApparmorTestsui
Error: transition failed. Test 'STACKPROFILE (stacked with unconfined - file)' was expected to 'fail'. Reason for failure expect errno 13 != 0
Test output from ubuntu_
Running test: './test-
Skipping private tests
test_regression
Run kernel regression tests ... /home/ubuntu/
self.orig_ptrace = open(self.
ResourceWarning: Enable tracemalloc to get the object allocation traceback
preparing apparmor_
(disabling ptrace for this test)
FAIL
=======
FAIL: test_regression
Run kernel regression tests
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 0 != 2 : 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)
(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
/tmp/testlibce7
*** A 'Killed' message from bash is expected for the following test
/tmp/testlibce7
running chdir
running clone
running coredump
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/testlibce7
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/testlibce7
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/testlibce7
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/testlibce7
*** A 'Segmentation Fault' message from bash is expected for the following test
/tmp/testlibce7
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
using mount rules ...
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
running sd_flags
running setattr
running symlink
running syscall
WARNING: syscall sysctl not supported by kernel headers, 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 unix_socket_
running unlink
running xattrs
Required feature 'file/xattr' not available.. Skipping tests ...
running xattrs_profile
running longpath
XFAIL: This version of AppArmor does not support changing buffer size.
running dbus_eavesdrop
running dbus_message
running dbus_service
running dbus_unrequeste
running aa_policy_cache
running exec_stack
running nnp
running stackonexec
Error: transition failed. Test 'STACKONEXEC (stacked with unconfined - file)' was expected to 'fail'. Reason for failure expect errno 13 != 0
running stackprofile
Error: transition failed. Test 'STACKPROFILE (stacked with unconfined - file)' was expected to 'fail'. Reason for failure expect errno 13 != 0
make: *** [Makefile:342: tests] Error 1
-------
Ran 1 test in 585.897s
FAILED (failures=1)
This is not a regression, this failure can be found with older kernel (6.0.0-1004.4) as well.
description: | updated |
tags: | added: sru-20221010 |
summary: |
- test_regression_testsuite in ubuntu_qrt_apparmor failed with J-oem-6.0 + stackonexec, stackprofile in test_regression_testsuite from + ubuntu_qrt_apparmor failed with J-oem-6.0 |
description: | updated |