Bug 104658

Summary: [IGT] perf subtests failed with assertion: !"reached"
Product: DRI Reporter: Armando Antonio <armando.antoniox.mora.reos>
Component: DRM/IntelAssignee: Lionel Landwerlin <lionel.g.landwerlin>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: ReadyForDev
i915 platform: CNL i915 features: Perf/OA
Attachments:
Description Flags
kernel log
none
dmesg
none
test output none

Description Armando Antonio 2018-01-16 15:44:51 UTC
Created attachment 136773 [details]
kernel log

The following test are falling on CNL with latest configuration


===========================================
Test List
===========================================
igt@perf@buffer-fill
igt@perf@enable-disable
igt@perf@gen8-unprivileged-single-ctx-counters

=======================================
Summary output
=======================================
*** DEBUG ****
(perf:2006) DEBUG: fill_duration = 174718976ns, oa_exponent = 4
(perf:2006) DEBUG: dts=0 elapsed=0 duration=87359488
(perf:2006) DEBUG: report loss, trying again
(perf:2006) CRITICAL: Test assertion failure function oa_report_ctx_is_valid, file perf.c:481:
(perf:2006) CRITICAL: Failed assertion: !"reached"
(perf:2006) igt-core-INFO: Stack trace:
(perf:2006) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(perf:2006) igt-core-INFO:   #1 [oa_report_ctx_is_valid+0x6a]
(perf:2006) igt-core-INFO:   #2 [__real_main4393+0x1a69]
(perf:2006) igt-core-INFO:   #3 [main+0x27]
(perf:2006) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(perf:2006) igt-core-INFO:   #5 [_start+0x2a]
(perf:2006) igt-core-INFO:   #6 [<unknown>+0x2a]
****  END  ****
Comment 1 Armando Antonio 2018-01-16 15:44:59 UTC
===========================================
Platform configuration
===========================================
======================================
             Software
======================================
kernel version              : 4.15.0-rc8-drm-tip-ww3-commit-a0ca279+
hostname                    : CNL-1
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 114.4
bios release date           : 11/30/2017
ksc                         : 1.33
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.89
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-281-g84a3080
intel-gpu-tools (commit)    : 84a3080

======================================
             Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : 1.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.61 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
socket                     : Other
current cd clock frequency : 168000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
guc fw loaded             : fetch NONE, load NONE
guc version wanted        : wanted 0.0, found 0.0
guc version found         : wanted 0.0, found 0.0

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 log_buf_len=4M resume=/dev/nvme0n1p3 fastboot
Comment 2 Armando Antonio 2018-01-16 15:50:21 UTC
Created attachment 136774 [details]
dmesg
Comment 3 Armando Antonio 2018-01-16 15:50:43 UTC
Created attachment 136775 [details]
test output
Comment 4 Lionel Landwerlin 2018-01-29 10:26:35 UTC
Could put the test's logs with --debug ?
You seem to have run with --d, thanks!
Comment 5 Lionel Landwerlin 2018-01-29 16:58:55 UTC
Fix submitted : https://patchwork.freedesktop.org/series/37269/
Comment 6 Lionel Landwerlin 2018-02-01 15:22:01 UTC
Landed in IGT as :

commit 902b754804ff76fbbf048ff889a95a4d7c0da5e6 
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date:   Mon Jan 29 12:00:10 2018 +0000

    tests/perf: fix report validity check on gen10+
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Testcase: igt/perf/buffer-fill & igt/perf/enable-disable & igt/perf/gen8-unprivileged-single-ctx-counters
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104658
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Comment 7 Elizabeth 2018-03-28 17:43:43 UTC
Last seen 4.15.0-drm-intel-qa-ww6-commit-6c10ba2+, closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.