Skip to content

Checkbox snap cannot resume from poweroff and reboot tests #722

@clairlin53

Description

@clairlin53

Bug Description

The DUT always restart the test plan and will not finish the test while running the reboot/poweroff.
The session will keep increasing.

  1. The job power-management/poweroff and power-management/reboot from the client-cert-desktop-22-04-automated test plan use pm_test.py to go with poweroff/reboot will cause the test plan restart.

  2. The job power-management/suspend_30_cycles_with_reboots from the client-cert-desktop-22-04-stress test plan use pm_test.py to reboot the DUT will cause the test case restart.

Note:
Run checkbox remote with debian version, the client-cert-desktop-22-04-automated test passed, the session can be finished.
CID:202302-31214
Checkbox version:2.9.1

To Reproduce

  1. $snap install checkbox22 --beta
  2. $snap install checkbox --beta --classic
  3. Run Checkbox Remote via command on host $checkbox.checkbox-cli remote <IP address>
  4. Select client-cert-desktop-22-04-automated or client-cert-desktop-22-04-stress test plan

Environment

  1. CID: 202302-31262
  2. OS: Jammy Desktop
  3. Checkbox Type: Snap
  4. Snap list info
bare                       1.0               5      latest/stable    canonical✓           base
bugit                      1.2               25     latest/edge      pieq                 devmode
checkbox                   2.9.1             2779   latest/beta      ce-certification-qa  classic
checkbox22                 2.9.1             478    latest/beta      ce-certification-qa  -
core20                     20230801          2015   latest/stable    canonical✓           base
core22                     20230801          864    latest/stable    canonical✓           base
firefox                    117.0.1-2         3131   latest/stable/…  mozilla✓             -
gnome-3-38-2004            0+git.efb213a     143    latest/stable/…  canonical✓           -
gnome-42-2204              0+git.ff35a85     126    latest/stable/…  canonical✓           -
gtk-common-themes          0.1-81-g442e511   1535   latest/stable/…  canonical✓           -
snap-store                 41.3-71-g709398e  959    latest/stable/…  canonical✓           -
snapd                      2.60.3            20092  latest/stable    canonical✓           snapd
snapd-desktop-integration  0.9               83     latest/stable/…  canonical✓           -
sosreport                  4.6.0             225    latest/stable    arif-ali             classic

Relevant log output

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions