/srv/irclogs.ubuntu.com/2012/06/13/#launchpad-yellow.txt

gary_posterbenji, did you see william & my comments on https://bugs.launchpad.net/launchpad/+bug/996729 ?12:05
_mup_Bug #996729: zope.testing --subunit allows bad output on stdout, which can break subunit processing and tests <paralleltest> <qa-needstesting> <Launchpad itself:In Progress by gmb> < https://launchpad.net/bugs/996729 >12:05
gary_postersummary: we've got unknown and mysterious work to do12:05
benjigary_poster: not yet; taking a look12:05
benji"In a world, where unknown and mysterious work must be done..."12:06
gary_posterheh12:06
gary_posterbac benji frankban gmb call in 212:08
gmback12:08
bacrt12:08
gary_posterbac benji frankban gmb https://plus.google.com/hangouts/_/5e18fb3d6f696ec0a22278e5d5f27e055d2f4ef4?authuser=1&hl=en-US12:10
gmbargh, conneciton errors...12:11
gary_posterhttps://bugs.launchpad.net/launchpad/+bug/99672912:22
_mup_Bug #996729: zope.testing --subunit allows bad output on stdout, which can break subunit processing and tests <paralleltest> <qa-needstesting> <Launchpad itself:In Progress by gmb> < https://launchpad.net/bugs/996729 >12:22
benjihttps://pastebin.canonical.com/67982/12:31
bacrejoining12:34
* gmb lunches12:43
bacso benji i've already "released" my changes on top of yours as p10.  are you going to revert your change and make p11?12:43
benjibac: sure12:43
bacbenji: please ping me when p11 is available13:52
bacbenji: or i can do it if you're busy13:53
benjibac: that would be great, I'm neck deep in this at the moment13:53
bacbenji: okey doke13:54
frankbangary_poster: for my little plugin, should/could I use email@canonical and AGPL?14:13
gary_posterfrankban, yeah, your canonical email would be good since it was slack time project.  AGPL...shrug I guess that's the right thing to do, yes.  Is it a problem?14:14
frankbanNo, I don't think.14:16
gary_postercool14:22
gary_posterbenji http://ec2-50-16-151-255.compute-1.amazonaws.com:8010/waterfall14:22
bacbenji: in the future would you do work on shared branches (like zope.testing) in dev branches so there is one checkin-per-revision bump?  the reverse cherry pick worked fine but p9 spanned about 5 branch revisions.</picky>14:36
benjibac: that's a good idea14:37
bacgary_poster, i've made my changes and updated zope.testing.  i'm going to do a full ec2 run to ensure the zope.testing drop doesn't munge anything.14:39
gary_postergreat thanks bac.  I suggest you further manually examine the results before you land14:40
gary_posterin particular, make sure test counts don't change14:40
bacgary_poster: oh, ok.  let me go kill that 'ec2 land' then14:40
gary_posterbac, I can run it on the 32 core machine if you'd like, in a bit14:40
bacgary_poster: you may if you want.  seems like overkill since we are going back to what should be a known version.  my changes shouldn't cause any problems wrt test counts.14:41
gary_posterbac, neither should ours have :-P14:42
bactrue enough14:42
gary_posterbenji, maybe you didn't commit the change to p6 to your branch?  it isn't here14:50
gary_posterbenji http://ec2-50-16-151-255.compute-1.amazonaws.com:8010/builders/lucid_lp/builds/4/steps/shell_9/logs/subunit15:46
gary_posterbenji http://pastebin.ubuntu.com/1039294/16:02
gary_posterbenji lp.testing.tests.test_zope_test_in_subprocess.TestZopeTestInSubProcessLayer16:05
gmbbenji, gary_poster, Quick question: what would be the sanest way for zope.testing to issue a warning about duplicate tests? An exception is simple, but the bug talks about warning for now (and I don't want to break any more test runs just yet).16:09
gmbIt would seem that writing to stdout or stderr would be a bad idea, especially if --subunit is switched on... Any ideas?16:09
gary_postergmb, I'l be curious to see what benji thinks, but since bac has fixed the existing tests, I think it is OK to raise an (informative) error16:09
gary_postergmb, IOW, there should be nothing to warn about at this time because bac has fixed it16:10
gary_posterSo let's jump straight to the error16:10
gmbgary_poster, Something like ("Duplicate test id found: %s" % test.id)? Or are you thinking more info than that.16:10
gmbBut okay, I'm happy to do that.16:10
benji+116:10
gary_postergmb, yeah, sounds like a good start :-)16:10
gmbWahey.16:10
gmbOkay, branch coming shortly.16:11
gmbs/branch/mp16:11
gmbzt16:11
gmbEr.16:11
gmbNote to self: x-chat != vim16:11
gmbAhaha.16:25
gmbHmm.16:25
gmbSo, my fix for bug 682711 breaks the test suite for zope.testing quite comprehensively.16:25
gmbHmm.16:25
gary_posterbenji https://bugs.launchpad.net/launchpad/+bug/98642916:31
_mup_Bug #986429: lp.testing.tests.test_zope_test_in_subprocess.TestZopeTestInSubProcess.test deposits global "zope:layer" tag in subunit stream <paralleltest> <qa-untestable> <Launchpad itself:Fix Released by gmb> < https://launchpad.net/bugs/986429 >16:31
gmbAh, wait, no it doesn't. My assumptions were broken.16:33
gmbgary_poster, So, interesting meta-problem: the tests for zope.testing contain a doctest called src/zope/testing/testrunner/testrunner-debugging-layer-setup.test, which writes a python file, then loads it and runs it. The file it writes out contains two layers and a function with a doctest, and when that doctest gets loaded, of course, it blows up because the doctest gets registered twice. Any ideas about how I should handle that?16:47
gary_postergmb, sorry, was lunching17:25
bacgmb, yeah i saw repetitive test ids in my change in the zope.testing tests.17:25
gary_postergmb, make it a flag?17:26
gary_posterand then our bin test can always turn the flag on, he said, waving his hands?17:26
gary_posterbenji https://plus.google.com/hangouts/_/afdae2431954bae99aae1d5075449031334b6481?authuser=1&hl=en-US when you are ready17:43
gmbgary_poster, Yeah, that sounds like the sanest solution.17:57
gary_postercool17:57
bacgary_poster: my branch has failed twice in ec2 with hung tests.18:43
gary_posterbac :-(18:44
gary_posterbac, you want me to run it in parallel machine for you?  I could do it in about 40 minutes18:45
bacsure18:45
bacgary_poster: it is  lp:~bac/launchpad/bug-68277218:46
gary_posterbac ok will get it set up for you and ping you when done18:46
bacgary_poster: do you mean you can get to it in 40 minutes or it will take 40 minutes?18:46
gary_posterbac, I meant #1 but I changed my mind.  It will take 40 minutes18:47
gary_posterbac, fwiw it is running here if you want to follow along http://ec2-50-16-151-255.compute-1.amazonaws.com:8010/builders/lucid_lp/builds/918:55
gary_posterbac, which tests hung, out of curiosity?18:56
gary_posterbac, it looks like list-tests is broken http://ec2-50-16-151-255.compute-1.amazonaws.com:8010/builders/lucid_lp/builds/9/steps/shell_9/logs/stdio18:58
* bac looks18:59
bacgary_poster: where does that show brokenness?19:00
gary_posterbac, it is actually supposed to run tests after it runs --list-tests19:00
gary_posterbac, it didn't get any tests to run19:00
bacgotcha19:00
bacgary_poster: the two ec2 runs ended like http://paste.ubuntu.com/1039543/19:01
gary_posterbac, that looks like it in includes an incomplete version of what benji used19:02
gary_posterbac, have you verified that what you have differs from the p6 version in only the way you expect?19:03
gary_posterin zope.testing19:03
bacgary_poster: i have not done that.  i examined the diff from the reverse cherry pick and it looked reasonable19:03
gary_posterbac, your p11 revert I think went wrong19:04
gary_posterunderstandably19:04
gary_postersince there were a number of commits19:04
gary_posterbac, I'm running p10 now19:04
gary_posterbecause we think we fixed our issue19:05
gary_posterand the fix was in Launchpad19:05
gary_posterbac, and it is working so far (http://ec2-50-16-151-255.compute-1.amazonaws.com:8010/builders/lucid_lp/builds/10/steps/shell_9/logs/stdio fwiw)19:05
bacgary_poster: do you see something fishy from p11?19:05
bacor just that it broke the world?19:05
gary_posterbac, the result you just showed me from the pastebin looked exactly like ou had a naive version of the stdout replacement code19:05
bacok19:06
bacok, so just toss p11?19:06
gary_posterbac, benji, if build 10 (which uses p10) passes, yeah, I will be tempted to toss p1119:07
bacbut i've got to the branch back to a good state19:07
gary_posterand revert the revert in zope.testing19:07
gary_posteryeah19:07
bacforks are fun19:07
gary_posterIIRC it is bad form to uncommit and push, isn't it19:07
gary_posterI say, let's wait for this rest result19:08
baci think if you're guaranteed no one is working on the version you're wiping out it can be done19:08
bacbut probably better to avoid19:08
gary_posterI will be on team lead call by the time it finishes19:08
gary_posterbut if it succeeds19:08
gary_posterthen we land p1019:08
bacok, well, i'll change my LP branch to use p10 and submit to ec219:08
bacunless it looks like my change to zope testing broke --list19:09
gary_posterand we merge the reverse of the last two changes to zope.testing19:09
gary_posterbac, p10 --list works fine19:09
bacoh, yay19:09
gary_posterI am pretty sure that this is, again, just the fact that you didn't revert completely back to p6 when you added your code in (which was very understandable)19:09
bacwell, i couldn't as it wasn't yet bad.19:11
gary_poster:-)19:11
bacr 37 was a good check in19:11
bacof my stuff19:11
gary_posterack19:11
bacso here's the pedantic question19:12
bacif i revert the last change, do we change setup.py to call it p12?19:12
gary_posterso bac, benji...I have team lead call...bac, why don't you join us briefly  in https://plus.google.com/hangouts/_/afdae2431954bae99aae1d5075449031334b6481?authuser=1&hl=en-US19:12
bacotherwise it'll say p10 and the next guy will re-use p1119:12
gary_posterbac, benji, yay, I think!19:37
bacgary_poster, benji:  http://paste.ubuntu.com/1039594/19:37
bacp10 nominally == p1219:37
gary_posterbac, awesome19:38
gary_posterbac, benji we have a full, green test run http://ec2-50-16-151-255.compute-1.amazonaws.com:8010/waterfall19:38
bacfor julian:19:39
bacbzr ci -m "Update zope.testing to p12 which reverts p11 to be the inaccurately maligned p10.  Dont ask."19:39
gary_posterlol19:39
gary_posterbac or benji lemme know if I should re-run any of your branches19:44
gary_posteron the buildbot19:44
benjigary_poster: ok, I think I'll be good19:45
bacgary_poster: benji and i decided to let him pqm-submit his branch.  i'll merge, update to use p12, and then get you to run it19:45
gary_postergreat benji, bac19:45
benjibac: any help using pqm-submit; I've only used it once or twice and it's been quite a while19:58
benjithis command line: bzr pqm-submit -m 'Use version p10 of our zope.testing fork for its redirection of non-subunit output away from stdout when --subunit is specified'  lp:~/launchpad/bug-99672919:58
benjigives me this error: bzr: ERROR: There is no public branch set for "bzr+ssh://bazaar.launchpad.net/~benji/launchpad/bug-996729/".19:59
bacbenji: actually if you have a MP you can just use 'bzr lp-land'19:59
benjibac: I do, but it's already been merged; is setting it back to approved kosher?19:59
bachow about: bzr pqm-submit -m "[r=gary][bug=996729][no-qa] blah"20:00
baci don't need to specify the branch b/c i've got my .bazaar/locations.conf set up correctly.  i recall you do not, right?20:01
benjiI guess not.  Any refrence for setting it up?20:01
bacbenji: i'm looking20:04
benjibac: I'm inclined to just make another MP (or reset the one I have)20:04
bacbenji: here is the relevant part of my .bazaar/locations.conf20:06
bachttp://paste.ubuntu.com/1039635/20:06
baci'm sure it has some cruft in it due to the way things evolved20:06
benjibac: it worked!20:08
benji(hopefully PQM will actuall accept it)20:08
bacwhee ha20:08
bachow did you make it this far in life without a locations.conf?20:08
benjiI have one but since I use a lpsetup-created setup now the paths were different, once fixed (plus another tweak) it worked20:10
gary_posterbenji, looks like it hasn't landed yet?20:30
benjigary_poster: hmm it should have20:30
* benji looks20:30
benjigary_poster: hmm, this doesn't look like my fault: "Conflicts during merge: Text conflict in lib/lp/soyuz/model/archive.py"20:32
* benji looks at subsequent PQM emails.20:32
gary_posterbenji, that's to dbdevel, I think you'll find20:32
benjimmm20:32
gary_posterbenji, we have two recent lands to devel, within the past 14 minutes20:33
gary_posterhttps://code.launchpad.net/~launchpad-pqm/launchpad/devel20:33
benjiooh, it is20:33
benjiarg! Sender not authorised to commit to branch bzr+ssh://bazaar.launchpad.net/~benji/launchpad/devel20:34
benjiI hate PQM.20:34
gary_poster:-)20:34
benjiany idea how I'm supposed to make it think I'm authorized?20:35
benjiwait! that says ~benji20:35
gary_posterbenji, look at that error message20:35
gary_posterright :-)20:35
benjiI hate PQM more now.20:35
gary_posterheh20:35
benjiis this what I need in my .bazzar/locations?20:37
benjipublic_branch = bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel20:37
benjisubmit_branch = bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel20:37
gary_postereh, I don't use locations.  I used the raw pqm options for awhile and now just use bzr lp-land when I need to do this sort of thing20:38
gary_posterI'll see if I can help...20:38
gary_posterbenji, you want this kind of thing:20:39
gary_postersubmit_branch = bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel20:39
gary_posterpublic_branch = bzr+ssh://bazaar.launchpad.net/~gary/launchpad20:39
gary_posterpublic_branch:policy = appendpath20:39
gary_posterpush_location = lp:~gary/launchpad20:39
gary_posterpush_location:policy = appendpath20:39
gary_posters/gary/benji obv20:39
* benji resubmits.20:41
* benji watches https://pqm.launchpad.net/ while reciting the good luck charm of his people: "come on baby!"20:42
gary_posterthat worked, benji, cool.20:46
gary_posterbac ^^20:46
benjiyep, it looks good20:47
bacok20:47
gary_posterbenji, you are sure about that logs dir removal?20:50
gary_posterhttp://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/revision/1540920:50
bacgary_poster: can you run my branch through your parallel buildbot?  lp:~bac/launchpad/bug-68277220:52
bacit has my changes, merged with the most recent trunk, using p1220:52
gary_posterbac, sure20:53
gary_posterbac http://ec2-50-16-151-255.compute-1.amazonaws.com:8010/builders/lucid_lp/builds/13fwiw20:58
gary_posterhttp://ec2-50-16-151-255.compute-1.amazonaws.com:8010/builders/lucid_lp/builds/13 that is20:58
bacthanks20:58
gary_posterwelcome20:59
bacgary_poster: http://ec2-50-16-151-255.compute-1.amazonaws.com:8010/waterfall21:35
bacMr. Green Jeans21:35
* bac -> lands21:35
gary_posterbac, yay!21:35

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