I suspected this would be the case. I've now fixed up qrt in
https://git.launchpad.net/qa-regression-
testing/commit/?id=6bf3376a06c5828ad63eb350ca8e037c7a5e5a6b .

Thanks!

** Changed in: linux (Ubuntu)
       Status: Incomplete => Invalid

** Changed in: linux-kvm (Ubuntu)
       Status: New => Invalid

** Changed in: qa-regression-testing
       Status: New => Fix Released

-- 
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/1769054

Title:
  test_095_kernel_symbols_missing_proc_modules failed with 4.4 KVM

Status in QA Regression Testing:
  Fix Released
Status in linux package in Ubuntu:
  Invalid
Status in linux-kvm package in Ubuntu:
  Invalid

Bug description:
  Similar to bug 1764980, but this is failing on 4.4 KVM kernel.
  And despite the KALLSYMS was not enabled, the module output is not the 
expected zero.

    FAIL: test_095_kernel_symbols_missing_proc_modules 
(__main__.KernelSecurityTest)
    kernel addresses in /proc/modules are zeroed out
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./test-kernel-security.py", line 1652, in 
test_095_kernel_symbols_missing_proc_modules
        self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, 
expected=expected)
      File "./test-kernel-security.py", line 1526, in _check_pK_files
        test_function(expected_restricted)
      File "./test-kernel-security.py", line 1559, in 
_095_kernel_symbols_missing_proc_modules
        expected)
      File "./test-kernel-security.py", line 1451, in _read_twice
        self.assertEqual(0, int(address, 16), "%s: root saw %s - contents:\n%s" 
% (filename, address, root))
    AssertionError: /proc/modules: root saw 0xffffffffc0118000 - contents:
    fuse 73728 3 - Live 0xffffffffc0220000
    kvm_intel 143360 0 - Live 0xffffffffc01fc000
    btrfs 741376 0 - Live 0xffffffffc0146000
    xor 20480 1 btrfs, Live 0xffffffffc013d000
    lzo_compress 12288 1 btrfs, Live 0xffffffffc0139000
    raid6_pq 98304 1 btrfs, Live 0xffffffffc011e000
    pata_acpi 12288 0 - Live 0xffffffffc0118000

  The KALLSYMS config was not enabled in 4.4 kvm kernel:
  ubuntu@zeppo:~$ grep KALLSYMS /boot/config-4.4.0-1022-kvm 
  # CONFIG_KALLSYMS is not set
  ubuntu@zeppo:~$ 

  ubuntu@zeppo:~$ sudo cat /proc/modules
  fuse 73728 3 - Live 0xffffffffc0220000
  kvm_intel 143360 0 - Live 0xffffffffc01fc000
  btrfs 741376 0 - Live 0xffffffffc0146000
  xor 20480 1 btrfs, Live 0xffffffffc013d000
  lzo_compress 12288 1 btrfs, Live 0xffffffffc0139000
  raid6_pq 98304 1 btrfs, Live 0xffffffffc011e000
  pata_acpi 12288 0 - Live 0xffffffffc0118000
  ubuntu@zeppo:~$ cat /proc/version_signature
  Ubuntu 4.4.0-1022.27-kvm 4.4.128

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-1022-kvm 4.4.0-1022.27
  ProcVersionSignature: User Name 4.4.0-1022.27-kvm 4.4.128
  Uname: Linux 4.4.0-1022-kvm x86_64
  ApportVersion: 2.20.1-0ubuntu2.16
  Architecture: amd64
  Date: Fri May  4 06:22:06 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  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/1769054/+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