Does not load the testability driver when QT_LOAD_TESTABILITY is set
Bug #1400619 reported by
Christopher Lee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Online Accounts setup for Ubuntu Touch |
Fix Released
|
High
|
Alberto Mardegan | ||
ubuntu-system-settings-online-accounts (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm currently unable to introspect into the signon-ui dialog that is launched when trying to install an application as it doesn't load the testability driver when QT_LOAD_TESTABILITY is set.
(Unable to pass -testability as a command line option as the dialog is launched independently).
Related branches
lp:~mardy/ubuntu-system-settings-online-accounts/lp1400619
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- David Barth (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedonline-accounts-ui/main.cpp (+1/-1)
affects: | signon-ui → ubuntu-system-settings-online-accounts |
Changed in ubuntu-system-settings-online-accounts: | |
status: | New → In Progress |
assignee: | nobody → Alberto Mardegan (mardy) |
importance: | Undecided → High |
Changed in ubuntu-system-settings-online-accounts: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I tested the existing proposal and it attempts to load the module but fails with the message (bigger log here[1]):
.. snip ..
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
.. snip ..
To reproduce (on the device): TIMEOUT= 9999 QT_LOAD_ TESTABILITY= 1 online- accounts- service
- Run: OAU_LOGGING_LEVEL=2 OAU_DAEMON_
- Open the signon-ui dialog (i.e. attempt to install an application)
- Note the log output in the console.
The failure message is coming from libautopilot-qt when it attempts to connect to dbus[2].
Looking at the log it appears that it might be trying to load the driver twice? Once succeeding the other failing (pure conjecture).
[1] http:// pastebin. ubuntu. com/9473161/ bazaar. launchpad. net/~autopilot/ autopilot- qt/trunk/ view/head: /driver/ qttestability. cpp#L38
[2] http://