Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

LAVA callback implementation clean-up #267

@gctucker

Description

@gctucker

The LAVA callback code in kernelci-backend has been evolving gradually to cope with corner cases and various issues with the data sent from LAVA. We should now take a look at it again and make a cleaner implementation based on what we've learned. This should also help fixing the remaining known issues such as test cases having the whole boot log associated with them.

  • JSON callback file that shows the issue described on baseline.login result doesn't match job log #244
  • JSON callback file that shows the issue where the first test case has the full boot log
  • unit test that takes JSON fragments to reproduce these issues and gets a data structure from the code with the sequence of test cases and their associated log lines
  • other unit tests can be added to cover the part that creates the tree of test cases in sub-groups
  • fix implementation to make the unit tests pass, with potentially new functions to replace the current implementation
  • verify that the new code doesn't show the issues any more using the full JSON callback data files
  • test on staging.kernelci.org for a full integration test in the KernelCI pipeline

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions