Re: [igt-dev] ✗ Fi.CI.IGT: failure for tests/i915/gen_mmap: fix no-op loops

Ser, Simon
2019-05-27T15:25:24Z

Hi Chris and Antonio,

On Wed, 2019-05-08 at 09:54 +0000, Ser, Simon wrote:
> These failures happen because of:
>
> (gem_mmap:5289) CRITICAL: Failed assertion: mmap_ioctl(fd, &arg) == -22
> (gem_mmap:5289) CRITICAL: error: -2 != -22
>
> Is this a genuine driver bug? Is the driver supposed to fail with
> ENOENT or EINVAL?

Any ideas?

> On Tue, 2019-05-07 at 18:42 +0000, Patchwork wrote:
> > == Series Details ==
> >
> > Series: tests/i915/gen_mmap: fix no-op loops
> > URL : https://patchwork.freedesktop.org/series/60371/
> > State : failure
> >
> > == Summary ==
> >
> > CI Bug Log - changes from CI_DRM_6058_full -> IGTPW_2948_full
> > ====================================================
> >
> > Summary
> > -------
> >
> > **FAILURE**
> >
> > Serious unknown changes coming with IGTPW_2948_full absolutely need
> > to be
> > verified manually.
> >
> > If you think the reported changes have nothing to do with the
> > changes
> > introduced in IGTPW_2948_full, please notify your bug team to allow
> > them
> > to document this new failure mode, which will reduce false
> > positives in CI.
> >
> > External URL:
> > https://patchwork.freedesktop.org/api/1.0/series/60371/revisions/1/mbox/
> >
> > Possible new issues
> > -------------------
> >
> > Here are the unknown changes that may have been introduced in
> > IGTPW_2948_full:
> >
> > ### IGT changes ###
> >
> > #### Possible regressions ####
> >
> > * igt@gem_mmap@bad-object:
> > - shard-iclb: [PASS][1] -> [FAIL][2] +1 similar issue
> > [1]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb5/igt@gem_mmap@bad-object.html
> > [2]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb1/igt@gem_mmap@bad-object.html
> > - shard-glk: [PASS][3] -> [FAIL][4] +1 similar issue
> > [3]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-glk7/igt@gem_mmap@bad-object.html
> > [4]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-glk4/igt@gem_mmap@bad-object.html
> > - shard-hsw: [PASS][5] -> [FAIL][6] +1 similar issue
> > [5]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-hsw4/igt@gem_mmap@bad-object.html
> > [6]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-hsw7/igt@gem_mmap@bad-object.html
> > - shard-kbl: [PASS][7] -> [FAIL][8] +1 similar issue
> > [7]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-kbl7/igt@gem_mmap@bad-object.html
> > [8]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-kbl1/igt@gem_mmap@bad-object.html
> >
> > * igt@gem_mmap_wc@bad-object:
> > - shard-apl: [PASS][9] -> [FAIL][10] +1 similar issue
> > [9]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-apl5/igt@gem_mmap_wc@bad-object.html
> > [10]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-apl5/igt@gem_mmap_wc@bad-object.html
> > - shard-snb: [PASS][11] -> [FAIL][12] +1 similar issue
> > [11]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-snb5/igt@gem_mmap_wc@bad-object.html
> > [12]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-snb1/igt@gem_mmap_wc@bad-object.html
> >
> >
> > Known issues
> > ------------
> >
> > Here are the changes found in IGTPW_2948_full that come from known
> > issues:
> >
> > ### IGT changes ###
> >
> > #### Issues hit ####
> >
> > * igt@gem_ctx_exec@basic-invalid-context-vebox:
> > - shard-kbl: [PASS][13] -> [DMESG-WARN][14]
> > ([fdo#103558] / [fdo#105602]) +1 similar issue
> > [13]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-kbl7/igt@gem_ctx_exec@basic-invalid-context-vebox.html
> > [14]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-kbl7/igt@gem_ctx_exec@basic-invalid-context-vebox.html
> >
> > * igt@gem_workarounds@suspend-resume:
> > - shard-apl: [PASS][15] -> [DMESG-WARN][16]
> > ([fdo#108566]) +3 similar issues
> > [15]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-apl6/igt@gem_workarounds@suspend-resume.html
> > [16]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-apl6/igt@gem_workarounds@suspend-resume.html
> >
> > * igt@kms_atomic_transition@plane-all-transition-fencing:
> > - shard-kbl: [PASS][17] -> [FAIL][18] ([fdo#109052])
> > [17]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-kbl2/igt@kms_atomic_transition@plane-all-transition-fencing.html
> > [18]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-kbl7/igt@kms_atomic_transition@plane-all-transition-fencing.html
> >
> > * igt@kms_flip@2x-flip-vs-expired-vblank:
> > - shard-glk: [PASS][19] -> [FAIL][20] ([fdo#105363])
> > [19]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-glk2/igt@kms_flip@2x-flip-vs-expired-vblank.html
> > [20]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-glk5/igt@kms_flip@2x-flip-vs-expired-vblank.html
> >
> > * igt@kms
> > _frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-blt:
> > - shard-iclb: [PASS][21] -> [FAIL][22] ([fdo#109247]) +4
> > similar issues
> > [21]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-blt.html
> > [22]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-blt.html
> >
> > * igt@kms_frontbuffer_tracking@fbcpsr-tilingchange:
> > - shard-iclb: [PASS][23] -> [FAIL][24] ([fdo#103167]) +2
> > similar issues
> > [23]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-tilingchange.html
> > [24]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-tilingchange.html
> >
> > * igt@kms_plane_scaling@pipe-a-scaler-with-clipping-clamping:
> > - shard-glk: [PASS][25] -> [SKIP][26] ([fdo#109271] /
> > [fdo#109278]) +1 similar issue
> > [25]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-glk9/igt@kms_plane_scaling@pipe-a-scaler-with-clipping-clamping.html
> > [26]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-glk4/igt@kms_plane_scaling@pipe-a-scaler-with-clipping-clamping.html
> >
> > * igt@kms_psr@primary_blt:
> > - shard-iclb: [PASS][27] -> [FAIL][28] ([fdo#107383] /
> > [fdo#110215]) +2 similar issues
> > [27]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb2/igt@kms_psr@primary_blt.html
> > [28]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb2/igt@kms_psr@primary_blt.html
> >
> > * igt@kms_psr@psr2_sprite_mmap_cpu:
> > - shard-iclb: [PASS][29] -> [SKIP][30] ([fdo#109441]) +1
> > similar issue
> > [29]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_cpu.html
> > [30]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb3/igt@kms_psr@psr2_sprite_mmap_cpu.html
> >
> > * igt@kms_sysfs_edid_timing:
> > - shard-iclb: [PASS][31] -> [FAIL][32] ([fdo#100047])
> > [31]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb5/igt@kms_sysfs_edid_timing.html
> > [32]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb2/igt@kms_sysfs_edid_timing.html
> >
> >
> > #### Possible fixes ####
> >
> > * igt@i915_suspend@fence-restore-untiled:
> > - shard-apl: [DMESG-WARN][33] ([fdo#108566]) ->
> > [PASS][34] +9 similar issues
> > [33]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-apl3/igt@i915_suspend@fence-restore-untiled.html
> > [34]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-apl8/igt@i915_suspend@fence-restore-untiled.html
> >
> > * igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
> > - shard-hsw: [FAIL][35] ([fdo#105767]) -> [PASS][36]
> > [35]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-hsw6/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html
> > [36]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-hsw2/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html
> >
> > * igt@kms_flip@2x-flip-vs-suspend-interruptible:
> > - shard-hsw: [INCOMPLETE][37] ([fdo#103540]) ->
> > [PASS][38]
> > [37]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-hsw5/igt@kms_flip@2x-flip-vs-suspend-interruptible.html
> > [38]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-hsw5/igt@kms_flip@2x-flip-vs-suspend-interruptible.html
> >
> > * igt@kms
> > _frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-render:
> > - shard-iclb: [FAIL][39] ([fdo#103167]) -> [PASS][40] +2
> > similar issues
> > [39]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-render.html
> > [40]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-render.html
> >
> > * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-move:
> > - shard-glk: [FAIL][41] ([fdo#103167]) -> [PASS][42]
> > [41]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-glk5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-move.html
> > [42]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-glk7/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-move.html
> >
> > * igt@kms_psr@psr2_sprite_blt:
> > - shard-iclb: [SKIP][43] ([fdo#109441]) -> [PASS][44] +1
> > similar issue
> > [43]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb8/igt@kms_psr@psr2_sprite_blt.html
> > [44]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
> >
> > * igt@kms_rotation_crc@multiplane-rotation:
> > - shard-kbl: [INCOMPLETE][45] ([fdo#103665]) ->
> > [PASS][46]
> > [45]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-kbl5/igt@kms_rotation_crc@multiplane-rotation.html
> > [46]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-kbl3/igt@kms_rotation_crc@multiplane-rotation.html
> >
> > * igt@tools_test@tools_test:
> > - shard-iclb: [SKIP][47] ([fdo#109352]) -> [PASS][48]
> > [47]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb4/igt@tools_test@tools_test.html
> > [48]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb5/igt@tools_test@tools_test.html
> >
> >
> > #### Warnings ####
> >
> > * igt@i915_pm_rpm@i2c:
> > - shard-iclb: [FAIL][49] ([fdo#104097]) -> [DMESG-
> > WARN][50] ([fdo#109982])
> > [49]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb1/igt@i915_pm_rpm@i2c.html
> > [50]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb2/igt@i915_pm_rpm@i2c.html
> >
> > * igt@kms
> > _frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-mmap-wc:
> > - shard-kbl: [SKIP][51] ([fdo#109271]) -> [SKIP][52]
> > ([fdo#105602] / [fdo#109271])
> > [51]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-kbl1/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-mmap-wc.html
> > [52]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-kbl7/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-mmap-wc.html
> >
> > * igt@kms_psr@psr2_cursor_mmap_cpu:
> > - shard-iclb: [SKIP][53] ([fdo#109441]) -> [FAIL][54]
> > ([fdo#107383] / [fdo#110215])
> > [53]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6058/shard-iclb6/igt@kms_psr@psr2_cursor_mmap_cpu.html
> > [54]:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
> >
> >
> > [fdo#100047]: https://bugs.freedesktop.org/show_bug.cgi?id=100047
> > [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
> > [fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
> > [fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
> > [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
> > [fdo#104097]: https://bugs.freedesktop.org/show_bug.cgi?id=104097
> > [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
> > [fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
> > [fdo#105767]: https://bugs.freedesktop.org/show_bug.cgi?id=105767
> > [fdo#107383]: https://bugs.freedesktop.org/show_bug.cgi?id=107383
> > [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
> > [fdo#109052]: https://bugs.freedesktop.org/show_bug.cgi?id=109052
> > [fdo#109247]: https://bugs.freedesktop.org/show_bug.cgi?id=109247
> > [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
> > [fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
> > [fdo#109352]: https://bugs.freedesktop.org/show_bug.cgi?id=109352
> > [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
> > [fdo#109982]: https://bugs.freedesktop.org/show_bug.cgi?id=109982
> > [fdo#110215]: https://bugs.freedesktop.org/show_bug.cgi?id=110215
> >
> >
> > Participating hosts (10 -> 6)
> > ------------------------------
> >
> > Missing (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-
> > j5005
> >
> >
> > Build changes
> > -------------
> >
> > * IGT: IGT_4972 -> IGTPW_2948
> > * Piglit: piglit_4509 -> None
> >
> > CI_DRM_6058: ebfcf73f5c4c6967e886b60356fbf2784b53cccb @
> > git://anongit.freedesktop.org/gfx-ci/linux
> > IGTPW_2948: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/
> > IGT_4972: f052e49a43cc9704ea5f240df15dd9d3dfed68ab @
> > git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
> > piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @
> > git://anongit.freedesktop.org/piglit
> >
> > == Logs ==
> >
> > For more details see:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2948/
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev