test_sock_* from ubuntu_qrt_apparmor ApparmorUnixDomainConnect failed with N-oem-6.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
New
|
Undecided
|
Unassigned | ||
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found with N-oem-6.10.0-1004.4
All three test_sock_* tests from ApparmorUnixDom
* test_sock_dgram
Running 'python3 ./test-apparmor.py -v ApparmorUnixDom
Running test: './test-
test_sock_dgram (__main_
Test mediation of file based SOCK_DGRAM connect ... FAIL
======
FAIL: test_sock_dgram (__main_
Test mediation of file based SOCK_DGRAM connect
------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
AssertionError: 1 != 0 : Got exit code 0, expected 1
------
Ran 1 test in 0.263s
FAILED (failures=1)
Skipping private tests
* test_sock_seqpacket
Running 'python3 ./test-apparmor.py -v ApparmorUnixDom
Running test: './test-
test_sock_
Test mediation of file based SOCK_SEQPACKET connect ... FAIL
======
FAIL: test_sock_seqpacket (__main_
Test mediation of file based SOCK_SEQPACKET connect
------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
AssertionError: 1 != 0 : Got exit code 0, expected 1
------
Ran 1 test in 0.286s
FAILED (failures=1)
Skipping private tests
* test_sock_stream
Running 'python3 ./test-apparmor.py -v ApparmorUnixDom
Running test: './test-
test_sock_stream (__main_
Test mediation of file based SOCK_STREAM connect ... FAIL
======
FAIL: test_sock_stream (__main_
Test mediation of file based SOCK_STREAM connect
------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
AssertionError: 1 != 0 : Got exit code 0, expected 1
------
Ran 1 test in 0.264s
FAILED (failures=1)
Skipping private tests
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