Comment 0 for bug 2051352

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Issue found with Focal F-aws-5.15.0-1053.58~20.04.1 on AMD 64 instance t3a.2xlarge.

The posix_ipc test in test_regression_testsuite will fail with:
  Error: posix_mq_rcv failed. Test 'POSIX MQUEUE (confined receiver root - unconfined sender : mq_notify)' was expected to 'pass'. Reason for failure 'FAIL - could not mq_notify: Connection timed out'

Test log:
ubuntu@t3a:~/testlibp8PXk0/source/focal/apparmor-2.13.3/tests/regression/apparmor$ sudo bash posix_ipc.sh
Error: posix_mq_rcv failed. Test 'POSIX MQUEUE (confined root - mqueue : mq_notify)' was expected to 'pass'. Reason for failure 'FAIL - could not mq_notify: Connection timed out'
xpass: POSIX MQUEUE (confined root - mqueue label 1)
xpass: POSIX MQUEUE (confined root - mqueue label 1 : mq_notify)
xpass: POSIX MQUEUE (confined root - mqueue label 1 : select)
xpass: POSIX MQUEUE (confined root - mqueue label 1 : poll)
xpass: POSIX MQUEUE (confined root - mqueue label 1 : epoll)
xpass: POSIX MQUEUE (confined root - mqueue label 2)
xpass: POSIX MQUEUE (confined root - mqueue label 2 : mq_notify)
xpass: POSIX MQUEUE (confined root - mqueue label 2 : select)
xpass: POSIX MQUEUE (confined root - mqueue label 2 : poll)
xpass: POSIX MQUEUE (confined root - mqueue label 2 : epoll)
Error: posix_mq_rcv failed. Test 'POSIX MQUEUE (confined 1001 - mqueue : mq_notify)' was expected to 'pass'. Reason for failure 'FAIL - could not mq_notify: Connection timed out'
Error: posix_mq_rcv failed. Test 'POSIX MQUEUE (confined receiver 1001 - unconfined sender : mq_notify)' was expected to 'pass'. Reason for failure 'FAIL - could not mq_notify: Connection timed out'
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1 : mq_notify)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1 : select)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1 : poll)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1 : epoll)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2 : mq_notify)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2 : select)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2 : poll)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2 : epoll)