DerivedArchiveRebuild

Differences between revisions 3 and 4
Revision 3 as of 2010-05-08 14:02:07
Size: 2695
Editor: 217
Comment: page was renamed from Specs/M/ARMPersonalUbuntuRebuild
Revision 4 as of 2010-05-18 14:19:36
Size: 4482
Editor: cpc4-aztw22-2-0-cust59
Comment:
Deletions are marked like this. Additions are marked like this.
Line 62: Line 62:
Use this section to take notes during the BoF; if you keep it in the approved spec, use it for summarising what was discussed and note any options that were rejected. Two ways to do rebuilds:

  * Launchpad
  * Some way involving a cluster managed by a friendly debian guy

Problems:

 * rebuild tests compete with ppa builds
   * builder hardware, pretty good though
   * soyuz scaling issues
     * process-upload serialization (should be fixed soon)
 * would like to do this for ARM
   * cross compiling will not work
   * hardware is slow (OO.org takes ~2 days)
   * qemu on even very fast hardware is too slow
   * the qemu-with-a-cross-compiler underneath approach has legs, but isn't ready yet

Use cases for rebuilds:

 * verifying the tool chain works
   * lucid all builds with its own toolchain
   * how much does the new version of gcc break?
 * we want to rebuild the archive with a new tool chain
   * here we keep the results
   * can be because of optimizations, or a bad compiler flag in previous builds
   * needs something like a binNMU if the results go back into the same archive
   * important to be able to measure the differences

"scorched earth" rebuilds to do with build dependency loops -- session later in the week

The context here is doing rebuilds for Launchpad-managed archives.

Iterated rebuids are useful.

Some part of the process involves running a script on a DC machine that takes an
hour -- difficult to expose through Launchpad.

Diskless archives?

The variance of ARM architecture leads towards the requirement of assigning
builds to particular builders. Builder pools are related, but existing spec
does not cover this. In general, there is a need to store more data about
buildds.

Something about checking if a build uses swap, and general performance
monitoring of builds.

We could always build into a derived archive, and possibly copy back into the
source archives.

==== ACTIONS ====

 * implement binNMUs in Launchpad
 * API exposure for copy-archive in Launchpad
 * implementing derived archives would help too

Summary

This should provide an overview of the issue/functionality/change proposed here. Focus here on what will actually be DONE, summarising that so that other people don't have to read the whole spec. See also CategorySpec for examples.

Release Note

This section should include a paragraph describing the end-user impact of this change. It is meant to be included in the release notes of the first release in which it is implemented. (Not all of these will actually be included in the release notes, at the release manager's discretion; but writing them is a useful exercise.)

It is mandatory.

Rationale

This should cover the _why_: why is this change being proposed, what justifies it, where we see this justified.

User stories

Assumptions

Design

You can have subsections that better describe specific parts of the issue.

Implementation

This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like:

UI Changes

Should cover changes required to the UI, or specific UI that is required to implement this

Code Changes

Code changes should include an overview of what needs to change, and in some cases even the specific details.

Migration

Include:

  • data migration, if any
  • redirects from old URLs to new ones, if any
  • how users will be pointed to the new way of doing things, if necessary.

Test/Demo Plan

It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage.

This need not be added or completed until the specification is nearing beta.

Unresolved issues

This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.

BoF agenda and discussion

Two ways to do rebuilds:

  • Launchpad
  • Some way involving a cluster managed by a friendly debian guy

Problems:

  • rebuild tests compete with ppa builds
    • builder hardware, pretty good though
    • soyuz scaling issues
      • process-upload serialization (should be fixed soon)
  • would like to do this for ARM
    • cross compiling will not work
    • hardware is slow (OO.org takes ~2 days)
    • qemu on even very fast hardware is too slow
    • the qemu-with-a-cross-compiler underneath approach has legs, but isn't ready yet

Use cases for rebuilds:

  • verifying the tool chain works
    • lucid all builds with its own toolchain
    • how much does the new version of gcc break?
  • we want to rebuild the archive with a new tool chain
    • here we keep the results
    • can be because of optimizations, or a bad compiler flag in previous builds
    • needs something like a binNMU if the results go back into the same archive
    • important to be able to measure the differences

"scorched earth" rebuilds to do with build dependency loops -- session later in the week

The context here is doing rebuilds for Launchpad-managed archives.

Iterated rebuids are useful.

Some part of the process involves running a script on a DC machine that takes an hour -- difficult to expose through Launchpad.

Diskless archives?

The variance of ARM architecture leads towards the requirement of assigning builds to particular builders. Builder pools are related, but existing spec does not cover this. In general, there is a need to store more data about buildds.

Something about checking if a build uses swap, and general performance monitoring of builds.

We could always build into a derived archive, and possibly copy back into the source archives.

ACTIONS

  • implement binNMUs in Launchpad
  • API exposure for copy-archive in Launchpad
  • implementing derived archives would help too


CategorySpec

Specs/M/DerivedArchiveRebuild (last edited 2010-07-15 14:50:12 by 74)