ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #01553
[Bug 1366786] [NEW] script qtc_project_click_deploy cleanup
Public bug reported:
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
** Affects: qtcreator-plugin-ubuntu (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- The script qtc_project_click_deploy does not work
+ script qtc_project_click_deploy cleanup
** Description changed:
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.
+ 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
+ Michael
** Branch linked: lp:~mvo/qtcreator-plugin-ubuntu/lp1366786-click-deploy
--
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:
New
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
Follow ups
References