Many of the tests we run yield numerical values as output. For example, fluster tests may produce a "score" value, and boot time tests may return values in seconds or microseconds. Currently, we only support test results as enum values(pass/fail/miss/etc). We can enhance our node model to support additional numerical values, providing more detailed test results.
For reference, see the discussion: GitHub Issue #546.
Objective:
The goal of this task is to extend the node model to support numerical values. The task can be divided into the following steps:
-
Design necessary field(s) in the node model
- Identify and define the additional fields needed to store numerical values in the node model. @JenySadadia proposed to use "data" subfield.
-
Add support to LAVA parser (optional)
- Update the LAVA parser in
kernelci-core/kernelci/runtime/lava.py to handle the new numerical fields, if necessary. Probably @pawiecz can implement, or assist as LAVA expert.
-
Implement data retrieval from LAB results
- Modify
lava_callback.py in the kernelci-pipeline to retrieve and process numerical data from LAB results.
-
Review and discuss KCIDB schema
- Evaluate if the KCIDB schema has the necessary fields to accommodate the new data. Propose changes if required.
-
Assist/submit PR for KCIDB changes (optional)
- Contribute to the KCIDB repository by assisting with or submitting a pull request to implement the proposed schema changes.
-
Implement data submission to KCIDB
- Update the process to submit the numerical data to KCIDB, ensuring the new fields are correctly populated.
KCIDB related changes is more expertise of @JenySadadia i believe.
Steps:
Many of the tests we run yield numerical values as output. For example, fluster tests may produce a "score" value, and boot time tests may return values in seconds or microseconds. Currently, we only support test results as enum values(pass/fail/miss/etc). We can enhance our node model to support additional numerical values, providing more detailed test results.
For reference, see the discussion: GitHub Issue #546.
Objective:
The goal of this task is to extend the node model to support numerical values. The task can be divided into the following steps:
Design necessary field(s) in the node model
Add support to LAVA parser (optional)
kernelci-core/kernelci/runtime/lava.pyto handle the new numerical fields, if necessary. Probably @pawiecz can implement, or assist as LAVA expert.Implement data retrieval from LAB results
lava_callback.pyin thekernelci-pipelineto retrieve and process numerical data from LAB results.Review and discuss KCIDB schema
Assist/submit PR for KCIDB changes (optional)
Implement data submission to KCIDB
KCIDB related changes is more expertise of @JenySadadia i believe.
Steps:
kernelci-core/kernelci/runtime/lava.py.lava_callback.pyinkernelci-pipeline.