Re: [Fuego] How run Fuego tools on a Jenkins slave node

<[email protected]> Fri, 3 Sep 2021 20:21:31 +0000
Newsgroups dev.linux.lists.fuego
Message-ID <BYAPR13MB2503CD7C32701B2F8D1B3DB1FDCF9@BYAPR13MB2503.namprd13.prod.outlook.com>

> -----Original Message-----
> From: Michael Nazzareno Trimarchi <[email protected]>
> 
> HI
> 
> On Fri, Sep 3, 2021 at 7:33 PM Michael Nazzareno Trimarchi
> <[email protected]> wrote:
> >
> > Hi Tim
> >
> > On Mon, Aug 30, 2021 at 9:14 PM Michael Nazzareno Trimarchi
> > <[email protected]> wrote:
> > >
> > > Hi
> > >
> > > On Mon, Aug 30, 2021 at 7:54 PM <[email protected]> wrote:
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Michael Nazzareno Trimarchi <[email protected]>
> > > > >
> > > > > Hi
> > > > >
> > > > > On Mon, Aug 30, 2021 at 6:35 PM <[email protected]> wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Michael Nazzareno Trimarchi <[email protected]>
> > > > > > >
> > > > > > > Hi
> > > > > > >
> > > > > > > On Fri, Aug 27, 2021 at 11:10 PM <[email protected]> wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Michael Nazzareno Trimarchi <[email protected]>
> > > > > > > > >
> > > > > > > > > Hi
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Fri, Aug 27, 2021, 6:17 PM <[email protected] <mailto:[email protected]> > wrote:
> > > > [...snipping a lot...]
> > > > > >
> > > > > > >
> > > > > > > jenkins_master\->slave1 -> hw1,hw2
> > > > > > >                         \->slave2 -> hw3
> > > > > >
> > > > > > Yes, but I would add a bit more detail here, for clarity:
> > > > > >
> > > > > > jenkins_master\->slave1\-> ftc -> docker ftc -> FUEGO_TRANSPORT -> hw1
> > > > > >                                          \-> ftc -> docker ftc -> FUEGO_TRANSPORT -> hw2
> > > > > >                           \-> slave2-> ftc -> docker ftc -> FUEGO_TRANSPORT -> hw3
> > > > > >
> > > > > > 90% of the time, FUEGO_TRANSPORT is ssh, but it could be some other protocol
> > > > > > for executing commands on the board and transferring files (like 'serial', or 'ebf')
> > > > > >
> > > > >
> > > > > Ok
> > > > >
> > > > > > Note that the call to 'docker ftc' is transparent.  On a system where Fuego is installed,
> > > > > > you can just run 'ftc', and it figures our whether to run natively (if installed natively)
> > > > > > or by doing a second invocation inside the container (if installed with a container).
> > > > >
> > > > > Ok, so I can clone it on my local node and use it
> > > > >
> > > >
> > > > Yes.   And if hw4 happens to be the machine where all this is running, then you
> > > > can use 'local' instead of 'ssh' as the Fuego transport for that 'board'.
> > >
> > > I think that this is most of the use cases. In this cases the pipeline
> > > result should be shown
> > > import the html report and visualize in master. I think that this
> > > should have a section on documentation.
> > >
> > > I will ask someone in the company to play a bit. I'm always short in time
> > >
> >
> > I have started by myself. I have few questions:
> > sudo is required only if your are not in docker users and in general
> > is not needed.
> > I have done a patch to pass as optional when I create the container.
> >
> > I have used ./instal.sh --nojenkins but the volume are not mounted
> > when the container
> > start. Do you have the same problem?
> 
> Solved I have some older installation when container name was in use

Good to hear you found the problem and were able to solve it.
 -- Tim