lp://staging/~pfalcon/lava-dispatcher/run-as-non-root

Created by Paul Sokolovsky and last modified
Get this branch:
bzr branch lp://staging/~pfalcon/lava-dispatcher/run-as-non-root
Only Paul Sokolovsky can upload to this branch. If you are Paul Sokolovsky please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Paul Sokolovsky
Project:
LAVA Dispatcher
Status:
Development

Recent revisions

411. By Paul Sokolovsky

Patch target filesystem with sudo rights, allows to run as non-root.

This logically complements existing usage of sudo elsewhere in the code.

410. By Andy Doan

fix dumb mistake from revno 408

409. By Andy Doan

fix dumb mistake from previous commit

408. By Andy Doan

fix health check regression for master images

Target implementations must now always set self.deployment_data. We
were missing logic to set this when we find cached tarballs for health
jobs. This commit does two things:

1. Add "data" to the tuple that gets cached. This data is flexible, but
in practice is just "oe" or "ubuntu" to tell us which deployment_data
is needed.

2. Make tarballcache more resilient. This changes how tarballcache is
set up. So current installations not including this new "data" file will
need to re-generate their tarballs. While I was at it, I also fixed
logic so that accidental deletion of say "boot.tgz" can be managed
properly (ie - it will clear the cache and regenerate)

407. By Andy Doan

FastModel: add new support for foundation models

406. By Andy Doan

all power_off logic requires a sync

We missed a case where we weren't doing a sync before calling power_off.
This was causing results for FastModels to not get flushed to disk.

405. By Andy Doan

regression with lava-test for fastmodel

I'm not sure how this ever worked, but the recent juggling around
of prompts has indicated an issue with the default timeout set
for fastmodels. Any command that passes -1 as a timeout uses the
default which was 90, and way too small to do something like run
the bigLITTLE suite. This gets it to a sane value used by all
other device types.

404. By Andy Doan

ensure fastmodel uses lo for network interface

In the old implementation the client had a function,
get_android_adb_interface. This doesn't work well with the new
target approach. And we really already had a way of handling this
just using the config for the model.

403. By Andy Doan

regression in fastmodel android from latest target refactor

Somehow I missed the ping alias for fastmodels. I also re-did
how we write this file. The logging_system way was a bit overkill

402. By Michael Hudson-Doyle

Change the setting of the shell prompts -- instead of setting it after the test
image boots, just have deployment force the prompt to be what we want.

Also make the master image code a bit more single-purpose.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/lava-dispatcher
This branch contains Public information 
Everyone can see this information.

Subscribers