Bug 103980

Summary: [IGT] drv_suspend some subtests fail with Failed assertion: ret == 0 and: [cmd] rtcwake: [cmd] write error - rtcwake failed with 1
Product: DRI Reporter: Hector Velazquez <hector.franciscox.velazquez.suriano>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED INVALID QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=103375
Whiteboard:
i915 platform: CFL i915 features:
Attachments:
Description Flags
otuput (all tests)
none
dmesg -w none

Description Hector Velazquez 2017-11-29 21:44:26 UTC
Created attachment 135817 [details]
otuput (all tests)
Comment 1 Hector Velazquez 2017-11-29 21:44:52 UTC
This tests was failing on CFL QA

igt@drv_suspend@debugfs-reader
igt@drv_suspend@debugfs-reader-hibernate
igt@drv_suspend@fence-restore-tiled2untiled-hibernate
igt@drv_suspend@fence-restore-untiled
igt@drv_suspend@fence-restore-untiled-hibernate
igt@drv_suspend@forcewake
igt@drv_suspend@forcewake-hibernate
igt@drv_suspend@sysfs-reader
igt@drv_suspend@sysfs-reader-hibernate

====================================================
output sample
====================================================
**** DEBUG ****
(drv_suspend:10080) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(drv_suspend:10080) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(drv_suspend:10080) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(drv_suspend:10080) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(drv_suspend:10080) igt-aux-DEBUG: Test requirement passed: ret == 0
(drv_suspend:10080) igt-core-INFO: [cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "disk" using /dev/rtc0 at Wed Nov 29 20:47:53 2017
(drv_suspend:10080) igt-core-WARNING: [cmd] rtcwake: write error
(drv_suspend:10080) igt-aux-WARNING: rtcwake failed with 1
Check dmesg for further details.
(drv_suspend:10080) igt-aux-DEBUG: suspend_stats:
success: 0
fail: 10
failed_freeze: 0
failed_prepare: 0
failed_suspend: 20
failed_suspend_late: 0
failed_suspend_noirq: 0
failed_resume: 0
failed_resume_early: 0
failed_resume_noirq: 0
failures:
  last_failed_dev:	0000:00:02.0
			0000:00:02.0
  last_failed_errno:	-5
			-5
  last_failed_step:	suspend
			suspend
(drv_suspend:10080) igt-aux-CRITICAL: Test assertion failure function suspend_via_rtcwake, file igt_aux.c:823:
(drv_suspend:10080) igt-aux-CRITICAL: Failed assertion: ret == 0
(drv_suspend:10080) igt-aux-CRITICAL: error: 1 != 0
(drv_suspend:10080) igt-core-INFO: Stack trace:
(drv_suspend:10080) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(drv_suspend:10080) igt-core-INFO:   #1 [igt_system_suspend_autoresume+0x52b]
(drv_suspend:10080) igt-core-INFO:   #2 [<unknown>+0x52b]
****  END  ****

This is my configuration:
======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-108-g0ab36da
    commit: 0ab36dafaf818c35a258dac0c75b779ab2ae792b

Component: cairo
    tag: 1.15.6-88-g84fc0ce
    commit: 84fc0ce91d1a57d20500f710abc0e17de82c67df

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-541-g5b3619f
    commit: 5b3619f3751ecef55fa993984ddb59a458fcebed

Component: piglit
    tag: piglit-v1
    commit: cb562a383229074b44db6998b85572d2abe7c363
	
======================================
	     Software
======================================
kernel version              : 4.15.0-rc1-drm-tip-ww48-commit-73f135d+
hostname                    : CFL-1
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 104.3
bios release date           : 09/14/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.88
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-541-g5b3619f
intel-gpu-tools (commit)    : 5b3619f

======================================
	     Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.57 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1

======================================
	     Firmware
======================================
dmc fw loaded             : no
guc fw loaded             : fetch SUCCESS, load SUCCESS
guc version wanted        : wanted 9.14, found 9.14
guc version found         : wanted 9.14, found 9.14

======================================
	     kernel parameters
======================================
quiet drm.debug=0xe log_buf_len=4M intel_iommu=igfx_off i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 pci=pcie_bus_safe auto panic=1 nmi_watchdog=panic resume=/dev/nvme0n1p3 fastboot
Comment 2 Hector Velazquez 2017-11-29 21:45:14 UTC
Created attachment 135818 [details]
dmesg -w
Comment 3 Chris Wilson 2017-11-29 22:05:11 UTC
Demanding guc, but not providing guc; fail.

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.