aboutsummaryrefslogtreecommitdiff
path: root/automated/android/workload-automation
AgeCommit message (Collapse)Author
2018-06-18wa: force install of lastest devlibVincent Guittot
Delay the installation of latest devlibe afterthat wa has been installed Change-Id: If9f6f733915f736a86bfd6dd2dcf2b7560ef095a Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
2018-05-09workload-automation: add installation and config for AEPMilosz Wasilewski
This commit adds support for installing and configuring ARM Energy Probe (AEP) devices. These devices are connected to Device Under Test in order to measure energy consumption at the connection point. AEP is currently only suppored in WA scripts that execute on AOSP. There is no support for devices running Linux. Scripts allow to use custom repositories and branches for installation and configuration. Change-Id: Ieb9a485f1d269f108c1305c373d66e422136a2b0 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-05-08workload-automation: fix AEP configuration regexMilosz Wasilewski
WA v2 and WA v3 use different variable names for installing plugins/extensions. This enables using both v2 and v3 syntaxes for AEP. Change-Id: I6e2408918baa1a773c71df9984b57c4e43ced63f Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-04-11workload-automation: fix AEP regexMilosz Wasilewski
Remove unnecessary quotation marks in the regex and also support WAv3 config.yaml file in the WA_HOME. Change-Id: Ifc015b493f2daccf31baa59136d8f14f82fa09c8 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-04-10workload-automation: install devlib from git repositoryMilosz Wasilewski
Before installing Workload Automation install devlib using code from repository. Devlib installed from pypi package might be outdated. This method is also used by WA when creating docker container. Change-Id: Ifd08b51fe999f833e9e7f849d15c46111d6b5030 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-04-10workload-automation: fix WA home download URLMilosz Wasilewski
Make sure that the file name is correct for unpacking the tarball. Change-Id: Icfc58db96105ca8c17a613c5e0a97c20784e4211 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-04-09workload-automation: allow forked WA repositoryMilosz Wasilewski
This patch adds option to use WA from different repository than default ARM's sources. Change-Id: Ic6508f81a7fe5433c9b500f675e517ea489f1843 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-04-09automated: workload-automation: allow for custom output pathMilosz Wasilewski
In order to make result postprocessing possible in the LAVA job, WA results can now be saved in the custom path that can be set as parameter Change-Id: If9faac3d20fa10297ed8dc65aa5b2f3a0dae0ea4 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-03-20Always run apt-get update after dpkg --add-architectureKarsten Tausche
install_deps() in sh-test-lib only triggers apt-get update every 6 hours. It does not see that the apt cache is outdated after adding a new architecture, so the update needs to be called manually. Change-Id: I60a9bb5f2ee4af2bf1a7d58f8e74d354fa9ce4af
2018-03-20workload-automation: only install adb if it's missingMilosz Wasilewski
Test jobs in LAVA use adb from the latest Google SDK. Installing adb package breaks adb. This patch makes the package installation conditional. Change-Id: I97d875aad65127b675b2a12f34363f5030bb8002 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-02-28workload-automation: make pip silentMilosz Wasilewski
Add --quiet to pip install calls. This significantly reduces execution time in LAVA. Change-Id: Ib6587fd68da9e49b1bee4ef8cb487b97c9a2daa7 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-02-28workload-automation: do not create local branch of WAMilosz Wasilewski
When checking out WA code from github, don't create local branch. This will result with repository in detached head state but will allow to checkout remote branches. Since it is known what was checked out, it's easy to reproduce locally and the change will not make any difference for test execution. Change-Id: Iff4493300c9bb195a81b5618eb43207c8b71076d Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-02-22Revert "automated: workload-automation: allow for custom output path"Milosz Wasilewski
This reverts commit ddf5fcb34db3d4e6ddd893836dd22e14f86cce9e. Change-Id: Ie1e923b7bf02395b0a9e5d240b691c4daa7a7754
2018-02-22automated: workload-automation: allow for custom output pathMilosz Wasilewski
In order to make result postprocessing possible in the LAVA job, WA results can now be saved in the custom path that can be set as parameter Change-Id: Id17a6dae15b9e5569270bd06722b9aa5d3a7b636 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-02-16WA: Use correct AEP config file before running WALisa Nguyen
If AEP exists, update the AEP path in the agenda pointing to the correct AEP config file before running WA. Change-Id: I0fea9fe17e4f6486434c06d5c10645b6c6f94a3b Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2017-11-02automated: workload-automation: allow extra WA modulesMilosz Wasilewski
Add support for WA_EXTENSION_PATHS variable to allow extra modules. The modules have to be available in the system before workload-automation.sh is executed. Change-Id: I045e5c5095a582000676214ad838e917d79dece4 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2017-11-01automated/android/wa: Update dependencies to remove obsolete packagesLisa Nguyen
Update the list of dependencies needed to run Workload Automation on Android, so we do not run into errors such as: "E: Unable to locate package libstdc++6 E: Couldn't find any package by regex 'libstdc++6' E: Package 'libgcc1:i386' has no installation candidate E: Package 'zlib1g:i386' has no installation candidate E: Package 'libncurses5:i386' has no installation candidate" Change-Id: I3b1322966ee55b8f860f15120477470be9c66967 Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2017-05-24automated: add support for workload automation test suiteChase Qi
Change-Id: Ie07d58c902e4c905c938b1aad8a7c126cdcf7ebf Signed-off-by: Chase Qi <chase.qi@linaro.org>