Merge lp://staging/~doanac/lava-android-test/restricted-coremark into lp://staging/lava-android-test
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~doanac/lava-android-test/restricted-coremark |
Merge into: | lp://staging/lava-android-test |
Diff against target: |
76 lines (+67/-0) 2 files modified
lava_android_test/test_definitions/coremark.py (+54/-0) lava_android_test/test_definitions/download_test.sh (+13/-0) |
To merge this branch: | bzr merge lp://staging/~doanac/lava-android-test/restricted-coremark |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson (community) | Abstain | ||
Andy Doan (community) | Needs Fixing | ||
Linaro Validation Team | Pending | ||
Review via email: mp+96263@code.staging.launchpad.net |
Description of the change
Add support for restricted coremark bench
This adds the basic ability to run the coremark benchmark on
Android. Since coremark is a restricted program, the actual
binary is managed separate from this test. The script,
download_test.sh is used by coremark.py to download the proper
binary. Therefore, this test requires install options to be
passed to the install command for example:
lava-
The above example would download from an HTTP password protected
directory the coremark-linaro4.6 binary.
Unmerged revisions
- 141. By Andy Doan
-
Add support for restricted coremark bench
This adds the basic ability to run the coremark benchmark on
Android. Since coremark is a restricted program, the actual
binary is managed separate from this test. The script,
download_test.sh is used by coremark.py to download the proper
binary. Therefore, this test requires install options to be
passed to the install command for example:lava-android-test install -o "coremark_url=https:/
/user:pass@ 1.1.1.1/ coremark- linaro4. 6" coremark The above example would download from an HTTP password protected
directory the coremark-linaro4.6 binary.
I think this looks fine to me, except we should add some documentation for the test (Yongqin has a branch in progress for this right now to add it to the others... it's pretty simple). I think at least the docstring in the test itself explaining what it is, and definitely mentioning that it does not include the coremark binaries which need to be obtained from somewhere else.
I cc'd the rest of the team and would like to get them to weigh in on this as well. The big issue that I'm concerned about I think is that it looks pretty inconvenient to have to create the binaries for coremark, host them somewhere, make sure we only run this in a private job once the ability to do that exists, and create all the jobs pointing to those binaries. I'd love it if lava already had a build step built into it that would accomodate something like this internally, but it doesn't right now. It might be worth considering if we could somehow handle the build part of this through Jenkins in the same style that we do ci testing. Something for you to think about I guess.
In any case, I wouldn't actually recommend running a job that uses this in lava until we land and install the rest of the privacy changes so that you can:
1. specify a private bundle stream to push the results to
2. make sure that nobody sees your user:password who is not in linaro - this will still be in the job log, and even the job json, but if the job is specifically marked private, it won't be visible to anyone outside of linaro.