def test_260_config_PTI(self):
        '''Ensure kernel page table isolation is set appropriately'''

        expected = True
        archs = ['amd64']
        if self.kernel_at_least('4.19'):
            archs += ['i386']
        if self.dpkg_arch not in archs:
            self._skipped("KPTI only in amd64 and i386 (4.19 and later)")
            expected = False
        self.assertKernelConfig('PAGE_TABLE_ISOLATION', expected)

The last change to this test seems to be in Jan. this year.

** Also affects: qa-regression-testing
   Importance: Undecided
       Status: New

** Also affects: ubuntu-kernel-tests
   Importance: Undecided
       Status: New

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-5754

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

Title:
  test_260_config_PTI in ubuntu_qrt_kernel_security failed with 4.15
  i386

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

Bug description:
  Test failed with 4.15 i386 kernel, didn't see this on other arches

  FAIL: test_260_config_PTI (__main__.KernelSecurityConfigTest)
  Ensure kernel page table isolation is set appropriately
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./test-kernel-security.py", line 2566, in test_260_config_PTI
      self.assertKernelConfig('PAGE_TABLE_ISOLATION', expected)
    File "./test-kernel-security.py", line 210, in assertKernelConfig
      self.assertKernelConfigUnset(name)
    File "./test-kernel-security.py", line 201, in assertKernelConfigUnset
      '%s option was expected to be unset in the kernel config' % name)
  AssertionError: PAGE_TABLE_ISOLATION option was expected to be unset in the 
kernel config

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/1825108/+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