Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Set kernel_tree (used by kernelCI UI) to AGL-yocto instead of
AGL-kernel-tree which doesn't really have much meaning.
Change-Id: Ie2a3a8040f5da4c23de90bd9492f4742d8a3b84e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Fixup LAVA job metadata that is used by kernelCI UI for displaying
branch, and version info, and also set "image-type" to the AGL build
type (e.g., gerrit, snapshot, release)
Change-Id: I12ca93dfbe8629bde5dc35ab1f056f8331805e40
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Add new test template for CAN bus interfaces
Change-Id: I9d3b57c732743a9a5c7c65999d0b475993ad6200
Signed-off-by: khouloud touil <ktouil@baylibre.com>
|
|
|
|
Since the following commit:
https://github.com/Linaro/lava-dispatcher/commit/b8e7dc1317e263884c2e10bcf4ff822857a545a5
LAVA jobs need to have a set_port action.
This patch permit to generate a job with such action
Change-Id: I34152d146f3deb6839c320da86a0b75187a93070
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Tested-on: m3ulcb
|
|
After upgrade to LAVA 2018.x, the ways of sending u-boot arguments have changed
slightly, and now need the console_device specified in the job. This is especially
important when overriding arguments with custom_kernel_args.
Change-Id: Ief8fcaec14a89e34bd03187316e61c0fdb0424d0
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
|
|
Add missing fields to machine templated. Needed for correct LAVA job
output.
Change-Id: Ia4d55dad0c3fee7d5b5faa4e756a13a5e91af86c
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
LAVA labs often use a caching proxy (e.g. squid) for caching
downloads. Change the URLs for download.automotivelinux.org to use
HTTP instead of HTTPS so that squid can cache them.
Change-Id: I5c9e7bead20e0d372a6208f229edd127531ffa09
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: Ie6716905c624494aa17675e8a99a1f6c68859fdd
Signed-off-by: David Lewin <dlewin@baylibre.com>
|
|
we now use the agl-imag-ivi-crosssdk everywhere.
Change-Id: I397f3338d554f6135ecd3b160fe4e095e5880fa4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I39bf3c24d66bb9b48370fa79a7b7162ee3d02949
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I4767be1c87b25ecf4b526da24a2846acc658fc27
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: Ifdb704560d9391091d72458fa9742cc65d5eb2d8
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Switch the rpi3 to use the upstream LAVA device-type.
Note that the the default kernel-command line arguments in the
upstream device-type are suited for the upstream kernel. When
building with an yocto/AGL kernel, those need to be overridden, so
also update the machine template to use the correct kernel
command-line.
Change-Id: I823a1946bf761aa1019a9ec808fa99594337f4f4
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I6ae4a7bc135b3040e5948dd31718c1c02fada6cf
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Until the upstream device-type is fully validated, use the
device-type used in both AGL and BayLibre labs.
Change-Id: I87b699983dd50efd9f0013685b06f2d4c5d5f210
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
While AGL backend is under development and transitioning to
kernelci-docker, use baylibre backend.
Change-Id: I2b4a56fe0c63c878dbdcfa781c08a87740efca54
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Both AGL and BayLibre backend URL have changed due to migration to
kernelci-docker.
Change-Id: Ic0daca56f7442943089a7741d92f6326be200baf
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
URL for main backend changed. Is now using kernelci-docker
Change-Id: I6c9f976c8e26d6bfe0939c1cb78f43553283a257
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
|
|
The crosssdk image should be use for daily and for release builds.
Change-Id: I58f414d6c8bd7520d1ed3448ae87256ba4553e9e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
systemd log colors make for noisy/unreadable logs in the CI system.
Disable for CI jobs.
Change-Id: Ibcf751c61116eb21a731ad3ceae06b8d07deead6
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
|
|
The rootfs filename has changed for the release builds. Change the default
to the new filename for qemu.
Change-Id: I1d53010df912dd30d48dd0ee3bf3e4730d79497a
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
The job-prereq tool got broken by some latest changes on the build/url
scheme.
Make the url argument for agljobtemplate optionnal.
Pass build_type argument as build_type now that it is supported.
Fixes: 788b31a122c3 ("utils: change the url / build behavior scheme")
Change-Id: Ie9a0fc728a5e31cabd32e6463f2c6f913e1bd2cf
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
* changes:
templates: fix the rootfs name for m3ulcb and rpi3 daily builds
utils: define test-plans based on build-type
utils: change the url / build behavior scheme
|
|
The rootfs filename has changed for the daily builds. Change the default
to the new filename for both platforms.
Change-Id: I44ae29902d882ab6f38dc14bba11cc8aee88f8c2
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
As the list of test is expending, we want to be able to specify test
plans grouping several test definitions. These test plans are build type
specific.
Create a config file that specifies the test plans for each build type.
If the user does not specify the tests to run then use the default ones
for the build-type.
Change-Id: Ied4e9f80d3e42787174189cd08499a2906e500ef
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
This is the first patch of the serie to differentiate builds and urls. As
of now we were using the --url option to specify a build-type.
Add a new option --build-type which specifies which type of build it is.
From this build-type if no url is specified, the url can be defaulted by
a configuration file.
This configuration file is specific per user, e.g. AGL, others...
Change-Id: I9ce801a7518b78ee859c6c3bbcad3a89e884e832
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
'--callback-from' is mandatory but not '--callback-to'. Fix this and
allow specifying only 'from' without 'to'.
Fixes: 5c6cf2bf9c09 ("utils: Verify that callback options are correct")
Change-Id: I0706950cee4ede00cdbe7a3d1ade5500cc568502
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
There is a deadlock at boot time in the current AGL builds which is non
critical.
Add the smp option to created qemu machines. So they can use 2 cores and
finish booting.
Change-Id: I26198d1c3191acd98b96558af0abc976c971690a
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Coding style changes to follow pep8 coding guidelines.
Change-Id: I9a9e542fb1e24da699639e0c3fd8bf98ad51aa79
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
When using callbacks, the user must specify '--callback-to' and
'--callback-from'. Make these two arguments mutually dependant. If one
is specified, the other becomes mandatory as well.
Edit exceptions returns so they give meaningful information to the user
in case something went wrong while reading from the callback
configuration file.
Change-Id: Iaa0de0b6f01ba605407db2f37c3da97aa0cacbc2
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
|
|
Add a new tool that outputs to the stdout the filenames needed by LAVA
to run a test job.
Required arguments are the machine type and the build type (e.g. CI,
snapshots, release).
Change-Id: I760fe59c6e04cf1e396c3772426fc8f6042f322c
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
The jinja2 template calls needs a jinja version >= 2.9. Otherwise fails
to create a correct output yaml file.
Check for the jinja version at runtime. More precisely, check for a
specific function that was added in 2.9 and raise an error if it does
not exist.
Change-Id: Ifd627a25dcfabdd639c53e1b29b891db8bff50c4
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
This change relaxes the login match a little bit by removing the username.
This will assist cases where we see not-recognized logins as well as
tests with different usernames (non-root).
Change-Id: Ied0ee9930f7804eb9883649495306e16964a75e6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I386e6a142684d4a4d49955980d86cbc7cf7aa1ac
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Add default arch and mach fields for kCI metadata. Also set
default rfs_image to use agl-demo-platform.
Tested by creating a default job:
./utils/create-jobs.py --machine dra7xx-evm -o job.yaml
and running successfully in AGL-core LAVA lab.
Change-Id: Iaf7a0b86034d1b742a5e2b9e08f882bf64dde995
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change the device type from bcm2837-rpi-3-b-32b to raspebrrypi3 until all
labs are aligned with: bcm2837-rpi-3-b-32.
Change-Id: I1ce58d37dab9895db075f658260d58a5c2ca0b0d
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
New callback procedure. Now the arguments are:
- '--callback-from' LAVA lab
- '--callback-to' kCI instance
This new procedure helps differentiating the lab and the kCI target.
Callback config files updated accordingly.
Documentation on callback updated.
Change-Id: I41b9dc86e33783f1d6a8164fc783557c81678c7f
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Fix the defaulted build version if not set from command line.
Change-Id: Ia61dca57abad29cd9e1305bfead15e75c81e06f4
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
|
|
- Machine is now a mandatory argument: --machine
- Change in the URL scheme usage:
Now the argument is --url, it should be used with --branch & --version
(or --changeid and --patchset which are aliases).
The default url is the latest AGL release (dab - 4.0.2)
- Build version is derived from the URL, branch and version if not set
through command line.
Example usage:
./utils/create-jobs.py --machine m3ulcb
./utils/create-jobs.py --machine qemux86-64
./utils/create-jobs.py --url release --branch eel --version 4.99.1 --machine m3ulcb
./utils/create-jobs.py --url release --branch eel --version 4.99.1 --machine qemux86-64
./utils/create-jobs.py --url daily --branch master --version latest --machine m3ulcb
./utils/create-jobs.py --url daily --branch master --version latest --machine raspberrypi3
./utils/create-jobs.py --url ci --changeid 11533 --patchset 2 --machine raspberrypi3
./utils/create-jobs.py --url ci --changeid 11533 --patchset 2 --machine m3ulcb
./utils/create-jobs.py --url http://baylibre.com/pub/agl/ci/raspberrypi3 --machine raspberrypi3
Update the README.md following changes on the url scheme and --machine
argument.
Bug-AGL: SPEC-975
Change-Id: Idd0d539627d56e8d28e1e4990570a929b3fa0f5d
Signed-off-by: lollivier <lollivier@baylibre.com>
|
|
Update the test documentation to specify how to create a job description
including test definitions. And also how to create new test definitions.
Change-Id: I0b496c0ee4a3ca7704d63869a03f0387f641346b
Signed-off-by: lollivier <lollivier@baylibre.com>
|
|
Add the yocto-ptest definition to the pool of scripts.
Depends on https://gerrit.automotivelinux.org/gerrit/#/c/11407/
Bug-AGL: SPEC-911
Change-Id: I7fe474ae7d3a06851ed4052151f68a566963edc9
Signed-off-by: lollivier <lollivier@baylibre.com>
|
|
Update the default package names for the qemu to match the AGL CI build
artifacts. These defaults can still be overwritten using the command line.
Change-Id: Id87abe03b4f4adcf0b67eb20151158bd0103343d
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Update the default package names and architecture for the RPI3
to match the AGL CI build artifacts. These defaults can still be
overwritten using the command line.
Change-Id: I248037a385f3583f375912e9725a1cd2a883806f
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|