<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI][HSW] [APL/GLK/SKL/KBL/HSW/BDW/BSW/BYT] pm_rpm@debugfs-read"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100717#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI][HSW] [APL/GLK/SKL/KBL/HSW/BDW/BSW/BYT] pm_rpm@debugfs-read"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100717">bug 100717</a>
from <span class="vcard"><a class="email" href="mailto:jari.tahvanainen@intel.com" title="Jari Tahvanainen <jari.tahvanainen@intel.com>"> <span class="fn">Jari Tahvanainen</span></a>
</span></b>
<pre>I did some bisecting related to this and found out that change from pass to
fail was actually caused by igt commit ced87bd9.
commit ced87bd913bfbfb8ecbe6352d87d133e5e4c81ff
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
AuthorDate: Sat Apr 8 13:15:18 2017 +0100
Commit: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
CommitDate: Sat Apr 8 13:47:53 2017 +0100
igt/pm_rpm: Use directory fd to track and read entire directories
Rather than compute the temporary full path name, remember it via the dir
fd we already have.
Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Here is the actual outputs for this particular test on the latest kernel
drm-tip: 2017y-08m-21d-08h-13m-34s UTC integration manifest
dev-skl-i5-6600k:/opt/source/intel-gpu-tools/tests$ sudo ./pm_rpm --r
debugfs-read
IGT-Version: 1.18-gced87bd9 (x86_64) (Linux: 4.13.0-rc5-ezbench_dbfb2f62576e+
x86_64)
Runtime PM support: 1
PC8 residency support: 0
(pm_rpm:1263) CRITICAL: Test assertion failure function read_full_file, file
pm_rpm.c:838:
(pm_rpm:1263) CRITICAL: Failed assertion: wait_for_suspended()
(pm_rpm:1263) CRITICAL: Last errno: 19, No such device
(pm_rpm:1263) CRITICAL: File: i915_forcewake_user
Stack trace:
#0 [__igt_fail_assert+0x101]
#1 [read_files_from_dir+0x275]
#2 [main+0x1a86]
#3 [__libc_start_main+0xf1]
#4 [_start+0x2a]
#5 [<unknown>+0x2a]
Subtest debugfs-read failed.
**** DEBUG ****
(pm_rpm:1263) CRITICAL: Test assertion failure function read_full_file, file
pm_rpm.c:838:
(pm_rpm:1263) CRITICAL: Failed assertion: wait_for_suspended()
(pm_rpm:1263) CRITICAL: Last errno: 19, No such device
(pm_rpm:1263) CRITICAL: File: i915_forcewake_user
**** END ****
Subtest debugfs-read: FAIL (12,578s)
dev-skl-i5-6600k:/opt/source/intel-gpu-tools/tests$ sudo ./pm_rpm --r
debugfs-read
IGT-Version: 1.18-gc3268d9a (x86_64) (Linux: 4.13.0-rc5-ezbench_dbfb2f62576e+
x86_64)
Runtime PM support: 1
PC8 residency support: 0
Subtest debugfs-read: SUCCESS (2,729s)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>