ubuntu_qrt_apparmor failed with "sysctl read failed" on arm64 with Xenial 4.4

Bug #1700127 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
Fix Released
Undecided
Unassigned

Bug Description

With Xenial 4.4 on our ARM64 node, syscall test in test_regression_testsuite failed with:
FAIL: sysctl read failed - Function not implemented
Fatal Error (syscall_sysctl): Unexpected shell error. Run with -x to debug
Fatal Error (syscall_mknod): Unexpected shell error. Run with -x to debug

Complete log: http://pastebin.ubuntu.com/24933870/

This is not a regression, I check the result from previous cycle, it's already there.

Revision history for this message
Steve Beattie (sbeattie) wrote :

Ah, after digging in to this, it was addressed in the upstream apparmor tree in http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3446 (basically, stderr was not being captured correctly when attempting to check whether the sysctl() syscall was supported in the test environment). Interestingly, the patch had already been cherry-picked into QRT for the 14.04-backport of 16.04's apparmor (where ppc64el doesn't support the sysctl() syscall), but was not also applied when testing apparmor on 16.04.

In any event, I have now modified the QRT test-apparmor.py script to apply the r3446 patch on 16.04 as well, in QRT git commit https://git.launchpad.net/qa-regression-testing/commit/?id=2646ed6f4e2c8f9b38eb3210f93a7439c6e8e5f0

Thanks!

Changed in qa-regression-testing:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.