Bug 105723 - [IGT] some drv_suspend subtests failed with assertion: ret == 0 / rtcwake failed with 1
Summary: [IGT] some drv_suspend subtests failed with assertion: ret == 0 / rtcwake fai...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-23 22:31 UTC by Hector Velazquez
Modified: 2018-04-13 22:38 UTC (History)
1 user (show)

See Also:
i915 platform: CNL
i915 features: power/Other


Attachments
output (3.61 KB, text/plain)
2018-03-23 22:31 UTC, Hector Velazquez
no flags Details
dmesg -w -H (245.84 KB, text/plain)
2018-03-23 22:32 UTC, Hector Velazquez
no flags Details
kernel log (3.53 MB, text/plain)
2018-03-23 22:32 UTC, Hector Velazquez
no flags Details

Description Hector Velazquez 2018-03-23 22:31:54 UTC
Created attachment 138324 [details]
output

This tests has failed on CNL QA

Test List

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

======================================
        output
======================================
**** DEBUG ****
(drv_suspend:864) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(drv_suspend:864) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(drv_suspend:864) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(drv_suspend:864) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(drv_suspend:864) igt-aux-DEBUG: Test requirement passed: ret == 0
(drv_suspend:864) igt-core-INFO: [cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Sun Mar 18 08:41:00 2018
(drv_suspend:864) igt-core-WARNING: [cmd] rtcwake: write error[cmd] 
(drv_suspend:864) igt-aux-WARNING: rtcwake failed with 1
Check dmesg for further details.
(drv_suspend:864) igt-aux-DEBUG: suspend_stats:
success: 0
fail: 1
failed_freeze: 1
failed_prepare: 0
failed_suspend: 0
failed_suspend_late: 0
failed_suspend_noirq: 0
failed_resume: 0
failed_resume_early: 0
failed_resume_noirq: 0
failures:
  last_failed_dev:	
			
  last_failed_errno:	-11
			0
  last_failed_step:	freeze
			
(drv_suspend:864) igt-aux-CRITICAL: Test assertion failure function suspend_via_rtcwake, file igt_aux.c:825:
(drv_suspend:864) igt-aux-CRITICAL: Failed assertion: ret == 0
(drv_suspend:864) igt-aux-CRITICAL: error: 1 != 0
(drv_suspend:864) igt-core-INFO: Stack trace:
(drv_suspend:864) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(drv_suspend:864) igt-core-INFO:   #1 [igt_system_suspend_autoresume+0x52b]
(drv_suspend:864) igt-core-INFO:   #2 [<unknown>+0x52b]
****  END  ****

======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.89-110-gb81d44d
    commit: b81d44d587d1706d5c7568e539340632a748782b

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.21-236-gc30e331
    commit: c30e331188c97c9cb8e125abbfe56e1aea3241f7

Component: piglit
    tag: piglit-v1
    commit: 48e2cd77236c0dc0b7b5ef39db9803072d24deaf
======================================
	     Software
======================================
kernel version              : 4.16.0-rc6-drm-intel-qa-ww12-commit-dff9ece+
hostname                    : CNL-1
architecture                : x86_64
os version                  : Ubuntu 17.10
os codename                 : artful
kernel driver               : i915
bios revision               : 124.2
bios release date           : 02/05/2018
ksc                         : 1.36
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
	Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.19.5 X.Org Video Driver
libdrm                      : 2.4.91
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-236-gc30e3311
intel-gpu-tools (commit)    : c30e3311

======================================
	     Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.10GHz
gpu card                   : Intel Corporation Device 5a41 (rev 04) (prog-if 00 [VGA controller])
memory ram                 : 7.63 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 3
socket                     : Other
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1 HDMI-A-1

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
guc fw loaded             : fetch NONE, load NONE
guc version wanted        : wanted 0.0, found 0.0
guc version found         : wanted 0.0, found 0.0

======================================
	     kernel parameters
======================================
quiet drm.debug=0x1e intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic fsck.repair=yes i915.error_capture=yes resume=/dev/nvme0n1p2 fastboot
Comment 1 Hector Velazquez 2018-03-23 22:32:13 UTC
Created attachment 138325 [details]
dmesg -w -H
Comment 2 Hector Velazquez 2018-03-23 22:32:31 UTC
Created attachment 138326 [details]
kernel log
Comment 3 Jani Saarinen 2018-03-29 07:10:28 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 4 Elizabeth 2018-04-13 22:38:14 UTC
Seems to be working properly now. Closing, please reopen if issue reappear. Thank you.

$ : sudo -E ./drv_suspend --r debugfs-reader
IGT-Version: 1.22-g80e4910 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww15-commit-6b9e85a+ x86_64)
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Apr 13 16:34:14 2018
Subtest debugfs-reader: SUCCESS (4.770s)

$ : sudo -E ./drv_suspend --r fence-restore-tiled2untiled-hibernate
IGT-Version: 1.22-g80e4910 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww15-commit-6b9e85a+ x86_64)
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "disk" using /dev/rtc0 at Fri Apr 13 16:35:55 2018
checking the first canary object
checking the second canary object
Subtest fence-restore-tiled2untiled-hibernate: SUCCESS (7.060s)

$ : sudo -E ./drv_suspend --r sysfs-reader
IGT-Version: 1.22-g80e4910 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww15-commit-6b9e85a+ x86_64)
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Apr 13 16:37:25 2018
Subtest sysfs-reader: SUCCESS (4.616s)


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.