test_regression_testsuite from ubuntu_qrt_apparmor ApparmorTestsuites failed with N-oem-6.10

Bug #2071304 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
New
Undecided
Unassigned
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

There are multiple failures found in this test with N-oem-6.10.0-1004.4

* attach_disconnected:
 running attach_disconnected
 Error: unix_fd_server failed. Test 'ATTACH_DISCONNECTED (attach_disconnected)' was expected to 'pass'. Reason for failure 'FAIL - bind failed: Permission denied'
   preparing apparmor_4.0.0-beta3-0ubuntu3.dsc... done

  (disabling ptrace for this test)
 Error: unix_fd_server failed. Test 'ATTACH_DISCONNECTED (attach_disconnected.path)' was expected to 'pass'. Reason for failure 'FAIL - bind failed: Permission denied'

* deleted
 running deleted
 Error: unix_fd_server failed. Test 'fd passing; unconfined client' was expected to 'pass'. Reason for failure 'FAIL - bind failed: Permission denied'
 Error: unix_fd_server failed. Test 'fd passing; confined client w/ rw' was expected to 'pass'. Reason for failure 'FAIL - bind failed: Permission denied'

* unix_fd_server
 running unix_fd_server
 Error: unix_fd_server failed. Test 'fd passing; confined -> unconfined' was expected to 'pass'. Reason for failure 'FAIL - bind failed: Permission denied'
 Error: unix_fd_server failed. Test 'fd passing; unconfined -> confined' was expected to 'pass'. Reason for failure 'FAIL CLIENT - connect Permission denied'
 Error: unix_fd_server failed. Test 'fd passing; unconfined -> confined (no perm)' was expected to 'pass'. Reason for failure 'FAIL CLIENT - connect Permission denied'
 Error: unix_fd_server failed. Test 'fd passing; confined -> confined' was expected to 'pass'. Reason for failure 'FAIL - bind failed: Permission denied'

* unix_socket_pathname
 running unix_socket_pathname
 Error: unix_socket failed. Test 'AF_UNIX pathname socket (stream); confined server w/ access (rw)' was expected to 'pass'. Reason for failure 'FAIL - setsockopt (SO_RCVTIMEO): Permission denied'
 Error: unix_socket passed. Test 'AF_UNIX pathname socket (stream); confined server w/ a missing af_unix access (create)' was expected to 'fail'
 Error: unix_socket failed. Test 'AF_UNIX pathname socket (stream); confined client w/ access (rw)' was expected to 'pass'. Reason for failure 'FAIL - setsockopt (SO_RCVTIMEO): Permission denied'
 xpass: AF_UNIX pathname socket (dgram); confined server w/ access (rw)
 Error: unix_socket passed. Test 'AF_UNIX pathname socket (dgram); confined server w/ a missing af_unix access (create)' was expected to 'fail'
 xpass: AF_UNIX pathname socket (dgram); confined client w/ access (rw)
 Error: unix_socket failed. Test 'AF_UNIX pathname socket (seqpacket); confined server w/ access (rw)' was expected to 'pass'. Reason for failure 'FAIL - setsockopt (SO_RCVTIMEO): Permission denied'
 Error: unix_socket passed. Test 'AF_UNIX pathname socket (seqpacket); confined server w/ a missing af_unix access (create)' was expected to 'fail'
 Error: unix_socket failed. Test 'AF_UNIX pathname socket (seqpacket); confined client w/ access (rw)' was expected to 'pass'. Reason for failure 'FAIL - setsockopt (SO_RCVTIMEO): Permission denied'

PASSED: aa_exec access at_secure introspect capabilities changeprofile onexec changehat changehat_fork changehat_misc chdir clone coredump e2e environ exec exec_qual fchdir fd_inheritance fork i18n link link_subset mkdir mmap mount mult_mount named_pipe namespaces net_raw 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_socket_abstract unix_socket_unnamed unix_socket_autobind unlink userns xattrs xattrs_profile longpath nfs dbus_eavesdrop dbus_message dbus_service dbus_unrequested_reply io_uring aa_policy_cache exec_stack nnp stackonexec stackprofile
FAILED: attach_disconnected deleted unix_fd_server unix_socket_pathname

Po-Hsu Lin (cypressyew)
summary: - test_regression_testsuite from ubuntu_qrt_apparmor failed with
- N-oem-6.10
+ test_regression_testsuite from ubuntu_qrt_apparmor ApparmorTestsuites
+ failed with N-oem-6.10
Revision history for this message
Georgia Garcia (georgiag) wrote :

As in Bug 2071305, the apparmor kernel patches were not yet applied on -rc4, so these tests will fail on this version. They are only present in -rc7 or Ubuntu-unstable-6.10.0-14.14

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.