2016-05-04 17:17:43 |
Gerry Boland |
bug |
|
|
added bug |
2016-05-04 17:18:05 |
Gerry Boland |
bug task added |
|
ubuntu-ui-toolkit (Ubuntu) |
|
2016-05-04 17:18:16 |
Gerry Boland |
ubuntu-app-launch (Ubuntu): status |
New |
Invalid |
|
2016-05-05 13:59:11 |
Michael Terry |
description |
I'm trying to run the ubuntu-ui-toolkit autopilot tests on today's image.
First off, they could cause unity8 to crash, which is bug 1578258 which can be resolved with
https://code.launchpad.net/~gerboland/qtmir/ual-catch-exception/+merge/293805
That causes unity8 to report it rejects some of the test apps the UITK AP test tries to launch:
qtmir.applications: ApplicationController::createApp - UAL failed to create app for appId "ubuntu-ui-toolkit-gallery" : Invalid app ID: ubuntu-ui-toolkit-gallery
UITK AP is launching like this:
/usr/bin/ubuntu-ui-toolkit-launcher -testability -I /usr/lib/modules /usr/lib/arm-linux-gnueabihf/qt5/examples//ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml --desktop_file_hint=/usr/lib/arm-linux-gnueabihf/qt5/examples/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop
which is not using upstart-app-launch - which would explain the fail. desktop_file_hint is not a supported means of launching an app (and can go away at any time), so UITK should change to use UAL in its AP tests.
This indeed used to work until recently, but a recent refactoring broke the desktop_file_hint behaviour. Since it's not a supported behaviour, it should be relied on, so it would be better to fix UITK than restore the old behaviour. |
I'm trying to run the ubuntu-ui-toolkit autopilot tests on today's image.
First off, they could cause unity8 to crash, which is bug 1578258 which can be resolved with
https://code.launchpad.net/~gerboland/qtmir/ual-catch-exception/+merge/293805
That causes unity8 to report it rejects some of the test apps the UITK AP test tries to launch:
qtmir.applications: ApplicationController::createApp - UAL failed to create app for appId "ubuntu-ui-toolkit-gallery" : Invalid app ID: ubuntu-ui-toolkit-gallery
UITK AP is launching like this:
/usr/bin/ubuntu-ui-toolkit-launcher -testability -I /usr/lib/modules /usr/lib/arm-linux-gnueabihf/qt5/examples//ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml --desktop_file_hint=/usr/lib/arm-linux-gnueabihf/qt5/examples/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop
which is not using upstart-app-launch - which would explain the fail. desktop_file_hint is not a supported means of launching an app (and can go away at any time), so UITK should change to use UAL in its AP tests.
This indeed used to work until recently, but a recent refactoring broke the desktop_file_hint behaviour. Since it's not a supported behaviour, it should not be relied on, so it would be better to fix UITK than restore the old behaviour. |
|
2016-05-05 14:21:11 |
Michael Terry |
bug |
|
|
added subscriber Michael Terry |
2016-08-09 11:12:54 |
Cris Dywan |
ubuntu-ui-toolkit (Ubuntu): status |
New |
Incomplete |
|
2016-08-09 15:46:28 |
Tim Peeters |
ubuntu-ui-toolkit (Ubuntu): importance |
Undecided |
High |
|
2016-08-09 15:46:30 |
Tim Peeters |
ubuntu-ui-toolkit (Ubuntu): status |
Incomplete |
Confirmed |
|
2016-08-09 15:52:33 |
Tim Peeters |
ubuntu-ui-toolkit (Ubuntu): assignee |
|
Tim Peeters (tpeeters) |
|
2016-08-09 15:52:36 |
Tim Peeters |
ubuntu-ui-toolkit (Ubuntu): status |
Confirmed |
In Progress |
|
2016-08-09 16:11:13 |
Tim Peeters |
summary |
Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint |
UITK AP tests that use QMLStringAppTestCase fail - rejected by unity8 as is using desktop_file_hint |
|
2016-08-09 20:09:43 |
Launchpad Janitor |
branch linked |
|
lp:~tpeeters/ubuntu-ui-toolkit/ap-use-qml-files |
|
2016-08-10 13:43:43 |
Cris Dywan |
ubuntu-ui-toolkit (Ubuntu): assignee |
Tim Peeters (tpeeters) |
Christian Dywan (kalikiana) |
|
2016-08-10 14:07:12 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/noSpecialTreatmentForGalleryTests |
|
2016-08-10 14:07:56 |
Cris Dywan |
summary |
UITK AP tests that use QMLStringAppTestCase fail - rejected by unity8 as is using desktop_file_hint |
QMLStringAppTestCase rejected by Unity8 |
|
2016-08-10 18:28:39 |
Launchpad Janitor |
branch linked |
|
lp:~ci-train-bot/ubuntu-ui-toolkit/ubuntu-ui-toolkit-ubuntu-yakkety-landing-070 |
|
2016-08-11 06:08:55 |
Cris Dywan |
ubuntu-ui-toolkit (Ubuntu): status |
In Progress |
Fix Committed |
|
2016-08-19 16:30:55 |
Launchpad Janitor |
ubuntu-ui-toolkit (Ubuntu): status |
Fix Committed |
Fix Released |
|