Top Banner
kernelci.org The upstream kernel validation project
22

SFO15-206: kernelci.org / Kernel Testing BoF

Apr 15, 2017

Download

Technology

Linaro
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SFO15-206: kernelci.org / Kernel Testing BoF

kernelci.orgThe upstream kernel validation project

Page 2: SFO15-206: kernelci.org / Kernel Testing BoF

Goals

Build every configuration for each architecture.Boot these configurations.

Execute tests on these configurations.Do ALL of this each time a kernel tree changes.

Report the results in a sensible way.Profit.

#exactsteps

Page 3: SFO15-206: kernelci.org / Kernel Testing BoF

Wait, but why?

To ensure the hard work being done upstream is gross regression free.

In addition, to provide a platform reference for the community.

Page 4: SFO15-206: kernelci.org / Kernel Testing BoF

History

The ARM SoC maintainers developed scripts to build and boot test various boards for sanity purposes. This work would eventually become the basis for kernelci.org.

Page 5: SFO15-206: kernelci.org / Kernel Testing BoF

Current Status

kernelci.org consists of five automated hardware labs distributed all over the world. The hardware ranges from x86 servers to very small embedded platforms. This cluster of labs produce ~450 platform results for each tree.

Page 6: SFO15-206: kernelci.org / Kernel Testing BoF

0-Day

Does a really good job, it is extremely fast, but does have some issues.

Source code not availableOnly x86 VMsDoes not publish artifacts

Page 7: SFO15-206: kernelci.org / Kernel Testing BoF

How is this system different?

kernelci.org is…distributedbootstrapping from metalopen sourcecommunity drivenpublishing artifactssearchable results

Page 8: SFO15-206: kernelci.org / Kernel Testing BoF

Metrics482,757 platforms booted ~1025 boots per day

149 unique boards, 27 SoC families

319,452 kernel trees built (arm, arm64, x86), 175 unique defconfigs

5,182 test cases executed

43 kernel bugs found, bisected, reported, fixed upstream in 2015

Up-to-date stats: http://kernelci.org/stats/

Page 9: SFO15-206: kernelci.org / Kernel Testing BoF

Lessons Learned

Page 10: SFO15-206: kernelci.org / Kernel Testing BoF

EMAIL REPORTDEMO

Page 11: SFO15-206: kernelci.org / Kernel Testing BoF

FRONTENDDEMO

Page 12: SFO15-206: kernelci.org / Kernel Testing BoF

LAVADEMO

Page 13: SFO15-206: kernelci.org / Kernel Testing BoF

KSELFTESTDEMO

Page 14: SFO15-206: kernelci.org / Kernel Testing BoF

KVMDEMO

Page 15: SFO15-206: kernelci.org / Kernel Testing BoF

AUTOMATED BISECTION

DEMO

Page 16: SFO15-206: kernelci.org / Kernel Testing BoF

APIDEMO

Page 17: SFO15-206: kernelci.org / Kernel Testing BoF

Future

Test result reporting and visualizationResult deltasAutomagic bisectionToolchain testingMoar hardware

Page 18: SFO15-206: kernelci.org / Kernel Testing BoF

Big Data

We have been archiving all data since v3.12.

Elastic Search?

Trends?

Page 19: SFO15-206: kernelci.org / Kernel Testing BoF

What’s missing?

Page 20: SFO15-206: kernelci.org / Kernel Testing BoF

How can I halp?

Donations!● Upstream supported platforms● Build machinesDebug!● Report issues ● Confirm fixes● Send patches

Page 21: SFO15-206: kernelci.org / Kernel Testing BoF

Get involved

#kernelci on freenodehttps://github.com/kernelci

kernel-build-reports mailing listhttp://wiki.kernelci.orghttp://api.kernelci.org

[email protected]

Page 22: SFO15-206: kernelci.org / Kernel Testing BoF

Thanks!

Any Questions?