There is a HoldoffTimeoutSec which will "Specifies a period of time after system startup or system resume in which systemd will hold off on reacting to lid events....Defaults to 30s. " So if we run this test just after a resume from suspend, it will failed. Please see LP bugs: LP:2042406, LP:2047136. Maybe we need add some notes to make the tester aware of this information.
This test case seems to be redundant with another test case power-management/lid. Each of them listed in the test plan after-suspend-graphics-integrated-gpu-cert-manual , so it's recursively included in the test plan client-cert-desktop-22-04-manual. Maybe we can remove one of them.
A improvement suggestion from Kent: Maybe we could move this test case away from the suspend_advanced_auto test case, to avoid the situation that run this test case just after the resume from suspend.
To Reproduce
checbox-cli run com.canonical.certification::power-management/lid_close_suspend_open
Bug Description
There are some issues related to the test case power-management/lid_close_suspend_open:
A typo that make the test steps jump from 3 to 5.
There is a HoldoffTimeoutSec which will "Specifies a period of time after system startup or system resume in which systemd will hold off on reacting to lid events....Defaults to 30s. " So if we run this test just after a resume from suspend, it will failed. Please see LP bugs: LP:2042406, LP:2047136. Maybe we need add some notes to make the tester aware of this information.
This test case seems to be redundant with another test case power-management/lid. Each of them listed in the test plan after-suspend-graphics-integrated-gpu-cert-manual , so it's recursively included in the test plan client-cert-desktop-22-04-manual. Maybe we can remove one of them.
A improvement suggestion from Kent: Maybe we could move this test case away from the suspend_advanced_auto test case, to avoid the situation that run this test case just after the resume from suspend.
To Reproduce
checbox-cli run com.canonical.certification::power-management/lid_close_suspend_open
Environment
checkbox: 4.0.0.dev139. Lenovo Desktop OEM image 1016-oem kernel
Relevant log output
No response
Additional context
No response