Bug 105924 - [CI] igt@gem_eio - fail - Failed assertion: __gem_context_create(fd, &ctx_id) == 0
Summary: [CI] igt@gem_eio - fail - Failed assertion: __gem_context_create(fd, &ctx_id)...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Marta Löfstedt
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-06 08:08 UTC by Marta Löfstedt
Modified: 2018-04-09 09:28 UTC (History)
1 user (show)

See Also:
i915 platform: ILK
i915 features: GEM/Other


Attachments

Description Marta Löfstedt 2018-04-06 08:08:02 UTC
This started on drmtip_12:
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-650/igt@gem_eio@unwedge-stress.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-m540/igt@gem_eio@unwedge-stress.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-650/igt@gem_eio@reset-stress.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-m540/igt@gem_eio@reset-stress.html

(gem_eio:2476) i915/gem_context-CRITICAL: Test assertion failure function gem_context_create, file ../lib/i915/gem_context.c:106:
(gem_eio:2476) i915/gem_context-CRITICAL: Failed assertion: __gem_context_create(fd, &ctx_id) == 0
(gem_eio:2476) i915/gem_context-CRITICAL: error: -19 != 0
Subtest unwedge-stress failed.

Note bug 105922 also affect gem_eio tests and started on the same run, so a dup maybe?
Comment 1 Chris Wilson 2018-04-06 09:04:55 UTC
Not quite, this is a missing igt_require(gem_has_contexts()); the other is a missing igt_device_set_master().
Comment 2 Chris Wilson 2018-04-06 15:53:56 UTC
commit e5a785cc7b6b6ca47a40467878372728064d02fa
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Apr 6 10:07:32 2018 +0100

    igt/gem_eio: Require context support before creation
    
    gem_context_create() nowadays assumes you have already checked for
    context support and asserts for any error. So check first.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105924
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Comment 3 Marta Löfstedt 2018-04-09 07:42:18 UTC
Need more drmtip to varify to close this
Comment 4 Marta Löfstedt 2018-04-09 09:28:56 UTC
Looks green on drmtip_13 and forward


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.