ubuntu_qrt_kernel_security test_050_personality failed on arm64 Trusty / X-hwe kernel

Bug #1684776 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
Invalid
Undecided
Unassigned
ubuntu-kernel-tests
Won't Fix
Undecided
Unassigned
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

With 4.4.0-74.95~14.04.1 kernel, this test case failed on arm64 node.

(This issue was reported in bug 1630000 as well, in this cycle, only 050, 060 failed on this kernel)

======================================================================
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)

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

Hi,

Are these tests (050 and 060 in bug 1684773) failing only for the 4.4 arm64 kernel on trusty, and not the same 4.4 kernel in xenial? If so, I'm wondering if the difference is in the init daemon in the two releases, rather than the kernel.

Thanks.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Oh sorry missed this comment.

Yes, they both failed for the 4.4 arm64 kernel on trusty.

The qrt security test suite passed on 4.4 Xenial.

Thanks!

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Failed with Trusty kernel on Trusty too.

summary: - ubuntu_qrt_kernel_security test_050_personality failed on arm64 X-hwe
+ ubuntu_qrt_kernel_security test_050_personality failed on arm64 Trusty /
+ X-hwe kernel
Po-Hsu Lin (cypressyew)
tags: added: trusty
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1684776

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Sean Feole (sfeole) wrote :

sam, any reason to keep this open? i see random updates on it, yet have no looked at the issue in its entirety.

 very old bug, with no action on it, marking bug as incomplete and will close in 5 days if no update.

Changed in ubuntu-kernel-tests:
status: New → Incomplete
Changed in qa-regression-testing:
status: New → Incomplete
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue still exists

293. 08/21 12:25:17 ERROR| utils:0153| [stderr] ======================================================================
294. 08/21 12:25:17 ERROR| utils:0153| [stderr] FAIL: test_050_personality (__main__.KernelSecurityTest)
295. 08/21 12:25:17 ERROR| utils:0153| [stderr] init missing READ_IMPLIES_EXEC
296. 08/21 12:25:17 ERROR| utils:0153| [stderr] ----------------------------------------------------------------------
297. 08/21 12:25:17 ERROR| utils:0153| [stderr] Traceback (most recent call last):
298. 08/21 12:25:17 ERROR| utils:0153| [stderr] File "./test-kernel-security.py", line 454, in test_050_personality
299. 08/21 12:25:17 ERROR| utils:0153| [stderr] self.assertEqual(output, expected, "/proc/1/personality contains %s (expected %s)" % (output, expected))
300. 08/21 12:25:17 ERROR| utils:0153| [stderr] AssertionError: /proc/1/personality contains 00400000 (expected 00000000)

http://10.246.72.4/test-results/3.13.0-157.207-generic/ms10-35-mcdivittB0-kernel__3.13.0-157.207__2018-08-21_12-17-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

tags: added: arm64
Changed in qa-regression-testing:
status: Incomplete → Confirmed
Changed in ubuntu-kernel-tests:
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Brad Figg (brad-figg)
tags: added: cscc
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-qrt-kernel-security
tags: added: 4.4 sru-20190722
Connor Kuehl (connork)
Changed in qa-regression-testing:
status: Confirmed → In Progress
assignee: nobody → Connor Kuehl (connork)
Po-Hsu Lin (cypressyew)
tags: added: sru-20200106
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

As we're not testing ARM64 on Trusty ESM anymore, I will close this.

Please feel free to re-open this if think this is not correct.

Changed in qa-regression-testing:
assignee: Connor Kuehl (connork) → nobody
Changed in ubuntu-kernel-tests:
status: Confirmed → Won't Fix
Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
Changed in qa-regression-testing:
status: In Progress → Invalid
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.