Improve the metadata information in test jobs submitted to LAVA

Registered by David Zinman

Improve the metadata information in the test jobs that are submitted to LAVA

Blueprint information

Status:
Complete
Approver:
David Zinman
Priority:
High
Drafter:
None
Direction:
Needs approval
Assignee:
Deepti B. Kalakeri
Definition:
Approved
Series goal:
Accepted for engineering
Implementation:
Implemented
Milestone target:
milestone icon 2011.09
Started by
Deepti B. Kalakeri
Completed by
Deepti B. Kalakeri

Related branches

Sprints

Whiteboard

[deepti Sep 20, 2011] The required metadata information to be supplied was discussed with the kernel team lead who is the consumer of the kernel ci. The discussion was also carried out with validation team members so that the metadata information supplied could be used in a useful way for future for ex: to get a good report on the kernel builds, to come out with a consolidated view showing the build and test execution results in one place.
To conclude the following are the metadata information(along with examples) was agreed/suggested to be included

Build Details:
"build.id": "117" [[ job id in jenkins ]]
"kernel.build_url": "https://ci.linaro.org/jenkins/job/linux-linaro-3.0_beagle-omap2plus/117/" [[ link to the build url ]]
"kernel.git_branch_name": "master" [[ current branch name ]]
"kernel.config": "omap2plus_defconfig" [[ defconfig name ]]
"packages" like gcc and gcc-arm-linux-gnueabi along with their version
"branch_revision": "f392cbf75615e9d8cb90ef5ffb8d4e752b7be3c7" [[ git commit id ]]
"branch_url": "git://git.linaro.org/kernel/linux-linaro-3.0.git", [[ tree built ]]
"branch_vcs": "git", [[ CVS name ]]
"commit_timestamp": "2011-08-30T15:55:01Z", [[ commit timestamp ]]
"project_name": "Linux Linaro"
"test_case_id": "build-status"
"public_url": "https://ci.linaro.org/jenkins/job/linux-arm-soc-for-next_beagle-omap2plus/197/consoleText" [[ external link to the build console ]]

Kernel Test Run Details:
"hwpack": "http://ci.linaro.org/kernel_hwpack/omap3/hwpack_linaro-omap3_20110919-0459_armel_supported.tar.gz", [[ newly created hwpack to the tested that was built on ci.linaro.org ]]
"rootfs": "http://snapshots.linaro.org/11.05-daily/linaro-nano/20110919/0/images/tar/nano-n-tar-20110919-0.tar.gz" [[ latest rootfs to be used for testing ]]
"kernel_version": "v2.6.35-rc5-62853-ga63d2e6" [[ kernel version built ]]
 "hwpack.date": "20110919" [[ hwpack generation date ]]
"hwpack.type": "omap3" [[ hwpack type ]]
"rootfs.date": "20110919" [[ rootfs generation date ]]
 "kernel_name": "linux-arm-soc-for-next" [[ Kernel name ]]
 "build.id": "117" [[ job id in jenkins ]]
 "rootfs.type": "nano" [[ rootfs type ]]
 "git_commitid": "a63d2e6e8373512f368fe8252dd8b1b162142e00" [[ git commit id ]]
 "git_url": "git://git.linaro.org/people/arnd/arm-soc.git" [[ tree built ]]

Headline: Initial metadata submitted alongside the LAVA job for kernel CI is well defined and documented.

Acceptance: Metadata as documented can be seen on the LAVA job side.

(?)

Work Items

Work items:
Discuss and define metadata required with stakeholders and management: DONE
Document metadata for kernel CI jobs in blueprint: DONE
Improve jenkins jobs to submit the required metadata: DONE
Validate that metadata is properly submitted for kernel CI jobs to jenkins: DONE

This blueprint contains Public information 
Everyone can see this information.