text
stringlengths
15
499
[06:53] <lifeless> network deltas are something we probably want to cherrypick
[07:03] <wgrant> Does anybody feel like ec2testing a branch for me?
[07:09] <jml> wgrant, sure.
[07:09] <wgrant> jml: lp:~wgrant/launchpad/team-verbose-bugnotifications-bug-253788
[07:09] <jml> wgrant, against devel or db-devel?
[07:10] <wgrant> jml: devel
[07:10] <jml> wgrant, what email address do you want the results sent to?
[07:10] <wgrant> jml: me@williamgrant.id.au
[07:11] <wgrant> How long will it take?
[07:12] <jml> wgrant, 20-30mins until I know the tests are running for certain, then 2-3hrs.
[07:12] <jml> I recently changed the default instance type (it used to take 4.5hrs), but I haven't done any rigorous timings.
[07:14] <wgrant> jml: Great. Thanks.
[07:20] <wgrant> Is it reasonable to create a separate branch for a trivial fix, or should it be thrown in with some other related one?
[07:22] <spm> wgrant: i'd suggest perfectly reasonable - we used to do similar with our configs
[07:25] <thumper> jml: got a contributor agreement?
[07:25] <jml> thumper, I don't need one to run tests, do I?
[07:26] <thumper> no
[07:26] <thumper> just to land it :)
[07:26] <thumper> night all
[07:26] <wgrant> Night thumper.
[07:26] <jml> wgrant, so, if you want to get your patch landed, you have to speak with my manager, thumper, who'll arrange a contributor agreement :P
[07:26] <wgrant> I've signed one for LAZR, but I suppose I need another.
[07:27] <jml> thumper, g'night :)
[07:30] <mwhudson> i don't think the agreements are per-project
[07:30] <mwhudson> might be wrong there
=== Ursinha is now known as Ursinha-afk
[07:31] <stub> -o, --no_save Do not save shutdown state
[07:31] <stub> jml: What does that mean?
[07:31] <mwhudson> stub: you want -o
[07:31] <mwhudson> though with tac files it probably doesn't make any difference?
[07:31] <wgrant> -y implies -o
[07:31] <wgrant> So you don't need it.
[07:32] <mwhudson> tap files
[07:32] <jml> stub, back when tap files (pickled application objects) were all the rage, twistd used to save the state of the server as a pickle when it finished.
[07:32] <mwhudson> what a good idea they were
[07:32] <lifeless> \\\not///
[07:45] <noodles775> Morning
[07:45] <wgrant> Morning noodles775.
[07:45] <noodles775> Hiya wgrant :)
[07:49] <jml> wgrant, ok, those tests are definitely running
[07:49] <wgrant> jml: Excellent. Thanks.
[07:49] <jml> wgrant, you should get an email later this evening
[07:49] <jml> wgrant, np
[07:49] * jml is off for the evening
[07:50] <noodles775> wgrant: is that your first branch being tested? :)
[07:50] <noodles775> Night jml
[07:50] <wgrant> noodles775: It is!
[07:50] <noodles775> wgrant: Excellent stuff!
[07:51] <wgrant> The diff is much larger than I expected (due to test changes), but it worked eventually.
[07:51] * noodles775 looks for the MP
[07:52] <wgrant> No MP yet.
[07:52] <wgrant> https://code.edge.launchpad.net/~wgrant/launchpad/team-verbose-bugnotifications-bug-253788
[07:55] <noodles775> Looks like a nice clean chang!
[07:56] <noodles775> wgrant: have you had a chance yet to see the test factory? I noticed you've got some new sample data there (I didn't check, perhaps it was necessary?)
[07:57] <wgrant> Apart from the 840 lines of test changes...
[07:57] <wgrant> Test factory?
[07:57] <noodles775> wgrant: gee, I must have missed that revision (I was just checking revs through the web ui)
[07:58] <noodles775> wgrant: yeah, it's great! take a look at lp.testing.factory, you can use factory.makePerson etc.
[07:58] <noodles775> which means not having to update sample data all the time (and tests aren't dependent on sample data changes etc.)
[07:59] <wgrant> noodles775: Ah, useful.
[07:59] <wgrant> What defines whether I can write to a particular table in a test?
[08:00] <noodles775> wgrant: basically who you're logged in as... so in some tests you'll see "login('foo.bar@canonical.com')" to get admin access...
[08:00] * noodles775 looks for a good eg
[08:02] <noodles775> wgrant: lp/soyuz/browser/tests/archivesubscription-views.txt for a doc-test eg.
[08:03] <BjornT_> noodles775: actually, not really ;) that defines whether you can write to an object, not to a table. whether you can write to a table depends on which db user the test uses.
[08:03] <wgrant> Right, in this case it was a postgres permission denied.
[08:03] <wgrant> Nothing Zopey.
[08:03] <noodles775> BjornT_: Ah, misunderstood...
[08:04] <wgrant> What controls which user it runs as? Some tests must be able to write to person.
[08:05] <noodles775> BjornT_, wgrant : in which case, an example that I know of where I had to change db users is lp.registry.tests.test_distributionsourcepackage...
[08:05] <noodles775> See the call there to switchDbUser('karma')
[08:05] <wgrant> Ah, I see.
[08:06] <wgrant> And DB user privileges are defined in security.cfg?
[08:07] * BjornT_ would be more helpful if he wasn't enjoying his breakfast
[08:17] <noodles775> wgrant: sorry, lib/canonical/config/schema-lazr.conf matches the actual db usernames to those seen in switchDbUser().
[08:17] <wgrant> noodles775: Ah, thanks.
[08:19] <wgrant> http://www.canonical.com/contributors says I need to send my contributor agreement to kiko - is that right?
[08:21] <noodles775> wgrant: Yup, I guess so.
[08:22] <wgrant> I wonder if I do have to do it again...
[08:23] <noodles775> wgrant: just check with kiko later.
[08:24] <wgrant> noodles775: A good idea.
[08:29] <adeuring> morning
[08:29] <noodles775> Morning adeuring ;)
[08:29] <adeuring> hi noodles775 ;)
[08:52] <gmb> Morning folks.
[08:52] <Knut-HB> morning
[08:52] <noodles775> Morning gmb and Knut-HB
[09:08] <mrevell> Howdy open sourcers :)
[09:09] <wgrant> Evening mrevell.
[09:09] * wgrant just took his first bug.
[09:09] <mrevell> woo, cool
[09:11] <gmb> Hullo mrevell. Welcome back to a new, freedom-loving fold.
[09:11] <mrevell> gmb: Howdy
[09:12] <henninge> mrevell: Congratulations!
[09:13] <henninge> mrevell: and Welcome to the club ... ;-)
[09:13] <mrevell> thanks :)
[09:24] <bigjools> goooooooooood morning open sourcerers
[09:24] <noodles775> :) Hi bigjools
[09:28] <bigjools> Knut-HB: hello - how did your re-download go?
[09:30] <allenap> Morning mrevell!