After the kernel fixed the /proc/kallsyms output, this exposed some
other behavioral changes around kernel pointers that were introduced in
4.15. I've refactored the qrt script to make these changes independent
of each other (so that if one fails, other checks will still run), as
well as fixed things up to take into account the new 4.15 behaviors.

This is in qrt git commit https://git.launchpad.net/qa-regression-
testing/commit/?id=21d3d42aa75eef6b4253f9a0304a4ef63ec84b18 .

Thanks.

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

** Changed in: linux (Ubuntu)
       Status: Triaged => Fix Released

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

Title:
  test_095_kernel_symbols_missing in ubuntu_qrt_kernel_security failed
  on Bionic

Status in QA Regression Testing:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  This issue could be found on AMD64, ppc64le, ARM64, s390x (not sure
  about i386, which was not tested because of the deployment issue in
  the last cycle)

  Steps:
   1. Deploy an AMD64 system with Bionic
   2. sudo apt-get install git python-minimal -y
   3. git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest-client-tests 
-b master-next
   4. git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest
   5. rm -fr autotest/client/tests
   6. ln -sf ~/autotest-client-tests autotest/client/tests
   7. AUTOTEST_PATH=/home/ubuntu/autotest sudo -E 
autotest/client/autotest-local --verbose 
autotest/client/tests/ubuntu_qrt_kernel_security/control

    ERROR: test_095_kernel_symbols_missing (__main__.KernelSecurityTest)
    kernel addresses in kallsyms and modules are zeroed out
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./test-kernel-security.py", line 1508, in 
test_095_kernel_symbols_missing
        self._check_pK_files(expected)
      File "./test-kernel-security.py", line 1440, in _check_pK_files
        expected)
      File "./test-kernel-security.py", line 1401, in _read_twice
        self.assertEqual(expected, 0 == int(address, 16), "%s: user saw %s" % 
(filename, address))
    ValueError: invalid literal for int() with base 16: '(null)'

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-10-generic 4.15.0-10.11
  ProcVersionSignature: User Name 4.15.0-10.11-generic 4.15.3
  Uname: Linux 4.15.0-10-generic x86_64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Feb 23 04:53 seq
   crw-rw---- 1 root audio 116, 33 Feb 23 04:53 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CurrentDmesg:

  Date: Fri Feb 23 06:57:48 2018
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  MachineType: Dell Inc. PowerEdge R320
  PciMultimedia:

  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 mgadrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-10-generic 
root=UUID=0845f9a0-ab8c-4dfa-8385-af21f2f2b9ad ro
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-10-generic N/A
   linux-backports-modules-4.15.0-10-generic  N/A
   linux-firmware                             1.171
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/11/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.2.4
  dmi.board.name: 0DY523
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A03
  dmi.chassis.type: 23
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.2.4:bd05/11/2012:svnDellInc.:pnPowerEdgeR320:pvr:rvnDellInc.:rn0DY523:rvrA03:cvnDellInc.:ct23:cvr:
  dmi.product.name: PowerEdge R320
  dmi.sys.vendor: Dell Inc.

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