Initial approach to doing native toolchain builds in LAVA
As first step towards migrating Toolchain WG's CBuild build system to LAVA, research and prototype doing toolchain builds using lava-dispatcher.
Blueprint information
- Status:
- Complete
- Approver:
- Данило Шеган
- Priority:
- Medium
- Drafter:
- James Tunnicliffe
- Direction:
- Approved
- Assignee:
- Paul Sokolovsky
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 2012.11
- Started by
- Paul Sokolovsky
- Completed by
- Paul Sokolovsky
Related branches
Related bugs
Sprints
Whiteboard
Meta:
Headline: Initial research and prototyping for using lava-dispatcher for doing native toolchain build in LAVA were done.
Acceptance: Toolchain builds in local lava-dispatcher installation using qemu are possible, or blockers and missing features towards supporting this are identified.
[pfalcon 2012-10-23] Filed bug #1070309.
[pfalcon 2012-10-23] Filed https:/
[pfalcon 2012-10-24] Filed bug #1070838, bug #1070855, bug #1070881
[pfalcon 2012-10-30] Connect session "Linaro CI/LAVA for GCC: cbuild migration episode 1" : http://
[dooferlad 2012-11-01] Post-session discussion with Toolchain WG: https:/
[pfalcon 2012-11-01] File bug https:/
[pfalcon 2012-11-08] File bug https:/
[pfalcon 2012-11-08] Ubuntu Natty+ can't build pristine gcc, not until http://
[pfalcon 2012-11-08] Filed lp:1076450, lp:1076480 (lp:cbuild)
[pfalcon 2012-11-09] Filed lp:1076950, lp:1076957, lp:1076962
[pfalcon 2012-11-09] Michael started related blueprint: https:/
[pfalcon 2012-11-14] Got Panda board configured and doing simple tests with lava-dispatcher
[pfalcon 2012-11-19] Got (plucked) gcc build on Panda, after facing few reliability and other issues like LAVA test partition size.
[pfalcon 2012-11-19] Got suggestion from LAVA folks to use USB flashdrives (attached to some boards in lab) as means to both speed up build and resolve space issues.
[pfalcon 2012-11-19] Michael Hope provided production build image:
=======
The
rootfs image is at:
http://
The kernel etc that go in the FAT partition are checked in:
http://
=======
[pfalcon 2012-11-20] CBuild/
[pfalcon 2012-11-22] Build against prod LAVA: http://
[pfalcon 2012-11-23] Having trouble with build image as supplied by Michael - it causes my Panda to hard lockup after some time with build started.
[pfalcon 2012-11-27] The job above was done against private LAVA stream, here's the one which is accessible: http://
[pfalcon 2012-11-27] Tried Michael's image in LAVA production, same issue, builds hang: https:/
Work Items
Work items:
Decide whether to start with entire LAVA system or with lowest level component (lava-dispatcher): DONE
Install lava-dispatcher locally: DONE
Install LAVA in vagrant sandbox: DONE
Identify issues, file bugs for them: DONE
Run a gcc build with lava-dispatcher in QEMU: DONE
Run a gcc build with lava-dispatcher in pandaboard: DONE
Run a test gcc builds against production LAVA: DONE
Dependency tree
* Blueprints in grey have been implemented.