kci-dev pulls from our Dashboard API. As of now, it is an EXPERIMENTAL tooling under development with close collaboration from Linux kernel maintainers.

KNOWN ISSUE: The Dashboard endpoint we are using returns a file of a few megabytes in size, so download may take a few seconds, slowing down your usage of kci-dev results. We are working on it.

Base parameters

–origin

Set the KCIDB origin desired. ‘maestro’ is the default.

–giturl

The url of the tree to fetch results

–branch

The branch to get results for

–git-folder

Path of the local git repository

–commit

The tip of tree commit being tested. It needs to be the full commit hash.

Unfortunately the Dashboard API doesn’t support git tags as parameters yet.

–latest

Return results for the latest commit for the tree.

–status

Filter results by the status: “all”, “pass”, “fail” or “inconclusive”

Results actions

List all available trees for a given origin.

Example:

without arguments

If used without arguments, kci-dev results will get KernelCI status of local checked out git repository In the following example, kci-dev is used on a local linux repository folder This command work with every linux repository supported by KernelCI

linux git:(master)$ kci-dev results
git folder: None
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
branch: master
commit: fbfd64d25c7af3b8695201ebc85efe90be28c5a3

pass/fail/inconclusive
builds: 46/0/0
boots:  580/48/8
tests:  7858/6903/654

–git-folder=<local repository path>

Get results automatically from a folder with a local linux repository

kci-dev git:(master)$ kci-dev results --git-folder ../linux
git folder: ../linux
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
branch: master
commit: fbfd64d25c7af3b8695201ebc85efe90be28c5a3

pass/fail/inconclusive
builds: 46/0/0
boots:  580/48/8
tests:  7858/6903/654

–action=trees

kci-dev results --action=trees

–action=summary

Shows a numeric summary of the build, boot and test results. If --action is omitted, it will show the summary by default.

Example:

kci-dev results --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git' --branch master --commit  d1486dca38afd08ca279ae94eb3a397f10737824 --action=summary

–action=builds

List builds.

Example:

kci-dev results --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git' --branch master --commit  d1486dca38afd08ca279ae94eb3a397f10737824 --action builds

Downloading logs

--download-logs Download failed logs when used with --action=failed-* commands.

Example:

kci-dev results --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git' --branch master --commit  d1486dca38afd08ca279ae94eb3a397f10737824 --action failed-builds --download-logs