← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2051352] Re: posix_ipc test from test_regression_testsuite of ubuntu_qrt_apparmor failed with F-aws-5.15 T3A (could not mq_notify: Connection timed out)

 

I tried reproducing the issue on a local VM with the same kernel (not a AWS instance) but I was not able to reproduce it.
If possible, could you provide me with a AWS instance for me to test for myself? If not, could you run "sudo bash posix_mq.sh -r", paste the contents of the test directory it leaves behind (Files retained in: /tmp/sdtest.*) and the dmesg messages?


georgia@sec-focal-amd64:/tmp/apparmor-2.13.3/tests/regression/apparmor$ sudo bash posix_mq.sh -r
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)
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)
Files retained in: /tmp/sdtest.9123-15605-WZwoQU


georgia@sec-focal-amd64:/tmp/apparmor-2.13.3/tests/regression/apparmor$ uname -a
Linux sec-focal-amd64 5.15.0-1053-aws #58~20.04.1-Ubuntu SMP Mon Jan 22 17:15:01 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2051352

Title:
  posix_ipc test from test_regression_testsuite of ubuntu_qrt_apparmor
  failed with F-aws-5.15 T3A (could not mq_notify: Connection timed out)

Status in QA Regression Testing:
  New
Status in ubuntu-kernel-tests:
  New

Bug description:
  Issue found on AWS AMD 64 instance t3a.2xlarge with:
   * F-aws-5.15.0-1053.58~20.04.1
   * J-aws-5.15.0-1053.58 

  This is reproducible, 4 out of 4 attempts on
  F-aws-5.15.0-1053.58~20.04.1

  There is no such issue on t3a.2xlarge with
  F-aws-5.15.0-1052.57~20.04.1 nor J-aws-5.15.0-1052.57. Therefore it
  appears to be a possible regression.

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/2051352/+subscriptions



References