script qtc_project_click_deploy cleanup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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_
it seems like something put the click on the device and then the qtc_device_
and removes it. So installing is possible and yet it fails in step #15 of the SDK testplan when its running
/usr/share/
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
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Zoltan Balogh: Approve
-
Diff: 63 lines (+19/-9)1 file modifiedshare/qtcreator/ubuntu/scripts/qtc_project_click_deploy (+19/-9)
summary: |
- The script qtc_project_click_deploy does not work + script qtc_project_click_deploy cleanup |
description: | updated |
This bug was fixed in the package qtcreator- plugin- ubuntu - 3.1.1+14. 10.20140912. 3-0ubuntu1
--------------- plugin- ubuntu (3.1.1+ 14.10.20140912. 3-0ubuntu1) utopic; urgency=low
qtcreator-
[ 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 <email address hidden> Fri, 12 Sep 2014 13:38:53 +0000