/srv/irclogs.ubuntu.com/2016/10/04/#launchpad-dev.txt

=== frankban|afk is now known as frankban
wgrantcjwatson: https://oops.canonical.com/oops/?oopsid=OOPS-4a0aaf3e8e9d686dd25943a55533b842 and https://oops.canonical.com/oops/?oopsid=OOPS-144400735e2b864ade9a821b80988e40 look like regressions from the target picker work. Possibly easier for you to grab them since you have context, but otherwise I'll have a look.09:58
cjwatsonwgrant: The latter is bug 1628091, the former is new.  Will look, thanks.10:54
mupBug #1628091: oops when loading bug <Launchpad itself:New> <https://launchpad.net/bugs/1628091>10:54
=== frankban is now known as frankban|afk
mkayaalpI'm running a local launchpad.dev. When building a livefs, it always gets stuck at BuildStatus.UPLOADING17:55
mkayaalpShould I be starting process-upload script manually?17:56
cjwatsonmkayaalp: Yes, that won't run unless you do so.19:30
mkayaalpThe soyuz docs mention some cron job that launches the process-upload20:38
mkayaalpWhere would that be20:39
mkayaalpI don't see anything related under cronscripts20:39
mkayaalpI can run it: scripts/process-upload.py --builds /var/tmp/builddmaster20:40
mkayaalpBut it exits when it's done processing all under incoming20:41
mkayaalpSo, in production does the ubuntu-cdimage wait until the cron job starts the process-upload?20:43
cjwatsonmkayaalp: The production cron job is:20:59
cjwatson* * * * * /srv/launchpad.net/codelines/current/scripts/process-upload.py -C buildd --builds /srv/launchpad.net/builddmaster/ -q --log-file=DEBUG:/srv/launchpad.net/production-logs/process-build-uploads.log20:59
cjwatson(obviously path-dependent)20:59
cjwatsonmkayaalp: And yes, it will exit when it's finished processing what's in incoming; it's a cron job, not a daemon21:00
cjwatsonmkayaalp: ubuntu-cdimage waits until the build's buildstate attribute on the webservice API reaches "Successfully built", which happens when the upload from the builder is processed.21:01
cjwatsonmkayaalp: See lib/cdimage/livefs.py:run_live_builds in lp:ubuntu-cdimage21:01
cjwatsonmkayaalp: (You must use -C buildd; processing builder uploads without that isn't going to work, since the default upload policy only accepts sourceful uploads and requires a signature.)21:03
mkayaalpcjwatson: thanks a lot21:08
wgrantmkayaalp: Are you familar with https://dev.launchpad.net/Soyuz/HowToUseSoyuzLocally? It's more oriented towards binary package builds, but many of the same pieces apply.21:11
mkayaalpwgrant: I am running soyuz locally too21:12
mkayaalpwgrant: That's what gets the build into the UPLOADING state after building it21:16

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