<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 - [BXT]gem_workarounds/syspend-resume is failing on counting errors == 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100597">100597</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BXT]gem_workarounds/syspend-resume is failing on counting errors == 0
          </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>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=130718" name="attach_130718" title="dmesg log">attachment 130718</a> <a href="attachment.cgi?id=130718&action=edit" title="dmesg log">[details]</a></span>
dmesg log

The following test is failing because the test cant accomplish condition == 0
on workaround_fail_count.

Test:

gem_workarounds@suspend-resume

Steps to reproduce:

1. install IGT
2. execute gem_worksarounds@suspend-resume

Expected result:
test should pass

Actual result: fail

Output:

IGT-Version: 1.18-g56741ce (x86_64) (Linux:
4.11.0-rc5-drm-tip-qa-ww14-commit-5bc82ec+ x86_64)
(gem_workarounds:1523) WARNING: 0x0E4F0 0x81008100      0x00008100     
0x00000000      FAIL
(gem_workarounds:1523) WARNING: 0x0E184 0x00200020      0x00000020     
0x00000000      FAIL
(gem_workarounds:1523) WARNING: 0x0E194 0x00040004      0x00000004     
0x00000000      FAIL
(gem_workarounds:1523) WARNING: 0x0E180 0x20002000      0x00002000     
0x00000000      FAIL
(gem_workarounds:1523) WARNING: 0x0E4F0 0x00200020      0x00000020     
0x00000000      FAIL
(gem_workarounds:1523) CRITICAL: Test assertion failure function
check_workarounds, file gem_workarounds.c:103:
(gem_workarounds:1523) CRITICAL: Failed assertion: workaround_fail_count() == 0
(gem_workarounds:1523) CRITICAL: Last errno: 2, No such file or directory
(gem_workarounds:1523) CRITICAL: error: 5 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [check_workarounds+0xe7]
  #2 [__real_main124+0x304]
  #3 [main+0x33]
  #4 [__libc_start_main+0xf1]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest suspend-resume failed.
**** DEBUG ****
(gem_workarounds:1523) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_workarounds:1523) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(gem_workarounds:1523) DEBUG: Address   val             mask            read  
result
(gem_workarounds:1523) DEBUG: 0x0E4F0   0x81008100      0x00008100     
0x00000000      FAIL
(gem_workarounds:1523) WARNING: 0x0E4F0 0x81008100      0x00008100     
0x00000000      FAIL
(gem_workarounds:1523) DEBUG: 0x0E184   0x00200020      0x00000020     
0x00000000      FAIL
(gem_workarounds:1523) WARNING: 0x0E184 0x00200020      0x00000020     
0x00000000      FAIL
(gem_workarounds:1523) DEBUG: 0x0E194   0x00040004      0x00000004     
0x00000000      FAIL
(gem_workarounds:1523) WARNING: 0x0E194 0x00040004      0x00000004     
0x00000000      FAIL
(gem_workarounds:1523) DEBUG: 0x07004   0x00420042      0x00000042     
0x000029C2      OK
(gem_workarounds:1523) DEBUG: 0x0E188   0x00080000      0x00000008     
0x00000000      OK
(gem_workarounds:1523) DEBUG: 0x07300   0x80208020      0x00008020     
0x00008830      OK
(gem_workarounds:1523) DEBUG: 0x07300   0x00100010      0x00000010     
0x00008830      OK
(gem_workarounds:1523) DEBUG: 0x0E180   0x20002000      0x00002000     
0x00000000      FAIL
(gem_workarounds:1523) WARNING: 0x0E180 0x20002000      0x00002000     
0x00000000      FAIL
(gem_workarounds:1523) DEBUG: 0x024D0   0x00002248      0xFFFFFFFF     
0x00002248      OK
(gem_workarounds:1523) DEBUG: 0x024D4   0x00002580      0xFFFFFFFF     
0x00002580      OK
(gem_workarounds:1523) DEBUG: 0x024D8   0x00007304      0xFFFFFFFF     
0x00007304      OK
(gem_workarounds:1523) DEBUG: 0x0E4F0   0x00200020      0x00000020     
0x00000000      FAIL
(gem_workarounds:1523) WARNING: 0x0E4F0 0x00200020      0x00000020     
0x00000000      FAIL
(gem_workarounds:1523) DEBUG: 0x020E4   0x04000400      0x00000400     
0x00000400      OK
(gem_workarounds:1523) DEBUG: 0x07014   0x01000100      0x00000100     
0x00000100      OK
(gem_workarounds:1523) DEBUG: 0x04AB0   0x0004AB1B      0x00040000     
0x0004AB1B      OK
(gem_workarounds:1523) CRITICAL: Test assertion failure function
check_workarounds, file gem_workarounds.c:103:
(gem_workarounds:1523) CRITICAL: Failed assertion: workaround_fail_count() == 0
(gem_workarounds:1523) CRITICAL: Last errno: 2, No such file or directory
(gem_workarounds:1523) CRITICAL: error: 5 != 0
****  END  ****
Subtest suspend-resume: FAIL (0.219s)

Configuration:

Kernel version:
4.11.0-rc5   commit-5bc82ec

Component         : drm
        url       : <a href="http://cgit.freedesktop.org/mesa/drm">http://cgit.freedesktop.org/mesa/drm</a>
        tag       : libdrm-2.4.76-16-g6312017
        commit    : 6312017
        author    : Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>>
        age       : Mon Apr 3 18:01:49 2017 +0100 7 hours ago
        comment   : configure.ac: bring back pthread-stubs check


Component         : mesa
        url       : <a href="http://cgit.freedesktop.org/mesa/mesa">http://cgit.freedesktop.org/mesa/mesa</a>
        tag       : 17.0-branchpoint-2397-g405ef7b
        commit    : 405ef7b
        author    : Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>>
        age       : Mon Apr 3 16:58:35 2017 -0700 30 minutes ago
        comment   : intel/vec4: Add some fall through comments



Component         : xf86-video-intel
        url       : <a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel">http://cgit.freedesktop.org/xorg/driver/xf86-video-intel</a>
        tag       : 2.99.917-770-gcb6ba2d
        commit    : cb6ba2d
        author    : Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
        age       : Sat Mar 25 01:21:46 2017 +0000 10 days ago

Component         : libva
        url       : <a href="http://cgit.freedesktop.org/libva">http://cgit.freedesktop.org/libva</a>
        tag       : libva-1.7.3.pre1-85-gefc164d
        commit    : efc164d
        author    : Xiang Haihao <<a href="mailto:haihao.xiang@intel.com">haihao.xiang@intel.com</a>>
        age       : Tue Mar 7 23:42:43 2017 +0800 4 weeks ago
        comment   : Bump libva to 1.8.1.pre1 for development


Component         : intel-driver
        url       : <a href="http://cgit.freedesktop.org/vaapi/intel-driver">http://cgit.freedesktop.org/vaapi/intel-driver</a>
        tag       : 1.7.3-359-g437cbe0
        commit    : 437cbe0
        author    : Víctor Manuel Jáquez Leal <<a href="mailto:vjaquez@igalia.com">vjaquez@igalia.com</a>>
        age       : Wed Mar 29 08:29:46 2017 +0800 6 days ago
        comment   : gen8: accept P010 as valid format



Component         : cairo
        url       : <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a>
        tag       : 1.15.4-11-gcffa452
        commit    : cffa452
        author    : Debarshi Ray <<a href="mailto:debarshir@freedesktop.org">debarshir@freedesktop.org</a>>
        age       : Wed Mar 15 20:26:22 2017 -0700 3 weeks ago
        comment   : doc: Clarify when the device scale is inherited and when 
Component         : xserver
        url       : <a href="http://cgit.freedesktop.org/xorg/xserver">http://cgit.freedesktop.org/xorg/xserver</a>
        tag       : xorg-server-1.19.0-184-ge4d0757
        commit    : e4d0757
        author    : Adam Jackson <<a href="mailto:ajax@redhat.com">ajax@redhat.com</a>>
        age       : Thu Mar 30 11:32:02 2017 -0400 4 days ago
        comment   : xfree86: Remove driver entity hooks and private



Component         : macros
        url       : <a href="https://cgit.freedesktop.org/xorg/util/macros">https://cgit.freedesktop.org/xorg/util/macros</a>
        tag       : util-macros-1.19.1-2-g39f07f7
        commit    : 39f07f7
        author    : Emil Velikov <<a href="mailto:emil.veliko@collabora.com">emil.veliko@collabora.com</a>>
        age       : Mon Feb 20 10:16:40 2017 +1000 6 weeks ago
        comment   : Rework INSTALL_CMD to touch/echo >&2 only as needed



Component         : intel-gpu-tools
        url       : <a href="https://cgit.freedesktop.org/xorg/app/intel-gpu-tools">https://cgit.freedesktop.org/xorg/app/intel-gpu-tools</a>
        tag       : intel-gpu-tools-1.18-56-g56741ce
        commit    : 56741ce
        author    : Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
        age       : Mon Apr 3 19:19:42 2017 +0100 6 hours ago
        comment   : tests/gem_media_fill: Fixup typo



Component         : piglit
        url       : <a href="https://cgit.freedesktop.org/piglit">https://cgit.freedesktop.org/piglit</a>
        tag       : piglit-v1
        commit    : 3d1cbd9
        author    : Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>>
        age       : Mon Apr 3 15:46:33 2017 -0700 2 hours ago
        comment   : glslparsertest: Add test case for FDO <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - glsl/ir.cpp:1376: ir_dereference_variable::ir_dereference_variable(ir_variable*): Assertion `var != NULL' failed."
   href="show_bug.cgi?id=100438">bug #100438</a>.</pre>
        </div>
      </p>


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

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