Bug 105922

Summary: [CI] igt@gem_eio@* - fail - Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
Product: DRI Reporter: Marta Löfstedt <marta.lofstedt>
Component: DRM/IntelAssignee: Marta Löfstedt <marta.lofstedt>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ILK i915 features: GEM/Other

Description Marta Löfstedt 2018-04-06 07:54:24 UTC
This appear to have started on drmtip_12, the oldest machine I get data from is ILK but you can also see this in drmtip visialization: 
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip.html
for CTG and ELK

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-650/igt@gem_eio@in-flight-suspend.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-m540/igt@gem_eio@in-flight-suspend.html

(gem_eio:2563) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf_wr, file ../lib/ioctl_wrappers.c:634:
(gem_eio:2563) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf_wr(fd, execbuf) == 0
(gem_eio:2563) ioctl_wrappers-CRITICAL: error: -1 != 0
Subtest in-flight-suspend failed.

Some more links:
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-650/igt@gem_eio@in-flight-external.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-m540/igt@gem_eio@in-flight-external.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-650/igt@gem_eio@wait-1us.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-m540/igt@gem_eio@wait-1us.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-650/igt@gem_eio@wait-immediate.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-m540/igt@gem_eio@wait-immediate.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-650/igt@gem_eio@wait-10ms.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_12/fi-ilk-m540/igt@gem_eio@wait-10ms.html
Comment 2 Chris Wilson 2018-04-06 15:53:45 UTC
commit a86714b95838dd20a091b04f8c4139d0acf7f16b (HEAD, upstream/master)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Apr 5 19:41:32 2018 +0100

    igt/gem_eio: Drop DRM_MASTER so we can reacquire it in the subtests
    
    As we reopen the fd for each subtest, and we need a DRM_MASTER, we need
    to drop master on the original before we are allowed to claim DRM_MASTER
    on the second.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105922
    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:41:46 UTC
Need more drmtip runs to close this
Comment 4 Marta Löfstedt 2018-04-09 09:30:05 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.