/srv/irclogs.ubuntu.com/2014/05/04/#launchpad-dev.txt

haobughi hi, got problem again. http://pastebin.com/XxaqxmbJ after about 3 days of waiting...01:37
=== jml_ is now known as jml
cjwatsonhaobug: You don't need to redo it all from scratch, at least, but there's some manual work to do to recover from a failure there without re-downloading - it should be possible to look at /usr/share/lxc/templates/lxc-ubuntu and search for "Installing updates" to find where it got to, but you'll have to trace the function call sequence up to there for yourself14:41
cjwatsonhttp://people.canonical.com/~cjwatson/tmp/lp-livefs-built.png   progress!21:09
cjwatsonfive-ish to-do items remaining, but pretty close.21:12
cjwatsonunfortunately will need another lp-buildd deployment.21:12
cjwatsonwgrant: Perhaps we could try to squeeze a launchpad-buildd update in with RT#69868, since the risk of buildd upgrades seems to be more strongly correlated with how many of them we do rather than how much they contain?  I'd like to include https://code.launchpad.net/~cjwatson/launchpad-buildd/abort-race/+merge/218222 if possible, as well as the fairly obvious stuff that's in trunk.21:43
_mup_Bug #69868: Contrast setting is bad <gxine (Ubuntu):Invalid> <https://launchpad.net/bugs/69868>21:43
cjwatson(I haven't yet done a QA pass on the whole lot.)21:45
cjwatsonI've been meaning to do that abort-race stuff for months, but doko keeps running into it so I thought I'd better make an effort to sort it out ...21:46
wgrantcjwatson: Looking21:48
wgrantcjwatson: Is that screenshot of a full test run with a local buildd? Nice.21:49
cjwatsonIt is indeed.21:54
cjwatsonNot that that took ages to set up or anything.21:54
cjwatsonRemaining to-dos: some bits of view need to be disabled if the feature flag is off; latest builds table for +livefs; UI for requesting a build; a way to delete a LiveFS (much like for recipes)21:58
wgrantI should probably rewrite the docs, as they don't really work well when not running LP in a heavyweight VM.21:58
cjwatsonI'm afraid I ignored the docs as I was fairly sure I knew which bits I needed21:59
wgrantDo we need UI for requesting a build?21:59
wgrantDeletion is probably easy, as the LiveFS can just take all the LiveFSBuilds and their files with it.21:59
cjwatsonI expect to eventually get to the point where some builds don't require cdimage, at which point a UI would be useful22:00
cjwatsondeletion - I was expecting to do what we do with recipes, i.e. leave the builds intact but disconnected22:00
wgrantWhy?22:02
wgrantIt's basically impossible to find a build if you don't know the livefs.22:02
cjwatsonjust seems odd to delete builds that happened22:02
wgrantWe avoid deleting SPRBs because that would leave SPRs without a signature and with no way to trace the owner.22:02
cjwatsonwell, ok, I guess I can do either way22:03
cjwatsonmy local setup was basically sampledata, initseries trusty, run the initialize job, feed in the production chroot, install launchpad-buildd listening on a port not one of those already in sampledata, add that builder22:04
wgrantWhat value does a LiveFSBuild with no LiveFS provide? How would you use it, or even find it (except by looking through all the builds for an archive or builder)?22:04
wgrantHm, you were able to get it working in a container?22:05
cjwatsonwouldn't be any good for normal package builds, but it worked for this22:05
cjwatsonI had to make the container allow arbitrary mounts, with some help from hallyn22:05
wgrantAh, right.22:05
cjwatsonalmost exploded my system on the first attempt since it enabled qemu-x86_64 in my host :-)22:05
wgrantHeh22:06
wgrantI normally just run a KVM instance which lives on lxcbr0.22:06
cjwatsonLiveFSBuilds> I was thinking builder history views and the like, but you're probably right.  I didn't know there was a specific reason for SPRBs.22:06
cjwatsonThe use of old LiveFSBuilds is their logs.22:07
wgrantRight, but if you want the logs you probably shouldn't be deleting the thing that lets you find them :)22:07
cjwatsonPerhaps I should have a way to disable a LiveFS22:07
cjwatsonNot deleted, but it wouldn't allow new builds any more22:07
cjwatsonBasically to avoid stupid mistakes22:08
cjwatsonGiven that I'm not even sure we particularly need deletion22:09
wgrantWe need to be able to delete builds individually, and also the LiveFS and its builds as a whole unless there's a good reason not to22:10
cjwatsonWhat's the point of deleting individual builds?22:10
cjwatsonI don't think any other build types are individually deleteable, are they?22:11
wgrantThere doesn't need to be UI or API for it22:11
wgrantbut I'm working on the other types as we speak.22:11
cjwatsonJust the principle that all objects should be deleteable?22:11
wgrantThough those are just being neutered, rather than deleted, since they produce artifacts that are referenced elsewhere.22:12
wgrantMostly for proper PPA deletion22:12
cjwatsonA LiveFSBuild associated with a PPA *could* just be neutered, since it doesn't actually build something *in* the PPA as such, it just uses it as a source; but there's probably not much use for such a build22:13
wgrantRight22:13
wgrantWe delete where we can, neuter where we can't.22:14
wgrantKeeping useless data around isn't something we should be doing.22:14
cjwatsonBut I thought the database was too small22:14
cjwatsonI guess we do erase evidence of builds that happened in some other situations albeit in different ways, e.g. cancel/retry22:16
cjwatsonAnyway, thanks.  Bed then bank holiday, I think22:16
wgrantRight. It's theoretically nice to have a full history of everything, but in practice it's somewhat onerous and not terribly useful.22:17
wgrantIt's rare that I need to look way back in a builder's history.22:17
wgrantAnd for short-term stuff I mostly look at logs.22:17
=== bradm1 is now known as bradm

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!