On Tue, 21 Nov 2023 at 14:05, Theodore Ts'o tytso@mit.edu wrote:
On Mon, Nov 20, 2023 at 10:27:33PM +0000, Mark Brown wrote:
This is the sort of thing that kcidb (which Nikolai works on) is good at ingesting, I actually do push all my CI's test results into there already:
https://github.com/kernelci/kcidb/
(the dashboard is down currently.) A few other projects including the current KernelCI and RedHat's CKI push their data in there too, I'm sure Nikolai would be delighted to get more people pushing data in. The goal is to merge this with the main KernelCI infrastructure, it's currently separate while people figure out the whole big data thing.
Looking at the kernelci, it appears that it's using a JSON submission format. Is there conversion scripts that take a KTAP test report, or a Junit XML test report?
The kunit.py script has a very basic KCIDB JSON exporter, via the --json option. This can be used as a generic KTAP -> KCIDB converter with kunit.py parse --json
It definitely still needs some work (there are a bunch of bugs, hardcoded fields for things KTAP doesn't expose, some other output may get mixed in, etc), but does exist as a starting point.
-- David