Bug 102453 - [CI][SNB,HSW,KBL,APL] Spurious skip in igt@vgem_basic@unload
Summary: [CI][SNB,HSW,KBL,APL] Spurious skip in igt@vgem_basic@unload
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 10:02 UTC by Martin Peres
Modified: 2017-10-11 09:25 UTC (History)
1 user (show)

See Also:
i915 platform: BXT, HSW, KBL, SNB
i915 features:


Attachments

Description Martin Peres 2017-08-28 10:02:04 UTC
On many pre-merge runs, the igt@vgem_basic@unload skips. This seems to depend on which tests have been executed before. Here is the output of the test when it skips:

IGT-Version: 1.19-gdc08f165 (x86_64) (Linux: 4.13.0-rc6-CI-CI_DRM_3009+ x86_64)
Test requirement not met in function test_unload, file vgem_basic.c:331:
Test requirement: module_unload() == 0
Last errno: 2, No such file or directory
Subtest unload: SKIP (0.001s)

All known occurences:
- https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_95/shards.html
- https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_96/shards.html
- https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_98/shards.html
- https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_107/shards.html
- https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_108/shards.html
Comment 1 Chris Wilson 2017-09-06 19:02:00 UTC
commit 1b6585eeb22a2787fa52b2a192d4e9539acbd9c6
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 25 19:26:39 2017 +0100

    igt/vgem_basic: Load and unload the module first
    
    To ensure the module exists, first load it. Then when we try to unload
    the module (to check that our modprobe interface works), we will not get
    spurious failures due to -ENOENT (in this case meaning the module did
    not exist):
    
    (vgem_basic:18361) igt-core-DEBUG: Starting subtest: unload
    (vgem_basic:18361) igt-kmod-DEBUG: Could not remove module vgem (No such fil
e or directory)
    Test requirement not met in function test_unload, file vgem_basic.c:331:
    Test requirement: module_unload() == 0
    Last errno: 2, No such file or directory
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Comment 2 Martin Peres 2017-09-07 07:47:02 UTC
Indeed, no spurious skips recently. Thanks Chris!


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.