Bug 103667

Summary: [CI] - igt@drv_selftest@mock_scatterlist - dmesg-warn - i915_sg_trim timed out
Product: DRI Reporter: Marta Löfstedt <marta.lofstedt>
Component: IGTAssignee: Petri Latvala <petri.latvala>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: low CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: BXT, GLK, HSW, KBL, SNB i915 features:

Comment 1 Chris Wilson 2017-11-10 12:02:31 UTC
commit b1a1e5d2cebf4630d971628d20b3034dfe9c2c40
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Nov 10 10:11:10 2017 +0000

    drm/i915/selftests: Reduce the volume of the timeout message
    
    Originally it was anticipated that timeouts would be a rare event, and
    so merit a warning that the test was incomplete. However, for igt we
    keep the timeout low, and hitting the timeout is intentional. It no
    longer necessitates a warning, but to be expected.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Matthew Auld <matthew.auld@intel.com>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20171110101110.12042-1-chris@chris-wilson.co.uk
    Reviwed-by: Matthew Auld <matthew.auld@intel.com>
    Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Comment 2 Chris Wilson 2017-11-11 01:27:04 UTC
Actually still being reported as dmesg-warn, but that's not a kernel bug. Rather it is an incorrect classification by piglit/test-runner.
Comment 3 Marta Löfstedt 2017-11-14 08:23:49 UTC
Sorry Chris, I have to reopen this so that the wrong classification of the dmesg can be solved. 

Petri, I assign this to you.

These prints shouldn't trigger dmesg-warn:

[ 2703.245979] Setting dangerous option mock_selftests - tainting kernel
[ 2704.275796] sg_alloc_table timed out
[ 2705.276793] i915_sg_trim timed out
Comment 4 Chris Wilson 2018-07-16 12:05:24 UTC
commit 55e4b859a2e1952d3feb2e2ec1c520952cc8b660
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jul 16 09:03:32 2018 +0100

    drm/i915/selftests: Downgrade igt_timeout message
    
    Give in, since CI continues to incorrectly insist that KERN_NOTICE is a
    warning and flags the timeout message as unwanted spam. At first, the
    intention was to use the message to indicate which tests might warrant
    an extended run, but virtually all tests require a timeout so it is
    simply not as interesting as first thought.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103667
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20180716080332.32283-6-chris@chris-wilson.co.uk
Comment 5 Lakshmi 2018-08-24 05:40:33 UTC
LAst seen 1 month ago, closing the bug.
Comment 6 Lakshmi 2018-08-27 13:06:47 UTC
This bug used to appear every round from  IGT and CI_DRM tests, but didn't appear since 214/149 rounds respectively. Closing this bug.

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.