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
> ([email protected]) 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@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@i915_selftest@live@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@i915_selftest@live@coherency:fi-kbl-x1275: PASS -> DMESG-WARN
> +39 other tests dmesg-warnbat-adlp-11: PASS -> DMESG-WARN +40 other
> tests dmesg-warn
> *
> igt@i915_selftest@live@evict:fi-pnv-d510: PASS -> DMESG-WARN +39
> other tests dmesg-warn
> *
> igt@i915_selftest@live@gem:fi-rkl-11600: PASS -> DMESG-WARN +40
> other tests dmesg-warn
> *
> igt@i915_selftest@live@gem_contexts:bat-arls-6: PASS -> DMESG-WARN
> +38 other tests dmesg-warnbat-arlh-3: PASS -> DMESG-WARN +38 other
> tests dmesg-warn
> *
> igt@i915_selftest@live@gt_engines:bat-dg1-6: PASS -> DMESG-WARN
> +44 other tests dmesg-warnfi-ilk-650: PASS -> DMESG-WARN +38 other
> tests dmesg-warn
> *
> igt@i915_selftest@live@gt_mocs:bat-twl-2: PASS -> DMESG-WARN +38
> other tests dmesg-warn
> *
> igt@i915_selftest@live@gt_pm:fi-tgl-1115g4: PASS -> DMESG-WARN +40
> other tests dmesg-warn
> *
> igt@i915_selftest@live@gt_tlb:bat-adlp-9: PASS -> DMESG-WARN +40
> other tests dmesg-warn
> *
> igt@i915_selftest@live@guc_hang:bat-dg2-9: PASS -> DMESG-WARN +15
> other tests dmesg-warn
> *
> igt@i915_selftest@live@guc_multi_lrc:bat-mtlp-8: PASS ->
> DMESG-WARN +38 other tests dmesg-warn
> *
> igt@i915_selftest@live@hangcheck:bat-atsm-1: PASS -> DMESG-WARN
> +41 other tests dmesg-warnbat-mtlp-9: PASS -> DMESG-WARN +20 other
> tests dmesg-warn
> *
> igt@i915_selftest@live@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@i915_selftest@live@objects:fi-blb-e6850: PASS -> DMESG-WARN +38
> other tests dmesg-warnfi-skl-6600u: PASS -> DMESG-WARN +40 other tests
> dmesg-warn
> *
> igt@i915_selftest@live@perf:bat-dg2-11: PASS -> DMESG-WARN +42
> other tests dmesg-warnfi-hsw-4770: PASS -> DMESG-WARN +39 other tests
> dmesg-warn
> *
> igt@i915_selftest@live@ring_submission:fi-ivb-3770: PASS ->
> DMESG-WARN +39 other tests dmesg-warnbat-dg2-8: PASS -> DMESG-WARN
> +15 other tests dmesg-warn
> *
> igt@i915_selftest@live@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@i915_selftest@live@slpc:fi-cfl-guc: PASS -> DMESG-WARN +40
> other tests dmesg-warnbat-mtlp-6: PASS -> DMESG-WARN +38 other tests
> dmesg-warn
> *
> igt@i915_selftest@live@vma:fi-cfl-8700k: PASS -> DMESG-WARN +40
> other tests dmesg-warn
> *
> igt@i915_selftest@live@workarounds:fi-bsw-n3050: PASS -> DMESG-WARN
> +40 other tests dmesg-warn
> Warnings *
> igt@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@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@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@i915_selftest@live@late_gt_pm:bat-twl-2: ABORT (i915#14357)
> -> DMESG-WARN +1 other test dmesg-warn
> *
> igt@i915_selftest@live@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@fbdev@eof:bat-arlh-2: NOTRUN -> SKIP (i915#11345 / i915#11346)
> +3 other tests skip
> *
> igt@fbdev@info:bat-arlh-2: NOTRUN -> SKIP (i915#11346 / i915#1849)
> *
> igt@gem_lmem_swapping@basic:bat-arlh-2: NOTRUN -> SKIP (i915#10213
> / i915#11346 / i915#11671) +3 other tests skip
> *
> igt@gem_mmap@basic:bat-arlh-2: NOTRUN -> SKIP (i915#11343 /
> i915#11346)
> *
> igt@gem_render_tiled_blits@basic:bat-arlh-2: NOTRUN -> SKIP
> (i915#10197 / i915#10211 / i915#11346 / i915#11725)
> *
> igt@gem_tiled_blits@basic:bat-arlh-2: NOTRUN -> SKIP (i915#11346 /
> i915#12637) +4 other tests skip
> *
> igt@gem_tiled_pread_basic:bat-arlh-2: NOTRUN -> SKIP (i915#10206 /
> i915#11346 / i915#11724)
> *
> igt@i915_pm_rps@basic-api:bat-arlh-2: NOTRUN -> SKIP (i915#10209 /
> i915#11346 / i915#11681)
> *
> igt@i915_selftest@live:bat-arlh-2: NOTRUN -> ABORT (i915#13723) +1
> other test abort
> *
> igt@intel_hwmon@hwmon-read:bat-arlh-2: NOTRUN -> SKIP (i915#11346
> / i915#11680 / i915#7707) +1 other test skip
> *
> igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:bat-arlh-2:
> NOTRUN -> SKIP (i915#10200 / i915#11346 / i915#11666 / i915#12203)
> *
> igt@kms_addfb_basic@basic-x-tiled-legacy:bat-arlh-2: NOTRUN ->
> SKIP (i915#10200 / i915#11346 / i915#11666) +8 other tests skip
> *
> igt@kms_hdmi_inject@inject-audio:bat-arls-6: PASS -> FAIL
> (i915#13930)
> *
> igt@kms_psr@psr-primary-page-flip:bat-arlh-2: NOTRUN -> SKIP
> (i915#11346) +32 other tests skip
> *
> igt@kms_setmode@basic-clone-single-crtc:bat-arlh-2: NOTRUN -> SKIP
> (i915#10208 / i915#11346 / i915#8809)
> *
> igt@prime_vgem@basic-fence-read:bat-arlh-2: NOTRUN -> SKIP
> (i915#10212 / i915#11346 / i915#11726)
> *
> igt@prime_vgem@basic-read:bat-arlh-2: NOTRUN -> SKIP (i915#10214 /
> i915#11346 / i915#11726)
> *
> igt@prime_vgem@basic-write:bat-arlh-2: NOTRUN -> SKIP (i915#10216
> / i915#11346 / i915#11723)
> Possible fixes * igt@i915_selftest@live@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 <[email protected]>