Bug 103990 - [CI] igt@gem_*suspend* - fail - Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
Summary: [CI] igt@gem_*suspend* - fail - Failed assertion: igt_sysfs_set(power_dir, "s...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-30 07:46 UTC by Marta Löfstedt
Modified: 2018-01-11 07:53 UTC (History)
1 user (show)

See Also:
i915 platform: GLK, HSW, KBL
i915 features: power/Other


Attachments

Description Marta Löfstedt 2017-11-30 07:46:50 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3412/shard-hsw7/igt@gem_exec_suspend@basic-s3-devices.html

(gem_exec_suspend:6240) igt-aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file igt_aux.c:828:
(gem_exec_suspend:6240) igt-aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(gem_exec_suspend:6240) igt-aux-CRITICAL: Last errno: 16, Device or resource busy
Subtest basic-S3-devices failed.

from dmesg:
<7>[  560.756437] [IGT] gem_exec_suspend: executing
<4>[  560.980079] Setting dangerous option reset - tainting kernel
<7>[  560.980769] [IGT] gem_exec_suspend: starting subtest basic-S3-devices
<6>[  561.489194] PM: suspend entry (deep)
<6>[  561.489197] PM: Syncing filesystems ... done.
<6>[  561.662050] Freezing user space processes ... 
<3>[  581.669469] Freezing of tasks failed after 20.007 seconds (1 tasks refusing to freeze, wq_busy=0):
<6>[  581.669511] fstrim          D    0  6120   6119 0x00000004
<4>[  581.669524] Call Trace:
<4>[  581.669534]  ? __schedule+0x3c3/0xaf0
<4>[  581.669543]  ? wait_for_common_io.constprop.2+0x118/0x1c0
<4>[  581.669547]  schedule+0x37/0x90
<4>[  581.669551]  schedule_timeout+0x216/0x520
<4>[  581.669557]  ? trace_hardirqs_on_caller+0xde/0x1c0
<4>[  581.669567]  ? wait_for_common_io.constprop.2+0x118/0x1c0
<4>[  581.669570]  io_schedule_timeout+0x14/0x40
<4>[  581.669575]  wait_for_common_io.constprop.2+0x137/0x1c0
<4>[  581.669580]  ? wake_up_q+0x70/0x70
<4>[  581.669588]  submit_bio_wait+0x6b/0x80
<4>[  581.669599]  ? submit_bio_wait+0x6b/0x80
<4>[  581.669605]  blkdev_issue_discard+0x6c/0xb0
<4>[  581.669616]  ? ext4_trim_fs+0x489/0xbe0
<4>[  581.669619]  ext4_trim_fs+0x489/0xbe0
<4>[  581.669636]  ext4_ioctl+0xc85/0xf20
<4>[  581.669647]  do_vfs_ioctl+0x8a/0x680
<4>[  581.669651]  ? entry_SYSCALL_64_fastpath+0x5/0x89
<4>[  581.669655]  ? trace_hardirqs_on_caller+0xde/0x1c0
<4>[  581.669661]  SyS_ioctl+0x36/0x70
<4>[  581.669666]  entry_SYSCALL_64_fastpath+0x1c/0x89
<4>[  581.669669] RIP: 0033:0x7f313e039587
<4>[  581.669672] RSP: 002b:00007ffdf341b528 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[  581.669677] RAX: ffffffffffffffda RBX: 00007ffdf341b6e0 RCX: 00007f313e039587
<4>[  581.669679] RDX: 00007ffdf341b530 RSI: 00000000c0185879 RDI: 0000000000000004
<4>[  581.669682] RBP: 000055fccc3c4f90 R08: 000055fccc3cb180 R09: 0000000000000000
<4>[  581.669684] R10: 000000000000000a R11: 0000000000000246 R12: 000055fccc3c4f70
<4>[  581.669687] R13: 00007ffdf341b668 R14: 0000000000000000 R15: 000055fccc3c5800
<6>[  581.669701] OOM killer enabled.
<6>[  581.669703] Restarting tasks ... done.
<6>[  581.673824] video LNXVIDEO:00: Restoring backlight state
<6>[  581.673832] PM: suspend exit
<4>[  581.706762] Setting dangerous option reset - tainting kernel
Comment 1 Marta Löfstedt 2017-12-11 07:26:02 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3482/fi-glk-dsi/igt@gem_exec_suspend@basic-s4-devices.html

(gem_exec_suspend:3063) igt-aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file igt_aux.c:828:
(gem_exec_suspend:3063) igt-aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(gem_exec_suspend:3063) igt-aux-CRITICAL: Last errno: 16, Device or resource busy
Subtest basic-S4-devices failed.

from dmesg:
<7>[  228.773059] [drm:gen9_set_dc_state [i915]] Setting DC state from 00 to 01
<4>[  229.112161] hpet1: lost 7161 rtc interrupts
<4>[  229.989790] hpet1: lost 7160 rtc interrupts
<4>[  230.868251] hpet1: lost 7160 rtc interrupts
<4>[  231.726369] hpet1: lost 7161 rtc interrupts
<4>[  232.605820] hpet1: lost 7161 rtc interrupts
<4>[  233.489394] hpet1: lost 7161 rtc interrupts
<4>[  234.373256] hpet1: lost 7161 rtc interrupts
<4>[  235.256883] hpet1: lost 7161 rtc interrupts
<4>[  236.139961] hpet1: lost 7160 rtc interrupts
<4>[  237.023157] hpet1: lost 7160 rtc interrupts
<4>[  237.905829] hpet1: lost 7161 rtc interrupts
<4>[  238.769028] hpet1: lost 7160 rtc interrupts
<4>[  239.631832] hpet1: lost 7161 rtc interrupts
<4>[  240.515544] hpet1: lost 7160 rtc interrupts
<4>[  241.398214] hpet1: lost 7160 rtc interrupts
<4>[  242.281046] hpet1: lost 7161 rtc interrupts
<3>[  247.370979] Freezing of tasks failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0):
<6>[  247.371042] java            D    0  1401   1385 0x80000004
<4>[  247.371074] Call Trace:
<4>[  247.371110]  ? __schedule+0x3c3/0xaf0
<4>[  247.371138]  schedule+0x37/0x90
<4>[  247.371160]  do_exit+0xa4a/0xcc0
<4>[  247.371184]  ? exit_to_usermode_loop+0x67/0x80
<4>[  247.371255]  rewind_stack_do_exit+0x17/0x20
<6>[  247.371295] OOM killer enabled.
<6>[  247.371312] Restarting tasks ... done.
<6>[  247.402331] PM: suspend exit
<4>[  247.584364] Setting dangerous option reset - tainting kernel
Comment 2 Marta Löfstedt 2017-12-11 07:53:43 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3489/shard-hsw2/igt@gem_eio@suspend.html

(gem_eio:1637) igt-aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file igt_aux.c:828:
(gem_eio:1637) igt-aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(gem_eio:1637) igt-aux-CRITICAL: Last errno: 16, Device or resource busy
Subtest suspend failed.
Comment 3 Marta Löfstedt 2017-12-11 08:20:25 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3490/shard-kbl3/igt@gem_exec_suspend@basic-s3-devices.html

(gem_exec_suspend:1534) igt-aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file igt_aux.c:828:
(gem_exec_suspend:1534) igt-aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(gem_exec_suspend:1534) igt-aux-CRITICAL: Last errno: 16, Device or resource busy
Subtest basic-S3-devices failed.
Comment 4 Marta Löfstedt 2017-12-12 07:22:25 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4057/shard-glkb1/igt@gem_eio@suspend.html

(gem_eio:3646) igt-aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file igt_aux.c:828:
(gem_eio:3646) igt-aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(gem_eio:3646) igt-aux-CRITICAL: Last errno: 16, Device or resource busy
Subtest suspend failed.
Comment 5 Marta Löfstedt 2017-12-15 12:45:59 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4064/shard-snb3/igt@gem_eio@hibernate.html

(gem_eio:1514) igt-aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file igt_aux.c:828:
(gem_eio:1514) igt-aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(gem_eio:1514) igt-aux-CRITICAL: Last errno: 16, Device or resource busy
Subtest hibernate failed.
Comment 6 Marta Löfstedt 2018-01-11 07:53:36 UTC
This issue is no longer reproduced, I will close and archive


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.