<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 - [IGT] [BXT] gem_close_race / basic-threads & basic-process fail [regresion]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96605">96605</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[IGT] [BXT] gem_close_race / basic-threads & basic-process fail [regresion]
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>XOrg 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>humberto.i.perez.rodriguez@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=124628" name="attach_124628" title="dmesg.log">attachment 124628</a> <a href="attachment.cgi?id=124628&action=edit" title="dmesg.log">[details]</a></span>
dmesg.log

Regresion
============================================
Yes

latest know good commits 

for kernel
commit eb158325d91be87cdac8cf85aa2162a5895c2dd0
Author: Tvrtko Ursulin <<a href="mailto:tvrtko.ursulin@intel.com">tvrtko.ursulin@intel.com</a>>
Date:   Mon Jun 13 16:48:17 2016 +0100

    drm-intel-nightly: 2016y-06m-13d-15h-47m-56s UTC integration manifest

for igt
  tag : intel-gpu-tools-1.15 
  commit : 3ce58b6 


Steps to reproduce
============================================
./gem_close_race --run-subtest basic-process --debug
./gem_close_race --run-subtest basic-threads --debug

Actual result
============================================
test fail

Expected results
============================================
test must pass

Attachments
============================================
dmesg.log

test output
=============================================
./gem_close_race --run-subtest basic-threads --debug

IGT-Version: 1.15-gc344044 
(x86_64) (Linux: 4.7.0-rc4-drm-intel-nightly-ww26-commit-f586720+ x86_64)
(gem_close_race:3893) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_close_race:3893) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_close_race:3893) igt-core-DEBUG: Starting subtest: basic-threads
(gem_close_race:3893) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_create, file ioctl_wrappers.c:556:
(gem_close_race:3893) ioctl-wrappers-CRITICAL: Failed assertion:
igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 +
0x1b)) << 0) | ((((sizeof(struct drm_i915_gem_create)))) << ((0+8)+8)))),
(&create)) == 0
(gem_close_race:3893) ioctl-wrappers-CRITICAL: Last errno: 9, Bad file
descriptor
(gem_close_race:3893) ioctl-wrappers-CRITICAL: error: -1 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gem_create+0x90]
  #2 [<unknown>+0x90]
Subtest basic-threads failed.
**** DEBUG ****
(gem_close_race:3893) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_create, file ioctl_wrappers.c:556:
(gem_close_race:3893) ioctl-wrappers-CRITICAL: Failed assertion:
igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 +
0x1b)) << 0) | ((((sizeof(struct drm_i915_gem_create)))) << ((0+8)+8)))),
(&create)) == 0
(gem_close_race:3893) ioctl-wrappers-CRITICAL: Last errno: 9, Bad file
descriptor
(gem_close_race:3893) ioctl-wrappers-CRITICAL: error: -1 != 0
****  END  ****
Subtest basic-threads: FAIL (0.002s)
(gem_close_race:3893) igt-core-DEBUG: Exiting with status code 99


for this one looks like that is missing some file or directory 
./gem_close_race --run-subtest basic-process --debug

IGT-Version: 1.15-gc344044 (x86_64) (Linux:
4.7.0-rc4-drm-intel-nightly-ww26-commit-f586720+ x86_64)
(gem_close_race:3934) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_close_race:3934) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_close_race:3934) igt-core-DEBUG: Starting subtest: basic-process
(gem_close_race:3936) CRITICAL: Test assertion failure function process, file
gem_close_race.c:149:
(gem_close_race:3936) CRITICAL: Failed assertion: fd != -1
(gem_close_race:3936) CRITICAL: Last errno: 2, No such file or directory
(gem_close_race:3936) CRITICAL: error: -1 == -1
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [process+0xb6]
  #2 [__real_main210+0x1dd]
  #3 [main+0x23]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
child 0 failed with exit status 99
Subtest basic-process failed.
No log.
Subtest basic-process: FAIL (0.005s)
(gem_close_race:3934) igt-core-DEBUG: Exiting with status code 99


additional info
======================
no relevant dmesg info, only dmesg info in dmesg.log


 Software information
============================================
Kernel version                  :
4.7.0-rc4-drm-intel-nightly-ww26-commit-f586720+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Bios revision                   : 138.25
KSC revision                    : 1.12


 --> Component : drm 
         url : <a href="http://cgit.freedesktop.org/mesa/drm">http://cgit.freedesktop.org/mesa/drm</a> 
         tag : libdrm-2.4.68 
         commit : fc09c5a 
 --> Component : cairo 
         url : <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a> 
         tag : 1.15.2 
         commit : db8a7f1 
 --> Component : intel-gpu-tools 
         url : <a href="http://cgit.freedesktop.org/xorg/app/intel-gpu-tools">http://cgit.freedesktop.org/xorg/app/intel-gpu-tools</a> 
         tag : intel-gpu-tools-1.15-29-gc344044 
         commit : c344044 


 Hardware information
============================================
Platform                        : BXT-P
Motherboard model               : Broxton P
Motherboard type                : NOTEBOOK Hand Held
Motherboard manufacturer        : Intel Corp.
CPU family                      : B1
CPU information                 : 06/5c
GPU Card                        : Intel Corporation Device 5a84 (rev 0a)
(prog-if 00 [VGA controller])
Memory ram                      : 16 GB

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.7
GUC fw loaded                   : SUCCESS
GUC version wanted              : 8.7
GUC version found               : 8.7


kernel
============================================
commit f586720edd865745aaca6f612615ef14c77e6091
Author: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
Date:   Mon Jun 20 15:25:16 2016 +0200

    drm-intel-nightly: 2016y-06m-20d-13h-24m-46s UTC integration manifest</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>