<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 - [ILK]igt/gem_wait/render_timeout fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89494">89494</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ILK]igt/gem_wait/render_timeout fail
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>hengx.ding@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=114143" name="attach_114143" title="dmesg">attachment 114143</a> <a href="attachment.cgi?id=114143&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Non-working platforms: ILK
Regression :No, I didn't find find a good commit.
==kernel==
--------------------------
origin/drm-intel-nightly: c2f6e584b215dd0d7e5a8a02716a89e985366ec0(2015-03-08) 


==Bug detailed description==
-----------------------------

[root@x-pk5 tests]# ./gem_wait --run-subtest render_timeout
IGT-Version: 1.9-g07be8fe (x86_64) (Linux:
4.0.0-rc2_drm-intel-nightly_fd3701_20150305+ x86_64)
^[[A2048 iters is enough work
Finished with 545667483 time remaining
Test assertion failure function render_timeout, file gem_wait.c:217:
Failed assertion: gem_bo_wait_timeout(fd, dst2->handle, &negative_timeout) == 0
Last errno: 62, Timer expired
error: -62 != 0
Subtest render_timeout failed.
**** DEBUG ****
Test requirement passed: !igt_run_in_simulation()
Test requirement passed: !(gem_bo_wait_timeout(fd, dst->handle, &timeout) ==
-EINVAL)
2048 iters is enough work
Finished with 545667483 time remaining
Test assertion failure function render_timeout, file gem_wait.c:217:
Failed assertion: gem_bo_wait_timeout(fd, dst2->handle, &negative_timeout) == 0
Last errno: 62, Timer expired
error: -62 != 0
****  END  ****
Subtest render_timeout: FAIL (12.280s)
Received signal SIGTERM.

This case passed when it was run by piglit. But when I switch to the same
kernel and run the same case manually, it fails.


==Reproduce steps==
---------------------------- 
1. ./gem_wait --run-subtest render_timeout</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>