<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [IGT][BXT]igt@perf@gen8-unprivileged-single-ctx-counters test assertion failure function gen8_test_single_ctx_render_target_writes_a_counter"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104252#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [IGT][BXT]igt@perf@gen8-unprivileged-single-ctx-counters test assertion failure function gen8_test_single_ctx_render_target_writes_a_counter"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104252">bug 104252</a>
              from <span class="vcard"><a class="email" href="mailto:octaviox.hernandez.lopez@intel.com" title="Octavio <octaviox.hernandez.lopez@intel.com>"> <span class="fn">Octavio</span></a>
</span></b>
        <pre>This test fails on BXT using the below configuration 

IGT-Version: 1.20-gbeb26d8 (x86_64) (Linux:
4.15.0-rc4-drm-intel-qa-ww51-commit-b480e79+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gen8_test_single_ctx_render_target_writes_a_counter+0xcb0]
  #2 [<unknown>+0xcb0]
Subtest gen8-unprivileged-single-ctx-counters: FAIL (0.049s)
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gen8_test_single_ctx_render_target_writes_a_counter+0xe35]
  #2 [__real_main4393+0x1523]
  #3 [main+0x23]
  #4 [__libc_start_main+0xf1]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest gen8-unprivileged-single-ctx-counters: FAIL (0.052s)

(perf:3201) CRITICAL: Test assertion failure function
gen8_test_single_ctx_render_target_writes_a_counter, file perf.c:3875:
(perf:3201) CRITICAL: Failed assertion: accumulator.deltas[2 + 26] == width *
height
(perf:3201) CRITICAL: error: 0 != 480000
Subtest gen8-unprivileged-single-ctx-counters failed.
**** DEBUG ****
(perf:3200) DEBUG: Test requirement passed: intel_gen(devid) >= 8
(perf:3201) DEBUG: submitting warm up render_copy
(perf:3201) DEBUG: opening i915-perf stream
(perf:3201) DEBUG: MI_RPC(start) CTX ID: 2092453
(perf:3201) DEBUG: total: A0 = 1471216, A21 = 360000, A26 = 1440000
(perf:3201) DEBUG: oa_timestamp32 0 = 4224238163
(perf:3201) DEBUG: oa_timestamp32 1 = 4224306852
(perf:3201) DEBUG: ctx_id 0 = 2092453
(perf:3201) DEBUG: ctx_id 1 = 2092404
(perf:3201) DEBUG: ts_timestamp64 0 = 17109140038
(perf:3201) DEBUG: ts_timestamp64 1 = 17109208722
(perf:3201) DEBUG: oa32 delta = 68689, = 3577552ns
(perf:3201) DEBUG: ts64 delta = 68684, = 3577291ns
(perf:3201) DEBUG: read 2376 bytes
(perf:3201) DEBUG: report 0x7f3ba57d7018:
(perf:3201) DEBUG:     ctx_id=4294967295/ffffffff reason=ctx-load
oa_timestamp32=4224237453
(perf:3201) DEBUG:  -> Skipping: not our context
(perf:3201) DEBUG: report 0x7f3ba57d7120:
(perf:3201) DEBUG:     deltas: A0=4879 A21=0, A26=0
(perf:3201) DEBUG:     ctx_id=4294967295/ffffffff reason=ctx-load
oa_timestamp32=4224238513
(perf:3201) DEBUG:  -> Skipping: not our context
(perf:3201) DEBUG: report 0x7f3ba57d7228:
(perf:3201) DEBUG:     deltas: A0=0 A21=0, A26=0
(perf:3201) DEBUG:     ctx_id=4294967295/ffffffff reason=ctx-load
oa_timestamp32=4224252913
(perf:3201) DEBUG:  -> Skipping: not our context
(perf:3201) DEBUG: report 0x7f3ba57d7330:
(perf:3201) DEBUG:     deltas: A0=489147 A21=120000, A26=480000
(perf:3201) DEBUG:     ctx_id=4294967295/ffffffff reason=ctx-load
oa_timestamp32=4224270920
(perf:3201) DEBUG:  -> Skipping: not our context
(perf:3201) DEBUG: report 0x7f3ba57d7438:
(perf:3201) DEBUG:     deltas: A0=0 A21=0, A26=0
(perf:3201) DEBUG:     ctx_id=4294967295/ffffffff reason=ctx-load
oa_timestamp32=4224270978
(perf:3201) DEBUG:  -> Skipping: not our context
(perf:3201) DEBUG: report 0x7f3ba57d7540:
(perf:3201) DEBUG:     deltas: A0=0 A21=0, A26=0
(perf:3201) DEBUG:     ctx_id=4294967295/ffffffff reason=ctx-load
oa_timestamp32=4224271879
(perf:3201) DEBUG:  -> Skipping: not our context
(perf:3201) DEBUG: report 0x7f3ba57d7648:
(perf:3201) DEBUG:     deltas: A0=384284 A21=102960, A26=377292
(perf:3201) DEBUG:     ctx_id=4294967295/ffffffff reason=ctx-load
oa_timestamp32=4224285988
(perf:3201) DEBUG:  -> Skipping: not our context
(perf:3201) DEBUG: report 0x7f3ba57d7750:
(perf:3201) DEBUG:     deltas: A0=120050 A21=27856, A26=111599
(perf:3201) DEBUG:     ctx_id=4294967295/ffffffff reason=ctx-load
oa_timestamp32=4224290217
(perf:3201) DEBUG:  -> Skipping: not our context
(perf:3201) DEBUG: report 0x7f3ba57d7858:
(perf:3201) DEBUG:     comes after last MI_RPC (4224306852)
(perf:3201) DEBUG:     deltas: A0=475419 A21=109184, A26=471109
(perf:3201) DEBUG:     ctx_id=2092404/1fed74 reason=ctx-load
oa_timestamp32=4224306852
(perf:3201) DEBUG:  -> Skipping: not our context
(perf:3201) DEBUG: Breaking on end of report
(perf:3201) DEBUG: TIMESTAMP: 1st = 4224238163, 2nd = 4224306852, delta = 68689
(perf:3201) DEBUG: CLOCK: 1st = 676713542, 2nd = 678676675, delta = 1963133
(perf:3201) DEBUG: CTX ID: 1st = 2092453, 2nd = 2092404
(perf:3201) DEBUG: SLICE CLK: 1st = 8249mhz, 2nd = 7983mhz, delta = -266
(perf:3201) DEBUG: UNSLICE CLK: 1st = 3983mhz, 2nd = 3983mhz, delta = 0
(perf:3201) DEBUG: REASONS: 1st = "timer", 2nd = "timer"
(perf:3201) DEBUG: A0: 1st = 2563, 2nd = 1473779, delta = 1471216
(perf:3201) DEBUG: A1: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A2: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A3: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A4: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A5: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A6: 1st = 0, 2nd = 90000, delta = 90000
(perf:3201) DEBUG: A7: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A8: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A9: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A10: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A11: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A12: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A13: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A14: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A15: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A16: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A17: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A18: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A19: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A20: 1st = 0, 2nd = 719888, delta = 719888
(perf:3201) DEBUG: A21: 1st = 0, 2nd = 360000, delta = 360000
(perf:3201) DEBUG: A22: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A23: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A24: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A25: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A26: 1st = 0, 2nd = 1440000, delta = 1440000
(perf:3201) DEBUG: A27: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A28: 1st = 0, 2nd = 360000, delta = 360000
(perf:3201) DEBUG: A29: 1st = 0, 2nd = 90526, delta = 90526
(perf:3201) DEBUG: A30: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A31: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A32: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A33: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A34: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: A35: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: B0: 1st = 0, 2nd = 0, delta = 0
(perf:3201) DEBUG: B1: 1st = 127557, 2nd = 2090690, delta = 1963133
(perf:3201) DEBUG: B2: 1st = 127557, 2nd = 2090690, delta = 1963133
(perf:3201) DEBUG: B3: 1st = 63778, 2nd = 1045345, delta = 981567
(perf:3201) DEBUG: B4: 1st = 42519, 2nd = 696897, delta = 654378
(perf:3201) DEBUG: B5: 1st = 42519, 2nd = 696897, delta = 654378
(perf:3201) DEBUG: B6: 1st = 21259, 2nd = 348448, delta = 327189
(perf:3201) DEBUG: B7: 1st = 85039, 2nd = 1393794, delta = 1308755
(perf:3201) DEBUG: C0: 1st = 127557, 2nd = 2090690, delta = 1963133
(perf:3201) DEBUG: C1: 1st = 1993, 2nd = 32667, delta = 30674
(perf:3201) DEBUG: C2: 1st = 11959, 2nd = 196010, delta = 184051
(perf:3201) DEBUG: C3: 1st = 19, 2nd = 304, delta = 285
(perf:3201) DEBUG: C4: 1st = 102503, 2nd = 1492593, delta = 1390090
(perf:3201) DEBUG: C5: 1st = 2195, 2nd = 124765, delta = 122570
(perf:3201) DEBUG: C6: 1st = 1993, 2nd = 32667, delta = 30674
(perf:3201) DEBUG: C7: 1st = 127543, 2nd = 2090676, delta = 1963133
(perf:3201) DEBUG: n samples written = 0/0 (800x600)
(perf:3201) DEBUG: filtered:
(perf:3201) DEBUG:      time delta = 0
(perf:3201) DEBUG:      clock cycle delta = 0
(perf:3201) DEBUG:      A0 = 0
(perf:3201) DEBUG:      A1 = 0
(perf:3201) DEBUG:      A2 = 0
(perf:3201) DEBUG:      A3 = 0
(perf:3201) DEBUG:      A4 = 0
(perf:3201) DEBUG:      A5 = 0
(perf:3201) DEBUG:      A6 = 0
(perf:3201) DEBUG:      A7 = 0
(perf:3201) DEBUG:      A8 = 0
(perf:3201) DEBUG:      A9 = 0
(perf:3201) DEBUG:      A10 = 0
(perf:3201) DEBUG:      A11 = 0
(perf:3201) DEBUG:      A12 = 0
(perf:3201) DEBUG:      A13 = 0
(perf:3201) DEBUG:      A14 = 0
(perf:3201) DEBUG:      A15 = 0
(perf:3201) DEBUG:      A16 = 0
(perf:3201) DEBUG:      A17 = 0
(perf:3201) DEBUG:      A18 = 0
(perf:3201) DEBUG:      A19 = 0
(perf:3201) DEBUG:      A20 = 0
(perf:3201) DEBUG:      A21 = 0
(perf:3201) DEBUG:      A22 = 0
(perf:3201) DEBUG:      A23 = 0
(perf:3201) DEBUG:      A24 = 0
(perf:3201) DEBUG:      A25 = 0
(perf:3201) DEBUG:      A26 = 0
(perf:3201) DEBUG:      A27 = 0
(perf:3201) DEBUG:      A28 = 0
(perf:3201) DEBUG:      A29 = 0
(perf:3201) DEBUG:      A30 = 0
(perf:3201) DEBUG:      A31 = 0
(perf:3201) DEBUG:      A32 = 0
(perf:3201) DEBUG:      A33 = 0
(perf:3201) DEBUG:      A34 = 0
(perf:3201) DEBUG:      A35 = 0
(perf:3201) DEBUG:      B0 = 0
(perf:3201) DEBUG:      B1 = 0
(perf:3201) DEBUG:      B2 = 0
(perf:3201) DEBUG:      B3 = 0
(perf:3201) DEBUG:      C0 = 0
(perf:3201) DEBUG:      C1 = 0
(perf:3201) DEBUG:      C2 = 0
(perf:3201) DEBUG:      C3 = 0
(perf:3201) DEBUG:      C4 = 0
(perf:3201) DEBUG:      C5 = 0
(perf:3201) DEBUG:      C6 = 0
(perf:3201) DEBUG:      C7 = 0
(perf:3201) CRITICAL: Test assertion failure function
gen8_test_single_ctx_render_target_writes_a_counter, file perf.c:3875:
(perf:3201) CRITICAL: Failed assertion: accumulator.deltas[2 + 26] == width *
height
(perf:3201) CRITICAL: error: 0 != 480000
(perf:3201) igt-core-INFO: Stack trace:
(perf:3201) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(perf:3201) igt-core-INFO:   #1
[gen8_test_single_ctx_render_target_writes_a_counter+0xcb0]
(perf:3201) igt-core-INFO:   #2 [<unknown>+0xcb0]
****  END  ****
(perf:3200) CRITICAL: Test assertion failure function
gen8_test_single_ctx_render_target_writes_a_counter, file perf.c:3894:
(perf:3200) CRITICAL: Failed assertion: WEXITSTATUS(child_ret) == EAGAIN ||
WEXITSTATUS(child_ret) == 0
Subtest gen8-unprivileged-single-ctx-counters failed.
**** DEBUG ****
(perf:3200) DEBUG: Test requirement passed: intel_gen(devid) >= 8
(perf:3200) CRITICAL: Test assertion failure function
gen8_test_single_ctx_render_target_writes_a_counter, file perf.c:3894:
(perf:3200) CRITICAL: Failed assertion: WEXITSTATUS(child_ret) == EAGAIN ||
WEXITSTATUS(child_ret) == 0
(perf:3200) igt-core-INFO: Stack trace:
(perf:3200) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(perf:3200) igt-core-INFO:   #1
[gen8_test_single_ctx_render_target_writes_a_counter+0xe35]
(perf:3200) igt-core-INFO:   #2 [__real_main4393+0x1523]
(perf:3200) igt-core-INFO:   #3 [main+0x23]
(perf:3200) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(perf:3200) igt-core-INFO:   #5 [_start+0x29]
(perf:3200) igt-core-INFO:   #6 [<unknown>+0x29]
****  END  ****</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>