** Description changed:

  This test is failing on Resolute in cycle 2026.08.03 with 7.0.0-31.31.
  
- The test performed on Aug. 1 does not have this issue apparmor
+ The test performed on Aug. 1 does not have this issue, with apparmor
  (5.0.0~beta1-0ubuntu7)
  
  But the test performed on Aug. 18, with the same kernel but different
  apparmor (5.0.2-0ubuntu1~26.04.1) is failing.
  
  Fail log:
  running net_inet_tcp_fastopen
  Error: net_inet_tcp_fastopen failed. Test 'TFO inet - connect(2) denied' was 
expected to 'pass'. Reason for failure 'FAIL - listener socket: Permission 
denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO inet - sendto(MSG_FASTOPEN) 
denied' was expected to 'pass'. Reason for failure 'FAIL - listener socket: 
Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO inet6 - connect(2) denied' was 
expected to 'pass'. Reason for failure 'FAIL - listener socket: Permission 
denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO inet6 - sendto(MSG_FASTOPEN) 
denied' was expected to 'pass'. Reason for failure 'FAIL - listener socket: 
Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO MPTCP inet - connect(2) 
denied' was expected to 'pass'. Reason for failure 'FAIL - listener socket: 
Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO MPTCP inet - 
sendto(MSG_FASTOPEN) denied' was expected to 'pass'. Reason for failure 'FAIL - 
listener socket: Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO MPTCP inet6 - connect(2) 
denied' was expected to 'pass'. Reason for failure 'FAIL - listener socket: 
Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO MPTCP inet6 - 
sendto(MSG_FASTOPEN) denied' was expected to 'pass'. Reason for failure 'FAIL - 
listener socket: Permission denied'
  
  Full test log for the ApparmorTestsuites.test_regression_testsuite:
  10:46:31 Running 'timeout 3600s python3 test-apparmor.py -v 
ApparmorTestsuites.test_regression_testsuite'
  Running test: 'test-apparmor.py' distro: 'Ubuntu 26.04' kernel: 
'7.0.0-1012.12 (Ubuntu 7.0.0-1012.12-aws 7.0.14)' arch: 'amd64' init: 'systemd' 
uid: 0/0 SUDO_USER: 'ubuntu')
  test_regression_testsuite 
(__main__.ApparmorTestsuites.test_regression_testsuite)
  Run kernel regression tests ... Skipping private tests
  
    preparing apparmor_5.0.2-0ubuntu1~26.04.1.dsc...  (Applying patch
  0001-utils-test-test-profiles.py-reduce-expected-number-o.patch) FAIL
  
  ======================================================================
  FAIL: test_regression_testsuite 
(__main__.ApparmorTestsuites.test_regression_testsuite)
  Run kernel regression tests
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/var/tmp/qa-regression-testing/scripts/test-apparmor.py", line 2268, 
in test_regression_testsuite
      self.assertEqual(expected, rc, result + report)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  AssertionError: 0 != 2 : Got exit code 2, expected 0
  Makefile:230:
   ************************************************************************
   No fuse-overlayfs skipping overlayfs_fuse tests ...
   Install fuse-overlayfs or equivalent package to build and run this test
   ************************************************************************
  
  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 file w (r)
  xfail: ACCESS file rx (r)
  xfail: ACCESS file r (none)
  xfail: ACCESS file rx (none)
  xfail: ACCESS file rwx (none)
  xfail: ACCESS dir rwx (r)
  xfail: ACCESS dir r (wx)
  xfail: ACCESS dir rx (wx)
  xfail: ACCESS dir rwx (wx)
  
  running allow_all
  
  running attach_disconnected
  
  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/testlibuphj8o49/source/resolute/apparmor-5.0.2/tests/regression/apparmor/prologue.inc:
 line 325: 51800 Killed                     $testexec "$@" > $outfile 2>&1
  
  *** A 'Killed' message from bash is expected for the following test
  
/tmp/testlibuphj8o49/source/resolute/apparmor-5.0.2/tests/regression/apparmor/prologue.inc:
 line 325: 51833 Killed                     $testexec "$@" > $outfile 2>&1
  
  running chdir
  
  running clone
  
  running complain
  
  running coredump
  *** A 'Segmentation Fault' message from bash is expected for the following 
test
  
/tmp/testlibuphj8o49/source/resolute/apparmor-5.0.2/tests/regression/apparmor/prologue.inc:
 line 325: 52148 Segmentation fault         (core dumped) $testexec "$@" > 
$outfile 2>&1
  
  *** A 'Segmentation Fault' message from bash is expected for the following 
test
  
/tmp/testlibuphj8o49/source/resolute/apparmor-5.0.2/tests/regression/apparmor/prologue.inc:
 line 325: 52177 Segmentation fault         $testexec "$@" > $outfile 2>&1
  
  *** A 'Segmentation Fault' message from bash is expected for the following 
test
  
/tmp/testlibuphj8o49/source/resolute/apparmor-5.0.2/tests/regression/apparmor/prologue.inc:
 line 325: 52214 Segmentation fault         (core dumped) $testexec "$@" > 
$outfile 2>&1
  
  *** A 'Segmentation Fault' message from bash is expected for the following 
test
  
/tmp/testlibuphj8o49/source/resolute/apparmor-5.0.2/tests/regression/apparmor/prologue.inc:
 line 325: 52251 Segmentation fault         $testexec "$@" > $outfile 2>&1
  
  *** A 'Segmentation Fault' message from bash is expected for the following 
test
  
/tmp/testlibuphj8o49/source/resolute/apparmor-5.0.2/tests/regression/apparmor/prologue.inc:
 line 325: 52288 Segmentation fault         (core dumped) $testexec "$@" > 
$outfile 2>&1
  XFAIL: Error: corefile present when not expected -- COREDUMP (ix confinement)
  
  running deleted
  
  running disconnected_mount_complain
  xpass: Complain mode profile and disconnected path mounts (mount(2))
  xpass: Complain mode profile and disconnected path mounts (open_tree(2))
  xpass: Complain mode profile and disconnected path mounts (fsmount(2))
  
  running e2e
  
  running environ
      /tmp is mounted with nosuid, creating a new mountpoint...
  
  running exec
  
  running exec_qual
  
  running fchdir
  
  running fd_inheritance
  
  running file_unbindable_mount
  
  running fork
  
  running i18n
  
  running link
  
  running link_subset
  
  running linkat_tmpfile
  xpass: linkat O_TMPFILE tmpdir and tmpfile (w), link
  
  running mkdir
  
  running mmap
  
  running mount
      using mount rules ...
      not supported by parser - skipping mount options=(nodirsync),
      not supported by parser - skipping mount options in (nodirsync),
  
  running mult_mount
  
  running named_pipe
  
  running namespaces
  
  running net_iface
  /proc/sys/kernel/apparmor_packet_mediation disabled. Skipping tests ...
  
  running net_inet
  
  running net_inet_tcp_fastopen
  Error: net_inet_tcp_fastopen failed. Test 'TFO inet - connect(2) denied' was 
expected to 'pass'. Reason for failure 'FAIL - listener socket: Permission 
denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO inet - sendto(MSG_FASTOPEN) 
denied' was expected to 'pass'. Reason for failure 'FAIL - listener socket: 
Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO inet6 - connect(2) denied' was 
expected to 'pass'. Reason for failure 'FAIL - listener socket: Permission 
denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO inet6 - sendto(MSG_FASTOPEN) 
denied' was expected to 'pass'. Reason for failure 'FAIL - listener socket: 
Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO MPTCP inet - connect(2) 
denied' was expected to 'pass'. Reason for failure 'FAIL - listener socket: 
Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO MPTCP inet - 
sendto(MSG_FASTOPEN) denied' was expected to 'pass'. Reason for failure 'FAIL - 
listener socket: Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO MPTCP inet6 - connect(2) 
denied' was expected to 'pass'. Reason for failure 'FAIL - listener socket: 
Permission denied'
  Error: net_inet_tcp_fastopen failed. Test 'TFO MPTCP inet6 - 
sendto(MSG_FASTOPEN) denied' was expected to 'pass'. Reason for failure 'FAIL - 
listener socket: Permission denied'
  
  running net_raw
  
  running overlayfs_kernel
  xfail: !Xattr file in overlayfs mount (lower)
  xfail: !Xattr file in overlayfs mount (upper)
  
  running open
  
  running openat
  
  running pipe
  
  running pivot_root
   kernel does not support pivot_root domain transitions - skipping tests ...
  
  running posix_ipc
  
  running ptrace
     using ptrace v6 tests ...
  
  running pwrite
  
  running query_label
  
  running regex
  
  running rename
  
  running readdir
  
  running rw
  
  running socketpair
      parser does not support v9, encoding v7/8 ... using v9 af_unix kernel 
semantics
  
  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 userns
  
  running xattrs
      Required feature 'file/xattr' not available.. Skipping tests ...
  
  running longpath
  XFAIL: This version of AppArmor does not support changing buffer size.
  
  running signal_identity
      Required feature 'domain/identity' not available.. Skipping tests ...
  
  running nfs
  NFS server not available. Skipping tests ...
  
  running xattrs_profile
  
  running dbus_eavesdrop
  DBus Broker does not support eavesdrop. Skipping tests...
  
  running dbus_message
  Error: dbus-broker-launch not available
  Starting DBus Broker failed. Skipping tests...
  
  running dbus_service
  Error: dbus-broker-launch not available
  Starting DBus Broker failed. Skipping tests...
  
  running dbus_unrequested_reply
  DBus Broker does not support unrequested replies. Skipping tests...
  
  running io_uring
  
  running aa_policy_cache
  
  running exec_stack
  
  running nnp
  
  running stackonexec
  
  running stackprofile
  
  PASSED: aa_exec access allow_all attach_disconnected at_secure introspect 
capabilities changeprofile onexec changehat changehat_fork changehat_misc chdir 
clone complain coredump deleted disconnected_mount_complain e2e environ exec 
exec_qual fchdir fd_inheritance file_unbindable_mount fork i18n link 
link_subset linkat_tmpfile mkdir mmap mount mult_mount named_pipe namespaces 
net_iface net_inet net_raw overlayfs_kernel open openat pipe pivot_root 
posix_ipc ptrace pwrite query_label regex rename readdir rw socketpair swap 
sd_flags setattr symlink syscall sysv_ipc tcp unix_fd_server 
unix_socket_pathname unix_socket_abstract unix_socket_unnamed 
unix_socket_autobind unlink userns xattrs longpath signal_identity nfs 
xattrs_profile dbus_eavesdrop dbus_message dbus_service dbus_unrequested_reply 
io_uring aa_policy_cache exec_stack nnp stackonexec stackprofile
  FAILED: net_inet_tcp_fastopen
  make: *** [Makefile:502: alltests] Error 1
  
  ----------------------------------------------------------------------
  Ran 1 test in 683.395s
  
  FAILED (failures=1)
  done
  
   (disabling ptrace for this test)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163740

Title:
  net_inet_tcp_fastopen from ubuntu_qrt_apparmor failed on Resolute

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/2163740/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to