Bug 89928

Summary: [IGT] igt/gem_evict_everything/forked-mempressure-interruptible No enough memory available (RAM)
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Chris Wilson <chris>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: minor    
Priority: low CC: christophe.prigent, intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=102078
https://bugs.freedesktop.org/show_bug.cgi?id=86961
https://bugs.freedesktop.org/show_bug.cgi?id=102495
Whiteboard: ReadyForDev
i915 platform: BDW, BSW/CHT, BXT, BYT, CNL, GLK i915 features: GEM/Other
Attachments:
Description Flags
dmesg
none
dmesg log
none
dmesg log
none
logs-forked-mem-multi-tests none

Description lu hua 2015-04-07 03:24:59 UTC
Created attachment 114900 [details]
dmesg

==System Environment==
--------------------------
Regression: not sure

Non-working platforms: SKL

==kernel==
--------------------------
drm-intel-nightly/333cf6eed7cae0ee2d6bb1b4c4d421b94f84fc13
commit 333cf6eed7cae0ee2d6bb1b4c4d421b94f84fc13
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Thu Apr 2 11:38:12 2015 +0300

    drm-intel-nightly: 2015y-04m-02d-08h-37m-57s UTC integration manifest

==Bug detailed description==
-----------------------------
It takes 13 minutes on SKL with the latest -nightly kernel. I am unable to find good commit. 
Following cases also take more than 10 minutes:
igt@gem_evict_everything@forked-mempressure-normal
igt@gem_evict_everything@forked-multifd-mempressure-interruptible
igt@gem_evict_everything@forked-multifd-mempressure-normal

output:
IGT-Version: 1.10-g43a1f64 (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
Subtest forked-mempressure-interruptible: SUCCESS (808.528s)

real    13m28.601s
user    21m25.850s
sys     32m8.802s

==Reproduce steps==
---------------------------- 
1. time ./gem_evict_everything --run-subtest forked-mempressure-interruptible
Comment 1 cprigent 2015-08-03 22:13:53 UTC
Bug scrub: assigned to Rami.
Rami, please try if still reproduced.
Comment 2 Jairo Miramontes 2015-08-14 19:16:50 UTC
Created attachment 117693 [details]
dmesg log


This timeout is still reproduced on kernel drm-intel-testing-2015-07-31 (kernel 4.2-rc4).

BYT-M

Hardware
Platform: Baytrail-M
CPU: Intel(R) Celeron(R) CPU  N2820  @ 2.13GHz

Software
Linux distribution: Ubuntu 14.04.02 LTS 64 bits
BIOS: 1.10
Ksc: 1.0
Kernel: drm-intel-testing-2015-07-31 (kernel 4.2-rc4). git://anongit.freedesktop.org/drm-intel 
Mesa: mesa-10.6.3 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.62 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.0. from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 1.11 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/
Comment 3 Rami 2015-08-24 16:20:06 UTC
Reproduced on skl:

System Environment:
===================
Linux : Ubuntu 14.04 LTS 64 bits
Kernel : 
BIOS : SKLSE2R1.R00.X093.B02.1507222151
ME FW : 11.0.0.1163
Ksc (EC FW): 1.16

Software: 
=========
Software 
Linux : Ubuntu 14.04 LTS 64 bits
Kernel : 
BIOS : SKLSE2R1.R00.X093.B02.1507222151
ME FW : 11.0.0.1163
Ksc (EC FW): 1.16

Kernel: drm-intel-nightly 30263ef782e0548c114fb6f2771b58b27c56ba0d 4.2.0-rc7 from git://anongit.freedesktop.org/drm-intel
Mesa: mesa-10.6.3 ddc976368fef367e464472ebcc2ac4fd89eb9fd8 from http://cgit.freedesktop.org/mesa/mesa/ 
Xf86_video_intel: 2.99.917 baec802b21387d04aebb10ac29e719a1800c5aa0 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ 
Libdrm: libdrm-2.4.62 ba4b5ac010ab85406ec52e3906e13d58cd9aa782 from http://cgit.freedesktop.org/mesa/drm/ 
Cairo: 1.14.2 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from http://cgit.freedesktop.org/cairo 
libva: libva-1.6.0 a8008998bc0d4a76ae6927607c048e52ba50fd0e from http://cgit.freedesktop.org/libva/ 
intel-driver: 1.6.0 32268c46d538667d437dc9266aa4c183e51c1286 from http://cgit.freedesktop.org/vaapi/intel-driver 
Xserver: xorg-server-1.17.2 2123f7682d522619f101b05fb75efa75dabbe371 from http://cgit.freedesktop.org/xorg/xserver

Actual Result:
==============
IGT-Version: 1.11-g0e25e5d (x86_64) (Linux: 4.2.0-rc8-drm-intel-nightly-ww35-patch-bug91210+ x86_64)
Subtest forked-mempressure-interruptible: SUCCESS (914.063s)

real	15m14.084s
user	20m46.194s
sys	37m46.479s
Comment 4 Elio 2015-10-01 15:14:41 UTC
This issue is reproducible on BDW-U with the following configuration:

Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28
Mesa: mesa-10.6.7 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.64 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 1.12 from http://cgit.freedesktop.org/xorg/app/intel-gpu
Comment 5 Humberto Israel Perez Rodriguez 2015-11-13 18:26:05 UTC
This issue also happen with latest drm-intel-testing and nightly in BYT-M / SKL-Y with the following configuration :


Software configuration : 
------------------------
Kernel : latest drm-intel-testing (4.3.0-rc6-testing)
commit 87074657f22e38163e712ca417e1a398d00096b6
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Oct 23 11:56:52 2015 +0200

Kernel : latest drm-intel-nightly: 2015y-11m-06d-12h-48m-02s UTC integration manifest
commit a3b0dec82fdb59c629c4fb9847245b80b0cf69dd
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Fri Nov 6 14:48:23 2015 +0200

Ubuntu 14.04.03 x86_64
Xserver : 1.17.4  (commit : 2c7fa2a)
libdrm : 2.4.65 (commit :c349616)
Xf86-video-intel : 2.99.917 (commit : baec802)
Mesa : 11.0.4 (commit : 31bf247)
Libva : 1.6.1 (commit : 613eb96)
Intel-driver : 1.6.1 (commit : 35858c6)
Cairo : 1.14.4 (commit : 0317ee7)
Intel-GPU-Tools : 1.12 (commit : 1f9e055)
Comment 6 Elio 2015-11-25 19:59:55 UTC
Still present on BYT with the following kernel:
4.4.0-rc1-nightly+
Comment 7 Jari Tahvanainen 2017-03-02 14:03:13 UTC
Please retest and/or update with the latest test results.
Comment 8 Elio 2017-06-09 19:29:49 UTC
It seems that the failure was caused because a memory bottle neck, now, the latest igt version has a validation on this:

Test requirement not met in function intel_require_memory, file intel_os.c:293:
Test requirement: __intel_check_memory(count, size, mode, &required, &total)
Estimated that we need 201,326,592 objects and 201,424,896 MiB for the test, but only have 31,783 MiB available (RAM) and a maximum of 3,266,533 objects
Last errno: 2, No such file or directory

I will try to get another skl and will share my results as soon as possible
Comment 9 Elio 2017-06-12 14:14:31 UTC
Tested with another device having the following results:
I tested with another skl (skull) with 32 GB of RAM and it is having the same ourtput, is this really expected? 



IGT-Version: 1.18-g00ce341 (x86_64) (Linux: 4.12.0-rc3-drm-tip-ww22-commit-187376e+ x86_64)
Test requirement not met in function intel_require_memory, file intel_os.c:293:
Test requirement: __intel_check_memory(count, size, mode, &required, &total)
Estimated that we need 201326592 objects and 201424896 MiB for the test, but only have 7315 MiB available (RAM) and a maximum of 777194 objects
Last errno: 2, No such file or directory
Subtest forked-mempressure-interruptible: SKIP (0.078s)

With the following configuration:


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

======================================
             Software
======================================
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-187376e+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 1.0
bios release date           : 08/07/2015

======================================
        Graphic drivers
======================================
modesetting                 : modesetting_drv.so
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Skylake - 1.7.3
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
             Hardware
======================================
platform                   : SKL
motherboard model          : Inspiron15-7568
motherboard id             : 02HK88
form factor                : Laptop
manufacturer               : DellInc.
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
gpu card                   : Intel Corporation HD Graphics 520 (rev 07) (prog-if 00 [VGA controller])
memory ram                 : 7.71 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 78
cpu stepping               : 3
socket                     : Other
signature                  : Type 0, Family 6, Model 78, Stepping 3
hard drive                 : 931GiB (1TB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.26
guc fw loaded             : NONE
guc version wanted        : 0.0
guc version found         : 0.0

======================================
             kernel parameters
======================================
quiet splash fastboot drm.debug=0xe
Comment 10 Elio 2017-06-12 14:15:36 UTC
Created attachment 131893 [details]
dmesg log
Comment 11 Elizabeth 2017-08-17 16:56:08 UTC
Good afternoon, 
After testing the following subtests I found the same problem for each one of the them.
======================================
Test list
======================================
igt@gem_evict_everything@forked-interruptible
igt@gem_evict_everything@forked-mempressure-interruptible
igt@gem_evict_everything@forked-mempressure-normal
igt@gem_evict_everything@forked-multifd-interruptible
igt@gem_evict_everything@forked-multifd-mempressure-interruptible
igt@gem_evict_everything@forked-multifd-mempressure-normal
igt@gem_evict_everything@forked-multifd-normal
igt@gem_evict_everything@forked-normal
igt@gem_evict_everything@forked-swapping-interruptible
igt@gem_evict_everything@forked-swapping-mempressure-interruptible
igt@gem_evict_everything@forked-swapping-mempressure-normal
igt@gem_evict_everything@forked-swapping-multifd-interruptible
igt@gem_evict_everything@forked-swapping-multifd-mempressure-interruptible
igt@gem_evict_everything@forked-swapping-multifd-mempressure-normal
igt@gem_evict_everything@forked-swapping-multifd-normal
igt@gem_evict_everything@forked-swapping-normal
igt@gem_evict_everything@major-hang
igt@gem_evict_everything@major-interruptible
igt@gem_evict_everything@major-normal
igt@gem_evict_everything@minor-hang
igt@gem_evict_everything@minor-interruptible
igt@gem_evict_everything@minor-normal
igt@gem_evict_everything@mlocked-hang
igt@gem_evict_everything@mlocked-interruptible
igt@gem_evict_everything@mlocked-normal
igt@gem_evict_everything@swapping-hang
igt@gem_evict_everything@swapping-interruptible
igt@gem_evict_everything@swapping-normal

Sample output:
IGT-Version: 1.19-gc881133 (x86_64) (Linux: 4.13.0-rc5-automatic-olddefconfig+ x86_64)
Test requirement not met in function intel_require_memory, file intel_os.c:293:
Test requirement: __intel_check_memory(count, size, mode, &required, &total)
Estimated that we need 201326592 objects and 201424896 MiB for the test, but only have 7303 MiB available (RAM) and a maximum of 790868 objects
Last errno: 2, No such file or directory
Subtest forked-mempressure-interruptible: SKIP (0.271s)
Comment 12 Elizabeth 2017-08-23 15:41:58 UTC
Hello again, 
On GLK the same result was observed on this tests: 
igt@gem_userptr_blits@mlocked-unsync-normal
igt@gem_userptr_blits@major-normal-sync
igt@gem_userptr_blits@coherency-unsync

Sample output:
$ sudo -E ./gem_userptr_blits --r major-normal-sync --d

IGT-Version: 1.19-g4524a89 (x86_64) (Linux: 4.13.0-rc6-drm-tip-ww34-commit-93365f5+ x86_64)
(gem_userptr_blits:1809) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_userptr_blits:1809) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_userptr_blits:1809) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_userptr_blits:1809) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
Aperture size is 268435456 MiB
Total RAM is 5,803 MiB
Not enough RAM to run test, reducing buffer count.
(gem_userptr_blits:1809) DEBUG: Test requirement passed: has_userptr(fd)
(gem_userptr_blits:1809) DEBUG: Test requirement passed: has_userptr(fd)
(gem_userptr_blits:1809) DEBUG: Test requirement passed: has_userptr(fd)
(gem_userptr_blits:1809) igt-core-DEBUG: Starting subtest: major-normal-sync
(gem_userptr_blits:1809) intel-os-DEBUG: Checking 1,342,179 surfaces of size 209,715,200 bytes (total 281,476,024,619,008) against RAM
(gem_userptr_blits:1809) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_userptr_blits:1809) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
Test requirement not met in function intel_require_memory, file intel_os.c:293:
Test requirement: __intel_check_memory(count, size, mode, &required, &total)
Estimated that we need 1,342,179 objects and 268,436,456 MiB for the test, but only have 5,632 MiB available (RAM) and a maximum of 583,602 objects
Last errno: 2, No such file or directory
Subtest major-normal-sync: SKIP (0.012s)
(gem_userptr_blits:1809) igt-core-DEBUG: Exiting with status code 77
(gem_userptr_blits:1809) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
Comment 13 Elizabeth 2017-08-23 19:59:56 UTC
(In reply to Elizabeth from comment #11)
> Good afternoon, 
> After testing the following subtests I found the same problem for each one
> of the them...
On GLK.
Comment 14 Elizabeth 2017-08-23 20:04:09 UTC
Hello Chris, 
This testlist is now skipped on SKL, is this an expected behavior? Thanks.

igt@gem_evict_everything@forked-interruptible
igt@gem_evict_everything@forked-mempressure-interruptible
igt@gem_evict_everything@forked-mempressure-normal
igt@gem_evict_everything@forked-multifd-interruptible
igt@gem_evict_everything@forked-multifd-mempressure-interruptible
igt@gem_evict_everything@forked-multifd-mempressure-normal
igt@gem_evict_everything@forked-multifd-normal
igt@gem_evict_everything@forked-normal
igt@gem_evict_everything@forked-swapping-interruptible
igt@gem_evict_everything@forked-swapping-mempressure-interruptible
igt@gem_evict_everything@forked-swapping-mempressure-normal
igt@gem_evict_everything@forked-swapping-multifd-interruptible
igt@gem_evict_everything@forked-swapping-multifd-mempressure-interruptible
igt@gem_evict_everything@forked-swapping-multifd-mempressure-normal
igt@gem_evict_everything@forked-swapping-multifd-normal
igt@gem_evict_everything@forked-swapping-normal
igt@gem_evict_everything@major-hang
igt@gem_evict_everything@major-interruptible
igt@gem_evict_everything@major-normal
igt@gem_evict_everything@minor-hang
igt@gem_evict_everything@minor-interruptible
igt@gem_evict_everything@minor-normal
igt@gem_evict_everything@mlocked-hang
igt@gem_evict_everything@mlocked-interruptible
igt@gem_evict_everything@mlocked-normal
igt@gem_evict_everything@swapping-hang
igt@gem_evict_everything@swapping-interruptible
igt@gem_evict_everything@swapping-normal

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

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

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
Comment 15 Elizabeth 2017-09-04 21:47:33 UTC
Changing bug title because comment 8. Thank you.
Comment 16 Elizabeth 2017-09-11 22:14:10 UTC
On GLK with the kernel 4.13.0-drm-tip-ww37-commit-14ea1a9+, the memory error message is not more present but the tests are taking long or never ending.
Test requirement not met in function intel_require_memory, file intel_os.c:293:
Test requirement: __intel_check_memory(count, size, mode, &required, &total)
Estimated that we need 201,326,592 objects and 201,424,896 MiB for the test, but only have 31,783 MiB available (RAM) and a maximum of 3,266,533 objects
Last errno: 2, No such file or directory
Sharing results so far:
INCOMPLETE:
igt@gem_evict_everything@forked-swapping-multifd-interruptible
igt@gem_evict_everything@forked-swapping-multifd-normal
igt@gem_evict_everything@major-hang
igt@gem_evict_everything@major-interruptible
igt@gem_evict_everything@major-normal
igt@gem_evict_everything@minor-hang
igt@gem_evict_everything@minor-interruptible
igt@gem_evict_everything@minor-normal
igt@gem_evict_everything@mlocked-hang
igt@gem_evict_everything@mlocked-interruptible
igt@gem_evict_everything@mlocked-normal
igt@gem_evict_everything@swapping-hang
igt@gem_evict_everything@swapping-interruptible
igt@gem_evict_everything@swapping-normal

SUCCESS:
igt@gem_evict_everything@forked-normal
igt@gem_evict_everything@forked-interruptible
igt@gem_evict_everything@forked-swapping-normal
igt@gem_evict_everything@forked-swapping-interruptible
igt@gem_evict_everything@forked-multifd-normal
igt@gem_evict_everything@forked-multifd-interruptible
igt@gem_evict_everything@forked-mempressure-normal, 9min
igt@gem_evict_everything@forked-mempressure-interruptible, 10min
igt@gem_evict_everything@forked-swapping-mempressure-normal
igt@gem_evict_everything@forked-swapping-mempressure-interruptible
igt@gem_evict_everything@forked-multifd-mempressure-normal, 9 min
igt@gem_evict_everything@forked-multifd-mempressure-interruptible, 10 min
igt@gem_evict_everything@forked-swapping-multifd-mempressure-normal
igt@gem_evict_everything@forked-swapping-multifd-mempressure-interruptible
Comment 17 Elizabeth 2017-12-07 23:16:08 UTC
Latest results for gem_evit_everything family with configuration IGT-Version: 1.20-g476c4b4 (x86_64) (Linux: 4.15.0-rc2-drm-intel-qa-ww49-commit-b866e17+ x86_64)

gem_evict_everything, BYT, GLK, BDW, SKL
forked-interruptible, pass, pass, pass, pass
forked-mempressure-interruptible, incomplete, incomplete, pass, pass
forked-mempressure-normal, timeout, timeout, pass, pass
forked-multifd-interruptible, pass, pass, pass, pass
forked-multifd-mempressure-interruptible, incomplete, incomplete, pass, pass
forked-multifd-mempressure-normal, timeout, incomplete, pass, pass
forked-multifd-normal, pass, pass, pass, pass
forked-normal, pass, pass, pass, pass
forked-swapping-interruptible, pass, pass, pass, pass
forked-swapping-mempressure-interruptible, pass, pass, pass, pass
forked-swapping-mempressure-normal, pass, pass, pass, pass
forked-swapping-multifd-interruptible, pass, pass, pass, pass
forked-swapping-multifd-mempressure-interruptible, pass, pass, pass, pass
forked-swapping-multifd-mempressure-normal, pass, pass, pass, pass
forked-swapping-multifd-normal, pass, pass, pass, pass
forked-swapping-normal, pass, pass, pass, pass
major-hang, pass, skip, skip, pass
major-interruptible, pass, skip, skip, pass
major-normal, pass, skip, skip, pass
minor-hang, timeout, skip, skip, skip
minor-interruptible, timeout, skip, skip, skip
minor-normal, pass, skip, skip, skip
mlocked-hang, dmesg-fail, incomplete, incomplete, incomplete
mlocked-interruptible, incomplete, incomplete, incomplete, incomplete
mlocked-normal, incomplete, timeout, timeout, timeout
swapping-hang, dmesg-fail, dmesg-fail, incomplete, dmesg-fail
swapping-interruptible, timeout, incomplete, timeout, timeout
swapping-normal, timeout, incomplete, timeout, timeout
Comment 18 Elizabeth 2018-01-09 15:34:11 UTC
*** Bug 97109 has been marked as a duplicate of this bug. ***
Comment 19 Ricardo Perez 2018-01-30 13:53:07 UTC
For CoffeeLake S UDIMM RVP QA system, the following test is failing:

igt@gem_evict_everything@mlocked-interruptible

Running:
IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-rc9-drm-intel-qa-ww4-commit-59275f1+ x86_64)

Subtest mlocked-interruptible failed.
**** DEBUG ****
(gem_evict_everything:2968) intel-os-DEBUG: Checking 3071 surfaces of size 1048576 bytes (total 3221749760) against RAM
(gem_evict_everything:2968) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_evict_everything:2968) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_evict_everything:2968) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total)
(gem_evict_everything:2968) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_evict_everything:2968) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_evict_everything:2968) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_evict_everything:2968) DEBUG: Test requirement passed: pin > sz
(gem_evict_everything:2968) DEBUG: Pinning [12583, 15654] MiB
****  END  ****
child 0 died with signal 9, Killed
Subtest mlocked-interruptible: FAIL (1.062s)

Should this failure be tracked here, or do we need to open a new bug ?
Comment 20 Hector Velazquez 2018-02-12 14:27:02 UTC
This tests still failing on GLK QA 

Tests List:

igt@gem_evict_everything@mlocked-hang
igt@gem_evict_everything@mlocked-interruptible

IGT-Version: 1.21-g94bd67c (x86_64) (Linux: 4.15.0-drm-tip-ww6-commit-078873d+ x86_64)

No new behavior.
Comment 21 Hector Velazquez 2018-03-02 18:07:54 UTC
This tests has a timeout/incomplete on BYT/BXT/BSW/BDW/CNL/GLK QA 
Tests List:

igt@gem_evict_everything@forked-multifd-mempressure-normal
igt@gem_evict_everything@forked-multifd-mempressure-interruptible <-skip only in GLK
igt@gem_evict_everything@forked-mempressure-normal
igt@gem_evict_everything@forked-mempressure-interruptible

. . .

software:
IGT-Version: 1.21-g2b64cac (x86_64) (Linux: 4.16.0-rc1-drm-intel-qa-ww7-commit-8a1ed24+ x86_64)

(removing SKL/CFL from the platform list, verified as fixed in last execution on SKL/CFL)
Comment 22 Jani Saarinen 2018-03-29 07:10:54 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 23 Elizabeth 2018-04-06 17:47:16 UTC
Created attachment 138660 [details]
logs-forked-mem-multi-tests

This tests aren't failing, they just take too long to finish, so closing bug. Thank you.

[gfx@BSW-1-BRASWELL] [~]$ : time sudo -E ./intel-graphics/intel-gpu-tools/tests/gem_evict_everything --r forke    d-multifd-mempressure-normal
IGT-Version: 1.22-g164b4a3 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww14-commit-f818c2b+ x86_64)
Subtest forked-multifd-mempressure-normal: SUCCESS (1501.031s)

real    25m5.284s
user    45m30.439s
sys     48m58.470s

[gfx@BSW-1-BRASWELL] [~]$ : time sudo -E ./intel-gra                                                             phics/intel-gpu-tools/tests/gem_evict_everything --r                                                              forked-multifd-mempressure-interruptible
IGT-Version: 1.22-g164b4a3 (x86_64) (Linux: 4.16.0-r                                                             c7-drm-intel-qa-ww14-commit-f818c2b+ x86_64)
Subtest forked-multifd-mempressure-interruptible: SUCCESS (1624.954s)

real    27m6.856s
user    43m58.754s
sys     55m52.738s

[gfx@BSW-1-BRASWELL] [~]$ : time sudo -E ./intel-gra                                                             phics/intel-gpu-tools/tests/gem_evict_everything --r                                                              forked-mempressure-normal
IGT-Version: 1.22-g164b4a3 (x86_64) (Linux: 4.16.0-r                                                             c7-drm-intel-qa-ww14-commit-f818c2b+ x86_64)
Subtest forked-mempressure-normal: SUCCESS (1532.810s)

real    25m37.028s
user    45m24.258s
sys     49m10.426s

[gfx@BSW-1-BRASWELL] [~]$ : time sudo -E ./intel-graphics/intel-gpu-tools/tests/gem_evict_everything --r forked-mempressure-interruptible
IGT-Version: 1.22-g164b4a3 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww14-commit-f818c2b+ x86_64)
Subtest forked-mempressure-interruptible: SUCCESS (1                                                             620.711s)

real    27m3.435s
user    44m10.424s
sys     56m3.623s

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.