<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 - [BXT] gem_exec_schedule subtests failing"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99893">99893</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BXT] gem_exec_schedule subtests failing
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI git
          </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>jairo.daniel.miramontes.caton@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=129803" name="attach_129803" title="dmesg.log">attachment 129803</a> <a href="attachment.cgi?id=129803&action=edit" title="dmesg.log">[details]</a></span>
dmesg.log

The following tests are failing on BXT, attached dmesg log for two tests, all
failures have similar output and dmesg.

igt@gem_exec_schedule@out-order-blt
igt@gem_exec_schedule@out-order-bsd
igt@gem_exec_schedule@out-order-render
igt@gem_exec_schedule@out-order-vebox
igt@gem_exec_schedule@promotion-blt
igt@gem_exec_schedule@promotion-bsd
igt@gem_exec_schedule@promotion-render
igt@gem_exec_schedule@promotion-vebox


Steps to reproduce
========================================
1. Download and Install IGT suite.
2. go to intel-gpu-tools/tests/ folder
3. execute test ./gem_exec_schedule --run-subtest out-order-blt
4. execute test ./gem_exec_schedule --run-subtest out-order-bsd
5. execute test ./gem_exec_schedule --run-subtest out-order-render
6. execute test ./gem_exec_schedule --run-subtest out-order-vebox
7. execute test ./gem_exec_schedule --run-subtest out-promotion-blt
8. execute test ./gem_exec_schedule --run-subtest out-promotion-bsd
9. execute test ./gem_exec_schedule --run-subtest out-promotion-render
9. execute test ./gem_exec_schedule --run-subtest out-promotion-vebox

Expected output
====================================
Tests should be marked as pass


Actual output
=====================================

Below is the example only for out-rder-blt but other tests have a pretty
similar output.

./gem_exec_schedule --run-subtest out-order-blt
IGT-Version: 1.17-gca2ba47 (x86_64) (Linux:
4.10.0-rc8-drm-tip-qa-ww7-commit-e80b772+ x86_64)
Test requirement not met in function gem_require_ring, file
ioctl_wrappers.c:1513:
Test requirement: gem_has_ring(fd, ring)
Test requirement not met in function gem_require_ring, file
ioctl_wrappers.c:1513:
Test requirement: gem_has_ring(fd, ring)
(gem_exec_schedule:1560) CRITICAL: Test assertion failure function reorder,
file gem_exec_schedule.c:298:
(gem_exec_schedule:1560) CRITICAL: Failed assertion: ptr[0] == ctx[0]
(gem_exec_schedule:1560) CRITICAL: error: 0x2 != 0x1
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [reorder+0x19e]
  #2 [<unknown>+0x19e]
  #3 [<unknown>+0x19e]
Subtest out-order-blt failed.
**** DEBUG ****
(gem_exec_schedule:1560) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_schedule:1560) igt-debugfs-DEBUG: Opening debugfs dir
/sys/kernel/debug/dri/0
(gem_exec_schedule:1560) igt-debugfs-DEBUG: i915_engine_info:
render ring
        current seqno 26, last 26, hangcheck 0 [-242992 ms]
        Requests:
        RING_START: 0x00011000 [0x00000000]
        RING_HEAD:  0x00000bf0 [0x00000000]
        RING_TAIL:  0x00000bf0 [0x00000000]
        RING_CTL:   0x00003000 []
        ACTHD:  0x00000000_00000bf0
        BBADDR: 0x00000000_ffffe004
        Execlist status: 0x00000301 00000000
        Execlist CSB read 3, write 3
                ELSP[0] idle
                ELSP[1] idle

blitter ring
        current seqno 29, last 31, hangcheck 0 [-242992 ms]
        Requests:
                first  2a [1:29] prio=2147483647 @ 12ms:
gem_exec_schedu[1560]/0
                last   31 [1:30] prio=2147483647 @ 12ms:
gem_exec_schedu[1560]/0
                active 2a [1:29] prio=2147483647 @ 12ms:
gem_exec_schedu[1560]/0
                [head 0280, postfix 02b0, tail 02d0, batch 0x00000000_ffffd000]
        RING_START: 0x00019000 [0x00019000]
        RING_HEAD:  0x0000029c [0x00000000]
        RING_TAIL:  0x000004f8 [0x00000500]
        RING_CTL:   0x00003001 []
        ACTHD:  0x00000000_ffffd004
        BBADDR: 0x00000000_ffffd001
        Execlist status: 0x00024049 00000001
        Execlist CSB read 3, write 3
                ELSP[0] count=1, rq: 31 [1:30] prio=2147483647 @ 12ms:
gem_exec_schedu[1560]/0
                ELSP[1] idle
        i915/signal:1 [169] waiting for 31

bsd ring
        current seqno 25, last 25, hangcheck 0 [-242992 ms]
        Requests:
        RING_START: 0x00015000 [0x00000000]
        RING_HEAD:  0x00000278 [0x00000000]
        RING_TAIL:  0x00000278 [0x00000000]
        RING_CTL:   0x00003000 []
        ACTHD:  0x00000000_00000278
        BBADDR: 0x00000000_ffffe004
        Execlist status: 0x00000301 00000000
        Execlist CSB read 1, write 1
                ELSP[0] idle
                ELSP[1] idle

video enhancement ring
        current seqno 1e, last 1e, hangcheck 0 [-242992 ms]
        Requests:
        RING_START: 0x0001d000 [0x00000000]
        RING_HEAD:  0x00000278 [0x00000000]
        RING_TAIL:  0x00000278 [0x00000000]
        RING_CTL:   0x00003000 []
        ACTHD:  0x00000000_00000278
        BBADDR: 0x00000000_ffffe004
        Execlist status: 0x00000301 00000000
        Execlist CSB read 5, write 5
                ELSP[0] idle
                ELSP[1] idle
(gem_exec_schedule:1560) CRITICAL: Test assertion failure function reorder,
file gem_exec_schedule.c:298:
(gem_exec_schedule:1560) CRITICAL: Failed assertion: ptr[0] == ctx[0]
(gem_exec_schedule:1560) CRITICAL: error: 0x2 != 0x1
****  END  ****




========== Kernel Information==========
commit e80b772bf85da72c46b582e7c4f7b0d861cb4669
Author: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
Date:   Tue Feb 14 23:45:02 2017 +0100

    drm-tip: 2017y-02m-14d-22h-44m-17s UTC integration manifest


Kernel version : 4.10.0-rc8-e80b772
Architecture : source amd64 all

========== Software Information ==========
Component: drm
Url      : <a href="http://cgit.freedesktop.org/mesa/drm">http://cgit.freedesktop.org/mesa/drm</a>
Tag      : libdrm-2.4.75-6-gec80fd3
Commit   : ec80fd3
Author   : Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Age      : 2 days ago

Component: cairo
Url      : <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a>
Tag      : 1.15.4-6-g5854dd9
Commit   : 5854dd9
Author   : Adrian Johnson <<a href="mailto:ajohnson@redneon.com">ajohnson@redneon.com</a>>
Age      : 12 days ago

Component: intel-gpu-tools
Url      : <a href="https://cgit.freedesktop.org/xorg/app/intel-gpu-tools">https://cgit.freedesktop.org/xorg/app/intel-gpu-tools</a>
Tag      : intel-gpu-tools-1.17-240-gca2ba47
Commit   : ca2ba47
Author   : Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Age      : 15 hours ago

====================

Ubuntu 16.10 yakkety</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 the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>