Age | Commit message (Collapse) | Author |
|
Ensure the connection is picked up from the correct
namespace when setting the shared namespace data.
Closes: #82
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
This reverts commit 4efd8586a5e8a103f76e9b56abc3a6b9b8a49090.
Change-Id: Ia8945a1250a133434e515dcb7059193ff924f512
|
|
The DUT runs new firmware once flashing via pyocd is completed.
This can be very quick and booting potentially happens before we
even run the connect action. This can cause job failure because
dispatcher misses the booting string (e.g. "BOOTING ZEPHYR OS").
This patch fixes this by moving connect action before flashing.
This has been tested with a 96Boards nitrogen + zephyr firmware.
Update pyocd pipeline refs accordingly.
Change-Id: Icdd48d0913294d2d22f5a7f96fd7a9bb27caebe7
|
|
The iMX8M evk is NXPs new aarch 64 SoC which supports 4k, HDR10
and is supported under the NXP 10 and 15-year Longevity Program.
Ensure that the hard_reset command also resets the USB C connection
using the Cambrionix hub.
Add support for fastboot deployment without changing the
bootloader.
Add support for TFTP deployment using U-Boot.
Change-Id: I3c28c02a69e91f0f8812cd0f5cb416524c6da047
|
|
We can for instance bind /dev/kvm and use kvm inside docker.
Change-Id: I1f04ff81cb1952926a9cc56c9158714961ab1ad5
|
|
Make this an helper function, called when needed as this is only used by
Android jobs.
Change-Id: I10584f5f37d4edee5b6a8354bbcd5f393d3b4410
|
|
Change-Id: I9d61efc457fb5e49ac1b3ad56acaa1b453b9cc4a
|
|
Change-Id: Ic5c1b533c3479b4fdb8cbfe56d051022d1efa779
|
|
- fixed the logic in get_device_constant() which didnt handle a
constant being set to False
Change-Id: I0f34a437e29073c544cf99659ef5fc8c75985b4e
|
|
Add a new GDB boot method for this device.
Change-Id: I3283950494c540debc14959233b7d42a7fbd1299
|
|
Change-Id: I41e4ab0f14cae64cc19eccee900a48bb624889bc
|
|
Change-Id: I4b3d8df3ab04af5bc3f5aa4a672022d03e665275
|
|
This export is no longer required and plays
awkwardly with second UART support.
Change-Id: I2cd74adfdb1b49544727c6175e377193384f8739
|
|
A quiet kernel config will produce no useful output for the
kernel message handler, so skip and move on to looking for any
auto-login prompts after the kernel has booted.
Fixes the RPB OE test job on hikey 960.
Change-Id: I3c5c8c21fee135a2aaead691b4e5c76e23c33511
|
|
This argument is not used anymore.
Change-Id: I9cc98ed14003e79110c820149570cc1248549535
|
|
Change-Id: I15dca273c660b4868f709033485e8ef3332d4e89
|
|
Change-Id: I6873fe1896bbacfde82906e58d412bf155fac762
|
|
Make a clear separation between lava_server and lava_dispatcher
binary packages so that a master does not need all the dependencies
of lava-dispatcher installed (and does not necessarily have a
local worker).
Update documentation on how lava-common can be used.
Change-Id: I040a44c7ce6d853524ccc33e08df593b0d14c54f
|
|
uefi-menu-interrupt is the first action to wait for a
response after power on for uefi-menu devices like the
mustang. If this action timesout, it is likely that the
device is simply not booting correctly or not receiving
power or the serial connection information is wrong.
Change-Id: I2618c89e3b83cb0aff1a7e1ac45e2cf1b6e2e6a0
|
|
auto-login, shell-session, export-env are some actions that are added to the
pipeline based on availability of prompts, tests, etc. which depends on the
job definition. Hence, adding a fixed fastboot sequence to the device
dictionary is not the right thing to do.
Change-Id: I44276a73c00b910af967d5056d956ec6ae9637f7
|
|
LAVA-1319 - Remove static YAML files and replace with device
configuration generated from current Jinja2 templates.
Change-Id: I2a078a6aa00d8385780515167630aa3d526f7fa8
|
|
Report a result in the 'lava' test suite containing
metadata on the version and architecture of the QEMU
package providing the binary being executed.
Improve the current logging to include the host architecture.
Add comments to the device-type to clarify the logic.
Change-Id: I258cbcd728283deb213d773094465e55471059f1
|
|
Using the hikey 6220 as an example, provide support for
entering and exiting recovery mode and running a LAVA test
shell whilst recovery mode is active.
Change-Id: I4795b158337e8151be21d52173b09e13108aa6b6
|
|
Change-Id: I8b5660034f3ac7e191225469c5b5cf3cc1a9e278
|
|
Change-Id: I7ad41ca0142a2ed0bcb54e310f725362aca22798
|
|
In case of crash, the docker container will always be removed.
Change-Id: I16aaba5847707f982aeeea254db3cd1bad0e5b8a
|
|
Make it easier to identify which action is failing the
validation of device_info.
Change-Id: I1ee37f067834a78d8033bc9f7ca56f17bdf493b3
|
|
* Introduce a new connection - adb
* Run commands based on LXC protocol availability - either inside the
container using lxc-attach or directly on the dispatcher host
* Add support (action) to unpack overlay using adb
* Fix harcoded AutoLoginAction, ExpectShellSession, ExportDeviceEnvironment
in fastboot boot pipeline and rely on fastboot sequence
* Add adb connection to base fastboot and other device dictionaries
* Fix fastboot sequence on devices
* Add and fix unit tests
Change-Id: I278ae6ebd1b93d29d0093a0999cd5a612fb132ff
|
|
Change-Id: I8bc55876f82817533dfef42128aefea15c904311
|
|
Change-Id: I2777cc7f476abd4e47d3145166bad6959a1ff38b
|
|
Change-Id: Icd5d214bb19cb5c356d69b9e3f4dbf008f9088a7
|
|
Only log the command output when it's not a boolean.
Change-Id: I185bf6025cd92c6f74df1b9f2c10d92c78f8cb60
|
|
The code should not attempt to access non-existing keys.
Change-Id: If57416e4d1b8a448b521251523f0fe553d1d7a1c
|
|
The complex string / list handling of the connection prompts is a
pexpect behaviour. Clarify our code handling to avoid TypeError
when adding a list to an existing prompt string by first converting
to a list with a single string entry.
Change-Id: I570f2ad51b436a4a7bfcac1e642bb2533b788f16
|
|
Setting self.error will raise a JobError while an InfrastructureError is needed
here.
Change-Id: I233dcb1e28aaa6f75fa2c263fc0a9596ce33710d
|
|
Change-Id: Idba86d73b761f9533d1a5ff16336bf3809480886
|
|
Each action class can now set timeout_exception to the right exception to raise
when timing out in this action.
By default, a JobError is raised.
Also remove two unused Timeout variable and function.
Change-Id: I10fc791fd7a2f00917c0566d3d824b6221c3daf3
|
|
Change-Id: Icc1eddc8d06b7276cebc28bcdcaa49ab995317d4
|
|
The transfer_overlay is then using this exact location which is already served
by the http server.
This patch make the url unique and fix clashes when two lava jobs are using
transfer_overlay on the same dispatcher.
Reported-by: Wang, Yang (Young) <ywangwrs@gmail.com>
Change-Id: Ic7a1707623c2525a1b2ba709ce8bc12a7fe920ed
|
|
Change-Id: Iabc4796cb76c198f3ccf8aab762d157a60a22fdf
|
|
The output will be a tuple instead of a formated string.
Found by perpector (raising-format-tuple).
Change-Id: I878cea240bebcc766062fff286a73183ee41d692
|
|
Change-Id: Icaab0895937e1fbabf7754992c99aebaee955728
|
|
- new deploy strategy for u-boot ums images
- use existing u-boot support to start the ums
- use existing udev support to wait for the ums device
Change-Id: I476862989bc98fc1c73fbf2086805a8633c76b29
|
|
This also fix the name when calling parent __init__ function.
Change-Id: I302c3920eed9ef51232e22d75d555f0d34abf510
|
|
Fix 4d4458 to remove the spurious overwriting of the prompts.
The X15 does not need this change and it breaks hikey 960
(and hikey 620 with the new firmware).
Change-Id: I5505602c9ed41cd7c40bd215b3c4880dea313b68
|
|
Change-Id: I3978768403c91952ab62ad1a0347bd5c7e798615
|
|
In a job with multiple boot + test sections and using transfer_overlay,
the second test job fails because the test overlay has been removed.
The overlay tarball should not be moved but rather copied so it can
be reused.
Change-Id: I2ec91104d074a5609ac105bf3866e0239bbaa214
|
|
Ensure that the connection-namespace parameters are available
when booting the second UART and mark this as a login which
does not expect to see kernel boot messages.
Allow transfer_overlay to be used on the primary UART.
Change-Id: Ie35f2d699689b72c015ea476a6a3fa4c7818a32f
|
|
If a disk device fails to set a unique serial, but does allow a customisable
filesystem label, then this method allows the device to be passed to
LXC.
Change-Id: I1b1474ea16df3aef0ed8b48e9af497393611a485
|
|
Secondary connections have no entries in the boot method
dictionary.
Change-Id: Ib27dbaa50447e83649b79610b8ca40601440bade
|