<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] assert(level < 128) failed for igt@pm_rpm@sysfs-read"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102242#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI][HSW] assert(level < 128) failed for igt@pm_rpm@sysfs-read"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102242">bug 102242</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>This failure is visible in SKL too.
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
sysfs-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:15426) CRITICAL: Test assertion failure function read_files_from_dir,
file pm_rpm.c:856:
(pm_rpm:15426) CRITICAL: Failed assertion: level < 128
(pm_rpm:15426) CRITICAL: Last errno: 5, Input/output error
(pm_rpm:15426) CRITICAL: error: 128 >= 128
Stack trace:
#0 [__igt_fail_assert+0x101]
#1 [read_files_from_dir+0x222]
#2 [<unknown>+0x222]
#3 [<unknown>+0x222]
Subtest sysfs-read failed.
**** DEBUG ****
(pm_rpm:15426) DEBUG: Test requirement passed: dir != -1
(pm_rpm:15426) CRITICAL: Test assertion failure function read_files_from_dir,
file pm_rpm.c:856:
(pm_rpm:15426) CRITICAL: Failed assertion: level < 128
(pm_rpm:15426) CRITICAL: Last errno: 5, Input/output error
(pm_rpm:15426) CRITICAL: error: 128 >= 128
**** END ****
Subtest sysfs-read: FAIL (0,301s)
testrunner@dev-skl-i5-6600k:/opt/source/intel-gpu-tools/tests$ sudo ./pm_rpm
--r sysfs-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 sysfs-read: SUCCESS (0,402s)</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>