<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:yex.tian@intel.com" title="ye.tian <yex.tian@intel.com>"> <span class="fn">ye.tian</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [BYT/BSW]igt/gem_cpu_reloc sporadically fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85672">bug 85672</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [BYT/BSW]igt/gem_cpu_reloc sporadically fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85672#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [BYT/BSW]igt/gem_cpu_reloc sporadically fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85672">bug 85672</a>
              from <span class="vcard"><a class="email" href="mailto:yex.tian@intel.com" title="ye.tian <yex.tian@intel.com>"> <span class="fn">ye.tian</span></a>
</span></b>
        <pre>Tested it on the latest nightly kernel and igt.
This issue does not exists on BYT, but it still exists on BSW.

output
----------------------
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:  45%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x1c1]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4260) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (22.621s)
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# uname -a
Linux x-bsw08 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ #196 SMP Fri Apr 3
09:04:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./gem_cpu_reloc
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc: 100%
Test suceeded, cleanup up - this might take a while.
SUCCESS (39.585s)
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./gem_cpu_reloc
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:  83%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x339]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4278) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (42.156s)
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./gem_cpu_reloc
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:   0%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x1c1]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4291) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (10.195s)
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# for i `sed 1 10`;
do ./gem_cpu_reloc ; done
-bash: syntax error near unexpected token ``sed 1 10`'
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# for i `seq 1 10`;
do ./gem_cpu_reloc ; done
-bash: syntax error near unexpected token ``seq 1 10`'
root@x-bsw08:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# for i in `seq 1
10`; do ./gem_cpu_reloc ; done
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:   0%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x1c1]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4308) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (10.463s)
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:  80%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x339]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4322) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (42.013s)
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:  18%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x1c1]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4332) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (16.785s)
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:  57%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x279]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4346) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (33.672s)
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:  14%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x1c1]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4355) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (14.705s)
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:  34%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x1c1]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4368) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (25.715s)
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:   0%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x1c1]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4385) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (11.316s)
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc: 100%
Test suceeded, cleanup up - this might take a while.
SUCCESS (44.295s)
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc: 100%
Test suceeded, cleanup up - this might take a while.
SUCCESS (37.948s)
IGT-Version: 1.10-ge8457ed (x86_64) (Linux:
4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
gem_cpu_reloc:  68%Test assertion failure function copy, file
gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [copy+0x14f]
  #2 [main+0x339]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Test gem_cpu_reloc failed.
**** DEBUG ****
(gem_cpu_reloc:4404) drmtest-DEBUG: Test requirement passed: fd >= 0
Checking 131073 surfaces of size 4096 bytes (total 603987968) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function copy, file gem_cpu_reloc.c:106:
Failed assertion: (drmIoctl(fd, (((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8))
| (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) <<
((0+8)+8))), &execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
FAIL (37.186s)</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>