Bug 100305

Summary: [BAT][IGT]basic tests in gem_ctx_basic, gem_ctx_exec, gem_ctx_params fail
Product: DRI Reporter: Tomi Sarvela <tomi.p.sarvela>
Component: IGTAssignee: Default DRI bug account <dri-devel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Tomi Sarvela 2017-03-21 17:36:50 UTC
This problem is fallout from commit 301ad44cdf1b868b1ab89096721da91fa8541fdc
lib: Open debugfs files for the given DRM device

Error is always the same:
(gem_ctx_basic:6494) igt-debugfs-CRITICAL: Test assertion failure function igt_drop_caches_set, file igt_debugfs.c:964:
(gem_ctx_basic:6494) igt-debugfs-CRITICAL: Failed assertion: fd >= 0
(gem_ctx_basic:6494) igt-debugfs-CRITICAL: Last errno: 2, No such file or directory
Test gem_ctx_basic failed.

Problem in a nutshell:
tomeu> test has a fd for the render node, but wants to tweak the i915_gem_drop_caches file for the legacy device
Comment 1 Chris Wilson 2017-03-21 20:44:58 UTC
commit 83884e97e18739e3588c6467a210838099d42073
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Mar 21 17:16:03 2017 +0000

    Restore "lib: Open debugfs files for the given DRM device"
    
    This reverts commit 25fbae15262cf570e207e62f50e7c5233e06bc67, restoring
    commit 301ad44cdf1b868b1ab89096721da91fa8541fdc
    Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
    Date:   Thu Mar 2 10:37:11 2017 +0100
    
        lib: Open debugfs files for the given DRM device
    
    with fixes.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 Elizabeth 2017-09-14 22:46:00 UTC
Does this need to be verified or can we close it?
Comment 3 Lakshmi 2018-08-22 10:52:56 UTC
Closing this bug as there are no failures occurred related to gem_ctx_exec, gem_ctx_param, igt@gem_ctx_create@basic, igt@gem_ctx_create@basic-files settings from CI test results.
https://intel-gfx-ci.01.org/tree/drm-tip/igt-shards-all.html
Comment 4 Lakshmi 2018-08-22 10:53:35 UTC
(In reply to Lakshmi from comment #3)
> Closing this bug as there are no failures occurred related to gem_ctx_exec,
> gem_ctx_param, igt@gem_ctx_create@basic, igt@gem_ctx_create@basic-files
> tests from CI test results.
> https://intel-gfx-ci.01.org/tree/drm-tip/igt-shards-all.html

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.