/srv/irclogs.ubuntu.com/2013/05/30/#ubuntu-release.txt

ScottKstgraber: Did you forget to turn the cron job back on for pending-sru?01:09
stgraberScottK: yes and no, I was waiting for the load to become reasonable so the job had time to finish in its allocated time (last manual run took 102min), I see that the load is now way lower than it used to be, so I'll turn it back on01:16
ScottKOK.  Thanks.01:16
stgraberdone01:16
ScottKNice.  Pending-sru is empty again.04:05
infinityGrr.04:05
StevenKinfinity: It being empty makes you cross?04:06
infinityStevenK: It does when it's empty because lillypilly is overloaded.04:06
StevenKPfft, overloaded. Its load is still two digits.04:07
infinityplatform 31651 33.9 20.0 2381772 1223392 ?     Sl   04:00   2:10 python versions.py04:07
infinityHATE that script with such a passion.04:07
infinityStevenK: CPU load isn't the issue, it's I/O contention and swap death.04:08
StevenKinfinity: Then kill it horribly?04:08
infinityI do that occasionally.  Then it gets re-enabled.  It's a constant battle.04:09
infinityMaybe I should rewrite it in Perl for the desktop team.04:09
* StevenK quits less before his eyes start bleeding heavily.04:09
infinityI've never read it.  But I can't sort out a good reason why the memory usage would be that high except either (a) it was poorly written, (b) it's something Python is bad at, or (c) both.04:10
infinityBoth seems likely.04:10
StevenKinfinity: It creates bunches of threads04:11
StevenKOne thread per package, if I'm reading this right.04:11
infinityMAX_THREADS = 3004:12
infinityI wonder if dropping that would magically make it less sad.04:12
StevenKMAX_THREADS = 1? :-)04:12
infinityOr maybe, y'know, 8, to go with the number of cores the machine has.04:13
StevenKinfinity: Pfft, sense has no place here.04:13
* infinity commits that.04:15
* infinity ... and kills the current one.04:16
infinityIf that's all it takes to fix this problem, I'll be annoyed that I never read it until today.04:17
ScottKWill you be even more annoyed it took StevenK reading it first?04:20
ScottKNow at least part of the page is there....04:35
infinityScottK: Oh, fun.04:47
infinityScottK: Also, we should collapse kde-l10n* the same way we do language-pack*04:48
infinityScottK: Can I make the same assumption there, that any kde-l10n-* upload will include kde-l10n-en, and I can just keep that one as a placeholder?04:49
stgraberinfinity: might be worth adding some kind of lock file so that we don't end up having multiple instance of pending-sru running. I wanted to do that this afternoon but with lillypilly having a load of 80 or so and vim taking 5min to load I ended up doing something else and forgetting about it ;)04:49
infinitystgraber: Absolutely should be flocked, yes.04:49
infinitystgraber: Can just be wrapped in a flock in the cronjob, that's what the kernel team does, instead of altering every script.04:50
infinityScottK: Oh, there is no kde-l10n-en ... Why do you people hate my freedom?04:50
infinityScottK: Fair to say there'd always be a -de?04:51
ScottKprobably04:54
infinityOkay, committed.  Next run will only show kde-l10n-de.04:54
infinitystgraber: Flocked at the cron level, assuming I didn't typo.05:01
* infinity kills the current sru-report run so this can be a clean test at :1005:01
infinityAlright, flock magic looks good.  Now it just needs to complete some day.05:11
infinity(Which could take awhile since I also blew away the potentially corrupt cache...)05:11
=== doko_ is now known as doko
wgrantcjwatson, infinity: https://code.launchpad.net/~wgrant/ubuntu-archive-tools/ddebs/+merge/166456 skips ddebs in change-override/remove-package. It won't even list them, but I'm not sure if that bit is desirable from your side.08:02
infinitywgrant: Are they 100% tied to their binary mate?08:11
infinitywgrant: If that's guaranteed, I'm not sure if we care if they're listed.08:11
wgrantinfinity: Yes, they're 100% tied08:12
wgrantThe copier will explode if they're not copied in pairs08:12
wgrantIt's impossible to override, supersede or delete them directly08:12
infinitywgrant: Kay.  I mean, I feel like I personally care that they're somehow visible to me, but that's probably just me not trusting the magic.08:13
infinitywgrant: If they're effectively metadata, not seeing them in those teels seems like it's probably right.08:13
infinitys/teels/tools/08:13
infinityWTF is a teel?08:13
infinitySeriously, fingers?08:13
* StevenK cackles at some of the reasons infinity lists in his mail.08:16
StevenKinfinity: Awwww, you spoilt the fun with the PS. :-(08:17
wgrantNo email for me? :(08:32
wgrantinfinity: Yeah, IMO they're basically metadata08:32
wgrantThey can't be manipulated independently.08:32
infinitywgrant: They do, I assume, show up on the "binaries produced in this build" download pages in the web UI and such, right?  They're not completely metadata? :P08:34
wgrantinfinity: They appear as normal publications apart from being unmodifiable, yes.08:34
wgranthttps://dogfood.launchpad.net/ubuntu/+source/hello-debhelper/2.8-1+df108:35
infinitywgrant: Lovely.08:38
ogra_`bah, my last livecd-rootfs upload was nonsense ... sigh10:46
ogra_`cjwatson, i'm looking for the least effort way to make cdimage publish multiple bootimg files, i wonder if thats doable through clever naming without having to change cdimage10:48
ogra_`(i know i could change download_live_items, but i wonder if there isnt a better way)10:50
cjwatsonI don't think you should be afraid of changing cdimage here10:50
cjwatsonIt's deliberately quite strict about which files it chooses to publish10:51
=== mmrazik is now known as mmrazik|afk
ogra_`cjwatson, mind taking a look ? http://paste.ubuntu.com/5716730/13:28
cjwatsonogra_`: some tests would be nice13:28
ogra_`phew ... thats throw away stuff ... is that really needed ?13:29
cjwatsonogra_`: and I think it might be good to move some of this logic into download_live_items(..., "bootimg")13:29
cjwatsonogra_`: Given how many goes all this has taken, yes13:29
ogra_`k13:29
cjwatsonPlus I find it unlikely that you've run the test suite on this at all :)13:29
cjwatson(Pretty sure there are syntactic problems here ...)13:30
ogra_`(the files will vanish as soon as we integrate them in the zips during build)13:30
cjwatsonYep, your syntax is definitely invalid in places.13:30
ogra_`hmm13:30
cjwatsonSo if nothing else writing some tests will force you to run the test suite. :-P13:30
cjwatsonAlso worth installing pep8 and pyflakes, which the test suite will use13:32
tseliotdidrocks: are you around?13:32
didrockstseliot: in a hangout, but around13:33
tseliotdidrocks: ok, I was wondering if you could approve nvidia-prime in saucy (it's a small package)13:34
didrockstseliot: any urgency? Not sure i'll be around to do a full review today13:35
tseliotdidrocks: well, yes, we need it by the end of this week i.e. tomorrow13:35
didrockstseliot: that's fine, i'll have a look (probably tomorrow)13:35
tseliotdidrocks: ok, thanks13:36
didrocksyw ;)13:36
=== mmrazik|afk is now known as mmrazik
ogra_`cjwatson, pep8 clean now ... http://paste.ubuntu.com/5716852/ i noticed a lot of tracebacks for unrelated tests here though ...14:14
ogra_`cjwatson, from a logical POV, what would you like me to move download_live_items(..., "bootimg") additionally to the code thast there already14:14
mlankhorstcan someone move the lts-raring packages and llvm-3.2 out of NEW? https://launchpad.net/ubuntu/precise/+queue?queue_state=014:15
mlankhorstneeds to be approved or something :)14:17
cjwatsonogra_`: I'll withdraw my point about download_live_items, as I think I've changed my mind14:19
ogra_`ueu, ok14:19
ogra_`err14:19
ogra_`heh14:19
cjwatsonogra_`: All the tests pass for me.  Make sure you have everything listed in run-tests installed, and otherwise pastebin the output for me?14:20
ogra_`i did install with --no-install-recommends since i definitely dont want an mta on this machine, might be related14:24
cjwatsonShouldn't need an MTA14:25
cjwatsonThe dependencies there are meant to be direct14:25
cjwatsonSo what are the failures?14:25
ogra_`one sec14:25
ogra_`http://paste.ubuntu.com/5716886/14:26
cjwatsonWell, several of those are directly related to your change14:27
cjwatsonThe test_prepare_squashfs_base failure suggests you're missing squashfs-tools14:27
cjwatson(which is listed in run-tests)14:27
ogra_`and installed here14:29
cjwatsonAnd the test_extract_debootstrap failure indicates that you're missing dctrl-tools, so I've added that to the list in run-tests now14:29
cjwatsonAh, that was the test_prepare_squashfs_base too14:29
cjwatson*failure too14:30
ogra_`ogra@chromebook:~/branches/cdimage$ dpkg -l squashfs-tools|grep ii14:30
ogra_`ii  squashfs-tools                            1:4.2+20121212-1                                 armhf        Tool to create and append to squashfs filesystems14:30
* ogra_` installs dctrl-tools14:30
cjwatsonYeah, I misread the test_prepare_squashfs_base failure first time round14:30
ogra_`ok, looks better14:31
ogra_`4 failures with .bootimg-manta left14:32
cjwatsonFor the other failures, you need to use a loop variable that isn't "extension"14:32
cjwatsonBecause that comes from "extension = self.detect_image_extension(source_prefix)" above and must be preserved14:33
cjwatsonIn publish_binary, that is14:33
seb128hum14:34
seb128https://launchpadlibrarian.net/141099296/upload_4627413_log.txt14:34
seb128"INFO Upload was rejected:14:34
seb128INFO Server said: "14:34
cjwatsonseb128: transient librarian failure, retry14:34
seb128thanks launchpad, that's useful info :p14:34
seb128cjwatson, thanks14:34
=== Ursinha is now known as Ursinha-afk
bdmurrayslangasek: the other day we talked about identifying SRU bugs that could possibly be verified by checking errors.ubuntu.com to ensure there are no crashes with the new version of the package. For example I'd tag bug 1104435 "errors-watch" and update sru-report to display something different (probably color) for bugs with that tag.  Does that seem reasonable?15:55
ubot2Launchpad bug 1104435 in xfce4-session (Ubuntu Raring) "xfce4-session crashed with SIGSEGV in g_slice_alloc()" [Undecided,In progress] https://launchpad.net/bugs/110443515:55
slangasekbdmurray: sounds good to me15:56
=== mmrazik is now known as mmrazik|afk
=== Ursinha-afk is now known as Ursinha
xnoxbdmurray: for that bug it would be very awesome!16:24
=== greyback is now known as greyback|food
=== psivaa is now known as psivaa_afk
ogra_`cjwatson, hmpf ... http://paste.ubuntu.com/5717429/ do you have any idea where the dashes come from ? (teh files clearly exist on cadejo, but indeed without the suffixed dash)17:13
ogra_`oh, i see, it wants to attach the regular subarch  which we dont really have for touch17:15
=== greyback|food is now known as greyback
cjwatsonIndeed, flavours() wants a subarch17:16
cjwatsonI think you should probably have separate handling for bootimg*17:17
cjwatsonWhich can then handle ubuntu-touch specially17:17
cjwatsonYou can leave kernel and initrd alone since they aren't in the output on cadejo anyway17:17
ogra_`right, sigh17:18
* ogra_` wanted to be done yesterday ... 17:18
infinityHrm, shouldn't all that lts-raring stuff be in main?  Someone NEWed it all to universe. :/17:19
ogra_`cjwatson, http://paste.ubuntu.com/5717478/ ?17:33
cjwatsonogra_`: I'd prefer if you split all the bootimg* ones into a separate if branch, and put that logic there17:34
cjwatsonogra_`: But the rest is OK17:34
ogra_`heh, which rest :)17:34
cjwatsonWell, I mean the logic you added17:35
cjwatsonI'd just like it to be in a separate if branch so that the kernel/initrd case stays fairly simple17:35
ogra_`ok17:35
cjwatsonSince AIUI you don't need to change kernel/initrd behaviour17:35
ogra_`right, the ac100 bootimg was in there17:36
ogra_`which is handled the same way as initrd/kernel ...17:36
ogra_`i'll add an extra if for the extended bootimg-* stuff17:36
ogra_`cjwatson, http://paste.ubuntu.com/5717500/ is what you meant i guess17:44
cjwatsonDepends whether you want bootimg for ubuntu-touch too.17:44
ogra_`nope, i dont17:45
cjwatsonOK, in that case that's fine17:45
ogra_`what were the runes to prevent cdimage from doing an actual live build ?17:45
* ogra_` always forgets 17:45
ogra_`i only want to test the publishing17:45
cjwatsonOmit --live17:46
ogra_`thx17:47
ogra_`hmm, i have the feeling that was the wrong place ... nothing changed17:49
cjwatsonWrite a test case17:49
cjwatsonSeriously, it's way easier than battering away at things in production17:49
cjwatsonOr at least use DEBUG=1 so that it doesn't mail people and doesn't try to actually publish to cdimage.u.c17:51
cjwatsonYou can use pdb too17:51
* ogra_` will do17:51
ogra_`ah, heh17:55
ogra_`so i fixed tree.py which actually wasnt my probelm17:55
ogra_`ate least i will handle botimg-* in both places now :P17:56
ogra_`yay, finally18:05
ogra_`hmm, except that it doesnt publish them18:07
* ogra_` digs in again18:07
ogra_`hmm, i dont get it, theoretically nothing should prevent them from being published18:18
ogra_`argh18:23
ogra_`so the generic bootimg is handled in debian-cd ... not really what i want :(18:23
ogra_`sigh18:26
=== greyback is now known as greyback|away
ogra_`cjwatson, you dont happen to be still around by chance ? i'm stuck with a test20:28
ogra_`cjwatson, http://paste.ubuntu.com/5717951/ is the code change http://paste.ubuntu.com/5717953/ is the failure20:30
ogra_`i dont really understand where to add the "armhf.bootimg-*" files in the test code20:31
ogra_`(i actually thought the first addition to the tests would be enough)20:31
ogra_`ot infinity ^^^ if you have a clue about cdimage test code20:34
ogra_`*or20:34
stgraberogra_`: so it looks like the input file isn't there when the test runs. Where are those downloaded, how do you mock that in the tests?20:36
stgraberogra_`: the error and the code you listed make it look like "<rootfs>.raw" exists in the test environment (second shutil.copy2) but the *.bootimg-* don't, so when calling fetch_side_effect the copy fails20:37
ogra_`well, in  real life "armhf.bootimg-*" files are there too20:39
ogra_`how would i mock that in the test20:39
ogra_`the files live in the respective scratch dir on cdimage indeed20:42
stgraberlooking20:43
ogra_`note that i'm running the test in my local bzr tree20:44
ogra_`so there arent any physical files indeed20:44
stgraberogra_`: so the problem is that fetch_side_effect isn't called for those files20:46
ogra_`oh20:46
stgrabertrying to fix that now20:46
=== greyback|away is now known as greyback
stgraberogra_`: http://paste.ubuntu.com/5718031/ is closer to what you want thought still failing (for another reason)20:56
ogra_`hmm, but why is that needed ?20:57
stgraberogra_`: that code essentially mocks copy2 to create the target if it's one of those files you want to copy20:57
ogra_`ok20:57
stgraberbecause the source file doesn't exist20:57
stgraberI'm very not familiar with that part of the code, but fetch_side_effect is related to the fetch() command which does the wget. Your code change doesn't use wget, so adding the entries there wasn't doing anything.20:58
stgraberI suspect that the source files don't exist because they aren't technically retrieved at any point so obviously can't be copied.20:59
stgraberMy change makes the copy work (as long as it's in the whitelist) by touching the target, but that's causing a failure a bit later on now as the listdir() doesn't appear to match what's expected20:59
ogra_`well, neither is rootfs.tar.gz21:00
stgraberbut the rootfs is downloaded through fetch() isn't it? if so, then it's being touched by the mocked version of fetch()21:00
ogra_`not on my chromebook, no21:00
infinityWhy isn't it all gotten via fetch/fetch_side_effect?21:01
infinitySurely, this is all published on a livefs builder the same as any other image/kernel/initrd/etc.21:01
ogra_`i'm just running ./run-tests on a machine that doesnt have any running cdimage environment to have the code checked21:01
infinityAnd so should be fetched the same way.21:01
ogra_`right21:02
ogra_`it doesnt fail for rootfs.tar.gz ... why would it for any of the other nonexisting files21:02
ogra_`thats what confuses me21:02
stgraberhere are the calls to fetch() and copy2(): http://paste.ubuntu.com/5718054/21:03
infinityRight, so the testsuite is right.  You're failing to fetch the bootimg files.21:04
infinityAlso, those kernel- and initrd- bits look suspect...21:04
cjwatsonThose aren't a problem and can be ignored21:04
ogra_`right21:04
cjwatsonDid you remember to set CDIMAGE_PREINSTALLED in the test config?21:04
cjwatsonI would be inclined to suggest stepping through the test with pdb at this point, anyway.21:05
stgrabernote that http://paste.ubuntu.com/5718061/ passes the tests properly, but I'm not sure it's right (well, I'm pretty sure it's wrong)21:05
cjwatsonPut 'import pdb; pdb.set_trace()' just before the bit in the code you want to step through21:05
cjwatsone.g. whatever ends up calling download_live_filesystems21:05
ogra_`k21:07
* cjwatson considers decamping to the pub for a bit21:08
slangasekhmmm; lintian gives me a bunch of errors on udev about init.d scripts that aren't in the package at all.  Guess the lintian checks need improving21:30
=== greyback is now known as greyback|away
=== hggdh_ is now known as hggdh
=== bjf is now known as bjf[afk]
=== Guest57441 is now known as StevenK
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
* cjwatson rebuilds ubuntukylin images (transient failure)23:21

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