Bug 98361 - [BDW /BXT/SKL/SNB] [Regression] drv_hangman subtests parser fail
Summary: [BDW /BXT/SKL/SNB] [Regression] drv_hangman subtests parser fail
Status: VERIFIED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-20 20:15 UTC by Jairo Miramontes
Modified: 2017-09-14 22:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
drv_hangman dmesg log, for BSD (109.03 KB, text/plain)
2016-10-20 20:15 UTC, Jairo Miramontes
no flags Details

Description Jairo Miramontes 2016-10-20 20:15:58 UTC
Created attachment 127439 [details]
drv_hangman dmesg log, for BSD

While executing IGT we found the below test regressions all related to GPU Hang, attached dmesg log and GPU Crash dump

drv_hangman@error-state-capture-blt	
drv_hangman@error-state-capture-bsd	
drv_hangman@error-state-capture-render
drv_hangman@error-state-capture-vebox

Used the below Configuration

Kernel
=================================================================
Branch           : drm-intel-nightly WW42 
commit 15dfed2b90e84e7c277f81842fc3f19355293061
Author: Lyude <thatslyude@gmail.com>
Date:   Sun Oct 16 19:16:08 2016 -0400

    drm-intel-nightly: 2016y-10m-16d-23h-15m-00s UTC integration manifest


Gfx stack
=================================================================
Component         : drm
        tag       : libdrm-2.4.71
        commit    : a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c 

Component         : cairo
        tag       : 1.15.2
        commit    : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a 

Component         : intel-gpu-tools
        tag       : intel-gpu-tools-1.16-83-g54f8a3f
        commit    : 54f8a3f7cf12eea484a0b0641718ced559959f53
Comment 1 Chris Wilson 2016-10-20 20:17:30 UTC
Just the test doesn't understand the new format.
Comment 2 Jairo Miramontes 2016-10-20 20:32:11 UTC
(In reply to Chris Wilson from comment #1)
> Just the test doesn't understand the new format.

Should we keep this as a regression and mark it as fixed once parser is corrected?
Comment 3 Chris Wilson 2016-10-21 11:59:19 UTC
commit c2fb6b80c951ba45012560e0a6e43aa7e169cb2f
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Oct 21 12:55:09 2016 +0100

    igt/drv_hangman: Skip format expectations for compressed output
Comment 4 Elizabeth 2017-09-14 22:33:26 UTC
Verified on SKL, BDW, BXT, SNB.

$ : sudo -E ./drv_hangman --r error-state-capture-blt
IGT-Version: 1.19-gc718ba8 (x86_64) (Linux: 4.13.0-drm-tip-ww37-commit-14ea1a9+ x86_64)
Subtest error-state-capture-blt: SUCCESS (17.077s)

$ : sudo -E ./drv_hangman --r error-state-capture-bsd
IGT-Version: 1.19-gc718ba8 (x86_64) (Linux: 4.13.0-drm-tip-ww37-commit-14ea1a9+ x86_64)
Subtest error-state-capture-bsd: SUCCESS (17.329s)

$ : sudo -E ./drv_hangman --r error-state-capture-render
IGT-Version: 1.19-gc718ba8 (x86_64) (Linux: 4.13.0-drm-tip-ww37-commit-14ea1a9+ x86_64)
Subtest error-state-capture-render: SUCCESS (17.589s)

$ : sudo -E ./drv_hangman --r error-state-capture-vebox
IGT-Version: 1.19-gc718ba8 (x86_64) (Linux: 4.13.0-drm-tip-ww37-commit-14ea1a9+ x86_64)
Subtest error-state-capture-vebox: SUCCESS (17.153s)

Note with SNB last one is skipped:
$ : sudo -E ./drv_hangman --r error-state-capture-vebox
IGT-Version: 1.19-gc718ba8 (x86_64) (Linux: 4.13.0-drm-tip-ww37-commit-36b5aec+ x86_64)
Test requirement not met in function test_error_state_capture, file drv_hangman.c:186:
Test requirement: gem_has_ring(device, ring_id)
Subtest error-state-capture-vebox: SKIP (0.000s)


With configuration:

======================================
             Software
======================================
kernel version              : 4.13.0-drm-tip-ww37-commit-14ea1a9+
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-289-gc718ba8
intel-gpu-tools (commit)    : c718ba8

intel_iommu=igfx_off


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.