Usage: /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/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'
It's the posix_mq_rcv binary in command:
/tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/posix_mq_rcv /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/posix_mq_snd pass -c /tmp/testlibxbcgpuwp/source/kinetic/apparmor-3.0.7/tests/regression/apparmor/posix_mq_snd -k /queuename
Complaining "Unrecognized option" here.
It's unclear why this issue is only affecting Kinetic arm64 for the moment.
Add "set -x" to posix_mq.sh script will give us some clue about this failure:
+ do_tests 'unconfined root' pass pass pass pass ("${all_ args[@] :5}") gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd pass -c /tmp/testlibxbc gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd -k /queuename gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd pass -c /tmp/testlibxbc gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd -k /queuename gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd pass -c /tmp/testlibxbc gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd -k /queuename gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd pass -c /tmp/testlibxbc gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd -k /queuename gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ rcv /tmp/testlibxbc gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd pass -c /tmp/testlibxbc gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd -k /queuename 383410- 8658-VS6Rmq/ output. posix_mq_ rcv
+ prefix='unconfined root'
+ expect_send=pass
+ expect_recv=pass
+ expect_open=pass
+ all_args=("$@")
+ rest_args=
+ do_test 'unconfined root' pass /tmp/testlibxbc
+ local 'desc=POSIX MQUEUE (unconfined root)'
+ shift
+ runchecktest 'POSIX MQUEUE (unconfined root)' pass /tmp/testlibxbc
+ '[' -z '' ']'
+ trap error_handler ERR
+ runtestfg 'POSIX MQUEUE (unconfined root)' pass /tmp/testlibxbc
+ _testdesc='POSIX MQUEUE (unconfined root)'
+ '[' p == x ']'
+ _pfmode=pass
+ _known=
+ shift 2
+ genrunscript /tmp/testlibxbc
+ local runfile
+ '[' false = true ']'
+ _pid=383471
+ wait 383471
+ /tmp/testlibxbc
+ test_rc=1
+ '[' 1 -gt 128 ']'
+ checktestfg
+ local ret expectedsig killedsig
++ cat /tmp/sdtest.
+ ret='Unrecognized option
Usage: /tmp/testlibxbc gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ 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'
It's the posix_mq_rcv binary in command: gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ rcv /tmp/testlibxbc gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd pass -c /tmp/testlibxbc gpuwp/source/ kinetic/ apparmor- 3.0.7/tests/ regression/ apparmor/ posix_mq_ snd -k /queuename
/tmp/testlibxbc
Complaining "Unrecognized option" here.
It's unclear why this issue is only affecting Kinetic arm64 for the moment.