Public bug reported:

It looks like this config is expected to be unset for X-KVM kernel

  FAIL: test_330_config_debug_wx (__main__.KernelSecurityConfigTest)
  Ensure DEBUG_WX is set
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./test-kernel-security.py", line 2546, in test_330_config_debug_wx
      self.assertKernelConfig('DEBUG_WX', expected)
    File "./test-kernel-security.py", line 209, in assertKernelConfig
      self.assertKernelConfigUnset(name)
    File "./test-kernel-security.py", line 200, in assertKernelConfigUnset
      '%s option was expected to be unset in the kernel config' % name)
  AssertionError: DEBUG_WX option was expected to be unset in the kernel config

As in the qrt code:
    def test_330_config_debug_wx(self):
        '''Ensure DEBUG_WX is set'''

        expected = True
        if not (self.dpkg_arch in ['amd64', 'i386', 'arm64']):
            self._skipped("DEBUG_WX is an x86 and arm64 arch feature only")
            expected = False
        elif not self.kernel_at_least('4.13'):
            self._skipped('CONFIG_DEBUG_WX added/enabled in 4.13 and newer')
            expected = False
        self.assertKernelConfig('DEBUG_WX', expected)

However, the upstream commit (e1a58320a38dfa72be48a0f1a3a92273663ba6db)
to introduce this config can be found in Xenial kernel as well. Maybe we
should consider to change this from the test case.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-1032-kvm 4.4.0-1032.38
ProcVersionSignature: User Name 4.4.0-1032.38-kvm 4.4.140
Uname: Linux 4.4.0-1032-kvm x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Wed Aug 22 04:43:41 2018
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)

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

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

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


** Tags: amd64 apport-bug package-from-proposed uec-images xenial

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

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

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

Title:
  DEBUG_WX is expected to be unset for X-KVM kernel

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

Bug description:
  It looks like this config is expected to be unset for X-KVM kernel

    FAIL: test_330_config_debug_wx (__main__.KernelSecurityConfigTest)
    Ensure DEBUG_WX is set
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./test-kernel-security.py", line 2546, in test_330_config_debug_wx
        self.assertKernelConfig('DEBUG_WX', expected)
      File "./test-kernel-security.py", line 209, in assertKernelConfig
        self.assertKernelConfigUnset(name)
      File "./test-kernel-security.py", line 200, in assertKernelConfigUnset
        '%s option was expected to be unset in the kernel config' % name)
    AssertionError: DEBUG_WX option was expected to be unset in the kernel 
config

  As in the qrt code:
      def test_330_config_debug_wx(self):
          '''Ensure DEBUG_WX is set'''

          expected = True
          if not (self.dpkg_arch in ['amd64', 'i386', 'arm64']):
              self._skipped("DEBUG_WX is an x86 and arm64 arch feature only")
              expected = False
          elif not self.kernel_at_least('4.13'):
              self._skipped('CONFIG_DEBUG_WX added/enabled in 4.13 and newer')
              expected = False
          self.assertKernelConfig('DEBUG_WX', expected)

  However, the upstream commit
  (e1a58320a38dfa72be48a0f1a3a92273663ba6db) to introduce this config
  can be found in Xenial kernel as well. Maybe we should consider to
  change this from the test case.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-1032-kvm 4.4.0-1032.38
  ProcVersionSignature: User Name 4.4.0-1032.38-kvm 4.4.140
  Uname: Linux 4.4.0-1032-kvm x86_64
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: amd64
  Date: Wed Aug 22 04:43:41 2018
  SourcePackage: linux-kvm
  UpgradeStatus: No upgrade log present (probably fresh install)

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