← Back to team overview

desktop-packages team mailing list archive

[Bug 1436095] Re: AP test failure: unity.tests.test_spread.SpreadTests.test_scaled_window_closes_on_middle_click

 

This bug was fixed in the package unity - 7.3.2+15.04.20150330-0ubuntu1

---------------
unity (7.3.2+15.04.20150330-0ubuntu1) vivid; urgency=medium

  [ Andrea Azzarone ]
  * Do not restore focus if a quicklist is opened during launcher key
    navigation. (LP: #932486)
  * Forward first key event that happens on top of the blank window to
    the lockscreen. (LP: #1308265)
  * Hide launcher to avoid damaging window when not needed. Also make
    sure that pressure effect works fine (previous fix has been reverted
    because of this!). (LP: #1301394)
  * Make sure scope_views_[filter.id] exists before using operator[] on
    it. (LP: #926979)
  * Make sure that signals are auto-desconnected when
    XdndStartStopNotifierImp is destroyed. (LP: #1432231)
  * Release pointer barrier if launcher is in lock_hide state. (LP:
    #1029114)

  [ Sebastien Bacher ]
  * use the new nautilus .desktop name (LP: #1436297)

  [ Stephen M. Webb ]
  * AP tests: accounted for arbitrarily-raised exceptions in checking
    scaled windows (LP: #1436095)
 -- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx>   Mon, 30 Mar 2015 15:48:47 +0000

** Changed in: unity (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity
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:
  In Progress
Status in unity package in Ubuntu:
  Fix Released

Bug 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