Bug 92317 - [IGT] [BAT] igt/pm_rpm/basic-rte fails wait_for_suspended()
Summary: [IGT] [BAT] igt/pm_rpm/basic-rte fails wait_for_suspended()
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-06 12:55 UTC by cprigent
Modified: 2017-11-09 17:58 UTC (History)
1 user (show)

See Also:
i915 platform: GLK
i915 features: power/runtime PM


Attachments
kern.log.bz2 (220.04 KB, text/plain)
2015-10-06 12:55 UTC, cprigent
no flags Details
kern.log.bz2 (220.04 KB, text/plain)
2015-10-06 12:56 UTC, cprigent
no flags Details
dmesg log (80.51 KB, text/plain)
2017-11-02 20:52 UTC, Elizabeth
no flags Details

Description cprigent 2015-10-06 12:55:26 UTC
Created attachment 118713 [details]
kern.log.bz2

Setup:
-------
Platform: Crescent Bay ULT
CPU: Broadwell U 2+2 E2
Chipset PCH: Wildcat Point B2
CRB: SawTooth Peak Fab3
Software 
Linux distribution: Ubuntu 14.04 LTS 64 bits  
BIOS : BDW-E1R1.86C.0092.R00.1408311942
Kernel Version: drm-intel-next-2015-09-28-11531-gc9b73e9 Commit: c9b73e9c069f9190e00befb38832e9eaaaff9a8f
i-g-t Version: intel-gpu-tools-1.12-12-g983dfe5 i-g-t Commit: 983dfe5b68e2e18006cee78811ff387735386fa1

Regression:
-----------
Can't find a version for which it is Pass

Steps:
-------
Execute command:
./pm_rpm --run-subtest basic-rte

Actual result:
---------------
Test result is fail

Expected result:
----------------
Test is Pass

Info:
-----
From result.json:
"igt@pm_rpm@basic-rte": {
            "environment": "PIGLIT_SOURCE_DIR=\"/home/user/workspace/PoC_IGT/src/igt/piglit\" PIGLIT_PLATFORM=\"mixed_glx_egl\"", 
            "returncode": 99, 
            "command": "/home/user/workspace/PoC_IGT/src/igt/tests/pm_rpm --run-subtest basic-rte", 
            "result": "fail", 
            "err": "Test assertion failure function basic_subtest, file pm_rpm.c:729:\nFailed assertion: wait_for_suspended()\nLast errno: 2, No such file or directory\nSubtest basic-rte failed.\n**** DEBUG ****\nTest assertion failure function basic_subtest, file pm_rpm.c:729:\nFailed assertion: wait_for_suspended()\nLast errno: 2, No such file or directory\n****  END  ****\n", 
            "time": 10.885353088378906, 
            "subtests": {
                "__type__": "Subtests"
            }, 
            "__type__": "TestResult", 
            "out": "IGT-Version: 1.12-g983dfe5 (x86_64) (Linux: 4.3.0-rc3-drm-intel-nightly+ x86_64)\nRuntime PM support: 1\nPC8 residency support: 0\nStack trace:\n  #0 [__igt_fail_assert+0xf1]\n  #1 [main+0x2329]\n  #2 [__libc_start_main+0xf5]\n  #3 [_start+0x29]\n  #4 [<unknown>+0x29]\nSubtest basic-rte: FAIL (10.362s)\n"
Comment 1 cprigent 2015-10-06 12:56:22 UTC
Created attachment 118714 [details]
kern.log.bz2
Comment 2 cprigent 2015-10-08 13:38:44 UTC
Not reproduced with kernel drm-intel-nightly 4.3.0-rc4 9e89df3.

HSW-ULT (STP Fab3)
Hardware
Platform: Shark Bay ULT 
CPU : Intel® Core ™ i7-4550 @ 1.5GHz (family: 6, model: 69, stepping: 1)
SoC: Haswell ULT 2+3 C3
Chipset PCH: LynxPoint B1
CRB: SawTooth Peak Fab3
Reworks : F06  (Audio), F10 (DevSleep), F22 (NFC)
Software 
Linux distribution: Ubuntu 14.04 LTS 64 bits 

BDW-U (WTM1 Fab3)
Hardware 
Platform: Crescent Bay ULT 
CPU: Intel® Core™ i5 5300-U @ 2.30 GHz (family: 6, model: 61  stepping: 4 )
SoC :  Broadwell U 2+2 F0
Chipset PCH: Wildcat Point B2
CRB: White Tip Mountain 1 Fab3
Software 
BIOS : BDW-E1R1.86C.0114.R00.1502042131
ME FW : 10.0.38.1000                                                                    Ksc : 1.18

kernel drm-intel-nightly 4.3.0-rc4 9e89df3 from anongit.freedesktop.org/drm-intel
commit 9e89df3714be34218fd1af734ed34f944ba0f304
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Oct 7 16:39:03 2015 +0200
drm-intel-nightly: 2015y-10m-07d-14h-38m-18s UTC integration manifest
Comment 3 cprigent 2015-10-08 13:39:12 UTC
So closed as unreproducible
Comment 4 Elizabeth 2017-11-02 20:51:38 UTC
Reproducible on GLK with latest kernel:

IGT-Version: 1.20-g7aac0e8 (x86_64) (Linux: 4.14.0-rc7-drm-intel-qa-ww44-commit-fca2506+ x86_64)
(pm_rpm:20292) drmtest-DEBUG: Test requirement passed: !(fd<0)
(pm_rpm:20292) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(pm_rpm:20292) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(pm_rpm:20292) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(pm_rpm:20292) DEBUG: Test requirement passed: debugfs != -1
(pm_rpm:20292) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(pm_rpm:20292) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(pm_rpm:20292) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(pm_rpm:20292) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(pm_rpm:20292) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
Runtime PM support: 1
PC8 residency support: 0
(pm_rpm:20292) DEBUG: Test requirement passed: has_runtime_pm
(pm_rpm:20292) igt-core-DEBUG: Starting subtest: basic-rte
(pm_rpm:20292) CRITICAL: Test assertion failure function basic_subtest, file pm_rpm.c:720:
(pm_rpm:20292) CRITICAL: Failed assertion: wait_for_suspended()
Subtest basic-rte failed.
**** DEBUG ****
(pm_rpm:20292) CRITICAL: Test assertion failure function basic_subtest, file pm_rpm.c:720:
(pm_rpm:20292) CRITICAL: Failed assertion: wait_for_suspended()
(pm_rpm:20292) igt-core-INFO: Stack trace:
(pm_rpm:20292) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(pm_rpm:20292) igt-core-INFO:   #1 [main+0x2354]
(pm_rpm:20292) igt-core-INFO:   #2 [__libc_start_main+0xf1]
(pm_rpm:20292) igt-core-INFO:   #3 [_start+0x29]
(pm_rpm:20292) igt-core-INFO:   #4 [<unknown>+0x29]
****  END  ****
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [main+0x2354]
  #2 [__libc_start_main+0xf1]
  #3 [_start+0x29]
  #4 [<unknown>+0x29]
Subtest basic-rte: FAIL (10.372s)
(pm_rpm:20292) igt-core-DEBUG: Exiting with status code 99
(pm_rpm:20292) igt-kms-DEBUG: VT: original mode 0x0 restored
(pm_rpm:20292) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'

======================================
             Software
======================================
kernel version              : 4.14.0-rc7-drm-intel-qa-ww44-commit-fca2506+
hostname                    : GLK-1-GLKRVP1DDR405
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 69.31
bios release date           : 10/11/2017
ksc                         : 1.41
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)
libdrm                      : 2.4.87
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-467-g7aac0e8
intel-gpu-tools (commit)    : 7aac0e8
Comment 5 Elizabeth 2017-11-02 20:52:21 UTC
Created attachment 135214 [details]
dmesg log
Comment 6 Elizabeth 2017-11-06 20:17:54 UTC
Still reproducible, should this be a dup of bug 92211??

$ : sudo -E ./pm_rpm --r basic-rte
IGT-Version: 1.20-gc4de920 (x86_64) (Linux: 4.14.0-rc8-drm-intel-qa-ww45-commit-5176692+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
(pm_rpm:29629) CRITICAL: Test assertion failure function basic_subtest, file pm_rpm.c:720:
(pm_rpm:29629) CRITICAL: Failed assertion: wait_for_suspended()
Comment 7 Elizabeth 2017-11-09 17:58:15 UTC
Verified:

(11:52 AM) [gfx@GLK-1-GLKRVP1DDR405] [~]$ : time sudo -E ./intel-graphics/intel-gpu-tools/tests/pm_rpm --r basic-rte
IGT-Version: 1.20-ge6c4968 (x86_64) (Linux: 4.14.0-rc8-drm-intel-qa-ww45-commit-8eba051+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Subtest basic-rte: SUCCESS (1.094s)

It was just a fluke:

https://intel-gfx-ci.01.org/tree/drm-tip/igt@pm_rpm@basic-rte.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.