Activity log for bug #1967454

Date Who What changed Old value New value Message
2022-04-01 04:03:56 StanleyHuang bug added bug
2022-04-01 04:03:59 StanleyHuang plainbox-provider-checkbox: importance Undecided Critical
2022-04-01 04:03:59 StanleyHuang plainbox-provider-checkbox: status New Confirmed
2022-04-01 04:04:26 StanleyHuang attachment added checkbox-session.tgz https://bugs.launchpad.net/bugs/1967454/+attachment/5575460/+files/checkbox-session.tgz
2022-04-01 04:04:28 StanleyHuang attachment added snap_list.log https://bugs.launchpad.net/bugs/1967454/+attachment/5575461/+files/snap_list.log
2022-04-01 04:04:31 StanleyHuang attachment added acpidump.log https://bugs.launchpad.net/bugs/1967454/+attachment/5575462/+files/acpidump.log
2022-04-01 04:04:35 StanleyHuang attachment added sosreport-u-ThinkStation-P350-2022-04-01-vsjejro.tar.gz https://bugs.launchpad.net/bugs/1967454/+attachment/5575463/+files/sosreport-u-ThinkStation-P350-2022-04-01-vsjejro.tar.gz
2022-04-01 04:12:31 StanleyHuang description [Summary] the checkbox session won't resume automatically after running reboot/power-off test [Steps to reproduce] 1. Install checkbox20 snap and checkbox snap 2. Perform "Power Management reboot and power off tests (automated)" test via checkbox.checkbox-cli cmd> checkbox.checkbox-cli run com.canonical.certification::power-management-reboot-poweroff-cert-automated 3. checkbox session won't resume automatically after boot into OS. [Expected result] checkbox session will be resume automatically after restart system. [Actual result] checkbox session won't resume automatically after restart system. [Failure rate] 3/3 [Stage] Issue reported and logs collected at a later stage [Summary] the checkbox session won't resume automatically after running reboot/power-off test I did some investigation on this issue, the reason why checkbox session won't resume automatically it's because of the command is incorrect in autostart config file. As you can see from following logs, it try to resume pm_test script by /snap/bin/checkbox.pm-test. But there's no such file in /snap/bin folder. u@u-ThinkStation-P350:~$ cat pm_test.py.desktop [Desktop Entry] Name=poweroff test Comment=Verify poweroff works properly Exec=sudo /snap/bin/checkbox.pm-test -r 0 -w 60 --hardware-delay 30 --pm-delay 5 --min-pm-time 58 --max-pm-time 300 --append --total 1 --start 1648781293 --pm-timestamp 1648781293 --silent --log-level=debug --log-dir=/var/tmp/checkbox-ng/sessions/remote-2022-04-01T02.47.34.session/session-share --suspends-before-reboot=0 --checkbox-respawn-cmd=/var/tmp/checkbox-ng/sessions/remote-2022-04-01T02.47.34.session/session-share/__respawn_checkbox poweroff Type=Application X-GNOME-Autostart-enabled=true Hidden=false u@u-ThinkStation-P350:~$ ls /snap/bin/ checkbox.checkbox-cli checkbox.sru qabro qabro.sosreport checkbox.client-cert-iot-server checkbox.test-runner qabro.amixer snap-store checkbox.configure chromium qabro.lspci snap-store.ubuntu-software checkbox.shell chromium.chromedriver qabro.lsusb snap-store.ubuntu-software-local-file [Steps to reproduce] 1. Install checkbox20 snap and checkbox snap 2. Perform "Power Management reboot and power off tests (automated)" test via checkbox.checkbox-cli cmd> checkbox.checkbox-cli run com.canonical.certification::power-management-reboot-poweroff-cert-automated 3. checkbox session won't resume automatically after boot into OS. [Expected result] checkbox session will be resume automatically after restart system. [Actual result] checkbox session won't resume automatically after restart system. [Failure rate] 3/3 [Stage] Issue reported and logs collected at a later stage
2022-04-01 05:01:49 Vic Liu summary [Checkbox SNAP] the checkbox session won't resume automatically after running reboot/power-off test [Checkbox SNAP] the checkbox session won't resume automatically after running reboot/power-off test on a desktop image
2022-07-12 08:05:22 Pierre Equoy tags hwe-powercycle checkbox-session-resume hwe-powercycle
2022-11-28 09:00:48 Maksim Beliaev bug watch added https://github.com/canonical/checkbox/issues/50
2022-11-28 09:00:49 Maksim Beliaev plainbox-provider-checkbox: status Confirmed Expired