✗ i915.CI.BAT: failure for ref_tracker: add ability to register a debugfs file for a ref_tracker_dir (rev9)

Jeff Layton jlayton at kernel.org
Tue Jun 3 13:23:23 UTC 2025


On Tue, 2025-06-03 at 12:45 +0000, Patchwork wrote:
> Patch Details
> Series: ref_tracker: add ability to register a debugfs file for a ref_tracker_dir (rev9)
> URL: https://patchwork.freedesktop.org/series/148490/
> State: failure
> Details: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v9/index.html
> 
>  
> 
> 
> 
> CI Bug Log - changes from CI_DRM_16637 -> Patchwork_148490v9SummaryFAILURE
> Serious unknown changes coming with Patchwork_148490v9 absolutely need to be
>  verified manually.
> If you think the reported changes have nothing to do with the changes
>  introduced in Patchwork_148490v9, please notify your bug team (I915-ci-infra at lists.freedesktop.org) to allow them
>  to document this new failure mode, which will reduce false positives in CI.
> External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v9/index.html
> Participating hosts (42 -> 42)Additional (1): bat-arlh-2 
>  Missing (1): fi-snb-2520m 
> Possible new issuesHere are the unknown changes that may have been introduced in Patchwork_148490v9:
> IGT changesPossible regressions * 
>    igt at i915_pm_rpm@module-reload:bat-dg2-14:         PASS -> DMESG-WARN +44 other tests dmesg-warnfi-bsw-nick:        PASS -> DMESG-WARN +40 other tests dmesg-warnbat-kbl-2:          PASS -> DMESG-WARN +40 other tests dmesg-warnbat-adlp-6:         PASS -> DMESG-WARN +40 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at client:fi-elk-e7500:       PASS -> DMESG-WARN +39 other tests dmesg-warnfi-kbl-guc:         PASS -> DMESG-WARN +39 other tests dmesg-warnbat-adls-6:         PASS -> DMESG-WARN +40 other tests dmesg-warnbat-dg1-7:          PASS -> DMESG-WARN +15 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at coherency:fi-kbl-x1275:       PASS -> DMESG-WARN +39 other tests dmesg-warnbat-adlp-11:        PASS -> DMESG-WARN +40 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at evict:fi-pnv-d510:        PASS -> DMESG-WARN +39 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at gem:fi-rkl-11600:       PASS -> DMESG-WARN +40 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at gem_contexts:bat-arls-6:         PASS -> DMESG-WARN +38 other tests dmesg-warnbat-arlh-3:         PASS -> DMESG-WARN +38 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at gt_engines:bat-dg1-6:          PASS -> DMESG-WARN +44 other tests dmesg-warnfi-ilk-650:         PASS -> DMESG-WARN +38 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at gt_mocs:bat-twl-2:          PASS -> DMESG-WARN +38 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at gt_pm:fi-tgl-1115g4:      PASS -> DMESG-WARN +40 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at gt_tlb:bat-adlp-9:         PASS -> DMESG-WARN +40 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at guc_hang:bat-dg2-9:          PASS -> DMESG-WARN +15 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at guc_multi_lrc:bat-mtlp-8:         PASS -> DMESG-WARN +38 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at hangcheck:bat-atsm-1:         PASS -> DMESG-WARN +41 other tests dmesg-warnbat-mtlp-9:         PASS -> DMESG-WARN +20 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at late_gt_pm:fi-cfl-8109u:       PASS -> DMESG-WARN +38 other tests dmesg-warnfi-kbl-8809g:       PASS -> DMESG-WARN +40 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at objects:fi-blb-e6850:       PASS -> DMESG-WARN +38 other tests dmesg-warnfi-skl-6600u:       PASS -> DMESG-WARN +40 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at perf:bat-dg2-11:         PASS -> DMESG-WARN +42 other tests dmesg-warnfi-hsw-4770:        PASS -> DMESG-WARN +39 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at ring_submission:fi-ivb-3770:        PASS -> DMESG-WARN +39 other tests dmesg-warnbat-dg2-8:          PASS -> DMESG-WARN +15 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at sanitycheck:fi-kbl-7567u:       PASS -> DMESG-WARN +40 other tests dmesg-warnbat-twl-1:          PASS -> DMESG-WARN +39 other tests dmesg-warnbat-apl-1:          PASS -> DMESG-WARN +39 other tests dmesg-warnbat-arls-5:         PASS -> DMESG-WARN +38 other tests dmesg-warnbat-rplp-1:         PASS -> DMESG-WARN +40 other tests dmesg-warnbat-arlh-2:         NOTRUN -> DMESG-WARN +22 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at slpc:fi-cfl-guc:         PASS -> DMESG-WARN +40 other tests dmesg-warnbat-mtlp-6:         PASS -> DMESG-WARN +38 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at vma:fi-cfl-8700k:       PASS -> DMESG-WARN +40 other tests dmesg-warn
>  * 
>    igt at i915_selftest@live at workarounds:fi-bsw-n3050:       PASS -> DMESG-WARN +40 other tests dmesg-warn
> Warnings * 
>    igt at i915_module_load@reload:bat-twl-1:          DMESG-WARN (i915#13736) -> DMESG-WARN

I'm very confused by this CI report, and I suspect that this may be a
bug in the i915 driver. The log above shows several instances of
messages like this:

    <3> [414.085231] debugfs: File 'intel_wakeref at ffff88810f9c2308' in directory 'ref_tracker' already present!

...but if you look at the patch, it changes the code to only call
ref_tracker_dir_init() when the "class" pointer isn't set. Since the
containing object is zalloced, that should ensure that it only does
this once:

        if (!wf->debug.class)
               ref_tracker_dir_init(&wf->debug,
INTEL_REFTRACK_DEAD_COUNT, "intel_wakeref");


I think that the only way this could be happening is if the driver is
doing something like zeroing out the object that contains the struct
ref_tracker_dir and reinitializing it.

Does the i915 driver do that? Can we make it call
ref_tracker_dir_exit() before doing so? I don't think that practice is
safe if there are outstanding references at the time it occurs.


>  * 
>    igt at i915_selftest@live:bat-arlh-3:         DMESG-FAIL (i915#14243) -> DMESG-WARN +1 other test dmesg-warnbat-mtlp-9:         DMESG-FAIL (i915#12061) -> DMESG-WARN
>  * 
>    igt at i915_selftest@live at late_gt_pm:bat-twl-2:          ABORT (i915#14357) -> DMESG-WARN +1 other test dmesg-warn
>  * 
>    igt at i915_selftest@live at workarounds:bat-arls-5:         DMESG-FAIL (i915#12061) -> DMESG-WARN +1 other test dmesg-warnbat-mtlp-6:         DMESG-FAIL (i915#12061) -> DMESG-WARN +1 other test dmesg-warnbat-dg2-11:         DMESG-FAIL (i915#12061) -> DMESG-WARN +1 other test dmesg-warnbat-arls-6:         DMESG-FAIL (i915#12061) -> DMESG-WARN +1 other test dmesg-warn
> Known issuesHere are the changes found in Patchwork_148490v9 that come from known issues:
> IGT changesIssues hit * 
>    igt at fbdev@eof:bat-arlh-2:         NOTRUN -> SKIP (i915#11345 / i915#11346) +3 other tests skip
>  * 
>    igt at fbdev@info:bat-arlh-2:         NOTRUN -> SKIP (i915#11346 / i915#1849)
>  * 
>    igt at gem_lmem_swapping@basic:bat-arlh-2:         NOTRUN -> SKIP (i915#10213 / i915#11346 / i915#11671) +3 other tests skip
>  * 
>    igt at gem_mmap@basic:bat-arlh-2:         NOTRUN -> SKIP (i915#11343 / i915#11346)
>  * 
>    igt at gem_render_tiled_blits@basic:bat-arlh-2:         NOTRUN -> SKIP (i915#10197 / i915#10211 / i915#11346 / i915#11725)
>  * 
>    igt at gem_tiled_blits@basic:bat-arlh-2:         NOTRUN -> SKIP (i915#11346 / i915#12637) +4 other tests skip
>  * 
>    igt at gem_tiled_pread_basic:bat-arlh-2:         NOTRUN -> SKIP (i915#10206 / i915#11346 / i915#11724)
>  * 
>    igt at i915_pm_rps@basic-api:bat-arlh-2:         NOTRUN -> SKIP (i915#10209 / i915#11346 / i915#11681)
>  * 
>    igt at i915_selftest@live:bat-arlh-2:         NOTRUN -> ABORT (i915#13723) +1 other test abort
>  * 
>    igt at intel_hwmon@hwmon-read:bat-arlh-2:         NOTRUN -> SKIP (i915#11346 / i915#11680 / i915#7707) +1 other test skip
>  * 
>    igt at kms_addfb_basic@addfb25-y-tiled-small-legacy:bat-arlh-2:         NOTRUN -> SKIP (i915#10200 / i915#11346 / i915#11666 / i915#12203)
>  * 
>    igt at kms_addfb_basic@basic-x-tiled-legacy:bat-arlh-2:         NOTRUN -> SKIP (i915#10200 / i915#11346 / i915#11666) +8 other tests skip
>  * 
>    igt at kms_hdmi_inject@inject-audio:bat-arls-6:         PASS -> FAIL (i915#13930)
>  * 
>    igt at kms_psr@psr-primary-page-flip:bat-arlh-2:         NOTRUN -> SKIP (i915#11346) +32 other tests skip
>  * 
>    igt at kms_setmode@basic-clone-single-crtc:bat-arlh-2:         NOTRUN -> SKIP (i915#10208 / i915#11346 / i915#8809)
>  * 
>    igt at prime_vgem@basic-fence-read:bat-arlh-2:         NOTRUN -> SKIP (i915#10212 / i915#11346 / i915#11726)
>  * 
>    igt at prime_vgem@basic-read:bat-arlh-2:         NOTRUN -> SKIP (i915#10214 / i915#11346 / i915#11726)
>  * 
>    igt at prime_vgem@basic-write:bat-arlh-2:         NOTRUN -> SKIP (i915#10216 / i915#11346 / i915#11723)
> Possible fixes * igt at i915_selftest@live at workarounds:bat-mtlp-9:         DMESG-FAIL (i915#12061) -> PASS
> Build changes * Linux: CI_DRM_16637 -> Patchwork_148490v9
> CI-20190529: 20190529
>  CI_DRM_16637: bea2a0d35dc29d6ae8a4e44506af9b563f012211 @ git://anongit.freedesktop.org/gfx-ci/linux
>  IGT_8392: 8392
>  Patchwork_148490v9: bea2a0d35dc29d6ae8a4e44506af9b563f012211 @ git://anongit.freedesktop.org/gfx-ci/linux

-- 
Jeff Layton <jlayton at kernel.org>


More information about the Intel-gfx mailing list