For the test itself, this can be fixed with
https://github.com/torvalds/linux/commit/cbd965bde74c3d0e53798404fd4b9829a68ccec8
#diff-71290e3874c89695bb4bc63f892d5c93

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

Title:
  ftrace test in ubuntu_kernel_selftests failed on KVM kernels

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux-kvm package in Ubuntu:
  Fix Released
Status in linux-kvm source package in Bionic:
  Fix Released
Status in linux-kvm source package in Disco:
  Won't Fix
Status in linux-kvm source package in Eoan:
  Fix Released

Bug description:
  This test failed with:
      Error: No ftrace directory found

  In the script:
      DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
      if [ -z "$DEBUGFS_DIR" ]; then
          TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1`
      else
          TRACING_DIR=$DEBUGFS_DIR/tracing
      fi

  The script exit here:
      # Verify parameters
      if [ -z "$TRACING_DIR" -o ! -d "$TRACING_DIR" ]; then
        errexit "No ftrace directory found"
      fi

  DEBUGFS_DIR=/sys/kernel/debug
  TRACING_DIR=/sys/kernel/debug/tracing

  ls: cannot access '/sys/kernel/debug/tracing': No such file or
  directory

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-1028-kvm 4.15.0-1028.28
  ProcVersionSignature: User Name 4.15.0-1028.28-kvm 4.15.18
  Uname: Linux 4.15.0-1028-kvm x86_64
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: amd64
  Date: Fri Jan 18 03:04:17 2019
  SourcePackage: linux-kvm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1812318/+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