dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #32416
[Bug 1436095] Re: AP test failure: unity.tests.test_spread.SpreadTests.test_scaled_window_closes_on_middle_click
Hello Stephen, or anyone else affected,
Accepted unity into trusty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/unity/7.2.5+14.04.20150521.1-0ubuntu1
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: unity (Ubuntu Trusty)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1436095
Title:
AP test failure:
unity.tests.test_spread.SpreadTests.test_scaled_window_closes_on_middle_click
Status in Unity:
Fix Committed
Status in Unity 7.2 series:
In Progress
Status in unity package in Ubuntu:
Fix Released
Status in unity source package in Trusty:
Fix Committed
Bug description:
[ Impact ]
Failed Autopilot tests are not good.
[ Test Case ]
1. Run 'autopilot run unity.tests.test_spread.SpreadTests.test_scaled_window_closes_on_middle_click'
2. Run 'autopilot run unity.tests.test_spread.SpreadTests.test_scaled_window_closes_on_close_button_click'
3. Observe that the tests don't fail.
[ Regression Potential ]
None observed.
Debdiff of the SRU is found here:
https://bugs.launchpad.net/unity/+bug/886478/+attachment/4401967/+files/unity.7.2.5.debdiff
-----------------------------------------------------------------------------
Original Description:
The following two AP tests consistently ERROR during regular Unity
testing.
======================================================================
ERROR: unity.tests.test_spread.SpreadTests.test_scaled_window_closes_on_middle_click
----------------------------------------------------------------------
Empty attachments:
/var/log/syslog
unity-log: {{{WARN 2015-03-24 13:43:02 nux.inputmethod.ibus
InputMethodIBus.cpp:63 Impossible to connect to connect to ibus}}}
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unity/tests/test_spread.py", line 128, in test_scaled_window_closes_on_middle_click
self.assertWindowIsScaledEquals(target_xid, False)
File "/usr/lib/python2.7/dist-packages/unity/tests/test_spread.py", line 68, in assertWindowIsScaledEquals
self.assertThat(refresh_fn, Eventually(Equals(scaled)))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 421, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 471, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 113, in match
wait_fun(self.matcher, self.timeout)
File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 129, in _callable_wait_for
new_value = refresh_fn()
File "/usr/lib/python2.7/dist-packages/unity/tests/test_spread.py", line 67, in <lambda>
refresh_fn = lambda: xid in [w.xid for w in self.unity.screen.scaled_windows]
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 520, in __getattr__
self.refresh_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 474, in refresh_state
_, new_state = self.get_new_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 564, in get_new_state
raise StateNotFoundError(self.__class__.__name__, id=self.id)
StateNotFoundError: Object not found with name 'Window' and properties {'id': 148832}.
======================================================================
ERROR: unity.tests.test_spread.SpreadTests.test_scaled_window_closes_on_close_button_click
----------------------------------------------------------------------
Empty attachments:
/var/log/syslog
unity-log: {{{WARN 2015-03-24 14:00:34 nux.inputmethod.ibus
InputMethodIBus.cpp:63 Impossible to connect to connect to ibus}}}
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unity/tests/test_spread.py", line 148, in test_scaled_window_closes_on_close_button_click
self.assertWindowIsScaledEquals(target_xid, False)
File "/usr/lib/python2.7/dist-packages/unity/tests/test_spread.py", line 68, in assertWindowIsScaledEquals
self.assertThat(refresh_fn, Eventually(Equals(scaled)))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 421, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 471, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 113, in match
wait_fun(self.matcher, self.timeout)
File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 129, in _callable_wait_for
new_value = refresh_fn()
File "/usr/lib/python2.7/dist-packages/unity/tests/test_spread.py", line 67, in <lambda>
refresh_fn = lambda: xid in [w.xid for w in self.unity.screen.scaled_windows]
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 520, in __getattr__
self.refresh_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 474, in refresh_state
_, new_state = self.get_new_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 564, in get_new_state
raise StateNotFoundError(self.__class__.__name__, id=self.id)
StateNotFoundError: Object not found with name 'Window' and properties {'id': 224517}.
======================================================================
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1436095/+subscriptions