diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 117 |
1 files changed, 67 insertions, 50 deletions
@@ -89,71 +89,87 @@ Filesystem & software Requirements: Install WAv2 on dummy-ssh ========================= -Get Workload Automation sources from below link. (check for access permission to below repo before you clone) -git clone ssh://user-name@linaro-private.git.linaro.org/srv/landing-teams.git.linaro.org/arm-wa2/wa2 -this clone downloads a file called "wlauto-2.1.4dev-external.sh" -$ sudo sh wlauto-2.1.4dev-external.sh +Get Workload Automation sources from below link. (check for access permission to below repo before you clone):: -Accept agreement and follow the instruction from RELEASE_README -$ pip install wlauto-2.1.4dev.tar.gz + git clone ssh://user-name@linaro-private.git.linaro.org/srv/landing-teams.git.linaro.org/arm-wa2/wa2 + +this clone downloads a file called "wlauto-2.1.4dev-external.sh":: + + $ sudo sh wlauto-2.1.4dev-external.sh + +Accept agreement and follow the instruction from RELEASE_README:: + + $ pip install wlauto-2.1.4dev.tar.gz Quick-view: ----------- - Install SDK build-tools under /usr/ -Android expects aapt to be installed under /usr/build-tools/<Android-version>/aapt + + Android expects aapt to be installed under /usr/build-tools/<Android-version>/aapt - Install latest adb -Workload Automation connects target device via adb over ethernet. So latest adb is required. - -- Install pre-requirements ------------------------------------- -apt-get install python-pip -apt-get install python-dev -apt-get install python-pexpect (possibly don't need this) -apt-get install python-serial -apt-get install python-imaging -apt-get install libc6:i386 -apt-get install zlib1g:i386 -apt-get install libstdc++6:i386 - --Install bbench, Audio and third-party benchmarks -Workload automation expects packages to be available on dummy-ssh server. -please refer "APK Files" section -$ ls .workload_automation/dependencies/bbench/ -bbench.js exit.html forms.js index.html index_noinput.html mich_engin.png results.html sites - -$ ls .workload_automation/dependencies/Canon_in_D_Piano.mp3 -.workload_automation/dependencies/Canon_in_D_Piano.mp3 - -$ find /usr/local/lib/python2.7/dist-packages/wlauto/workloads/* | grep apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/andebench/andebench-release.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/antutu/antutu_benchmark_4.0.3.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/benchmarkpi/gr.androiddev.BenchmarkPi-1.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/caffeinemark/com.flexycore.caffeinemark_9.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/cfbench/eu.chainfire.cfbench.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/geekbench/com.primatelabs.geekbench3.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/linpack/com.greenecomputing.linpackpro-1.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/quadrant/com.aurorasoftworks.quadrant.ui.professional-1.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/smartbench/com.smartbench.twelve-1.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/sqlite/com.redlicense.benchmark.sqlite-1.apk -/usr/local/lib/python2.7/dist-packages/wlauto/workloads/vellamo/com.quicinc.vellamo.apk + + Workload Automation connects target device via adb over ethernet. So latest adb is required. + +Install pre-requirements +------------------------ + +- apt-get install python-pip + +- apt-get install python-dev + +- apt-get install python-pexpect (possibly don't need this) + +- apt-get install python-serial + +- apt-get install python-imaging + +- apt-get install libc6:i386 + +- apt-get install zlib1g:i386 + +- apt-get install libstdc++6:i386 + +- Install bbench, Audio and third-party benchmarks + + Workload automation expects packages to be available on dummy-ssh server. please refer "APK Files" section + +:: + + $ ls .workload_automation/dependencies/bbench/ + bbench.js exit.html forms.js index.html index_noinput.html mich_engin.png results.html sites + + $ ls .workload_automation/dependencies/Canon_in_D_Piano.mp3 + .workload_automation/dependencies/Canon_in_D_Piano.mp3 + + $ find /usr/local/lib/python2.7/dist-packages/wlauto/workloads/* | grep apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/andebench/andebench-release.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/antutu/antutu_benchmark_4.0.3.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/benchmarkpi/gr.androiddev.BenchmarkPi-1.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/caffeinemark/com.flexycore.caffeinemark_9.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/cfbench/eu.chainfire.cfbench.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/geekbench/com.primatelabs.geekbench3.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/linpack/com.greenecomputing.linpackpro-1.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/quadrant/com.aurorasoftworks.quadrant.ui.professional-1.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/smartbench/com.smartbench.twelve-1.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/sqlite/com.redlicense.benchmark.sqlite-1.apk + /usr/local/lib/python2.7/dist-packages/wlauto/workloads/vellamo/com.quicinc.vellamo.apk Run WAv2 on dummy-ssh ===================== Running workload automation will be taken care by run-workload.sh files -Note: ------- -config.py is having reboot policy as never. -Because rebooting of target will be taken care by LAVA. +**Note:** config.py is having reboot policy as never. Because rebooting of target will be taken care by LAVA. + +**Note:** Default config.py is available under ~/.workload_automation/config.py -Note: Default config.py is available under ~/.workload_automation/config.py +Debug mode:: -Debug mode: -$ run_workloads some-agenda-file.yaml -v -d output_dir -c config.py + $ run_workloads some-agenda-file.yaml -v -d output_dir -c config.py -Please refer example agenda -/usr/local/lib/python2.7/dist-packages/wlauto/agenda_example.yaml +Please refer example agenda:: + + /usr/local/lib/python2.7/dist-packages/wlauto/agenda_example.yaml * other? TODO @@ -161,3 +177,4 @@ WAv2 uses the LAVA dummy-ssh device-type, an SSH connection to an external devic For more information, see the documentation at: * dummy-ssh: https://validation.linaro.org/static/docs/dummy-deploy.html#configuration-dummy-ssh + |