Skip to contentSkip to conversation

igt/gem_exec_suspend/basic-s3 hangs when used with intel-ci/fast-feedback.testlist

Bug 98981 [email protected] 1 participant 10 messages Dec 3, 2016 – Aug 31, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=98981

Bug ID: 98981
Summary: [IVB] igt/gem_exec_suspend/basic-s3 hangs when used
with intel-ci/fast-feedback.testlist
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: IGT
Assignee: [email protected]
Reporter: [email protected]

The test igt/gem_exec_suspend/basic-s3 does not wake up from suspend when invoked as part of the testlis tintel-ci/fast-feedback.testlist

Manual wake up is needed, afterwards test reports pass.

I am in the process of finding the minimal test case.

So far, the smallest test set that triggers this:
sudo IGT_TEST_ROOT=pwd/intel-gpu-tools/tests ./piglit/piglit run igt -o results -l verbose -s --test-list intel-gpu-tools/tests/intel-ci/fast-feedback.testlist -t gem_exec

While specifying tests separately, the hangup does not occur:

Log of the complete run with a manual wakeup:
Time 0:04:10.425812
Stdout

IGT-Version: 1.17-g901c2bb (x86_64) (Linux: 4.9.0-rc7-CI-CI_DRM_1849+ x86_64)
rtcwake: wakeup from "mem" using /dev/rtc0 at Sat Dec 3 11:19:08 2016 Subtest basic-S3: SUCCESS (18.487s)

System:
Fedora 24, i7-3770, ASRock H77 Pro4/MVP

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=98981

--- Comment #1 from Dorota Czaplejewicz <[email protected]> --- Created attachment 128317
--> https://bugs.freedesktop.org/attachment.cgi?id=128317&action=edit
Increases the delay between the suspend request and the alarm event

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98981

--- Comment #2 from Dorota Czaplejewicz <[email protected]> --- The problem doesn't seem to appear every time now. My suspicion is that the wakeup alarm comes before the system is fully suspended, because increasing the delay makes the issue go away completely.

I have attached a patch that bumps the interval from 15s to 20s.

Perhaps an ideal solution - without making the timeout very large - would be to set a few repeating alarms in succession when such functionality is available, and if that's not possible, to fall back on a large enough value. Unfortunately, I didn't find any easy way to do that.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98981

--- Comment #3 from Chris Wilson <[email protected]> --- One question is why is taking longer than 15s (from time of alarm setup) to suspend? That in itself a failure to meet user expectations. (But yes igt, or at least the CI test harness, needs to be robust.)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98981

--- Comment #4 from Dorota Czaplejewicz <[email protected]> --- Perhaps I can time the process if you think it's relevant - currently I'm guessing the reason. Any suggestions on capturing timestamps?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98981

--- Comment #5 from Chris Wilson <[email protected]> --- Something like initcall_debug should show the times during suspend as well. Otherwise it will be a chore of adding printk to ensure we have timing events along the relevant callchains.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98981

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98981

--- Comment #6 from Elizabeth <[email protected]> --- Hello everybody,
Any update at this? According to
https://intel-gfx-ci.01.org/tree/drm-tip/fi-ivb-3520m.html and
https://intel-gfx-ci.01.org/tree/drm-tip/fi-ivb-3770.html the test igt@gem_exec_suspend@basic-s3 haven't failed recently.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98981

Lakshmi <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #7 from Lakshmi <[email protected]> --- This bug is outdated. Replace with the one used in CIbuglog.

*** This bug has been marked as a duplicate of bug 106220 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98981

Lakshmi <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel