summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-11Add fstab=no option in case of netboothalibut_8.0.6halibut/8.0.68.0.6Jan-Simon Moeller3-3/+3
to avoid systemd fstab generator to mount partitions that do not exist in the netboot case. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I4c08bd50690062202590d7aae8f6508798f29997
2020-03-10Add u-boot extension to netboot imageJan-Simon Moeller1-1/+1
The template also needs a .u-boot extension on the initramfs-netboot-image file. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I76c31b5123ea000091480eaceaea3de2eb02adee (cherry picked from commit 6913eca256411b7ff080c9cd9876a5751330df74) (cherry picked from commit da00a129eb17e3a625528dd33e19d1f4e5f4cba9)
2020-03-06Kernel Image for pi4 is uImageJan-Simon Moeller1-1/+1
Fix the kernel_image name as it is set to uImage. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I78f37bbcb39c19191554a26b01cae9bfffc82bfd
2020-03-06SPEC-3210: Set the interface for the test deviceCorentin LABBE3-0/+5
By default LAVA set the test device on IDE. Stretch version of qemu doesnt care about this setting and was always using virtio. But buster qemu care now about this and fail with: machine type does not support if=ide,bus=0,unit=0 This patch adds the necessary to restore the use of virtio. Change-Id: If34194d82b6104b9b5be7118a5194bd3b61fc090 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-03-02SPEC-3004: Add support for raspberrypi4Corentin LABBE1-0/+23
This patch add the template for raspberrypi4. Like rpi3, the job need some custom parameters like console_device and extra_kernel_args. Unlike rpi3, we use directly extra_kernel_args as the device_type will permit to override it. Bug-AGL: SPEC-3004 Change-Id: Iac88f04e0954f77bc2e3a3daf0baf43aec3fa7c7 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-21Revert "SPEC-2921: AGL use only M3 with KingFisher"icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish/8.99.4icefish/8.99.3icefish/8.99.2halibut_8.0.5halibut/8.0.58.99.48.99.38.99.28.0.5Corentin LABBE1-1/+1
The plan is to have: H3 with KF, M3 without KF. So let's revert to the right DTB for single M3. If we need later M3+KF the right releng templates are already present for it. This reverts commit 8a349e865441c277498a008ac4fd9f13893b5527. Change-Id: I2d2bcf0f3658804d98e06ca7f094aff8efaf2adf Bug-AGL: SPEC-2921 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-20SPEC-2921: fix prompt for h3ulcb-kficefish_8.99.1icefish/8.99.18.99.1Corentin LABBE1-0/+1
The prompt for h3ulcb-kf is h3ulcb, so yocto_machine need to be set to it. Bug-AGL: SPEC-2921 Change-Id: I73b9606b7c9de5142619f531d6cced402763bb85 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-20SPEC-2921: Use the right build_name for h3ulcb-kfCorentin LABBE1-0/+4
The build name for h3ulcb-kf is h3ulcb-nogfx. This patch adds the same hack than for m3ulcb. Bug-AGL: SPEC-2921 Change-Id: Ib687449e911ec0533cac811b648dd02cc8ae286f Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-20SPEC-2921: add initrd path for h3ulcb-kfCorentin LABBE1-0/+2
The initrd path for h3ulcb-kf is the same as h3ulcb. Bug-AGL: SPEC-2921 Change-Id: Ieb6812bcb121d2334c94027e9049c45fdb536733 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-14SPEC-2921: adds M3/H3 with KingFisherCorentin LABBE2-0/+20
This patch adds M3ULCB+KF and H3ULCB+KF support to releng-scripts Change-Id: I97ef1d63f330f4aaf669ad33f770d4527c00a271 Bug-AGL: SPEC-2921 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-10-24SPEC-2921: AGL use only M3 with KingFisherCorentin LABBE1-1/+1
Since AGL use only M3 with KingFisher, let's use the right DTB. Change-Id: I89bfe021b13f69f786d091b630f44f77ed20a3a0 Bug-AGL: SPEC-2921 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-10-16releng-scripts: split can tests to avoid failuresKhouloud Touil3-4/+16
Split the can tests in two, one for basic tests that doesn't need the two can interfaces to be related, and the other one is for a board with two related interfaces. Added a tag for Baylibre board "can_if_hw_connection" to notice the difference. AGL-bug: SPEC-2878 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I1350098709de05ba50faf719bbb13f9a59f7eac0
2019-09-26Add virtio-rng-pci device on qemux86-64Jan-Simon Möller1-1/+1
To fix the xmlsec ptest in https://gerrit.automotivelinux.org/gerrit/#/c/AGL/releng-scripts/+/22510/ we added the virtio-rng-pci to the qemuarm and qemuarm64 targets. Do this also to the x86-64 target. Change-Id: I3ab0a08371656137621120d7eb5356ba993c8b2b Bug-AGL: SPEC-2739 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-09-26SPEC-2739: Fix xmlsec1 ptest which timeoutCorentin LABBE2-2/+2
ptest-runner fail on xmlsec1 on ARM/ARM64. This is due to lack of randomness as the first test in doing a RSA signature. This patch adds a virtio-rng-pci device on qemuarm and qemuarm64 which adds enough randomness to permit this test to pass. Bug-AGL: SPEC-2739 Change-Id: I98dddd421572cecf2027793aad62a12853e07c59 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-08-15templates/base: remove build-tags section in jobKevin Hilman1-6/+0
build-tags: is not a valid LAVA keyword/section so is causing LAVA jobs to be refused. Only "tags:" is a valid keyword/section. However, build-tags are not needed for selecting a correct LAVA device. This is what 'device-tags' are for. The build-tags are only propogated to the test-scripts. So, to fix, just remove the entire build-tags section. Bug-AGL: SPEC-2751 Change-Id: Ic24bf9c0caf1f4bc2dacd8065eb0edbace7937b1 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-08-08Add/use the new arguemnt --build-tagsKhouloud Touil5-4/+13
Add new argument --build-tags to be used in the job template and to be passed to the tests to be run along with using --device-tags. Bug-AGL: SPEC-2721 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I2fb4c3d0cb8cd1d0e3c36c1df55185cb4dde43c3
2019-07-23Remove debug from qemu cmdlinehalibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.08.0.48.0.38.0.28.0.18.0.0Jan-Simon Möller3-3/+3
This silences a lot of useless systemd messages. Change-Id: Icacd3bb09125ff4a16b57764490e570a1fc9258b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-19utils/job-prereq.py: Use yaml safe_loadhalibut_7.99.3halibut_7.99.2halibut/7.99.3halibut/7.99.27.99.37.99.2Corentin LABBE1-1/+1
On my gentoo, using yaml.load now give: Traceback (most recent call last): File "./utils/job-prereq.py", line 81, in <module> main() File "./utils/job-prereq.py", line 66, in main job_yaml = yaml.load(job) File "/usr/lib64/python2.7/site-packages/yaml/__init__.py", line 109, in load raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348") RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348 Note that on recent ubuntu, a warning appears also. (like on AGL jenkins) /w/workspace/ci-platform-meta-agl-demo-verify-CIBT-qemuarm64/repoclone/releng-scripts/utils/job-prereq.py:66: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. job_yaml = yaml.load(job) This is due to a security risk of using yaml.load() Since releng-script does not rely on any behavour provided by load(), let's convert the call to safe_load(). This will also clean/reduce the output of jenkins logs Change-Id: I6158dcc21c0f7ec4645fb7b16acfaf1a6963cb26 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-06-19Fix create-jobs for snapshot/daily/weekly build-typeKhouloud Touil1-0/+4
This patch take care of the snapshot/daily/weekly build-types if they are requested without mentioning the branch and version args. Bug-AGL: SPEC-2471 Change-Id: I86e5465162cc20be82b33feedcbed7f78300053d Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-06-17SPEC-2376: add qemu arm templateCorentin LABBE1-0/+19
This patch adds a template for qemuarm Bug-AGL: SPEC-2376 Change-Id: Ib0b9f44d96fc7f365f7da17ce3ce3461d0a3c6c0 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-06-06agljobtemplate: fix url generation for m3ulcbCorentin LABBE1-2/+4
When adding support for upsquare the URL generation for m3ulcb was broken. This patchs fix the generation by adding a new variable for the build name. Fixes: 32b88dfd726b ("SPEC-2075: fix URL generation for upsquare non-CI build") Bug-AGL: SPEC-2470 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> Change-Id: I84bc2d8bbcbc49b048bbd95f84a531bde9ac6aba
2019-06-06Add support for qemuarm/qemuarm64 in utils/job-prereq.pyCorentin LABBE1-1/+1
This patchs permits utils/job-prereq.py to work with qemuarm/qemuarm64 Bug-AGL: SPEC-2376 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> Change-Id: Ie8615a9ab4d1f0053afc098db508814e6aad1bf7
2019-05-31Extend the timeouts for CIBT jobs in the templateshalibut_7.99.1halibut/7.99.17.99.1build.automotivelinux.org1-4/+4
This mitigates slower downloads. Change-Id: I4e18f133097e8a3c32889fcc30a076ad24b882f9 Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
2019-05-30add tags: section, ensure tags are always lowercaseKevin Hilman3-3/+12
Whenever --device-tags are passed, a "tags:" section is added to the job with all of the tags passed on the command-line. To facilitate this, the device_tags list is passed directly from python to the jinja templates, and iteration is done in jinja instead of a string created in python. Also, while here, ensure that tags are always passed lower-cased. IMPORTANT: this implies that any tags in LAVA labs that are upper-case will *never* be used. Change-Id: I8f274098a69e34c32c5ed2d1c430eca0d364bcc5 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-05-29templates: fix valid kCI metadata keysKevin Hilman1-1/+1
The kernelci-backend is now more strict about enforcing valid and required keys in the metadata. The field `vcs.url` was already a duplicate of `git.url` but now `vcs.url` is no longer considered valid, and using it causes callbacks to be refused by the backend. Fix it by using git.url instead. Change-Id: I768229f3fabc8d127f68f4c33bd6ae22c1f654c4 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-05-24SPEC-2376: add qemu arm64 templateCorentin LABBE1-0/+19
This patch adds a template for qemuarm64 Bug-AGL: SPEC-2376 Change-Id: I2f8a5fbd1625df8fcb03ba4798c2d8329889408b Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-24generic-qemu-tmpfs: add qemu_cpu and qemu_machineCorentin LABBE1-0/+9
LAVA expect machine, memory and cpu to be passed as argument in context and not via extra args. This patchs introduce qemu_cpu, qemu_memory and qemu_machine as jinja variables. Change-Id: I8893943947a046f90be388febccfc29c7923d5b4 Bug-AGL: SPEC-2376 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-23Fix rootfs for upsquare on CI buildJan-Simon Möller1-1/+5
See the qemu case. Bug-AGL: SPEC-2449 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ib23bd4897e89d3eca1eaba33a37c256c932e2d36
2019-05-22SPEC-2075: fix URL generation for upsquare non-CI buildCorentin LABBE1-1/+1
When adding support for upsquare, I have added a new machine_frag_url which contains the machine to use in url. It works for CI build type, but for other I miss to convert one machine to machine_frag_url Bug-AGL: SPEC-2075 Change-Id: Ieaaf71b62425cf73fb9582b84666640c4e9d6cae Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-15SPEC-1850: permit to override master branch for appfwCorentin LABBE3-3/+6
I have assumed that only master is used for appfw but it is false. Some app review are done against non-master branch. This patch adds a way to change the branch used via --app-branch. Bug-AGL: SPEC-1850 Change-Id: I10c8ad0e5a08158f9c2295692e4b3c266b97b14e Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-03SPEC-1850: do not include appfw without --test application-lifecycleCorentin LABBE2-8/+0
We should not include application-lifecycle tests based on APPURL, but on the presence of the --test application-lifecycle parameter. Bug-AGL: SPEC-1850 Change-Id: Idda5d9011f54cd7eb1710e15254ab358ef7b99b1 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-03utils/agljobtemplate.py: Fix APPURL generationCorentin LABBE8-8/+19
The generated APPURL was invalid: - it needed to be always using ci - it missed branch and arches path This patch move the generation of the application url in the jinja file for accessing the new sdk_arch Bug-AGL: SPEC-1850 Change-Id: Ie3ffff5f6181fdc89c3ebbd41078e4d60a06992b Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-03Remove porterCorentin LABBE3-11/+3
As asked by JSM on review 21232, this patch removes the porter machine. Bug-AGL: SPEC-2375 Change-Id: Iaa8083a271bb61ee1f9208f671d617fc15a00028 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-04-30Fix rfs_image for qemux86-64Jan-Simon Möller1-1/+1
Change-Id: Ieadfc20e9abbc01a272faf16f59d88ff0f1a3ff5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-18Permit to generate jobs for the upsquareCorentin LABBE3-3/+59
This patch adds suppport for the upsquare. Upsquare use a GRUB boot method, so we needed to add a new generic-grub-tftp boot template. Since all x86_64 use the same yocto generated build name, we add a new upsquare machine, but tweaked a bit utils/agljobtemplate.py to keep intel-corei7-64 everywhere (except for the LAVA device-type). Bug-AGL: SPEC-2075 Change-Id: I15c850fada53efbcda4fd58527d7b7414865f89d Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
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>