ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06407
[Bug 1578319] [NEW] Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint
Public bug reported:
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.
** Affects: ubuntu-app-launch (Ubuntu)
Importance: Undecided
Status: Invalid
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
** Also affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
** Changed in: ubuntu-app-launch (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1578319
Title:
Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8
as is using desktop_file_hint
Status in ubuntu-app-launch package in Ubuntu:
Invalid
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-app-launch/+bug/1578319/+subscriptions
Follow ups