Bug 112390 - [CI][SHARDS]igt@gem_ctx_shared@single-timeline - fail - Failed assertion: !strcmp(rings[0].obj_name, rings[i].obj_name)
Summary: [CI][SHARDS]igt@gem_ctx_shared@single-timeline - fail - Failed assertion: !st...
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: not set not set
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-26 08:17 UTC by Lakshmi
Modified: 2019-11-26 08:23 UTC (History)
1 user (show)

See Also:
i915 platform: BXT, GLK, KBL, SKL
i915 features: GEM/Other


Attachments

Description Lakshmi 2019-11-26 08:17:23 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7417/shard-skl5/igt@gem_ctx_shared@single-timeline.html
	
Starting subtest: single-timeline
(gem_ctx_shared:1742) CRITICAL: Test assertion failure function single_timeline, file ../tests/i915/gem_ctx_shared.c:364:
(gem_ctx_shared:1742) CRITICAL: Failed assertion: !strcmp(rings[0].obj_name, rings[i].obj_name)
Subtest single-timeline failed.
**** DEBUG ****
(gem_ctx_shared:1742) DEBUG: Test requirement passed: has_single_timeline(i915)
(gem_ctx_shared:1742) INFO: ring[0] fence: i915 signaled
(gem_ctx_shared:1742) INFO: ring[1] fence: i915 gem_ctx_shared[1742]
(gem_ctx_shared:1742) INFO: ring[2] fence: i915 signaled
(gem_ctx_shared:1742) INFO: ring[3] fence: i915 gem_ctx_shared[1742]
(gem_ctx_shared:1742) INFO: ring[4] fence: i915 signaled
(gem_ctx_shared:1742) INFO: ring[5] fence: i915 signaled
(gem_ctx_shared:1742) CRITICAL: Test assertion failure function single_timeline, file ../tests/i915/gem_ctx_shared.c:364:
(gem_ctx_shared:1742) CRITICAL: Failed assertion: !strcmp(rings[0].obj_name, rings[i].obj_name)
(gem_ctx_shared:1742) igt_core-INFO: Stack trace:
(gem_ctx_shared:1742) igt_core-INFO:   #0 ../lib/igt_core.c:1830 __igt_fail_assert()
(gem_ctx_shared:1742) igt_core-INFO:   #1 ../tests/i915/gem_ctx_shared.c:363 __real_main797()
(gem_ctx_shared:1742) igt_core-INFO:   #2 ../tests/i915/gem_ctx_shared.c:797 main()
(gem_ctx_shared:1742) igt_core-INFO:   #3 ../csu/libc-start.c:344 __libc_start_main()
(gem_ctx_shared:1742) igt_core-INFO:   #4 [_start+0x2a]
****  END  ****
Subtest single-timeline: FAIL (0.267s)
Comment 1 CI Bug Log 2019-11-26 08:19:05 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* APL SKL KBL GLK: igt@gem_ctx_shared@single-timeline - fail - Failed assertion: !strcmp(rings[0].obj_name, rings[i].obj_name)
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_5361/shard-skl5/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7417/shard-skl5/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15422/shard-skl7/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7418/shard-kbl6/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7418/shard-skl9/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15423/shard-skl3/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15425/shard-skl8/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15426/shard-skl4/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15428/shard-skl5/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_5371/shard-skl7/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7419/shard-apl1/igt@gem_ctx_shared@single-timeline.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7419/shard-glk1/igt@gem_ctx_shared@single-timeline.html
Comment 2 Chris Wilson 2019-11-26 08:23:09 UTC
commit 9bfc0a822caa9498dd931b93aa63822e10fdb9f4 (upstream/master, origin/master, origin/HEAD)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Nov 26 06:29:45 2019 +0000

    i915/gem_ctx_shared: Use a spinner to keep the fence alive while querying
    
    Once the fence is retired, we discard its references to the context
    state, including its timeline name. So the timeline query is only
    accurate before being signaled, so keep the fence alive until after the
    query.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>


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.