Bug 97129 - [IVB SNB BYT] gem_reset_stats / reset-stats-vebox Failed assertion: noop(fd[i], 0, e) > 0
Summary: [IVB SNB BYT] gem_reset_stats / reset-stats-vebox Failed assertion: noop(fd[i...
Status: CLOSED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-29 12:05 UTC by cprigent
Modified: 2018-04-20 11:21 UTC (History)
2 users (show)

See Also:
i915 platform: BYT, IVB, SNB
i915 features: GEM/Other


Attachments
IVB-gem_reset_stats__reset_stats_vebox-output (1.28 KB, text/plain)
2016-07-29 12:05 UTC, cprigent
no flags Details
IVB-gem_reset_stats__reset_stats_vebox-kern.log (290.18 KB, text/plain)
2016-07-29 12:06 UTC, cprigent
no flags Details

Description cprigent 2016-07-29 12:05:50 UTC
Created attachment 125409 [details]
IVB-gem_reset_stats__reset_stats_vebox-output

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


Steps:
------
1. Execute IGT test:
./gem_reset_stats --r reset-stats-vebox

Actual result:
--------------
1. Test fails

Expected result:
----------------
1. Test is Pass
Comment 1 cprigent 2016-07-29 12:06:07 UTC
Created attachment 125410 [details]
IVB-gem_reset_stats__reset_stats_vebox-kern.log
Comment 2 cprigent 2016-07-29 12:07:29 UTC
Associated to bug 92715
Comment 3 Jari Tahvanainen 2017-03-29 06:31:52 UTC
Test still fails with drm-intel-qa 4.11.0-rc1 e060007 IVB (IVB103)
igt@gem_reset_stats@reset-stats-vebox 
IGT-Version: 1.17-gd91fec7 (x86_64) (Linux: 4.11.0-rc1-tip-201703061601+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [test_rs.constprop.9+0x209]
  #2 [__real_main781+0x593]
  #3 [main+0x35]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [&lt;unknown&gt;+0x29]
Subtest reset-stats-vebox: FAIL (0.153s)
(gem_reset_stats:9809) CRITICAL: Test assertion failure function test_rs, file gem_reset_stats.c:227:
(gem_reset_stats:9809) CRITICAL: Failed assertion: noop(fd[i], 0, e) &gt; 0
Subtest reset-stats-vebox failed.
**** DEBUG ****
(gem_reset_stats:9809) drmtest-DEBUG: Test requirement passed: !(fd&lt;0)
(gem_reset_stats:9809) DEBUG: num fds=4, hang index=1
(gem_reset_stats:9809) drmtest-DEBUG: Test requirement passed: !(fd&lt;0)
(gem_reset_stats:9809) drmtest-DEBUG: Test requirement passed: !(fd&lt;0)
(gem_reset_stats:9809) drmtest-DEBUG: Test requirement passed: !(fd&lt;0)
(gem_reset_stats:9809) drmtest-DEBUG: Test requirement passed: !(fd&lt;0)
(gem_reset_stats:9809) drmtest-DEBUG: Test requirement passed: !(fd&lt;0)
(gem_reset_stats:9809) CRITICAL: Test assertion failure function test_rs, file gem_reset_stats.c:227:
(gem_reset_stats:9809) CRITICAL: Failed assertion: noop(fd[i], 0, e) &gt; 0
****  END  ****
Comment 4 Hector Velazquez 2017-07-26 18:56:58 UTC
The following test FAIL on IVB with this configuration
Note:see Comment 3...

Tests List:

igt@gem_reset_stats@reset-stats-vebox

====================================================
Test Log
====================================================
(gem_reset_stats:1356) CRITICAL: Test assertion failure function test_rs, file gem_reset_stats.c:229:
(gem_reset_stats:1356) CRITICAL: Failed assertion: noop(fd[i], 0, e) > 0
Subtest reset-stats-vebox failed.
**** DEBUG ****
(gem_reset_stats:1356) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:1356) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_reset_stats:1356) DEBUG: num fds=4, hang index=1
(gem_reset_stats:1356) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:1356) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:1356) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:1356) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:1356) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:1356) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_reset_stats:1356) CRITICAL: Test assertion failure function test_rs, file gem_reset_stats.c:229:
(gem_reset_stats:1356) CRITICAL: Failed assertion: noop(fd[i], 0, e) > 0
****  END  ****

====================================================
latest dmesg messages
====================================================

[  391.533541] Console: switching to colour dummy device 80x25
[  391.533657] [IGT] gem_reset_stats: executing
[  391.545275] Setting dangerous option reset - tainting kernel
[  391.545486] [IGT] gem_reset_stats: starting subtest reset-stats-vebox
[  391.589979] Setting dangerous option reset - tainting kernel
[  391.590582] [IGT] gem_reset_stats: exiting, ret=99
[  391.633954] Console: switching to colour frame buffer device 200x56


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 5 Elizabeth 2017-10-13 20:57:00 UTC
Still failing with IGT-Version: 1.20-g136100c (x86_64) (Linux: 4.14.0-rc4-drm-intel-qa-ww41-commit-36e0e80+ x86_64).
Comment 6 Hector Velazquez 2017-12-22 20:30:40 UTC
This test continue failing on IVB QA

igt@gem_reset_stats@reset-stats-vebox

IGT-Version: 1.20-gbeb26d8 (x86_64) (Linux: 4.15.0-rc4-drm-tip-ww51-commit-34783c4+ x86_64)

(gem_reset_stats:1780) CRITICAL: Test assertion failure function test_rs, file gem_reset_stats.c:228:
(gem_reset_stats:1780) CRITICAL: Failed assertion: noop(fd[i], 0, e) > 0
Subtest reset-stats-vebox failed.
Comment 7 Elizabeth 2018-02-27 15:39:06 UTC
This is still an issue for IVB, SNB and BYT, up to HSW the test is passing.

SNB output:	
IGT-Version: 1.21-g1fb30f1 (x86_64) (Linux: 4.16.0-rc2-drm-intel-qa-ww8-commit-562dc33+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [test_rs.constprop.8+0x206]
  #2 [__real_main773+0x10b]
  #3 [main+0x23]
  #4 [__libc_start_main+0xf1]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest reset-stats-vebox: FAIL (0.002s)
Err	
(gem_reset_stats:26362) CRITICAL: Test assertion failure function test_rs, file gem_reset_stats.c:231:
(gem_reset_stats:26362) CRITICAL: Failed assertion: noop(fd[i], 0, e) > 0
Subtest reset-stats-vebox failed.
**** DEBUG ****
(gem_reset_stats:26362) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:26362) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_reset_stats:26362) DEBUG: num fds=4, hang index=1
(gem_reset_stats:26362) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:26362) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:26362) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:26362) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:26362) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_reset_stats:26362) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_reset_stats:26362) CRITICAL: Test assertion failure function test_rs, file gem_reset_stats.c:231:
(gem_reset_stats:26362) CRITICAL: Failed assertion: noop(fd[i], 0, e) > 0
(gem_reset_stats:26362) igt-core-INFO: Stack trace:
(gem_reset_stats:26362) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_reset_stats:26362) igt-core-INFO:   #1 [test_rs.constprop.8+0x206]
(gem_reset_stats:26362) igt-core-INFO:   #2 [__real_main773+0x10b]
(gem_reset_stats:26362) igt-core-INFO:   #3 [main+0x23]
(gem_reset_stats:26362) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(gem_reset_stats:26362) igt-core-INFO:   #5 [_start+0x29]
(gem_reset_stats:26362) igt-core-INFO:   #6 [<unknown>+0x29]
Comment 8 Jani Saarinen 2018-03-29 07:12:02 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 9 Elizabeth 2018-04-06 19:09:53 UTC
Still valid for SNB, IVB and BYT:

Results for igt@gem_reset_stats@reset-stats-vebox
Result: fail

Out	
IGT-Version: 1.22-gda00bf8 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww14-commit-29940f1+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [test_rs.constprop.8+0x206]
  #2 [__real_main773+0x10b]
  #3 [main+0x23]
  #4 [__libc_start_main+0xf1]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest reset-stats-vebox: FAIL (0.020s)
Err	
(gem_reset_stats:598) CRITICAL: Test assertion failure function test_rs, file gem_reset_stats.c:231:
(gem_reset_stats:598) CRITICAL: Failed assertion: noop(fd[i], 0, e) > 0
Subtest reset-stats-vebox failed.
Comment 10 Jani Saarinen 2018-04-09 06:04:30 UTC
These tests are blaclisted on CI, are we fixing these?
Comment 11 Jani Saarinen 2018-04-11 05:49:38 UTC
According to GEM maintainer test itself needs fixing and that is why failing. 
Joonas, ignore?
Comment 12 Jani Saarinen 2018-04-20 11:21:29 UTC
Closing, please re-open if still occurs or we are modifying tests.


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.