With 4.4.0-74.95~14.04.1 kernel, this test case failed again on arm64 node.
(This case was reported before in bug 1665588 for Xenial kernel)
http://kernel.ubuntu.com/testing/4.4.0-74.95~14.04.1-generic/ms10-35-mcdivittB0-kernel__4.4.0-74.95~14.04.1__2017-04-14_11-47-00/ubuntu_qrt_kernel_security/results/ubuntu_qrt_kernel_security.test-kernel-security.py/debug/ubuntu_qrt_kernel_security.test-kernel-security.py.DEBUG.html
FAIL: test_050_personality (__main__.KernelSecurityTest)
init missing READ_IMPLIES_EXEC
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 398, in test_050_personality
self.assertEqual(output, expected, "/proc/1/personality contains %s (expected %s)" % (output, expected))
AssertionError: /proc/1/personality contains 00400000 (expected 00000000)
======================================================================
00400000-00402000 r-xp 00000000 08:02 12720898 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00411000-00412000 r-xp 00001000 08:02 12720898 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00412000-00413000 rwxp 00002000 08:02 12720898 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00413000-00423000 rwxp 00000000 00:00 0
091cb000-091ed000 rwxp 00000000 00:00 0 [heap]
ffff8979e000-ffff897be000 rwxp 00000000 00:00 0
ffff897be000-ffff898f1000 r-xp 00000000 08:02 8521984 /lib/aarch64-linux-gnu/libc-2.19.so
ffff898f1000-ffff89900000 ---p 00133000 08:02 8521984 /lib/aarch64-linux-gnu/libc-2.19.so
ffff89900000-ffff89904000 r-xp 00132000 08:02 8521984 /lib/aarch64-linux-gnu/libc-2.19.so
ffff89904000-ffff89906000 rwxp 00136000 08:02 8521984 /lib/aarch64-linux-gnu/libc-2.19.so
ffff89906000-ffff8990a000 rwxp 00000000 00:00 0
ffff8990a000-ffff89926000 r-xp 00000000 08:02 8521851 /lib/aarch64-linux-gnu/ld-2.19.so
ffff89929000-ffff8992b000 rwxp 00000000 00:00 0
ffff8992f000-ffff89933000 rwxp 00000000 00:00 0
ffff89933000-ffff89934000 r--p 00000000 00:00 0 [vvar]
ffff89934000-ffff89935000 r-xp 00000000 00:00 0 [vdso]
ffff89935000-ffff89936000 r-xp 0001b000 08:02 8521851 /lib/aarch64-linux-gnu/ld-2.19.so
ffff89936000-ffff89938000 rwxp 0001c000 08:02 8521851 /lib/aarch64-linux-gnu/ld-2.19.so
ffffc9acd000-ffffc9aee000 rw-p 00000000 00:00 0 [stack]
Attempting to execute function at 0x4120a8
If this program seg-faults, the region was enforced as non-executable...
Unexpected: returned from function that was marked non-executable.
NX segment markings are not being enforced.
This issue was spotted on Trusty ARM64 as well, 3.13.0-122.171 - generic
Complete log: http:// pastebin. ubuntu. com/24931044/