Increase timeout for FastModels to boot to homescreen

Change-Id: I6da51f0771ae355ba7ef4be7f29c710203c32058
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Correct the sdcard and userdata partitions

Change-Id: I998c23632711e141b54601fa19229604608e4b6b
Dynamically create network tap devices for fastmodels

Remove the dependency on the FMNetwork script and create tap network interfaces for each fastmodel job, then add them to the bridge.
Requires a bridge device already configured on your machine.

Change-Id: I56cd73bd2f712579aa8a6fd520ef49bffc4e432a
Fix pep8 errors

Change-Id: Icc8b5abafd939f5980e764675d2349ea01c11cb9
Raise NotIemplementedError when needed

Change-Id: Iaa07622e0ab36586b32233e6c0ec6434b6d87b0d
No need to create a Factory inside a Factory

Change-Id: I095fa71d03fb659de23a8d2c63f5379b68a8e1a7
Specify string format arguments as logging function parameters

This allows logging to be lazy when possible. This error can be found easily
with pylint.

Change-Id: Ib20acbfa6ab889c24021eb073cdc058c0b058afc
Foundation ARMv8 wasn't using bridged networking

Change-Id: I5e37550ae4d14a1cdc0a7abafdd7e84a75c7ae73
bug #654 - Clarify output when Git/Bzr fail

Print the git/bzr output in the debug log. This helps to understand why the
operation failed.

Fix https://bugs.linaro.org/show_bug.cgi?id=654

Change-Id: Id0b30899d2cf133d2afd6bdb40d1bde3f26cd7c5
Fix typo found by landscape.io

Change-Id: I84b533d39881e9943866bffe24d44da7a7fdbf13
Add an helper for VCS cloning

Still to implement:
 * tar and url support

Change-Id: I0ce7dd2fbf94c7f32f4907b64ef8caa965c85b67
Add a refactored SignalDirector

Outline support for dependent test definitions, parameters or install:deps
Integrate handling of testcase results into TestAction.
Base Connection on the Job so that any Connection has access to both
 the device and the dynamic pipeline_data in the job context.
Populate lava-test-case results into the pipeline data.
Split out Connection classes
Handle keep_running inside the TestAction to easily associate
 test results with a TestAction.
Add Timeout support

Change-Id: Icf46f779fcc0ca89b16b65af4cf3b55feeda2163
Add Failure Retry and Diagnostics support

Add unit tests for failure-retry and Diagnostic classes.
Completes LAVA-1379.

Change-Id: I8fb73e8f5e959acda9f96ed2ced94c915c24fcb4
Pipeline: fix random failures in the test suite

lava_dispatcher.pipeline.test.test_defs.TestDefinitionHandlers.test_overlay is
failing on my machine because the elements in the list are not in the same
order.
See the Traceback:
  File "lava_dispatcher/pipeline/test/test_defs.py", line 112, in test_overlay
    self.assertEqual(check_list, script_list)
AssertionError: Lists differ: ['lava-vm-groups-setup-host', ... != ['lava-test-case', 'lava-add-k...

Using assertItemsEqual (python >= 2.7) allows to check that both list contains
the same elements, even if the order is different.

Change-Id: I9345e19e142fcd7a389279300240d36541216296
Migrate deployment data

LAVA-1603, LAVA-1545 - drop references to old
LavaContext and lava_dispatcher.config calls and
use NewDevice in the pipeline.

Change-Id: I2525611fa718b0aa8551a013b5bc6a3b1c349241
Improve test shell handling

LAVA-1419 - also fix the loghandler usage in the
Connection.

Change-Id: I0898c2b9851b705f34ff73527249a562826c5bbe
Remove remaining sign of the pipeline_data

Change-Id: If428723c3b2f22a5bdad6067082741ae7a84e3ba
Pipeline: move some functions to a utils module.

The folowing function are now available:
 * filesystem.rmtree
 * filesystem.mkdtemp
 * shell.which
 * strings.indices

Change-Id: Ic9fdac5d24ac40d09bed0ef49e06474c3c1a902e
Replace 'if k not in X:...' by setdefault

setdefault gives the exact same result while reducing the code size.

Change-Id: I35b44b46f442dd059458d1c31127305197a0b604
Add some FiXMEs

Change-Id: I9a4a419b67216119bf852fc7c3528da1d744f7af