An error terminal pop-up instead of finished test for poweroff/reboot test

Bug #1768443 reported by Betty Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Sylvain Pineau

Bug Description

Image: pc-timbuktu-bionic-amd64-m4-20180429-64

Steps:
Run power-management/poweroff or power-management/reboot on 18.04 image

Expected result:
After power off (or reboot), and then system gathering the information. A test finished notification should be displayed.

Actual result:
An error terminal pop-up (Please look at attached picture.)
Click "Relaunch", nothing response.
Click "Preferences", a window 'Preferences - Profile - "Unnamed"' was displayed.

root@u-Inspiron-5579:~# checkbox-cli -v
INFO:plainbox.config:Loading configuration from ['/etc/xdg/plainbox.conf', '/home/u/.config/plainbox.conf']
INFO:plainbox.secure.providers.v1:Provider initialized com.canonical.ce:oem, version 1.0
INFO:plainbox.secure.providers.v1:Provider initialized certification-client, version 0.33.0
INFO:plainbox.secure.providers.v1:Provider initialized plainbox-provider-checkbox, version 0.44.0
INFO:plainbox.secure.providers.v1:Provider initialized plainbox-provider-resource-generic, version 0.36.0
INFO:plainbox.secure.providers.v1:Provider initialized plainbox-provider-tpm2, version 1.7.0
INFO:plainbox.secure.providers.v1:Provider initialized com.canonical.plainbox:manifest, version 1.0
INFO:plainbox.secure.providers.v1:Provider initialized com.canonical.plainbox:exporters, version 1.0
INFO:plainbox.secure.providers.v1:Provider initialized com.canonical.plainbox:categories, version 1.0

Revision history for this message
Betty Lin (bettyl) wrote :
Revision history for this message
Betty Lin (bettyl) wrote :
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Reproduced but syslog does not really help:

May 2 09:36:41 ubuntu pm_test.desktop[1460]: Test: Scan kernel log for Oopses.
May 2 09:36:41 ubuntu pm_test.desktop[1460]: : 50.0% /#015 Kernel log oops check. : 50.0% -#015 Kernel log oops check. : 100.0% \#015 #015 Kernel log oops check. 2 passed
May 2 09:36:41 ubuntu pm_test.desktop[1460]: DEBUG Removing desktop file ('/home/u/.config/autostart/pm_test.desktop')...
May 2 09:36:41 ubuntu pm_test.desktop[1460]: DEBUG Restoring sudoers configuration...
May 2 09:36:41 ubuntu pm_test.desktop[1460]: DEBUG Executing: "sed -i -e '/# Automatically added by pm.py/,+1d' /etc/sudoers"...
May 2 09:36:41 ubuntu pm_test.desktop[1460]: DEBUG Restoring autologin configuration...
May 2 09:36:41 ubuntu pm_test.desktop[1460]: INFO Total elapsed time: 0:01:01.642368
May 2 09:36:41 ubuntu pm_test.desktop[1460]: Average recovery time: 0:00:21.642368
May 2 09:36:41 ubuntu pm_test.desktop[1460]: INFO Reboot test complete
May 2 09:36:41 ubuntu dbus-daemon[1677]: [session uid=0 pid=1675] AppArmor D-Bus mediation is enabled
May 2 09:36:41 ubuntu dbus-daemon[1677]: [session uid=0 pid=1675] Activating service name='org.gnome.Terminal' requested by ':1.0' (uid=0 pid=1671 comm="/usr/bin/gnome-terminal.real -- sudo -u u bash -c " label="unconfined")
May 2 09:36:41 ubuntu dbus-daemon[1677]: [session uid=0 pid=1675] Activating service name='org.gtk.vfs.Daemon' requested by ':1.1' (uid=0 pid=1680 comm="/usr/lib/gnome-terminal/gnome-terminal-server " label="unconfined")
May 2 09:36:41 ubuntu dbus-daemon[1677]: [session uid=0 pid=1675] Successfully activated service 'org.gtk.vfs.Daemon'
May 2 09:36:41 ubuntu dbus-daemon[1677]: [session uid=0 pid=1675] Successfully activated service 'org.gnome.Terminal'
May 2 09:36:41 ubuntu pm_test.desktop[1460]: /usr/lib/plainbox-provider-checkbox/bin/pm_test:17: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
May 2 09:36:41 ubuntu pm_test.desktop[1460]: from gi.repository import GObject, Gtk
May 2 09:36:42 ubuntu gnome-shell[1216]: [pixel-saver]: Can't find original state for Terminal with id 0x2a00006
May 2 09:36:56 ubuntu /usr/lib/gdm3/gdm-x-session[1025]: (DB) vmware(0): New layout.
May 2 09:36:56 ubuntu /usr/lib/gdm3/gdm-x-session[1025]: (DB) vmware(0): 0: 0 0 1079 746
May 2 09:36:56 ubuntu /usr/lib/gdm3/gdm-x-session[1025]: (DB) vmware(0):
May 2 09:36:56 ubuntu /usr/lib/gdm3/gdm-x-session[1025]: (EE) No surface to present from.
May 2 09:36:56 ubuntu gnome-shell[1216]: JS WARNING: [resource:///org/gnome/shell/ui/workspaceThumbnail.js 903]: reference to undefined property "_switchWorkspaceNotifyId"
May 2 09:36:56 ubuntu gsd-color[1401]: unable to get EDID for xrandr-Virtual1: unable to get EDID for output

Changed in plainbox-provider-checkbox:
assignee: Chris Wayne (cwayne18) → Sylvain Pineau (sylvain-pineau)
status: New → In Progress
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
milestone: none → 0.45.0
Revision history for this message
Pierre Equoy (pieq) wrote :

Tested with Checkbox stack from the Testing PPA:

- checkbox-ng 1.1.0rc1
- checkbox-support 0.38.0rc1
- plainbox-provider-resource 0.37.0rc1
- plainbox-provider-checkbox 0.45.0rc1
- plainbox-provider-sru 1.11.0rc1
- plainbox-provider-certification-client 0.34.0rc1
- plainbox-provider-certification-server 0.39.0rc1
- plainbox 0.39.0rc1
- checkbox-converged 1.8.0rc1

Cannot reproduce this issue on 201708-25679 (18.04). After Poweroff/reboot jobs, Checkbox resumes and continues with the testing.

Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.