<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 - [GLK] gem_fd_exhaustion produces file-max limit 377904 reached"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103365">103365</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GLK] gem_fd_exhaustion produces file-max limit 377904 reached
          </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>luis.botello.ortega@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>

        <tr>
          <th>i915 platform</th>
          <td>GLK
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Steps:
======================================
1. Execute commands:
# ./gem_fd_exhaustion 

Actual result:
======================================
Test is failing

Expected result:
======================================
Test is Pass

             Software
======================================
kernel version              : 4.14.0-rc5-drm-intel-qa-ww42-commit-3f1f8a0+
architecture                : x86_64
os version                  : Ubuntu 16.10
kernel driver               : i915
bios revision               : 62.30
ksc                         : 1.41

        Graphic drivers
======================================
libdrm                      : 2.4.84
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-430-gabc08cb
intel-gpu-tools (commit)    : abc08cb

             Hardware
======================================
platform                   : Geminilake
motherboard id             : GLKRVP1DDR4(05)
cpu information            : Genuine Intel(R) CPU @ 1.10GHz
gpu card                   : Intel Corporation Device 3185 (rev 03) (prog-if 00
[VGA controller])
memory ram                 : 3.7 GB
max memory ram             : 16 GB

             Firmware
======================================
dmc fw loaded             : yes
guc version found         : wanted 10.56, found 10.56


dmesg
============================================
[23610.339799] [IGT] gem_fd_exhaustion: executing
[23612.951353] VFS: file-max limit 377904 reached
[23613.177938] [IGT] gem_fd_exhaustion: exiting, ret=99


IGT output
=============================================
./gem_fd_exhaustion
IGT-Version: 1.20-gabc08cb (x86_64) (Linux:
4.14.0-rc5-drm-intel-qa-ww42-commit-3f1f8a0+ x86_64)
System limit for open files is 377904
(gem_fd_exhaustion:6761) CRITICAL: Test assertion failure function
__real_main61, file gem_fd_exhaustion.c:87:
(gem_fd_exhaustion:6761) CRITICAL: Failed assertion: handle == 0
Stack trace:
  #0 [<unknown>+0x1a69]
  #1 [<unknown>+0x1a69]
  #2 [<unknown>+0x1a69]
  #3 [<unknown>+0x1a69]
  #4 [<unknown>+0x1a69]
child 0 failed with exit status 99
Test gem_fd_exhaustion failed.
**** DEBUG ****
(gem_fd_exhaustion:6760) igt-core-INFO: IGT-Version: 1.20-gabc08cb (x86_64)
(Linux: 4.14.0-rc5-drm-intel-qa-ww42-commit-3f1f8a0+ x86_64)
(gem_fd_exhaustion:6760) INFO: System limit for open files is 377904
(gem_fd_exhaustion:6760) DEBUG: Test requirement passed:
allow_unlimited_files()
(gem_fd_exhaustion:6760) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_fd_exhaustion:6760) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
****  END  ****
FAIL (2.828s)</pre>
        </div>
      </p>


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

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