Bug 107589

Summary: [CI][SHARDS] igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled - fail - Failed assertion: !mismatch
Product: DRI Reporter: Tomi Sarvela <tomi.p.sarvela>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: CFL, GLK, KBL i915 features: display/Other

Description Tomi Sarvela 2018-08-16 07:25:50 UTC
This issue has since disappeared. Logging for CI purposes.

(kms_draw_crc:1716) igt_debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file ../lib/igt_debugfs.c:371:
(kms_draw_crc:1716) igt_debugfs-CRITICAL: Failed assertion: !mismatch
Subtest draw-method-xrgb8888-blt-ytiled failed.
**** DEBUG ****
(kms_draw_crc:1716) DEBUG: Test requirement passed: !(method == IGT_DRAW_MMAP_WC && !gem_mmap__has_wc(drm_fd))
(kms_draw_crc:1716) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_draw_crc:1716) ioctl_wrappers-DEBUG: Test requirement passed: has_modifiers
(kms_draw_crc:1716) DEBUG: Test requirement passed: format_is_supported(formats[format_index], tiling)
(kms_draw_crc:1716) igt_fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_draw_crc:1716) igt_fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_draw_crc:1716) igt_fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x100000000000002, size=0)
(kms_draw_crc:1716) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_draw_crc:1716) igt_fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_draw_crc:1716) ioctl_wrappers-DEBUG: Test requirement passed: has_modifiers
(kms_draw_crc:1716) igt_draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle)
(kms_draw_crc:1716) igt_draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle)
(kms_draw_crc:1716) igt_draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle)
(kms_draw_crc:1716) igt_draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle)
(kms_draw_crc:1716) igt_draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle)
(kms_draw_crc:1716) igt_debugfs-DEBUG: CRC mismatch at index 0: 0x535bb5aa != 0x12eca29
(kms_draw_crc:1716) igt_debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file ../lib/igt_debugfs.c:371:
(kms_draw_crc:1716) igt_debugfs-CRITICAL: Failed assertion: !mismatch
(kms_draw_crc:1716) igt_core-INFO: Stack trace:
(kms_draw_crc:1716) igt_core-INFO:   #0 [__igt_fail_assert+0x180]
(kms_draw_crc:1716) igt_core-INFO:   #1 [igt_assert_crc_equal+0xba]
(kms_draw_crc:1716) igt_core-INFO:   #2 [draw_method_subtest+0x1df]
(kms_draw_crc:1716) igt_core-INFO:   #3 [__real_main316+0xc7]
(kms_draw_crc:1716) igt_core-INFO:   #4 [main+0x44]
(kms_draw_crc:1716) igt_core-INFO:   #5 [__libc_start_main+0xe7]
(kms_draw_crc:1716) igt_core-INFO:   #6 [_start+0x2a]
****  END  ****

https://intel-gfx-ci.01.org/tree/drm-tip/igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled.html

https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4594/shard-glk7/igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled.html
Comment 1 Chris Wilson 2018-08-16 07:37:05 UTC
The appearance and disappearance coincided with it being hit by the rpm wakeref leak; so presumably not just a coincidence.
Comment 2 Chris Wilson 2018-08-16 20:22:12 UTC
Assuming it was a stray rpm wakeref leak, those should now be resolved.
Comment 3 Martin Peres 2018-09-03 11:31:37 UTC
Still happening:

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4736/shard-glk9/igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4723/shard-glk9/igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4718/shard-glk6/igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled.html

(kms_draw_crc:2293) igt_debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file ../lib/igt_debugfs.c:371:
(kms_draw_crc:2293) igt_debugfs-CRITICAL: Failed assertion: !mismatch
Subtest draw-method-xrgb8888-blt-ytiled failed.
Comment 4 Martin Peres 2018-10-30 16:31:56 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_135/fi-cnl-u/igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-ytiled.html

Starting subtest: draw-method-xrgb8888-mmap-cpu-ytiled
(kms_draw_crc:2208) igt_debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file ../lib/igt_debugfs.c:419:
(kms_draw_crc:2208) igt_debugfs-CRITICAL: Failed assertion: !mismatch
Subtest draw-method-xrgb8888-mmap-cpu-ytiled failed.
Comment 5 CI Bug Log 2018-12-31 14:21:59 UTC
A CI Bug Log filter associated to this bug has been updated:

{- SKL GLK igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled - fail - CRC mismatch at index 0 -}
{+ SKL GLK KBL WHL: igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled - fail - CRC mismatch at index 0 +}

New failures caught by the filter:

* https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_169/fi-whl-u/igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled.html
* https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_168/fi-kbl-r/igt@kms_draw_crc@draw-method-xrgb8888-blt-ytiled.html
Comment 6 Vanshidhar Konda 2019-10-23 18:07:42 UTC
This issue has not been observed in nearly 6 months now. Earlier it was seen every week on GLK and SKL machine every week.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.