Bug 102369

Summary: [CI][SNB] Failed assertion: !kmsg_check("*ERROR*") in igt@tools_test@check_dmesg
Product: DRI Reporter: Martin Peres <martin.peres>
Component: IGTAssignee: Default DRI bug account <dri-devel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: SNB i915 features:

Description Martin Peres 2017-08-23 11:17:35 UTC
On CI_DRM_2993, the machine shard-snb4 generated the following error when running igt@tools_test@check_dmesg:

(tools_test:1497) CRITICAL: Test assertion failure function __real_main82, file tools_test.c:142:
(tools_test:1497) CRITICAL: Failed assertion: !kmsg_check("*ERROR*")
(tools_test:1497) CRITICAL: Last errno: 9, Bad file descriptor

Full logs: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_2993/shard-snb4/igt@tools_test@check_dmesg.html
Comment 1 Chris Wilson 2017-08-23 14:50:42 UTC
It opens dmesg and checks for a pre-existing error. It is not a test, but a precheck. It should be removed from the test list as its duties are part of the test runner.
Comment 2 Chris Wilson 2017-09-11 11:13:47 UTC
commit 8ec924498d32f51ab303a8ec9dae339919a5931c
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Sep 7 19:26:54 2017 +0100

    igt/tools_test: Remove dmesg subtest
    
    It's a silly test. If fails if there is an *ERROR* in the dmesg ringbuf,
    so it neither is testing that errors are generated as expected, and as a
    pre-check it can only see what's at the end of the dmesg and may miss
    earlier faults. As a test it just randomly fails; worse than useless.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Comment 3 Martin Peres 2017-09-11 11:14:24 UTC
Thanks Chris!We wanted to run the others bug not inflight, once the new test stops
killing the kernel, we should be ok to run all of gem_eio (or right now
if killing the kernel with an oops and

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.