All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan-Simon Möller" <dl9pf@gmx.de>
To: "Bird, Timothy" <Tim.Bird@sony.com>
Cc: "fuego@lists.linuxfoundation.org" <fuego@lists.linuxfoundation.org>
Subject: Re: [Fuego] Fuego's version up and other changes
Date: Thu, 02 Feb 2017 11:04:33 +0100	[thread overview]
Message-ID: <3704428.AOdDsIb3nH@elrond> (raw)
In-Reply-To: <ECADFF3FD767C149AD96A924E7EA6EAF1049DF2E@USCULXMSG01.am.sony.com>

Am Donnerstag, 2. Februar 2017, 01:35:58 schrieb Bird, Timothy:
> > - If a model like the "TARGET_SETUP_LINK" is used, we add a delay here as
> > this call must block until the board is up.
> 
> After thinking about this, I believe that link setup and teardown should
> be built into the transport layer, with the possibility of defining
> board-specific override functions.  I've been working on the serial
> transport feature, and it has some (possibly time-consuming) operations
> that are needed
> on the first interaction with the target, and not afterwards (during
> every put, get or cmd).

Agree, but there is a catch: if I put the lava-support into the transport 
(e.g. on first cmd/get/put) - I've no knowledge about the job and how long it 
might take and we'd have to add some state or timeout in the background to
release the connection as we don't know what the last "cmd" for the session 
is.
So just in the transport layer is not enough for this type of integration.

Currently I'm using the "ssh" transport. The job setup/teardown is done 
pre/post the test job.

> 
> I haven't seen your lava integration slides yet, but it sounds like
> they have some elaborate setup and teardown operations as well.

Still hacking, I'll send them on friday but don't expect miracles.

> Functionally, doing it in the transport layer would work the same,
> but just be placed in the base-board.fuegoclass file, with stubs for
> transports that don't require it.  e.g. ov_transport_setup() and
> ov_transport_teardown()

Ok, that is a possibility, but see my previous comment. We don't have any 
knowledge about the session right now.

There might also be the question if we pool multiple tests and run them in one 
setup/teardown instead of doing the setup/teardown for _each_ test 
individually. So there might also be the need for a "keepalive" flag or 
counter.

> > In this case our predifined timeouts are bogus as they track not just the
> > test run, but all processing.
> 
> Agreed.  In general the timeouts need some better definition, as different
> tests and different transports (and different boards) will need different
> timeouts.

We need to calculate them for each of the identified phases (setup, build, 
deploy, run, ...)

Best,

-- 
--
Jan-Simon Möller
dl9pf@gmx.de

  parent reply	other threads:[~2017-02-02 10:04 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11  0:28 [Fuego] RFC: Fuego's version up and other changes Daniel Sangorrin
2017-01-12  5:51 ` Ibe.Kengo
2017-01-12  6:44   ` Daniel Sangorrin
2017-01-12  8:15     ` Ibe.Kengo
2017-01-12  8:45       ` Daniel Sangorrin
2017-01-12  9:04         ` Ibe.Kengo
2017-01-12  9:18           ` Daniel Sangorrin
2017-01-13  1:02     ` Bird, Timothy
2017-01-13  1:29       ` Daniel Sangorrin
2017-01-13  1:37         ` Bird, Timothy
2017-01-13  1:45           ` Daniel Sangorrin
2017-01-13  1:57             ` Bird, Timothy
2017-01-13  2:05               ` Daniel Sangorrin
2017-01-13  3:34                 ` Bird, Timothy
2017-01-13  4:36                   ` Daniel Sangorrin
2017-01-20  0:53 ` [Fuego] " Bird, Timothy
2017-01-20  7:09   ` Daniel Sangorrin
2017-01-28  2:14     ` Bird, Timothy
2017-01-31  1:56       ` Daniel Sangorrin
2017-01-31 20:54         ` Jan-Simon Möller
2017-02-02  1:25           ` Bird, Timothy
2017-02-02  5:49             ` Daniel Sangorrin
2017-02-02  9:50               ` Jan-Simon Möller
2017-01-31 23:15         ` Jan-Simon Möller
2017-02-01  0:56           ` Daniel Sangorrin
2017-02-01 10:46             ` Jan-Simon Möller
2017-02-02  1:57               ` Bird, Timothy
2017-02-02  6:06                 ` Daniel Sangorrin
2017-02-03  1:04                   ` Daniel Sangorrin
2017-02-13  3:51                     ` Daniel Sangorrin
2017-02-14 19:55                       ` Bird, Timothy
2017-02-15 18:39                         ` Kevin Hilman
2017-02-02  9:57                 ` Jan-Simon Möller
2017-02-02  5:45               ` Daniel Sangorrin
2017-02-02  1:35           ` Bird, Timothy
2017-02-02  5:52             ` Daniel Sangorrin
2017-02-02 10:04             ` Jan-Simon Möller [this message]
2017-02-02 20:51             ` Kevin Hilman
2017-02-02 22:16               ` Bird, Timothy
2017-02-02 23:37                 ` Kevin Hilman
2017-02-04  0:07                 ` Jan-Simon Möller
2017-02-07  1:56                   ` Daniel Sangorrin
2017-02-02  1:17         ` Bird, Timothy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3704428.AOdDsIb3nH@elrond \
    --to=dl9pf@gmx.de \
    --cc=Tim.Bird@sony.com \
    --cc=fuego@lists.linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.