test_regression_mqueue_abi from ubuntu_qrt_apparmor is failing with F-5.15 ARM64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Issue found on:
* F-azure-
* F-aws-5.
* F-lowlatency-
* F-hwe-5.
(We don't run this test on baremetal with F-hwe-5.15 / F-lowlatency-
This issue cannot be found on J-5.15.
Test failed with:
Running 'python2 ./test-apparmor.py -v ApparmorTestsui
Running test: './test-
test_regressio
Skipping private tests
Test if abi is working properly ... (Applying patch 0001-tests-
======
preparing apparmor_
FAIL: test_regression
Test if abi is working properly
------
Traceback (most recent call last):
File "./test-
self.
AssertionError: Got exit code 1, expected 0
Unrecognized option
Usage: /tmp/testlib4X3
Options are:
-n get notified if there's an item in the queue
-k message queue name (default is /testmq)
-c path of the client binary
-u run test as specified UID
-t timeout in seconds
------
Ran 1 test in 20.176s
FAILED (failures=1)
The failing command is this line in test-apparmor.py:
rc, report = testlib.
It's trying to run:
$path_
However it does not recognize the -c flag, despite it's printing out option for that flag.
I can't reproduce this issue with 5.15.0-
summary: |
- test_regression_mqueue_abi from ubuntu_qrt_apparmor is failing with 5.15 - ARM64 + test_regression_mqueue_abi from ubuntu_qrt_apparmor is failing with + F-5.15 ARM64 |
description: | updated |
description: | updated |
This is affecting the posix_ipc test in test_regression _testsuite as well, it's failing with the same -c flag issue:
+ /tmp/testlibQZ3 lGV/source/ focal/apparmor- 2.13.3/ tests/regressio n/apparmor/ posix_mq_ rcv /tmp/testlibQZ3 lGV/source/ focal/apparmor- 2.13.3/ tests/regressio n/apparmor/ posix_mq_ snd pass -c /tmp/testlibQZ3 lGV/source/ focal/apparmor- 2.13.3/ tests/regressio n/apparmor/ posix_mq_ snd -k /queuename 29193-28058- rxK9s7/ output. posix_mq_ rcv
+ test_rc=1
+ '[' 1 -gt 128 ']'
+ checktestfg
+ local ret expectedsig killedsig
++ cat /tmp/sdtest.
+ ret='Unrecognized option
Usage: /tmp/testlibQZ3 lGV/source/ focal/apparmor- 2.13.3/ tests/regressio n/apparmor/ posix_mq_ rcv [options]
Options are:
-n get notified if there'\''s an item in the queue
available options are: mq_notify, select, poll and epoll
-k message queue name (default is /testmq)
-c path of the client binary
-u run test as specified UID
-t timeout in seconds'