Bug 110874 - [CI][DRMTIP] igt@gem_ctx_engines@independent - fail - Failed assertion: (map[i] - last) > 0
Summary: [CI][DRMTIP] igt@gem_ctx_engines@independent - fail - Failed assertion: (map[...
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-10 10:29 UTC by Lakshmi
Modified: 2019-06-10 11:15 UTC (History)
1 user (show)

See Also:
i915 platform: G45, I965G, ILK
i915 features: GEM/Other


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi 2019-06-10 10:29:53 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_302/fi-bwr-2160/igt@gem_ctx_engines@independent.html

Starting subtest: independent
(gem_ctx_engines:1601) CRITICAL: Test assertion failure function independent, file ../tests/i915/gem_ctx_engines.c:480:
(gem_ctx_engines:1601) CRITICAL: Failed assertion: (map[i] - last) > 0
(gem_ctx_engines:1601) CRITICAL: Engine instance [2] executed too late
Subtest independent failed.
**** DEBUG ****
(gem_ctx_engines:1601) CRITICAL: Test assertion failure function independent, file ../tests/i915/gem_ctx_engines.c:480:
(gem_ctx_engines:1601) CRITICAL: Failed assertion: (map[i] - last) > 0
(gem_ctx_engines:1601) CRITICAL: Engine instance [2] executed too late
(gem_ctx_engines:1601) igt_core-INFO: Stack trace:
(gem_ctx_engines:1601) igt_core-INFO:   #0 ../lib/igt_core.c:1509 __igt_fail_assert()
(gem_ctx_engines:1601) igt_core-INFO:   #1 ../tests/i915/gem_ctx_engines.c:486 independent()
(gem_ctx_engines:1601) igt_core-INFO:   #2 [<unknown>+0x5]
****  END  ****
Subtest independent: FAIL (0.065s)
Comment 1 CI Bug Log 2019-06-10 10:34:40 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* BWR ELK ILK: igt@gem_ctx_engines@independent - fail - Failed assertion: (map[i] - last) &gt; 0
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_302/fi-bwr-2160/igt@gem_ctx_engines@independent.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_302/fi-elk-e7500/igt@gem_ctx_engines@independent.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_302/fi-ilk-650/igt@gem_ctx_engines@independent.html
Comment 2 Chris Wilson 2019-06-10 10:42:11 UTC
Yeah, I forgot that we don't have this register until gen6 (iirc). We just need to skip this test before gen6.
Comment 3 Chris Wilson 2019-06-10 11:15:01 UTC
commit 4c072238c784e6acb00634a80c3c55fb8358058b (HEAD, upstream/master)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jun 10 11:45:43 2019 +0100

    i915/gem_ctx_engines: Skip trying to read a non-existent TIMESTAMP
    
    The per-engine TIMESTAMP (at least at the offset I know about) only came
    into being with gen6. So skip the test on older gen as the results are
    garbage.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110874
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@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.