aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-prepare.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-02-04Changes for the koi branch in CI.Jan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ie1080c88c643c5f1c74a4f115350efb47bfd83bd
2021-01-20SPEC-3714: Add a dedicated entry for r8a7795-agl-refhwCorentin LABBE1-2/+9
r8a7795-agl-refhw is booted by an extra CIBT jenkins, so let's add a dedicated MACHINE case for it. Also, the h3ulcb-kf is moved at the end of gen_info since it is main device which need to be booted by MACHINE=h3ulcb-nogfx Bug-AGL: SPEC-3714 Change-Id: Iaa141521015734ca818ff1e319deed1eea6bfed3 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-16Only apply refhw on master for nowJan-Simon Möller1-0/+2
Change-Id: I1be3fae31cb858b0f2b346d06abd26abc78bdaeb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-12-10SPEC-3714: copy artifacts for r8a7795-agl-refhwCorentin LABBE1-0/+3
Enabe the copy of artifacts for r8a7795-agl-refhw Change-Id: Id3536647e1f57955ba7ff512a8256f7b2ab48f38 Bug-AGL: SPEC-3714 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-04-07Fix upload of artifacts to download serverJan-Simon Moeller1-1/+2
There was a bug in the preparation script. Create the proper folder. Bug-AGL: SPEC-3319 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I6e55c26c540fd8fe9216cf429e369c3c8b8e72fb
2020-04-02SPEC-2962: move gen_info before the callerCorentin LABBE1-45/+45
The gen_info() function is declared after the caller, this cannot work. Let's fix that Change-Id: I410dcd59bba1d428edbcdf4f997ecdf35ad23af4 Bug-AGL: SPEC-2962 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-03-27SPEC-2962: permit to have more than one board per buildCorentin LABBE1-47/+86
The current way to generate jobs assume that only one board exists per build. For handing more than one board per build, we need to introduce a sort of loop. So for each build, we will produce a list of boards in BOARDOUT In the BOARDOUT/$board, we will have: - an "info" file with all necessary VARIABLES for copying artifacts So for each board, some artifact will be copied. Then only one job for the "main" board of the CIBT job will be handled. The extra boards of a build will need to have their own CIBT, but at least they dont need to do a real build/copyartifact. Change-Id: I6c6999e549c7f1216f466410896b3058efc5882d Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-03-05SPEC-3004: Permit to copy build artifact for raspberrpi4Corentin LABBE1-0/+1
Even if raspberrpi4 was enabled in CIB, build artifacts are still not copied. This patch enable it for the releng querry. Bug-AGL: SPEC-3004 Change-Id: I04dbc796a7f92b1b0ef9b7e1d1d6df6c6e597ffa Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-02-10AGLBRANCH is not defined in this context.Jan-Simon Moeller1-2/+2
Use TARGETBRANCH as it is defined in this context. Bug-AGL: SPEC-2978 Change-Id: Icb1307ff4beef3d80b9e51e81920924b357b9428 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-02-10SPEC-2978: clone the release branchesCorentin LABBE1-2/+2
We get to a point where we have board differences between releases also in releng-scripts. This patch adapt ci-management to clone the $AGLBRANCH instead of just 'release'. Bug-AGL: SPEC-2978 Change-Id: I759a857655200f4a8ca833173557219f8a0282ca Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-19Fix mapping of h3+kf device for labsJan-Simon Moeller1-1/+1
We were using a plain h3 instead of h3+kf. Fix it. Bug-AGL: SPEC-2921 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I8699373e84795d651b68558a43863383bd4039af
2019-11-12SPEC-2921: Add the h3ulcb-nogfx CIB/CIBTCorentin LABBE1-0/+1
This patchs adds build and boot test for the h3ulcb. Change-Id: I1dc84e88513aab49db2f7965712f7491c2451af8 Bug-AGL: SPEC-2921 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-09-26Remove verbosity from jenkins jobsJan-Simon Moeller1-5/+1
clean the logs. Can be re-enabled when debugging is needed. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I13bba480196e3932c45123c62f03064e420f257f
2019-06-17ci-platform-jjb: enable CIBT for qemuarmCorentin LABBE1-0/+1
Since releng-script now support qemuarm, and that build produce bootable arm kernel, we can enable CIBT for arm. Bug-AGL: SPEC-2376 Change-Id: I2c9b3995e4162dee87abff97d2f2a02a24499faa Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-06-07ci-platform-jjb: enable CIBT for qemuarm64Corentin LABBE1-0/+1
Since releng-script now support qemuarm64, and that build prroduce bootable arm64 kernel, we can enable CIBT for arm64. Bug-AGL: SPEC-2376 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> Change-Id: Ic4776799065f363f2754b6952e51f5216b133323
2019-05-09SPEC-2075: Enable CIBT for upsquareCorentin LABBE1-0/+1
Enable CIBT for the upsquare board. Bug-AGL: SPEC-2075 Change-Id: I7b54ce3fef7a459b12234e6ac9a652bed90e9be1 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-04-30Add caller to new branch argument for relengJan-Simon Möller1-0/+4
This is necessary to deal with the dtb changes in releng and not the CI scripts. Change-Id: Ia12a8ccbb0527f7bd4a5518aeaefc5dafd7a7919 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-22jjb/common: update rpi3 device-type to upstreamKevin Hilman1-1/+1
Change-Id: I3c20e23ed4ddd00268d5ca5ee5ac0ab7d345e82b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-12jjb/common: fix releng name for porterKevin Hilman1-1/+1
Change-Id: I42b0191f5388e4f26e03c8fcb2f977d209628e4c Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-12-12jjb/common: run-test-prepare: fix unmapped boardsKevin Hilman1-0/+5
If a $MACHINE doesn't have a proper mapping for LAVA or releng-scripts, fail gracefully (exit 0) Change-Id: I8d25e2dd861cb29cefd74c07138f5f78e590569f Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-12-11jjb/common: clean up device names to standardized ones.Loys Ollivier1-1/+18
Use the device_name table aliases earlier in the CI process. That way all the scripts are using the correct device name. Avoiding name mismatch resulting to CI failure. Change-Id: Ia6f9f8beb06c43a24605abb24e676eaed68cc67e Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-08jjb/common: remove hwtest.enable files v2Loys Ollivier1-52/+17
releng-scripts now supports LAVA job generation for all boards. Remove the check in run-test-prepare.sh on whether or not to create LAVA test jobs. Replace this test by several exports using releng-scripts job-prereq tool. These exports will be used to rsync the files to the CI upload server. If the calls to job-prereq returns an error, make the script fail gracefully. Transition all platforms in run-test-short.sh to use releng-scripts. Transition all platforms in run-test-short-release.sh to use releng scripts. JIRA: SPEC-1144 Change-Id: I1e0e6d39b986770adcdfcf92c5d589a7fbe99a33 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-07Revert "jjb/common: remove hwtest.enable files"Jan-Simon Moeller1-12/+53
Issues with the jobs. This reverts commit f28a1005057b096a95ba73bc3bf3e029b835deaa. Change-Id: Icf75e5b462b0d4aff3c8d2c5806b8ca9270ad22b
2017-12-07jjb/common: remove hwtest.enable filesLoys Ollivier1-53/+12
releng-scripts now supports LAVA job generation for all boards. Remove the check in run-test-prepare.sh on whether or not to create LAVA test jobs. Replace this test by several exports using releng-scripts job-prereq tool. These exports will be used to rsync the files to the CI upload server. Transition all platforms in run-test-short.sh to use releng-scripts. Transition all platforms in run-test-short-release.sh to use releng scripts. JIRA: SPEC-1144 Change-Id: I558563704bbe9bf0bf554219f4f7ca8e086649bb Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-21LAVA jobs: create jobs using relengKevin Hilman1-2/+7
Switch to using releng-scripts "create-jobs" util for creating LAVA jobs from new templating system. For beta-testing, only use for QEMU and m3ulcb for now (Yes, the if/else/endif without nesting is ugly, but makes the patch easier to read without all the whitespace change for indents. Whitespace can be updated in a follow-up if this change is accepted.) Change-Id: I46c4f97927515c1772fdef9842f041ef2be60000 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-08-31jjb/common: run-test-prepare: clone releng-scriptsKevin Hilman1-0/+6
Preparation for new templating system. Templates and utils for generating new LAVA YAML templates based on jinja2 will be developed in the releng-scripts repo. Clone the "release" branch of that repo into $REPODIR, and add the utils dir to $PATH. Change-Id: If8a517ecb80cd849e022c82eba2794714c9ca787 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-25Leave DEVICE_URL_PREFIX enabledJan-Simon Möller1-1/+1
Change-Id: I1a5adadef039e92df7eee491ed6ee5b7d50344f1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-24Remove default values and print message for missing variableJan-Simon Möller1-12/+14
Change-Id: I7df5c0a9a36588f41bac00050b06507c89bc92d0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-17Merge "jjb/common: add LAVA templating for QEMU"Jan-Simon Moeller1-2/+4
2017-07-13jjb/common: remove unused TESTJOBFILEKevin Hilman1-7/+0
Individual machines are allowed to have their own LAVA templates, but they are not used, and completely overwritten by a default template. Since they are unused, remove them for clarity. Change-Id: Ib9196ac52dca7ef1891625a98399c70e3027abbb Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-13jjb/common: add LAVA templating for QEMUKevin Hilman1-2/+4
LAVA jobs for QEMU have some slight differences compared to u-boot jobs. Add templating to support QEMU jobs for any arch. Change-Id: I6ef8e92cc169d8365f0ba1cb568b961d49e2a74f Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-07run-test-prepare: fix device environment overridesKevin Hilman1-1/+1
Machines can override the default environment settings in their hwtest.short.environment files. However, the grep/sed procesing done does not ignore lines that are commented out, causing an extra '#' to be part of the variable name. To fix, ensure the grep for the variable name matches the beginning of the line, so commented lines will be ignored. Change-Id: Ibf4281c3126c95670346bee74043d670e6d58654 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-28Merge "allow override of DEVICE_URL_PREFIX"Jan-Simon Moeller1-1/+1
2017-06-26allow override of DEVICE_URL_PREFIXKevin Hilman1-1/+1
To facilitate local testing with customized upload location, allow override of DEVICE_URL_PREFIX. Note that this patch does not change the default. Change-Id: I998cb518f2288cc8f820f0dcfdb609f0845fb44b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-26fix NBD rootfs default compressionKevin Hilman1-1/+1
LAVA expects "compression: false" instead of "compression: none". Change-Id: I620c28a1cae3d40fbf20ab575666f7915ea26c0a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-08Fix git checkout and be less verboseJan-Simon Möller1-1/+1
Change-Id: I7d2b374f1ee0fe0d96c984c3e757f2fd49dd6a22 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-02-14Fixup debug outputJan-Simon Möller1-3/+5
Change-Id: I4bda93c5460cc61f5d29a9b9c7e0a442edaed244 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-25Add new ci jobs using multijob and control slave.Jan-Simon Möller1-0/+76
Change-Id: I4cbfe33ec05b4de1558834a902fe7b55bea4c31e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>