Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LAVA callback handler #214

Closed
6 tasks done
Tracked by #216
gctucker opened this issue Feb 9, 2023 · 0 comments · Fixed by kernelci/kernelci-core#1923, #259, #260, #261 or kernelci/kernelci-core#1951
Closed
6 tasks done
Tracked by #216

LAVA callback handler #214

gctucker opened this issue Feb 9, 2023 · 0 comments · Fixed by kernelci/kernelci-core#1923, #259, #260, #261 or kernelci/kernelci-core#1951
Assignees

Comments

@gctucker
Copy link
Contributor

gctucker commented Feb 9, 2023

LAVA jobs send their results via a callback mechanism. This is not directly compatible with the KernelCI API so an intermediate handler is needed to receive the callback HTTP requests, parse them and send new requests to the API.

  • callback config added to kernelci.config.runtime.lava
  • callback service added to receive the requests
  • verified that the callback service can parse the results
  • verified that the callback service can parse the logs
  • verified locally that the results and logs can be sent to API and storage
  • verified on staging

Note: This only covers plain text logs; for HTML support see #274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment