[Automated-testing] Looking for a Debian kernel provisioning solution

Tim.Bird at sony.com Tim.Bird at sony.com
Fri Jan 26 11:41:18 PST 2018



> -----Original Message-----
> From: Kieran Bingham
> On 25/01/18 22:25, Paul Barker wrote:
> > On Thu, Jan 25, 2018 at 10:11 PM, Kieran Bingham  wrote:
...
> >>
> >> However, I also have two of these:
> >>         https://energenie4u.co.uk/catalogue/product/ENER011
> >
> > Looks perfect as I'm UK based. It's also affordable as well,
> > everything else I've looked at has been nearly 10x that price. Is that
> > controllable from Linux in an automated, non-GUI way?
> 
> Yes, it uses sispmctl (should be an apt-get install sispmctl away, or such)
> 
> I have the attached energenie-power script on my raspberry-pi - and other
> automated scripts hook into that to control some of my boards.

We really need some project where scripts like this could be collected
and disseminated.  I think all of us have these.  My own are called
powerswitch-set and powerswitch-cycle, and are python scripts
that do web-based control of a web-power switch (a link to hardware
info is on the elinux Board Farm page).

I'm also editing scripts directly, when I want to add a new target
(eg - I put the new target name in the script itself, and the association
between the power port and the target is just hardcoded in the
script.)

I had hoped that pduclient (used by LAVA) could be an upstream for
this type of stuff, but there doesn’t seem to be any effort around
collecting these (or using pduclient outside of LAVA).  Maybe labgrid,
or r4d, or ttc?  I wish I had time to be the upstream for these types
of power control programs, but I don't.

In the mean time, I think I'll put my script on the elinux wiki, with a link
next to the hardware reference.
 -- Tim


More information about the automated-testing mailing list