Unity8 non-upstart tests fight for hardware with unity-system-compositor

Bug #1346819 reported by Para Siva
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released
Undecided
Michał Sawicz

Bug Description

Running unity8 AP tests (specifically unity8.shell.tests.test_upstart.UpstartIntegrationTests.test_no_sigstop) sees the following and the testing gets aborted:

06:09:34.549 INFO _logging:41 - Starting test unity8.shell.tests.test_upstart.UpstartIntegrationTests.test_no_sigstop (Native Device)
06:09:34.553 WARNING testcase:112 - No tracing available - install the python-autopilot-trace package!
06:09:34.574 WARNING testcase:159 - Process manager backend unavailable, application snapshot support disabled.
06:09:34.595 WARNING utilities:266 - WARNING: in file "/home/phablet/autopilot/unity8/shell/tests/__init__.py", line 148 in setUp
This function is deprecated. Please use 'the Touch class to instantiate a device object' instead.

06:09:34.767 WARNING utilities:266 - WARNING: in file "/home/phablet/autopilot/unity8/shell/tests/test_upstart.py", line 90 in test_no_sigstop
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.

06:09:34.777 WARNING utilities:266 - WARNING: in file "/home/phablet/autopilot/unity8/shell/tests/test_upstart.py", line 59 in _launch_unity
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.

WARNING: QApplication was not created in the main() thread.
Testability driver loaded. Wire protocol version is "1.4".
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Terminated
===================

The issue is occurring on both mako and flo.

Steps to reproduce:
1. bzr branch lp:ububntu-test-cases/touch
2. cd touch
3. ./scripts/provision.sh -i touch -r 110 -n NETWORK_FILE -w
      (where network file is your wifi file )
4. scripts/jenkins.sh -a unity8 -p /tmp/results

Related branches

Revision history for this message
Para Siva (psivaa) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :

The upstart tests in unity8 don't actually use upstart, meaning that unity8 and u-s-c fight for hardware.

summary: - Running unity8 autopilot tests gets aborted with
- 'g_dbus_connection_real_closed: Remote peer vanished with error:
- Underlying GIOStream returned 0 bytes on an async read (g-io-error-
- quark, 0). Exiting.' error
+ Unity8 non-upstart tests fight for hardware with unity-system-compositor
Changed in unity8 (Ubuntu):
status: New → Confirmed
assignee: nobody → Michał Sawicz (saviq)
status: Confirmed → In Progress
Leo Arias (elopio)
tags: added: qa-broken-test qa-daily-testing qa-landing-email
tags: added: lt-blocker lt-category-noimpact lt-prio-high
Revision history for this message
Michał Sawicz (saviq) wrote :

Related Mir bug: bug #1347053

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 7.90+14.10.20140724.1-0ubuntu1

---------------
unity8 (7.90+14.10.20140724.1-0ubuntu1) utopic; urgency=low

  [ Michael Zanetti ]
  * properly parent launcher items (LP: #1347902)

  [ Michał Sawicz ]
  * Move the PyDev project files to the root, supporting .py scripts
    outside of tests/autopilot. Add Autopilot Run and List launch
    configurations to easily support debugging in Eclipse. Use
    add_unity8_mock macro in the Telephony plugin.
  * Drop FilterGrid and refactor height animations in GenericScopeView.
    Also implement forced category expansion. (LP: #1326470)
  * Move expansion button from section header to category footer. (LP:
    #1261300)
  * Fix expect-sigstop enviroment variable name. (LP: #1346819)
  * Make headerless categories easier Instead of having no header
    category (which is a bit confusing since the LVWPH code was designed
    so that when a category has no header it is because it shares the
    category with the previous one) what we have for headerless
    categories is a header of height 0, this way everything works as it
    should and results in cleaner code in the LVWPH and in
    GenericScopeView
  * Add support for header links.
  * Add dash PageHeader styling.

  [ Albert Astals ]
  * Make headerless categories easier Instead of having no header
    category (which is a bit confusing since the LVWPH code was designed
    so that when a category has no header it is because it shares the
    category with the previous one) what we have for headerless
    categories is a header of height 0, this way everything works as it
    should and results in cleaner code in the LVWPH and in
    GenericScopeView
 -- Ubuntu daily release <email address hidden> Thu, 24 Jul 2014 20:41:29 +0000

Changed in unity8 (Ubuntu):
status: In Progress → 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.