#KCIDB: Adding support for log excerpts #KCIDB

Nikolai Kondrashov

Hi everyone,

To anyone involved/interested in contributing to KernelCI's KCIDB data and
code, I'd like to announce a small, but noticeable change to the schema to let
us develop result notifications further, and to move closer to reaching
developers with our data.

We'd like to introduce support for optional "log_excerpt" field for "checkouts"
("revisions" previously) and "builds".

The field can contain an excerpt of the log of the checkout/build attempt,
that is most relevant to the outcome. E.g. patch application failure messages,
or particular errors which resulted in build failure.

This would help accommodate Intel's 0-Day with their log snippets, and in
general allow providing a summary of what happened with the checkout/build,
right in the notification message or the dashboard page.

Both fields are capped at an arbitrary 16KB, just to start with something.
We can adjust that later based on experience.


"version": {
"major": 3,
"minor": 0
"builds": [
"id": "redhat:1098550",
"revision_id": "d39bfd0686fd2b21f857c61bb2753db3a932cb24",
"origin": "redhat",
"start_time": "2021-02-09T03:54:04.513123+00:00",
"architecture": "aarch64",
"command": "make -j30 INSTALL_MOD_STRIP=1 targz-pkg",
"compiler": "aarch64-linux-gnu-gcc (GCC) 10.2.1 20200826 (Red Hat Cross 10.2.1-3)",
"config_name": "fedora",
"config_url": "https://s3.us-east-1.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2021/02/09/623372/build_aarch64_redhat:1098550/kernel-scsi-aarch64-d39bfd0686fd2b21f857c61bb2753db3a932cb24.config",
"log_url": "https://s3.us-east-1.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2021/02/09/623372/build_aarch64_redhat:1098550/build.log",
"log_excerpt": "00:20:49 ERROR: modpost: "irq_check_status_bit" [drivers/perf/arm_spe_pmu.ko] undefined!"
"valid": false,

The PR for the corresponding code change is up at:


Please don't hesitate to respond with any comments, objections, or

If there are no objections, I'll merge this change on Friday, Feb 12.


Join kernelci@groups.io to automatically receive all group messages.