phablet-test-run should install ssh if it requires it

Bug #1205244 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phablet Tools
Won't Fix
Undecided
Unassigned

Bug Description

phablet-test-run -i doesn't install ssh - and fails later.

If ssh is required, -i should install it ssh if it's required for the run.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

alan@deep-thought:~$ F=ubuntu-docviewer-app-autopilot
alan@deep-thought:~$ AUPACKAGE=$F
alan@deep-thought:~$ APPACKAGE=${F%%-autopilot}
alan@deep-thought:~$ echo $AUPACKAGE
ubuntu-docviewer-app-autopilot
alan@deep-thought:~$ echo $APPACKAGE
ubuntu-docviewer-app
alan@deep-thought:~$ phablet-test-run -n -p '$AUPACKAGE' $APPACKAGE
adbd is already running as root
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
Disabling shell
unity8 stop/waiting
ssh_exchange_identification: Connection closed by remote host
Restoring shell
unity8 start/running, process 2806

Changed in phablet-tools:
status: New → Confirmed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Given the move to read only images with the ubuntu image upgrade system this is not going to be resolved.
Latest revisions of phablet-test-run don't rely on ssh (only adb), although the choice to provide ssh as a system capability has taken precedence which will mean that adb is going to be disabled, hence it would be preinstalled and deactivated by default.

Changed in phablet-tools:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.