Age | Commit message (Collapse) | Author |
|
Initially we started to test only integration branch later we added
test for mainline branch so move common code into lt-qcom-linux-test
to be consistent.
Change-Id: If1bbeefbb6ba73bc81c57e2b5abd16b1aacc5d97
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Recently we changed to use generic arm64 ramdisk images for all the
boards.
- Remove BOOT_OS_PROMPT per board.
- Update boot regex on LAVA template to generic.
- Use the same base template for DB{410,820}c.
Change-Id: Ibf027973f4c8daeabc2322541f3269bd0d5257ad
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
We recently started to use generic images for all boards, to ROOTFS
and RAMDISK variables don't need to be per-board, they are all the
same.
Also we can assume that all DTBS are located under the same folder, so
we can make KERNEL_DT_URL generic and indicate a folder where all DTBS
can be found. We are still checking that DTBS for all supported
MACHINES exist.
This patch also removed all unused (or uninitialized) job parameters,
and we set MACHINES in the top level .yaml file to better control the
list of MACHINES to test for each job.
Change-Id: If0b987e83b429f8bca8f1192c1f8330268782a5e
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Change-Id: Ibdda350fecfdfd044a2a408501b369c461a64dd6
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
* set default values for some variables that are often the same for
any of our boards. They can be overriden if needed in the per
machine section
* set RAMDISK_URL_xxx regardless, since we are testing them later anyways
Change-Id: I1324a682aad9148177d72195021e2b1dbaec4897
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Insted of using commercial board name (e.g. Dragonboard 410c, ...)
let's use the DTB name, since we are mostly dealing with kernel
testing here, and the DTB name should be the identifier.
Sometimes we use MACHINE in bash/shell variables, so we need to make
sure that we don't use '-' character, and in these situations it is
replaced with '_' instead.
Change-Id: Icec0e60a0ee9fae47f962b6a652bbe0965995e32
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Export RAMDISK_URL and KERNEL_DT_URL used in LAVA jobs templates.
Change-Id: I6e98a86730eccd7feec51971d8c638b8b95de158
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Change-Id: I01d194edce47d0afb2b6bf8ed310b9a1b3359982
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Required now to push results back to KernelCI.
Change-Id: Id21321bdece9b13418d89fb80e3f55a6907852b6
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
- Add meta-data that KernelCI needs in order to push results via LAVA
callback.
- Add notify block with KernelCI callback to push test results after
LAVA job ends.
Change-Id: Iab75455eb0d6a67be24c2861c0d9cd8c944307bd
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The sdm845-mtp device was move to main LAVA_SERVER.
Change-Id: I046d6e7e7d7256be928cdb60cbf6667778eb1234
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The qcom-hackbox uses a wrapper for fastboot to connect to the boards
via ssh so don't try to install fastboot because it will fail.
Change-Id: Icba50a3a83a0c74d31236f8b951a894ef240a5d6
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Fix images variable in deploy, has bad alignament.
Change-Id: Iafac9f42f6b366bb45e385e27c79539bdb29ff1f
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
When /usr/bin/{fastboot,adb} exists, the current way to install these
tools fails, and test job continues with wrong version tools. Refer to
Jira story: https://projects.linaro.org/browse/LSS-231
automated/linux/android-platform-tools/install.sh from QA
test-definitions repo will remove adb/fastboot if installed and install
the ones specified with $LINK var. If any step fails, test job will be
killed with lava-test-raise. A test error will be printed as well.
Change-Id: I6d32b040acebac53b6d2b65498b4c538c88a6071
Signed-off-by: Chase Qi <chase.qi@linaro.org>
|
|
Ask about repo, branch and commit in KernelCI because the LKFT LAVA
email requires that information.
Change-Id: I785dda635f4d4df0a1dbf3dbefc862904a1fa3f1
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Recently We start to use overlayed ramdisk so don't use
abootimg-{un,}pack-initrd because only will take into account the
first ramdisk.
Change to create an cpio.gz file from LAVA test overlay and then append
to the ramdisk.
Change-Id: I3b16df8f94360d03dce9d3096d41d1a1ed512ff7
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
We have the ramdisk init script into the meta-qcom layer that dosen't
make sense so add the init ramdisk script overlay.
Previously we have an overlay for init rootfs script (functional
testing) so rename it to difference between ramdisk and rootfs
init scripts.
Change-Id: I0c240543205368ae6df6530d9f7194e958377eb5
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
There is no obvious reason why we even have that in the first place,
remounting /tmp can break things (such as ssh-agent).
Change-Id: I280e72b7c161a2412b283d1b5479f4d0a74bf996
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
The QA Reports/LKFT email uses git describe in the subject to provide
more information about the build.
We pull KERNEL_VERSION from Kernel CI that is basically a git describe.
Change-Id: I2a016fd3b9c1927115f768a3224eef7eaf68da3d
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The Linux Kernel supports a overlayed ramdisk, means that you
can concat several ramdisks and in the boot process will be decompressed
in order.
Add support to overlay the bootrr testing using the git repository.
The current implementation is becoming complex futher work is needed to
split the builders script into bootrr and functional (rootfs) image
creation.
Change-Id: Ice7f74ecb4aa03eca9582a9cdf6509d0b2495251
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Into the linux-mainline there is work to do for get db820c (GIC patch)
and sdm845 working, for now both boards fails at boot so disable it.
Change-Id: If77c05af91e18eb721267beff7d3d67f0cd5aadc
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Changes involves a new variable QA_SERVER_PROJECT to
distinguish between projects, the testing remains the same as
integration bootrr and functional execution.
Change-Id: Ieb704379b12100f2dd4d7066196f1e1e53ffc62e
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Only set firmware_file when FIRMWARE_URL is specified to avoid
errors when try to copy firmware tarball to the rootfs and ramdisk.
Change-Id: I2428b0846f6d5392c2e04f78810441a2443197bb
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
There is am error in flash commands order in V.L.O. causing to
flash partition:0 after rootfs.
[1] https://projects.linaro.org/servicedesk/customer/portal/1/CTT-1369
Change-Id: I48124606db5526b4887a00c2b76aca39f8f0fa67
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The sdm845 requires a ramdisk init to load the rootfs because we only
have access to the Android bootloader, so change the db{410, 820}c to
use the same method to avoid maintenance effort.
Change-Id: Ic2efc95cb5dedb0cc066ff3b5428311c1592d5aa
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
- Execute rescue shell when fail to mount rootfs
- Wait until device rootfs becaomes available
- Umount dev, sys, proc before switch_root
Change-Id: Ia3b10aa5ca5f8f87b632d00922ca5feb67c6a457
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The rootfs partition changed from sda7 to sda1, point to my
people.linaro.org share while publish in images.validation.linaro.org.
Change-Id: Ic7ca69a8a99a6d30874f4eee9fc7a41d0e8c1f07
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
New firmware bootloader [1] uses sda1 instead of sda7.
[1]
https://snapshots.linaro.org/96boards/dragonboard820c/linaro/rescue/latest/dragonboard-820c-bootloader-ufs-linux-37.zip
Change-Id: If44433cfd5e5a90749d742e678299ca4af27bf48
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
- Uncompress cpio ramdisk to install new init (switch_rootfs)
- Give +x permissions to new /init
- Fix override of boot_file
Change-Id: Ibe4a91d2d1bad9284dfbeea75915a78c9a137331
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Change-Id: I77dd406561b32dea6a7c573f3c29b7073ad78fc3
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The sdm845-mtp requires a initramfs to mount rootfs and then executes
switch_rootfs because we don't have a Linux bootloader and Android
bootloader tries to mount dm-1 device [1].
The Android bootloader appends:
androidboot.verifiedbootstate=orange androidboot.keymaster=1 dm=\"1
vroot none ro 1,0 6241776 verity 1
PARTUUID=67df17d5-dde5-884c-5a03-f53b2a9537ed"
Causing to wait until /dev/dm-1 available.
[1] https://lkft-staging.validation.linaro.org/scheduler/job/4407
Change-Id: I8f5508582c6c03c60a745d7586f887ffae1e267f
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The rootfs gets resized when copy modules and firmware so resize
to make sure that is space available for LAVA overlay.
Change-Id: Ib47fd9e9fb9f89b26f018d17c06e183dda52cbee
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
This variable is needed in LAVA base_template-functional.yaml.
Change-Id: I42a4572be404118eda3231f0124e158ca8282a3a
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Change-Id: Ia2d6850d79b3446a49ba7b8f3b8c7273426c3644
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Causes an error [1], when try to create the md5sum to upload artifacts
to the server.
[1]
https://ci.linaro.org/job/lt-qcom-linux-integration/MACHINE=dragonboard410c,label=docker-stretch-amd64/88/console
Change-Id: Idf2029f1bbe6ce90f8674e4245e8273e0ff195ab
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The functional testing involves the usage of full userspace rootfs to
test {os, hci, wlan, usb}-smoke, wlan-download, pm-qa and storage
(dd read/write).
The base_template-functional differs between dragonboard-410c and boards because,
dragonboard-820c: Requires to flash partition:0 to use Linux and Android.
sdm845-mtp: Don't require pre-power-command and uses userdata instead of rootfs.
The job priority is set to medium to be able to get bootrr results first
(high priority).
Change-Id: I118458caf8e1f39abbdf7dc3da7d92834a043067
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
We will have functional testing that requires storage so not
base_template for bootrr (ramdisk) testing is needed.
Change-Id: I9486e294cf83b6194056d86c188c661ef226f150
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The functional testing requires a full userspace (rootfs) with
tools to make testing.
Copy the kernel modules and firmware to the rootfs and generates
boot images that boots from rootfs (UFS, eMMC, etc).
Change-Id: I8559804e3fb9cb8403bd20e324d4357ddf01fa44
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
We want to do functional testing that requires a full rootfs userspace image
so change the name to make difference between bootrr testing (ramdisk)
and functional testing (using storage).
Change-Id: I198b0e3c6fd136f739ca99289311b4a7075dcda8
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
This allow to load modules like ath10k wireless to do functional
testing.
Change-Id: I35838ce06dfb79be81130750fc22d343f9f000b1
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
The sdm845-mtp has it's own base_template because dosen't need
pre-power-command in fastboot actions.
The fastboot tool isn't needed because is already installed in the
host machine.
Change-Id: I960657311ee4d7c5b359ffa128dd819b6c6f0598
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Use a new variable to isolate the difference between linux-mainline
and linux-integration. The exported boot image for linux-mainline was
still using linux-integration name...
Change-Id: I7c3b2b1b0de2b86aed80d0145738404abba38d60
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
All these variables are used in builders.sh only, so we don't need to
set them in the .yaml file. Less code in the .yaml file means it's
simpler to duplicate for new jobs.
Change-Id: Ide3beeeccdd77abd2df61fe72780122df04686ed
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
In order to have a clear insight of what version was build.
Change-Id: I55f139bc4704bf407a21f7de76ca8cb319a823a2
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
We generate such boot image for different platforms, let's make sure
we have different filenames for each platform, and for each build over
time, so that we can easily keep track of files locally.
Change-Id: I8090881556fad7e774aeadbf075d006edd3d2a1d
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Uses the same kernel and modules for db410c and sets the corresponding
dtb and rootfs image.
Add support for send the LAVA job calling bootrr tests.
Change-Id: I14931d4a0ff1ba1fbd6559686d201188b35c9f1f
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
of MACHINE
We map MACHINE to LAVA_DEVICE_TYPE in the build so since the templates
are for LAVA dosen't make sense to use two different sets of values.
Change-Id: Idbab2763701ea340f1dbf162e79247dd1f4ab187
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Not need to display unzip output details.
Change-Id: Iaa93d62156f2b43ece9bf11f0e0d6c310bc8e8d0
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
It needs to build the initramfs-bootrr-image, an example of the run is
at:
https://validation.linaro.org/scheduler/job/1692990
Change-Id: I4a357e7a44325386d1cd1a8e52918cd640c69e3b
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
Change-Id: I38a2bf35a43d3e1d00eed840c241506cb133c05d
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|