ubuntu_qrt_apparmor failed with "sysctl read failed" on arm64 with Xenial 4.4
Bug #1700127 reported by
Po-Hsu Lin
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
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://
This is not a regression, I check the result from previous cycle, it's already there.
To post a comment you must log in.
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=2646ed6f4e2 c8f9b38eb3210f9 3a7439c6e8e5f0
Thanks!