Bug 97259 - Some gem_shrink subcases return fail instead of pass
Summary: Some gem_shrink subcases return fail instead of pass
Status: CLOSED DUPLICATE of bug 95424
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-09 13:40 UTC by cprigent
Modified: 2017-09-14 21:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description cprigent 2016-08-09 13:40:05 UTC
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

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=95502#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)
Comment 1 cprigent 2016-08-09 14:04:38 UTC
Same with hang and hang-userptr.
See https://bugs.freedesktop.org/show_bug.cgi?id=95423#c3
Comment 2 Chris Wilson 2017-09-07 20:35:19 UTC

*** This bug has been marked as a duplicate of bug 95424 ***


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.