Bug 108815

Summary: [CI][SHARDS] igt@pm_rpm@system-suspend-devices - fail - Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED NOTOURBUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ICL i915 features: power/runtime PM

Description Lakshmi 2018-11-20 22:41:38 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5164/shard-iclb1/igt@pm_rpm@system-suspend-devices.html

Starting subtest: system-suspend-devices
(pm_rpm:5809) igt_aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file ../lib/igt_aux.c:794:
(pm_rpm:5809) igt_aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(pm_rpm:5809) igt_aux-CRITICAL: Last errno: 2, No such file or directory
Subtest system-suspend-devices failed.
**** DEBUG ****
(pm_rpm:5809) igt_pm-DEBUG: igt_get_runtime_pm_status() == status took 0ms
(pm_rpm:5809) igt_core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(pm_rpm:5809) igt_aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(pm_rpm:5809) igt_aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(pm_rpm:5809) igt_aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(pm_rpm:5809) igt_aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file ../lib/igt_aux.c:794:
(pm_rpm:5809) igt_aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(pm_rpm:5809) igt_aux-CRITICAL: Last errno: 2, No such file or directory
(pm_rpm:5809) igt_core-INFO: Stack trace:
(pm_rpm:5809) igt_core-INFO:   #0 ../lib/igt_core.c:1467 __igt_fail_assert()
(pm_rpm:5809) igt_core-INFO:   #1 ../lib/igt_aux.c:795 suspend_via_sysfs()
(pm_rpm:5809) igt_core-INFO:   #2 ../lib/igt_aux.c:867 igt_system_suspend_autoresume()
(pm_rpm:5809) igt_core-INFO:   #3 ../tests/pm_rpm.c:1425 system_suspend_subtest()
(pm_rpm:5809) igt_core-INFO:   #4 ../tests/pm_rpm.c:2044 main()
(pm_rpm:5809) igt_core-INFO:   #5 ../csu/libc-start.c:344 __libc_start_main()
(pm_rpm:5809) igt_core-INFO:   #6 [_start+0x2a]
****  END  ****
Comment 1 Chris Wilson 2018-11-21 12:16:13 UTC
<3> [1171.310895] e1000e 0000:00:1f.6 enp0s31f6: Could not acquire PHY
<3> [1171.327928] pci_pm_suspend(): e1000e_pm_suspend+0x0/0x40 [e1000e] returns -2
<3> [1171.327940] dpm_run_callback(): pci_pm_suspend+0x0/0x120 returns -2
<3> [1171.327948] PM: Device 0000:00:1f.6 failed to suspend async: error -2
<3> [1171.501811] PM: Some devices failed to suspend, or early wake event detected

e1000e is no longer maintained, so...

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.