kcidb client project

This page has information about the kcidb client project.

The plan is to implement a kcidb client for Fuego.

I would like for a Fuego lab to be able to submit test results to kcidb, for two reasons:

To do [edit section]

for testing [edit section]

manually [edit section]

that command allows you to see your user's home directory as /root/local-data inside the container.

automated [edit section]

for real [edit section]

Here are some notes and issues:

NOTES [edit section]

There are command line clients for kcidb in the git repository: https://github.com/kernelci/kcidb.git.

I tried to install this, but it requires Python 3.6, and my desktop system (and Fuego docker container) only has Python 3.5.

The kernelci team cobbled together a docker container for kcidb, which can be obtained with:

You will be left at a root prompt where you can run kcidb commands.

You need to install a google cloud credential, which you can get by following the instructions in kcidb/SUBMISSION_HOWTO.md

Please the credentials by copying them into the container with:

Then, inside the container, do:

You should see a bunch of kcidb data from the server.

notes on json parsing [edit section]

Should convert parsing step into two phases:

This roughly corresponds to interpreting fields, and then filtering the fields. Need to think about this more.

Would be beneficial to use UNIX command line piping to convert into test results.

See json conversion tools at: https://stedolan.github.io/jq/

data [edit section]

Resources [edit section]