Bug 101650 - [IGT] [GLK/IVB/KBL/BSW/HSW/BDW/BYT/BXT/SKL] tools_test@sysfs_l3_parity Bad file descriptor
Summary: [IGT] [GLK/IVB/KBL/BSW/HSW/BDW/BYT/BXT/SKL] tools_test@sysfs_l3_parity Bad f...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Petri Latvala
QA Contact:
URL:
Whiteboard: ReadyForDev
Keywords:
: 102255 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-29 15:50 UTC by Humberto Israel Perez Rodriguez
Modified: 2018-08-24 10:17 UTC (History)
3 users (show)

See Also:
i915 platform: BDW, BSW/CHT, BXT, BYT, GLK, HSW, IVB, KBL, SKL
i915 features: display/Other


Attachments
dmesg.log (402.40 KB, text/plain)
2017-06-29 15:50 UTC, Humberto Israel Perez Rodriguez
no flags Details
kern.log (599.09 KB, text/plain)
2017-06-29 15:50 UTC, Humberto Israel Perez Rodriguez
no flags Details
output (GLK) (578 bytes, text/plain)
2017-09-20 17:15 UTC, Hector Velazquez
no flags Details
Dmesg (GLK) (184.86 KB, text/plain)
2017-09-20 17:15 UTC, Hector Velazquez
no flags Details

Description Humberto Israel Perez Rodriguez 2017-06-29 15:50:35 UTC
Created attachment 132350 [details]
dmesg.log

The following test fail on GLK with latest configuration

test
=====================
igt@tools_test@sysfs_l3_parity



test output
=====================================
IGT-Version: 1.19-g9918014 (x86_64) (Linux: 4.12.0-rc7-drm-tip-ww26-commit-85a692e+ x86_64)
(tools_test:1500) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(tools_test:1500) igt-core-DEBUG: Starting subtest: sysfs_l3_parity
(tools_test:1500) igt-core-WARNING: [cmd] l3_parity: Bad file descriptor
(tools_test:1500) CRITICAL: Test assertion failure function __real_main82, file tools_test.c:92:
(tools_test:1500) CRITICAL: Failed assertion: exec_return == IGT_EXIT_SUCCESS
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main82+0x2f6]
  #2 [main+0x33]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest sysfs_l3_parity failed.
**** DEBUG ****
(tools_test:1500) igt-core-WARNING: [cmd] l3_parity: Bad file descriptor
(tools_test:1500) CRITICAL: Test assertion failure function __real_main82, file tools_test.c:92:
(tools_test:1500) CRITICAL: Failed assertion: exec_return == IGT_EXIT_SUCCESS
****  END  ****
Subtest sysfs_l3_parity: FAIL (0.101s)
(tools_test:1500) igt-core-DEBUG: Exiting with status code 99


======================================
             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-29 15:50:49 UTC
Created attachment 132351 [details]
kern.log
Comment 2 Armando Antonio 2017-07-06 14:57:22 UTC
The following test fail on IVB with latest configuration

====================================================
Test list
====================================================
igt@tools_test@sysfs_l3_parity
igt@tools_test@tools_test


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 3 Ricardo Madrigal 2017-07-10 15:07:04 UTC
The following test fail on KBL  with latest configuration

Test list
====================================================
igt@tools_test@sysfs_l3_parity
==================================================

====================================================
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 4 Armando Antonio 2017-07-11 20:43:36 UTC
The following test fail on BSW with latest configuration too

====================================================
Test list
====================================================
igt@tools_test@sysfs_l3_parity


====================================================
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                   : Braswell
motherboard model          : 10G9000NUS
motherboard id             : BRASWELL
form factor                : Desktop
manufacturer               : LENOVO
cpu family                 : Pentium
cpu family id              : 6
cpu information            : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
gpu card                   : Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21) (prog-if 00 [VGA controller])
memory ram                 : 7.68 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 76
cpu stepping               : 3
socket                     : Socket BGA1155
signature                  : Type 0, Family 6, Model 76, Stepping 3
hard drive                 : 476GiB (512GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 320000 kHz
displays connected         : DP-1 DP-3
Comment 5 maria guadalupe 2017-07-12 16:37:53 UTC
issue is still present over BDW with the following configuration 

test
=====================================
igt@tools_test@sysfs_l3_parity

 Software
======================================
kernel version              : 4.12.0-drm-tip-ww28-commit-f1619bb+
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.18.4 X.Org Video Driver
xorg-xserver                : 1.18.4
libdrm                      : 2.4.70
libva                       : 1.7.1-2
vaapi (intel-driver)        : 1.7.1
cairo                       : 1.14.6-1build1
intel-gpu-tools             : 1.16-1

======================================
             Hardware
======================================
platform                   : Broadwell
motherboard id             : NUC5i5MYBE
form factor                : Desktop
cpu family                 : Core i5
cpu information            : Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
gpu card                   : Intel Corporation HD Graphics 5500 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 11.62 GB
max memory ram             : 16 GB
signature                  : Type 0, Family 6, Model 61, Stepping 4
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 540000 kHz
displays connected         : DP-1 DP-2
Comment 6 Ricardo Madrigal 2017-07-20 20:04:59 UTC
The following tests fail on BYT with latest configuration

====================================================
Test list
====================================================
igt@tools_test@sysfs_l3_parity

====================================================
Graphic Stack
====================================================
Component: drm
     tag: libdrm-2.4.81-31-g23e234a
     commit: 23e234a3503f51b9d9c585123d33b936f522808d
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-96-gfb1ddc4
    commit: fb1ddc47003ad6a683db79beeb81b6cbab1feb7c
Component: piglit
    tag: piglit-v1
    commit: 56e7e5583cd4a3ca15a8cda154d46d168959dd25

======================================
             Hardware
======================================
motherboard model          : .................................
motherboard id             : DN2820FYK
form factor                : Desktop
manufacturer               : .................................
cpu family                 : Celeron
cpu family id              : 6
cpu information            : Intel(R) Celeron(R) CPU  N2830  @ 2.16GHz
gpu card                   : Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA controller])
memory ram                 : 7.66 GB
max memory ram             : 8 GB
cpu thread                 : 2
cpu core                   : 2
cpu model                  : 55
cpu stepping               : 8
socket                     : <OUT OF SPEC>
signature                  : Type 0, Family 6, Model 55, Stepping 8
hard drive                 : 111GiB (120GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : HDMI-A-1
Comment 7 Ricardo Madrigal 2017-07-24 18:56:40 UTC
The following tests fail on BXT with latest configuration

====================================================
Test list
====================================================
igt@tools_test@sysfs_l3_parity

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-27-gac21401
    commit: ac214017904b31bc5f80f802d748d5f4f3149d22

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

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-88-ga844ccb
    commit: a844ccbdbab9fd16c37de81281c6281bc800e97a

Component: piglit
    tag: piglit-v1
    commit: 8717219b07c0cf2853540c373725a23654467d45


======================================
             Hardware
======================================
motherboard model          : NUC6CAYS
motherboard id             : NUC6CAYB
form factor                : Desktop
manufacturer               : Intelcorporation
cpu family                 : Celeron
cpu family id              : 6
cpu information            : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
gpu card                   : Intel Corporation Device 5a85 (rev 0b) (prog-if 00 [VGA controller])
memory ram                 : 15.54 GB
max memory ram             : 32 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 92
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 92, Stepping 9
hard drive                 : 279GiB (300GB)
current cd clock frequency : 288000 kHz
maximum cd clock frequency : 624000 kHz
displays connected         : DP-1 DP-2
Comment 8 Hector Velazquez 2017-07-26 20:17:29 UTC
The following tes FAIL on IVB with this commit

igt@tools_test@sysfs_l3_parity


The following tes PASS on IVB with this commit

igt@tools_test@tools_test


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
Comment 9 Hector Velazquez 2017-07-31 20:28:55 UTC
The following tests FAIL on BSW with this configuration

Tests List:

igt@tools_test@sysfs_l3_parity



This is my configuration:

**************************************************************
* * * * * * * * HARDWARE SPECIFICATIONS * * * * * * * * * * * 
**************************************************************

==============================================================
Essentials
==============================================================
Processor Number			N3700
Status					Launched
Launch Date				Q1'15
Lithography				14 nm


==============================================================
Performance
==============================================================
# of Cores				4
# of Threads				4
Processor Base Frequency		1.60 GHz
Burst Frequency				2.40 GHz
Cache					2 MB L2
TDP					6 W
Scenario Design Power (SDP)		4 W

==============================================================
Memory Specifications
==============================================================
Max Memory Size 			8 GB
Memory Types				DDR3L-1600
Max # of Memory Channels		2
ECC Memory Supported  			No

==============================================================
Graphics Specifications
==============================================================
Processor Graphics 			Intel® HD Graphics
Graphics Base Frequency			400.00 MHz
Graphics Burst Frequency		700.00 MHz
Graphics Video Max Memory		8 GB
Graphics Output				eDP/DP/HDMI
Execution Units				16
DirectX* Support			Yes
OpenGL* Support				Yes
Intel® Quick Sync Video 		Yes
Intel® InTru™ 3D Technology		No
Intel® Clear Video HD Technology	Yes
Intel® Clear Video Technology		Yes
Intel® Wireless Display 		Yes
# of Displays Supported 		3


====================================================
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
Comment 10 maria guadalupe 2017-08-08 21:49:07 UTC
This test is still failing over GLK with the following configuration 

testlist
========================================
igt@tools_test@sysfs_l3_parity

  Software
======================================
kernel version              : 4.13.0-rc4-drm-tip-ww32-commit-ef8894e+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 52.23
bios release date           : 06/24/2017
ksc                         : 1.36
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
        Graphic drivers
======================================
intel-gpu-tools             : 1.17-1

======================================
             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                 : 5.64 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 0
socket                     : Other
hard drive                 : 223GiB (240GB)
current cd clock frequency : 79200 kHz
maximum cd clock frequency : 316800 kHz
Comment 11 Elizabeth 2017-08-23 16:51:36 UTC
igt@tools_test@sysfs_l3_parity

Still failing on GLK with:
commit ad6ab9f96437f0cb1f4d8a7840fd9eeb894eb12e
Author:     Gustavo Padovan <gustavo.padovan@collabora.com>
AuthorDate: Fri Aug 18 15:26:42 2017 -0300
Commit:     Gustavo Padovan <gustavo.padovan@collabora.com>
CommitDate: Fri Aug 18 15:26:42 2017 -0300

    drm-tip: 2017y-08m-18d-18h-21m-46s UTC integration manifest
Comment 12 Elizabeth 2017-08-23 22:41:16 UTC
(In reply to Elizabeth from comment #11)
> igt@tools_test@sysfs_l3_parity
> 
> Still failing on GLK with:
> commit ad6ab9f96437f0cb1f4d8a7840fd9eeb894eb12e
> Author:     Gustavo Padovan <gustavo.padovan@collabora.com>
> AuthorDate: Fri Aug 18 15:26:42 2017 -0300
> Commit:     Gustavo Padovan <gustavo.padovan@collabora.com>
> CommitDate: Fri Aug 18 15:26:42 2017 -0300
> 
>     drm-tip: 2017y-08m-18d-18h-21m-46s UTC integration manifest
Also failing on BXT.
Comment 13 Hector Velazquez 2017-09-05 21:06:18 UTC
The following tests FAIL on HSW 

Tests List:

igt@tools_test@sysfs_l3_parity



======================================
        Output
======================================

Subtest sysfs_l3_parity failed.
**** DEBUG ****
(tools_test:4291) igt-core-INFO: [cmd] IGT-Version: 1.19-g490b386 (x86_64) (Linux: 4.13.0-drm-tip-ww36-commit-9dd459e+ x86_64)
(tools_test:4291) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(tools_test:4291) igt-core-DEBUG: Starting subtest: sysfs_l3_parity
(tools_test:4291) igt-core-INFO: [cmd] [cmd] IGT-Version: 1.19-g490b386 (x86_64) (Linux: 4.13.0-drm-tip-ww36-commit-9dd459e+ x86_64)
(tools_test:4291) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(tools_test:4291) igt-core-DEBUG: Starting subtest: sysfs_l3_parity
(tools_test:4291) igt-core-INFO: [cmd] 0
****  END  ****
[cmd] [cmd] IGT-Version: 1.19-g490b386 (x86_64) (Linux: 4.13.0-drm-tip-ww36-commit-9dd459e+ x86_64)
(tools_test:4291) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(tools_test:4291) igt-core-DEBUG: Starting subtest: sysfs_l3_parity
[cmd] 0
Subtest sysfs_l3_parity: FAIL (0.116s)
(tools_test:4291) igt-core-DEBUG: Exiting with status code 99


This is my configuration:

======================================
        Graphic stack
======================================

Component: drm
    tag: libdrm-2.4.81-52-g05a830d
    commit: 05a830d382382905d87b55af90aa109fb76e4c16

Component: cairo
    tag: 1.15.6-30-gc29db4f
    commit: c29db4f0de52727406a8b62f4da9a382084b5a79

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-234-g490b386
    commit: 490b386ae36d393cdea514882a2437c6e964c13f

Component: piglit
    tag: piglit-v1
    commit: dab15137044c34023b1a843e72e781b03b17548b

======================================
	     Software
======================================
kernel version              : 4.13.0-drm-tip-ww36-commit-9dd459e+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 4.6
bios release date           : 03/02/2017
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-234-g490b386
intel-gpu-tools (commit)    : 490b386

======================================
	     Hardware
======================================
platform                   : Haswell-Nuc
motherboard id             : D54250WYK
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
gpu card                   : Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 1.83 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 69
cpu stepping               : 1
socket                     : Socket LGA1150
signature                  : Type 0, Family 6, Model 69, Stepping 1
hard drive                 : 223GiB (240GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 450000 kHz
displays connected         : DP-1
Comment 14 Hector Velazquez 2017-09-06 17:15:15 UTC
The following tests FAIL on SKL 

Tests List:

igt@tools_test@sysfs_l3_parity


This is my configuration:

======================================
        Graphic stack
======================================

Component: drm
    tag: libdrm-2.4.81-52-g05a830d
    commit: 05a830d382382905d87b55af90aa109fb76e4c16

Component: cairo
    tag: 1.15.6-30-gc29db4f
    commit: c29db4f0de52727406a8b62f4da9a382084b5a79

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-234-g490b386
    commit: 490b386ae36d393cdea514882a2437c6e964c13f

Component: piglit
    tag: piglit-v1
    commit: dab15137044c34023b1a843e72e781b03b17548b

======================================
	     Software
======================================
kernel version              : 4.13.0-drm-tip-ww36-commit-9dd459e+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
bios release date           : 09/29/2016
hardware acceleration       : only available on X
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-234-g490b386
intel-gpu-tools (commit)    : 490b386

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.26
guc fw loaded             : SUCCESS
guc version wanted        : 6.1
guc version found         : 6.1
huc fw loaded             : yes


======================================
	     Hardware
======================================
platform                   : Skylake Canyon
motherboard id             : NUC6i7KYB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz
gpu card                   : Intel Corporation Iris Pro Graphics 580 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 31.31 GB
max memory ram             : 32 GB
cpu thread                 : 8
cpu core                   : 4
cpu model                  : 94
cpu stepping               : 3
socket                     : Other
signature                  : Type 0, Family 6, Model 94, Stepping 3
hard drive                 : 223GiB (240GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1 DP-3


======================================
	     kernel parameters
======================================
quiet splash drm.debug=0x1e i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1
Comment 15 Elizabeth 2017-09-07 15:02:09 UTC
*** Bug 102255 has been marked as a duplicate of this bug. ***
Comment 16 Jani Saarinen 2017-09-14 07:58:32 UTC
Fix reviewed and merged to master. Resolving.

https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/commit/?id=b6ea8b204c8a18af7098326522e8acaffb19dd7a
Comment 17 Jani Saarinen 2017-09-14 08:00:29 UTC
Abbiel, what should be status for each platform. 
Should all others skip except HSW?
Comment 18 Abdiel Janulgue 2017-09-14 08:59:01 UTC
That depends if the plaform supports intel_l3_parity. HSW seems supported but the tool sometimes aborts even then. The test should gracefully handle those failures which is what this fix is all about.
Comment 19 Marta Löfstedt 2017-09-15 07:55:17 UTC
This is still failing on HSW-shards:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3091/shard-hsw2/igt@tools_test@sysfs_l3_parity.html

Bug is re-opened
Comment 20 Abdiel Janulgue 2017-09-15 11:25:59 UTC
This is a problem now with intel_l3_parity tool, not the test itself. The test is just a wrapper to the actual tool. In this case, the tool returned an EXIT_SUCCESS indicating that listing the i915 L3 GPU cache is possible therefore the test expected the data. However that operation on this particular hardware failed ("Error injection disabled").

intel_l3_parity should've returned an EXIT_SKIP on error so the test knows it should skip.
Comment 21 Jani Saarinen 2017-09-19 10:16:44 UTC
Need tool change. Assigned to Petri
Comment 22 Petri Latvala 2017-09-19 11:28:32 UTC
(In reply to Abdiel Janulgue from comment #20)
> This is a problem now with intel_l3_parity tool, not the test itself. The
> test is just a wrapper to the actual tool. In this case, the tool returned
> an EXIT_SUCCESS indicating that listing the i915 L3 GPU cache is possible
> therefore the test expected the data. However that operation on this
> particular hardware failed ("Error injection disabled").

"Error injection disabled" is not actually related to this. I found some other issues and I'm sending a fix to the ml now.
Comment 23 Hector Velazquez 2017-09-20 17:14:49 UTC
This test fail on GLK QA

igt@tools_test@sysfs_l3_parity

====================================================
Output
====================================================
[cmd] IGT-Version: 1.19-gda197b5 (x86_64) (Linux: 4.14.0-rc1-drm-tip-ww38-commit-ab2e3a0+ x86_64)
(tools_test:4061) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(tools_test:4061) igt-core-DEBUG: Starting subtest: sysfs_l3_parity
(tools_test:4061) igt-core-WARNING: [cmd] l3_parity: Bad file descriptor
Test requirement not met in function __real_main53, file tools_test.c:64:
Test requirement: !(exec_return == IGT_EXIT_SKIP)
intel_l3_parity not supported
Subtest sysfs_l3_parity: SKIP (0.128s)
(tools_test:4061) igt-core-DEBUG: Exiting with status code 77




This is my configuration:

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-55-g76418c2
    commit: 76418c244d4c52a8dd20809e3e8b4e70501fc76f

Component: cairo
    tag: 1.15.6-38-g1220e3c
    commit: 1220e3c6b8f94a00ac7afee15f21e6782655d97c

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-312-gda197b5
    commit: da197b5f3cb516aaaea72d0d60b0f5c1c81081dd

Component: piglit
    tag: piglit-v1
    commit: 2753955998d7deb90f681cf4cb1253c4519dfd1d


======================================
             Software
======================================
kernel version              : 4.14.0-rc1-drm-tip-ww38-commit-ab2e3a0+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 62.30
bios release date           : 08/22/2017
ksc                         : 1.48
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-312-gda197b5
intel-gpu-tools (commit)    : da197b5

======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Pentium
cpu family id              : 6
cpu information            : Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz
gpu card                   : Intel Corporation Device 3184 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.6 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 1
socket                     : Other
signature                  : Type 0, Family 6, Model 122, Stepping 1
hard drive                 : 111GiB (120GB)
current cd clock frequency : 316800 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
huc fw loaded             : yes

======================================
             kernel parameters
======================================
quiet splash drm.debug=0xe i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1 resume=/dev/sda3
Comment 24 Hector Velazquez 2017-09-20 17:15:07 UTC
Created attachment 134381 [details]
output (GLK)
Comment 25 Hector Velazquez 2017-09-20 17:15:27 UTC
Created attachment 134382 [details]
Dmesg (GLK)
Comment 26 Petri Latvala 2017-09-25 09:22:31 UTC
Fixed in


commit f16a799807487b6e2dcc8c7940a1a8b424f10802
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Thu Sep 21 15:52:28 2017 +0300

    igt_core: Rework igt_system()
Comment 27 Petri Latvala 2017-09-25 13:48:56 UTC
CI changed the IGT deployment type to use make install, changing the directory structure. The intel_l3_parity tool can no longer be found in path "../tools" as was marked in a TODO comment in tools_test.c.
Comment 28 Marta Löfstedt 2017-09-27 05:59:09 UTC
This is tests OK for SNB HSW APL HSW from CI_DRM_3138 and forward.
Comment 29 Petri Latvala 2017-09-27 10:02:25 UTC
(In reply to Marta Löfstedt from comment #28)
> This is tests OK for SNB HSW APL HSW from CI_DRM_3138 and forward.

Yes, CI results should be fine now. CI's deployment directory structure now has a dirty hack to enable running this test. Fixing the silly path "../" is still on the TODO.
Comment 30 Hector Velazquez 2017-11-08 15:26:04 UTC
This test are failing in same way on CFL QA

igt@tools_test@sysfs_l3_parity
igt@tools_test@tools_test


This is my configuration:

======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-79-g61ff977
    commit: 61ff9779e37179ed5106c0e2452e16500127fb9e

Component: cairo
    tag: 1.15.6-63-g3322580
    commit: 3322580f0488ff77f53d86c2b4d3cf59e6dca4c7

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-466-g1fc4de1
    commit: 1fc4de1ca390adec9be8bd7cc0c36cab07465959

Component: piglit
    tag: piglit-v1
    commit: 65b4b197da9e4121155f2dca3fca913e677e7bf2
======================================
	     Software
======================================
kernel version              : 4.14.0-rc7-drm-intel-qa-ww44-commit-2f945d9+
hostname                    : CFL-2
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 95.4
bios release date           : 07/24/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.87
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-470-gc8d1ea2
intel-gpu-tools (commit)    : c8d1ea2

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : fetch SUCCESS, load SUCCESS
guc version wanted        : wanted 9.14, found 9.14
guc version found         : wanted 9.14, found 9.14

======================================
	     kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda3 fastboot
Comment 31 Hector Velazquez 2017-11-17 20:48:33 UTC
This tests has been pass on GLK QA

igt@tools_test@tools_test

IGT-Version: 1.20-g88d6550 (x86_64) (Linux: 4.14.0-drm-tip-ww46-commit-1fc4fe8+ x86_64)
fastfeedback-nov-ww46-thursday-07-03-33-code-179785857
Comment 32 Jani Saarinen 2018-01-30 12:31:30 UTC
According to Petri Fixed by Petri/Chris.
Comment 33 Lakshmi 2018-08-24 10:17:54 UTC
This bug is fixed, 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.