All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fuego] Fuego installation
@ 2016-10-13 21:02 anirudh vasudevan
  2016-10-14 19:06 ` [Fuego] [LTSI-dev] " Bird, Timothy
  0 siblings, 1 reply; 14+ messages in thread
From: anirudh vasudevan @ 2016-10-13 21:02 UTC (permalink / raw)
  To: fuego, ltsi-dev


[-- Attachment #1.1: Type: text/plain, Size: 319 bytes --]

Hello,

Hope you guys are doing good. Am just not able to install Fuego on my Linux
Mint Sarah 18 system I read the Tim Bird Document on how to install Fuego,
was able to clone the bitbucket and when I ran the .install.sh script it is
throwing errors on the dockerfile. Can you please help me out screenshots
attached.

[-- Attachment #1.2: Type: text/html, Size: 362 bytes --]

[-- Attachment #2: Dockerfile1.png --]
[-- Type: image/png, Size: 52109 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-13 21:02 [Fuego] Fuego installation anirudh vasudevan
@ 2016-10-14 19:06 ` Bird, Timothy
  2016-10-17 17:38   ` anirudh vasudevan
  0 siblings, 1 reply; 14+ messages in thread
From: Bird, Timothy @ 2016-10-14 19:06 UTC (permalink / raw)
  To: anirudh vasudevan, fuego, ltsi-dev



> -----Original Message-----
> From: ltsi-dev-bounces@lists.linuxfoundation.org [mailto:ltsi-dev-
> bounces@lists.linuxfoundation.org] On Behalf Of anirudh vasudevan
> Sent: Thursday, October 13, 2016 11:03 PM
> To: fuego@lists.linuxfoundation.org; ltsi-dev@lists.linuxfoundation.org
> Subject: [LTSI-dev] Fuego installation
> 
> Hello,
> 
> 
> Hope you guys are doing good. Am just not able to install Fuego on my Linux
> Mint Sarah 18 system I read the Tim Bird Document on how to install Fuego,
> was able to clone the bitbucket and when I ran the .install.sh script it is
> throwing errors on the dockerfile. Can you please help me out screenshots
> attached.

The command that is failing in the screenshot is not the same as what is in my Dockerfile.

The screenshot shows:
RUN dpkg -add--architecture i386

But the Dockerfile should contain the following:
RUN dpkg --add-architecture i386

(that is, 2 dashes before the 'add', not after the 'add')

Did your Dockerfile somehow get corrupated?
 -- Tim



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-14 19:06 ` [Fuego] [LTSI-dev] " Bird, Timothy
@ 2016-10-17 17:38   ` anirudh vasudevan
  2016-10-19  1:01     ` Daniel Sangorrin
  0 siblings, 1 reply; 14+ messages in thread
From: anirudh vasudevan @ 2016-10-17 17:38 UTC (permalink / raw)
  To: Bird, Timothy, fuego, ltsi-dev


[-- Attachment #1.1: Type: text/plain, Size: 1629 bytes --]

Hi Tim,

Thanks a lot for the reply. I was playing with the dockerfile so I would
have messed it up there that being said I removed and cloned once again and
reinstalled Docker.io once more am still getting the same error. I feel
that dockerfile is not installing correctly on my Linux Mint system, My
linux system is running architecture i686. I have attached a series of
snapshot regarding the error. I really want Fuego to be installed. Thanks
for the help

Thanks,
Anirudh

On Fri, Oct 14, 2016 at 3:06 PM, Bird, Timothy <Tim.Bird@am.sony.com> wrote:

>
>
> > -----Original Message-----
> > From: ltsi-dev-bounces@lists.linuxfoundation.org [mailto:ltsi-dev-
> > bounces@lists.linuxfoundation.org] On Behalf Of anirudh vasudevan
> > Sent: Thursday, October 13, 2016 11:03 PM
> > To: fuego@lists.linuxfoundation.org; ltsi-dev@lists.linuxfoundation.org
> > Subject: [LTSI-dev] Fuego installation
> >
> > Hello,
> >
> >
> > Hope you guys are doing good. Am just not able to install Fuego on my
> Linux
> > Mint Sarah 18 system I read the Tim Bird Document on how to install
> Fuego,
> > was able to clone the bitbucket and when I ran the .install.sh script it
> is
> > throwing errors on the dockerfile. Can you please help me out screenshots
> > attached.
>
> The command that is failing in the screenshot is not the same as what is
> in my Dockerfile.
>
> The screenshot shows:
> RUN dpkg -add--architecture i386
>
> But the Dockerfile should contain the following:
> RUN dpkg --add-architecture i386
>
> (that is, 2 dashes before the 'add', not after the 'add')
>
> Did your Dockerfile somehow get corrupated?
>  -- Tim
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2466 bytes --]

[-- Attachment #2: Fuego_Install.pdf --]
[-- Type: application/pdf, Size: 1726413 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-17 17:38   ` anirudh vasudevan
@ 2016-10-19  1:01     ` Daniel Sangorrin
  2016-10-19 20:50       ` anirudh vasudevan
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Sangorrin @ 2016-10-19  1:01 UTC (permalink / raw)
  To: 'anirudh vasudevan', 'Bird, Timothy', fuego, ltsi-dev

Hi Anirudh,

> -----Original Message-----
> From: fuego-bounces@lists.linuxfoundation.org [mailto:fuego-bounces@lists.linuxfoundation.org] On Behalf Of anirudh vasudevan
> Sent: Tuesday, October 18, 2016 2:38 AM
> To: Bird, Timothy; fuego@lists.linuxfoundation.org; ltsi-dev@lists.linuxfoundation.org
> Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> 
> Hi Tim,
> 
> Thanks a lot for the reply. I was playing with the dockerfile so I would have messed it up there that being said I removed and cloned
> once again and reinstalled Docker.io once more am still getting the same error. I feel that dockerfile is not installing correctly on my
> Linux Mint system, My linux system is running architecture i686. 

Probably that's the problem. From Docker's website: "Docker requires a 64-bit installation regardless of your Ubuntu version"

Ref: https://docs.docker.com/engine/installation/linux/ubuntulinux/

I suggest to reinstall your OS and use Ubuntu 64bit, which is known to work.

> I have attached a series of snapshot regarding the error. I really want
> Fuego to be installed. Thanks for the help

Next time send them in text format please :).

Best regards,
Daniel
IoT Technology center, TOSHIBA


> On Fri, Oct 14, 2016 at 3:06 PM, Bird, Timothy <Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com> > wrote:
> 
> 
> 
> 
> 	> -----Original Message-----
> 	> From: ltsi-dev-bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@lists.linuxfoundation.org>  [mailto:ltsi-dev-
> <mailto:ltsi-dev->
> 	> bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org> ] On Behalf Of anirudh vasudevan
> 	> Sent: Thursday, October 13, 2016 11:03 PM
> 	> To: fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org> ; ltsi-dev@lists.linuxfoundation.org
> <mailto:ltsi-dev@lists.linuxfoundation.org>
> 	> Subject: [LTSI-dev] Fuego installation
> 	>
> 	> Hello,
> 	>
> 	>
> 	> Hope you guys are doing good. Am just not able to install Fuego on my Linux
> 	> Mint Sarah 18 system I read the Tim Bird Document on how to install Fuego,
> 	> was able to clone the bitbucket and when I ran the .install.sh script it is
> 	> throwing errors on the dockerfile. Can you please help me out screenshots
> 	> attached.
> 
> 
> 	The command that is failing in the screenshot is not the same as what is in my Dockerfile.
> 
> 	The screenshot shows:
> 	RUN dpkg -add--architecture i386
> 
> 	But the Dockerfile should contain the following:
> 	RUN dpkg --add-architecture i386
> 
> 	(that is, 2 dashes before the 'add', not after the 'add')
> 
> 	Did your Dockerfile somehow get corrupated?
> 	 -- Tim
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-19  1:01     ` Daniel Sangorrin
@ 2016-10-19 20:50       ` anirudh vasudevan
  2016-10-20  0:02         ` Daniel Sangorrin
  0 siblings, 1 reply; 14+ messages in thread
From: anirudh vasudevan @ 2016-10-19 20:50 UTC (permalink / raw)
  To: Daniel Sangorrin; +Cc: ltsi-dev, fuego

[-- Attachment #1: Type: text/plain, Size: 3745 bytes --]

Hi Daniel,

Thank you so much for replying. I did install Fuego on a 64bit Ubuntu
system (Linux Mint 18) and went to the Fuego homepage without any glitch. I
added the test board as given in the doc once I run the functional test
present on Fuego (functional.bc), jenkins is not able to ssh to the VAR-SOM
board, below is the error that i captured from the console.

Test is failing

+++ sshpass -e ssh -o ServerAliveInterval=30 -o
StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
ConnectTimeout=15 -p root@10.200.15.192 true
Bad port 'root@10.XX.XX.XXX'
+++ abort_job 'Cannot connect to 10.XX.XX.XXX via ssh'
+++ set +x

*** ABORTED ***

Fuego error reason: Cannot connect to 10.XX.XX.XXX via ssh


Thanks again

Anirudh Vasudevan



On Tue, Oct 18, 2016 at 9:01 PM, Daniel Sangorrin <
daniel.sangorrin@toshiba.co.jp> wrote:

> Hi Anirudh,
>
> > -----Original Message-----
> > From: fuego-bounces@lists.linuxfoundation.org [mailto:
> fuego-bounces@lists.linuxfoundation.org] On Behalf Of anirudh vasudevan
> > Sent: Tuesday, October 18, 2016 2:38 AM
> > To: Bird, Timothy; fuego@lists.linuxfoundation.org; ltsi-dev@lists.
> linuxfoundation.org
> > Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> >
> > Hi Tim,
> >
> > Thanks a lot for the reply. I was playing with the dockerfile so I would
> have messed it up there that being said I removed and cloned
> > once again and reinstalled Docker.io once more am still getting the same
> error. I feel that dockerfile is not installing correctly on my
> > Linux Mint system, My linux system is running architecture i686.
>
> Probably that's the problem. From Docker's website: "Docker requires a
> 64-bit installation regardless of your Ubuntu version"
>
> Ref: https://docs.docker.com/engine/installation/linux/ubuntulinux/
>
> I suggest to reinstall your OS and use Ubuntu 64bit, which is known to
> work.
>
> > I have attached a series of snapshot regarding the error. I really want
> > Fuego to be installed. Thanks for the help
>
> Next time send them in text format please :).
>
> Best regards,
> Daniel
> IoT Technology center, TOSHIBA
>
>
> > On Fri, Oct 14, 2016 at 3:06 PM, Bird, Timothy <Tim.Bird@am.sony.com
> <mailto:Tim.Bird@am.sony.com> > wrote:
> >
> >
> >
> >
> >       > -----Original Message-----
> >       > From: ltsi-dev-bounces@lists.linuxfoundation.org <mailto:
> ltsi-dev-bounces@lists.linuxfoundation.org>  [mailto:ltsi-dev-
> > <mailto:ltsi-dev->
> >       > bounces@lists.linuxfoundation.org <mailto:bounces@lists.
> linuxfoundation.org> ] On Behalf Of anirudh vasudevan
> >       > Sent: Thursday, October 13, 2016 11:03 PM
> >       > To: fuego@lists.linuxfoundation.org <mailto:fuego@lists.
> linuxfoundation.org> ; ltsi-dev@lists.linuxfoundation.org
> > <mailto:ltsi-dev@lists.linuxfoundation.org>
> >       > Subject: [LTSI-dev] Fuego installation
> >       >
> >       > Hello,
> >       >
> >       >
> >       > Hope you guys are doing good. Am just not able to install Fuego
> on my Linux
> >       > Mint Sarah 18 system I read the Tim Bird Document on how to
> install Fuego,
> >       > was able to clone the bitbucket and when I ran the .install.sh
> script it is
> >       > throwing errors on the dockerfile. Can you please help me out
> screenshots
> >       > attached.
> >
> >
> >       The command that is failing in the screenshot is not the same as
> what is in my Dockerfile.
> >
> >       The screenshot shows:
> >       RUN dpkg -add--architecture i386
> >
> >       But the Dockerfile should contain the following:
> >       RUN dpkg --add-architecture i386
> >
> >       (that is, 2 dashes before the 'add', not after the 'add')
> >
> >       Did your Dockerfile somehow get corrupated?
> >        -- Tim
> >
> >
> >
> >
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 5958 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-19 20:50       ` anirudh vasudevan
@ 2016-10-20  0:02         ` Daniel Sangorrin
  2016-10-20 16:25           ` anirudh vasudevan
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Sangorrin @ 2016-10-20  0:02 UTC (permalink / raw)
  To: 'anirudh vasudevan'; +Cc: ltsi-dev, fuego

Hi Anirudh,

> From: anirudh vasudevan [mailto:vasuanirudh@gmail.com]
> Hi Daniel,
> 
> 
> Thank you so much for replying. I did install Fuego on a 64bit Ubuntu system (Linux Mint 18) and went to the Fuego homepage
> without any glitch. 

Thanks for letting us now.

> I added the test board as given in the doc once I run the functional test present on Fuego (functional.bc), jenkins is
> not able to ssh to the VAR-SOM board, below is the error that i captured from the console.
> 
> 
> Test is failing
> 
> +++ sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=15 -
> p root@10.200.15.192 <mailto:root@10.200.15.192>  true
> Bad port 'root@10.XX.XX.XXX'
> +++ abort_job 'Cannot connect to 10.XX.XX.XXX via ssh'
> +++ set +x
> 
> *** ABORTED ***
> 
> Fuego error reason: Cannot connect to 10.XX.XX.XXX via ssh
> 

Please try the patch I just sent to the list. It seems that the SSH_PORT
variable needs to be double quoted (if you are using a different port 
number define SSH_PORT="your_port_number" in your board file).
# I haven't checked in detail but I think the reason is that ovgen.py
requires double quotes when parsing the board variables.

Dmitry, Tim:

1) Is there any reason why environment.sh shouldn't be removed? It only contains repeated SSH/SCP definitions.
2) Should ovgen.py be pathed to understand variables without double quotes?

Regards,
Daniel
IoT Technology center, TOSHIBA







> 
> Thanks again
> 
> Anirudh Vasudevan
> 
> 
> On Tue, Oct 18, 2016 at 9:01 PM, Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp> > wrote:
> 
> 
> 	Hi Anirudh,
> 
> 	> -----Original Message-----
> 	> From: fuego-bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.linuxfoundation.org>  [mailto:fuego-
> bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.linuxfoundation.org> ] On Behalf Of anirudh vasudevan
> 	> Sent: Tuesday, October 18, 2016 2:38 AM
> 	> To: Bird, Timothy; fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org> ; ltsi-
> dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.linuxfoundation.org>
> 	> Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> 	>
> 	> Hi Tim,
> 	>
> 	> Thanks a lot for the reply. I was playing with the dockerfile so I would have messed it up there that being said I removed and
> cloned
> 	> once again and reinstalled Docker.io once more am still getting the same error. I feel that dockerfile is not installing correctly
> on my
> 	> Linux Mint system, My linux system is running architecture i686.
> 
> 	Probably that's the problem. From Docker's website: "Docker requires a 64-bit installation regardless of your Ubuntu version"
> 
> 	Ref: https://docs.docker.com/engine/installation/linux/ubuntulinux/
> <https://docs.docker.com/engine/installation/linux/ubuntulinux/>
> 
> 	I suggest to reinstall your OS and use Ubuntu 64bit, which is known to work.
> 
> 	> I have attached a series of snapshot regarding the error. I really want
> 	> Fuego to be installed. Thanks for the help
> 
> 	Next time send them in text format please :).
> 
> 	Best regards,
> 	Daniel
> 	IoT Technology center, TOSHIBA
> 
> 
> 	> On Fri, Oct 14, 2016 at 3:06 PM, Bird, Timothy <Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com>
> <mailto:Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com> > > wrote:
> 	>
> 	>
> 	>
> 	>
> 	>       > -----Original Message-----
> 	>       > From: ltsi-dev-bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@lists.linuxfoundation.org>  <mailto:ltsi-
> dev-bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@lists.linuxfoundation.org> >  [mailto:ltsi-dev- <mailto:ltsi-dev->
> 	> <mailto:ltsi-dev- <mailto:ltsi-dev-> >
> 	>       > bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org>
> <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org> > ] On Behalf Of anirudh vasudevan
> 	>       > Sent: Thursday, October 13, 2016 11:03 PM
> 
> 	>       > To: fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org>
> <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org> > ; ltsi-dev@lists.linuxfoundation.org <mailto:ltsi-
> dev@lists.linuxfoundation.org>
> 	> <mailto:ltsi-dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.linuxfoundation.org> >
> 	>       > Subject: [LTSI-dev] Fuego installation
> 	>       >
> 	>       > Hello,
> 	>       >
> 	>       >
> 	>       > Hope you guys are doing good. Am just not able to install Fuego on my Linux
> 	>       > Mint Sarah 18 system I read the Tim Bird Document on how to install Fuego,
> 	>       > was able to clone the bitbucket and when I ran the .install.sh script it is
> 	>       > throwing errors on the dockerfile. Can you please help me out screenshots
> 	>       > attached.
> 	>
> 	>
> 	>       The command that is failing in the screenshot is not the same as what is in my Dockerfile.
> 	>
> 	>       The screenshot shows:
> 	>       RUN dpkg -add--architecture i386
> 	>
> 	>       But the Dockerfile should contain the following:
> 	>       RUN dpkg --add-architecture i386
> 	>
> 	>       (that is, 2 dashes before the 'add', not after the 'add')
> 	>
> 	>       Did your Dockerfile somehow get corrupated?
> 	>        -- Tim
> 	>
> 	>
> 	>
> 	>
> 
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-20  0:02         ` Daniel Sangorrin
@ 2016-10-20 16:25           ` anirudh vasudevan
  2016-10-21  1:23             ` Daniel Sangorrin
  2016-10-21 18:09             ` Bird, Timothy
  0 siblings, 2 replies; 14+ messages in thread
From: anirudh vasudevan @ 2016-10-20 16:25 UTC (permalink / raw)
  To: Daniel Sangorrin; +Cc: ltsi-dev, fuego

[-- Attachment #1: Type: text/plain, Size: 6544 bytes --]

Hi Daniel,

I did apply the patch that you sent and did work for an extent now am
getting the below error.

root@10.200.15.192 'echo "Firmware revision:" 4.7.4-IMX6.VAR_R17'
ssh: connect to host 10.200.15.192 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


apologizes for sending mail back and forth.

Thanks,

Anirudh


On Wed, Oct 19, 2016 at 8:02 PM, Daniel Sangorrin <
daniel.sangorrin@toshiba.co.jp> wrote:

> Hi Anirudh,
>
> > From: anirudh vasudevan [mailto:vasuanirudh@gmail.com]
> > Hi Daniel,
> >
> >
> > Thank you so much for replying. I did install Fuego on a 64bit Ubuntu
> system (Linux Mint 18) and went to the Fuego homepage
> > without any glitch.
>
> Thanks for letting us now.
>
> > I added the test board as given in the doc once I run the functional
> test present on Fuego (functional.bc), jenkins is
> > not able to ssh to the VAR-SOM board, below is the error that i captured
> from the console.
> >
> >
> > Test is failing
> >
> > +++ sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no
> -o UserKnownHostsFile=/dev/null -o ConnectTimeout=15 -
> > p root@10.200.15.192 <mailto:root@10.200.15.192>  true
> > Bad port 'root@10.XX.XX.XXX'
> > +++ abort_job 'Cannot connect to 10.XX.XX.XXX via ssh'
> > +++ set +x
> >
> > *** ABORTED ***
> >
> > Fuego error reason: Cannot connect to 10.XX.XX.XXX via ssh
> >
>
> Please try the patch I just sent to the list. It seems that the SSH_PORT
> variable needs to be double quoted (if you are using a different port
> number define SSH_PORT="your_port_number" in your board file).
> # I haven't checked in detail but I think the reason is that ovgen.py
> requires double quotes when parsing the board variables.
>
> Dmitry, Tim:
>
> 1) Is there any reason why environment.sh shouldn't be removed? It only
> contains repeated SSH/SCP definitions.
> 2) Should ovgen.py be pathed to understand variables without double quotes?
>
> Regards,
> Daniel
> IoT Technology center, TOSHIBA
>
>
>
>
>
>
>
> >
> > Thanks again
> >
> > Anirudh Vasudevan
> >
> >
> > On Tue, Oct 18, 2016 at 9:01 PM, Daniel Sangorrin <
> daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp> >
> wrote:
> >
> >
> >       Hi Anirudh,
> >
> >       > -----Original Message-----
> >       > From: fuego-bounces@lists.linuxfoundation.org <mailto:
> fuego-bounces@lists.linuxfoundation.org>  [mailto:fuego-
> > bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.
> linuxfoundation.org> ] On Behalf Of anirudh vasudevan
> >       > Sent: Tuesday, October 18, 2016 2:38 AM
> >       > To: Bird, Timothy; fuego@lists.linuxfoundation.org <mailto:
> fuego@lists.linuxfoundation.org> ; ltsi-
> > dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.linuxfoundation.org
> >
> >       > Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> >       >
> >       > Hi Tim,
> >       >
> >       > Thanks a lot for the reply. I was playing with the dockerfile so
> I would have messed it up there that being said I removed and
> > cloned
> >       > once again and reinstalled Docker.io once more am still getting
> the same error. I feel that dockerfile is not installing correctly
> > on my
> >       > Linux Mint system, My linux system is running architecture i686.
> >
> >       Probably that's the problem. From Docker's website: "Docker
> requires a 64-bit installation regardless of your Ubuntu version"
> >
> >       Ref: https://docs.docker.com/engine/installation/linux/
> ubuntulinux/
> > <https://docs.docker.com/engine/installation/linux/ubuntulinux/>
> >
> >       I suggest to reinstall your OS and use Ubuntu 64bit, which is
> known to work.
> >
> >       > I have attached a series of snapshot regarding the error. I
> really want
> >       > Fuego to be installed. Thanks for the help
> >
> >       Next time send them in text format please :).
> >
> >       Best regards,
> >       Daniel
> >       IoT Technology center, TOSHIBA
> >
> >
> >       > On Fri, Oct 14, 2016 at 3:06 PM, Bird, Timothy <
> Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com>
> > <mailto:Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com> > > wrote:
> >       >
> >       >
> >       >
> >       >
> >       >       > -----Original Message-----
> >       >       > From: ltsi-dev-bounces@lists.linuxfoundation.org
> <mailto:ltsi-dev-bounces@lists.linuxfoundation.org>  <mailto:ltsi-
> > dev-bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@
> lists.linuxfoundation.org> >  [mailto:ltsi-dev- <mailto:ltsi-dev->
> >       > <mailto:ltsi-dev- <mailto:ltsi-dev-> >
> >       >       > bounces@lists.linuxfoundation.org <mailto:bounces@lists.
> linuxfoundation.org>
> > <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.
> linuxfoundation.org> > ] On Behalf Of anirudh vasudevan
> >       >       > Sent: Thursday, October 13, 2016 11:03 PM
> >
> >       >       > To: fuego@lists.linuxfoundation.org <mailto:fuego@lists.
> linuxfoundation.org>
> > <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.
> linuxfoundation.org> > ; ltsi-dev@lists.linuxfoundation.org <mailto:ltsi-
> > dev@lists.linuxfoundation.org>
> >       > <mailto:ltsi-dev@lists.linuxfoundation.org <mailto:
> ltsi-dev@lists.linuxfoundation.org> >
> >       >       > Subject: [LTSI-dev] Fuego installation
> >       >       >
> >       >       > Hello,
> >       >       >
> >       >       >
> >       >       > Hope you guys are doing good. Am just not able to
> install Fuego on my Linux
> >       >       > Mint Sarah 18 system I read the Tim Bird Document on how
> to install Fuego,
> >       >       > was able to clone the bitbucket and when I ran the
> .install.sh script it is
> >       >       > throwing errors on the dockerfile. Can you please help
> me out screenshots
> >       >       > attached.
> >       >
> >       >
> >       >       The command that is failing in the screenshot is not the
> same as what is in my Dockerfile.
> >       >
> >       >       The screenshot shows:
> >       >       RUN dpkg -add--architecture i386
> >       >
> >       >       But the Dockerfile should contain the following:
> >       >       RUN dpkg --add-architecture i386
> >       >
> >       >       (that is, 2 dashes before the 'add', not after the 'add')
> >       >
> >       >       Did your Dockerfile somehow get corrupated?
> >       >        -- Tim
> >       >
> >       >
> >       >
> >       >
> >
> >
> >
> >
> >
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 11073 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-20 16:25           ` anirudh vasudevan
@ 2016-10-21  1:23             ` Daniel Sangorrin
  2016-10-21  1:35               ` Daniel Sangorrin
  2016-10-21 18:09             ` Bird, Timothy
  1 sibling, 1 reply; 14+ messages in thread
From: Daniel Sangorrin @ 2016-10-21  1:23 UTC (permalink / raw)
  To: 'anirudh vasudevan'; +Cc: ltsi-dev, fuego

Hi Anirudh,

> From: anirudh vasudevan [mailto:vasuanirudh@gmail.com]
> I did apply the patch that you sent and did work for an extent now am getting the below error.
> 
> root@10.200.15.192 <mailto:root@10.200.15.192>  'echo "Firmware revision:" 4.7.4-IMX6.VAR_R17'
> ssh: connect to host 10.200.15.192 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
> 
> 
> apologizes for sending mail back and forth.

It seems that the connection to your board timed out. 

- Did you write the target's IP address correctly in your board file (IPADDR)?
- Is the sshd daemon running on your target board?
- Can you connect by ssh from Fuego's docker to your target?

Regards,
Daniel




> On Wed, Oct 19, 2016 at 8:02 PM, Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp> > wrote:
> 
> 
> 	Hi Anirudh,
> 
> 	> From: anirudh vasudevan [mailto:vasuanirudh@gmail.com <mailto:vasuanirudh@gmail.com> ]
> 	> Hi Daniel,
> 	>
> 	>
> 	> Thank you so much for replying. I did install Fuego on a 64bit Ubuntu system (Linux Mint 18) and went to the Fuego
> homepage
> 	> without any glitch.
> 
> 	Thanks for letting us now.
> 
> 	> I added the test board as given in the doc once I run the functional test present on Fuego (functional.bc), jenkins is
> 	> not able to ssh to the VAR-SOM board, below is the error that i captured from the console.
> 	>
> 	>
> 	> Test is failing
> 	>
> 	> +++ sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> ConnectTimeout=15 -
> 	> p root@10.200.15.192 <mailto:root@10.200.15.192>  <mailto:root@10.200.15.192 <mailto:root@10.200.15.192> >  true
> 	> Bad port 'root@10.XX.XX.XXX'
> 	> +++ abort_job 'Cannot connect to 10.XX.XX.XXX via ssh'
> 	> +++ set +x
> 	>
> 	> *** ABORTED ***
> 	>
> 	> Fuego error reason: Cannot connect to 10.XX.XX.XXX via ssh
> 	>
> 
> 	Please try the patch I just sent to the list. It seems that the SSH_PORT
> 	variable needs to be double quoted (if you are using a different port
> 	number define SSH_PORT="your_port_number" in your board file).
> 	# I haven't checked in detail but I think the reason is that ovgen.py
> 	requires double quotes when parsing the board variables.
> 
> 	Dmitry, Tim:
> 
> 	1) Is there any reason why environment.sh shouldn't be removed? It only contains repeated SSH/SCP definitions.
> 	2) Should ovgen.py be pathed to understand variables without double quotes?
> 
> 	Regards,
> 	Daniel
> 	IoT Technology center, TOSHIBA
> 
> 
> 
> 
> 
> 
> 
> 	>
> 	> Thanks again
> 	>
> 	> Anirudh Vasudevan
> 	>
> 	>
> 	> On Tue, Oct 18, 2016 at 9:01 PM, Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp>
> <mailto:daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp> > > wrote:
> 	>
> 	>
> 	>       Hi Anirudh,
> 	>
> 	>       > -----Original Message-----
> 	>       > From: fuego-bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.linuxfoundation.org>  <mailto:fuego-
> bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.linuxfoundation.org> >  [mailto:fuego- <mailto:fuego->
> 	> bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org>  <mailto:fuego-
> bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.linuxfoundation.org> > ] On Behalf Of anirudh vasudevan
> 	>       > Sent: Tuesday, October 18, 2016 2:38 AM
> 	>       > To: Bird, Timothy; fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org>
> <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org> > ; ltsi-
> 	> dev@lists.linuxfoundation.org <mailto:dev@lists.linuxfoundation.org>  <mailto:ltsi-dev@lists.linuxfoundation.org
> <mailto:ltsi-dev@lists.linuxfoundation.org> >
> 	>       > Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> 	>       >
> 	>       > Hi Tim,
> 	>       >
> 	>       > Thanks a lot for the reply. I was playing with the dockerfile so I would have messed it up there that being said I removed
> and
> 	> cloned
> 	>       > once again and reinstalled Docker.io once more am still getting the same error. I feel that dockerfile is not installing
> correctly
> 	> on my
> 	>       > Linux Mint system, My linux system is running architecture i686.
> 	>
> 	>       Probably that's the problem. From Docker's website: "Docker requires a 64-bit installation regardless of your Ubuntu
> version"
> 	>
> 	>       Ref: https://docs.docker.com/engine/installation/linux/ubuntulinux/
> <https://docs.docker.com/engine/installation/linux/ubuntulinux/>
> 	> <https://docs.docker.com/engine/installation/linux/ubuntulinux/
> <https://docs.docker.com/engine/installation/linux/ubuntulinux/> >
> 	>
> 	>       I suggest to reinstall your OS and use Ubuntu 64bit, which is known to work.
> 	>
> 	>       > I have attached a series of snapshot regarding the error. I really want
> 	>       > Fuego to be installed. Thanks for the help
> 	>
> 	>       Next time send them in text format please :).
> 	>
> 	>       Best regards,
> 	>       Daniel
> 	>       IoT Technology center, TOSHIBA
> 	>
> 	>
> 	>       > On Fri, Oct 14, 2016 at 3:06 PM, Bird, Timothy <Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com>
> <mailto:Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com> >
> 	> <mailto:Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com>  <mailto:Tim.Bird@am.sony.com
> <mailto:Tim.Bird@am.sony.com> > > > wrote:
> 	>       >
> 	>       >
> 	>       >
> 	>       >
> 	>       >       > -----Original Message-----
> 	>       >       > From: ltsi-dev-bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@lists.linuxfoundation.org>
> <mailto:ltsi-dev-bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@lists.linuxfoundation.org> >  <mailto:ltsi- <mailto:ltsi->
> 	> dev-bounces@lists.linuxfoundation.org <mailto:dev-bounces@lists.linuxfoundation.org>  <mailto:ltsi-dev-
> bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@lists.linuxfoundation.org> > >  [mailto:ltsi-dev- <mailto:ltsi-dev->
> <mailto:ltsi-dev- <mailto:ltsi-dev-> >
> 	>       > <mailto:ltsi-dev- <mailto:ltsi-dev->  <mailto:ltsi-dev- <mailto:ltsi-dev-> > >
> 	>       >       > bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org>
> <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org> >
> 	> <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org>
> <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org> > > ] On Behalf Of anirudh vasudevan
> 	>       >       > Sent: Thursday, October 13, 2016 11:03 PM
> 	>
> 	>       >       > To: fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org>
> <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org> >
> 	> <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org>
> <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org> > > ; ltsi-dev@lists.linuxfoundation.org
> <mailto:ltsi-dev@lists.linuxfoundation.org>  <mailto:ltsi- <mailto:ltsi->
> 	> dev@lists.linuxfoundation.org <mailto:dev@lists.linuxfoundation.org> >
> 	>       > <mailto:ltsi-dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.linuxfoundation.org>  <mailto:ltsi-
> dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.linuxfoundation.org> > >
> 
> 	>       >       > Subject: [LTSI-dev] Fuego installation
> 	>       >       >
> 	>       >       > Hello,
> 	>       >       >
> 	>       >       >
> 	>       >       > Hope you guys are doing good. Am just not able to install Fuego on my Linux
> 	>       >       > Mint Sarah 18 system I read the Tim Bird Document on how to install Fuego,
> 	>       >       > was able to clone the bitbucket and when I ran the .install.sh script it is
> 	>       >       > throwing errors on the dockerfile. Can you please help me out screenshots
> 	>       >       > attached.
> 	>       >
> 	>       >
> 	>       >       The command that is failing in the screenshot is not the same as what is in my Dockerfile.
> 	>       >
> 	>       >       The screenshot shows:
> 	>       >       RUN dpkg -add--architecture i386
> 	>       >
> 	>       >       But the Dockerfile should contain the following:
> 	>       >       RUN dpkg --add-architecture i386
> 	>       >
> 	>       >       (that is, 2 dashes before the 'add', not after the 'add')
> 	>       >
> 	>       >       Did your Dockerfile somehow get corrupated?
> 	>       >        -- Tim
> 	>       >
> 	>       >
> 	>       >
> 	>       >
> 	>
> 	>
> 	>
> 	>
> 	>
> 
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-21  1:23             ` Daniel Sangorrin
@ 2016-10-21  1:35               ` Daniel Sangorrin
  2016-10-21 16:13                 ` anirudh vasudevan
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Sangorrin @ 2016-10-21  1:35 UTC (permalink / raw)
  To: 'anirudh vasudevan'; +Cc: ltsi-dev, fuego

> From: fuego-bounces@lists.linuxfoundation.org [mailto:fuego-bounces@lists.linuxfoundation.org] On Behalf Of Daniel Sangorrin
> Hi Anirudh,
> 
> > From: anirudh vasudevan [mailto:vasuanirudh@gmail.com]
> > I did apply the patch that you sent and did work for an extent now am getting the below error.
> >
> > root@10.200.15.192 <mailto:root@10.200.15.192>  'echo "Firmware revision:" 4.7.4-IMX6.VAR_R17'
> > ssh: connect to host 10.200.15.192 port 22: Connection timed out
> > +++ abort_job 'Error while ROOTFS_FWVER command execution on target'

Actually, it seems you already connected once and got your target's kernel version "4.7.4-IMX6.VAR_R1".
I'm not sure why but it seems the connection timed out for some reason. It could be some temporary
problem, have you tried again?

> > +++ set +x
> >
> > *** ABORTED ***
> >
> > Fuego error reason: Error while ROOTFS_FWVER command execution on
> >
> >
> > apologizes for sending mail back and forth.
> 
> It seems that the connection to your board timed out.
> 
> - Did you write the target's IP address correctly in your board file (IPADDR)?
> - Is the sshd daemon running on your target board?
> - Can you connect by ssh from Fuego's docker to your target?
> 
> Regards,
> Daniel
> 
> 
> 
> 
> > On Wed, Oct 19, 2016 at 8:02 PM, Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp> >
> wrote:
> >
> >
> > 	Hi Anirudh,
> >
> > 	> From: anirudh vasudevan [mailto:vasuanirudh@gmail.com <mailto:vasuanirudh@gmail.com> ]
> > 	> Hi Daniel,
> > 	>
> > 	>
> > 	> Thank you so much for replying. I did install Fuego on a 64bit Ubuntu system (Linux Mint 18) and went to the Fuego
> > homepage
> > 	> without any glitch.
> >
> > 	Thanks for letting us now.
> >
> > 	> I added the test board as given in the doc once I run the functional test present on Fuego (functional.bc), jenkins is
> > 	> not able to ssh to the VAR-SOM board, below is the error that i captured from the console.
> > 	>
> > 	>
> > 	> Test is failing
> > 	>
> > 	> +++ sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> > ConnectTimeout=15 -
> > 	> p root@10.200.15.192 <mailto:root@10.200.15.192>  <mailto:root@10.200.15.192 <mailto:root@10.200.15.192> >  true
> > 	> Bad port 'root@10.XX.XX.XXX'
> > 	> +++ abort_job 'Cannot connect to 10.XX.XX.XXX via ssh'
> > 	> +++ set +x
> > 	>
> > 	> *** ABORTED ***
> > 	>
> > 	> Fuego error reason: Cannot connect to 10.XX.XX.XXX via ssh
> > 	>
> >
> > 	Please try the patch I just sent to the list. It seems that the SSH_PORT
> > 	variable needs to be double quoted (if you are using a different port
> > 	number define SSH_PORT="your_port_number" in your board file).
> > 	# I haven't checked in detail but I think the reason is that ovgen.py
> > 	requires double quotes when parsing the board variables.
> >
> > 	Dmitry, Tim:
> >
> > 	1) Is there any reason why environment.sh shouldn't be removed? It only contains repeated SSH/SCP definitions.
> > 	2) Should ovgen.py be pathed to understand variables without double quotes?
> >
> > 	Regards,
> > 	Daniel
> > 	IoT Technology center, TOSHIBA
> >
> >
> >
> >
> >
> >
> >
> > 	>
> > 	> Thanks again
> > 	>
> > 	> Anirudh Vasudevan
> > 	>
> > 	>
> > 	> On Tue, Oct 18, 2016 at 9:01 PM, Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp>
> > <mailto:daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp> > > wrote:
> > 	>
> > 	>
> > 	>       Hi Anirudh,
> > 	>
> > 	>       > -----Original Message-----
> > 	>       > From: fuego-bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.linuxfoundation.org>  <mailto:fuego-
> > bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.linuxfoundation.org> >  [mailto:fuego- <mailto:fuego->
> > 	> bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org>  <mailto:fuego-
> > bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.linuxfoundation.org> > ] On Behalf Of anirudh vasudevan
> > 	>       > Sent: Tuesday, October 18, 2016 2:38 AM
> > 	>       > To: Bird, Timothy; fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org>
> > <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org> > ; ltsi-
> > 	> dev@lists.linuxfoundation.org <mailto:dev@lists.linuxfoundation.org>  <mailto:ltsi-dev@lists.linuxfoundation.org
> > <mailto:ltsi-dev@lists.linuxfoundation.org> >
> > 	>       > Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> > 	>       >
> > 	>       > Hi Tim,
> > 	>       >
> > 	>       > Thanks a lot for the reply. I was playing with the dockerfile so I would have messed it up there that being said I removed
> > and
> > 	> cloned
> > 	>       > once again and reinstalled Docker.io once more am still getting the same error. I feel that dockerfile is not installing
> > correctly
> > 	> on my
> > 	>       > Linux Mint system, My linux system is running architecture i686.
> > 	>
> > 	>       Probably that's the problem. From Docker's website: "Docker requires a 64-bit installation regardless of your Ubuntu
> > version"
> > 	>
> > 	>       Ref: https://docs.docker.com/engine/installation/linux/ubuntulinux/
> > <https://docs.docker.com/engine/installation/linux/ubuntulinux/>
> > 	> <https://docs.docker.com/engine/installation/linux/ubuntulinux/
> > <https://docs.docker.com/engine/installation/linux/ubuntulinux/> >
> > 	>
> > 	>       I suggest to reinstall your OS and use Ubuntu 64bit, which is known to work.
> > 	>
> > 	>       > I have attached a series of snapshot regarding the error. I really want
> > 	>       > Fuego to be installed. Thanks for the help
> > 	>
> > 	>       Next time send them in text format please :).
> > 	>
> > 	>       Best regards,
> > 	>       Daniel
> > 	>       IoT Technology center, TOSHIBA
> > 	>
> > 	>
> > 	>       > On Fri, Oct 14, 2016 at 3:06 PM, Bird, Timothy <Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com>
> > <mailto:Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com> >
> > 	> <mailto:Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com>  <mailto:Tim.Bird@am.sony.com
> > <mailto:Tim.Bird@am.sony.com> > > > wrote:
> > 	>       >
> > 	>       >
> > 	>       >
> > 	>       >
> > 	>       >       > -----Original Message-----
> > 	>       >       > From: ltsi-dev-bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@lists.linuxfoundation.org>
> > <mailto:ltsi-dev-bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@lists.linuxfoundation.org> >  <mailto:ltsi- <mailto:ltsi-
> >
> > 	> dev-bounces@lists.linuxfoundation.org <mailto:dev-bounces@lists.linuxfoundation.org>  <mailto:ltsi-dev-
> > bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@lists.linuxfoundation.org> > >  [mailto:ltsi-dev- <mailto:ltsi-dev->
> > <mailto:ltsi-dev- <mailto:ltsi-dev-> >
> > 	>       > <mailto:ltsi-dev- <mailto:ltsi-dev->  <mailto:ltsi-dev- <mailto:ltsi-dev-> > >
> > 	>       >       > bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org>
> > <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org> >
> > 	> <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org>
> > <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.linuxfoundation.org> > > ] On Behalf Of anirudh vasudevan
> > 	>       >       > Sent: Thursday, October 13, 2016 11:03 PM
> > 	>
> > 	>       >       > To: fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org>
> > <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org> >
> > 	> <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org>
> > <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.linuxfoundation.org> > > ; ltsi-dev@lists.linuxfoundation.org
> > <mailto:ltsi-dev@lists.linuxfoundation.org>  <mailto:ltsi- <mailto:ltsi->
> > 	> dev@lists.linuxfoundation.org <mailto:dev@lists.linuxfoundation.org> >
> > 	>       > <mailto:ltsi-dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.linuxfoundation.org>  <mailto:ltsi-
> > dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.linuxfoundation.org> > >
> >
> > 	>       >       > Subject: [LTSI-dev] Fuego installation
> > 	>       >       >
> > 	>       >       > Hello,
> > 	>       >       >
> > 	>       >       >
> > 	>       >       > Hope you guys are doing good. Am just not able to install Fuego on my Linux
> > 	>       >       > Mint Sarah 18 system I read the Tim Bird Document on how to install Fuego,
> > 	>       >       > was able to clone the bitbucket and when I ran the .install.sh script it is
> > 	>       >       > throwing errors on the dockerfile. Can you please help me out screenshots
> > 	>       >       > attached.
> > 	>       >
> > 	>       >
> > 	>       >       The command that is failing in the screenshot is not the same as what is in my Dockerfile.
> > 	>       >
> > 	>       >       The screenshot shows:
> > 	>       >       RUN dpkg -add--architecture i386
> > 	>       >
> > 	>       >       But the Dockerfile should contain the following:
> > 	>       >       RUN dpkg --add-architecture i386
> > 	>       >
> > 	>       >       (that is, 2 dashes before the 'add', not after the 'add')
> > 	>       >
> > 	>       >       Did your Dockerfile somehow get corrupated?
> > 	>       >        -- Tim
> > 	>       >
> > 	>       >
> > 	>       >
> > 	>       >
> > 	>
> > 	>
> > 	>
> > 	>
> > 	>
> >
> >
> >
> >
> >
> 
> 
> 
> _______________________________________________
> Fuego mailing list
> Fuego@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-21  1:35               ` Daniel Sangorrin
@ 2016-10-21 16:13                 ` anirudh vasudevan
  0 siblings, 0 replies; 14+ messages in thread
From: anirudh vasudevan @ 2016-10-21 16:13 UTC (permalink / raw)
  To: Daniel Sangorrin; +Cc: ltsi-dev, fuego

[-- Attachment #1: Type: text/plain, Size: 10956 bytes --]

Hi Daniel,

No luck I deleted the target and built it all over again to get the same
error. Is it because of SDK issue? Should I have to build my own toolchain.

Please let me know if any more information is required to get this running

Thanks,
Anirudh

On Thu, Oct 20, 2016 at 9:35 PM, Daniel Sangorrin <
daniel.sangorrin@toshiba.co.jp> wrote:

> > From: fuego-bounces@lists.linuxfoundation.org [mailto:
> fuego-bounces@lists.linuxfoundation.org] On Behalf Of Daniel Sangorrin
> > Hi Anirudh,
> >
> > > From: anirudh vasudevan [mailto:vasuanirudh@gmail.com]
> > > I did apply the patch that you sent and did work for an extent now am
> getting the below error.
> > >
> > > root@10.200.15.192 <mailto:root@10.200.15.192>  'echo "Firmware
> revision:" 4.7.4-IMX6.VAR_R17'
> > > ssh: connect to host 10.200.15.192 port 22: Connection timed out
> > > +++ abort_job 'Error while ROOTFS_FWVER command execution on target'
>
> Actually, it seems you already connected once and got your target's kernel
> version "4.7.4-IMX6.VAR_R1".
> I'm not sure why but it seems the connection timed out for some reason. It
> could be some temporary
> problem, have you tried again?
>
> > > +++ set +x
> > >
> > > *** ABORTED ***
> > >
> > > Fuego error reason: Error while ROOTFS_FWVER command execution on
> > >
> > >
> > > apologizes for sending mail back and forth.
> >
> > It seems that the connection to your board timed out.
> >
> > - Did you write the target's IP address correctly in your board file
> (IPADDR)?
> > - Is the sshd daemon running on your target board?
> > - Can you connect by ssh from Fuego's docker to your target?
> >
> > Regards,
> > Daniel
> >
> >
> >
> >
> > > On Wed, Oct 19, 2016 at 8:02 PM, Daniel Sangorrin <
> daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp> >
> > wrote:
> > >
> > >
> > >     Hi Anirudh,
> > >
> > >     > From: anirudh vasudevan [mailto:vasuanirudh@gmail.com <mailto:
> vasuanirudh@gmail.com> ]
> > >     > Hi Daniel,
> > >     >
> > >     >
> > >     > Thank you so much for replying. I did install Fuego on a 64bit
> Ubuntu system (Linux Mint 18) and went to the Fuego
> > > homepage
> > >     > without any glitch.
> > >
> > >     Thanks for letting us now.
> > >
> > >     > I added the test board as given in the doc once I run the
> functional test present on Fuego (functional.bc), jenkins is
> > >     > not able to ssh to the VAR-SOM board, below is the error that i
> captured from the console.
> > >     >
> > >     >
> > >     > Test is failing
> > >     >
> > >     > +++ sshpass -e ssh -o ServerAliveInterval=30 -o
> StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> > > ConnectTimeout=15 -
> > >     > p root@10.200.15.192 <mailto:root@10.200.15.192>  <mailto:
> root@10.200.15.192 <mailto:root@10.200.15.192> >  true
> > >     > Bad port 'root@10.XX.XX.XXX'
> > >     > +++ abort_job 'Cannot connect to 10.XX.XX.XXX via ssh'
> > >     > +++ set +x
> > >     >
> > >     > *** ABORTED ***
> > >     >
> > >     > Fuego error reason: Cannot connect to 10.XX.XX.XXX via ssh
> > >     >
> > >
> > >     Please try the patch I just sent to the list. It seems that the
> SSH_PORT
> > >     variable needs to be double quoted (if you are using a different
> port
> > >     number define SSH_PORT="your_port_number" in your board file).
> > >     # I haven't checked in detail but I think the reason is that
> ovgen.py
> > >     requires double quotes when parsing the board variables.
> > >
> > >     Dmitry, Tim:
> > >
> > >     1) Is there any reason why environment.sh shouldn't be removed? It
> only contains repeated SSH/SCP definitions.
> > >     2) Should ovgen.py be pathed to understand variables without
> double quotes?
> > >
> > >     Regards,
> > >     Daniel
> > >     IoT Technology center, TOSHIBA
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >     >
> > >     > Thanks again
> > >     >
> > >     > Anirudh Vasudevan
> > >     >
> > >     >
> > >     > On Tue, Oct 18, 2016 at 9:01 PM, Daniel Sangorrin <
> daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@toshiba.co.jp>
> > > <mailto:daniel.sangorrin@toshiba.co.jp <mailto:daniel.sangorrin@
> toshiba.co.jp> > > wrote:
> > >     >
> > >     >
> > >     >       Hi Anirudh,
> > >     >
> > >     >       > -----Original Message-----
> > >     >       > From: fuego-bounces@lists.linuxfoundation.org <mailto:
> fuego-bounces@lists.linuxfoundation.org>  <mailto:fuego-
> > > bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.
> linuxfoundation.org> >  [mailto:fuego- <mailto:fuego->
> > >     > bounces@lists.linuxfoundation.org <mailto:bounces@lists.
> linuxfoundation.org>  <mailto:fuego-
> > > bounces@lists.linuxfoundation.org <mailto:fuego-bounces@lists.
> linuxfoundation.org> > ] On Behalf Of anirudh vasudevan
> > >     >       > Sent: Tuesday, October 18, 2016 2:38 AM
> > >     >       > To: Bird, Timothy; fuego@lists.linuxfoundation.org
> <mailto:fuego@lists.linuxfoundation.org>
> > > <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.
> linuxfoundation.org> > ; ltsi-
> > >     > dev@lists.linuxfoundation.org <mailto:dev@lists.
> linuxfoundation.org>  <mailto:ltsi-dev@lists.linuxfoundation.org
> > > <mailto:ltsi-dev@lists.linuxfoundation.org> >
> > >     >       > Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> > >     >       >
> > >     >       > Hi Tim,
> > >     >       >
> > >     >       > Thanks a lot for the reply. I was playing with the
> dockerfile so I would have messed it up there that being said I removed
> > > and
> > >     > cloned
> > >     >       > once again and reinstalled Docker.io once more am still
> getting the same error. I feel that dockerfile is not installing
> > > correctly
> > >     > on my
> > >     >       > Linux Mint system, My linux system is running
> architecture i686.
> > >     >
> > >     >       Probably that's the problem. From Docker's website:
> "Docker requires a 64-bit installation regardless of your Ubuntu
> > > version"
> > >     >
> > >     >       Ref: https://docs.docker.com/engine/installation/linux/
> ubuntulinux/
> > > <https://docs.docker.com/engine/installation/linux/ubuntulinux/>
> > >     > <https://docs.docker.com/engine/installation/linux/ubuntulinux/
> > > <https://docs.docker.com/engine/installation/linux/ubuntulinux/> >
> > >     >
> > >     >       I suggest to reinstall your OS and use Ubuntu 64bit, which
> is known to work.
> > >     >
> > >     >       > I have attached a series of snapshot regarding the
> error. I really want
> > >     >       > Fuego to be installed. Thanks for the help
> > >     >
> > >     >       Next time send them in text format please :).
> > >     >
> > >     >       Best regards,
> > >     >       Daniel
> > >     >       IoT Technology center, TOSHIBA
> > >     >
> > >     >
> > >     >       > On Fri, Oct 14, 2016 at 3:06 PM, Bird, Timothy <
> Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com>
> > > <mailto:Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com> >
> > >     > <mailto:Tim.Bird@am.sony.com <mailto:Tim.Bird@am.sony.com>
> <mailto:Tim.Bird@am.sony.com
> > > <mailto:Tim.Bird@am.sony.com> > > > wrote:
> > >     >       >
> > >     >       >
> > >     >       >
> > >     >       >
> > >     >       >       > -----Original Message-----
> > >     >       >       > From: ltsi-dev-bounces@lists.linuxfoundation.org
> <mailto:ltsi-dev-bounces@lists.linuxfoundation.org>
> > > <mailto:ltsi-dev-bounces@lists.linuxfoundation.org <mailto:
> ltsi-dev-bounces@lists.linuxfoundation.org> >  <mailto:ltsi- <mailto:ltsi-
> > >
> > >     > dev-bounces@lists.linuxfoundation.org <mailto:dev-bounces@lists.
> linuxfoundation.org>  <mailto:ltsi-dev-
> > > bounces@lists.linuxfoundation.org <mailto:ltsi-dev-bounces@
> lists.linuxfoundation.org> > >  [mailto:ltsi-dev- <mailto:ltsi-dev->
> > > <mailto:ltsi-dev- <mailto:ltsi-dev-> >
> > >     >       > <mailto:ltsi-dev- <mailto:ltsi-dev->  <mailto:ltsi-dev-
> <mailto:ltsi-dev-> > >
> > >     >       >       > bounces@lists.linuxfoundation.org <mailto:
> bounces@lists.linuxfoundation.org>
> > > <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.
> linuxfoundation.org> >
> > >     > <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.
> linuxfoundation.org>
> > > <mailto:bounces@lists.linuxfoundation.org <mailto:bounces@lists.
> linuxfoundation.org> > > ] On Behalf Of anirudh vasudevan
> > >     >       >       > Sent: Thursday, October 13, 2016 11:03 PM
> > >     >
> > >     >       >       > To: fuego@lists.linuxfoundation.org <mailto:
> fuego@lists.linuxfoundation.org>
> > > <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.
> linuxfoundation.org> >
> > >     > <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.
> linuxfoundation.org>
> > > <mailto:fuego@lists.linuxfoundation.org <mailto:fuego@lists.
> linuxfoundation.org> > > ; ltsi-dev@lists.linuxfoundation.org
> > > <mailto:ltsi-dev@lists.linuxfoundation.org>  <mailto:ltsi- <mailto:
> ltsi->
> > >     > dev@lists.linuxfoundation.org <mailto:dev@lists.
> linuxfoundation.org> >
> > >     >       > <mailto:ltsi-dev@lists.linuxfoundation.org <mailto:
> ltsi-dev@lists.linuxfoundation.org>  <mailto:ltsi-
> > > dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.
> linuxfoundation.org> > >
> > >
> > >     >       >       > Subject: [LTSI-dev] Fuego installation
> > >     >       >       >
> > >     >       >       > Hello,
> > >     >       >       >
> > >     >       >       >
> > >     >       >       > Hope you guys are doing good. Am just not able
> to install Fuego on my Linux
> > >     >       >       > Mint Sarah 18 system I read the Tim Bird
> Document on how to install Fuego,
> > >     >       >       > was able to clone the bitbucket and when I ran
> the .install.sh script it is
> > >     >       >       > throwing errors on the dockerfile. Can you
> please help me out screenshots
> > >     >       >       > attached.
> > >     >       >
> > >     >       >
> > >     >       >       The command that is failing in the screenshot is
> not the same as what is in my Dockerfile.
> > >     >       >
> > >     >       >       The screenshot shows:
> > >     >       >       RUN dpkg -add--architecture i386
> > >     >       >
> > >     >       >       But the Dockerfile should contain the following:
> > >     >       >       RUN dpkg --add-architecture i386
> > >     >       >
> > >     >       >       (that is, 2 dashes before the 'add', not after the
> 'add')
> > >     >       >
> > >     >       >       Did your Dockerfile somehow get corrupated?
> > >     >       >        -- Tim
> > >     >       >
> > >     >       >
> > >     >       >
> > >     >       >
> > >     >
> > >     >
> > >     >
> > >     >
> > >     >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > _______________________________________________
> > Fuego mailing list
> > Fuego@lists.linuxfoundation.org
> > https://lists.linuxfoundation.org/mailman/listinfo/fuego
>
>
>

[-- Attachment #2: Type: text/html, Size: 20225 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-20 16:25           ` anirudh vasudevan
  2016-10-21  1:23             ` Daniel Sangorrin
@ 2016-10-21 18:09             ` Bird, Timothy
  2016-10-21 18:52               ` anirudh vasudevan
  1 sibling, 1 reply; 14+ messages in thread
From: Bird, Timothy @ 2016-10-21 18:09 UTC (permalink / raw)
  To: anirudh vasudevan, Daniel Sangorrin; +Cc: ltsi-dev, fuego



> -----Original Message-----
> From: anirudh vasudevan [mailto:vasuanirudh@gmail.com]
> Sent: Thursday, October 20, 2016 9:25 AM
> To: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
> Cc: Bird, Timothy <Tim.Bird@am.sony.com>;
> fuego@lists.linuxfoundation.org; ltsi-dev@lists.linuxfoundation.org
> Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> 
> Hi Daniel,
> 
> 
> I did apply the patch that you sent and did work for an extent now am getting
> the below error.
> 
> root@10.200.15.192 <mailto:root@10.200.15.192>  'echo "Firmware revision:"
> 4.7.4-IMX6.VAR_R17'
> ssh: connect to host 10.200.15.192 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

I have seen lots of timeouts on my boards when running tests as well,
but not gotten to the cause of it.  At ELCE, during the demo showcase,
the tests were running extremely slowly.  Each ssh connection operation
took something like 10 seconds.  During a test, the framework connects
many times to the target, so this was causing even a simple test like
Functional.bc to take a few minutes (when it should have taken only
20 or-so seconds).

I haven't gotten to the bottom of this, but it's not consistent on my devices.
To work around it, you can increase the timeout for the ssh operations, by 
editing the lines for ssh in the file (inside the docker container):
/home/jenkins/fuego/engine/overlays/base/base-params.fuegoclass.

There are lines like the following:
SSH="sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=15 -p $SSH_PORT $LOGIN@"
SCP="sshpass -e scp -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=15 -P $SSH_PORT"

Change the value of ConnectTimeout to 30, so the lines read as follows:
SSH="sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 -p $SSH_PORT $LOGIN@"
SCP="sshpass -e scp -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 -P $SSH_PORT"

This is kind of a hack, and definitely (IMHO) the connection timeout should be
added as an easily overridable board-level variable, but it should work around
the issue for you for now.

Figuring out what's going on with sshpass or ssh in this circumstance is on my
(rather lengthy) list of things to do.
 -- Tim



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev] Fuego installation
  2016-10-21 18:09             ` Bird, Timothy
@ 2016-10-21 18:52               ` anirudh vasudevan
  2016-10-21 19:09                 ` Bird, Timothy
  0 siblings, 1 reply; 14+ messages in thread
From: anirudh vasudevan @ 2016-10-21 18:52 UTC (permalink / raw)
  To: Bird, Timothy; +Cc: ltsi-dev, fuego

[-- Attachment #1: Type: text/plain, Size: 3300 bytes --]

Hi Tim,

I had already changed the timeout to 45 and ran and found no luck Now I
tried changing it to 80 and I was left with the same result.

+++ sshpass -e ssh -o ServerAliveInterval=30 -o
StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
ConnectTimeout=80 -p 22 root@10.200.15.192 true
ssh: connect to host 10.200.15.192 port 22: Connection timed out
+++ abort_job 'Cannot connect to 10.200.15.192 via ssh'
+++ set +x

P.S- Both the target and testing machine are on the same network and
able to ssh from terminal

Thanks,

Anirudh



On Fri, Oct 21, 2016 at 2:09 PM, Bird, Timothy <Tim.Bird@am.sony.com> wrote:

>
>
> > -----Original Message-----
> > From: anirudh vasudevan [mailto:vasuanirudh@gmail.com]
> > Sent: Thursday, October 20, 2016 9:25 AM
> > To: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
> > Cc: Bird, Timothy <Tim.Bird@am.sony.com>;
> > fuego@lists.linuxfoundation.org; ltsi-dev@lists.linuxfoundation.org
> > Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> >
> > Hi Daniel,
> >
> >
> > I did apply the patch that you sent and did work for an extent now am
> getting
> > the below error.
> >
> > root@10.200.15.192 <mailto:root@10.200.15.192>  'echo "Firmware
> revision:"
> > 4.7.4-IMX6.VAR_R17'
> > ssh: connect to host 10.200.15.192 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
>
> I have seen lots of timeouts on my boards when running tests as well,
> but not gotten to the cause of it.  At ELCE, during the demo showcase,
> the tests were running extremely slowly.  Each ssh connection operation
> took something like 10 seconds.  During a test, the framework connects
> many times to the target, so this was causing even a simple test like
> Functional.bc to take a few minutes (when it should have taken only
> 20 or-so seconds).
>
> I haven't gotten to the bottom of this, but it's not consistent on my
> devices.
> To work around it, you can increase the timeout for the ssh operations, by
> editing the lines for ssh in the file (inside the docker container):
> /home/jenkins/fuego/engine/overlays/base/base-params.fuegoclass.
>
> There are lines like the following:
> SSH="sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no
> -o UserKnownHostsFile=/dev/null -o ConnectTimeout=15 -p $SSH_PORT $LOGIN@"
> SCP="sshpass -e scp -o ServerAliveInterval=30 -o StrictHostKeyChecking=no
> -o UserKnownHostsFile=/dev/null -o ConnectTimeout=15 -P $SSH_PORT"
>
> Change the value of ConnectTimeout to 30, so the lines read as follows:
> SSH="sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no
> -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 -p $SSH_PORT $LOGIN@"
> SCP="sshpass -e scp -o ServerAliveInterval=30 -o StrictHostKeyChecking=no
> -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 -P $SSH_PORT"
>
> This is kind of a hack, and definitely (IMHO) the connection timeout
> should be
> added as an easily overridable board-level variable, but it should work
> around
> the issue for you for now.
>
> Figuring out what's going on with sshpass or ssh in this circumstance is
> on my
> (rather lengthy) list of things to do.
>  -- Tim
>
>
>

[-- Attachment #2: Type: text/html, Size: 4494 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev]   Fuego installation
  2016-10-21 18:52               ` anirudh vasudevan
@ 2016-10-21 19:09                 ` Bird, Timothy
  2016-10-21 20:04                   ` anirudh vasudevan
  0 siblings, 1 reply; 14+ messages in thread
From: Bird, Timothy @ 2016-10-21 19:09 UTC (permalink / raw)
  To: anirudh vasudevan; +Cc: ltsi-dev, fuego



> -----Original Message-----
> From: ltsi-dev-bounces@lists.linuxfoundation.org [mailto:ltsi-dev-
> bounces@lists.linuxfoundation.org] On Behalf Of anirudh vasudevan
> Sent: Friday, October 21, 2016 11:52 AM
> To: Bird, Timothy <Tim.Bird@am.sony.com>
> Cc: ltsi-dev@lists.linuxfoundation.org; fuego@lists.linuxfoundation.org
> Subject: Re: [LTSI-dev] [Fuego] Fuego installation
> 
> Hi Tim,
> 
> 
> I had already changed the timeout to 45 and ran and found no luck Now I
> tried changing it to 80 and I was left with the same result.
>

Hmm.  I found a reference on the internet to changing the value of UseDNS on the
target.  Can you do the following:

On your target, in the file /etc/ssh/sshd_config, add a line containing:
UseDNS no

Then do: "sudo service ssh restart"
on the target.

Then re-run the test and see if you're still getting the timeout.

I'm setting up an environment to test this on my side, but it will take a while.
(I have to reconstruct my setup from the tech showcase.)
But if you could try this out real quick and let me know if it helps, that would
be useful.

Thanks - and sorry for the problems.

BTW - what target board and Linux distribution are you using?

 -- Tim


> 
> +++ sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o
> UserKnownHostsFile=/dev/null -o ConnectTimeout=80 -p 22
> root@10.200.15.192 <mailto:root@10.200.15.192>  true
> ssh: connect to host 10.200.15.192 port 22: Connection timed out
> +++ abort_job 'Cannot connect to 10.200.15.192 via ssh'
> +++ set +x
> 
> P.S- Both the target and testing machine are on the same network and able
> to ssh from terminal
> Thanks,
> Anirudh
> 
> 
> On Fri, Oct 21, 2016 at 2:09 PM, Bird, Timothy <Tim.Bird@am.sony.com
> <mailto:Tim.Bird@am.sony.com> > wrote:
> 
> 
> 
> 
> 	> -----Original Message-----
> 	> From: anirudh vasudevan [mailto:vasuanirudh@gmail.com
> <mailto:vasuanirudh@gmail.com> ]
> 	> Sent: Thursday, October 20, 2016 9:25 AM
> 	> To: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp
> <mailto:daniel.sangorrin@toshiba.co.jp> >
> 	> Cc: Bird, Timothy <Tim.Bird@am.sony.com
> <mailto:Tim.Bird@am.sony.com> >;
> 	> fuego@lists.linuxfoundation.org
> <mailto:fuego@lists.linuxfoundation.org> ; ltsi-
> dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.linuxfoundation.org>
> 	> Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> 	>
> 	> Hi Daniel,
> 	>
> 	>
> 	> I did apply the patch that you sent and did work for an extent now
> am getting
> 	> the below error.
> 	>
> 	> root@10.200.15.192 <mailto:root@10.200.15.192>
> <mailto:root@10.200.15.192 <mailto:root@10.200.15.192> >  'echo "Firmware
> revision:"
> 	> 4.7.4-IMX6.VAR_R17'
> 	> ssh: connect to host 10.200.15.192 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
> 
> 	I have seen lots of timeouts on my boards when running tests as
> well,
> 	but not gotten to the cause of it.  At ELCE, during the demo
> showcase,
> 	the tests were running extremely slowly.  Each ssh connection
> operation
> 	took something like 10 seconds.  During a test, the framework
> connects
> 	many times to the target, so this was causing even a simple test like
> 	Functional.bc to take a few minutes (when it should have taken only
> 	20 or-so seconds).
> 
> 	I haven't gotten to the bottom of this, but it's not consistent on my
> devices.
> 	To work around it, you can increase the timeout for the ssh
> operations, by
> 	editing the lines for ssh in the file (inside the docker container):
> 	/home/jenkins/fuego/engine/overlays/base/base-
> params.fuegoclass.
> 
> 	There are lines like the following:
> 	SSH="sshpass -e ssh -o ServerAliveInterval=30 -o
> StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> ConnectTimeout=15 -p $SSH_PORT $LOGIN@"
> 	SCP="sshpass -e scp -o ServerAliveInterval=30 -o
> StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> ConnectTimeout=15 -P $SSH_PORT"
> 
> 	Change the value of ConnectTimeout to 30, so the lines read as
> follows:
> 	SSH="sshpass -e ssh -o ServerAliveInterval=30 -o
> StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> ConnectTimeout=30 -p $SSH_PORT $LOGIN@"
> 	SCP="sshpass -e scp -o ServerAliveInterval=30 -o
> StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> ConnectTimeout=30 -P $SSH_PORT"
> 
> 	This is kind of a hack, and definitely (IMHO) the connection timeout
> should be
> 	added as an easily overridable board-level variable, but it should
> work around
> 	the issue for you for now.
> 
> 	Figuring out what's going on with sshpass or ssh in this circumstance
> is on my
> 	(rather lengthy) list of things to do.
> 	 -- Tim
> 
> 
> 
> 


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Fuego] [LTSI-dev]  Fuego installation
  2016-10-21 19:09                 ` Bird, Timothy
@ 2016-10-21 20:04                   ` anirudh vasudevan
  0 siblings, 0 replies; 14+ messages in thread
From: anirudh vasudevan @ 2016-10-21 20:04 UTC (permalink / raw)
  To: Bird, Timothy; +Cc: ltsi-dev, fuego

[-- Attachment #1: Type: text/plain, Size: 5682 bytes --]

Hi Tim,

I did try it out not able to run the functional.bc on the target board same
error, the target board that am using is IMX6.VAR_R17 (variscite) and the
linux distro on the target is Debain and the one on the testing machine is
Linux mint 18 sarah (ubuntu 16.04).

Thanks,
Anirudh

On Fri, Oct 21, 2016 at 3:09 PM, Bird, Timothy <Tim.Bird@am.sony.com> wrote:

>
>
> > -----Original Message-----
> > From: ltsi-dev-bounces@lists.linuxfoundation.org [mailto:ltsi-dev-
> > bounces@lists.linuxfoundation.org] On Behalf Of anirudh vasudevan
> > Sent: Friday, October 21, 2016 11:52 AM
> > To: Bird, Timothy <Tim.Bird@am.sony.com>
> > Cc: ltsi-dev@lists.linuxfoundation.org; fuego@lists.linuxfoundation.org
> > Subject: Re: [LTSI-dev] [Fuego] Fuego installation
> >
> > Hi Tim,
> >
> >
> > I had already changed the timeout to 45 and ran and found no luck Now I
> > tried changing it to 80 and I was left with the same result.
> >
>
> Hmm.  I found a reference on the internet to changing the value of UseDNS
> on the
> target.  Can you do the following:
>
> On your target, in the file /etc/ssh/sshd_config, add a line containing:
> UseDNS no
>
> Then do: "sudo service ssh restart"
> on the target.
>
> Then re-run the test and see if you're still getting the timeout.
>
> I'm setting up an environment to test this on my side, but it will take a
> while.
> (I have to reconstruct my setup from the tech showcase.)
> But if you could try this out real quick and let me know if it helps, that
> would
> be useful.
>
> Thanks - and sorry for the problems.
>
> BTW - what target board and Linux distribution are you using?
>
>  -- Tim
>
>
> >
> > +++ sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no
> -o
> > UserKnownHostsFile=/dev/null -o ConnectTimeout=80 -p 22
> > root@10.200.15.192 <mailto:root@10.200.15.192>  true
> > ssh: connect to host 10.200.15.192 port 22: Connection timed out
> > +++ abort_job 'Cannot connect to 10.200.15.192 via ssh'
> > +++ set +x
> >
> > P.S- Both the target and testing machine are on the same network and able
> > to ssh from terminal
> > Thanks,
> > Anirudh
> >
> >
> > On Fri, Oct 21, 2016 at 2:09 PM, Bird, Timothy <Tim.Bird@am.sony.com
> > <mailto:Tim.Bird@am.sony.com> > wrote:
> >
> >
> >
> >
> >       > -----Original Message-----
> >       > From: anirudh vasudevan [mailto:vasuanirudh@gmail.com
> > <mailto:vasuanirudh@gmail.com> ]
> >       > Sent: Thursday, October 20, 2016 9:25 AM
> >       > To: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp
> > <mailto:daniel.sangorrin@toshiba.co.jp> >
> >       > Cc: Bird, Timothy <Tim.Bird@am.sony.com
> > <mailto:Tim.Bird@am.sony.com> >;
> >       > fuego@lists.linuxfoundation.org
> > <mailto:fuego@lists.linuxfoundation.org> ; ltsi-
> > dev@lists.linuxfoundation.org <mailto:ltsi-dev@lists.linuxfoundation.org
> >
> >       > Subject: Re: [Fuego] [LTSI-dev] Fuego installation
> >       >
> >       > Hi Daniel,
> >       >
> >       >
> >       > I did apply the patch that you sent and did work for an extent
> now
> > am getting
> >       > the below error.
> >       >
> >       > root@10.200.15.192 <mailto:root@10.200.15.192>
> > <mailto:root@10.200.15.192 <mailto:root@10.200.15.192> >  'echo
> "Firmware
> > revision:"
> >       > 4.7.4-IMX6.VAR_R17'
> >       > ssh: connect to host 10.200.15.192 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
> >
> >       I have seen lots of timeouts on my boards when running tests as
> > well,
> >       but not gotten to the cause of it.  At ELCE, during the demo
> > showcase,
> >       the tests were running extremely slowly.  Each ssh connection
> > operation
> >       took something like 10 seconds.  During a test, the framework
> > connects
> >       many times to the target, so this was causing even a simple test
> like
> >       Functional.bc to take a few minutes (when it should have taken only
> >       20 or-so seconds).
> >
> >       I haven't gotten to the bottom of this, but it's not consistent on
> my
> > devices.
> >       To work around it, you can increase the timeout for the ssh
> > operations, by
> >       editing the lines for ssh in the file (inside the docker
> container):
> >       /home/jenkins/fuego/engine/overlays/base/base-
> > params.fuegoclass.
> >
> >       There are lines like the following:
> >       SSH="sshpass -e ssh -o ServerAliveInterval=30 -o
> > StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> > ConnectTimeout=15 -p $SSH_PORT $LOGIN@"
> >       SCP="sshpass -e scp -o ServerAliveInterval=30 -o
> > StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> > ConnectTimeout=15 -P $SSH_PORT"
> >
> >       Change the value of ConnectTimeout to 30, so the lines read as
> > follows:
> >       SSH="sshpass -e ssh -o ServerAliveInterval=30 -o
> > StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> > ConnectTimeout=30 -p $SSH_PORT $LOGIN@"
> >       SCP="sshpass -e scp -o ServerAliveInterval=30 -o
> > StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> > ConnectTimeout=30 -P $SSH_PORT"
> >
> >       This is kind of a hack, and definitely (IMHO) the connection
> timeout
> > should be
> >       added as an easily overridable board-level variable, but it should
> > work around
> >       the issue for you for now.
> >
> >       Figuring out what's going on with sshpass or ssh in this
> circumstance
> > is on my
> >       (rather lengthy) list of things to do.
> >        -- Tim
> >
> >
> >
> >
>
>

[-- Attachment #2: Type: text/html, Size: 8673 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-10-21 20:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-13 21:02 [Fuego] Fuego installation anirudh vasudevan
2016-10-14 19:06 ` [Fuego] [LTSI-dev] " Bird, Timothy
2016-10-17 17:38   ` anirudh vasudevan
2016-10-19  1:01     ` Daniel Sangorrin
2016-10-19 20:50       ` anirudh vasudevan
2016-10-20  0:02         ` Daniel Sangorrin
2016-10-20 16:25           ` anirudh vasudevan
2016-10-21  1:23             ` Daniel Sangorrin
2016-10-21  1:35               ` Daniel Sangorrin
2016-10-21 16:13                 ` anirudh vasudevan
2016-10-21 18:09             ` Bird, Timothy
2016-10-21 18:52               ` anirudh vasudevan
2016-10-21 19:09                 ` Bird, Timothy
2016-10-21 20:04                   ` anirudh vasudevan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.