summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-05-12SPEC-3904: Prevent bbe to ran screenshooterlamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.011.92.011.91.0Corentin LABBE1-1/+1
The name of the test is badly written, so BBE stil get screenshooter test. Change-Id: If5aaf2a1567eecfe25ea21135a670cb03b4878af Bug-AGL: SPEC-3904 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-12SPEC-3904: use the right image name for CICorentin LABBE1-1/+5
CI do not use crosssdk image. Bug-AGL: SPEC-3904 Change-Id: Icf046598c4125663394ecd2e830069204b266890 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-11SPEC-3764: replace qemu soundhw argumentCorentin LABBE1-1/+1
Since we use a more recent qemu-arm, we need to change some deprecated argument use. This fixes the warning: qemu-system-arm: warning: '-soundhw hda' is deprecated, please use '-device intel-hda -device hda-duplex' instead Change-Id: Icd8272a7d250d89d72652096a332f266c2c4b4a1 Bug-AGL: SPEC-3764 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-06SPEC-3904: Add BBE machineCorentin LABBE2-0/+12
This patchs adds the BBE machine template. Since this machine does not have HDMI output, the screenshot test is disabled for it. Change-Id: I1048a202b8ee998084fcb7b78441781aae4ee220 Bug-AGL: SPEC-3904 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-05SPEC-3764: use a more recent qemu version for qemuarmCorentin LABBE2-0/+7
Using a more recent qemu seems to fix problem with screenshot. The easiest way is to use docker to "host" a more recent debian with recent qemu. Change-Id: I7a72de4c6a4dceed7ec967713d7fee3d3523e120 Bug-AGL: SPEC-3764 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-04SPEC-3752: use vmalloc=512 for qemu armCorentin LABBE1-1/+1
Using vmalloc=512 permits screenshot tests to works without failure. Change-Id: Idb185e490dea38fa32a668c57cd282bb93ec2201 Bug-AGL: SPEC-3752 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-04-23SPEC-3414: the kernel defconfig should always be defconfig+CONFIG_AGL=yCorentin LABBE1-3/+0
kernelCI use defconfig as a filter for linking builds and job results. So the defconfig should be the same as we send in build info. Change-Id: I181314b6bfacb333bc9b94928aae215e5dcee146 Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-04-09SPEC-3414: Permit to choose file server ressourceCorentin LABBE1-1/+5
Permit to choose "file server ressource" path. Change-Id: I5e24972ada0651c3021f66179e9b4b292730a460 Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-04-02SPEC-3414: Add missing git_describe_vCorentin LABBE1-0/+2
Add missing git_describe_v in build meta. Change-Id: Ic3d69671eedc9b6f8acfaf67e83d667ce10d5bde Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-31Enable screenshot tests on all targetsJan-Simon Möller1-2/+2
HDMI jigs are deployed and all qemu targets are configured for it. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ib2703fcb783ff757225b676add4c866029816e52
2021-03-30Update templates for screenshot testsJan-Simon Möller4-5/+5
- qemu needs the mem= kernel parameter to work nicely - pyagl needs a larger timeout - pi4 needs an adapted rfs_image for snapshot builds Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ida3ac188008c72d941dbe30203e5b8700ee8a304
2021-03-29SPEC-3414: handle all git_describe varianceCorentin LABBE1-1/+5
git_describe is equal to branch but only in LAVA metadata. For build meta is should be the same as LAVA kernel.version. So let's add a --kernel_version (not mandatory until all CI is updated) Change-Id: Ifa4d4065cc2a7e0687bb71b0b772b5d10f4c41f6 Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-26SPEC-3414: Use the right env variable nameCorentin LABBE1-11/+18
According to which api we sent the metadata, a different token will be used. Change-Id: I174a3b1ea30452f78390e5205d1c4d15f1bc999b Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-23SPEC-3414: Permit to use the bmeta helper without tokenCorentin LABBE1-7/+19
Allow to use utils/agl-publish.py without token for debugging and verifying it works. Change-Id: I2d752d3debf25ab1bb78fdd39c45bbd79ab1aedd Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-16SPEC-3414: Add an helper to push and upload build meta to kernelciCorentin LABBE1-0/+106
This patch adds an helper to push and upload bmeta.json to kernelci. Change-Id: I129fce4583569542f03a9c9617b9d70b50c725e3 Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-16Stop weather and geoclue before restartingJan-Simon Möller1-0/+6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I48ecf0a1ce708a13f1dc6501a2ccdd129fae729c
2021-03-11Fix template for h3 and refhwJan-Simon Moeller2-10/+10
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I27108a812e06ef9d1a0b9f7279ce6219370570e0
2021-03-11CI builds do use the simpler images hereJan-Simon Möller2-4/+28
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I4a7da3a4cc573387ba8af34acd0d2c4292eaa0ec
2021-03-09SPEC-3811: Use a different rootfs image for h3ulcb-nogfx buildCorentin LABBE2-0/+8
For all branches (except jellyfish/halibut), h3ulcb-nogfx build based boards should now use the agl-demo-platform-crosssdk-h3ulcb.ext4.xz rootfs image. Change-Id: Idc8fafc32dcd598479d16798ffe077776432bd1e Bug-AGL: SPEC-3811 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-02-22SPEC-3812: rpi4: use vc4 dtbCorentin LABBE1-1/+1
Use the vc4 DTB for rpi4 Change-Id: I5b0512e1b165bd511df3f79d69d63a68894993f7 Bug-AGL: SPEC-3812 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-02-03Adapt pi4 for koi branchJan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I425e2a864eb81ee363ac66623a642f99721eb489
2021-01-22Disable screenshooter in CIkoi_10.93.0koi/10.93.010.93.0Jan-Simon Möller1-3/+3
Need to eval more boards. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I412095ecff4fa32b8cd1879a3792ca6b5b021b11
2021-01-21SPEC-3764: Enable screenshooter testCorentin LABBE3-4/+12
This patch enable screenhooter test. The qemuarm need more memory for working with this test. Change-Id: I1aae32688efb4bb8264e3d85bd3c439b7b9f6764 Bug-AGL: SPEC-3764 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-01-19Remove cma=64M setting overriding devicetree defaultsJan-Simon Möller1-1/+1
This setting needs to be removed in favour of the defaults from devicetree due to the location of the cma area being relevant. Note if at all, the cma= setting needs to be below 768M/1024M. So for reference, a cma=64M@256M does work. But as devicetree does handle it now - let it do its work. Bug-AGL: SPEC-3702 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I9e8300b22f505447a7b1f9be41288a9e54647064
2021-01-14Add refhw to SPEC3665 workaroundkoi_10.92.0koi/10.92.010.92.0Jan-Simon Moeller1-1/+1
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1d9314766573dfc3135e6be0e2a34f7a31bdb072
2020-12-16SPEC-3714: use h3ulcb-nogfx as build name for r8a7795-agl-refhwkoi_10.91.0koi/10.91.010.91.0Corentin LABBE1-0/+3
r8a7795-agl-refhw must use the h3ulcb-nogfx build name Change-Id: Iefe7c2572da1444eb894f1e696421c2615677544 Bug-AGL: SPEC-3714 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-16SPEC-3714: fix dtb nameCorentin LABBE1-1/+1
The DTB name of r8a7795-agl-refhw miss the ".dtb" extention. Change-Id: I6f5d80ce9e97aef8dfeab9bb794996412ed30fcc Bug-AGL: SPEC-3714 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-10SPEC-3714: Add r8a7795-agl-refhwCorentin LABBE1-0/+13
The r8a7795-agl-refhw is now ready in our lab, start letting it availlable by adding its releng-scripts templates. Basicly its template is nearly the same as KingFisher. Change-Id: Id02838c26c5275be28cf555e26bf63ce715e4143 Bug-AGL: SPEC-3714 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-04Add more cores to qemuarm runs in LAVAJan-Simon Möller1-1/+1
This will increase the speed of the test execution. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I279cc572afae783c84ee2c0a64f17a197ac5f128
2020-11-27Dump the journal at the end of a jobJan-Simon Möller3-3/+23
For debugging purposes, dump the journal at the very end. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ib31764edb57827fbf2deb6ef5705da8783d17c30
2020-11-10SPEC-3655: Start weather/geoclue services (hack)Corentin LABBE2-0/+24
For H3 and RPI4, we need to start weather/geoclue services until a proper solution to SPEC-3655 is found. Change-Id: I6cfd3ef5cad789e93e039a57d571a44c3e30594f Bug-AGL: SPEC-3655 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-10-21SPEC-3597: move can tests at the endCorentin LABBE3-12/+12
CAN tests can interfere with pyagl, so move them at the end of the run. Change-Id: Ied6ef3f08a997ca7f06a7f0756041008a7001245 Bug-AGL: SPEC-3597 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-10-14SPEC-3631: Add veth testCorentin LABBE2-0/+11
Add veth test which adds an extra virtual network card for testing. Change-Id: Iad5499ad653b4511fd7bd21f57d1b42ef4decb22 Bug-AGL: SPEC-3631 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-10-13SPEC-3631: Add network to qemuCorentin LABBE4-0/+6
qemu machines does not have a network card by default. So let's add one. Change-Id: I6ea5d5625ee5c24b5ee49652f1aa838580a6f952 Bug-AGL: SPEC-3631 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-09-30SPEC-3597: Add video device to qemu arm/arm64Corentin LABBE3-3/+3
We need to add video device to qemu ARM/ARM64. Both arm and arm64 use the virt qemu machine which dont have any video device. But since they have both a PCI bus, we could add a VGA device. Along with the VGA device, let's add some input peripheral for all qemu. Bug-AGL: SPEC-3597 Change-Id: Ic2cee663145abf0b668ca166f40f46318e526bc7 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-09-25Update qemu machine to use q35 on x86Jan-Simon Moeller1-2/+2
This fits what we do when calling runqemu. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic5ffa2f2a65b5b55c820063300171cc31d3d878c
2020-09-23Simplify uniqidJan-Simon Moeller1-5/+1
Just use a random number. Fixes: Traceback (most recent call last): File /w/workspace/ci-apps-agl-service-bluetooth-verify-master-CIBT-x86-64/repoclone/releng-scripts/utils/create-jobs.py, line 126, in <module> main() File /w/workspace/ci-apps-agl-service-bluetooth-verify-master-CIBT-x86-64/repoclone/releng-scripts/utils/create-jobs.py, line 110, in main app_changeid=args.app_changeid, app_patchset=args.app_patchset, app_branch=args.app_branch) File /w/workspace/ci-apps-agl-service-bluetooth-verify-master-CIBT-x86-64/repoclone/releng-scripts/utils/agljobtemplate.py, line 113, in render_job job[uniqid] = AGL-%s-%s-%s-%d % (machine, branch, version, random.randint(1, 999999)) Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ifef2d5831b37e69bef30f1d32730736dfafc5a57
2020-09-23SPEC-3597: add a virtual display device via vncCorentin LABBE3-3/+8
We need to add a virtual display device for testing homescreen. Let's add a vnc to do this. But we need to avoid VNC to open a network port, so we will use an unix socket. For handling the fact that two job could run in parallel, each unix patch need to be unique. We will generate an unique path with gerrit id, branch, and a random int. The vnc is added for all qemu since it seems to not hurt ARM/ARM64. We also add a virtio display device on x86_64 since apps are tested only on x86_64. Change-Id: I22412df75cad16f151f73d0d93b0e38ae386ef4d Bug-AGL: SPEC-3597 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-09-19SPEC-3572: Enable pyagl testCorentin LABBE2-5/+5
This patch enable pyagl tests for all CI jobs (ci/daily/release/tc...) Bug-AGL: SPEC-3572 Change-Id: I26900a81c04731b02ab7b07aeb8fe2b36c6c1aad Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-09-16SPEC-3572: add pyagl test templateCorentin LABBE1-0/+8
This patch adds testdefinitions for pyagl. Change-Id: I1ed3fb3a953a2f0400ad0c8c2f8f4372da2d64b4 Bug-AGL: SPEC-3572 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-07-22SPEC-3414: add tests used for testing releng-scriptsjellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.29.99.49.99.39.99.2Corentin LABBE2-0/+115
When working on SPEC-3414, I did some test tool for releng-scripts. This patchs adds them. - test.sh scan artefacts and try to generated jobs with them - checkjobs.py check all ran jobs and try to detect if there was apps jobs and if they has errors. Change-Id: Iab21573741ab4fa3cdfc29fd0d7aab33c904d838 Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-07-16SPEC-3414: add new metadata for kernelCICorentin LABBE2-0/+25
Recent kernelCI expects to have more metadata in LAVA job definition. This patchs add them. Change-Id: I936947ee2ea799c28220f25a587392b7d94d488e Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-06-11SPEC-3408: convert releng-scripts to python3Corentin LABBE4-16/+19
This patch convert releng-scripts to python3. While at it, let's creating requirements.txt for specifying depencies yaml and jinja2. Change-Id: Iba7b45b10fd7e1336bf1e4a73e0e6275392e373c Bug-AGL: SPEC-3408 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-06-02Add prerelease type to generatorjellyfish_9.99.1jellyfish/9.99.19.99.1Jan-Simon Moeller13-20/+30
Allow the tool to generate jobs against the prerelease location. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7f00ee52ad85b2aecc52679da4e98857a5dd59cb
2020-05-12Support the rewitten rpi4 machine file layoutJan-Simon Moeller3-2/+9
The reworked rpi4 board support will build with MACHINE = raspberrypi4-64 to match upstream. This leads to some paths being different on the download server. Thus we need to adapt the scripts. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iac1e2bb8c80bb751138969653a5548c6133a665a
2020-05-04SPEC-3210: use the new rootfs name for qemuCorentin LABBE1-1/+1
When changing the name of the rootfs of qemu from ramdisk to rootvd, utils/job-prereq.py was not handled. This patch fix it. Bug-AGL: SPEC-3210 Change-Id: I17c5c52d4b5f605fc043deb96694f7935b5dc9f8 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-05-04SPEC-3210: qemu do not use ramdiskCorentin LABBE5-6/+8
On 2020.02, qemu jobs fail to mount the rootfs. This is due to LAVA ignore now compression for ramdisk and the AGL image is in xz. But AGL qemu jobs in fact does not use a ramdisk but a virtio disk. Renaming the ramdisk definition entry to rootvd handle this issue. Furthermore, let's introduce a new rootfs type rootvd. Change-Id: I71ef6dee0d859c6aa0b29f1d47ac14dd4db900d8 Bug-AGL: SPEC-3210 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-05-04qemu-arm: fix the qemu virt versionCorentin LABBE1-1/+1
With recent qemu, the ARM virt machine hit: pci-host-generic 4010000000.pcie: can't claim ECAM area [mem 0x10000000-0x1fffffff]: address conflict with pcie@10000000 [mem 0x10000000-0x3efeffff] pci-host-generic: probe of 4010000000.pcie failed with error -16 Without the PCI working, the storage for tests cannot work. So let's fix to the last version of the vmachine which work without kernel hacking. This patch should not be merged until LAVA 2020.02 since stretch qemu does not support virt-2.11 Change-Id: Ifbb352a491cf917c45d48e0f88af20c146ca5422 Bug-AGL: SPEC-3210 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-05-04SPEC-3210: handle the deprecation of actions: boot: type:Corentin LABBE3-4/+3
Specifying the kernel type in "actions: boot:" is deprecated. It should now be set in "deploy: kernel:". So this patch set unconditonaly the type: in the deploy section (before it was only for ramdisk method) and remove the type: from the deprecated place. But due to a bug in LAVA, NBD jobs rely on type: to be in the deprecated place until 2020.02 (2020.02 has the fix). So this patch must be applied only after LAVA 2020.02 was deployed. Change-Id: Ida30092d2abe14b05d5e37f651f91ab33876e4f5 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-05-01Fix comment style for jinja2Jan-Simon Moeller1-1/+1
{# ... #} is the proper comment style, otherwise we still assign. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I5b3f318d758825c30e6ec208d2eeaab51ba211ea