Bug 105861

Summary: [CI] igt@* - fail - Test assertion failure function gem_create - Failed assertion: __gem_create(fd, size, &handle) == 0
Product: DRI Reporter: Marta Löfstedt <marta.lofstedt>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED 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   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=105798
Whiteboard: ReadyForDev
i915 platform: CNL i915 features: display/Other

Description Marta Löfstedt 2018-04-03 11:37:00 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_10/fi-cnl-y3/igt@kms_frontbuffer_tracking@psrdrrs-2p-scndscrn-shrfb-plflip-blt.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_11/fi-cnl-y3/igt@kms_frontbuffer_tracking@psrdrrs-2p-scndscrn-cur-indfb-move.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_11/fi-cnl-y3/igt@kms_frontbuffer_tracking@psrdrrs-2p-primscrn-shrfb-pgflip-blt.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_10/fi-cnl-y3/igt@kms_frontbuffer_tracking@psrdrrs-1p-primscrn-spr-indfb-draw-mmap-cpu.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_11/fi-cnl-y3/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-move.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_9/fi-cnl-y3/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-shrfb-plflip-blt.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_10/fi-cnl-y3/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-indfb-draw-mmap-wc.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_11/fi-cnl-y3/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-indfb-draw-mmap-cpu.html

(kms_frontbuffer_tracking:2666) ioctl_wrappers-CRITICAL: Test assertion failure function gem_create, file ../lib/ioctl_wrappers.c:572:
(kms_frontbuffer_tracking:2666) ioctl_wrappers-CRITICAL: Failed assertion: __gem_create(fd, size, &handle) == 0
(kms_frontbuffer_tracking:2666) ioctl_wrappers-CRITICAL: error: -22 != 0
Test kms_frontbuffer_tracking failed.

This could be related to bug 105798, but the pattern is very difficult to see on this CNL machine.
Comment 1 Chris Wilson 2018-04-03 12:00:26 UTC
So either size <= 0; most likely size == 0. Hmm, I thought we had an igt_assert(size != 0) to catch this common mistake more clearly, but no. (size < 0 is trickier, as it depends on whether it is an allocable size, so leave it to the kernel.)
Comment 3 Maarten Lankhorst 2018-04-11 12:58:26 UTC
Could be a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=105798 ?
Comment 4 Marta Löfstedt 2018-04-11 13:05:33 UTC
(In reply to Maarten Lankhorst from comment #3)
> Could be a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=105798 ?

Yes as I wrote in previous comment
Comment 5 Marta Löfstedt 2018-04-13 09:38:22 UTC
Not reproduced, I believe this was fixed in the same manner as  bug 105798

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.