Bug 95424

Summary: [IGT] igt@gem_shrink@hang-oom and execbufn* are crash (no GPU hang)
Product: DRI Reporter: cprigent <christophe.prigent>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED WONTFIX QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, jairo.daniel.miramontes.caton, joonas.lahtinen, luis.botello.ortega, octaviox.hernandez.lopez
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=102088
Whiteboard:
i915 platform: BDW, BSW/CHT, BXT, BYT, CFL, CNL, GLK, HSW, IVB, KBL, SKL, SNB i915 features: GEM/Other
Attachments:
Description Flags
kbl_gem_shrink-hang-oom_kern.log
none
KBL_gem_shrink-execbufn_kern.log
none
KBL_gem_shrink-execbufn-userptr_kern.log
none
IVB-gem_shrink__oom-kern.log
none
IVB-gem_shrink__oom-output
none
Dmesg.log (IVB)
none
kernel log (comment 34)
none
CFL-Kern-Log
none
CFL-dmesg-kernel-logs none

Description cprigent 2016-05-16 11:42:46 UTC
Created attachment 123772 [details]
kbl_gem_shrink-hang-oom_kern.log

Hardware
Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1

Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
kernel drm-intel-nightly 4.6.0-rc7 61f856f from http://cgit.freedesktop.org/drm-intel/
  commit 61f856faa1e6ff9dddad214be1e372e8aacfc0f4
  Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
  Date:   Mon May 9 19:24:21 2016 +0300
  drm-intel-nightly: 2016y-05m-09d-16h-24m-01s UTC integration manifest
libdrm-2.4.68 fc09c5a from git://anongit.freedesktop.org/mesa/drm
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
IGT 1.14 cc24755 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Steps:
------
Execute commands:
cd <...>/intel-gpu-tools/tests
# ./gem_shrink --run-subtest hang-oom

Actual result:
--------------
Crash

Expected result:
----------------
Test is Pass

Output:
-------
# ./gem_shrink --run-subtest hang-oom
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-rc7-nightly+ x86_64)
Using 46 processes and 128MiB per process
Received signal Received signal Received signal Received signal Received signal SIGSEGV.
Subtest hang-oom: CRASH (0,240s)
SIGSEGV.
Killed
Comment 1 cprigent 2016-05-16 12:05:38 UTC
Created attachment 123776 [details]
KBL_gem_shrink-execbufn_kern.log

Reproduced on KBL-U with execbufn:
./gem_shrink --run-subtest execbufN
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-rc7-nightly+ x86_64)
Using 46 processes and 128MiB per process
Received signal SIGSEGV.
Subtest execbufN: CRASH (0,578s)
Killed
Comment 2 cprigent 2016-05-16 12:12:07 UTC
Created attachment 123777 [details]
KBL_gem_shrink-execbufn-userptr_kern.log

Reproduced on KBL-U with execbufn-userptr:
# ./gem_shrink --run-subtest execbufN-userptr
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-rc7-nightly+ x86_64)
Using 46 processes and 128MiB per process
Received signal Received signal SIGSEGV.
SIGSEGV.
Subtest execbufN-userptr: CRASH (0,282s)
Subtest execbufN-userptr: CRASH (0,282s)
Killed
Comment 3 cprigent 2016-05-20 08:01:35 UTC
Reproduced on KBL-U with execbufn-oom:
# ./gem_shrink --run-subtest execbufN-oom
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-nightly+ x86_64)
Using 46 processes and 128MiB per process
Received signal SIGSEGV.
Subtest execbufN-oom: CRASH (0,619s)
Killed
Comment 4 Luis Botello 2016-05-26 22:11:26 UTC
This isuue is also seen on KBL with the following config:

Gfx stack information
===============================================
--> Component : drm 
                 tag : libdrm-2.4.68-4-g7aab852 
                 commit : 7aab852 
 --> Component : mesa 
                 tag : mesa-11.1.2 
                 commit : 7bcd827 
 --> Component : cairo 
                 tag : 1.15.2 
                 commit : db8a7f1 
 --> Component : intel-gpu-tools
                tag : intel-gpu-tools-1.14-346-gcce2ff0
                commit : cce2ff0


Software information
============================

Kernel version                      : 4.6.0-nightly+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 28.1
KSC revision                        : 1.15


Hardware information 
=============================

Platform                            : SKL-Y to KBL (RVP3)
Motherboard model                   : Kabylake Client platform
Motherboard manufacturer            : Intel Corporation
CPU information                     : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                            : Intel Corporation Device 591e (prog-if 00 [VGA controller])


|=== kernel information ===|

commit 2ec823981d62c56d1511bda42b8295e31ece800f
Comment 5 maria guadalupe 2016-06-06 16:37:43 UTC
This bug was also reproduced on KBL under the following configuration

Software information
============================================
Kernel version                  : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : Not found << Please see the message at the bottom >>
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.3
DRM version                     : 2.4.68
VAAPI version                   : Intel i965 driver for Intel(R) Kabylake - 1.7.0
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380]
Kernel driver in use            : i915
Hardware acceleration           :
Bios revision                   : 28.1
KSC revision                    : 1.15


 Hardware information
============================================
Platform                        : SKL-Y to KBL (RVP3)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer        : Intel Corporation
CPU family                      : Other
CPU information                 : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                        : Intel Corporation Device 591e (prog-if 00 [VGA controller])
Memory ram                      : 4 GB
Maximum memory ram allowed      : 16 GB
Display resolution              :
CPU's number                    : 4
Hard drive Capacity             : 120 GB

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.1

kernel configuration
=====================
commit fb023a2062df06c9e097e1f8f2bcf252194b9413
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon May 30 10:46:14 2016 +0200

drm-intel-nightly: 2016y-05m-30d-08h-45m-53s UTC integration manifest


Kernel version : 4.6.0

========== test cases failed ===============
igt@gem_shrink@hang-oom
igt@gem_shrink@execbufn
igt@gem_shrink@get-pages-oom
igt@gem_shrink@execbuf1-oom
igt@gem_shrink@pwrite-oom
igt@gem_shrink@execbufn-oom
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@execbufn-userptr
Comment 6 cprigent 2016-07-29 12:30:07 UTC
Created attachment 125411 [details]
IVB-gem_shrink__oom-kern.log

SIGSEGV signal also received when running out of memory subcases on IVB

Platform: IVB
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (family 6, model 58, stepping 9)
Motherboard version: DH77EB
GPU: Intel® HD Graphics 4000 - Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
Software
Bios: EBH7710H.86A.0096.2012.1012.1645
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.7.0-rc7 7eeb04a from http://cgit.freedesktop.org/drm-intel/
  commit 7eeb04a101316645916d4d9df058a9341797f1af
  Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Sun Jul 24 11:00:31 2016 +0100
  drm-intel-nightly: 2016y-07m-24d-09h-59m-54s UTC integration manifest
drm: libdrm-2.4.70 0caa84c from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.18.0-497 0b2f308 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-687 6988b87 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-26 c36971c from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-58 e554446 from git://git.freedesktop.org/git/vaapi/intel-driver
Intel-Gpu-Tools 1.15-140 e3abb20 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 7 cprigent 2016-07-29 12:30:22 UTC
Created attachment 125412 [details]
IVB-gem_shrink__oom-output
Comment 8 cprigent 2016-08-09 13:09:18 UTC
Reproduced only with subcase mmap-cpu-oom on KBL with last setup.

Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1
Software
BIOS: 38_07 KBLSE2R1.R00.X038.P07.1606200632 from https://ubit-artifactory-ba.intel.com/artifactory/simple/one-windows-local/Submissions/ifwi/KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16/IFWI-KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16-R.7z
ME FW: 11.5.0.1058
EC FW: 1.19
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc1 8ca71ca from http://cgit.freedesktop.org/drm-intel/
  commit 8ca71ca6198ad5a08a7d3e00f94149db2cdd5ebc
  Author: Daniel Vetter <daniel.vetter@ffwll.ch>
  Date:   Mon Aug 8 11:02:44 2016 +0200
  drm-intel-nightly: 2016y-08m-08d-09h-02m-24s UTC integration manifest
drm: libdrm-2.4.70-2 b214b05 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.18.0-502 c833c08 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-691 a77397a from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-44 695f99e from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-66 fb7d6f5 from git://git.freedesktop.org/git/vaapi/intel-driver
GuC 9.14 from http://rdvivi-hillsboro.jf.intel.com/firmware/kbl_guc_ver9_14.tar.bz2 
DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01 
Intel-Gpu-Tools 1.15-216 9afd545 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 9 Humberto Israel Perez Rodriguez 2016-08-30 00:00:49 UTC
same issue with the following configuration on KBL RVP7

The following tests cases fail on KBL RVP7 :

Test cases
============================================
gem_shrink@execbufn-oom

Hardware information
============================================
Platform                        : KBL (RVP7)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake U DDR3L RVP7 Laptop
Motherboard manufacturer        : Intel Corporation
CPU information                 : Genuine Intel(R) CPU 0000 @ 2.60GHz
GPU Card                        : Intel Corporation Device 5916 (prog-if 00 [VGA controller])
Memory ram                      : 4 GB
CPU thread                      : 4
CPU core                        : 2

Software information
========================================================
Component         : drm
	tag       : libdrm-2.4.70-2-gb214b05
	commit    : b214b05ccd433c484a6a65e491a1a51b19e4811d 

Component         : cairo
	tag       : 1.15.2
	commit    : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a 

Component         : intel-gpu-tools
	tag       : intel-gpu-tools-1.15-228-gb0658ce
	commit    : b0658ce76557d4ce00be7252aa60d1b59d8980f6 

Kernel
=============================================
commit f4f46e5544894b2198cdfd5a226ee587d9834cc4
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon Aug 29 16:09:42 2016 +0200

    drm-intel-nightly: 2016y-08m-29d-14h-09m-23s UTC integration manifest
Comment 10 Luis Botello 2017-02-21 17:38:23 UTC
Issue still present in KBL on top of drm-tip : e80b772bf85da72c46b582e7c4f7b0d861cb4669
Comment 11 Chris Wilson 2017-02-23 20:45:28 UTC
*** Bug 99926 has been marked as a duplicate of this bug. ***
Comment 12 maria guadalupe 2017-04-04 21:44:37 UTC
The following tests cases fail with the next configuration over GLK 

Test Cases
=============================================
igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbuf1-userptr
igt@gem_shrink@execbufn
igt@gem_shrink@execbufn-oom
igt@gem_shrink@get-pages
igt@gem_shrink@get-pages-oom
igt@gem_shrink@hang
igt@gem_shrink@hang-oom
igt@gem_shrink@hang-userptr
igt@gem_shrink@mmap-gtt
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@mmap-gtt-userptr
igt@gem_shrink@pread
igt@gem_shrink@pread-userptr
igt@gem_shrink@pwrite-oom

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

======================================
             Software
======================================
kernel version            : 4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+
architecture              : x86_64
os version                : Ubuntu 16.10
os codename               : yakkety
kernel driver             : i915
bios revision             : 31.41
bios release date         : 4/4/2017
ksc                       : 1.13

======================================
        Graphic drivers
======================================
modesetting               : modesetting_drv.so
xorg-xserver              : 1.18.4
libdrm                    : 2.4.75
cairo                     : 1.15.5
xserver                   : X.Org X Server 1.18.4

======================================
             Hardware
======================================
platform                  : Geminilake
motherboard model         : Geminilake
motherboard id            : GLKRVP1DDR4(05)
cpu information           : Genuine Intel(R) CPU @ 1.10GHz
gpu card                  : Intel Corporation Device 3184 (rev 01) (prog-if 00 [           VGA controller])
max memory ram            : 16 GB
hard drive                : 74GiB (80GB)

======================================
             kernel parameters
======================================
quiet drm.debug=0xe i915.alpha_support=1 resume=/dev/sda3 fastboot
Comment 13 Elio 2017-04-05 20:38:55 UTC
Adding BXT to list

Configuration:

Kernel version:
4.11.0-rc5   commit-5bc82ec

Component         : drm
	url       : http://cgit.freedesktop.org/mesa/drm
	tag       : libdrm-2.4.76-16-g6312017
	commit    : 6312017
	author    : Emil Velikov <emil.l.velikov@gmail.com>
	age       : Mon Apr 3 18:01:49 2017 +0100 7 hours ago
	comment   : configure.ac: bring back pthread-stubs check


Component         : mesa
	url       : http://cgit.freedesktop.org/mesa/mesa
	tag       : 17.0-branchpoint-2397-g405ef7b
	commit    : 405ef7b
	author    : Jason Ekstrand <jason@jlekstrand.net>
	age       : Mon Apr 3 16:58:35 2017 -0700 30 minutes ago
	comment   : intel/vec4: Add some fall through comments



Component         : xf86-video-intel
	url       : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel
	tag       : 2.99.917-770-gcb6ba2d
	commit    : cb6ba2d
	author    : Chris Wilson <chris@chris-wilson.co.uk>
	age       : Sat Mar 25 01:21:46 2017 +0000 10 days ago

Component         : libva
	url       : http://cgit.freedesktop.org/libva
	tag       : libva-1.7.3.pre1-85-gefc164d
	commit    : efc164d
	author    : Xiang Haihao <haihao.xiang@intel.com>
	age       : Tue Mar 7 23:42:43 2017 +0800 4 weeks ago
	comment   : Bump libva to 1.8.1.pre1 for development


Component         : intel-driver
	url       : http://cgit.freedesktop.org/vaapi/intel-driver
	tag       : 1.7.3-359-g437cbe0
	commit    : 437cbe0
	author    : Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
	age       : Wed Mar 29 08:29:46 2017 +0800 6 days ago
	comment   : gen8: accept P010 as valid format



Component         : cairo
	url       : http://cgit.freedesktop.org/cairo
	tag       : 1.15.4-11-gcffa452
	commit    : cffa452
	author    : Debarshi Ray <debarshir@freedesktop.org>
	age       : Wed Mar 15 20:26:22 2017 -0700 3 weeks ago
	comment   : doc: Clarify when the device scale is inherited and when 
Component         : xserver
	url       : http://cgit.freedesktop.org/xorg/xserver
	tag       : xorg-server-1.19.0-184-ge4d0757
	commit    : e4d0757
	author    : Adam Jackson <ajax@redhat.com>
	age       : Thu Mar 30 11:32:02 2017 -0400 4 days ago
	comment   : xfree86: Remove driver entity hooks and private



Component         : macros
	url       : https://cgit.freedesktop.org/xorg/util/macros
	tag       : util-macros-1.19.1-2-g39f07f7
	commit    : 39f07f7
	author    : Emil Velikov <emil.veliko@collabora.com>
	age       : Mon Feb 20 10:16:40 2017 +1000 6 weeks ago
	comment   : Rework INSTALL_CMD to touch/echo >&2 only as needed



Component         : intel-gpu-tools
	url       : https://cgit.freedesktop.org/xorg/app/intel-gpu-tools
	tag       : intel-gpu-tools-1.18-56-g56741ce
	commit    : 56741ce
	author    : Chris Wilson <chris@chris-wilson.co.uk>
	age       : Mon Apr 3 19:19:42 2017 +0100 6 hours ago
	comment   : tests/gem_media_fill: Fixup typo



Component         : piglit
	url       : https://cgit.freedesktop.org/piglit
	tag       : piglit-v1
	commit    : 3d1cbd9
	author    : Vinson Lee <vlee@freedesktop.org>
	age       : Mon Apr 3 15:46:33 2017 -0700 2 hours ago
	comment   : glslparsertest: Add test case for FDO bug #100438.
Comment 14 Hector Velazquez 2017-07-26 18:36:40 UTC
The following test FAIL on IVB with this configuration

Tests List:

igt@gem_shrink@execbufN-oom


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
======================================
motherboard model          : 2349AZ2
motherboard id             : 2349AZ2
form factor                : Notebook
manufacturer               : LENOVO
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
gpu card                   : Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 3.71 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 58
cpu stepping               : 9
socket                     : Socket rPGA988B
signature                  : Type 0, Family 6, Model 58, Stepping 9
hard drive                 : 111GiB (120GB)
current cd clock frequency : 400000 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : LVDS-1 DP-1
Comment 15 Hector Velazquez 2017-07-26 18:37:01 UTC
Created attachment 132999 [details]
Dmesg.log (IVB)
Comment 16 Elizabeth 2017-08-23 16:19:11 UTC
These tests still are failing on GLK:
=====================================================
igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbuf1-userptr
igt@gem_shrink@execbufN
igt@gem_shrink@execbufN-oom
igt@gem_shrink@execbufN-sanitycheck
igt@gem_shrink@execbufN-userptr
igt@gem_shrink@get-pages-oom
igt@gem_shrink@get-pages-userptr
igt@gem_shrink@hang
igt@gem_shrink@hang-oom
igt@gem_shrink@hang-sanitycheck
igt@gem_shrink@hang-userptr
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@mmap-gtt
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pread
igt@gem_shrink@pread-oom
igt@gem_shrink@pwrite-oom
=====================================================

Gfx stack
=====================================================
Component: drm
    tag: libdrm-2.4.81-46-g9d133dd
    commit: 9d133dd08720d80dfc8ce098bf0972ebd05c454d

Component: cairo
    tag: 1.15.6-14-gf351595
    commit: f3515954e0bc9c9ca413a84a8dd842145cec83a7

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-193-g5a17ee2
    commit: 5a17ee2c8f9013f5db852d27564b837f9f2c5a9f

Component: piglit
    tag: piglit-v1
    commit: 2a7047a32bb3a9a4fad5bea0a8185d63af6bddf3

Kernel info
=====================================================
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 17 Elizabeth 2017-08-23 20:12:27 UTC
These tests still are failing on SKL:
=====================================================
igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbuf1-userptr
igt@gem_shrink@execbufN
igt@gem_shrink@execbufN-oom
igt@gem_shrink@execbufN-sanitycheck
igt@gem_shrink@execbufN-userptr
igt@gem_shrink@get-pages-oom
igt@gem_shrink@get-pages-userptr
igt@gem_shrink@hang
igt@gem_shrink@hang-oom
igt@gem_shrink@hang-sanitycheck
igt@gem_shrink@hang-userptr
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@mmap-gtt
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pread
igt@gem_shrink@pread-oom
igt@gem_shrink@pwrite-oom
=====================================================

Gfx stack
=====================================================
Component: drm
    tag: libdrm-2.4.81-46-g9d133dd
    commit: 9d133dd08720d80dfc8ce098bf0972ebd05c454d

Component: cairo
    tag: 1.15.6-14-gf351595
    commit: f3515954e0bc9c9ca413a84a8dd842145cec83a7

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-193-g5a17ee2
    commit: 5a17ee2c8f9013f5db852d27564b837f9f2c5a9f

Component: piglit
    tag: piglit-v1
    commit: 2a7047a32bb3a9a4fad5bea0a8185d63af6bddf3

Kernel info
=====================================================
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
=====================================================

==============================================================
Hardware
==============================================================
Processor Number			i5-6260U
Status					Launched
Launch Date				Q3'15
Lithography				14 nm

==============================================================
Performance
==============================================================
# of Cores				2
# of Threads				4
Processor Base Frequency		1.80 GHz
Max Turbo Frequency			2.90 GHz
Cache					4 MB SmartCache
Bus Speed				4 GT/s OPI
TDP					15 W
Configurable TDP-down			9.5 W

==============================================================
Memory Specifications
==============================================================
Max Memory Size 			32 GB
Memory Types				DDR4-2133, LPDDR3-1866, DDR3L-1600
Max # of Memory Channels		2
Max Memory Bandwidth			34.1 GB/s
ECC Memory Supported  			No

==============================================================
Graphics Specifications
==============================================================
Processor Graphics 			Intel® Iris™ Graphics 540
Graphics Base Frequency			300.00 MHz
Graphics Max Dynamic Frequency		950.00 MHz
Graphics Video Max Memory		32 GB
eDRAM					64 MB
Graphics Output				eDP/DP/HDMI/DVI
4K Support				Yes, at 60Hz
Max Resolution (Intel® WiDi)		1080p
Max Resolution (HDMI 1.4)		4096x2304@24Hz
Max Resolution (DP)			4096x2304@60Hz
Max Resolution (eDP)			4096x2304@60Hz
Max Resolution (VGA)			N/A
DirectX* Support			12
OpenGL* Support				4.4
Intel® Quick Sync Video 		Yes
Intel® InTru™ 3D Technology		Yes
Intel® Clear Video HD Technology	Yes
Intel® Clear Video Technology		Yes
Intel® Wireless Display 		Yes
# of Displays Supported 		3
Device ID				0x1926
Comment 18 Hector Velazquez 2017-09-06 21:46:02 UTC
The following tests FAIL on SKL 

Tests List:

igt@gem_shrink@mmap-cpu-oom


======================================
        Output Sample
======================================
...
(gem_shrink:2440) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total)
(gem_shrink:2440) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_shrink:2440) igt-core-DEBUG: Starting subtest: mmap-cpu-oom
Received signal SIGSEGV.
Stack trace: 
 Received signal SIGSEGV.
Stack trace: 
 Received signal SIGSEGVReceived signal .
Received signal SIGSEGVStack trace: 
 SIGSEGV.
.
Stack trace: 
 Stack trace: 
   ##00  [[ffaattaall__ssiigg__hhaannddlleerr++00xx11aa66]]

 #1 [killpg+0x40]
 #1 [killpg+0x40]
 #2 [__real_main334+0x57c]
 #3 [main+0x33]
 #4 [__libc_start_main+0xf1]
 #2 [__real_main334+0x57c]
 #3 [main+0x33]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 #0 [fatal_sig_handler+0x1a6]
 #1 [killpg+0x40]
 #2 [__real_main334+0x57c]
 #3 [main+0x33]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #0 [fatal_sig_handler+0x1a6]
 #1 [killpg+0x40]
 #2 [__real_main334+0x57c]
 #3 [main+0x33]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 # 5# 6[ _[s<tuanrktn+o0wxn2>9+]0
x29]
 #6 [<unknown>+0x29]
(gem_shrink:2493) drmtest-DEBUG: Test requirement passed: !(fd<0)
Subtest mmap-cpu-oom: CRASH (167.608s)
Received signal SIGSEGV.
Stack trace: 
 (gem_shrink:2519) drmtest-DEBUG: Test requirement passed: !(fd<0)
Subtest mmap-cpu-oom: CRASH (174.285s)
 #0 [fatal_sig_handler+0x1a6]
...

This is my configuration:

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

Component: drm
    tag: libdrm-2.4.81-53-gd55d080
    commit: d55d0804f9e37637d7510f38f97e07a50c6b7baa

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

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-239-g918863f
    commit: 918863f8e3e8f49235fd2e4a36e11f386c06c11c

Component: piglit
    tag: piglit-v1
    commit: dab15137044c34023b1a843e72e781b03b17548b



======================================
	     Software
======================================
kernel version              : 4.13.0-drm-tip-ww36-commit-7a827ab+
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       : 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                   : 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

======================================
	     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

======================================
	     kernel parameters
======================================
quiet splash drm.debug=0x1e i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1
Comment 19 Elizabeth 2017-09-06 22:40:28 UTC
*** Bug 95209 has been marked as a duplicate of this bug. ***
Comment 20 Chris Wilson 2017-09-07 20:35:19 UTC
*** Bug 97259 has been marked as a duplicate of this bug. ***
Comment 21 Chris Wilson 2017-09-07 20:37:24 UTC
As expected. The older bug where this is explained has gone missing, but these tests are designed to run out of memory and crash and/or be killed, what we are testing is that i915.ko doesn't crash in the process. It is those unusual errors in i915.ko that we are looking for, everything else is just noise.
Comment 22 Armando Antonio 2017-09-19 21:42:47 UTC
The following test cases are failing on CFL with latest configuration

======================================= 
Test List
=======================================
igt@gem_shrink@get-pages-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pwrite-oom


======================================
             Software
======================================
kernel version              : 4.14.0-rc1-drm-tip-ww38-commit-099f750+
hostname                    : CFL-CNP
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
======================================
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-304-g93f72b2
intel-gpu-tools (commit)    : 93f72b2

======================================
             Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1 DP-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : SUCCESS
guc version wanted        : 9.14
guc version found         : 9.14
huc fw loaded             : yes

======================================
             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

======================================
Output summary
======================================
(gem_shrink:2490) drmtest-DEBUG: Test requirement passed: !(fd<0)
gem_shrink: igt_core.c:1059: igt_skip: Assertion `!test_child' failed.
Received signal SIGABRT.
(gem_shrink:2463) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2468) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2509) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2470) drmtest-DEBUG: Test requirement passed: !(fd<0)
child 1 died with signal 9, Killed
Subtest get-pages-oom failed.
**** DEBUG ****
(gem_shrink:2313) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2313) DEBUG: Test requirement passed: has_userptr()
****  END  ****
Subtest get-pages-oom: FAIL (297.070s)
Comment 23 Hector Velazquez 2017-09-20 16:00:10 UTC
This test also fail on GLK QA

Tests List:

igt@gem_shrink@get-pages-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pread-userptr
igt@gem_shrink@pwrite-oom



====================================================
Output
====================================================
. . .
Stack trace: 
  #0 [fatal_sig_handler+0x1a6]
(gem_shrink:12275) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:12275) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:192:
(gem_shrink:12275) CRITICAL: Failed assertion: ptr != (void *)-1
(gem_shrink:12275) CRITICAL: Last errno: 12, Cannot allocate memory
 #2 [__real_main334+0x57c]
 #3 [main+0x23]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main334+0x84d]
  #2 [main+0x23]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main334+0x84d]
  #2 [main+0x23]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main334+0x84d]
  #2 [main+0x23]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main334+0x84d]
  #2 [main+0x23]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
 #1 [killpg+0x40]
 #2 [__real_main334+0x57c]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main334+0x84d]
  #2 [main+0x23]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main334+0x84d]
  #2 [main+0x23]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main334+0x84d]
  #2 [main+0x23]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main334+0x84d]
  #2 [main+0x23]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main334+0x84d]
  #2 [main+0x23]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
(gem_shrink:12260) drmtest-DEBUG: Test requirement passed: !(fd<0)
. . .

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-27 20:37:02 UTC
This test is still failing on GLK QA

Tests List:

igt@gem_shrink@get-pages-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@pread-oom
igt@gem_shrink@pwrite-oom


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

. . .

. . .



This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-56-g7c71188
    commit: 7c71188610b4ceba0339c2bc884320bcb749adee

Component: cairo
    tag: 1.15.6-42-gdccbed7
    commit: dccbed7d78d32bd3b912e8810379451dd94e6a1f

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-332-g0a91a5e
    commit: 0a91a5e9624d41d23b79e2540eda111cb56d42d9

Component: piglit
    tag: piglit-v1
    commit: 95e2f51a28b6cf7ff77d84e1234121c98f10ef64
	
======================================
             Software
======================================
kernel version              : 4.14.0-rc2-drm-tip-ww39-commit-d76cbbc+
hostname                    : GLK-2-GLKRVP1DDR405
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.41
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-332-g0a91a5e
intel-gpu-tools (commit)    : 0a91a5e

======================================
             Hardware
======================================
. . .

======================================
             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 drm.debug=0xe pci=pcie_bus_safe i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic resume=/dev/sda3 fastboot
Comment 25 Hector Velazquez 2017-09-29 21:06:09 UTC
This test are failing on CFL-S-1 QA

Tests List:

igt@gem_shrink@get-pages-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pread-oom
igt@gem_shrink@pwrite-oom

====================================================
Output Sample
====================================================
. . .
Stdout:	
IGT-Version: 1.19-g2885b10 (x86_64) (Linux: 4.14.0-rc2-drm-tip-ww39-commit-85932e1+ x86_64)
Using 125 processes and 128MiB per process
child 71 died with signal 9, Killed
Subtest mmap-gtt-oom: FAIL (61.624s)
Stderr:	
Subtest mmap-gtt-oom failed.
**** DEBUG ****
(gem_shrink:1878) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:1878) DEBUG: Test requirement passed: has_userptr()
****  END  ****
. . .


This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-56-g7c71188
    commit: 7c71188610b4ceba0339c2bc884320bcb749adee

Component: cairo
    tag: 1.15.6-42-gdccbed7
    commit: dccbed7d78d32bd3b912e8810379451dd94e6a1f

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-334-g2885b10
    commit: 2885b10f99b4beeb046e75af8b8488c229f629d3

Component: piglit
    tag: piglit-v1
    commit: e1f66fb2fb8ad781ca755831983b6662c4c440d4
	
======================================
	     Software
======================================
kernel version              : 4.14.0-rc2-drm-tip-ww39-commit-85932e1+
hostname                    : CFL-S-1
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 104.3
bios release date           : 09/14/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3
/dev/nvme0n1p3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-334-g2885b10
intel-gpu-tools (commit)    : 2885b10

======================================
	     Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1

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

======================================
	     kernel parameters
======================================
quiet drm.debug=0xe 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 26 Hector Velazquez 2017-10-03 15:05:26 UTC
This tests are failing on GLK QA

Tests List:

igt@gem_shrink@get-pages-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pread-oom
igt@gem_shrink@pread-userptr


====================================================
Output 
====================================================
. . .
	
Stdout:	
IGT-Version: 1.19-g1e99f8b (x86_64) (Linux: 4.14.0-rc3-drm-tip-ww40-commit-2f14e31+ x86_64)
Using 30 processes and 128MiB per process
child 30 died with signal 9, Killed
Subtest get-pages-oom: FAIL (21.569s)

Stderr:	
Subtest get-pages-oom failed.
**** DEBUG ****
(gem_shrink:6772) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:6772) DEBUG: Test requirement passed: has_userptr()
****  END  ****
. . .


This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-57-g1dd84e0
    commit: 1dd84e01a972b1759839a7326009be24ab3e6de2

Component: cairo
    tag: 1.15.6-42-gdccbed7
    commit: dccbed7d78d32bd3b912e8810379451dd94e6a1f

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-357-g1e99f8b
    commit: 1e99f8b8d2563d7f5c4e82932bab15abc5eacaef

Component: piglit
    tag: piglit-v1
    commit: 5aa6eea37f44f818632a3dad4c1a7478085bd56d

	
======================================
	     Software
======================================
kernel version              : 4.14.0-rc3-drm-tip-ww40-commit-2f14e31+
hostname                    : GLK-1-GLKRVP1DDR405
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.41
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-357-g1e99f8b
intel-gpu-tools (commit)    : 1e99f8b

======================================
	     Hardware
======================================
. . .
======================================
	     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
======================================
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 27 Elizabeth 2017-10-06 17:00:16 UTC
(In reply to Chris Wilson from comment #21)
> As expected. The older bug where this is explained has gone missing, but
> these tests are designed to run out of memory and crash and/or be killed,
> what we are testing is that i915.ko doesn't crash in the process. It is
> those unusual errors in i915.ko that we are looking for, everything else is
> just noise.
Shouldn't these tests then be as SKIP???
Comment 28 Hector Velazquez 2017-11-08 13:54:49 UTC
This tests are failing on CFL QA

igt@gem_shrink@get-pages-userptr
igt@gem_shrink@mmap-gtt
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pread
igt@gem_shrink@pread-oom
igt@gem_shrink@pwrite-oom

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 29 Hector Velazquez 2017-11-17 21:22:40 UTC
This test still failing on GLK QA

igt@gem_shrink@get-pages-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@mmap-gtt-userptr
igt@gem_shrink@pread
igt@gem_shrink@pread-oom
igt@gem_shrink@pwrite-oom

IGT-Version: 1.20-g88d6550 (x86_64) (Linux: 4.14.0-drm-tip-ww46-commit-1fc4fe8+ x86_64)

Component: drm
    tag: libdrm-2.4.81-107-g18ffe48
    commit: 18ffe485cdfa41d48b6f2d3080cb990d28c27d57

Component: cairo
    tag: 1.15.6-83-g0c8070f
    commit: 0c8070f5bc74c124e6393b433a61807a8e4bee5d

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-483-g88d6550
    commit: 88d6550795fad3974d77e4db2f563c5e2e8872e1

Component: piglit
    tag: piglit-v1
    commit: b6aee208234287380d2e55c17dc2d236931284fa
Comment 30 Hector Velazquez 2017-11-29 20:08:17 UTC
This tests continue failing on CFL QA

igt@gem_shrink@get-pages-userptr
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pread-oom
igt@gem_shrink@pwrite-oom

IGT-Version: 1.20-g4c57ff4 (x86_64) (Linux: 4.14.0-drm-tip-ww47-commit-f710441+ x86_64)

Component: drm
    tag: libdrm-2.4.81-108-g0ab36da
    commit: 0ab36dafaf818c35a258dac0c75b779ab2ae792b

Component: cairo
    tag: 1.15.6-88-g84fc0ce
    commit: 84fc0ce91d1a57d20500f710abc0e17de82c67df

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-541-g5b3619f
    commit: 5b3619f3751ecef55fa993984ddb59a458fcebed

Component: piglit
    tag: piglit-v1
    commit: cb562a383229074b44db6998b85572d2abe7c363
Comment 31 Chris Wilson 2017-12-11 20:56:06 UTC
(In reply to Elizabeth from comment #27)
> (In reply to Chris Wilson from comment #21)
> > As expected. The older bug where this is explained has gone missing, but
> > these tests are designed to run out of memory and crash and/or be killed,
> > what we are testing is that i915.ko doesn't crash in the process. It is
> > those unusual errors in i915.ko that we are looking for, everything else is
> > just noise.
> Shouldn't these tests then be as SKIP???

You missed the point about searching for real errors. All the "me too" reports that do not include the test information are useless.
Comment 32 Chris Wilson 2017-12-14 08:15:53 UTC
*** Bug 104253 has been marked as a duplicate of this bug. ***
Comment 33 Hector Velazquez 2018-01-05 20:44:36 UTC
This tests has a fail with crash on CFL QA

igt@gem_shrink@get-pages-oom
igt@gem_shrink@get-pages-userptr

IGT-Version: 1.20-gd86d53b (x86_64) (Linux: 4.15.0-rc5-drm-tip-config-intel-turbo-ww1-commit-16432d3+ x86_64)
Comment 34 Hector Velazquez 2018-01-16 14:55:02 UTC
This tests has failed on CFL QA 

Tests List:

igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbufN-oom
igt@gem_shrink@execbufX-oom
igt@gem_shrink@hang-oom
igt@gem_shrink@mmap-cpu-userptr
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pwrite-oom

using IGT-Version: 1.20-g84a3080 (x86_64) (Linux: 4.15.0-rc8-drm-tip-ww3-commit-37eb04c+ x86_64)

some tests has this output...
======================================
        output sample
======================================
. . .
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #0  [#fa0t a l[_f#sa0tia lg[__fshaiatgna_dlhl_aesnrid+gl0_exhrfa+bn0]dx
lfebr]+
0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x726]
 #3 [main+0x27]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x2a]
 #6 [<unknown>+0x2a]
. . .
Comment 35 Hector Velazquez 2018-01-16 14:56:16 UTC
Created attachment 136769 [details]
kernel log (comment 34)
Comment 36 Ricardo Perez 2018-01-29 20:56:59 UTC
Created attachment 137035 [details]
CFL-Kern-Log

CoffeeLake S UDIMM RVP Kernel Log
Comment 37 Ricardo Perez 2018-01-31 07:15:14 UTC
for CoffeeLake S UDIMM RVP QA system, the following test is failing:

igt@gem_shrink@pread-oom

Running:
IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-drm-intel-qa-ww5-commit-5f9f363+ x86_64)

(gem_shrink:6340) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:227:
(gem_shrink:6340) CRITICAL: Failed assertion: ptr != (void *)-1
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
(gem_shrink:6340) CRITICAL: Last errno: 12, Cannot allocate memory
(gem_shrink:6302) CRITICAL: Last errno: 12, Cannot allocate memory
(gem_shrink:6359) CRITICAL: Last errno: 12, Cannot allocate memory
Subtest pread-oom failed.
**** DEBUG ****
(gem_shrink:6109) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:6109) DEBUG: Test requirement passed: has_userptr()
****  END  ****
Comment 38 Ricardo Perez 2018-01-31 07:15:40 UTC
Created attachment 137071 [details]
CFL-dmesg-kernel-logs
Comment 39 Ricardo Perez 2018-01-31 07:32:09 UTC
In CoffeeLake S UDIMM RVP QA system, the following test is still failing:

igt@gem_shrink@get-pages-oom

Running
IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-drm-intel-qa-ww5-commit-5f9f363+ x86_64)

------------------------------------------------------------------

(gem_shrink:852) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:227:
(gem_shrink:852) CRITICAL: Failed assertion: ptr != (void *)-1
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Received signal SIGSEGV.
Stack trace: 
(gem_shrink:852) CRITICAL: Last errno: 12, Cannot allocate memory
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
  ##00   [#[f0af taa[lf_tasatilag__lh_ssaiingdg_l_ehhraa+nnd0dlxleferbr+]+
00xxffbb]]
Comment 40 Octavio 2018-02-12 23:14:57 UTC
These tests fail on CFL QA

igt@gem_shrink@get-pages-oom
igt@gem_shrink@mmap-cpu-oom

using IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.16.0-rc1-drm-intel-qa-ww7-commit-28dc2a5+ x86_64)

(gem_shrink:2217) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:227:
(gem_shrink:2217) CRITICAL: Failed assertion: ptr != (void *)-1
(gem_shrink:2218) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:227:
(gem_shrink:2218) CRITICAL: Failed assertion: ptr != (void *)-1
(gem_shrink:2219) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:227:
(gem_shrink:2219) CRITICAL: Failed assertion: ptr != (void *)-1
Stack trace: 
Stack trace:
Comment 41 Octavio 2018-02-13 15:22:50 UTC
Adding the below test to the comment 40

igt@gem_shrink@execbuf1-oom
Comment 42 Hector Velazquez 2018-02-14 20:32:48 UTC
This tests continue failing on GLK QA 

Tests List:

igt@gem_shrink@mmap-gtt
igt@gem_shrink@mmap-gtt-oom

IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.16.0-rc1-drm-intel-qa-ww7-commit-28dc2a5+ x86_64)

No new behavior.
Comment 43 Hector Velazquez 2018-02-14 20:40:27 UTC
This tests continue failing on GLK QA 

Tests List:

igt@gem_shrink@execbufN-sanitycheck

IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.16.0-rc1-drm-intel-qa-ww7-commit-28dc2a5+ x86_64)

No new behavior.
Comment 44 Octavio 2018-02-20 15:44:45 UTC
These tests fail on CFL QA 

igt@gem_shrink@execbuf1-oom
igt@gem_shrink@get-pages-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@hang-oom

IGT-Version: 1.21-g6fc91db (x86_64) (Linux: 4.16.0-rc1-drm-intel-qa-ww8-commit-79e91ad+ x86_64)
Using 251 processes and 128MiB per process
Subtest execbuf1-oom: CRASH (27.505s)
Subtest execbuf1-oom: CRASH (27.512s)

Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x726]
 #3 [main+0x27]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x2a]
 #6 [<unknown>+0x2a]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x726]
 #3 [main+0x27]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x2a]
 #6 [<unknown>+0x2a]
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x726]
 #3 [main+0x27]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x2a]
 #6 [<unknown>+0x2a]
Comment 45 maria guadalupe 2018-02-20 17:25:50 UTC
the following tests are failing on KBL with the below configuration

igt@gem_shrink@execbuf1-oom
igt@gem_shrink@get-pages-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@pread-oom
igt@gem_shrink@pwrite-userptr

kernel version              : 4.16.0-rc1-drm-intel-qa-ww8-commit-67f1480+
libdrm                      : 2.4.90
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-112-gdd61508a
intel-gpu-tools (commit)    : dd61508a

     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : fetch SUCCESS, load SUCCESS
guc version wanted        : wanted 9.39, found 9.39
guc version found         : wanted 9.39, found 9.39
Comment 46 Hector Velazquez 2018-02-21 17:04:54 UTC
This tests continue failing on GLK QA 

Tests List:

igt@gem_shrink@hang-oom
igt@gem_shrink@mmap-cpu-oom

IGT-Version: 1.21-gdd61508 (x86_64) (Linux: 4.16.0-rc1-drm-tip-ww8-commit-337c900+ x86_64)

Output:
. . . 	
IGT-Version: 1.21-gdd61508 (x86_64) (Linux: 4.16.0-rc1-drm-tip-ww8-commit-337c900+ x86_64)
(gem_shrink:2414) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_shrink:2414) intel-chipset-DEBUG: Test requirement passed: pci_dev
Using 62 processes and 128MiB per process
(gem_shrink:2414) intel-os-DEBUG: Checking 62 surfaces of size 134217728 bytes (total 8321531904) against RAM + swap
(gem_shrink:2414) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2414) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_shrink:2414) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_shrink:2414) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total)
(gem_shrink:2414) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_shrink:2414) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2414) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_shrink:2414) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_shrink:2414) ioctl-wrappers-DEBUG: Test requirement passed: dir >= 0
(gem_shrink:2414) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_shrink:2414) DEBUG: Test requirement passed: nengine
(gem_shrink:2414) igt-core-DEBUG: Starting subtest: hang-oom
(gem_shrink:2414) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2414) DEBUG: Test requirement passed: has_userptr()
(gem_shrink:2534) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2534) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:227:
(gem_shrink:2534) CRITICAL: Failed assertion: ptr != (void *)-1
(gem_shrink:2534) CRITICAL: Last errno: 12, Cannot allocate memory
Received signal SIGSEGV.
Stack trace: 
 #0 [<unknown>+0xd4278e0]
 #1 [<unknown>+0xd4278e0]
 #2 [<unknown>+0xd4278e0]
 #3 [<unknown>+0xd4278e0]
 #4 [<unknown>+0xd4278e0]
 #5 [<unknown>+0xd4278e0]
 #6 [<unknown>+0xd4278e0]
(gem_shrink:2456) drmtest-DEBUG: Test requirement passed: !(fd<0)
Subtest hang-oom: CRASH (18.446s)
Received signal SIGSEGV.
Stack trace: 
 #0 [<unknown>+0xd4278e0]
 #1 [<unknown>+0xd4278e0]
 #2 [<unknown>+0xd4278e0]
 #3 [<unknown>+0xd4278e0]
 #4 [<unknown>+0xd4278e0]
 #5 [<unknown>+0xd4278e0]
 #6 [<unknown>+0xd4278e0]
(gem_shrink:2527) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2596) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2596) ioctl-wrappers-CRITICAL: Test assertion failure function gem_set_domain, file ioctl_wrappers.c:421:
(gem_shrink:2596) ioctl-wrappers-CRITICAL: Failed assertion: __gem_set_domain(fd, handle, read, write) == 0
(gem_shrink:2527) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:227:
(gem_shrink:2527) CRITICAL: Failed assertion: ptr != (void *)-1
(gem_shrink:2596) ioctl-wrappers-CRITICAL: Last errno: 12, Cannot allocate memory
(gem_shrink:2596) ioctl-wrappers-CRITICAL: error: -12 != 0
(gem_shrink:2527) CRITICAL: Last errno: 12, Cannot allocate memory
(gem_shrink:2521) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2521) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:227:
(gem_shrink:2521) CRITICAL: Failed assertion: ptr != (void *)-1
(gem_shrink:2521) CRITICAL: Last errno: 12, Cannot allocate memory
Received signal SIGSEGV.
(gem_shrink:2569) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2569) ioctl-wrappers-CRITICAL: Test assertion failure function gem_set_domain, file ioctl_wrappers.c:421:
(gem_shrink:2569) ioctl-wrappers-CRITICAL: Failed assertion: __gem_set_domain(fd, handle, read, write) == 0
(gem_shrink:2569) ioctl-wrappers-CRITICAL: Last errno: 12, Cannot allocate memory
(gem_shrink:2569) ioctl-wrappers-CRITICAL: error: -12 != 0
Received signal SIGSEGV.
Stack trace: 
 #0 [<unknown>+0xd4278e0]
 #1 [<unknown>+0xd4278e0]
 #2 [<unknown>+0xd4278e0]
 #3 [<unknown>+0xd4278e0]
 #4 [<unknown>+0xd4278e0]
 #5 [<unknown>+0xd4278e0]
 #6 [<unknown>+0xd4278e0]
Received signal SIGSEGV.
Stack trace: 
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_maiReceived signal SIGSEGV.
Stack trace: 
n+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
(gem_shrink:2440) drmtest-DEBUG: Test requirement passed: !(fd<0)
Subtest hang-oom: CRASH (18.844s)
(gem_shrink:2519) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:2519) CRITICAL: Test assertion failure function userptr, file gem_shrink.c:227:
(gem_shrink:2519) CRITICAL: Failed assertion: ptr != (void *)-1
(gem_shrink:2519) CRITICAL: Last errno: 12, Cannot allocate memory
. . .
Comment 47 Octavio 2018-02-26 22:36:04 UTC
The following test cases fail on CFL QA

igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbufn-oom
igt@gem_shrink@hang-oom

IGT-Version: 1.21-ga2664f8 (x86_64) (Linux: 4.16.0-rc2-drm-intel-qa-ww9-commit-01a067a+ x86_64)
Using 125 processes and 128MiB per process
Subtest hang-oom: CRASH (16.531s)
	
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
Comment 48 Octavio 2018-03-06 18:52:36 UTC
The following test cases fail on CFL QA

igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbufn-oom
igt@gem_shrink@hang-oom

IGT-Version: 1.21-g68fb759 (x86_64) (Linux: 4.16.0-rc4-drm-intel-qa-ww10-commit-a994c52+ x86_64)

Using 125 processes and 128MiB per process
Subtest hang-oom: CRASH (15.709s)
Subtest hang-oom: CRASH (15.708s)
	
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #1 [killpg+0x40]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
Comment 49 Hector Velazquez 2018-03-07 15:57:55 UTC
This tests has failing on CNL QA 
Tests List:
igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbufN-oom
igt@gem_shrink@execbufX-oom
igt@gem_shrink@get-pages-oom
igt@gem_shrink@hang-oom
igt@gem_shrink@mmap-gtt-userptr

output sample:
. . .
Using 62 processes and 128MiB per process
Subtest execbufN-oom: CRASH (17.578s)
Stderr	
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Received signal SIGSEGV.
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
. . .

software:
IGT-Version: 1.21-gbddfb8d (x86_64) (Linux: 4.16.0-rc3-drm-intel-qa-ww9-commit-b2e10fd+ x86_64)
Comment 50 Octavio 2018-03-13 15:00:28 UTC
The following test cases fail on CFL QA

igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbufn-oom
igt@gem_shrink@hang-oom

IGT-Version: 1.22-g5d71d77 (x86_64) (Linux: 4.16.0-rc4-drm-intel-qa-ww11-commit-73f9dfa+ x86_64)
Using 125 processes and 128MiB per process
Subtest mmap-cpu-oom: CRASH (29.391s)
Stderr	
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 #6 [<unknown>+0x29]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
Comment 51 Hector Velazquez 2018-03-13 17:37:26 UTC
This tests has crash on CNL QA 

Tests List:
igt@gem_shrink@hang-oom
igt@gem_shrink@get-pages-oom
igt@gem_shrink@pwrite-oom
igt@gem_shrink@mmap-gtt-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@execbufX-oom
igt@gem_shrink@get-pages

output sample:
. . .
Stdout	
IGT-Version: 1.21-g43d7c05 (x86_64) (Linux: 4.16.0-rc4-drm-intel-qa-ww10-commit-970ee17+ x86_64)
Using 62 processes and 128MiB per process
Subtest hang-oom: CRASH (16.634s)
Stderr	
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
. . .

software:
IGT-Version: 1.21-g43d7c05 (x86_64) (Linux: 4.16.0-rc4-drm-intel-qa-ww10-commit-970ee17+ x86_64)
Comment 52 Octavio 2018-03-21 18:28:46 UTC
The below test cases fail on CFL QA

igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbufX-oom
igt@gem_shrink@hang-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@pread-userptr
igt@gem_shrink@pwrite-oom


IGT-Version: 1.22-g94e8862 (x86_64) (Linux: 4.16.0-rc6-drm-intel-qa-ww12-commit-9d737ce+ x86_64)
Using 125 processes and 128MiB per process
Subtest execbuf1-oom: CRASH (27.589s)
Subtest execbuf1-oom: CRASH (27.589s)
Subtest execbuf1-oom: CRASH (27.589s)
	
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #3 [main+0x23]
 #4 [__libc_start_m a#i4n +[0_x_lfi1b]c_
start_main+0xf1]
 #5  [#_s5t a[r_ts+t0axr2t9+]0
x29]
 # 6# 6[ <[u<nuknnkonwonw>n+>0+x02x92]9
]
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
Comment 53 Hector Velazquez 2018-03-23 22:48:19 UTC
This tests has a failed on CNL QA 
Tests List:
igt@gem_shrink@execbufX-oom
igt@gem_shrink@pread-oom

software:
IGT-Version: 1.22-gc30e331 (x86_64) (Linux: 4.16.0-rc6-drm-intel-qa-ww12-commit-dff9ece+ x86_64)

Output sample:
. . .
Received signal SIGSEGV.
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Received signal SIGSEGV.
Received signal SIGSEGV.
Received signal SIGSEGV.
Stack trace: 
Stack trace: 
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
  ##00  [[ffaattaall__ssiigg__hhaannddlleerr++00xxffbb]]

 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #0  #0 [f[aftaatla_ls_isgi_gh_ahnadnldelre+r0+x0fxbf]b
]
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_han d#le0r +[0fxaftba ]l#
_s0i g[_fhaatnadll_esri+g0_xhfabn]d
ler+0xfb]
Received signal SIGSEGV.
 #0 [fatal_sig_handle r#+00x f[bf]a
tal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0x
. . .
Comment 54 Octavio 2018-03-27 18:48:52 UTC
The below test cases fail on CFL QA

igt@gem_shrink@execbuf1-oom
igt@gem_shrink@execbufX-oom
igt@gem_shrink@hang-oom
igt@gem_shrink@mmap-cpu-oom
igt@gem_shrink@pread-userptr
igt@gem_shrink@pwrite-oom

IGT-Version: 1.22-ga9741da (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww13-commit-8eb8f6d+ x86_64)

Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)
Subtest execbufX-oom: CRASH (20.398s)

Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
 #0 [ f#a0t  a#l[0_f sa[itfgaa_lth_aaslni_dgsl_eirhg+a_0nhxdafnlbde]lr
e+r0+x0fxbf]b
]
Comment 55 Jani Saarinen 2018-03-29 07:10:37 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 56 Ricardo Perez 2018-04-05 19:30:41 UTC
CNL QA system is failing with the following test:

gem_shrink@execbufX-oom

Software Version:

IGT-Version: 1.22-g0721161 (x86_64) (Linux: 4.16.0-rc6-drm-intel-qa-ww12-commit-4db112a+ x86_64)
Using 62 processes and 128MiB per process
Subtest execbufX-oom: CRASH (16.682s)
Subtest execbufX-oom: CRASH (16.682s)
Subtest execbufX-oom: CRASH (16.682s)
Subtest execbufX-oom: CRASH (16.681s)
Subtest execbufX-oom: CRASH (16.682s)
Subtest execbufX-oom: CRASH (16.682s)

Failure signature:
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Stack trace: 
Received signal SIGSEGV.
Received signal SIGSEGV.
Stack trace: 
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Received signal SIGSEGV.
Stack trace: 
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #0 [fatal_sig_handler+0xfb]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #2 [__real_main369+0x6 #2 [__real_main369+0x694]
94]
 #2 [__real_main369+0x694]
 #3 [main+0x2 #3 [main+0x23]
3]
 #3 [main+0x23]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [ #4 [__libc_start_main+0xf1]
 #4 [__libc_start_main+0xf1]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #5 [_start+0x29]
_start+0x29]
 #6 [<unknown>+0x29]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 #6 [<unknown>+0x29]
 #6 [<unknown>+0x29]
 #6 [<unknown>+0x29]
 #0 [fatal_sig_handler+0xfb]
Comment 57 Ricardo Perez 2018-04-05 19:32:40 UTC
CNL QA System is failing with the following test:

igt@gem_shrink@execbufN-oom


Software Version:

IGT-Version: 1.22-g0721161 (x86_64) (Linux: 4.16.0-rc6-drm-intel-qa-ww12-commit-4db112a+ x86_64)
Using 62 processes and 128MiB per process
Subtest execbufN-oom: CRASH (15.193s)
Subtest execbufN-oom: CRASH (15.193s)

Failure signature:
	
Received signal Received signal SIGSEGV.
SIGSEGV.
Stack trace: 
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #1 [killpg+0x40]
 #1 [killpg+0x40]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #1 [killpg+0x40]
 #3 [main+0x23]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #2 [__real_main369+0x694]
 #4 [__libc_start_main+0xf1]
 #3 [main+0x23]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #4 [__libc_start_main+0xf1]
 #5 [_start+0x29]
 #5 [_start+0x29]
 #6 [<unknown>+0x29]
 #6 [<unknown>+0x29]
 #6 [<unknown>+0x29]
Comment 58 Jani Saarinen 2018-04-06 06:11:51 UTC
These tests are blacklisted for the reason. Do we care these tests? 
https://cgit.freedesktop.org/drm/igt-gpu-tools/tree/tests/intel-ci/blacklist.txt
Comment 59 Hector Velazquez 2018-04-12 15:23:32 UTC
This tests was failing on CNL QA

Test list:
igt@gem_shrink@execbufN-oom

output sample:
. . .
Received signal SIGSEGV.
(gem_shrink:728) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:728) DEBUG: Test requirement passed: has_userptr()
Received signal SIGSEGVReceived signal SIGSEGV.
Stack trace: 
.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [__real_main369+0x694]
 #3 [main+0x23]
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
Received signal SIGSEGV.
Stack trace: 
. . .

software:
IGT-Version: 1.22-g2ef96ec (x86_64) (Linux: 4.16.0-rc7-drm-tip-ww15-commit-d123888+ x86_64)

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.