Bug 110236 - [CI][BAT] igt@gem_tiled_pread_basic - fail - Failed assertion: expected == found
Summary: [CI][BAT] igt@gem_tiled_pread_basic - fail - Failed assertion: expected == found
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: highest normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-25 09:20 UTC by Lakshmi
Modified: 2019-04-09 14:23 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT, G33, ILK
i915 features: GEM/Other


Attachments

Description Lakshmi 2019-03-25 09:20:06 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5797/fi-ilk-650/igt@gem_tiled_pread_basic.html

(gem_tiled_pread_basic:2619) CRITICAL: Test assertion failure function __real_main117, file ../tests/i915/gem_tiled_pread_basic.c:218:
(gem_tiled_pread_basic:2619) CRITICAL: Failed assertion: expected == found
(gem_tiled_pread_basic:2619) CRITICAL: Bad read [0]: 0 instead of 131456 at 0x00083000 [tile (384, 256) subtile (0, 0)] for read from 0x00000000 to 0x00100000, swizzle=bit9^10
Test gem_tiled_pread_basic failed.
**** DEBUG ****
(gem_tiled_pread_basic:2619) igt_core-INFO: IGT-Version: 1.23-gba96339c (x86_64) (Linux: 5.1.0-rc1-CI-CI_DRM_5797+ x86_64)
(gem_tiled_pread_basic:2619) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_tiled_pread_basic:2619) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_tiled_pread_basic:2619) DEBUG: Test requirement passed: gem_get_tiling(fd, handle, &tiling, &swizzle)
(gem_tiled_pread_basic:2619) CRITICAL: Test assertion failure function __real_main117, file ../tests/i915/gem_tiled_pread_basic.c:218:
(gem_tiled_pread_basic:2619) CRITICAL: Failed assertion: expected == found
(gem_tiled_pread_basic:2619) CRITICAL: Bad read [0]: 0 instead of 131456 at 0x00083000 [tile (384, 256) subtile (0, 0)] for read from 0x00000000 to 0x00100000, swizzle=bit9^10
(gem_tiled_pread_basic:2619) igt_core-INFO: Stack trace:
(gem_tiled_pread_basic:2619) igt_core-INFO:   #0 ../lib/igt_core.c:1474 __igt_fail_assert()
(gem_tiled_pread_basic:2619) igt_core-INFO:   #1 ../tests/i915/gem_tiled_pread_basic.c:169 __real_main117()
(gem_tiled_pread_basic:2619) igt_core-INFO:   #2 ../tests/i915/gem_tiled_pread_basic.c:117 main()
(gem_tiled_pread_basic:2619) igt_core-INFO:   #3 ../csu/libc-start.c:344 __libc_start_main()
(gem_tiled_pread_basic:2619) igt_core-INFO:   #4 [_start+0x2a]
****  END  ****

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5799/fi-blb-e6850/igt@gem_tiled_pread_basic.html

https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4901/fi-blb-e6850/igt@gem_tiled_pread_basic.html
Comment 1 Chris Wilson 2019-03-25 09:21:41 UTC
commit 3d325bb211d8cd84c6862c9945185a937395cb44 (upstream/master, origin/master, origin/HEAD)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Mar 24 14:11:16 2019 +0000

    i915: Mark up some forgotten set-domain
    
    It is the user's responsibility to manage their domains. In libdrm, when
    you mmap a pointer, it calls set-domain automatically, but igt requires
    the caller to manage it explicitly, so do so. The vast majority already
    do correct manage the domain as they use the pointer into the mmap, just
    a few have been missed over the years.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Comment 3 Martin Peres 2019-04-09 14:22:55 UTC
(In reply to Chris Wilson from comment #1)
> commit 3d325bb211d8cd84c6862c9945185a937395cb44 (upstream/master,
> origin/master, origin/HEAD)
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Sun Mar 24 14:11:16 2019 +0000
> 
>     i915: Mark up some forgotten set-domain
>     
>     It is the user's responsibility to manage their domains. In libdrm, when
>     you mmap a pointer, it calls set-domain automatically, but igt requires
>     the caller to manage it explicitly, so do so. The vast majority already
>     do correct manage the domain as they use the pointer into the mmap, just
>     a few have been missed over the years.
>     
>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>     Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Thanks, seems to have fixed the issue!
Comment 4 CI Bug Log 2019-04-09 14:23:01 UTC
The CI Bug Log issue associated to this bug has been archived.

New failures matching the above filters will not be associated to this bug anymore.


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.