REGRESSION libautopilot-qt_20140303 causes a unity8 test failure

Bug #1287727 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot Qt Support
New
Undecided
Unassigned
autopilot-qt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After upgrading libautopilot-qt, there's a reliable unity8 test failure:

⟫ phablet-test-run -n unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_incoming_call
Disabling shell
unity8 stop/waiting
bash: cd: /home/phablet/autopilot: No such file or directory
Loading tests from: /usr/lib/python2.7/dist-packages

Tests running...
WARNING: in file "/usr/lib/python2.7/dist-packages/unity8/shell/tests/__init__.py", line 148 in setUp
This function is deprecated. Please use 'the Touch class to instantiate a device object' instead.
======================================================================
ERROR: unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_incoming_call(Native Device)
----------------------------------------------------------------------
/var/log/syslog: {{{
Mar 4 15:35:32 ubuntu-phablet kernel: [ 811.378422] input: autopilot-finger as /devices/virtual/input/input18
Mar 4 15:35:32 ubuntu-phablet kernel: [ 811.501235] input: autopilot-finger as /devices/virtual/input/input19
Mar 4 15:35:33 ubuntu-phablet kernel: [ 812.084846] healthd: battery l=26 v=3804 t=38.5 h=2 st=2 c=64 chg=u
Mar 4 15:35:37 ubuntu-phablet kernel: [ 816.081275] amp_enable: AMP_EN is set to 1
Mar 4 15:35:42 ubuntu-phablet kernel: [ 821.364046] SLIM_CL: skip reconfig sequence
Mar 4 15:35:42 ubuntu-phablet kernel: [ 821.373233] amp_enable: amp enable bypass(2)
Mar 4 15:35:42 ubuntu-phablet kernel: [ 821.373264] amp_enable: AMP_EN is set to 0
Mar 4 15:35:43 ubuntu-phablet kernel: [ 822.111460] adjust_soc: ibat_ua = 297900, vbat_uv = 3729799, soc = 26, ba
tt_temp=385
Mar 4 15:35:43 ubuntu-phablet kernel: [ 822.117045] healthd: battery l=26 v=3768 t=38.5 h=2 st=2 c=297 chg=u
Mar 4 15:35:51 ubuntu-phablet kernel: [ 830.501724] wlan: [1177:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Dis
able split scan
}}}

traceback-1: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unity8/shell/tests/test_notifications.py", line 292, in _tidy_up_script_pr
ocess
os.killpg(self._notify_proc.pid, signal.SIGTERM)
OSError: [Errno 3] No such process
}}}

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unity8/shell/tests/test_notifications.py", line 199, in test_sd_incoming_c
all
self._assert_notification(notification, None, None, True, True, 1.0)
File "/usr/lib/python2.7/dist-packages/unity8/shell/tests/test_notifications.py", line 96, in _assert_notificatio
n
self.assertThat(notification.iconSource, Eventually(NotEquals("")))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
raise mismatch_error
MismatchError: After 10.0 seconds test on Notification.iconSource failed: u'' == dbus.String(u'', variant_level=1
)

Ran 1 test in 19.640s
FAILED (failures=1)
Restoring shell
unity8 start/running, process 8149

Also seen on smoke tests:

http://ci.ubuntu.com/smokeng/trusty/touch/mako/219:20140304:20140304/6967/unity8/848175/

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libautopilot-qt 1.4+14.04.20140303-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.13.2-0ubuntu5
Architecture: armhf
Date: Tue Mar 4 15:36:05 2014
SourcePackage: autopilot-qt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopilot-qt - 1.4+14.04.20140303.is.1.4+14.04.20131106.1-0ubuntu1

---------------
autopilot-qt (1.4+14.04.20140303.is.1.4+14.04.20131106.1-0ubuntu1) trusty; urgency=medium

  * Revert to previous version as it creates some AP tests to fail.
    (LP: #1287727)
 -- Didier Roche <email address hidden> Tue, 04 Mar 2014 16:00:40 +0100

Changed in autopilot-qt (Ubuntu):
status: New → 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.