summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-16Modify the releng-scripts to deal with branches and dtb namesKhouloud Touil2-5/+14
This patch takes the branch and machine arguments and decide which is the dtb name to be used. Change-Id: I09bd67de51920c81780a77be396906a15d8247f5 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-04-16Add new files 'machine-branch.jinja2'Khouloud Touil9-0/+18
In order to take care with the old dtb names and to keep it as flexible as possible we create a file for each board and branch with the name that matches with each branch. Change-Id: I223588aa794e4af6428b2ddcd13a1f8d396152a8 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-04-16Change dtb file names to match the new convention namesKhouloud Touil4-4/+4
As we are upgrading to a new branch we had to change dtb file names to match the new convention names. Change-Id: I6cda162056e6074c730d3ec64aa0e37b3eb8642f Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-04-14Change default timeoutsJan-Simon Möller1-2/+2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-11Implement SPEC-1850: Add application-lifecycleCorentin LABBE5-2/+44
This patch adds a new parameter application_url which permit to adds a location where to download apps and test them. The applications_url could also be generated via app-changeid/app-patchset. Change-Id: I88d91b5e6e30b5ab5d72e8181b15b0f561bea72d Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-04-11Fix the use of the --build-type argumentKhouloud Touil1-1/+1
This patch fixes the use of the --build-type to take only the first part of it, which is the build type. Change-Id: Ic2f631a639babbd075bb005b2d33415e4ca916ab Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-04-10Fix for change in vayu dtb nameJan-Simon Möller1-1/+1
Actually our 'lcd-lg' was removed. FWIW the board is not usable now with screen. Change-Id: Ie1f551e1e60d61ad50a977b6d2538fe16e9917f1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-22Fix the job parametersKhouloud Touil1-2/+8
This patch fixes the job parameters, if the build type is ci the parameters will be parsed as changeid and patchset otherwise it will be parsed as branch and version. Change-Id: I3f9abfd91a1b551974dd82ea82dc97a2e0a11d95 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-15create-jobs: fix the error checkKhouloud Touil1-2/+2
This patch fixes the error check to permit the job creation when inserting only the --url arguement and not the branch/version or the changeid/patchsetm, to grant the job creation with a custom url. Change-Id: I625e13cacee8da6df569ab90038318c0994ec1c6 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-15Fix the README.mdKhouloud Touil1-3/+5
This patch fixes the README.md file after the last changes to clarify the use of arguments. Change-Id: Id9fc69d54aaa6bde51392f3327e9f9e404bef29b Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-07job-prereq: fix use of render_job after updatesKevin Hilman1-2/+2
Change-Id: I094220e829686f9acd362339fea93f947f5bfa57 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-02-28Modify the url_fragmentKhouloud Touil1-1/+3
Following all the modification and to keep things correct, this patch modify the url_fragment to gave a correct url following the build type if it is 'ci' or 'release' or other. Change-Id: I7122d5c4c31e37337ca68af3d86313d36e5b8f5b Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-28Add new metadata git.urlKhouloud Touil2-0/+7
This patch adds a new metadata field git.url, this is a link back to the AGL gerrit. Change-Id: I7f7b5fff79198fac7814004ab99b3687cf92125c Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-28Add new --build-id argumentKhouloud Touil2-2/+7
This patch adds a new build-id arguement that will fill the 'kernel_defconfig' in the metadata field with the build id extracted from the build-info file. Change-Id: I77bcc253a41d67d97afd7db32b8c8560d4309145 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-28Reuse the build_version to fill the kernel_versionKhouloud Touil1-17/+4
The build_version will fill the kernel_version with the right value, this value will be the 'DISTRO_VERSION' extracted from the build-info file. Change-Id: Iecfdfd587dc15d53ea872d45b1916d33f6e382bf Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-28Use the --branch argument differentlyKhouloud Touil2-11/+5
Change the use of the --branch argument to display in the vsc_branch metadata field the AGL branch used in the build and get ride of the hard coded value "agl-branch". Change-Id: I9ff371248569c40ab9980347da14110e5227e1db Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-28Add new vcs_commit argumentKhouloud Touil2-2/+7
Add new vcs_commit arguement that will display in the metadeta field the build hash information. Change-Id: I079dfb8efda2ce82677e867804b3937d5a1f13c2 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-28Separate --branch/--changeid --version/--patchsetKhouloud Touil2-11/+19
This patch separates the --branch/--changeid and --version/--patchset arguments to use each one of them differently. As well it renames url_branch to changeid and url_version patchset. It modifies also the error check to follow the other changes and be sure that the needed arguments are well inserted. Change-Id: If64ae3620b1519fc391e79d954247938cffcb491 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Change "can" to "CAN"Khouloud Touil1-1/+1
Actually the lava tag is "CAN", so "can" in lowercase won't work, so this patch fix this issue. Change-Id: Iabfbc17bf59bd5a2152accb347e147836db51fd3 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-07Add gitreview filehalibut_7.90.0halibut/7.90.07.90.0Jan-Simon Möller1-0/+5
Change-Id: I777d4f88d1cc031628be3c3297c78af69d2fe020 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-02-07Update CI test planKhouloud Touil1-0/+3
Update the CI test plan to add the CAN tests for devices with tag "can". Change-Id: I8f0a583787b60d9f3f2a4c21848da43f1891f612 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-05templates/base: add job.build_environment keyKevin Hilman1-0/+1
Upstream kernelci backend has a new required metadata field: job.build_environment. Eventually, we can use this to describe the yocto environment. For now, let's just use our "AGL-yocto" default string. Change-Id: If4b39c8f0cda49d9ced866eb6fc24fe56b203442 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-01-30Remove attr/aclKhouloud Touil2-2/+2
The attr and acl parameters are causing jobs failure each time, so for now we are removing them from the ci.jinja2 and release.jinja2 files Change-Id: I7ef6f5cb8143fb1687aa955a88a913146940af58 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-01-24Add new device-tags featureKhouloud Touil2-3/+7
utils/create-jobs: Add the --device-tags argument Add new --device-tags arguement to create a job that contain the device tags as parameters. utils/agljobtemplate: Add the device_tags to the job Add the device_tags to the job in order to be used later in the test scripts to determine which test case should be runned or not. Change-Id: If22fb40b2ddf1a7c0496a59d4318e633028495b9 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-01-24templates/tests: add DEVICE_TAGS parameterKhouloud Touil2-0/+4
Insert the board tags dynamically as parameters in the release.jinja2 and the ci.jinja2 files while generating the test template. Change-Id: Ic89323b673fa99a28266a2ac89382fd3f7d9899f Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-01-15templates/base: add new metadata fieldsguppy_6.99.4guppy/6.99.46.99.4Kevin Hilman2-0/+5
To aid with better reporting, recent versions of the kernelci-backend require a few more metadatata fields for test results. The new required fields are test.plan, device.type and git.commit. Change-Id: I89cbddee019ae1e8b91b54a2d174aac4feaf769e Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-19templates/tests: switch ptest wrapperguppy_6.99.3guppy/6.99.36.99.3Kevin Hilman2-6/+20
Switch from custom AGL ptest wrapper to Linaro ptest wrapper which is more maintained and is more actively used and developed. Note that for now, both CI and release templates are doing a subset of ptests, which are now listed in the test definition, and not in a separate script. Change-Id: Ibfaa72443b19c35152db69223df709269d2b668f Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-18templates/tests/can: increase timeout for CAN testsCorentin LABBE1-1/+1
3 minutes are too short for CAN tests, upgrade timeout to 10. Fixes: SPEC-1842 Change-Id: Ieb60f706959ea154301a5f6a332abc6671211f5d Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2018-12-06templates: rpi3: update custom command-line argsKevin Hilman1-1/+1
Update kernel command-line args to match what is set when booting from SD card. Change-Id: I36e6e50efee83aa99f2e56d84893c6ec774c2e68 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-05templates/test: add starter release test planKevin Hilman1-0/+25
This is the testplan that will be used whenever --build-type=release. For starters, this is the same as the ci test plan. Change-Id: Ic7a83d683c6df8e2b3eb3b1db94d25ef906dbf48 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-05tempalates/callback: send to both backendsKevin Hilman1-1/+1
Now that we support multiple callbacks, change the default so that callbacks are sent to both AGL and BayLibre kernelCI backends. Change-Id: I56777d3ffc21c7df57d0d8cca8f532ab920450a1 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-05templates: callbacks: support multiple callback targetsLoys Ollivier6-17/+22
LAVA jobs can now submit multiple callbacks per job. Update the create-jobs tool and its underlying templates to support this feature. - Callback templates are now split in two file and follow LAVA specification: 'section' and 'subsection'. - create-jobs tool supports multiple arguments for the '--callback-to' option. - Default configuration for callback targets can now be a list of targets. Change-Id: I36c502c0bb5b54010ce32a53ba78a6be5e6a1642 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-12-03templates/tests: increase timeout for ptestsKevin Hilman1-0/+2
Change-Id: Ia91512e66e89a05e0b52482b47d07539a444c378 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-03templates/tests: move to standard test plansKevin Hilman3-30/+6
Remove specific test-plan templates, and migrate to the build-specific templates: ci, snapshot, release. Note that the contents of smoke and yocto-ptest are now part of the "ci" template. Change-Id: I982529ecafddd903db5954af03af15ac8d4f871a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-03templates/tests: add test template for CI jobsKevin Hilman2-1/+24
Rather than specifing the list of test suites on the command-line, instead use a new "ci" template for all the test-suites to run for CI jobs. For starters, it combines what is currently in "smoke" and "yocto-ptest" While at it, add the "history: False" property so that the .git directory is not included in the overlay tarball that is downloaded by the target device. Change-Id: Ibf53dfb035d306cf2f40b73b3c7fc15dc6e78b58 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-26templates/machines: rpi3: use combined DTBguppy_6.99.2guppy/6.99.26.99.2Kevin Hilman1-1/+1
The builds now produce a combined DTB (using fdtoverlay) for additional features (e.g. VC4). Use the combined DTB by default. Change-Id: Idd06d8a4316feb2e03a0f850700ec0581be5a130 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-21templates: add job generation support for iPXE based boardsguppy_6.99.1guppy/6.99.16.99.1Liu Wenlong4-8/+71
Since iPXE based boards can use NBD boot[1], now in releng-scripts, we also add support to generate LAVA jobs for iPXE based boards. With this support, Intel-UP2, one of the community reference boards, can do validation tests with the generated jobs easily. [1] https://git.lavasoftware.org/lava/lava/merge_requests/64/diffs Change-Id: I9adce67d7e9207181675e82bf22a653c73682eb8 Signed-off-by: Liu Wenlong <liuwl.fnst@cn.fujitsu.com>
2018-11-16Disable full ptest run due to failuresJan-Simon Möller1-0/+0
All available ptests currently will fail to run. We need to select. Change-Id: I9aa6d4b233aa9e78163cfb80235386288c0b47b3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-08templates: agl-callback: use new syntaxKevin Hilman1-6/+6
Use new "callbacks" syntax (note plural) so that in the future, additional callbacks can be added. Change-Id: Ic793aa591d427bcda45ffbba91e8ea2fadfa6157 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-15agljobtemplate: fix UnboundLocalError for build_verson_defaultKevin Hilman1-0/+1
Change-Id: If8c422f8da34d6ab3474200095aff1f8cb7923d0 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-12Increase timeout for ptestsJan-Simon Möller2-2/+2
the emulated runs (qemu*) take quite some time. Extend the timeout. Change-Id: I9fc924930655d11902fa3e7b224f5239af58d594 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-09Add full ptest run for all installed ptestsJan-Simon Möller1-0/+8
Change-Id: I2c22cfc01e1f0da1c0891a886ea505cfb4bff4ce Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-06tests/yocto-ptest: increase timeout to 30mKevin Hilman1-1/+1
Change-Id: I67c8b924a367dec280b3b1acdb72522d0c2e7845 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-06templates/machines: qemu: Add an USB host controllerCorentin LABBE1-1/+1
This patch adds an emulated USB host controller to qemu. Bug-AGL: SPEC-1773 Change-Id: Iba405d87598c9e527d5b754b12998081a22fd44f Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2018-10-06agljobtemplate: CI builds: rename branch to gerritKevin Hilman1-1/+1
Change-Id: I8341bb7c3ab65a02a7b144171f778c850484850b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-06agljobtemplate: allow cmdline build-version to overrideKevin Hilman1-4/+5
Allow the --build-version cmdline option to override the other ways of generating the kernel.version metadata. Change-Id: I9da1de7fdc795d888a7b864965755821a53e2830 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-04templates/tests: remove health-testKevin Hilman1-21/+0
This test suite is no longer useful as the smoke tests are now serving this purpose. Change-Id: I3c7165f34a9e5f4db2ec0010da13a793cf5dfdda Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-09-28Extend timeouts, add callback and gitignoreJan-Simon Möller4-1/+8
Change-Id: Ib28d25e1efd0033458fa9ae787610a8de9f5d275 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-28Add lab-jsmoeller template and fix typo in qemuJan-Simon Möller2-1/+8
Change-Id: I207c8fef7d85dceb60c1da65c0c7f5f3405952ec Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-27Add shortcut script for ci testsJan-Simon Möller1-0/+19
call with ./run-flounder-ci-tests 5.99.x lava-tool needs the auth-token setup. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>