test_520_config_random_trust_cpu in ubuntu_qrt_kernel_security fail with B-OEM-OSP1

Bug #1828173 reported by Po-Hsu Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin
linux-oem-osp1 (Ubuntu)
Fix Released
Undecided
Timo Aaltonen
Bionic
Fix Released
Undecided
Unassigned

Bug Description

== SRU Justification ==
The ubuntu_qrt_kernel_security test from Security Team require that the RANDOM_TRUST_CPU config must be enabled for kernel >= 5.0.0

== Test ==
Tested with a kernel built with this config enabled, it will pass the config check in test test_520_config_random_trust_cpu.

== Regression Potential ==
Low.
As stated in bug 1823754, no user-visible regressions are expected.
The config is already enabled in the Disco generic/master.

FAIL: test_520_config_random_trust_cpu (__main__.KernelSecurityConfigTest)
 Ensure RANDOM_TRUST_CPU is enabled (LP: #1823754)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
 File "./test-kernel-security.py", line 2840, in test_520_config_random_trust_cpu
 self.assertKernelConfig('RANDOM_TRUST_CPU', expected)
 File "./test-kernel-security.py", line 208, in assertKernelConfig
 self.assertKernelConfigSet(name)
 File "./test-kernel-security.py", line 195, in assertKernelConfigSet
 '%s option was expected to be set in the kernel config' % name)
 AssertionError: RANDOM_TRUST_CPU option was expected to be set in the kernel config

Revision history for this message
Tyler Hicks (tyhicks) wrote :

Timo, could you enable CONFIG_RANDOM_TRUST_CPU in linux-oem-osp1? It isn't an SRU cycle blocker but it would be good if the config option was enabled for the next cycle. Thanks!

Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
status: New → In Progress
Changed in linux-oem-osp1 (Ubuntu):
status: New → In Progress
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in linux-oem-osp1 (Ubuntu):
assignee: nobody → Po-Hsu Lin (cypressyew)
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I'm not sure why the config change didn't make it to debian.oem-osp1..

Changed in linux-oem-osp1 (Ubuntu):
assignee: Po-Hsu Lin (cypressyew) → Timo Aaltonen (tjaalton)
Timo Aaltonen (tjaalton)
Changed in linux-oem-osp1 (Ubuntu Bionic):
status: New → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

is fixed in the kernel now

Changed in linux-oem-osp1 (Ubuntu Bionic):
status: Fix Committed → Fix Released
Changed in linux-oem-osp1 (Ubuntu):
status: In Progress → Fix Released
Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
status: In Progress → 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.