← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1366786] Re: script qtc_project_click_deploy cleanup

 

This bug was fixed in the package qtcreator-plugin-ubuntu -
3.1.1+14.10.20140912.3-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.1.1+14.10.20140912.3-0ubuntu1) utopic; urgency=low

  [ Zoltán Balogh ]
  * Put back the HTML5 template
  * Add ubuntu-emulator to the dependencies. Fixes LP: #1367246 (LP:
    #1367246)

  [ CI bot ]
  * Run pkcon with --allow-untrusted (LP: #1360582). (LP: #1360582)

  [ Benjamin Zeller ]
  * Less launcher output, add prefix so its clear if the output is from
    launcher/app. Use default application directories to create control
    files. Native Backend template now automatically substitutes the
    correct architecture into the manifest file. Make sure the wizards
    don't accept invalid characters .
  * Make sure .ssh folder and authorized_keys2 file have the correct
    owner and permissions

  [ Pete Woods ]
  * New scope template that talks to openweather API

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Michael Vogt ]
  * Run pkcon with --allow-untrusted (LP: #1360582). (LP: #1360582)
  * This branch cleans up the deploy script a little bit so that it
    reports errors from e.g. scp/ssh to the user. It will also fail
    early when a subcommand (like ssh) fails. (LP: #1366786)
  * Another tiny branch. This makes it easier for the user to see when
    his/her click package is deployed to the device. (LP: #1366791)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Fri, 12 Sep 2014 13:38:53 +0000

** Changed in: qtcreator-plugin-ubuntu (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1366786

Title:
  script qtc_project_click_deploy cleanup

Status in “qtcreator-plugin-ubuntu” package in Ubuntu:
  Fix Released

Bug description:
  I was trying to verify the click testplan and ran into the issue that
  the deployment does not work for me.

  This is confusing becaue I was able to run the click package on my device and from reading qtc_device_applaunch.py
  it seems like something put the click on the device and then the qtc_device_applaunch.py script installs it, runs it
  and removes it. So installing is possible and yet it fails in step #15 of the SDK testplan when its running
  /usr/share/qtcreator/ubuntu/scripts/qtc_project_click_deploy

  I looked at the script and noticed some issue:
  - does not use "set -e" when ssh can't connect this gets ignored
  - redirects errors from ssh/scp which means that if something goes wrong here its unclear to the user what is going on
  - does not output when it was successful

  I will work on a branch for that. For unknown reasons deploying my
  click package works now even without this branch. Before I got a error
  that the ssh connection to port 10000 was refused (and I only saw the
  error because I hacked the deploy script locally).

  Thanks,
   Michael

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1366786/+subscriptions


References