GKernelCI / GKCI-main

Main repository for GKCI
https://gkernelci.gentoo.org
GNU General Public License v2.0
3 stars 2 forks source link

Send information to KernelCI with kcidb #10

Closed aliceinwire closed 3 years ago

aliceinwire commented 3 years ago

We need a step for sending the results of GKernelCI to KernelCI with Kcidb. https://github.com/kernelci/kcidb/blob/main/SUBMISSION_HOWTO.md

aliceinwire commented 3 years ago

Related merged pull request https://github.com/GKernelCI/Ghelper/pull/1 Adding a first working draft for the scripts creating the json file and sending to Kcidb.

aliceinwire commented 3 years ago

Current GKernelCI/Ghelper kcidb/create_object.py script arguments: python kcidb/create_object.py --version 5.10 --revision_result passed --build_result failed --arch amd64 --bname 5_10_amd64 --bnumber 6 --patchlognumber 1245 --buildlognumber 1222 --buildernumber 9 --buildnumber 5

aliceinwire commented 3 years ago

--version: kernel major version used for getting the kernel commit of the kernel without genpatches --build_result: result of the Gentoo kernel build and test. options are [passed/failed] --revision_result: result of the Gentoo kernel patching gentpatches to the base linux kernel. options are [passed/failed] --arch: architecture version [same as Gentoo architecture list: amd64 | x86 | alpha | arm | arm64 | hppa | ia64 | ppc | ppc64 ]

# for making buildbot unique identification we need builder name and build number --bname: buildbot builder name --bnumber: buildbot build number

# this identification number need investigation as I'm not sure how to get it --patchlognumber: patch log number needed for getting the log of the step that apply genpatches to the base kernel api/v2/logs//raw --buildlognumber: build log number needed for getting the log of the step that build and test the kernel api/v2/logs//raw

# Buildbot builder number and build number --buildernumber: --buildnumber

aliceinwire commented 3 years ago

Added kcidb packages to buildbot-worker

aliceinwire commented 3 years ago

closing this as: GkernelCI is currently sending informations to https://staging.kernelci.org:3000/