Bug 112181 - [CI][SHARDS]igt@gem_ctx_persistence@smoketest - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
Summary: [CI][SHARDS]igt@gem_ctx_persistence@smoketest - fail - Failed assertion: __ge...
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-10-31 08:45 UTC by Lakshmi
Modified: 2019-11-04 11:31 UTC (History)
1 user (show)

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


Attachments

Description Lakshmi 2019-10-31 08:45:49 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7220/shard-apl4/igt@gem_ctx_persistence@smoketest.html
Starting subtest: smoketest
(gem_ctx_persistence:5645) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5645) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5645) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5646) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5646) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5646) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5647) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5647) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5647) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5649) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5649) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5649) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5648) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5648) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5648) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5650) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5650) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5650) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5651) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5651) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5651) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5653) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5653) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5653) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5652) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5652) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5652) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5654) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5654) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5654) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5655) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5655) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5655) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5656) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5656) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5656) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5657) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5657) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5657) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5659) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5659) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5659) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5658) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5658) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5658) ioctl_wrappers-CRITICAL: error: -2 != 0
(gem_ctx_persistence:5660) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:642:
(gem_ctx_persistence:5660) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_ctx_persistence:5660) ioctl_wrappers-CRITICAL: error: -2 != 0
Subtest smoketest failed.
No log.
Subtest smoketest: FAIL (20.231s)
Comment 1 CI Bug Log 2019-10-31 08:46:54 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* APL SKL KBL GLK ICL: igt@gem_ctx_persistence@smoketest - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7219/shard-apl2/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7219/shard-glk4/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7219/shard-iclb4/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7219/shard-kbl4/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7219/shard-skl1/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15059/shard-apl8/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15059/shard-glk3/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15059/shard-iclb3/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15059/shard-kbl2/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15059/shard-skl10/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7220/shard-apl4/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7220/shard-glk6/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7220/shard-iclb7/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7220/shard-kbl7/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7220/shard-skl4/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15060/shard-apl6/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15060/shard-glk8/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15060/shard-iclb3/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15060/shard-kbl2/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15060/shard-skl5/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7221/shard-apl8/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7221/shard-glk3/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7221/shard-iclb7/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7221/shard-kbl7/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7221/shard-skl6/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15062/shard-apl1/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15062/shard-glk6/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15062/shard-iclb6/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15062/shard-kbl7/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15065/shard-apl1/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15065/shard-glk1/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15065/shard-iclb3/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15065/shard-kbl6/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15065/shard-skl7/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15066/shard-apl3/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15066/shard-glk5/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15066/shard-iclb6/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15066/shard-kbl4/igt@gem_ctx_persistence@smoketest.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15066/shard-skl1/igt@gem_ctx_persistence@smoketest.html
Comment 2 Chris Wilson 2019-10-31 08:47:07 UTC
commit 7c7621e879104ece28a39bebac57e34de2d76975
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Oct 30 23:56:23 2019 +0000

    i915/gem_ctx_persistence: Sanitycheck execbuf state harder for 'queued'
    
    And initialise fence to -1 to avoid closing stdin (fd:0)!
    
    The delayed fput is first queued with schedule (task_work) before being
    rcu freed.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Acked-by: Andi Shyti <andi.shyti@intel.com>
Comment 3 CI Bug Log 2019-10-31 16:23:16 UTC
A CI Bug Log filter associated to this bug has been updated:

{- APL SKL KBL GLK ICL: igt@gem_ctx_persistence@smoketest - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0 -}
{+ APL SKL KBL GLK ICL: igt@gem_ctx_persistence@smoketest - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0 +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5252/shard-tglb1/igt@gem_ctx_persistence@smoketest.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7224/shard-tglb1/igt@gem_ctx_persistence@smoketest.html
Comment 4 CI Bug Log 2019-11-04 11:28:36 UTC
A CI Bug Log filter associated to this bug has been updated:

{- APL SKL KBL GLK ICL: igt@gem_ctx_persistence@smoketest - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0 -}
{+ BXT APL SKL KBL GLK ICL: igt@gem_ctx_persistence@smoketest - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0 +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_396/fi-bxt-dsi/igt@gem_ctx_persistence@smoketest.html
Comment 5 CI Bug Log 2019-11-04 11:31:20 UTC
A CI Bug Log filter associated to this bug has been updated:

{- BXT APL SKL KBL GLK ICL: igt@gem_ctx_persistence@smoketest - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0 -}
{+ BXT APL SKL KBL GLK WHL CML CFL ICL: igt@gem_ctx_persistence@smoketest - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0 +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_396/fi-cfl-8109u/igt@gem_ctx_persistence@smoketest.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_396/fi-cfl-8700k/igt@gem_ctx_persistence@smoketest.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_396/fi-cfl-guc/igt@gem_ctx_persistence@smoketest.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_396/fi-cml-s/igt@gem_ctx_persistence@smoketest.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_396/fi-cml-u2/igt@gem_ctx_persistence@smoketest.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_396/fi-whl-u/igt@gem_ctx_persistence@smoketest.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.