Summary: | [IGT] gem_exec_suspend some subtests, failed with assertion: ret == 0 / rtcwake failed with 1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Hector Velazquez <hector.franciscox.velazquez.suriano> | ||||||||||
Component: | DRM/Intel | Assignee: | nihal <nihalmudhiraj> | ||||||||||
Status: | CLOSED FIXED | QA Contact: | nihal <nihalmudhiraj> | ||||||||||
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: | ReadyForDev | ||||||||||||
i915 platform: | i915 features: | power/suspend-resume | |||||||||||
Attachments: |
|
This test are failing on CFL QA igt@gem_exec_suspend@hang-S3 ==================================================== Output Sample (same output) ==================================================== **** DEBUG **** (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:21367) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:21367) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: err == 0 (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring) (gem_exec_suspend:21367) igt-dummyload-DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) DEBUG: Verifying result (gem_exec_suspend:21367) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:21367) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:21367) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: err == 0 (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring) (gem_exec_suspend:21367) igt-dummyload-DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) DEBUG: Verifying result (gem_exec_suspend:21367) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:21367) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:21367) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: err == 0 (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring) (gem_exec_suspend:21367) igt-dummyload-DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) DEBUG: Verifying result (gem_exec_suspend:21367) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:21367) DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:21367) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:21367) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: err == 0 (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring) (gem_exec_suspend:21367) igt-dummyload-DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) DEBUG: Verifying result (gem_exec_suspend:21367) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:21367) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:21367) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:21367) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: err == 0 (gem_exec_suspend:21367) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring) (gem_exec_suspend:21367) igt-dummyload-DEBUG: Test requirement passed: nengine (gem_exec_suspend:21367) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_exec_suspend:21367) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_exec_suspend:21367) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_exec_suspend:21367) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_exec_suspend:21367) igt-aux-DEBUG: Test requirement passed: ret == 0 (gem_exec_suspend:21367) igt-core-INFO: [cmd] rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 8 17:51:24 2017 (gem_exec_suspend:21367) igt-core-WARNING: [cmd] rtcwake: [cmd] write error (gem_exec_suspend:21367) igt-aux-CRITICAL: Test assertion failure function suspend_via_rtcwake, file igt_aux.c:809: (gem_exec_suspend:21367) igt-aux-CRITICAL: Failed assertion: ret == 0 (gem_exec_suspend:21367) igt-aux-CRITICAL: rtcwake failed with 1 Check dmesg for further details. (gem_exec_suspend:21367) igt-core-INFO: Stack trace: (gem_exec_suspend:21367) igt-core-INFO: #0 [__igt_fail_assert+0x101] (gem_exec_suspend:21367) igt-core-INFO: #1 [igt_system_suspend_autoresume+0x5ae] (gem_exec_suspend:21367) igt-core-INFO: #2 [<unknown>+0x5ae] (gem_exec_suspend:21367) igt-core-INFO: #3 [<unknown>+0x5ae] (gem_exec_suspend:21367) igt-core-INFO: #4 [<unknown>+0x5ae] **** END **** This is my configuration: ====================================== Graphic stack ====================================== Component: drm tag: libdrm-2.4.81-79-g61ff977 commit: 61ff9779e37179ed5106c0e2452e16500127fb9e Component: cairo tag: 1.15.6-63-g3322580 commit: 3322580f0488ff77f53d86c2b4d3cf59e6dca4c7 Component: intel-gpu-tools tag: intel-gpu-tools-1.19-466-g1fc4de1 commit: 1fc4de1ca390adec9be8bd7cc0c36cab07465959 Component: piglit tag: piglit-v1 commit: 65b4b197da9e4121155f2dca3fca913e677e7bf2 ====================================== Software ====================================== kernel version : 4.14.0-rc7-drm-intel-qa-ww44-commit-2f945d9+ hostname : CFL-2 architecture : x86_64 os version : Ubuntu 16.10 os codename : yakkety kernel driver : i915 bios revision : 95.4 bios release date : 07/24/2017 ksc : 1.5 hardware acceleration : disabled swap partition : enabled on (/dev/sda3) ====================================== Graphic drivers ====================================== grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory libdrm : 2.4.87 cairo : 1.15.9 intel-gpu-tools (tag) : intel-gpu-tools-1.19-470-gc8d1ea2 intel-gpu-tools (commit) : c8d1ea2 ====================================== 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.58 GB max memory ram : 32 GB cpu thread : 12 cpu core : 6 cpu model : 158 cpu stepping : 10 socket : Other hard drive : 111GiB (120GB) current cd clock frequency : 337500 kHz maximum cd clock frequency : 675000 kHz displays connected : eDP-1 ====================================== Firmware ====================================== dmc fw loaded : yes dmc version : 1.1 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=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda3 fastboot Created attachment 135354 [details]
dmesg -w
This test continue failing on CNL QA igt@gem_exec_suspend@hang-S3 using IGT-IGT-Version: 1.20-g1db1246 (x86_64) (Linux: 4.15.0-rc2-drm-tip-ww49-commit-66be577+ x86_64) Component: intel-gpu-tools commit: 1db12466cb5ad8483cd469753d2e312a62d717b7 This test fails on BXT igt@gem_exec_suspend@hang-s3 using IGT-Version: 1.20-g4cd4cc4 (x86_64) (Linux: 4.15.0-rc5-drm-tip-ww52-commit-42a41a5+ x86_64) This tests has failing on CFL QA igt@gem_exec_suspend@hang-S3 IGT-Version: 1.20-g4cd4cc4 (x86_64) (Linux: 4.15.0-rc5-drm-tip-ww52-commit-42a41a5+ x86_64) (gem_exec_suspend:2147) igt-core-WARNING: [cmd] rtcwake: write error[cmd] (gem_exec_suspend:2147) igt-aux-WARNING: rtcwake failed with 1 Check dmesg for further details. (gem_exec_suspend:2147) igt-aux-CRITICAL: Test assertion failure function suspend_via_rtcwake, file igt_aux.c:821: (gem_exec_suspend:2147) igt-aux-CRITICAL: Failed assertion: ret == 0 (gem_exec_suspend:2147) igt-aux-CRITICAL: error: 1 != 0 Subtest hang-S3 failed. This test has failed on GLK QA Tests List: igt@gem_exec_suspend@render-cached-S4 igt@gem_exec_suspend@vebox-cached-S4 IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.16.0-rc1-drm-intel-qa-ww7-commit-28dc2a5+ x86_64) ====================================== output sample ====================================== . . . **** DEBUG **** (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: nengine (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: nengine (gem_exec_suspend:3188) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:3188) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:3188) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:3188) DEBUG: Verifying result (gem_exec_suspend:3188) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: nengine (gem_exec_suspend:3188) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:3188) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:3188) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:3188) DEBUG: Verifying result (gem_exec_suspend:3188) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: nengine (gem_exec_suspend:3188) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:3188) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:3188) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:3188) DEBUG: Verifying result (gem_exec_suspend:3188) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_has_ring(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: gem_can_store_dword(fd, engine) (gem_exec_suspend:3188) DEBUG: Test requirement passed: nengine (gem_exec_suspend:3188) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:3188) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:3188) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:3188) DEBUG: Verifying result (gem_exec_suspend:3188) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:3188) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_exec_suspend:3188) ioctl-wrappers-DEBUG: Test requirement passed: __gem_set_caching(fd, handle, caching) == 0 (gem_exec_suspend:3188) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (gem_exec_suspend:3188) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_exec_suspend:3188) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_exec_suspend:3188) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_exec_suspend:3188) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_exec_suspend:3188) igt-aux-DEBUG: Test requirement passed: ret == 0 (gem_exec_suspend:3188) igt-core-INFO: [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Sat Jan 13 06:21:25 2018 (gem_exec_suspend:3188) igt-core-WARNING: [cmd] rtcwake: write error[cmd] (gem_exec_suspend:3188) igt-aux-WARNING: rtcwake failed with 1 Check dmesg for further details. (gem_exec_suspend:3188) igt-aux-DEBUG: suspend_stats: success: 0 fail: 0 failed_freeze: 0 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: 0 0 last_failed_step: (gem_exec_suspend:3188) igt-aux-CRITICAL: Test assertion failure function suspend_via_rtcwake, file igt_aux.c:821: (gem_exec_suspend:3188) igt-aux-CRITICAL: Failed assertion: ret == 0 (gem_exec_suspend:3188) igt-aux-CRITICAL: error: 1 != 0 (gem_exec_suspend:3188) igt-core-INFO: Stack trace: (gem_exec_suspend:3188) igt-core-INFO: #0 [__igt_fail_assert+0x101] (gem_exec_suspend:3188) igt-core-INFO: #1 [igt_system_suspend_autoresume+0x544] (gem_exec_suspend:3188) igt-core-INFO: #2 [<unknown>+0x544] **** END **** . . . Created attachment 137363 [details]
otuput (All Tests)
Created attachment 137364 [details]
GLK dmesg -w -H
(In reply to Hector Velazquez from comment #8) > Created attachment 137364 [details] > GLK dmesg -w -H [ +0.000155] PM: Swap header not found! Could you provide the output of 'swapon --show' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 1 14.4G 0 disk ├─sdb2 8:18 1 7.2G 0 part └─sdb1 8:17 1 7.3G 0 part sda 8:0 0 223.6G 0 disk ├─sda2 8:2 0 39.5G 0 part / ├─sda3 8:3 0 15.9G 0 part [SWAP] └─sda1 8:1 0 512M 0 part /boot/efi $ : sudo swapon NAME TYPE SIZE USED PRIO /dev/sda3 partition 15.9G 0B -2 This tests has pass successfully on GLK QA Tests List: igt@gem_exec_suspend@hang-S3 igt@gem_exec_suspend@render-cached-S4 igt@gem_exec_suspend@vebox-cached-S4 IGT-Version: 1.21-g70254d1 (x86_64) (Linux: 4.16.0-rc2-drm-tip-ww8-commit-77655eb+ x86_64) . . . # swapon --show NAME TYPE SIZE USED PRIO /dev/sda2 partition 7.6G 0B -2 # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 111.8G 0 disk ├─sda1 8:1 0 1.9G 0 part /boot/efi ├─sda2 8:2 0 7.6G 0 part [SWAP] └─sda3 8:3 0 99.4G 0 part / . . . (removing GLK from the platform list, verified as fixed on GLK) This tests has pass successfully on CFL QA Tests List: igt@gem_reset_stats@params IGT-Version: 1.21-g70254d1 (x86_64) (Linux: 4.16.0-rc2-drm-tip-ww8-commit-77655eb+ x86_64) (removing CFL from the platform list, verified as fixed on CFL) Please omit comment 12, my mistake... This tests has pass successfully on CFL QA Tests List: igt@gem_exec_suspend@hang-S3 igt@gem_exec_suspend@render-cached-S4 igt@gem_exec_suspend@vebox-cached-S4 IGT-Version: 1.21-g70254d1 (x86_64) (Linux: 4.16.0-rc2-drm-tip-ww8-commit-77655eb+ x86_64) (removing CFL from the platform list, verified as fixed on CFL) This tests has pass successfully on BXT QA Tests List: igt@gem_exec_suspend@hang-S3 igt@gem_exec_suspend@render-cached-S4 igt@gem_exec_suspend@vebox-cached-S4 IGT-Version: 1.21-g70254d1 (x86_64) (Linux: 4.16.0-rc2-drm-tip-ww8-commit-f474dcd+ x86_64) (removing BXT from the platform list, verified as fixed on BXT) |
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.
Created attachment 135353 [details] output