Bug 101637 - [IGT] [HSW/GLK/KBL] igt@gem_exec_params@invalid-flag test assertion failure function
Summary: [IGT] [HSW/GLK/KBL] igt@gem_exec_params@invalid-flag test assertion failure ...
Status: CLOSED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-28 21:21 UTC by Humberto Israel Perez Rodriguez
Modified: 2017-07-27 19:28 UTC (History)
2 users (show)

See Also:
i915 platform: GLK, HSW, KBL
i915 features: display/Other


Attachments
dmesg.log (185.31 KB, text/plain)
2017-06-28 21:21 UTC, Humberto Israel Perez Rodriguez
no flags Details
kern.log (284.44 KB, text/plain)
2017-06-28 21:22 UTC, Humberto Israel Perez Rodriguez
no flags Details
results of execution (1.45 KB, text/plain)
2017-07-07 16:51 UTC, Armando Antonio
no flags Details

Description Humberto Israel Perez Rodriguez 2017-06-28 21:21:59 UTC
Created attachment 132324 [details]
dmesg.log

The following test fail on GLK with latest configuration

Test output
======================================

IGT-Version: 1.19-g9918014 (x86_64) (Linux: 4.12.0-rc7-drm-tip-ww26-commit-85a692e+ x86_64)
(gem_exec_params:1414) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_params:1414) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_params:1414) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_params:1414) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_params:1414) igt-core-DEBUG: Starting subtest: invalid-flag
(gem_exec_params:1414) CRITICAL: Test assertion failure function __real_main81, file gem_exec_params.c:254:
(gem_exec_params:1414) CRITICAL: Failed assertion: drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf) == -1
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main81+0x138c]
  #2 [main+0x33]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest invalid-flag failed.
**** DEBUG ****
(gem_exec_params:1414) CRITICAL: Test assertion failure function __real_main81, file gem_exec_params.c:254:
(gem_exec_params:1414) CRITICAL: Failed assertion: drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf) == -1
****  END  ****
Subtest invalid-flag: FAIL (0.005s)
(gem_exec_params:1414) igt-core-DEBUG: Exiting with status code 99
(gem_exec_params:1414) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'


======================================
             Software
======================================
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 50.51
bios release date           : 06/02/2017
ksc                         : 1.32


======================================
        Graphic drivers
======================================
Component: drm
    tag: libdrm-2.4.80-29-g7e6bf88
    commit: 7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc
Component: cairo
    tag: 1.15.4-28-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.18-284-g9918014
    commit: 9918014df55d0393f99a31e3c398a4b38c90bb80
Component: piglit
    tag: piglit-v1
    commit: 1b8356e6dfa07480c154fccb47f6ef9c908ef652


======================================
             Kernel
======================================
commit 85a692e2c6a7cf93082044d776e838cb9e9b2146
Author:     Chris Wilson <chris@chris-wilson.co.uk>
AuthorDate: Wed Jun 28 15:25:29 2017 +0100
Commit:     Chris Wilson <chris@chris-wilson.co.uk>
CommitDate: Wed Jun 28 15:25:29 2017 +0100
	
======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU @ 1.10GHz
gpu card                   : Intel Corporation Device 3184 (rev 01) (prog-if 00 [VGA controller])
memory ram                 : 3.67 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 0
hard drive                 : 74GiB (80GB)
current cd clock frequency : 79200 kHz
maximum cd clock frequency : 316800 kHz
displays connected         : eDP-1 DP-1 HDMI-A-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : SUCCESS
guc version wanted        : 10.56
guc version found         : 10.56

======================================
             kernel parameters
======================================
drm.debug=0x1e i915.alpha_support=1 resume=/dev/sda3 fastboot i915.enable_guc_loading=2 i915.enable_guc_submission=2 log_buf_len=1M

attachments
========================================
kern.log
dmesg.log
Comment 1 Humberto Israel Perez Rodriguez 2017-06-28 21:22:15 UTC
Created attachment 132325 [details]
kern.log
Comment 2 Elizabeth 2017-06-29 15:08:50 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 3 Armando Antonio 2017-07-07 16:49:14 UTC
The following test fail on IVB with latest configuration

====================================================
Test list
====================================================
igt@gem_exec_params@invalid-flag


Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-24-g3095cc8
    commit: 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-57-g6fcc8e8
    commit: 6fcc8e8b247661c7950b998e0b95141ffbd6b833
Component: piglit
    tag: piglit-v1
    commit: c8f4fd9eeb298a2ef0855927f22634f794ef3eff
======================================
             Hardware
======================================
platform                   : Ivy Bridge
motherboard model          : Inspiron660
motherboard id             : 0XR1GT
form factor                : Desktop
manufacturer               : DellInc.
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
gpu card                   : Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 7.7 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 58
cpu stepping               : 9
socket                     : Socket BGA1155
signature                  : Type 0, Family 6, Model 58, Stepping 9
hard drive                 : 74GiB (80GB)
current cd clock frequency : 400000 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : VGA-1 HDMI-A-1
Comment 4 Armando Antonio 2017-07-07 16:51:01 UTC
Created attachment 132504 [details]
results of execution
Comment 5 Chris Wilson 2017-07-07 20:29:57 UTC
commit 4b8e1273d36acf63ec071f015059fe5b2a8f8aac (HEAD, upstream/master)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jul 7 21:28:22 2017 +0100

    igt/gem_exec_params: Update negative flags test.
    
    Negative testing ftw.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 6 Ricardo Madrigal 2017-07-10 16:41:42 UTC
The following test fail on KBL  with latest configuration

Test list
====================================================
igt@gem_exec_params@invalid-flag
==================================================

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-24-g3095cc8
    commit: 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-57-g6fcc8e8
    commit: 6fcc8e8b247661c7950b998e0b95141ffbd6b833
Component: piglit
    tag: piglit-v1
    commit: c8f4fd9eeb298a2ef0855927f22634f794ef3eff

======================================
             Hardware
======================================
motherboard id             : NUC7i5BNB
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
gpu card                   : Intel Corporation Device 5926 (rev 06) (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 142
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 142, Stepping 9
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1
Comment 7 Elizabeth 2017-07-20 19:31:29 UTC
(In reply to Ricardo Madrigal from comment #6)
> The following test fail on KBL  with latest configuration
> 
> Test list
> ====================================================
> igt@gem_exec_params@invalid-flag
> ==================================================
>
Comment 8 Hector Velazquez 2017-07-26 19:56:57 UTC
The following tests PASS on IVB with this configuration

Tests List:

sigt@gem_exec_params@invalid-flag



This is my configuration:

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-33-g3876bc2
    commit: 3876bc246a07070a6043159cd7623d4def9bbd4c

Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-112-g493151b
    commit: 493151b0768aa4ca535cef49cb7efa174a9c3a77

Component: piglit
    tag: piglit-v1
    commit: 973892687cf5c2f8e2dbe1d22998b82736643787



======================================
             Hardware
======================================
==============================================================
Essentials
==============================================================
Processor Number			i5-3330
Status					Launched
Launch Date				Q3'12
Lithography				22 nm


==============================================================
Performance
==============================================================
# of Cores				4
# of Threads				4
Processor Base Frequency		3.00 GHz
Max Turbo Frequency			3.20 GHz
Cache					6 MB SmartCache
Bus Speed				5 GT/s DMI
TDP					77 W

==============================================================
Memory Specifications
==============================================================
Max Memory Size 			32 GB
Memory Types				DDR3 1333/1600
Max # of Memory Channels		2
Max Memory Bandwidth			25.6 GB/s
ECC Memory Supported  			No

==============================================================
Graphics Specifications
==============================================================
Processor Graphics 			Intel® HD Graphics 2500
Graphics Base Frequency			650.00 MHz
Graphics Max Dynamic Frequency		1.05 GHz
Intel® Quick Sync Video 		Yes
Intel® InTru™ 3D Technology		Yes
Intel® Wireless Display 		Yes
Intel® Flexible Display Interface 	Yes
Intel® Clear Video HD Technology	Yes
# of Displays Supported 		3
Device ID				0x152



Note: Removing IVB from this BUG since test is shown as PASSED...
Comment 9 Chris Wilson 2017-07-26 20:04:25 UTC
Sighs.
Comment 10 Elizabeth 2017-07-27 19:28:43 UTC
(In reply to Chris Wilson from comment #9)
> Sighs.
Hello Chris, 
Is this test expected to fail? Is that the reason this isn't a bug??
Thanks.


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.