perf_event_open02 in ubuntu_ltp_syscalls failed on Cosmic s390x

Bug #1822032 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned
Cosmic
Invalid
Undecided
Unassigned

Bug Description

Failed on Cosmic s390x KVM, zVM, LPAR:

startup='Wed Mar 20 10:06:36 2019'
perf_event_open02 1 TBROK : perf_event_open02.c:275: perf_event_open failed: errno=ENOENT(2): No such file or directory
perf_event_open02 2 TBROK : perf_event_open02.c:275: Remaining cases broken
tag=perf_event_open02 stime=1553076396 dur=0 exit=exited stat=2 core=no cu=0 cs=0

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-4.18.0-17-generic 4.18.0-17.18
ProcVersionSignature: Ubuntu 4.18.0-17.18-generic 4.18.20
Uname: Linux 4.18.0-17-generic s390x
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13.2
Architecture: s390x
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CurrentDmesg:

Date: Thu Mar 28 04:34:19 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lspci:

Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:

ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=86fb6fff-dc2f-4ffd-9ea8-a15d77ae3eaa crashkernel=196M
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-17-generic N/A
 linux-backports-modules-4.18.0-17-generic N/A
 linux-firmware 1.175.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1822032

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Cosmic):
status: New → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on Bionic as well.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

I can confirm that commit 8032a1ae in LTP test suite has corrected this issue.

It will now return TCONF instead of TBORK:
perf_event_open02 1 TCONF : perf_event_open02.c:274: PERF_COUNT_HW_INSTRUCTIONS not supported: errno=ENOENT(2): No such file or directory
perf_event_open02 2 TCONF : perf_event_open02.c:274: Remaining cases not appropriate for configuration: errno=ENOENT(2): No such file or directory

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in linux (Ubuntu Cosmic):
status: Incomplete → Invalid
Changed in linux (Ubuntu Bionic):
status: New → Invalid
Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.