aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-prepare.sh
AgeCommit message (Collapse)AuthorFilesLines
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>