kernelci / kernelci-pipeline

Modular pipeline based on the KernelCI API
GNU Lesser General Public License v2.1
6 stars 18 forks source link

src: lava_callback: add device ID to node data #570

Closed a-wai closed 4 months ago

a-wai commented 4 months ago

It can be useful to know the exact device on which a job ran, without having to open the LAVA job page. This is done by querying the device ID from the callback data and appending it to the node data.

Depends on https://github.com/kernelci/kernelci-core/pull/2519 Fixes https://github.com/kernelci/kernelci-core/issues/2502

a-wai commented 4 months ago

Rebased and added a commit saving raw callback data as a node artifact.

nuclearcat commented 4 months ago

Tested https://staging.kernelci.org:9000/viewer?node_id=662fc21f1efae6e502c6eefd

a-wai commented 4 months ago

Thanks for merging @nuclearcat but I'm afraid it doesn't work properly (callback data is there, but the device ID isn't found) -- I was about to change it to "draft" just seconds after you merged ;)

Plus, this PR includes a debug commit, so I'll likely open a partial revert PR tomorrow after I figure out what's wrong here...