← Back to team overview

touch-packages team mailing list archive

[Bug 1355894] Re: Unity8 AP test case: unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_app_moves_from_unfocused_to_focused fails on Nexus10

 

** No longer affects: unity8

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1355894

Title:
  Unity8 AP test case:
  unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_app_moves_from_unfocused_to_focused
  fails on Nexus10

Status in Mir:
  Invalid
Status in “unity8” package in Ubuntu:
  Triaged

Bug description:
  PlaybackStatusChanged signal arrived via the bus.
  qtmir.surfaces: MirSurfaceManager::~MirSurfaceManager - this= qtmir::MirSurfaceManager(0x14fe070, name = "qtmir::SurfaceManager")
  qtmir.applications: ApplicationManager::~ApplicationManager
  process 12174: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2890.
  This is normally a bug in some application using the D-Bus library.
  process 12174: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2777.
  This is normally a bug in some application using the D-Bus library.
  process 12174: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2777.
  This is normally a bug in some application using the D-Bus library.
  ======================================================================
  FAIL: unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_app_moves_from_unfocused_to_focused
  ----------------------------------------------------------------------
  Binary content:
  FailedTestScreenshot (image/png)

  /var/log/syslog: {{{
  Aug 12 13:02:11 ubuntu-phablet kernel: 0 input: autopilot-finger as /devices/virtual/input/input11
  Aug 12 13:02:11 ubuntu-phablet kernel: 0 exynos_tmu exynos_tmu: Throttling interrupt
  Aug 12 13:02:12 ubuntu-phablet kernel: 0 exynos_thermal_unthrottle: not throttling
  Aug 12 13:02:16 ubuntu-phablet kernel: 0 exynos_tmu exynos_tmu: Throttling interrupt
  Aug 12 13:02:18 ubuntu-phablet kernel: 0 exynos_tmu exynos_tmu: Throttling interrupt
  Aug 12 13:02:20 ubuntu-phablet kernel: 0 iio-buffer, current state requested again
  Aug 12 13:02:21 ubuntu-phablet kernel: 0 exynos_tmu exynos_tmu: Throttling interrupt
  Aug 12 13:02:22 ubuntu-phablet kernel: 0 exynos_thermal_unthrottle: not throttling
  Aug 12 13:02:22 ubuntu-phablet kernel: 0 exynos_tmu exynos_tmu: Throttling interrupt
  Aug 12 13:02:22 ubuntu-phablet kernel: 0 pd-maudio: Power-on latency exceeded, new value 146542 ns
  Aug 12 13:02:27 ubuntu-phablet kernel: 0 exynos_tmu exynos_tmu: Throttling interrupt
  Aug 12 13:02:31 ubuntu-phablet kernel: 0 exynos_tmu exynos_tmu: Throttling interrupt
  Aug 12 13:02:32 ubuntu-phablet kernel: 0 exynos_thermal_unthrottle: not throttling
  Aug 12 13:02:32 ubuntu-phablet kernel: 0 exynos_tmu exynos_tmu: Throttling interrupt
  }}}

  Application Log (tmpd5tskjkz): {{{
  Testability driver loaded. Wire protocol version is "1.4".
  UbuntuWindow - regular geometry
  UbuntuWindow::handleSurfaceFocusChange(focused=true)
  UbuntuWindow::handleSurfaceResize(width=2560, height=1540)
  UbuntuWindow::handleSurfaceFocusChange(focused=false)
  }}}

  Application Log (tmpyr1uu4nx): {{{
  Testability driver loaded. Wire protocol version is "1.4".
  UbuntuWindow - regular geometry
  UbuntuWindow::handleSurfaceResize(width=2560, height=1540)
  }}}

  test-log: {{{
  13:02:11.260 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
  13:02:11.265 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
  13:02:11.276 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/unity8/shell/tests/__init__.py", line 164 in setUp
  This function is deprecated. Please use 'the Touch class to instantiate a device object' instead.

  13:02:11.471 INFO __init__:268 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
  13:02:11.472 INFO __init__:346 - Setting up LightDM mock type 'single'
  13:02:11.544 INFO __init__:355 - New library path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single
  13:02:11.545 INFO __init__:317 - Starting unity
  13:02:11.616 INFO process_helpers:156 - Starting job unity8 with arguments ('BINARY=/usr/bin/unity8', 'ARGS=', 'LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single', 'QT_LOAD_TESTABILITY=1').
  13:02:12.091 INFO process_helpers:164 - unity8 start/running, process 6056

  13:02:23.153 DEBUG __init__:305 - Unity started, waiting for it to be ready.
  13:02:23.587 DEBUG __init__:307 - Unity loaded and ready.
  13:02:23.742 DEBUG _uinput:541 - Dragging from 2557,832 to 512,832
  13:02:26.927 INFO process_helpers:99 - Greeter unlocked, continuing.
  13:02:26.930 INFO _launcher:120 - Attempting to launch application 'tmpd5tskjkz' with URIs '' via upstart-app-launch
  13:02:28.893 INFO _launcher:120 - Attempting to launch application 'tmpyr1uu4nx' with URIs '' via upstart-app-launch
  13:02:31.026 INFO test_application_lifecycle:53 - Swiping screen from the right edge
  13:02:31.026 DEBUG _uinput:541 - Dragging from 2560,800 to 1280,800
  13:02:54.589 INFO __init__:330 - Stopping unity
  13:02:55.562 INFO __init__:246 - Resetting upstart env QT_LOAD_TESTABILITY to None
  }}}

  Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/unity8/application_lifecycle/tests/test_application_lifecycle.py", line 91, in test_app_moves_from_unfocused_to_focused
  self.assert_current_focused_application(application1_name)
  File "/usr/lib/python3/dist-packages/unity8/application_lifecycle/tests/__init__.py", line 49, in assert_current_focused_application
  Eventually(Equals(application_name)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
  raise mismatch_error
  testtools.matchers._impl.MismatchError: After 10.0 seconds test failed: 'tmpd5tskjkz' != 'tmpyr1uu4nx'

  Ran 49 tests in 1306.155s
  FAILED (failures=1)
  Restoring shell
  unity8 start/running, process 12570

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1355894/+subscriptions