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

gary_poster:-)11:41
gary_posterfrankban, approved your MP, with a small typo change.11:50
gary_posterfrankban, oh, after you make the change let me know and I'll approve again, or you can approve.11:50
gary_poster(and after that, change the MP to Approved)11:51
frankbangary_poster: thanks11:55
gary_posterwelcome, looked great11:55
frankbangary_poster: typo fixed.12:03
gary_posterreapproved frankban12:04
frankbancool, approving the MP12:04
bacgary_poster: doing another approve vote doesn't tickle tarmac.  only changing the top status of the MP does12:04
bacnm12:04
bac:)12:04
gary_poster:-)12:04
gmbgary_poster, What's the secret sauce for forcing the buildbot-slave to have a specific number of workers?12:04
gary_postergmb, look at master.cfg on master, at --concurrency option in testr call12:05
gary_postercurrently forced at 2012:05
bacgary_poster: do note the second vote was not necessary12:05
gmbgary_poster, Awesome, ta.12:05
gary_posterbac, I thought it was in order to have tarmac not complain that there was a revision that had not been approved?12:06
baci just don't want people thinking they have to revisit the MP12:06
bacgary_poster: no, the approved revision gets noted when the top-level status goes to 'Approved'12:06
bacyour reviews are just votes12:06
gary_posterbac, oh!  ok cool12:06
gary_posterI voted twice.  Watch out for the chads.12:07
bactarmac uses the rule 'approves >=1, disapproves == 0' so one bad vote will keep it from landing12:07
bacthat's why we need picture IDs for voting12:07
gary_posterbac benji frankban (gmb) https://plus.google.com/hangouts/_/6bdd991b10f6aa1b4f28efb196620126c5f443ec?authuser=1&hl=en-US12:09
gary_postergmb, still allhands problems?12:22
gmbgary_poster, I signed in this morning but can't get to my goals... I'm going to talk to Sarah about it this afternoon; ISTR that hte last time we had this problem she was happy with an email to you and her with my update goals - it's the record that matters.12:24
gary_posterbac, allhands is ready for your final handshake12:31
bacgary_poster: will do now12:31
gary_postergmb, ok.  the deadline is Friday, so please take some time aside today and get it sorted out for good one way or another.12:32
gmbRight.12:32
gary_postergmb, also, replying to your python 2.7/parallel email now12:32
* bac still hates google authenticator. i wonder if it got hacked along with the RSA fob12:32
gmbThanks.12:32
gary_poster:-)12:32
gmbgary_poster, We have a working parallel test instance on Py2.7 / Precise: http://ec2-23-22-155-23.compute-1.amazonaws.com:8010/builders/lucid_lp/builds/0. Limited to 8 workers.13:20
gmbgary_poster, Tests are running, which is new :)13:20
gmbBut we're seeing "unknown worker" tests.13:20
gmbWhich is sad-panda-making.13:20
gary_postergmb, will review in a sec.  I got this error when starting up the charm:13:24
gary_poster2012-06-27 11:53:30,606: hook.output@ERROR: Command '['su', 'buildbot', '-c', "bzr branch 'http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel' /var/lib/buildbot/slaves/slave/devel"]' returned non-zero exit status 313:24
gary_posterseems transient13:24
gary_posterWas just going to retry13:24
gary_posterIs that what you had before?13:24
gmbgary_poster, No, I had problems with adding the buildbot group.13:24
gary_posterweird13:24
gmbdestroy-environment and bootstrappign again worked.13:24
gary_posteryeah I think I'll just retry also13:24
gary_postergmb, what size machine is the slave?13:27
gary_posterit looks too small for 813:27
gary_posteryou are losing three of eight workers still13:28
gary_posterI'd also guess that the first of the two errors you have in the summary so far are because the machine is underpowered13:29
gmbgary_poster, Yeah, it's an m1.small. My mistake; I forgot to make it bigger. Yesterdays was a 32-core machine.13:29
gary_posterow13:29
gmbYeah.13:30
gmbBut, weirdly, this works (ish).13:30
gmbYesterday's didn't.13:30
gmbgary_poster, So at this point, I'm going to see what else breaks on our woefully underpowered machine13:30
gary_postergmb, you could try shrinking concurrency down further, but that's smaller than I've ever used13:30
gmbRight.13:30
gary_postergmb, as far as unknown worker goes, I have no idea.  That's something going wrong within testtools, probably, within the test aggregation code orchestrated by testr --parallel13:31
gmbHmm.13:31
gmbgary_poster, So, here's what I'm going to do:13:31
gary_posterthe stdout doesn't give me any immediate clues beyond that13:32
gmbLet this finish (because we've come this far)13:32
gmbKill it13:32
gmbStart a new big slave13:32
gmbRUn it again13:32
gmbAhaha.13:32
gmbNow it's OOMing13:32
gmbTime to die.13:32
gary_posteryeah. I was going to say :-)13:32
gary_postergmb, is this a known py 2.7 failure?13:32
gary_poster    raise TypeError("Level not an integer or a valid string: %r" % level)13:32
gary_posterTypeError: Level not an integer or a valid string: None13:32
gmbgary_poster, Yes. mgz has just submitted a branch to fix that13:32
gary_postercool13:32
gmbIt's dead. Now, let's try this again :)13:33
bacall:  tarmac is now running on canonistack.  let me know when you have a MP ready to be approved.14:37
gary_postergreat, bac.14:49
gary_posterI'm going for early lunch, because it is so lovely out and will be hot again in next few days.  biab14:52
gmbgary_poster, For when you get back: jam pointed out something interesting. The unknown worker output looks different from the the worker-N output; it looks like the output from bin/test without --subunit.15:11
gmbgary_poster, http://ec2-23-22-155-23.compute-1.amazonaws.com:8010/builders/lucid_lp/builds/1/steps/shell_9/logs/unknown%20worker%20%28bug%20in%20our%20subunit%20output%3F%2915:11
gmbgary_poster, benji, bac: So, here's an interesting thing: http://ec2-23-22-155-23.compute-1.amazonaws.com:8010/builders/lucid_lp/builds/1/steps/shell_9. We're running with --concurrency=8 and yet we have 9 workers. The "unknown worker" appears to contain the normal output from bin/test... Are we maybe seeing some crap on stdout from somewhere again?15:22
bacbenji: with grep, when do you need to dereference the count modifiers?  i.e. if i wanted to make the trailing '=' optional would i end it with =* or =\* in15:49
bacgrep -c "^ssh-[dr]sa [a-zA-Z0-9: .\/=+-]\+= " "$1"15:49
bacnot dereferencing works.  but why is the + escaped?15:49
bacs/derefernece/escape15:49
benjibac: if you use -P (perl-like regular expressions) you don't have to escape the *16:02
benjiI don't know about the other types, I always use -P16:03
gary_postergmb, hey.  That looks like a subset of the stdout bits.16:28
gary_posterIn particular, :setUp and :tearDown are patterns the subunit stuf uses for the fake subunit layers, I believe16:28
gmbgary_poster, Hum. okay. I've replied to the thread about it all - we're about to take off for dinner.16:29
gmbMore poking around to be done tomorrow then.16:29
gmbWe'll try running against 2.7 under lucid.16:29
gmb(if that's even possible)16:29
gmbAnyway.16:30
* gmb -> exeunt, in search of victuals16:30
gary_posterbye16:31
gary_posterbenji, for your lpsetup changes, have you just been running the command every now and then to make sure things work as you expect, given the minimal tests of the subcommands?18:00
* gary_poster is wondering what to do himself18:00
gary_posterI'm tempted to run the command on an ec2 instance18:01
benjigary_poster: yeah; it is quite sub-optimal, especially given how long some of the steps take18:01
gary_posterok, thanks benji18:01
benjiAfter I finish this card I hope to work on the testing cards a bit; I suspect testing will be quite hard given the subject matter and that there is so much code already.18:02
gary_posterbenji, you mean the slack time card?18:04
benjino... I thought we had a "real" card for testing; I guess not.  I won't be doing that, in that case. :)18:05
bacgary_poster: nm18:22
gary_posterbac, ?18:22
bacgary_poster: i accidentally pinged you in #launchpad18:22
gary_posterbac, lucky I'm not over there then :-)18:23
gary_posterbenji, if you want to explore for a bit, you are welcome.  I thought I did what we had agreed to do last Friday18:23
benjigary_poster: you probably did; that's why cards are good, they help keep our (my) memory straight18:24
gary_poster:-) cool18:24
gary_posteryou are still welcome to explore for a bit :-) .  We don't really love the story we have right now, so I'm hoping someone will explore.  We may not have a real reason to go into slack time until gmb returns though18:25
bacgary_poster: i've added lpqabot to ~yellow so she can access private branches18:53
gary_postershe, like a ship, bac?18:53
gary_postersounds good :-)18:53
bacgary_poster: http://mrl.nyu.edu/~perlin/experiments/rosie/rosie.jpg18:53
gary_posterlol18:54
gary_posterbac, I guess you need to document for us what you did to set up the canonistack instance, including the credentials?18:56
bacgary_poster: yes18:56
gary_postercool18:56
bacgary_poster: it *would* have been quite straightforward but for a couple of problems with software in lucid18:56
gary_posterbac, why/where do we have lucid?18:57
bacin lucid ssh-import-lp-id failed for 4/5 of the yellows, rejecting our ssh keys as invalid18:57
gary_posterbac, feel free to postpone that answer for whatever time is more appropriate, like writing up your docs18:57
gary_posteruh18:58
gary_posterhuh18:58
bacgary_poster: the recipe jamesw gave me uses a lucid instance on canonistack.  i tried using a precise ami but the version of puppet there was not compatible with his scripts18:58
gary_posterwho was lucky 1/518:58
gary_posteroic18:58
bacbenji18:58
gary_poster:-)18:58
bacyou had a trailing line feed18:58
bacone of my keys had lots of line feeds18:58
bacand gmb and frankban had the misfortune of not having any base64 padding.18:58
* benji polishes his SSH key collection.18:59
bacnone of those things make a key invalid,, but the script wrongly thought it did18:59
gary_posterheh19:02
benjihmm, the frameworky bits in lpsetup seem to be getting in my way; I /guess/ I should add more framework19:20
benjiThis is how Zope started. ;P19:21
gary_posterbenji please record reminders of pain points for Friday19:26
benjigary_poster: ooh, good point19:27
benji(this isn't /entirely/ a "pain" point but more like something that needs to be handled that isn't handled by the structure there now)19:28
bacgary_poster: did you see G+ has events now?  i just created one for our hangout tomorrow as an experiment19:28
baclooks like they are only one-offs right now19:28
gary_posterbac, what does that mean?  Where should I look?19:28
bacG+19:29
benji(which in my ever-so-slightly humble opinion is why frameworks (things that call your code) are often inferior to libraries (things that you call))19:29
bacgary_poster: 'events' on left vertical bar19:29
baci guess you can't have a left horizontal bar19:29
benjiwhat's with the dripping pancakes? :)19:30
gary_posterbac, cool thanks19:30
baci see benji found it19:30
benjiI love those HD-quality, looped animated GIFs.19:31
bacbenji: you don't like pancakes?19:31
benjiI love pancakes.  Especially non sequitur pancakes.19:31
bacgary_poster: see if you can ssh tarmac@10.55.60.12919:32
gary_posterbac worked19:34
gary_poster(on call)19:34
baccool19:34
bacbetter than not working19:34
gary_poster:-)19:34
bacgary_poster: i've added tarmac landing for zope.testing/3.9.4-fork too.  it's easy peasy now:  http://pastebin.ubuntu.com/1063107/19:41
gary_posterbac, you rock19:47
bacgary_poster: other requests?19:47
bacof course, none of these are tested as no branches have landed19:48
gary_posterbac, whirled peas.19:48
gary_posterIOW, no, not right now.  Docs on what to do will be fabulous.19:48
baci do wonder how to communicate the IP address of the instance when it spins up.  does canonistack have any dns abilities?19:48
bacgary_poster: most of it is in a branch, so it is self documenting.  i'll write up what i've got19:49
gary_postercanonistack dns abilities: Not last I tried, unfortunately.  You could use a frozen ip, whatever those are called19:49
gary_posterbac ^^20:13
gary_posterbac, we are allocated three of those IPs per person in theory20:14
gary_posterin reality you have to beg for them, IME20:14
bacoh, really?  i saw they have public addresses but we don't need that...just a fixed one in our internal numberspace would be fine20:15
bacit's just a PITA when it hops around20:15
bacgary_poster: https://dev.launchpad.net/yellow/TarmacOnCanonistack20:35
gary_posterbac, yeah meant public address.  Why not?20:35
gary_posterbac, great! "You'll also need to install fabric" -> locally?  or on canonistack?  I'd guess the latter but the text reads as if it is the former20:38
bacgary_poster: public is not necessary as long as our team can access it via chinstrap20:38
bacfabric is installed on your local machine20:38
baci'll make that clear20:38
gary_posterbac, not necessary, but it gives us the "non hopping" characteristic...if it's not that big of a cost, I think it is worth it20:38
gary_posterbzc, oh, fabric drives juju locally?20:39
gary_posterbac, I mean20:39
gary_posterso it is kind of like your runparallel script?20:39
bacgary_poster: no juju20:39
gary_posterih20:40
gary_posteroh20:40
bacfabric launches a canonistack instance and deploys tarmac using puppet20:40
gary_postergot it20:40
gary_postermildly embarrassing to company that this is not juju, IMO20:40
gary_posterin terms of being a public resource20:41
bacgary_poster: from the wiki page: Public IP addresses are a limited resource. Please be considerate when reserving and using public IP addresses for you instances and release them when you're not needing them20:41
gary_posteryeah saw that before20:41
bacso, from that i figured we don't really need them.  ssh tunneling via chinstrap is easy and not noticeable.  since none of the services are public facing it doesn't make sense to me20:42
bacif we were running a django site then i'd grab one20:42
gary_posterso what's the annoyance of the IP jumping then?20:42
bacthere is no annoyance20:42
gary_postertarmac used to have an idea of a web site20:42
bacyou just have to set up your .ssh/config properly and then it is transparent20:42
gary_posterso you have to do that every time, and that is the annoyance20:43
gary_poster"there is no annoyance" bah humbug! :-)20:43
bacgary_poster: james said he was working on a juju charm but it isn't ready. i chose to go with what he had as the quickest way to deploy.20:44
gary_posterah excellent20:44
baci spent about half the time on the dumb ssh-import problem20:44
gary_poster+120:44
bac+1 on dumb problems?  :)20:44
gary_poster:-P +1 on the quickest way to deploy20:52
gary_posterbac, can you move your card to Done now?  Would be nice for frakban tomorrow21:17
gary_posterfrankban21:17
gary_posterbac or benji, if you want a quick review, https://code.launchpad.net/~gary/lpsetup/paralleltweaks/+merge/112438 is for you21:23
gary_postertalk to you all tomorrow21:23

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