Bug 102257

Summary: [CI][HSW] igt@gem_exec_params@invalid-flag fails an assert
Product: DRI Reporter: Martin Peres <martin.peres>
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: critical    
Priority: highest CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: HSW i915 features: GEM/Other

Description Martin Peres 2017-08-16 13:17:23 UTC
The test igt@gem_exec_params@invalid-flag fails the following assert on HSW:

(gem_exec_params:1527) CRITICAL: Test assertion failure function __real_main188, file gem_exec_params.c:361:
(gem_exec_params:1527) CRITICAL: Failed assertion: drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf) == -1
Subtest invalid-flag failed.

Full logs: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_2968/shard-hsw1/igt@gem_exec_params@invalid-flag.html
Comment 1 Chris Wilson 2017-08-18 09:53:28 UTC
The test is a catch-22.
Comment 2 Martin Peres 2017-08-18 10:18:39 UTC
<ickle> igt has been told about the new flag, but we can't tell it about that flag before the kernel
<ickle> it asks "do you recognise this flag?", the kernel says, yes! igt goes fail!
<Adrinael> mupuf, hence https://patchwork.freedesktop.org/series/28833/

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.