Bug 110467

Summary: [CI][SHARDS] igt@core_auth@unauth-vs-render - fail - Failed assertion: errno == EBADF
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: normal    
Priority: high CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: BXT, GLK, HSW, ICL, KBL, SKL, SNB i915 features:

Description Lakshmi 2019-04-18 07:59:02 UTC
Starting subtest: unauth-vs-render
(core_auth:4655) CRITICAL: Test assertion failure function test_unauth_vs_render, file ../tests/core_auth.c:289:
(core_auth:4655) CRITICAL: Failed assertion: errno == EBADF
(core_auth:4655) CRITICAL: Last errno: 13, Permission denied
Subtest unauth-vs-render failed.
**** DEBUG ****
(core_auth:4654) DEBUG: Test requirement passed: has_prime_import(master)
****  END  ****
Subtest unauth-vs-render: FAIL (0.030s)
Comment 1 CI Bug Log 2019-04-18 07:59:59 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* SNB HSW APL SKL KBL GLK ICL: igt@core_auth@unauth-vs-render - fail - Failed assertion: errno == EBADF
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12820/shard-apl3/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12820/shard-glk1/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12820/shard-iclb8/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12820/shard-kbl5/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12820/shard-skl3/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12820/shard-snb4/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5951/shard-apl7/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5951/shard-glk1/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5951/shard-hsw8/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5951/shard-iclb7/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5951/shard-kbl2/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5951/shard-skl4/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5951/shard-snb2/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4180/shard-apl2/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4180/shard-glk4/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4180/shard-iclb7/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4180/shard-kbl7/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4180/shard-skl7/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4180/shard-snb5/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4181/shard-apl8/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4181/shard-glk8/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4181/shard-iclb8/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4181/shard-kbl7/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4181/shard-skl10/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4181/shard-snb2/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12825/shard-apl3/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12825/shard-glk7/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12825/shard-iclb7/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12825/shard-kbl4/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12825/shard-skl8/igt@core_auth@unauth-vs-render.html

  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12825/shard-snb7/igt@core_auth@unauth-vs-render.html
Comment 2 Jani Saarinen 2019-04-22 15:50:15 UTC
Is this some regression caused by https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5951/git-log-oneline.log as now seen on many platforms?
Comment 3 CI Bug Log 2019-04-23 11:35:48 UTC
A CI Bug Log filter associated to this bug has been updated:

{- SNB HSW APL SKL KBL GLK ICL: igt@core_auth@unauth-vs-render - fail - Failed assertion: errno == EBADF -}
{+ all machines: igt@core_auth@unauth-vs-render - fail - Failed assertion: errno == EBADF +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-bdw-5557u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-bdw-gvtdvm/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-blb-e6850/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-bsw-kefka/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-bsw-n3050/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-bwr-2160/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-bxt-dsi/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-bxt-j4205/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-byt-clapper/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-byt-j1900/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-cfl-8109u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-cfl-8700k/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-cfl-guc/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-elk-e7500/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-ilk-650/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-ivb-3770/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-pnv-d510/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-snb-2520m/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_263/fi-whl-u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-bdw-5557u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-bdw-gvtdvm/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-blb-e6850/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-bsw-kefka/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-bsw-n3050/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-bwr-2160/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-bxt-j4205/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-byt-clapper/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-cfl-8109u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-cfl-8700k/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-cfl-guc/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-elk-e7500/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-gdg-551/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-ilk-650/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-ivb-3770/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-snb-2520m/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_258/fi-whl-u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-bdw-5557u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-bxt-dsi/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-byt-clapper/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-cfl-8700k/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-cfl-guc/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-elk-e7500/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-ilk-650/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-ivb-3770/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-pnv-d510/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-snb-2520m/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_259/fi-whl-u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-bdw-5557u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-bdw-gvtdvm/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-blb-e6850/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-bsw-n3050/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-bwr-2160/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-bxt-dsi/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-bxt-j4205/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-byt-clapper/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-byt-j1900/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-byt-n2820/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-cfl-8700k/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-elk-e7500/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-ilk-650/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-ivb-3770/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-pnv-d510/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_260/fi-snb-2520m/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-bdw-5557u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-bdw-gvtdvm/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-blb-e6850/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-bsw-kefka/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-bsw-n3050/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-bwr-2160/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-bxt-dsi/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-bxt-j4205/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-byt-clapper/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-byt-j1900/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-byt-n2820/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-cfl-8109u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-cfl-8700k/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-cfl-guc/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-elk-e7500/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-gdg-551/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-ilk-650/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-ivb-3770/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-pnv-d510/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-snb-2520m/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_261/fi-whl-u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-bdw-5557u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-bdw-gvtdvm/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-blb-e6850/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-bsw-kefka/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-bsw-n3050/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-bwr-2160/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-bxt-dsi/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-bxt-j4205/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-byt-clapper/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-byt-j1900/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-byt-n2820/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-cfl-8109u/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-cfl-8700k/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-cfl-guc/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-elk-e7500/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-gdg-551/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-ilk-650/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-ivb-3770/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-pnv-d510/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-snb-2520m/igt@core_auth@unauth-vs-render.html

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_262/fi-whl-u/igt@core_auth@unauth-vs-render.html
Comment 4 Daniel Vetter 2019-04-23 13:56:58 UTC
Yeah we reverted the kernel patch:

commit dbb92471674a48892f5e50779425e03388073ab9 (drm/drm-next)
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Apr 18 06:46:33 2019 +1000

    Revert "drm: allow render capable master with DRM_AUTH ioctls"

Solution is non-trivial, see the lengthy thread here:

https://patchwork.kernel.org/patch/10904211/

Not sure we should revert the igt too while the discussion is still ongoing.
Comment 5 Maarten Lankhorst 2019-04-26 10:06:24 UTC
This has no impact to userspace directly, we changed kernel behavior and changed the test, but didn't revert the test after reverting kernel behavior to the old way.
Comment 6 Lakshmi 2019-04-26 10:10:39 UTC
This issue is still seen on every run (drmtip/CI_DRM).
Comment 7 Martin Peres 2019-04-26 11:18:42 UTC
The test is being temporarily disabled: https://patchwork.freedesktop.org/series/59945/
Comment 8 Petri Latvala 2019-05-16 09:48:46 UTC
commit 0d488fae6d35c222c8a527c9fb85614800ead646
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Wed May 15 13:19:56 2019 +0300

    Revert "tests/core_unauth_vs_render: new test for the relaxed DRM_AUTH handling"
Comment 9 CI Bug Log 2019-07-02 11:34:33 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.