[Fuego] [LTSI-dev] ssh timeout problem - was RE: Fuego installation

Bird, Timothy Tim.Bird at am.sony.com
Tue Oct 25 01:10:21 UTC 2016



> -----Original Message-----
> From: anirudh vasudevan on Monday, October 24, 2016 7:46 AM
>
> I am still facing the issue. The target is running on Debian distribution, I did
> add the UseDNS and also had the target and testing machine on a private
> network. Please see the below error I got from the console o/p.
> 
> +++ echo 'cmd: echo "Firmware revision:" 4.7.4-IMX6.VAR_R17'
> +++ ov_transport_cmd 'echo "Firmware revision:" 4.7.4-IMX6.VAR_R17'
> +++ case "$TRANSPORT" in
> +++ sshpass -e ssh -o ServerAliveInterval=30000 -o
> StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> ConnectTimeout=30000 -p 22 root at 192.168.1.56 <mailto:root at 192.168.1.56>
> 'echo "Firmware revision:" 4.7.4-IMX6.VAR_R17'
> ssh: connect to host 192.168.1.56 port 22: Connection timed out
> +++ abort_job 'Error while ROOTFS_FWVER command execution on target'
> +++ set +x
> 
> *** ABORTED ***
> 
> Fuego error reason: Error while ROOTFS_FWVER command execution on
> target.

OK - let's see if we can pin down the problem.

You've said that you have no problem accessing the board using SSH from your
host.  There must be some problem with the networking from inside the
docker container to your network where the board is attached.

Can you try the following:

On your target do:
$ ifconfig 

On your host do:
$ ifconfig

Do the following command from your host (at a regular shell prompt, outside
the docker container):
$ ssh -vvv  -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=20  -p 22 root at 192.168.1.56

Then, as root, inside the docker container, do the same command:
$ ssh -vvv  -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=20  -p 22 root at 192.168.1.56

Then, inside the docker container, add the '-vvv' command line option to the ssh line in /home/jenkins/fuego/engine/overlays/base/base-params.fuegoclass.

The line should look something like this:
SSH="sshpass -e ssh -vvv -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 -p $SSH_PORT $LOGIN@"

Now, run a test and report the results.

Thanks,
 -- Tim






More information about the Fuego mailing list