<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 - [BDW] gem_pwrite_snooped is failing because an test assertion fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92227">92227</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BDW] gem_pwrite_snooped is failing because an test assertion fail
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>elio.martinez.monroy@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=118580" name="attach_118580" title="Dmesg logs">attachment 118580</a> <a href="attachment.cgi?id=118580&action=edit" title="Dmesg logs">[details]</a></span>
Dmesg logs

Test enviroment:
Name: drm-intel-testing

Description: IGT tools manage all basic functions for graphics stack

CPU: Intel(R) CPU @ 1.60GHz

Board: : Wilson Beach DVT2 Ultrabook

GPU: SoC: Broadwell 2+2 D0 (QDF : QGHA)

Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28
Mesa: mesa-10.6.7 from <a href="http://cgit.freedesktop.org/mesa/mesa/">http://cgit.freedesktop.org/mesa/mesa/</a>
Xf86_video_intel: 2.99.917 from
<a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/">http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/</a>
Libdrm: libdrm-2.4.64 from <a href="http://cgit.freedesktop.org/mesa/drm/">http://cgit.freedesktop.org/mesa/drm/</a>
Cairo: 1.14.2 from <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a>
libva: libva-1.6.0 from <a href="http://cgit.freedesktop.org/libva/">http://cgit.freedesktop.org/libva/</a>
intel-driver: 1.6.1. from <a href="http://cgit.freedesktop.org/vaapi/intel-driver">http://cgit.freedesktop.org/vaapi/intel-driver</a>
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from <a href="http://cgit.freedesktop.org/xorg/xserver">http://cgit.freedesktop.org/xorg/xserver</a>
Intel-gpu-tools: 1.12 from <a href="http://cgit.freedesktop.org/xorg/app/intel-gpu">http://cgit.freedesktop.org/xorg/app/intel-gpu</a>

Steps to reproduce:

1. Install intel graphic stack with mentioned configuration
2. Install igt
3. Execute ./run-test.sh gem_pwrite_snooped

Expected result:  Test should pass without issues

Actual result:
Returncode    99
Time    0:00:00.029333
Stdout    
IGT-Version: 1.12-g1f9e055 (x86_64) (Linux: 4.3.0-rc2-drm-intel-nightly+
x86_64)
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [main+0x306]
  #2 [__libc_start_main+0xf5]
  #3 [_start+0x29]
  #4 [<unknown>+0x29]
FAIL (0.018s)
Stderr    
Test assertion failure function test, file gem_pwrite_snooped.c:125:
Failed assertion: memchr_inv(buf, 0xff, object_size) == NULL
Test gem_pwrite_snooped failed.
**** DEBUG ****
(gem_pwrite_snooped:2537) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
Test requirement passed: fd >= 0
Test requirement passed: ret == 0
Test requirement passed: ret == 0
Test assertion failure function test, file gem_pwrite_snooped.c:125:
Failed assertion: memchr_inv(buf, 0xff, object_size) == NULL
****  END  ****</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>