aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-05bionic-amd64-fvp: include several Cortex-A 11.15_14 modelsHEADmasterLeonardo Sandoval
TF-A CI scripts is moving into 11.15_14 model versions, so create the corresponding containers. Models included * Armv-A Base AEM FVP FOC Silver Base: https://silver.arm.com/browse/FM000 FVP: https://silver.arm.com/download/download.tm?pv=4858061&p=3042387 * Armv-A Foundation Model Silver Base: https://silver.arm.com/browse/FM00A FVP: https://silver.arm.com/download/download.tm?pv=4858054&p=1238185 * Fast Model Fixed Virtual Platforms lin64 Silver Base: https://silver.arm.com/browse/FM000 https://silver.arm.com/download/download.tm?pv=4858079&p=3785926 Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I756f7bf78fc89947afdb5d72193c7a459c225fa4
2021-07-02jenkins: LTS updateRiku Voipio
Change-Id: Iaa81c6cc5f6da38bb2ad39696e34572cf143448e
2021-07-02jenkins: update plugins and include wgetRiku Voipio
Change-Id: Ib2d3c731b4cfa3cdeb684727cc2aef10e7219aff
2021-06-30jenkins: upgrade to latest LTS and pluginsRiku Voipio
Long overdue update. Deploy to staging to test. Change-Id: Ifcf113a26c6846c835095c3a0b68a4fc3c72d5db
2021-06-25TF-M Build: Set docutils version to 0.16Xinyu Zhang
The default version of docutils in docker is 0.17.1. TF-M docs could not generate expected bullet lists with this version. Set docutils version to 0.16 in dockerfile. Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com> Change-Id: I0140cd4c4e799923a42358fc1f0d5ed74a59d83d
2021-06-24bionic-amd64-tf-m-build: install librsvg2-bin packageSummer Qin
librsvg2-bin package is needed for sphinxcontrib-svg2pdfconverter. Signed-off-by: Summer Qin <summer.qin@arm.com> Change-Id: Idfe17936eb23a6d3ca58944c58e9a714a4938dd7
2021-06-12bionic-amd64-tf-a-build: Add gcc-arm-none-eabi for M-seriesNicola Mazzucato
The gcc cross-compiler GNU Arm Embedded Toolchain 10-2020-q4-major is added in bionic-amd64-tf-a-build to allow builds for 32-bit Arm Cortex-M processors (i.e. SCP-Firmware). Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com> Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I84336ef9659be09a8fff52afccaeb7979204d586
2021-06-11Revert "bionic-amd64-tf-a-build: Add gcc-arm-none-eabi for M-series"Fathi Boudra
This reverts commit 221fc23cc199b3a30e5dec58f88c03e52b5dba4f. Reason for revert: arm-none-eabi GNU-A and GNU-RM are installed in the same location Change-Id: I9b91c3a4fe7601d083d10428bae0f624883b92c9
2021-06-11bionic-amd64-tf-a-build: Add gcc-arm-none-eabi for M-seriesNicola Mazzucato
The gcc cross-compiler GNU Arm Embedded Toolchain 10-2020-q4-major is added in bionic-amd64-tf-a-build to allow builds for 32-bit Arm Cortex-M processors (i.e. SCP-Firmware). Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com> Change-Id: Icfcc9f31034847a77cf614d786bea0dd581c7467
2021-05-24flexnet: increase debug levelRiku Voipio
To debug TFC-102 Change-Id: Ib8addbd8d1467f349f6591645b805c5d6af23956
2021-05-10bionic-amd64-tf-m-build: add sphinx tabs supportSummer Qin
Signed-off-by: Summer Qin <summer.qin@arm.com> Change-Id: I92cad0caeba6668d975d3b0cabd9cfd422c861df
2021-05-05bionic-amd64-tf-a-build: install gdisk packageLeonardo Sandoval
Commit [1] introduce the usage of 'sgdisk' tool, so include it into the dockerfile through the corresponding package. [1] https://git.trustedfirmware.org/ci/tf-a-ci-scripts.git/commit/?id=ea3e094f9634793028b02595cc66e668bd5355f6 Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: Ie5c858110d3adc22f20d099d9adc8a5b98913ef8
2021-05-03bionic-amd64-tf-a-build: add 'uuid-runtime' packageManish V Badarkhe
Updated dockerfile to install 'uuid-runtime' package, needed by FVP CI scripts to execute 'uuidgen' command. Previously added 'util-linux' package for Ubuntu/Debian does not contain 'uuidgen' tool, unlike to 'util-linux' package for Fedora with uuidgen tool. Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Change-Id: Ia6fea93d12b7ca7702227e9da5fb61b4826582dc
2021-04-29bionic-amd64-fvp: include several Cortex-A 11.14_21 modelsLeonardo Sandoval
TF-A CI scripts [1] is now moving into 11.14.21 version of its FVP models, so the coresponding containers should be created based on the latter version. Model tarballs should be download explicitly, so to easier the search of these, below is the list of model-url - FVP_ARM_Std_Library_11.14_21.tgz https://silver.arm.com/download/download.tm?pv=4849297&p=3785926 - FVP_Base_RevC-2xAEMvA_11.14_21.tgz https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms/arm-ecosystem-models https://silver.arm.com/download/download.tm?pv=4849271&p=3042387 - Foundation_Platform_11.14_21.tgz https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms/arm-ecosystem-models https://silver.arm.com/download/download.tm?pv=4849264&p=1238185 [1] https://review.trustedfirmware.org/c/ci/tf-a-ci-scripts/+/9793 Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I2d586656da133c39a1f84ee90a56eedec7cd488d
2021-04-28focal-amd64-fvp-test: remove generation of .docker-tagLeonardo Sandoval
The corresponding docker image is intended for internal LAVA consumption at [1] so there is no need to publish it, therefore no need to create a .docker-tag file in the build phase. [1] https://tf.validation.linaro.org/ Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I2f4dc738a3c6c60fa7163fdcf04e9454f205de00
2021-04-28focal-amd64-fvp-test: introduce a new container for LAVA-test definitionsLeonardo Sandoval
There is need for a new type of container with all related packages to scp files from FVP containers in LAVA [1]. Below is a simple example of its usage as a LAVA Test Definition in a LAVA test job description . . - test: timeout: minutes: 2 docker: image: fvp:amd64-test-ubuntu-focal definitions: - from: inline path: inline/testdef.yaml name: testdef repository: metadata: format: Lava-Test Test Definition 1.0 name: echo-example description: "echo example" run: steps: - echo hello [1] https://review.trustedfirmware.org/c/ci/tf-a-ci-scripts/+/9823 Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I114eb4f5a665a2ff887e8fcae4f4cdf3c9a57605
2021-04-26bionic-amd64-tf-m-build: add sphinx svg to pdfSummer Qin
Signed-off-by: Summer Qin <summer.qin@arm.com> Change-Id: I56a4ca2a3d7d632828142349f7aaffd1788c631b
2021-04-20alpine-amd64-node10-tf-a: add OpenJDK 11 packageFathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I3850b1b5d62ec58a678ecaf0a085a7ec13edec20
2021-04-20alpine-amd64-node10-tf-a: fix sshd startupFathi Boudra
We need a custom setup-sshd script for Alpine, in order to generate SSH host keys. The script should be run as root and we use the buildslave user to login through SSH. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I09d2d7a4fdf3673ac37071c83d3a968ded3dbc8c
2021-04-19alpine-amd64-node10-tf-a: remove semi-colonFathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Ib7faf04e66c063dc54c5b6a8e10946834dc70bd0
2021-04-19alpine: rename top directoryFathi Boudra
fix the image name accordingly. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I67f4ffe89987bc5c98dde13cc0215673d03816fe
2021-04-19bionic-amd64-tf-a-build: add 'util-linux' packageManish V Badarkhe
Updated dockerfile to install 'util-linux' package, needed by FVP CI scripts to execute 'uuidgen' command. Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Change-Id: I066fab1fafaefd1998c260a03c90b8f8ed5eb9d2
2021-04-19Node: Add node imageBenjamin Copeland
This commit adds support for node.js into our docker infra. It uses alpine, and is based of https://hub.docker.com/_/node. Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: Ie2322c27fd259b021b14a3363c1fa2657ef98701
2021-04-19tf-a: add NVM_DIR to environmentFathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I43bd0284acbb39d72232124a3834b047eaae9b92
2021-04-15bionic-amd64-tf-a-build: include Node.js v14 (LTS)Chris Kay
We are introducing additional Node.js tools that depend on Node.js, as well as associated CI checks which use them (`commitlint`). Change-Id: Ia4bbfe5aa57a0cc7acafa821d44270a4886a0853 Signed-off-by: Chris Kay <chris.kay@arm.com>
2021-04-07jenkins: upgrade to latestRiku Voipio
Transitions also to buster based slim images, and install both python2 and python3 packages to allow migration of jobs to python3 Change-Id: Idf2431e797f3472af66bd4efef5f40bfd3cbb879
2021-03-12bionic-amd64-tf-a-build: include libyaml-dev packageArthur She
lavacli uses PyYAML module to process YAML and libyaml-dev package is required by PyYAML. Without it, we will get "module 'yaml' has no attribute 'CDumper'" error. [1][2] [1] https://ci.staging.trustedfirmware.org/job/arthur-tf-a-builder/748/console [2] https://ci-builds.staging.trustedfirmware.org/static-files/LvuoYi0WZysE5HzpuFDNlWTZCI8xYxjgjHf-G5RwFlMxNjE1NTMwMzgxMzIxOjEwOmFydGh1ci1zaGU6am9iL2FydGh1ci10Zi1hLWJ1aWxkZXIvNzQ4L2FydGlmYWN0/lava.log Signed-off-by: Arthur She <arthur.she@linaro.org> Change-Id: I1347389ccc7f2068d4aafa38e3c3f3c2741e8deb
2021-03-12Update the URL of script 'get-pip.py'Arthur She
The URL of script 'get-pip.py' has changed.[1] [1] https://ci.trustedfirmware.org/job/ci-dockerfiles-sanity-check/label=build-amd64/lastBuild/console Signed-off-by: Arthur She <arthur.she@linaro.org> Change-Id: I9a958719895243e9845308dbc57777790b8f6cb3
2021-03-11fvp: expose the dockerfiles used by LAVALeonardo Sandoval
The LAVA lab has the fvp device type [1], able to launch FVP models (model) embededded in docker images and these are created based on docker files. This commit provides the docker files currently being used by LAVA. One important point to notice: in most cases, these images embeds a specific model (image:model 1:1) but there is one, fvp/fvp_arm_std_library_11.12_38/Dockerfile, which contains several (cortex-a) models (image:models 1:n). Unfortunately, there is no automatic way to build them: user must first fetch the model tarball then build the image. Simple instructions are provided in the README file. [1] https://tf.validation.linaro.org/scheduler/device_type/fvp Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I91bba06186a7048407eae121066c3c2dfab56156
2021-03-04TF-M: update cppcheck from 1.81 to 2.3Fathi Boudra
https://projects.linaro.org/browse/TFC-35 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I08d8c0c1ea9bf30444b557b690f587ecbe557d7e
2021-03-04tf-m: hafnium: set an explicit pip versionFathi Boudra
fixes the following error: File "/tmp/get-pip.py", line 199, in main bootstrap(tmpdir=tmpdir) File "/tmp/get-pip.py", line 82, in bootstrap from pip._internal.cli.main import main as pip_entry_point File "/tmp/tmpcP1hEo/pip.zip/pip/_internal/cli/main.py", line 60 sys.stderr.write(f"ERROR: {exc}") ^ SyntaxError: invalid syntax Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I4895c8db072a8878325b022d8f9cb5e4d50d00ee
2021-02-24TF-M: qemu: dummy changes to update qemu versionFathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Iccad84bb42281b0b1b5e83e92f2d486694712963
2021-02-16bionic-amd64-tf-a-build: include cpio packageLeonardo Sandoval
The package 'cpio' is required to build SPM test descriptions, otherwise we see failures as [1]. [1] https://ci.staging.trustedfirmware.org/job/lsandov1-tf-ci-gateway/1162/ Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: Ifdb6e5ee71f7dad0ff02fca44a28dc18e7b57ea7
2021-02-16bionic-amd64-tf-a-build: include bc packageLeonardo Sandoval
The package 'bc' is required to build SPM test descriptions, otherwise we see failures as [1]. [1] https://ci.staging.trustedfirmware.org/job/lsandov1-tf-ci-gateway/1160/ Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: Ifd433148b6236c52b72e4b6fabedbfcbc15bacae
2021-02-16tf-a: set an explicit pip versionFathi Boudra
fixes the following error: File "/tmp/get-pip.py", line 199, in main bootstrap(tmpdir=tmpdir) File "/tmp/get-pip.py", line 82, in bootstrap from pip._internal.cli.main import main as pip_entry_point File "/tmp/tmpcP1hEo/pip.zip/pip/_internal/cli/main.py", line 60 sys.stderr.write(f"ERROR: {exc}") ^ SyntaxError: invalid syntax Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I8e1c87c754114d3e6376470de88f7e56619d364c
2021-01-29jenkins: add extended-read-permissions and pipeline-utility-stepsFathi Boudra
Add extended-read-permission to allow read-only job configuration. It's actually already used in several jobs but it never worked due to the lack of the missing plugin. Re-introduce pipeline-utility-steps as it's currently used by the TF-M pipeline (writeCSV). Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I4f19639db86c93306befacaf80bddfdfd2ab3709
2021-01-29jenkins: update to latestRiku Voipio
Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Change-Id: I376906bc069855a7d0c163d0d8ce9d424039d9bb
2021-01-25Jenkins: Define pip versionBenjamin Copeland
Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: Ia88f8963083fdb0d30ac6766ee13a34d98316599
2021-01-25jenkins: update to latest LTS (2.263.2)Fathi Boudra
Contains important security fixes: https://www.jenkins.io/security/advisory/2021-01-13/ Update plugins accordingly. Drop the rich text publisher plugin: it has been agreed to replace its usage using groovy-postbuild plugin, already available and used in various jenkins jobs. Drop the pipeline-utility-steps plugin: the plugin has been renamed and is pulled by blueocean. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Id4d7c718d75181ccc1d08fb9791fbf41efacbd2e
2021-01-21TF-A: add lavacliFathi Boudra
It's required to get the lava jobs log. Sort the python3 requirements. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Id58f749b479938c373ca6e1a78dcbf14db17d25e
2021-01-21TF-A: add locales, set to UTF-8Fathi Boudra
Some python code require to be unicode aware. Install locales to be on the safe side. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I74d062c8d89ff04e98a8c753f62431fb487fa697
2021-01-21TF-M: add locales, set to UTF-8Fathi Boudra
Fix https://projects.linaro.org/browse/LSS-2002 Files are truncated when writing on the filesystem using unicode strings. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Id16c742f77a6b41c2ba4f3fb56f8c816fff72b43
2021-01-06hafnium: Add python package (FDT)Benjamin Copeland
Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: Ie8ec3231fd98d51892294f14332c1b424ad2fe96
2020-12-29TF-A: upgrade Arm GCC toolchain to 10.2-2020.11Fathi Boudra
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I7f94cee5b7f1c94c042fa2dcb1eff6c65943cc07
2020-12-17TF-M: set git default configFathi Boudra
cppcheck test requires to build mbedcrypto, which fails with a cmake fatal error: fatal: unable to auto-detect email address Set a git default config to avoid this error. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Ice1337777ea294e0b93c573137fa9780c544a864
2020-12-17TF-M: add a new image used for QEMU device type in LAVAFathi Boudra
It will replace kevintownsend/lite-qemu5:v1 container. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I96d0f3c3a39dfefac862bc3947a8f6eea7a7f536
2020-11-27Jenkins: Add rich text publisher pluginBenjamin Copeland
As requested by TF-A project Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: I8c7f207e5d432243c2fa6630dcbef9ddfd6beacc
2020-11-24TF: upgrade CMake from 3.15.0 to 3.15.7Fathi Boudra
Avoid CMake build-dependency to rot. CMake 3.15.0 is very old. The 3.15.x serie received several bugfix releases since 3.15.0 release. CMake 3.15.0 has been released on July 2019. CMake 3.15.7 has been released on February 2020. Previous 3.15.x serie changelogs: https://cmake.org/cmake/help/v3.15/release/3.15.html https://blog.kitware.com/cmake-3-15-5-available-for-download/ https://blog.kitware.com/cmake-3-15-6-available-for-download/ https://blog.kitware.com/cmake-3-15-7-available-for-download/ Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Ia82bbe770ecb78fc052b15f2318b662e60699a8d
2020-11-23TF-A: Do not remove all android zipsLeonardo Sandoval
Limit removal to only fvp*-android-*.zip thus juno related ones remain and can be used by the follwing test descriptions tf-l2-boot-tests-juno/juno-mbedtls-rsa-opteed:juno-linux.optee tf-l2-boot-tests-juno/juno-mbedtls-ecdsa-opteed:juno-linux.optee Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: If4c10fe28bcbeaac17d436ae5383228f5f28614b
2020-11-20TF-A: create /arm folder and chown to buildslaveLeonardo Sandoval
There is a temporary need to create softlinks (to be created at runtime, by CI jobs) on top of /arm folder, these pointing to TOOLS_DIR folder, so paths at CI scripts' tf_config folder, currently pointing to /arm are not required to change at this point. Ultimately, the reason not to change the /arm paths at CI scripts is that Arm CI is running and cannot be stopped, so once CR01 migration is over and all jobs running, then Arm CI can fully move to Open CI. One this happens, this patch can be reverted. CR01 https://developer.trustedfirmware.org/w/collaboration/openci/ Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: Idb9d4a70bb3d134df65cc250cd862dcec87f28d5