<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [IVB HSW bisected]Subcase reimport-vs-gem_close-race of prime_self_import failed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77422">77422</a>
          </td>
        </tr>

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

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

        <tr>
          <th>Summary</th>
          <td>[IVB HSW bisected]Subcase reimport-vs-gem_close-race of prime_self_import failed
          </td>
        </tr>

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

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jinxianx.guo@intel.com
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Platform: IVB HSW
kernel:   (drm-intel-nightly)cf8c74f4e33678bc5151df4b68cb7f8c2b51bf6e
intel-gpu-tools: cc730c418f44245c49776059b2564f54da4449e6

Bug detailed description:
----------------------------
Subcase reimport-vs-gem_close-race  of prime_self_import failed.

It's intel-gpu-tools regression issue:

2f2c491cf3167befe7c79e4b17afb4f6284dfc84 is the first bad commit
commit 2f2c491cf3167befe7c79e4b17afb4f6284dfc84
Author: Mika Kuoppala <<a href="mailto:mika.kuoppala@intel.com">mika.kuoppala@intel.com</a>>
Date:   Fri Mar 28 10:52:46 2014 +0200

    lib/drmtest: don't dup quiescent fd

    If we dup the fd, we are in mercy of the context banning
    of the test application. Better to have our own to guarantee
    that gem_quiescent_gpu won't find itself banned on exit.

    Signed-off-by: Mika Kuoppala <<a href="mailto:mika.kuoppala@intel.com">mika.kuoppala@intel.com</a>>

:040000 040000 ceeb48448f495672745b61fb7e7a61f151f26cc5
4dddf6d79c79df33d39e193bcf81898b149d6973 M      lib

output on -nightly kernel:

[root@x-ivb9 tests]# ./prime_self_import --run-subtest
reimport-vs-gem_close-race
IGT-Version: 1.6-gcc730c4 (x86_64) (Linux:
3.14.0_drm-intel-nightly_cf8c74_20140414_debug+ x86_64)
leaked 1 objects
Test assertion failure function test_reimport_close_race, file
prime_self_import.c:297:
Last errno: 0, Success
Failed assertion: obj_count == 0
Subtest reimport-vs-gem_close-race: FAIL


Reproduce steps:
---------------------------- 
1.  ./prime_self_import --run-subtest reimport-vs-gem_close-race</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>