Bug 96250 - [IGT] [BXT-P] gem_madvise / dontneed-before-exec fail
Summary: [IGT] [BXT-P] gem_madvise / dontneed-before-exec fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-27 20:52 UTC by Humberto Israel Perez Rodriguez
Modified: 2017-07-24 22:41 UTC (History)
1 user (show)

See Also:
i915 platform: BXT
i915 features: display/Other


Attachments

Description Humberto Israel Perez Rodriguez 2016-05-27 20:52:38 UTC
Bug description
===============================================
gem_madvise / dontneed-before-exec fail 

Test : igt@gem_madvise@dontneed-before-exec

Test ouput
===============================================
(gem_madvise:5134) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_madvise:5134) igt-core-DEBUG: Starting subtest: dontneed-before-exec
(gem_madvise:5134) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_madvise:5134) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_madvise:5134) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_madvise:5134) ioctl-wrappers-CRITICAL: error: -5 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gem_execbuf+0x44]
  #2 [__real_main143+0x27f]
  #3 [main+0x23]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest dontneed-before-exec failed.
**** DEBUG ****
(gem_madvise:5134) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_madvise:5134) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_madvise:5134) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_madvise:5134) ioctl-wrappers-CRITICAL: error: -5 != 0
****  END  ****
Subtest dontneed-before-exec: FAIL (0.007s)
(gem_madvise:5134) igt-core-DEBUG: Exiting with status code 99


dmesg output
===============================================

kern  :debug : [Fri Jan  3 17:22:30 2098] [drm:i915_gem_open]
kern  :debug : [Fri Jan  3 17:22:30 2098] [drm:i915_gem_open]
kern  :debug : [Fri Jan  3 17:22:30 2098] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23] scaler_user index 0.0
kern  :debug : [Fri Jan  3 17:22:30 2098] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:29] scaler_user index 1.4
kern  :debug : [Fri Jan  3 17:22:30 2098] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:34] scaler_user index 2.8


Actual result
===============================================
gem_madvise / dontneed-before-exec fail

Expected result
===============================================
test must pass

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-rc7-drm-intel-nightly-ww20-commit-5528ede+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 138.22
KSC revision                        : 1.12
DMC revision                        : 1.07
GUC revision                        : 8.7


Hardware information
===============================================
Platform                            : BXT-P
Motherboard model                   : Broxton P
Motherboard type                    : NOTEBOOK Hand Held
Motherboard manufacturer            : Intel Corp.
CPU family                          : B1
CPU information                     : 06/5c
GPU Card                            : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller])


kernel
===============================================
commit 2ec823981d62c56d1511bda42b8295e31ece800f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun May 22 18:23:13 2016 +0200

    drm-intel-nightly: 2016y-05m-22d-16h-22m-45s UTC integration manifest
Comment 1 Humberto Israel Perez Rodriguez 2016-06-03 17:39:32 UTC
The following tests cases are fail with the following configuration :


Tests cases
===============================================
igt@gem_madvise@dontneed-before-exec


Gfx stack information
===============================================
--> Component : drm 
	 tag : libdrm-2.4.68 
	 commit : fc09c5a 
--> Component : cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
--> Component : intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-348-g303b380 
	 commit : 303b380 
 
Software information
===============================================
Kernel version                      : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution                  : Ubuntu 16.04
Architecture                        : 64-bit
Bios revision                       : 138.25
KSC revision                        : 1.12
DMC revision                        : 1.07

Hardware information
===============================================
Platform                            : BXT-P
Motherboard model                   : Broxton P
Motherboard type                    : NOTEBOOK Hand Held
Motherboard manufacturer            : Intel Corp.
CPU family                          : B1
CPU information                     : 06/5c
GPU Card                            : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller])

kernel
===============================================
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
Comment 2 Humberto Israel Perez Rodriguez 2016-06-03 17:41:32 UTC
this test looks like that the result is pass when i run manually, but when it run with run-tests.sh script it shows as fail
Comment 3 Chris Wilson 2016-08-19 09:29:14 UTC
Faulty igt.


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.