/srv/irclogs.ubuntu.com/2010/04/30/#launchpad-reviews.txt

thumpermwhudson: testfix review ? http://pastebin.ubuntu.com/424977/04:21
thumperalthough I'd just rs it04:21
mwhudsonthumper: r=me04:21
thumperta04:21
mwhudsonwith added stabbing04:21
mwhudsonthumper: lib/lp/code/doc/branch-karma.txt seems to have a similar issue btw04:23
thumperis it failing?04:23
mwhudsonno04:24
mwhudsonbut it has a factory name in expected output04:24
mwhudsonlib/lp/bugs/doc/bugnotification-sending.txt too04:24
mwhudsoni guess i can make a quick branch for this04:24
thumperbzr pqm-submit -m "[testfix][r=mwhudson] Fix archive-deletion test - NEVER PRINT OUT THE NAME OF A FACTORY GENERATED ANONYMOUS PERSON (stabby-stabby)."04:24
mwhudsonhah04:25
thumperyou grepped for person-name ?04:25
mwhudson"PPA named nightly for Person-name2 owned by Person-name2" :(04:26
mwhudsonthumper: grepping for '-name[0-9]04:26
mwhudsonthumper: grepping for '-name[0-9]' finds some stuff04:26
thumperoh dear god!04:28
* mwhudson changes the starting value for getUniqueInteger, and shoves that into ec204:30
thumper:)04:31
thumpermwhudson: up for a review?06:08
mwhudsonthumper: sure06:08
mwhudsonfour tests have failed in that ec2 test run so far btw06:08
thumperonly four?06:11
thumperhttps://code.edge.launchpad.net/~thumper/launchpad/more-careful-network-service-usage/+merge/2446906:11
mwhudsonthey've only been going for about 20 minutes :)06:11
thumper:)06:12
thumperoh06:12
thumperhas it taken that long to set up the instance?06:12
thumperdidn't you start it at 3:30?06:12
mwhudsonum06:13
mwhudsoni can't tell the progress of time any more clearly :-)06:13
mwhudsonthe first instance didn't start though06:13
thumperdiff is up06:14
mwhudsonthumper: do you think repr(self) would be a better default getOperationDescription ?06:14
mwhudsonit's unfriendly, but maybe less useless06:14
thumpermwhudson: it is supposed to be in a nice email to a user06:14
thumperso a repr wouldn't be so good06:15
thumpersaying: something went wrong doing xxx06:15
thumperroughly06:15
mwhudsonthumper: 'unspecified operation' is not friendly!06:15
thumperbetter than oops06:15
thumperthat line isn't necessary06:15
thumperbut really a fall back06:15
mwhudsonok06:16
mwhudsonself.logger.error(e) <- i think you want self.logger.exception there06:16
thumperoh06:16
thumperok06:16
thumperline 162 of runner.py is where I copied it from06:17
thumperI should fix that too I guess06:17
mwhudsonyeah, i reckon06:17
thumperdone06:17
mwhudsontracebacks are good when things go ker-blooey06:18
* thumper nods06:18
mwhudsonthumper: you don't ned to pass the exception to exception(), did you know that?06:20
mwhudsoni didn't06:20
thumperno06:20
mwhudsonso it should be self.logger.exception("something went wrong")06:20
thumperI didn't know that06:20
thumpermwhudson: it checks the exec stack?06:20
mwhudsonit calls sys.exc_info() i guess06:21
mwhudsonseems a bit lame06:21
* thumper shrugs06:21
thumperI guess I should add a message of some form then06:21
thumper                self.logger.exception(06:22
thumper                    "Failed to notify users about a failure.")06:22
thumper?06:22
mwhudsonthumper: reviewed06:22
mwhudson+106:22
thumperthanks06:23
thumperis BjornT our release manager?06:24
mwhudsoni think so06:24
* thumper whacks it into ec2 test while I await the RC06:26
BjornTthumper: yes, i am06:32
thumperBjornT: hi06:32
thumperBjornT: https://code.edge.launchpad.net/~thumper/launchpad/more-careful-network-service-usage/+merge/2446906:32
thumperBjornT: fallout from a screwed staging environment06:32
thumperwe weren't handling some errors in a nice enough manner06:33
thumperespecially since we can't send email right now06:33
thumperso our email about your failing job was failing causing more issues06:33
thumperthis branch adds an extra except block that just logs06:33
thumperBjornT: also be aware that in a conflict resolution branch I disabled a soyuz test, so they should land a fix for that06:35
* thumper fetches a drink06:36
StevenKthumper: Which test, and how does it fail?06:36
* StevenK fetches the mail, while waiting for dogfood's ppa publisher to die again06:37
BjornTthumper: ok, in general it looks ok for rc. however, it seems like the new exception handling you added is untested, no?06:39
thumperBjornT: it is06:46
thumperBjornT: untested that is06:46
thumperBjornT: I'd have to cause a failure, then monkey patch the sending to fail again06:46
thumperall to add something to the log06:46
thumperis it worth it?06:47
thumperStevenK: https://bugs.edge.launchpad.net/soyuz/+bug/57200506:47
mupBug #572005: Disabled test buildd-slavescanner.txt <Soyuz:Triaged> <https://launchpad.net/bugs/572005>06:47
BjornTthumper: it's not hard to test without monkey patching. all you have to do is to create a custom Job class that fails in the place you expect it to fail, and maybe sub-classing BaseJobRunner to not do anything in runJob(). giving it's so simple, i'd say it's worth it.06:52
thumperBjornT: ok, I'll take a look06:53
BjornTthumper: and you're not only logging, you also report an oops.06:54
thumperBjornT: do you think I should just log?06:54
thumperI'm pretty sure that generating an oops is guaranteed not to oops06:54
BjornTthumper: i do think you should log an oops, since that makes the error visible to us. so maybe two tests are needed. one where notifyUserError errors out, and one where notifyOops errors out, to show that you will still log an oops in that case.06:56
thumperok06:57
thumperI'm failing to generate the enthusiasm needed to do it at 6pm on a Friday06:57
BjornTthumper: without such a tests, it's tempting for someone to refactor that outer oops reporting to use self._doOops()06:57
thumperok06:57
noodles775Morgan06:58
BjornTthumper: i'd be willing to let you land that branch as it is, though, if you promise to file bugs about the tests, and write them on monday (so that you can more easily qa this on monday)07:03
thumperBjornT: sounds fair07:06
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
noodles775Hi adeuring, when you're up for it: https://code.edge.launchpad.net/~michael.nelson/launchpad/db-enable-buildd-slavescanner.txt/+merge/2447811:04
adeuringnoodles775: sure11:05
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: noodles775 || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
=== noodles785 is now known as noodles775
adeuringnoodles775: r=me11:20
noodles775Thanks adeuring11:20
noodles775Hi BjornT, can I get an RC to re-enable two soyuz tests (just to be sure that any later RC's can't break things tested in the two tests).11:22
noodles775https://code.edge.launchpad.net/~michael.nelson/launchpad/db-enable-buildd-slavescanner.txt/+merge/2447811:22
BjornTnoodles775: of course12:05
noodles775Thanks BjornT12:44
noodles775adeuring: another one when you've time: https://code.edge.launchpad.net/~michael.nelson/launchpad/567922-binarypackagebuild-packagebuild-4/+merge/2435613:25
noodles775Sorry for the verbose MP.13:25
adeuringnoodles775: nah, i like verbose MPs :)13:26
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: noodles775 || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
allenapadeuring: Fancy a couple of reviews?14:01
adeuringallenap: sure; I'm just finishing one for noodles775.14:01
=== allenap changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: noodles775 || queue: [allenap, allenap] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
allenapadeuring: Thanks. https://code.edge.launchpad.net/~allenap/launchpad/storm-bulk-reload-bug-572211/+merge/24492 then https://code.edge.launchpad.net/~allenap/launchpad/checkwatches-bulk-reload-bug-572211/+merge/2449314:02
=== noodles775 changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: noodles775 || queue: [allenap, allenap, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
adeuringnoodles775: r=me14:05
noodles775Thanks adeuring.14:05
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: allenap || queue: [allenap, noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
adeuringallenap: a very nice branch! just one suggestion: What about renaming "identity" to "object_is_key" so the intended usage is a bit more obvious14:50
EdwinGrubbsadeuring: I have a small branch that I'll want to try to get an RC for after it is reviewed. https://code.edge.launchpad.net/~edwin-grubbs/launchpad/bug-567065-empty-branch/+merge/2449714:58
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: allenap || queue: [allenap, noodles775, Edwin] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
adeuringEdwinGrubbs: add it to the queue.14:58
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: allenap || queue: [noodles775, Edwin] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
noodles775adeuring: my branch isn't an RC, so pls give EdwinGrubbs's branch priority.15:02
adeuringnoodles775: sure15:03
adeuringEdwinGrubbs: sorry, did not notice that it is an RC branch....15:03
allenapadeuring: Okay, good idea. Thanks!15:06
adeuringallenap: approved your other branch too15:07
allenapadeuring: Brilliant, thanks.15:07
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: Edwin || queue: [noodles775] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
adeuringallenap: I'll miss things like I saw today when your on "bugs holidays"15:08
adeuring...you are on...15:08
allenapadeuring: Hehe, I won't be gone long :)15:09
adeuringEdwinGrubbs: r=me15:28
EdwinGrubbsadeuring: thanks15:28
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: noodles775 || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
EdwinGrubbsderyck: I assume you are the backup RM since you were the release manager last month. Can I get an RC for https://code.edge.launchpad.net/~edwin-grubbs/launchpad/bug-567065-empty-branch/+merge/2449715:39
adeuringnoodles775: has your branch 567922-binarypackagebuild-new-table-1 really a 1500 lines diff or should I use a diff against some other branch?15:39
noodles775adeuring: no it is not.15:40
* noodles775 looks15:40
deryckEdwinGrubbs, sure, I can look at it.  Though I would feel more comfortable if flacoste looked, since he's probably already thought about release more than me.15:41
EdwinGrubbsderyck: ok, I'll ask him15:42
EdwinGrubbsflacoste: can I get an RC for https://code.edge.launchpad.net/~edwin-grubbs/launchpad/bug-567065-empty-branch/+merge/2449715:42
deryckEdwinGrubbs, if he is not able, then I can certainly.15:42
noodles775adeuring: here's the actual diff that I get locally...http://pastebin.ubuntu.com/425292/ I'm guessing I haven't pushed the previous branch.15:45
adeuringnoodles775: thanks!15:45
noodles775adeuring: I'll need to merge a new db-devel on that branch and resolve all the conflicts :/15:58
noodles775It might be best to leave it for now.15:58
adeuringnoodles775: ok, noproblem15:59
=== gary_poster is now known as gary-lunch
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
EdwinGrubbsderyck: I can't find flacoste, can you look at the branch?16:29
flacosteEdwinGrubbs: ???16:30
flacosteEdwinGrubbs: i approved it16:30
deryckno need for me then :-)16:31
EdwinGrubbsflacoste: oh, I'm still not used to that being part of the MP16:36
=== EdwinGrubbs is now known as Edwin-lunch
=== adeuring changed the topic of #launchpad-reviews to: On call: - || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
=== gary-lunch is now known as gary_poster
=== matsubara is now known as matsubara-lunch
=== deryck is now known as deryck[lunch]
=== matsubara-lunch is now known as matsubara
=== deryck[lunch] is now known as deryck
=== matsubara is now known as matsubara-afk

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