ubuntu_qrt_kernel_security test_060_nx failed on arm64 Xenial

Bug #1665588 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

It looks like this test case failed on arm64 Xenial (I think this is the first time we run this for arm64 SRU):

Kernel version: 4.4.0-63.84

FAIL: test_060_nx (__main__.KernelSecurityTest)
NX bit is working
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 455, in test_060_nx
self.assertShellExitEquals(expected, ["./nx-test", "data"])
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
self.assertEqual(expected, rc, msg + result + report)
AssertionError: Got exit code -11, expected 0
Command: './nx-test', 'data'
Output:
rodata:0x401120
data: 0x4120a8
bss: 0x4220c8
brk: 0xf6c1020
rw: 0xffff9e9a3000
rwx: 0xffff9e9a2000
stack: 0xffffc8e37da8
Dump of /proc/self/maps:
00400000-00402000 r-xp 00000000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00411000-00412000 r--p 00001000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00412000-00413000 rw-p 00002000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00413000-00423000 rw-p 00000000 00:00 0
0f6c0000-0f6e2000 rw-p 00000000 00:00 0 [heap]
ffff9e835000-ffff9e963000 r-xp 00000000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e963000-ffff9e972000 ---p 0012e000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e972000-ffff9e976000 r--p 0012d000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e976000-ffff9e978000 rw-p 00131000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e978000-ffff9e97c000 rw-p 00000000 00:00 0
ffff9e97c000-ffff9e998000 r-xp 00000000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e99c000-ffff9e99e000 rw-p 00000000 00:00 0
ffff9e9a2000-ffff9e9a3000 rwxp 00000000 00:00 0
ffff9e9a3000-ffff9e9a6000 rw-p 00000000 00:00 0
ffff9e9a6000-ffff9e9a7000 r--p 00000000 00:00 0 [vvar]
ffff9e9a7000-ffff9e9a8000 r-xp 00000000 00:00 0 [vdso]
ffff9e9a8000-ffff9e9a9000 r--p 0001c000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e9a9000-ffff9e9ab000 rw-p 0001d000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffffc8e18000-ffffc8e39000 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...

Full log: http://pastebin.ubuntu.com/24012563/

Po-Hsu Lin (cypressyew)
description: updated
description: updated
Revision history for this message
Steve Beattie (sbeattie) wrote :

Alright, I've committed https://git.launchpad.net/qa-regression-testing/commit/?id=1eaa0e916e821973320cecf4bab06235d87d6183 to lp:qa-regression-testing. I'm confused because I'm sure at one point we tested arm64 and it was failing these tests. But it looks like that testing may have happened in late 2015, and possibly been addressed before 16.04 was released.

Thanks. Please re-open if the test continues to fail for you.

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.