Bug 105253 - [CI] igt@gem_eio@hibernate - fail - Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
Summary: [CI] igt@gem_eio@hibernate - fail - Failed assertion: igt_sysfs_set(power_dir...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg 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: 2018-02-26 11:09 UTC by Martin Peres
Modified: 2018-06-19 14:25 UTC (History)
1 user (show)

See Also:
i915 platform: GLK, SNB
i915 features: power/Other


Attachments

Description Martin Peres 2018-02-26 11:09:51 UTC
(gem_eio:2421) igt-aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file igt_aux.c:844:
(gem_eio:2421) igt-aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(gem_eio:2421) igt-aux-CRITICAL: Last errno: 16, Device or resource busy
Subtest hibernate failed.

https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4297/shard-glkb6/igt@gem_eio@hibernate.html
Comment 1 Chris Wilson 2018-02-26 11:14:47 UTC
<7>[  510.669955] [IGT] gem_eio: starting subtest hibernate
<6>[  510.670498] PM: hibernation entry
<6>[  510.671521] PM: Syncing filesystems ... 
<7>[  510.777115] [drm:intel_power_well_disable [i915]] disabling DC off
<7>[  510.777155] [drm:gen9_enable_dc5 [i915]] Enabling DC5
<7>[  510.777188] [drm:gen9_set_dc_state [i915]] Setting DC state from 00 to 01
<6>[  510.961559] PM: done.
<6>[  510.961567] Freezing user space processes ... 
<3>[  530.979597] Freezing of tasks failed after 20.007 seconds (1 tasks refusing to freeze, wq_busy=0):
<6>[  530.980031] fstrim          D    0  2406   2405 0x00000004
<4>[  530.980074] Call Trace:
<4>[  530.980112]  ? __schedule+0x3c7/0xb00
<4>[  530.980141]  ? wait_for_common_io.constprop.2+0xe2/0x180
<4>[  530.980157]  schedule+0x37/0x90
<4>[  530.980172]  schedule_timeout+0x21d/0x510
<4>[  530.980189]  ? trace_hardirqs_on_caller+0xde/0x1c0
<4>[  530.980227]  ? wait_for_common_io.constprop.2+0xe2/0x180
<4>[  530.980240]  io_schedule_timeout+0x14/0x40
<4>[  530.980256]  wait_for_common_io.constprop.2+0x101/0x180
<4>[  530.980274]  ? wake_up_q+0x70/0x70
<4>[  530.980301]  submit_bio_wait+0x4a/0x60
<4>[  530.980358]  blkdev_issue_discard+0x6c/0xb0
<4>[  530.980403]  ? ext4_trim_fs+0x489/0xbe0
<4>[  530.980415]  ext4_trim_fs+0x489/0xbe0
<4>[  530.980518]  ext4_ioctl+0xc7c/0xf10
<4>[  530.980559]  do_vfs_ioctl+0x8a/0x670
<4>[  530.980572]  ? SyS_newfstat+0x29/0x40
<4>[  530.980594]  ? entry_SYSCALL_64_after_hwframe+0x52/0xb7
<4>[  530.980616]  SyS_ioctl+0x36/0x70
<4>[  530.980639]  do_syscall_64+0x65/0x1a0
<4>[  530.980657]  entry_SYSCALL_64_after_hwframe+0x42/0xb7
<4>[  530.980670] RIP: 0033:0x7fe1d6967587
<4>[  530.980680] RSP: 002b:00007fffe3ce8f38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[  530.980700] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fe1d6967587
<4>[  530.980710] RDX: 00007fffe3ce8f40 RSI: 00000000c0185879 RDI: 0000000000000004
<4>[  530.980719] RBP: 000055df30559f90 R08: 000055df30560180 R09: 0000000000000000
<4>[  530.980729] R10: 000000000000000a R11: 0000000000000246 R12: 000055df3055a800
<4>[  530.980739] R13: 0000000000000000 R14: 00007fe1d707f250 R15: 000055df3055a800
<6>[  530.980798] OOM killer enabled.
<6>[  530.980806] Restarting tasks ... done.
<6>[  531.012798] PM: hibernation exit
<7>[  531.016494] [IGT] gem_eio: exiting, ret=99

makes a return.
Comment 2 Martin Peres 2018-03-19 09:17:07 UTC
Also seen on sandybridge, on igt@gem_eio@suspend.

(gem_eio:1523) igt_aux-CRITICAL: Test assertion failure function suspend_via_sysfs, file ../lib/igt_aux.c:832:
(gem_eio:1523) igt_aux-CRITICAL: Failed assertion: igt_sysfs_set(power_dir, "state", suspend_state_name[state])
(gem_eio:1523) igt_aux-CRITICAL: Last errno: 16, Device or resource busy
Subtest suspend failed.

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3940/shard-snb4/igt@gem_eio@suspend.html
Comment 3 Martin Peres 2018-06-15 08:50:07 UTC
Not since since CI_DRM_3940 (2 months, 3 weeks / 1189 runs ago), let's close the bug!
Comment 4 Jani Saarinen 2018-06-19 14:25:59 UTC
Closing, thanks.


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.