Public bug reported:

Test failed since 5.4.0-1071.76~18.04.3-gke (works ok with
5.4.0-1068-gke)

$ sudo python2 ./test-kernel-security.py -v KernelSecurityTest.test_060_nx
Running test: './test-kernel-security.py' distro: 'Ubuntu 18.04' kernel: 
'5.4.0-1071.76~18.04.3 (Ubuntu 5.4.0-1071.76~18.04.3-gke 5.4.181)' arch: 
'amd64' uid: 0/0 SUDO_USER: 'google')
test_060_nx (__main__.KernelSecurityTest)
NX bit is working ... FAIL

======================================================================
FAIL: test_060_nx (__main__.KernelSecurityTest)
NX bit is working
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test-kernel-security.py", line 575, in test_060_nx
    self.assertShellExitEquals(rie_expected, ["./nx-test-rie", "data"])
  File 
"/home/google/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py",
 line 1203, in assertShellExitEquals
    self.assertEqual(expected, rc, msg + result + report)
AssertionError: Got exit code -11, expected 0
Command: './nx-test-rie', 'data'
Output:
rodata:0x55f37cf22098
data:  0x55f37d123010
bss:   0x55f37d133040
brk:   0x55f37edd7270
rw:    0x7f9b635da000
rwx:   0x7f9b635d9000
stack: 0x7ffd6cde4b90
Dump of /proc/self/maps:
55f37cf21000-55f37cf23000 r-xp 00000000 08:01 272969                     
/home/google/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test-rie
55f37d122000-55f37d123000 r--p 00001000 08:01 272969                     
/home/google/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test-rie
55f37d123000-55f37d124000 rw-p 00002000 08:01 272969                     
/home/google/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test-rie
55f37d124000-55f37d134000 rw-p 00000000 00:00 0 
55f37edd6000-55f37edf7000 rw-p 00000000 00:00 0                          [heap]
7f9b62fc1000-7f9b631a8000 r-xp 00000000 08:01 2245                       
/lib/x86_64-linux-gnu/libc-2.27.so
7f9b631a8000-7f9b633a8000 ---p 001e7000 08:01 2245                       
/lib/x86_64-linux-gnu/libc-2.27.so
7f9b633a8000-7f9b633ac000 r--p 001e7000 08:01 2245                       
/lib/x86_64-linux-gnu/libc-2.27.so
7f9b633ac000-7f9b633ae000 rw-p 001eb000 08:01 2245                       
/lib/x86_64-linux-gnu/libc-2.27.so
7f9b633ae000-7f9b633b2000 rw-p 00000000 00:00 0 
7f9b633b2000-7f9b633db000 r-xp 00000000 08:01 2240                       
/lib/x86_64-linux-gnu/ld-2.27.so
7f9b635cf000-7f9b635d1000 rw-p 00000000 00:00 0 
7f9b635d9000-7f9b635da000 rwxp 00000000 00:00 0 
7f9b635da000-7f9b635db000 rw-p 00000000 00:00 0 
7f9b635db000-7f9b635dc000 r--p 00029000 08:01 2240                       
/lib/x86_64-linux-gnu/ld-2.27.so
7f9b635dc000-7f9b635dd000 rw-p 0002a000 08:01 2240                       
/lib/x86_64-linux-gnu/ld-2.27.so
7f9b635dd000-7f9b635de000 rw-p 00000000 00:00 0 
7ffd6cdc6000-7ffd6cde7000 rwxp 00000000 00:00 0                          [stack]
7ffd6cdfa000-7ffd6cdfd000 r--p 00000000 00:00 0                          [vvar]
7ffd6cdfd000-7ffd6cdfe000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                  
[vsyscall]
Attempting to execute function at 0x55f37d123010
If this program seg-faults, the region was enforced as non-executable...


----------------------------------------------------------------------
Ran 1 test in 0.880s

FAILED (failures=1)

** Affects: qa-regression-testing
     Importance: Undecided
         Status: New

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Affects: linux-gke (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: sru-20220620 ubuntu-qrt-kernel-security

** Also affects: linux-gke (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-gke in Ubuntu.
https://bugs.launchpad.net/bugs/1981069

Title:
  test_060_nx in ubuntu_qrt_kernel_security failed on B-gke-5.4 since
  5.4.0-1071-gke

Status in QA Regression Testing:
  New
Status in ubuntu-kernel-tests:
  New
Status in linux-gke package in Ubuntu:
  New

Bug description:
  Test failed since 5.4.0-1071.76~18.04.3-gke (works ok with
  5.4.0-1068-gke)

  $ sudo python2 ./test-kernel-security.py -v KernelSecurityTest.test_060_nx
  Running test: './test-kernel-security.py' distro: 'Ubuntu 18.04' kernel: 
'5.4.0-1071.76~18.04.3 (Ubuntu 5.4.0-1071.76~18.04.3-gke 5.4.181)' arch: 
'amd64' uid: 0/0 SUDO_USER: 'google')
  test_060_nx (__main__.KernelSecurityTest)
  NX bit is working ... FAIL

  ======================================================================
  FAIL: test_060_nx (__main__.KernelSecurityTest)
  NX bit is working
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./test-kernel-security.py", line 575, in test_060_nx
      self.assertShellExitEquals(rie_expected, ["./nx-test-rie", "data"])
    File 
"/home/google/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py",
 line 1203, in assertShellExitEquals
      self.assertEqual(expected, rc, msg + result + report)
  AssertionError: Got exit code -11, expected 0
  Command: './nx-test-rie', 'data'
  Output:
  rodata:0x55f37cf22098
  data:  0x55f37d123010
  bss:   0x55f37d133040
  brk:   0x55f37edd7270
  rw:    0x7f9b635da000
  rwx:   0x7f9b635d9000
  stack: 0x7ffd6cde4b90
  Dump of /proc/self/maps:
  55f37cf21000-55f37cf23000 r-xp 00000000 08:01 272969                     
/home/google/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test-rie
  55f37d122000-55f37d123000 r--p 00001000 08:01 272969                     
/home/google/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test-rie
  55f37d123000-55f37d124000 rw-p 00002000 08:01 272969                     
/home/google/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test-rie
  55f37d124000-55f37d134000 rw-p 00000000 00:00 0 
  55f37edd6000-55f37edf7000 rw-p 00000000 00:00 0                          
[heap]
  7f9b62fc1000-7f9b631a8000 r-xp 00000000 08:01 2245                       
/lib/x86_64-linux-gnu/libc-2.27.so
  7f9b631a8000-7f9b633a8000 ---p 001e7000 08:01 2245                       
/lib/x86_64-linux-gnu/libc-2.27.so
  7f9b633a8000-7f9b633ac000 r--p 001e7000 08:01 2245                       
/lib/x86_64-linux-gnu/libc-2.27.so
  7f9b633ac000-7f9b633ae000 rw-p 001eb000 08:01 2245                       
/lib/x86_64-linux-gnu/libc-2.27.so
  7f9b633ae000-7f9b633b2000 rw-p 00000000 00:00 0 
  7f9b633b2000-7f9b633db000 r-xp 00000000 08:01 2240                       
/lib/x86_64-linux-gnu/ld-2.27.so
  7f9b635cf000-7f9b635d1000 rw-p 00000000 00:00 0 
  7f9b635d9000-7f9b635da000 rwxp 00000000 00:00 0 
  7f9b635da000-7f9b635db000 rw-p 00000000 00:00 0 
  7f9b635db000-7f9b635dc000 r--p 00029000 08:01 2240                       
/lib/x86_64-linux-gnu/ld-2.27.so
  7f9b635dc000-7f9b635dd000 rw-p 0002a000 08:01 2240                       
/lib/x86_64-linux-gnu/ld-2.27.so
  7f9b635dd000-7f9b635de000 rw-p 00000000 00:00 0 
  7ffd6cdc6000-7ffd6cde7000 rwxp 00000000 00:00 0                          
[stack]
  7ffd6cdfa000-7ffd6cdfd000 r--p 00000000 00:00 0                          
[vvar]
  7ffd6cdfd000-7ffd6cdfe000 r-xp 00000000 00:00 0                          
[vdso]
  ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                  
[vsyscall]
  Attempting to execute function at 0x55f37d123010
  If this program seg-faults, the region was enforced as non-executable...

  
  ----------------------------------------------------------------------
  Ran 1 test in 0.880s

  FAILED (failures=1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/1981069/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to