[Debian][LTP][preempt-rt]perf_event_open02.c:322: TFAIL: test failed (ratio was greater than 5)

Bug #2019933 reported by Peng Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
In Progress
Undecided
Peng Zhang

Bug Description

Brief Description

[preempt-rt]perf_event_open02.c:322: TFAIL: test failed (ratio was greater than 5)

Severity

Major

Steps to Reproduce
install preempt-rt OS

install ltp deb
http://pek-starlingx-test.wrs.com/debian/stx-deb/apt-repo-test/packages/stx-ltp-20230127-r0.x86_64.deb

/opt/ltp/wrLinux_ltp/wr-runltp -f syscalls -s perf_event_open02

Expected Behavior
no error or fail
Actual Behavior

root@controller-0:~# cat /proc/cmdline
net.naming-scheme=vSTX7_0 BOOT_IMAGE=/1/vmlinuz-5.10.0-6-rt-amd64 rw rootwait ostree_boot=LABEL=otaboot ostree_root=/dev/mapper/cgts--vg-root--l
v rd.lvm.lv=cgts/root-lv ostree_var=/dev/mapper/cgts--vg-var--lv ostree=/ostree/1 console=ttyS0,115200 console=tty1 iommu=pt hugepagesz=2M hugep
ages=0 default_hugepagesz=2M nohz_full=1-15 rcu_nocbs=1-15 kthread_cpus=0 irqaffinity=1-15 nmi_watchdog=0 softlockup_panic=0 intel_iommu=on skew
_tick=1 selinux=0 enforcing=0 softdog.soft_panic=1 systemd.unified_cgroup_hierarchy=0 user_namespace.enable=1 biosdevname=0 crashkernel=2048M ap
parmor=0 security=apparmor
root@controller-0:~# uname -a
Linux controller-0 5.10.0-6-rt-amd64 #1 SMP PREEMPT_RT StarlingX Debian 5.10.177-1.stx.64 (2023-04-19 x86_64 GNU/Linux
root@controller-0:~#

<<<test_start>>>
tag=perf_event_open02 stime=1682607000
cmdline="perf_event_open02"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1558: TINFO: Timeout per run is 0h 01m 42s
perf_event_open02.c:103: TINFO: bench_work estimated loops = 7152 in 500 ms
perf_event_open02.c:148: TINFO: [0] value:2148132819 time_enabled:499234868 time_running:499234868
perf_event_open02.c:148: TINFO: [1] value:2148164103 time_enabled:499275716 time_running:499275716
perf_event_open02.c:148: TINFO: [2] value:2148152532 time_enabled:464324083 time_running:464324083
perf_event_open02.c:148: TINFO: [3] value:2148176604 time_enabled:499456557 time_running:499456557
perf_event_open02.c:148: TINFO: [4] value:2148141269 time_enabled:499314918 time_running:499314918
perf_event_open02.c:148: TINFO: [5] value:1789696944 time_enabled:463375503 time_running:385986324
perf_event_open02.c:307: TINFO: nhw: 5, overall task clock: 3955212398
perf_event_open02.c:308: TINFO: hw sum: 85906980641, task clock sum: 19779278523
perf_event_open02.c:320: TINFO: ratio: 5.000813
perf_event_open02.c:322: TFAIL: test failed (ratio was greater than 5)

Summary:
passed 0
failed 1
broken 0
skipped 0
warnings 0
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=11 termination_type=exited termination_id=1 corefile=no
cutime=1037 cstime=1
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20230127

       ###############################################################

            Done executing testcases.
            LTP Version: 20230127
       ###############################################################

Reproducibility

<Reproducible>

System Configuration

One node system

Load info (eg: 2022-03-10_20-00-07)

root@controller-0:~# uname -a
Linux controller-0 5.10.0-6-rt-amd64 #1 SMP PREEMPT_RT StarlingX Debian 5.10.177-1.stx.64 (2023-04-19 x86_64 GNU/Linux
root@controller-0:~# cat /etc/build.info
SW_VERSION="22.12"
BUILD_TARGET="Unknown"
BUILD_TYPE="Informal"
BUILD_ID="n/a"

JOB="n/a"
BUILD_BY="pzhang2"
BUILD_NUMBER="n/a"
BUILD_HOST="stx-stx-builder-64b55bf788-h7m57"
BUILD_DATE="2023-04-18 01:14:44 +0000"

BUILD_DIR="/localdisk/loadbuild/pzhang2/stx"
WRS_SRC_DIR="/localdisk/designer/pzhang2/stx/cgcs-root"
WRS_GIT_BRANCH="HEAD"
CGCS_SRC_DIR="/localdisk/designer/pzhang2/stx/cgcs-root/stx"
CGCS_GIT_BRANCH="HEAD"
root@controller-0:~#

Last Pass

none

Timestamp/Logs

none

Alarms

Test Activity

os regression

Workaround

no

Peng Zhang (pzhang2)
Changed in starlingx:
status: New → In Progress
assignee: nobody → Peng Zhang (pzhang2)
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.