commit | 56c5048a18e2f13975f118123bbececc48bb0dcc | [log] [tgz] |
---|---|---|
author | Xiaolong Ye <xiaolong.ye@intel.com> | Wed Jun 20 13:44:36 2018 +0800 |
committer | Philip Li <philip.li@intel.com> | Wed Jun 20 14:03:56 2018 +0800 |
tree | d1cf0932de572e9413026894bd92d79271ebe1b7 | |
parent | 6141dddc54748d3beeaf6ed2c88d5dea635b6dc2 [diff] |
run-lkp: check ucode version according to ucode entry in jobfile No longer depend on etc/ucode-list to check whether system's ucode version is matched. Now we are able to directly specify certain ucode version in jobfile such as ucode: "0x23", meanwhile, the ucode_version would be part of result root, so it would be easy to distinguish other test results. Note: the hex ucode value needs to be embraced with double quotes or single quotes. E.g. /result/ebizzy/200%-100x-10s-ucode=0x23-performance/lkp-hsw-d01/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/42a105e9cfaf0a0c74fdac5ba4ff17d6c0b024cd/1 Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com> Signed-off-by: Philip Li <philip.li@intel.com>
git clone https://github.com/01org/lkp-tests.git cd lkp-tests make install lkp help
# browse and select a job you want to run, for example, jobs/hackbench.yaml ls lkp-tests/jobs # install the common dependencies for lkp lkp install
lkp split-job lkp-tests/jobs/hackbench.yaml # output is: # jobs/hackbench.yaml => ./hackbench-1600%-process-pipe.yaml # jobs/hackbench.yaml => ./hackbench-1600%-process-socket.yaml # jobs/hackbench.yaml => ./hackbench-1600%-threads-pipe.yaml # jobs/hackbench.yaml => ./hackbench-1600%-threads-socket.yaml # jobs/hackbench.yaml => ./hackbench-50%-process-pipe.yaml # jobs/hackbench.yaml => ./hackbench-50%-process-socket.yaml # jobs/hackbench.yaml => ./hackbench-50%-threads-pipe.yaml # jobs/hackbench.yaml => ./hackbench-50%-threads-socket.yaml # install the remaining dependencies for the splited job lkp install ./hackbench-50%-threads-socket.yaml lkp run ./hackbench-50%-threads-socket.yaml
To run your own benchmarks that are not part of lkp-tests, you can use mytest job.
lkp split-job lkp-tests/jobs/mytest.yaml # output is: # jobs/mytest.yaml => ./mytest-defaults.yaml lkp run ./mytest-defaults.yaml -- <command> <argument> ...
lkp result hackbench
Most test cases should install/run well in
There is however some initial support for:
As for now, lkp-tests still needs to run as root.
If you want to add support for your Linux distribution you will need an installer file which allows us to install dependencies per job. For examples look at: distro/installer/* files.
Since packages can have different names we provide an adaptation mapping for a base Ubuntu package (since development started with that) to your own distribution package name, for example adaptation files see: distro/adaptation/*. For now adaptation files must have the architecture dependent packages (ie, that ends with the postfix :i386) towards the end of the adaptation file.
You will also want to add a case for your distribution on sync_distro_sources() on the file lib/install.sh.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)