The pmu failure could be found on Oracle B-4.15 as well:

 Running 'kvm-ok'
 INFO: /dev/kvm exists
 KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pmu'
 BUILD_HEAD=e2c275c4
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 -nodefaults -device 
pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial 
stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.p5vxZITKIQ -smp 1 
-cpu host # -initrd /tmp/tmp.ndP8Idxxbw
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 45a000
 cr4 = 20
 PMU version: 2
 GP counters: 4
 GP counter width: 48
 Mask length: 7
 Fixed counters: 3
 Fixed counter width: 48
 PASS: core cycles-0
 PASS: core cycles-1
 PASS: core cycles-2
 PASS: core cycles-3
 PASS: instructions-0
 PASS: instructions-1
 PASS: instructions-2
 PASS: instructions-3
 PASS: ref cycles-0
 PASS: ref cycles-1
 PASS: ref cycles-2
 PASS: ref cycles-3
 PASS: llc refference-0
 PASS: llc refference-1
 PASS: llc refference-2
 PASS: llc refference-3
 PASS: llc misses-0
 PASS: llc misses-1
 PASS: llc misses-2
 PASS: llc misses-3
 PASS: branches-0
 PASS: branches-1
 PASS: branches-2
 PASS: branches-3
 PASS: branch misses-0
 PASS: branch misses-1
 PASS: branch misses-2
 PASS: branch misses-3
 PASS: fixed-0
 PASS: fixed-1
 PASS: fixed-2
 PASS: rdpmc: cntr-0
 PASS: rdpmc: fast-0
 PASS: rdpmc: cntr-1
 PASS: rdpmc: fast-1
 PASS: rdpmc: cntr-2
 PASS: rdpmc: fast-2
 PASS: rdpmc: cntr-3
 PASS: rdpmc: fast-3
 FAIL: rdpmc: fixed cntr-0
 PASS: rdpmc: fixed fast-0
 FAIL: rdpmc: fixed cntr-1
 PASS: rdpmc: fixed fast-1
 FAIL: rdpmc: fixed cntr-2
 PASS: rdpmc: fixed fast-2
 FAIL: all counters
 PASS: overflow: cntr-0
 PASS: overflow: status-0
 PASS: overflow: status clear-0
 PASS: overflow: irq-0
 PASS: overflow: cntr-1
 PASS: overflow: status-1
 PASS: overflow: status clear-1
 PASS: overflow: irq-1
 PASS: overflow: cntr-2
 PASS: overflow: status-2
 PASS: overflow: status clear-2
 PASS: overflow: irq-2
 PASS: overflow: cntr-3
 PASS: overflow: status-3
 PASS: overflow: status clear-3
 PASS: overflow: irq-3
 PASS: overflow: cntr-4
 PASS: overflow: status-4
 PASS: overflow: status clear-4
 PASS: overflow: irq-4
 PASS: cmask
 SUMMARY: 67 tests, 4 unexpected failures
 FAIL pmu (67 tests, 4 unexpected failures)

** Tags added: bionic linux-oracle

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

** Tags added: sru-20191021 ubuntu-kvm-unit-tests

** Tags added: 4.15

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

Title:
  pmu test in kvm-unit-test failed on X-hwe ARM64 system

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Triaged

Bug description:
  This failure could be found on both Moonshot and Cavium ThunderX ARM64
  systems.

  Steps:
   1. Install necessary packages
   2. git clone --depth=1 
https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
   3. cd kvm-unit-tests; ./configure; make
   4. TESTNAME=pmu TIMEOUT=90s ACCEL= ./arm/run arm/pmu.flat -smp 1

  Result:
  timeout -k 1s --foreground 90s /usr/bin/qemu-system-aarch64 -nodefaults 
-machine virt,gic-version=host,accel=kvm -cpu host -device virtio-serial-device 
-device virtconsole,chardev=ctd -chardev testdev,id=ctd -device pci-testdev 
-display none -serial stdio -kernel arm/pmu.flat -smp 1 # -initrd 
/tmp/tmp.H8ucGrg46U

  INFO: PMU version: 3
  INFO: pmu: PMU implementer/ID code/counters: 0(" ")/0/0
  FAIL: pmu: Control register
  Read 0 then 0.
  FAIL: pmu: Monotonically increasing cycle count
  instrs : cycles0 cycles1 ...
     4:    0
  cycles not incrementing!
  FAIL: pmu: Cycle/instruction ratio
  SUMMARY: 3 tests, 3 unexpected failures

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.13.0-36-generic 4.13.0-36.40~16.04.1
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  Uname: Linux 4.13.0-36-generic aarch64
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: arm64
  Date: Thu Feb 22 08:29:15 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-hwe
  UpgradeStatus: No upgrade log present (probably fresh install)
  --- 
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Feb 22 08:24 seq
   crw-rw---- 1 root audio 116, 33 Feb 22 08:24 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: arm64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CurrentDmesg:
   
  DistroRelease: Ubuntu 16.04
  IwConfig: Error: [Errno 2] No such file or directory
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  Package: linux (not installed)
  PciMultimedia:
   
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:
   
  ProcKernelCmdLine: console=ttyS0,9600n8r ro
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware                             1.157.16
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  xenial uec-images
  Uname: Linux 4.13.0-36-generic aarch64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True

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