SwitcherControllerImpl autopilot test failures in unity - 6.12.0daily13.01.29.2-0ubuntu1

Bug #1109192 reported by Francis Ginther
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Łukasz Zemczak
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The ps unity daily release job [1] is failing with error similar to:
17:41:16.579 ERROR testresult:23 - ERROR: unity.tests.test_switcher.SwitcherTests.test_switcher_starts_in_normal_mode(show_desktop_icon_true)
17:41:16.580 ERROR testresult:23 - traceback: {{{
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unity/tests/test_switcher.py", line 84, in test_switcher_starts_in_normal_mode
    self.assertProperty(self.switcher, mode=SwitcherMode.NORMAL)
  File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 551, in assertProperty
    attr = getattr(obj, prop_name, none_val)
  File "/usr/lib/python2.7/dist-packages/unity/emulators/switcher.py", line 89, in mode
    if self.controller.model.detail_selection and not self.controller.model.only_detail_on_viewport:
  File "/usr/lib/python2.7/dist-packages/unity/emulators/switcher.py", line 240, in model
    i = self.get_children_by_type(SwitcherControllerImpl)[0]
IndexError: list index out of range
}}}

The failures are believed to be caused by some switcher refactoring changes in [2].

[1] - https://jenkins.qa.ubuntu.com/job/ps-unity-autopilot-release-testing/59/
[2] - https://code.launchpad.net/~bregma/unity/refactor-switcher-controller-2/+merge/145025

Related branches

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Last week I fixed the switcher tests to fit the new switcher implementation after Sam's refactoring, but Stephen did some more regactoring this week and all switcher tests are broken again. I'll work on those tomorrow morning.

Changed in unity:
assignee: nobody → Łukasz Zemczak (sil2100)
status: New → In Progress
importance: Undecided → High
Changed in unity:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 6.12.0daily13.02.04.1-0ubuntu1

---------------
unity (6.12.0daily13.02.04.1-0ubuntu1) raring; urgency=low

  * debian/control:
    - recommends indicator-sync so it gets installed by default
      (lp: #1053482)
    - recommends indicator-bluetooth as well (lp: #1111314)

  [ Łukasz 'sil2100' Zemczak ]
  * debian/control:
    - bump compiz build-dep due to the last ABI break

  [ Brandon Schaefer ]
  * [regression] Clicking on the indicators when the Dash is open no
    longer closes the Dash. (LP: #1109150)
  * [staging][raring] Dash Maximise/Restore button depends on the
    launcher icon size. (LP: #1101310)

  [ Romain Perier ]
  * The Dash closes when trying to switch to the Command lens (Alt+F2)
    (LP: #1019457)

  [ Marco Trevisan (Treviño) ]
  * Launcher can have smaller size on monitor resolution change (LP:
    #1105382)
  * Dragging down a window from the panel on an external monitor,
    restores it at wrong offset (LP: #1104043)
  * [regression] Alt+Tab/Alt+grave brings other window to the front but
    loses focus entirely. (LP: #1111620)
  * Quicklist items need a way to be ellipsized (LP: #1111471)

  [ Charles Kerr <email address hidden>, Andrea Azzarone ]
  * the GObject subclasses in tests/ don't dispose() properly (LP:
    #986875)

  [ Nicolas d'Offay ]
  * Speed up dash blur (LP: #1102410)

  [ Manuel de la Pena ]
  * API changes to FindKeyFocusArea in the Preview class stops more
    complicated previous fom setting the correct focus (LP: #1102387)

  [ MC Return ]
  * Wrong description in Dconf key
    com.canonical.unity.launcher.favorites (LP: #1112560)
  * Keyboard shortcut overlay says Ctrl+Super+Down "minimises" the
    current window, but it doesn't (LP: #966099)

  [ Andrea Azzarone ]
  * unmounting any gvfs-mounted device from unity menu crashes compiz
    (LP: #1111389)
  * compiz crashed with SIGSEGV in async_wrapper_callback() from
    g_simple_async_result_complete() from
    _g_simple_async_result_complete_with_cancellable() from
    unmount_reply() (LP: #1102926)

  [ Łukasz 'sil2100' Zemczak ]
  * SwitcherControllerImpl autopilot test failures in unity -
    6.12.0daily13.01.29.2-0ubuntu1 (LP: #1109192)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 3117
 -- Automatic PS uploader <email address hidden> Mon, 04 Feb 2013 09:59:13 +0000

Changed in unity (Ubuntu):
status: New → Fix Released
Andrea Azzarone (azzar1)
Changed in unity:
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.