Activity log for bug #2000359

Date Who What changed Old value New value Message
2022-12-23 06:55:34 Po-Hsu Lin bug added bug
2022-12-23 08:59:11 Po-Hsu Lin tags sru-20221114 ubuntu-qrt-apparmor
2022-12-23 08:59:21 Po-Hsu Lin bug task added apparmor (Ubuntu)
2022-12-23 08:59:27 Po-Hsu Lin nominated for series Ubuntu Kinetic
2022-12-23 08:59:27 Po-Hsu Lin bug task added apparmor (Ubuntu Kinetic)
2022-12-23 09:00:29 Po-Hsu Lin description Issue found on Kinetic 5.19 ARM64 systems, The ApparmorTestsuites.test_regression_testsuite in ubuntu_qrt_apparmor will fail with posix_ipc test: running posix_ipc Fatal Error (posix_mq_rcv): Unable to run test sub-executable It's a bit hard to find which one is failing, here is the test output of ApparmorTestsuites.test_regression_testsuite: == BEGIN OF TEST OUPTUT == 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) (sethostname) (setdomainname) (setpriority) (setscheduler) (reboot) (chroot) (mlockall) (net_raw) running changeprofile running onexec running changehat running changehat_fork running changehat_misc *** A 'Killed' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309514 Killed $testexec "$@" > $outfile 2>&1 *** A 'Killed' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309547 Killed $testexec "$@" > $outfile 2>&1 running chdir running clone running coredump *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309797 Segmentation fault (core dumped) $testexec "$@" > $outfile 2>&1 *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309826 Segmentation fault $testexec "$@" > $outfile 2>&1 *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309861 Segmentation fault $testexec "$@" > $outfile 2>&1 *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309896 Segmentation fault $testexec "$@" > $outfile 2>&1 *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309931 Segmentation fault $testexec "$@" > $outfile 2>&1 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 posix_ipc Fatal Error (posix_mq_rcv): Unable to run test sub-executable 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 sysv_ipc Required feature 'ipc/sysv_mqueue' not available.. Skipping tests ... running tcp running unix_fd_server running unix_socket_pathname 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_abstract 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_autobind 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 dbus[367250]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1005" is owned by uid 1005, not our uid 0 running dbus_message dbus[367532]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1005" is owned by uid 1005, not our uid 0 running dbus_service dbus[368202]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1005" is owned by uid 1005, not our uid 0 running dbus_unrequested_reply dbus[368587]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1005" is owned by uid 1005, not our uid 0 running aa_policy_cache running exec_stack running nnp running stackonexec running stackprofile make: *** [Makefile:354: tests] Error 1 == END OF TEST OUPTUT == The make error in the end might be misleading, making people think "stackprofile" test is failing. If you run the posix_ipc test manually in apparmor-3.0.7/tests/regression/apparmor, it will try to run another posix_mq.sh script, which will fail with: Fatal Error (posix_mq_rcv): Unable to run test sub-executable Because the posix_mq_rcv binary was not successfully built. Issue found on Kinetic 5.19 ARM64 systems, The ApparmorTestsuites.test_regression_testsuite in ubuntu_qrt_apparmor will fail with posix_ipc test: running posix_ipc Fatal Error (posix_mq_rcv): Unable to run test sub-executable It's a bit hard to find which one is failing, here is the test output of ApparmorTestsuites.test_regression_testsuite: == BEGIN OF TEST OUPTUT == 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)         (sethostname)         (setdomainname)         (setpriority)         (setscheduler)         (reboot)         (chroot)         (mlockall)         (net_raw) running changeprofile running onexec running changehat running changehat_fork running changehat_misc *** A 'Killed' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309514 Killed $testexec "$@" > $outfile 2>&1 *** A 'Killed' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309547 Killed $testexec "$@" > $outfile 2>&1 running chdir running clone running coredump *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309797 Segmentation fault (core dumped) $testexec "$@" > $outfile 2>&1 *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309826 Segmentation fault $testexec "$@" > $outfile 2>&1 *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309861 Segmentation fault $testexec "$@" > $outfile 2>&1 *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309896 Segmentation fault $testexec "$@" > $outfile 2>&1 *** A 'Segmentation Fault' message from bash is expected for the following test /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/prologue.inc: line 264: 309931 Segmentation fault $testexec "$@" > $outfile 2>&1 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 posix_ipc Fatal Error (posix_mq_rcv): Unable to run test sub-executable 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 sysv_ipc Required feature 'ipc/sysv_mqueue' not available.. Skipping tests ... running tcp running unix_fd_server running unix_socket_pathname 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_abstract 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_autobind 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 dbus[367250]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1005" is owned by uid 1005, not our uid 0 running dbus_message dbus[367532]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1005" is owned by uid 1005, not our uid 0 running dbus_service dbus[368202]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1005" is owned by uid 1005, not our uid 0 running dbus_unrequested_reply dbus[368587]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1005" is owned by uid 1005, not our uid 0 running aa_policy_cache running exec_stack running nnp running stackonexec running stackprofile make: *** [Makefile:354: tests] Error 1 == END OF TEST OUPTUT == The make error in the end might be misleading, making people think "stackprofile" test is failing. But it's actually posix_ipc.sh is failing. If you run the posix_ipc test manually in apparmor-3.0.7/tests/regression/apparmor, it will try to run another posix_mq.sh script, which will fail with:   Fatal Error (posix_mq_rcv): Unable to run test sub-executable
2022-12-23 09:48:43 Po-Hsu Lin tags sru-20221114 ubuntu-qrt-apparmor arm64 ppc64el s390x sru-20221114 ubuntu-qrt-apparmor
2023-01-03 20:27:34 Launchpad Janitor merge proposal linked https://code.launchpad.net/~georgiag/qa-regression-testing/+git/qa-regression-testing/+merge/435084
2023-01-04 07:45:24 Po-Hsu Lin bug task added qa-regression-testing
2023-01-04 07:46:31 Po-Hsu Lin qa-regression-testing: status New Fix Released
2023-01-05 08:06:43 Po-Hsu Lin ubuntu-kernel-tests: status New Fix Released
2023-01-05 08:06:45 Po-Hsu Lin apparmor (Ubuntu): status New Fix Released
2023-01-05 08:06:55 Po-Hsu Lin apparmor (Ubuntu Kinetic): status New Invalid
2023-03-23 08:43:54 Launchpad Janitor merge proposal linked https://code.launchpad.net/~cypressyew/qa-regression-testing/+git/qa-regression-testing/+merge/439459
2023-03-29 09:26:55 Launchpad Janitor merge proposal linked https://code.launchpad.net/~cypressyew/qa-regression-testing/+git/qa-regression-testing/+merge/439910