From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97259] gem_shrink -oom subcases return fail instead of pass Date: Tue, 09 Aug 2016 13:40:05 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1295659725==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D8C646E579 for ; Tue, 9 Aug 2016 13:40:05 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1295659725== Content-Type: multipart/alternative; boundary="14707500050.EB255E88A.18202"; charset="UTF-8" --14707500050.EB255E88A.18202 Date: Tue, 9 Aug 2016 13:40:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97259 Bug ID: 97259 Summary: gem_shrink -oom subcases return fail instead of pass Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: IGT Assignee: dri-devel@lists.freedesktop.org Reporter: christophe.prigent@intel.com 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 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=20 DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01=20 Intel-Gpu-Tools 1.15-216 9afd545 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git Steps: ------ 1. Execute IGT tests: # ./gem_shrink --r pwrite-oom # ./gem_shrink --r pread-oom Actual results: --------------- 1. Tests return fail >>From Chris Wislon: The -oom bugs are expected "failure". At least we are expecting that the kernel kills our test without oopsing or killing anybody else. To fail here is to pass! https://bugs.freedesktop.org/show_bug.cgi?id=3D95502#c3 Expected result: ---------------- 1. Tests return Pass Output: ------- # ./gem_shrink --r pwrite-oom IGT-Version: 1.15-g12f052b (x86_64) (Linux: 4.8.0-rc1-nightly+ x86_64) Using 45 processes and 128MiB per process child 0 died with signal 9, Killed Subtest pwrite-oom failed. **** DEBUG **** (gem_shrink:7943) drmtest-DEBUG: Test requirement passed: !(fd<0) (gem_shrink:7943) DEBUG: Test requirement passed: has_userptr() **** END **** Subtest pwrite-oom: FAIL (368.497s) # ./gem_shrink --r pread-oom IGT-Version: 1.15-g12f052b (x86_64) (Linux: 4.8.0-rc1-nightly+ x86_64) Using 45 processes and 128MiB per process child 0 died with signal 9, Killed Subtest pread-oom failed. **** DEBUG **** (gem_shrink:12351) drmtest-DEBUG: Test requirement passed: !(fd<0) (gem_shrink:12351) DEBUG: Test requirement passed: has_userptr() **** END **** Subtest pread-oom: FAIL (186.552s) --=20 You are receiving this mail because: You are the assignee for the bug.= --14707500050.EB255E88A.18202 Date: Tue, 9 Aug 2016 13:40:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 97259
Summary gem_shrink -oom subcases return fail instead of pass
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component IGT
Assignee dri-devel@lists.freedesktop.org
Reporter christophe.prigent@intel.com

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 <d=
aniel.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.bz=
2=20
DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01=20
Intel-Gpu-Tools 1.15-216 9afd545 from
http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Steps:
------
1. Execute IGT tests:
# ./gem_shrink --r pwrite-oom
# ./gem_shrink --r pread-oom

Actual results:
---------------
1. Tests return fail
>>From Chris Wislon: The -oom bugs are expected "failure". At least=
 we are
expecting that the kernel kills our test without oopsing or killing anybody
else. To fail here is to pass!
https://bugs.freedesktop.org/show_bu=
g.cgi?id=3D95502#c3

Expected result:
----------------
1. Tests return Pass

Output:
-------
# ./gem_shrink --r pwrite-oom
IGT-Version: 1.15-g12f052b (x86_64) (Linux: 4.8.0-rc1-nightly+ x86_64)
Using 45 processes and 128MiB per process
child 0 died with signal 9, Killed
Subtest pwrite-oom failed.
**** DEBUG ****
(gem_shrink:7943) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:7943) DEBUG: Test requirement passed: has_userptr()
****  END  ****
Subtest pwrite-oom: FAIL (368.497s)

# ./gem_shrink --r pread-oom
IGT-Version: 1.15-g12f052b (x86_64) (Linux: 4.8.0-rc1-nightly+ x86_64)
Using 45 processes and 128MiB per process
child 0 died with signal 9, Killed
Subtest pread-oom failed.
**** DEBUG ****
(gem_shrink:12351) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:12351) DEBUG: Test requirement passed: has_userptr()
****  END  ****
Subtest pread-oom: FAIL (186.552s)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14707500050.EB255E88A.18202-- --===============1295659725== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1295659725==--