Bug 112142

Summary: [CI][SHARDS]igt@gem_ctx_exec@basic-nohangcheck - Failed assertion: err == 0, Hostile unpreemptable context was not cancelled immediately upon closure
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: not set    
Priority: not set CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: ALL i915 features: GEM/Other

Description Lakshmi 2019-10-26 21:27:24 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7182/shard-glk4/igt@gem_ctx_exec@basic-nohangcheck.html
	
Starting subtest: basic-nohangcheck
(gem_ctx_exec:4908) CRITICAL: Test assertion failure function nohangcheck_hostile, file ../tests/i915/gem_ctx_exec.c:240:
(gem_ctx_exec:4908) CRITICAL: Failed assertion: err == 0
(gem_ctx_exec:4908) CRITICAL: Hostile unpreemptable context was not cancelled immediately upon closure
Subtest basic-nohangcheck failed.
Comment 1 CI Bug Log 2019-10-26 21:28:50 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* SNB HSW APL SKL KBL GLK ICL: igt@gem_ctx_exec@basic-nohangcheck - Failed assertion: err == 0, Hostile unpreemptable context was not cancelled immediately upon closure
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5239/shard-glk2/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5239/shard-hsw6/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5239/shard-iclb5/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5239/shard-kbl4/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5239/shard-skl8/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5239/shard-snb1/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7182/shard-apl8/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7182/shard-glk4/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7182/shard-hsw6/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7182/shard-iclb6/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7182/shard-kbl2/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7182/shard-skl1/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7182/shard-snb1/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14978/shard-apl8/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14978/shard-glk7/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14978/shard-hsw7/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14978/shard-iclb2/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14978/shard-kbl2/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14978/shard-skl3/igt@gem_ctx_exec@basic-nohangcheck.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14978/shard-snb1/igt@gem_ctx_exec@basic-nohangcheck.html
Comment 2 Chris Wilson 2019-10-27 14:41:12 UTC
The test relies on i915.reset being the default value: https://patchwork.freedesktop.org/series/68602/
Comment 3 Chris Wilson 2019-10-27 19:35:55 UTC
commit def00442d5b9cbe6ca18ead23d80e8501d3fd517 (HEAD, upstream/master)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Oct 26 20:33:54 2019 +0100

    i915/gem_ctx_exec: Enable resets for basic-nohangcheck
    
    Wrap the test inside igt_allow_hang as we depend upon a fast reset to
    cancel the hostile context.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Acked-by: Andi Shyti <andi.shyti@intel.com>
Comment 4 CI Bug Log 2019-10-28 10:03:09 UTC
A CI Bug Log filter associated to this bug has been updated:

{- SNB HSW APL SKL KBL GLK ICL: igt@gem_ctx_exec@basic-nohangcheck - Failed assertion: err == 0, Hostile unpreemptable context was not cancelled immediately upon closure -}
{+ All machines: igt@gem_ctx_exec@basic-nohangcheck - Failed assertion: err == 0, Hostile unpreemptable context was not cancelled immediately upon closure +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7184/shard-tglb2/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5240/shard-tglb4/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5241/shard-tglb6/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-bdw-5557u/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-bsw-kefka/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-bsw-n3050/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-byt-j1900/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-byt-n2820/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-cfl-8109u/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-cfl-8700k/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-cfl-guc/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-cml-s/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-cml-u2/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-elk-e7500/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-ilk-650/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-ivb-3770/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-snb-2520m/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-tgl-u2/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_393/fi-whl-u/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7188/shard-tglb6/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7191/shard-tglb7/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7192/shard-tglb3/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_394/fi-bxt-dsi/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_394/fi-cfl-8109u/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_394/fi-cfl-8700k/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_394/fi-tgl-u2/igt@gem_ctx_exec@basic-nohangcheck.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5244/shard-tglb7/igt@gem_ctx_exec@basic-nohangcheck.html

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.