<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BKL] igt / gem_reset_stats / unrelated-ctx-render fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95386">95386</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BKL] igt / gem_reset_stats / unrelated-ctx-render fail
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>christophe.prigent@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=123706" name="attach_123706" title="kbl-gem_reset_stats-unrelated-ctx-render_kern.log">attachment 123706</a> <a href="attachment.cgi?id=123706&action=edit" title="kbl-gem_reset_stats-unrelated-ctx-render_kern.log">[details]</a></span>
kbl-gem_reset_stats-unrelated-ctx-render_kern.log

Hardware
Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1

Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
kernel drm-intel-nightly 4.6.0-rc7 61f856f from
<a href="http://cgit.freedesktop.org/drm-intel/">http://cgit.freedesktop.org/drm-intel/</a>
  commit 61f856faa1e6ff9dddad214be1e372e8aacfc0f4
  Author: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
  Date:   Mon May 9 19:24:21 2016 +0300
  drm-intel-nightly: 2016y-05m-09d-16h-24m-01s UTC integration manifest
libdrm-2.4.68 fc09c5a from git://anongit.freedesktop.org/mesa/drm
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
IGT 1.14 cc24755 from
<a href="http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git">http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git</a>

Steps:
------
Execute commands:
cd <...>/intel-gpu-tools/tests
./gem_reset_stats --run-subtest unrelated-ctx-render

Actual result:
--------------
Test is fail

Expected result:
----------------
Test is Pass

Output:
--------
./gem_reset_stats --run-subtest unrelated-ctx-render
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-rc7-nightly+ x86_64)
0:1 expected 'Guilty' [1], found 'No error' [0]
(gem_reset_stats:1435) CRITICAL: Test assertion failure function
test_unrelated_ctx, file gem_reset_stats.c:458:
(gem_reset_stats:1435) CRITICAL: Failed assertion: _assert_reset_status(0, fd1,
ctx_guilty, (1 << 0)) == 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main773+0x188f]
  #2 [main+0x29]
  #3 [__libc_start_main+0xf0]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest unrelated-ctx-render failed.
**** DEBUG ****
(gem_reset_stats:1435) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_reset_stats:1435) DEBUG: Test requirement passed: has_engine(fd,
gem_context_create(fd), e)
(gem_reset_stats:1435) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_reset_stats:1435) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_reset_stats:1435) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_reset_stats:1435) ioctl-wrappers-DEBUG: Test requirement passed:
gem_has_ring(fd, ring)
(gem_reset_stats:1435) ioctl-wrappers-DEBUG: Test requirement passed:
has_ban_period
(gem_reset_stats:1435) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_reset_stats:1435) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring
== I915_EXEC_RENDER
(gem_reset_stats:1435) INFO: 0:1 expected 'Guilty' [1], found 'No error' [0]
(gem_reset_stats:1435) CRITICAL: Test assertion failure function
test_unrelated_ctx, file gem_reset_stats.c:458:
(gem_reset_stats:1435) CRITICAL: Failed assertion: _assert_reset_status(0, fd1,
ctx_guilty, (1 << 0)) == 0
****  END  ****
Subtest unrelated-ctx-render: FAIL (10,315s)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>