You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current callback handler parses the log data from LAVA and produces a plain text log with the serial console output from the device, then uploads it to storage. The legacy system also had an HTML variant of that log which included all the extra LAVA messages and colour highlighting, line numbers with links etc. The implementation can be found in this file:
However, this needs to be entirely revisited for the new API & Pipeline implementation. The code was Python 2.7, and now we may consider using a Jinja2 template to produce the log rather than pure Python. The formatting and branding might also need to be reviewed to include extra details such as the node ID.
This is not a critical feature for the initial production roll-out, and as such can be done as an incremental update after the first production milestone has been reached.
The text was updated successfully, but these errors were encountered:
The current callback handler parses the log data from LAVA and produces a plain text log with the serial console output from the device, then uploads it to storage. The legacy system also had an HTML variant of that log which included all the extra LAVA messages and colour highlighting, line numbers with links etc. The implementation can be found in this file:
https://github.com/kernelci/kernelci-backend/blob/main/app/utils/lava_log_parser.py
However, this needs to be entirely revisited for the new API & Pipeline implementation. The code was Python 2.7, and now we may consider using a Jinja2 template to produce the log rather than pure Python. The formatting and branding might also need to be reviewed to include extra details such as the node ID.
This is not a critical feature for the initial production roll-out, and as such can be done as an incremental update after the first production milestone has been reached.
The text was updated successfully, but these errors were encountered: