/srv/irclogs.ubuntu.com/2012/10/04/#launchpad-dev.txt

* wgrant experiments with BranchRevision00:24
mwhudson\o/00:26
wgrantIt may not come out of this very healthily00:26
wgrantBut then again, neither may mawson...00:26
lifelessbai00:26
wgrantBye lifeless00:26
lifelesswgrant: can you give StevenK a hand on the jenkins thing?00:27
lifelesswgrant: I'd love to see it work :)00:27
wgrantI was intending to, yes :)00:27
wgrantStevenK: Shell pls00:27
wgrantStevenK: So, xvfb-run still won't start?00:47
=== matsubara is now known as matsubara-afk
StevenKwgrant: It didn't for me when doing it by hand00:48
wgrantLet me see00:48
wgrantStevenK: What are the creds for authing to the container?00:49
StevenKwgrant: jenkins@00:50
wgrantOh, right00:51
StevenKwgrant: I will usually sudo -u jenkins -i and go from there00:51
wgrantYep00:51
wgrantDo you normally hack the container's sudoers?00:51
StevenKI did yesterday00:51
StevenKBut not normally00:51
wgrantHm00:57
wgrantSo under xvfb-run it passes00:57
wgrantIn the root container00:58
wgrantSpews locale errors, but passes00:58
StevenKSigh, there are tests that insist that the Registered branches link doesn't show up if there aren't any01:00
StevenKWhich makes it the only link to do so, so I crippled that01:01
wgrantRight01:01
wgrantFix the tests :)01:01
wgrantOr, possibly better still, delete them.01:01
wgranttest: lib/lp/app/javascript/tests/test_multicheckboxwidget.html01:02
wgrantSegmentation fault (core dumped)01:02
StevenK\o/01:03
wgrantHm01:03
wgrantBut that same thing passes in the root container01:03
* wgrant blames aufs01:03
StevenKHaha01:04
wgrantaufs and I have history01:04
wgrantAh01:06
wgrantLooking at syslog, there are some instances of what look like the symlink/hardlink restrictions01:07
StevenKAh ha01:07
StevenKMmmm, how do we turn that off?01:07
wgrantWell01:07
wgrantI just had another failure and didn't get the same message01:08
wgrantAnd I don't actually know what the message was01:08
StevenKAh01:08
StevenK[1236262.033939] /usr/bin/python[15312]: segfault at 14 ip 00000000f5496411 sp 00000000ff8a7160 error 4 in libgtk-x11-2.0.so.0.2000.1[f5310000+3cd000]01:08
wgrantAh right01:09
wgrantdmesg is intact, indeed01:09
StevenKwgrant: Right, so all tests pass. I'm going to toss this FF death branch at buildbot01:09
wgrantSo it is the hardlink restrictions01:09
wgrantStevenK: Great01:09
wgrantlp-setup was meant to disable that restriction, I thought01:09
wgrantOr did we get a kernel fix that isn't in this ec2 image...01:09
wgrantthat would be pretty hilarious01:09
wgrantHm, the kernel's not even a month old01:10
wgrantYeah, the hardlink restrictions are still enabled.01:10
* wgrant disables01:10
StevenKIf you give me the runes, I can edit my setup script01:10
wgrantTesting that it stops segfaulting now01:11
wgrantIt's pretty nice of xvfb-run to just carry on even though its setup failed01:12
wgrantsuccessful: lib/lp/app/javascript/tests/test_multicheckboxwidget.html01:12
wgrantsudo sysctl -w kernel.yama.protected_nonaccess_hardlinks=001:12
StevenKHah, right01:12
wgrantis what you want01:12
wgrantSo, with that enabled, I'll shut down the containers and we can try a full --concurrency=401:12
StevenKYeah, I'll need to add the executor to Jenkins, so tell me when you're done01:13
wgrantStevenK: All torn down01:15
wgrantFire it up01:15
StevenKwgrant: Done. #1106 kicked off01:16
wgrantconcurrency=4?01:16
wgrantI don't want to wait all day, idaelly01:16
StevenKYeah, it's still 401:16
wgrantGreat01:17
wgrantThought it might still be down to 101:17
StevenKIt changed back days ago01:17
wgrantBetter safe than waiting for four hours :)01:17
wgrantStevenK: Have you restored subunit2junitxml etc. after the debugging?01:19
StevenKI have not01:19
wgrantk01:22
wgrantLet's see how it goes01:22
StevenKIt's fairly easy to restore and it only tells Jenkins which tests fail01:22
wgrantOh01:22
wgrantI can just tail the stream directly now01:22
wgrant:)01:22
StevenKHaha01:22
StevenKHow long did it take you to realise that? :-)01:23
wgrantew01:23
wgrantThere are jars in ~/launchpad/lp-branches01:23
wgrantdie01:23
StevenKThose are for jenkins, hands off01:23
wgrantI know, but still ew01:23
StevenKHaha01:23
StevenK~/launchpad/lp-branches is the base dir for jenkins, due to shared repo01:24
wgrantLaunchpad is a Java-free workplace :)01:24
wgrantAh01:24
StevenKBecause then it goes ahead with ~/launchpad/lp-branches/workspace/devel01:24
wgrantThis should take about 90 minutes, right?01:25
StevenKRoughly01:25
wgrantI guess it might be a bit longer, since the testrunners won't all drop dead when they start doing JS tests01:25
StevenKHaha01:25
StevenKwgrant: You said you understood the issue with bug 828133 ?01:31
_mup_Bug #828133: Archive:+edit-dependencies OOPSes when Ubuntu dependency changed via API <critical-analysis> <oem-services> <oops> <ppa> <Launchpad itself:Triaged> < https://launchpad.net/bugs/828133 >01:31
wgrantStevenK: Yeah01:31
wgrantStevenK: IIRC the UI only exposes None/multiverse options for the primary archive dep01:32
wgrantBut you can set eg. main through the API01:32
wgrantcausing the UI to crash when it tries to render the current value01:32
StevenKHaha01:32
wgrantbut reading the bug now to see if I remember anything else01:32
StevenKWhy would the UI do that? It's daft01:32
wgrantRight, yeah, what I said01:32
wgrantThe UI gives "the source's component in the primary archive" and "all components" options01:33
wgrantNone and multiverse respectively.01:33
StevenKRight, this should be pretty easy to test01:33
StevenK... unless Archive:+edit-dependencies is tested via a doctest ...01:34
wgrantStevenK: The jenkins console thingy will show stream bits if the subunit breaks, right?01:35
wgrantBecause testr will let it through01:35
StevenKI think testr will only show it right at the end01:35
StevenKIt doesn't seem to print out during01:35
wgrantAh01:36
wgrantNo subprocess deaths yet, anyway01:36
StevenKSigh, it's tested via two doctests01:36
StevenKWhich both make up 2000 lines01:37
StevenK:-(01:37
lifelessahoy there01:42
wgrantlifeless: Hi01:43
wgrantWe fixed Jenkins01:43
wgrantAnd found that Launchpad itself has more than 900 million branchrevisions01:43
wgrantThat about covers the horrors that you missed :)01:43
lifeless1billion!01:43
wgrantdollars, yes01:43
lifelesscool01:44
wgrantFlight not delayed by 12 hours yet?01:44
lifelessnot yet01:48
lifelesswhat was causing the segfaults ?01:49
StevenKhardlink restrictions01:49
lifelessorly01:50
lifeless-fun-01:50
wgrantYeah01:50
wgrantxvfb-run fails to start X properly01:50
wgrantSo it just continues01:50
wgrantWithout X...01:51
lifelessnice01:51
lifelessdid you file a bug ?01:51
wgrantWell, I'm not sure if it actually sees an error from the syscall01:51
wgrantIt probably does, but I'm waiting to see if the build succeeds first01:51
StevenK    ProgrammingError: permission denied for relation archivedependency01:56
StevenKAw fer ...01:56
StevenKwgrant: So I should add main/restricted/universe to the vocab as well?02:04
wgrantStevenK: Maybe.02:05
wgrantStevenK: How would the UI show that?02:05
StevenKHmmm02:05
StevenKThat is a good point02:05
wgrantYou could perhaps add an extra option if the component is set to an unsupported value02:05
wgrantLet any value be preserved by the UI, but not necessarily set02:05
StevenKRight02:06
StevenKI think I'm going to be forced to rewrite this doctest, it's annoying me.02:06
wgrantwallyworld_: I think your MP fixes bug #61839902:07
_mup_Bug #618399: DistroSeries:+nominations timeouts <bug-nomination> <lp-blueprints> <timeout> <Launchpad itself:Triaged> < https://launchpad.net/bugs/618399 >02:07
wallyworld_oh, ok. thanks02:08
wallyworld_i guess it does if it's not there anymore :-)02:08
wgrantRight, it's no longer going to call canApprove on 75 nominations02:09
wgrantBecause it doesn't need to decide whether to show the control :)02:09
wallyworld_yep02:10
StevenKI note Development:Coding has been wgrant'd02:11
StevenKIt doesn't help that wallyworld_ has 3 cards in Review02:12
wgrant3503073kB   369kB/s | Fetching revisions:Inserting stream:Estimate 2710795/279527702:13
wgrant<3 lp:chromium-browser02:13
lifelesswait, 3.5GB ?02:14
wgrantYes...02:14
lifelessbinary blobs in bzr?02:14
wgrantRecall that chromium includes all its deps02:14
wgrantIt's not much overhead, either02:14
wgrant2.9G/tmp/chromium-browser/.bzr/repository/upload/02:14
StevenKwgrant: Why are you branching it?02:15
wgrantTo perform a manual incremental scan02:15
wgrantTo unbreak the LP DB state02:15
wgranthopefully02:15
wgrantI could do it by manually hacking last-revision, but it's easier this way02:15
wgrantNot quicker02:15
wgrantBut easier..02:15
lifelessuhm02:16
lifelessso this is in the DC?02:16
wgrantNo02:16
lifelesswhy not branch --stacked; bzr push ?02:16
wgrantIt's local02:16
wgrantI need to be able to examine history to chunk it properly02:16
lifelessah02:16
lifelesswell, gl.02:16
wgrantI guess network latency in the DC wouldn't be too bad, though02:16
lifelesshey, its your internets quota.02:17
* bigjools strokes unlimited internets02:17
* wgrant strokes 500GB Internets02:17
* lifeless strokes it to the left02:18
* bigjools doesn't want to see a pelvic thrust02:18
StevenKI have 60GB, but that's peak. Off peak is unlimited.02:19
StevenKMy plan has been grandfathered about seven times and Exetel keep bugging me to switch02:19
lifelessStevenK: let me guess, you told them to stroke it ?02:20
StevenKLast time they rang me, I told them I'd think about it and get back to them.02:21
StevenKI did the first part for about a second and have yet to do the second.02:21
wgrantlifeless: Mmm02:23
wgrantlifeless: Aren't DB reviews different because they have a habit of being catastrophic and difficult to fix?02:23
lifelesswgrant: so entry to the club may be harder02:25
lifelesswgrant: only folk in the club can sign more folk in :)02:25
lifelesswgrant: we have a qa pipeline to catch gross problems02:25
wgrantTrue.02:26
lifelessok, flap flap02:30
wgrantOne of the slaves has finished02:37
wgrantNo errors, failures, or subprocess deaths :)02:39
StevenKThere's two slaves done02:42
wgrantthree02:42
StevenKThree02:42
StevenKHaha02:42
wgrantSo02:42
wgrantNow we just need to make sure result reporting works02:42
StevenKFour02:42
wgrantideally getting failure counts etc.02:42
LPCIBotYippie, build fixed!02:43
LPCIBotProject devel build #1106: FIXED in 1 hr 26 min: https://lpci.wedontsleep.org/job/devel/1106/02:43
wgrantThen we need a tarmac config and to tie up hloeung and spm next week02:43
wgrant:D02:43
StevenKRight, let me fix the script to tie subunit2junit back in02:43
wgrant5126232kB   665kB/s | Fetching revisions:Inserting stream:Estimate 2925464/303521502:43
wgrantI'm glad I didn't try to branch this on a FAT32 volume02:44
wgrant-rw-rw-r-- 1 wgrant wgrant 4439527424 Oct  4 12:43 /tmp/chromium-browser/.bzr/repository/upload/oclqmgbw90pn25rdjjp0.pack02:44
StevenKHaha02:44
StevenKwgrant: Right, done. Shall we force another build?02:44
wgrantStevenK: Do I have enough privs to examine the config?02:45
wgrantI'm going to compare it to buildbot and what I know about production02:45
wgrantSo we get something as close to prasé as possible02:46
StevenKI'm not sure02:46
StevenKTry? :-)02:46
wgrantI have a Build Now button02:46
StevenKhttps://lpci.wedontsleep.org/job/devel/ and 'Configure'02:46
wgrantBut not much else02:46
wgrantNo Configure link02:46
StevenKwgrant: http://pastebin.ubuntu.com/1259265/02:47
StevenKThat's what Jenkins runs02:47
StevenKBleh, this Archive:+edit-dependencies code is horrible02:48
wgrantAh02:48
wgrantSo the only big missing thing is the .testrepository preservation02:48
StevenKNah, it will be02:49
wgrant(that's init_testr.py)02:49
StevenKIt's ignored by bzr02:49
wgrantOh, will it?02:49
StevenKSo it won't get reverted out02:49
wgrantOh02:49
wgrantI see02:49
wgrantThat sounds sensible, then.02:50
StevenKAnd it will only run testr init if it needs to02:50
StevenKThe script might need fixing for parameterized builds but eh02:50
wgrantSo, fire off 110702:50
wgrantGreat02:51
wgrant+ [ ! -d .testrepository ]02:51
wgrant+ [ -d download-cache ]02:51
wgrantSo it is indeed preserved02:51
wgrantStevenK: You've added the sysctl call to the instance setup script?02:52
wgrantNot that it's relevant to production.02:52
StevenKI did02:52
StevenKI'm tempted to try a m2.4xlarge with concurrency 802:53
wgrantNot much point02:54
wgrantDoes the maas jenkins+tarmac stuff require parameterised builsd?02:54
StevenKwgrant: This bug is making me very sad.02:57
wgrantStevenK: https://wiki.canonical.com/UbuntuEngineering/QA/UnityAutolandingSetup02:59
StevenKOn jenkins create a freestyle job with 3 string parameters - dir, trunkrev and branch - this job will be duplicated and renamed for all the projects.03:01
StevenKSo yeah03:01
StevenKI suspect we only need branch03:01
wgrantThe pack is now 5.5GB...03:05
wgrantThis is a few times bigger than I expected03:05
wgrantGoogle, what have you done03:05
wgrantblargh what03:19
wgrantJUnit XML doesn't stream?03:19
wgrant:(03:19
wgrantStevenK: Has the test count graph disappeared because the last $LOTS runs didn't return any XML?03:34
StevenKwgrant: It has been streaming03:44
StevenKwgrant: The test count graph disappeared because I turned off that bit due to no XML.03:45
StevenKIt's back on for this build, so we'll see03:45
wgrant8.4GB of download later, it's finally building the tree03:50
wgrantRSS of 2GB, as well03:50
* StevenK stabs this bug03:50
* StevenK gives up and finds something that doesn't make him want to scream03:59
StevenKHmmm. A test for bug 1061374 might be complex04:12
_mup_Bug #1061374: PlainPackageCopyJob.attemptCopy() crashes if only binaries were copied <easy> <oops> <package-diff> <regression> <soyuz-core> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1061374 >04:12
wgrantStevenK: Not hugely04:28
wgrantPublish source in one pocket04:29
wgrantPublish that source + a new binary in a second pocket04:29
wgrantCopy from second to first04:29
wgrantboom04:29
StevenKwgrant: 25 line test, though ...04:34
wgrant:(04:37
StevenKNow 3004:38
StevenKHmmm, no boom04:40
StevenKwgrant: And see the graph is back is all its graphiness04:43
wgrantIndeed04:43
StevenKwgrant: So what is next for Jenkins?04:45
wgrantStevenK: A good question04:46
wgrantStevenK: Perhaps try setting up tarmac against qastaging or something, so we can know how it works?04:46
StevenKwgrant: I can set up a parameterized build while you tackle tarmac if you wish?04:47
wgrantStevenK: Sounds reasonable.04:54
StevenK(Pdb) p error_text04:56
StevenKu"copyme 2.8-1 in breezy-autotest (The signer of this package has no upload rights to this distribution's primary archive.  Did you mean to upload to a PPA?)"04:56
StevenKThanks for nothing, mr test04:56
StevenKcopyme 2.8-1 in breezy-autotest (No such distro series breezy-autotest in distribution ubuntutest.)05:05
StevenK:-(05:05
StevenKwgrant: I'm done. Do we have an LP branch on qas to test with?05:05
wgrantStevenK: Nothing that's reasonably up to date05:06
wgrantI'm trying to fight with Canonistack05:06
wgrantSince I only have 512Kbps upstream05:06
wgrantAh, it works now05:06
* StevenK is also wondering why breezy-autotest is the distroseries05:06
wgrantStevenK: It's in the PCJ JSON metadata, I believe05:08
wgrantIf you're using makePCJ then it probably defaults to it05:08
StevenKI'm using STP.getPubSource and friends, so I don't see why the copy is failing with no such series05:08
wgrantHow're you creating the PCJ?05:08
StevenKwgrant: http://pastebin.ubuntu.com/1259368/05:09
StevenKwgrant: Oh, blah, the branch doesn't need to be on qas. Something simple kicking around that isn't merged?05:10
wgrantStevenK: Oh, you just want to test the parameterised job now?05:10
StevenKRight05:11
wgrantA good start05:11
StevenKSee if it starts and then kill it05:11
wgrantlp:~wallyworld/launchpad/dynamic-bug-listing-nominations2-106001505:11
LPCIBotProject test-branch build #1: FAILURE in 7.6 sec: https://lpci.wedontsleep.org/job/test-branch/1/05:12
StevenKHeh heh05:13
StevenK+ bzr merge http://bazaar.launchpad.net/~wallyworld/launchpad/dynamic-bug-listing-nominations2-106001505:13
StevenKbzr: ERROR: No WorkingTree exists for "file:///home/jenkins/launchpad/lp-branches/workspace/test-branch/.bzr/checkout/".05:13
StevenK:-(05:14
LPCIBotProject test-branch build #2: ABORTED in 3 min 48 sec: https://lpci.wedontsleep.org/job/test-branch/2/05:19
LPCIBotProject test-branch build #3: ABORTED in 31 sec: https://lpci.wedontsleep.org/job/test-branch/3/05:20
wgrantDid it work?05:20
StevenKYes05:20
StevenKcopyme 2.8-1 in breezy-autotest (source has no binaries to be copied)05:22
StevenKLIES!05:22
wgrantThe binaries are in the wrong pocket.05:22
StevenKSilence.05:23
StevenKBut thanks.05:23
StevenKwgrant: Same message :-(05:26
wgrantpaste test05:26
wgrantWrong archive?05:26
StevenKwgrant: http://pastebin.ubuntu.com/1259385/05:27
wgrantWrong archive.05:27
StevenKPutting archive=archive into getPubBinaries changes nothing05:27
wgrantHm05:27
wgrantHave you checked that it actually creates any binaries?05:27
wgrantRemember that it respects createMissingBuilds05:27
StevenKHmmm05:28
StevenKIt returns two BPPHs05:28
wgrantpdb05:29
wgrantcompare the BPPHs and SPPH05:29
wgrantCheck that SPPH.getBuiltBinaries() returns something useful05:29
wgrantThat's what the copier uses05:29
wgrantIt should return a BPPH for every distinct BPR built from that source and published in the same suite and archive05:30
StevenK[<BinaryPackagePublishingHistory at 0x10a747d0>]05:30
wgrantOh05:30
wgrantHeh05:30
wgrantIt's picking the wrong SPPH05:30
wgrantUm05:30
wgrantYou need to create them the other way around05:30
wgrantCreate the target source first05:30
wgrantWe ran into this this morning05:31
wgrantIt determines the source by a simple key of (archive, name, version)05:31
wgrantNo suit05:31
StevenKHahaha05:31
wgrantSo it just takes the latest05:31
StevenKcopyme 2.8-1 in breezy-autotest (a different source with the same version is published in the destination archive)05:32
StevenKBleh05:32
wgrantMake sure it's the same SPR05:32
wgrantIt may be better to use the factory here05:32
wgrantSince you really only need one binary05:32
StevenK(Pdb) s05:37
StevenKForbiddenAttribute: ('sourcepackagerelease', <BinaryP...106b7150>)05:37
StevenKBoom05:37
wgrant:)05:37
StevenKBut the test passes05:37
wgrant:(05:37
StevenKwgrant: It's been a while since I used STP, I forgot that getPubSource is jealous of any other SPR and will create one everytime05:38
wgrantYes05:39
StevenK                # Otherwise, rely on the job runner to do the final commit,05:40
StevenK                # and do not consider a failure of a copy to be a failure of05:40
StevenK                # the job.05:40
StevenKHmmm05:40
StevenKSo if runJob doesn't blow up, how can I die?05:40
wgrantHm05:40
wgrantYou might have to get the exception from elsewhere05:40
StevenKLike where, though?05:41
wgrantWhere'd you get it before?05:42
wgrantIn pdb?05:43
StevenKYeah05:43
StevenKHm, but run re-raises it05:43
StevenKRight, test fails05:46
StevenKreference = <DBItem JobStatus.COMPLETED, (2) Completed>05:46
StevenKactual    = <DBItem JobStatus.FAILED, (3) Failed>05:46
StevenKwgrant: How is tarmac?05:48
wgrantNearly working05:48
wgrantNot talking to jenkins yet, but it seems to be otherwise OK05:48
StevenKI think this branch is done too05:49
StevenKJust seeing if test_pcj works05:49
wgrantAh05:59
wgrantbzr is happier with lp://qastaging URLs when upgraded to a version from after qastaging was created, it turns out06:00
StevenKHahaha06:00
StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/attemptcopy-no-source/+merge/12793206:01
StevenKBecause wallyworld_ and Soyuz == unhappy Ian06:01
wallyworld_:-)06:02
StevenKHahah, Deployment:Ready is quite scary06:04
wgrantStevenK: Did you consider ignoring STP entirely?06:07
wgrantAlso, it might be nice to check for pending publications afterwards06:08
wgrantTo confirm that it indeed only created a single new BPPH, and no SPPH06:08
wgrantBecause if it created an SPPH (eg. because overrides happened to differ), the test is invalid.06:08
StevenKwgrant: To be honest, the test was cargo-culted06:08
* StevenK looks for the IArchive method06:09
StevenKOh, it's on DistroSeries. Sneaky06:12
wgrantUse the one on IArchive06:12
wgrantgetPublishedSources and getPublishedOnDiskBinaries, IIRC06:12
wgrant(the latter is exposed as just getPublishedBinaries to the API)06:12
StevenKWhy not IDistroSeries.getPendingPublications() ?06:13
wgrantOh06:13
wgrantIs that the one that's used by publish()?06:14
wgrantIf so, that works.06:14
wgrantYou'll probably also need DAS.getPendingPublications() too, though06:14
StevenKOh bleh, I was wanting one call!06:14
wgrantYou can't have one call06:14
wgrantYou can have two calls, though06:14
wgrantBy using getPublishedSources/getPublishedOnDiskBinaries on Archive06:15
wgrantRather than digging out the DAS and calling stuff on that and hoping you get the right one.06:15
StevenKRight06:15
StevenKYeah, I just saw IDistroSeries.getPendingPublications will only return sources and thought, "Oh bleh I don't want to dig up the DAS."06:16
wgrantI fear that mawson may have aspirations of being Deep Thought.06:26
StevenKHaha06:26
wgrantIt's been chewing on this query for more than 5 hours06:26
StevenKwgrant: http://pastebin.ubuntu.com/1259441/06:27
wgrantStevenK: I'd drop the name/pocket restrictions06:32
wgrantStevenK: You should be working in a clean archive anyway06:32
StevenKwgrant: Done, anything else?06:34
wgrantDoes the test pass?06:34
StevenKYes06:34
wgrantThen that looks reasonable. Push and I'll check and approve.06:34
wgrantEvening lifeless06:34
wgrantWelcome to the right side of the world06:34
StevenKwgrant: Tarmac? I say, hopefully06:35
wgrantHeh06:35
wgrantStill trying to coerce qastaging into not timing out on branch scans06:35
wgrantSince Tarmac relies on branch scans06:35
StevenKHah06:35
StevenKwgrant: Diff updated06:39
wgrantStevenK: Hm, you're still using STP and specifying some args you don't care about, but I guess it's not too bad.06:40
StevenKwgrant: Did you want to stop using STP?06:41
StevenKwant me, even06:41
wgrantSTP is terrible and unnecessary here06:41
wgrantLOF should be a pretty trivial replacement06:41
wgrantAnd end up slightly shorter.06:42
wgrantStevenK: Can you give me Jenkins superpowers so I can try to configure an auth key and stufF?06:45
StevenKI was trying to avoid that :-P06:46
wgrantCan I have an auth key for the job, then? :)06:47
wgrantMerging lp://qastaging/~me+testing/launchpad-tarmac-test/omg into lp://qastaging/~me+testing/launchpad-tarmac-test/tarmac-trunk is ignored: The Jenkins server https://lpci.wedontsleep.org/job/test-branch is not reachableHTTP Error 403: Forbidden.06:47
StevenKwgrant: You have superpowers06:48
wgrantThankyou sir06:48
nigelbStevenK: Didn't he already have them? :)06:48
StevenKNope06:48
StevenKOnly me, and lifeless from yesterday06:48
nigelbah06:49
StevenKwgrant: LOF now results in a failing test06:50
StevenKAnd it's as slow06:51
wgrant:(06:51
StevenKOh, no, it's 0.3 seconds faster06:51
StevenKBut it fails :-)06:51
wgrantIt fails because you're calling it incorrectly :P06:51
StevenKmakeBPPH(status=PackagePublishingStatus.PUBLISHED, pocket=PackagePublishingPocket.UPDATES, archive=archive,06:52
StevenKsource_package_release=spph.sourcepackagerelease)06:52
StevenKThat should be fine ...06:52
wgrantdistroseries06:53
StevenKmakeBPPH wants a DAS06:53
StevenKAnd I didn't want to look that up, remember?06:53
wgrantHm, I thought it would take a DS and automatically make a DAS06:54
StevenKIt doesn't take a DS argument, no.06:55
wgrantAh06:55
wgrantThis Unity Tarmac fork is a bit special06:56
* StevenK makes a DAS06:56
StevenKwgrant: How so?06:56
wgrantStevenK: Well, you know how the document passed a dir= arg?06:56
wgrantWhich didn't seem to make much sense...06:56
StevenKOh06:57
StevenKIt's asuming tarmac and jenkins on the same machine?06:57
wgrantIt assumes that Tarmac and the Jenkins slave are on the same FS06:57
wgrantYeah06:57
wgrantFixing06:57
StevenKwgrant: Still a failure with passing a DAS06:57
wgrantStevenK: What's the failure?06:58
StevenKNo PENDING binary06:58
wgrantThe DAS is in the right DS?06:58
StevenKdas = self.factory.makeDistroArchSeries(distroseries=self.distroseries)06:58
wgrantIf so, paste it and I'll poke it with a stick06:58
StevenKOh, I bet I know what it is06:59
StevenKYeah07:01
StevenK 1 file changed, 9 insertions(+), 9 deletions(-)07:01
StevenKNot shorter too07:01
wgrantBut significantly less 200507:01
StevenKYeah, it's 2006 now07:01
StevenKwgrant: Diff updated again07:05
wgrantStevenK: r=me with a trivial comment07:08
wgrantThanks07:08
StevenKTarmac!07:08
StevenK:-)07:08
wgrantJust tweaking the Jenkins job...07:08
StevenKwgrant: Right, I did consider that, but I have to pass them to the job creation07:09
wgrantStevenK: Oh, that's a good point and I'm stupid07:09
wgrantCarry on :)07:09
StevenKAnd spph.sourcepackagename and spph.source_package_version are long07:09
StevenKwgrant: Tweaking how?07:10
wgrantAdding a revid07:10
wgrantUnity (and probably MAAS) use it rather strangely07:10
StevenKI was assuming tip07:11
wgrantThey use Tarmac's staged tree with trunk + uncommitted merge07:11
wgrantPass that tree to the Jenkins job07:11
wgrantAnd branch= is set to the packaging branch, to additionally merge in I guess.07:11
StevenKYeah07:11
wgrantJenkins is careful about using a revision ID07:11
wgrants/Jenkins/tarmac/07:11
wgrantI wonder how much chaos I can cause with a crafted revid...07:12
StevenKThat's one reason I ignored revid07:13
StevenKwgrant: Your changes look pretty good07:15
* wgrant crosses fingers07:22
StevenKShould I be seeing a build?07:25
wgrantOnce I actually fix it to not crash07:25
wgrantAha07:25
wgrantI see a build07:25
LPCIBotProject test-branch build #4: STILL FAILING in 19 sec: https://lpci.wedontsleep.org/job/test-branch/4/07:26
wgrantStarted by remote host 127.0.0.107:26
wgrantorly07:26
StevenKBang07:26
wgrantAh, source URL is none07:26
wgrantodd07:26
wgrantOh07:26
LPCIBotProject test-branch build #5: STILL FAILING in 10 sec: https://lpci.wedontsleep.org/job/test-branch/5/07:29
wgrantHeh07:30
wgrantThis is why we don't use string formatting to construct URLs.07:30
StevenKlp://qastaging/~me testing/launchpad-tarmac-test/omg07:30
StevenKHahahahaha07:30
wgrantNot dead yet...07:34
StevenK M  COPYING07:35
wgrantAnd it has the branch merged07:35
StevenKHaha07:35
wgrantYeah07:35
StevenKWhat's the diff? :-)07:35
wgrant-See the file LICENSE for copyright information.07:35
wgrant+It's all mine.07:35
StevenKHahaha07:36
StevenKI really do need to talk to your mother about sharing.07:36
wgrantI didn't notice a timeout, so I wonder if it'll wait long enough...07:36
LPCIBotProject test-branch build #6: ABORTED in 2 min 15 sec: https://lpci.wedontsleep.org/job/test-branch/6/07:36
StevenKBlink. Was that you?07:36
wgrantYes07:36
wgrantGoing to trim the actual test step off07:37
wgrantAnd retry07:37
StevenKHeh07:37
wgranthttps://code.qastaging.launchpad.net/~me+testing/launchpad-tarmac-test/omg/+merge/94324 has some helpful comments07:37
StevenKwgrant: How different is this Unity one from upstream?07:37
wgrantIt might just have the extra plugin, but I'm not sure07:37
LPCIBotProject test-branch build #7: STILL FAILING in 18 sec: https://lpci.wedontsleep.org/job/test-branch/7/07:39
StevenKYeah, you can't do that.07:40
wgrantI touched it07:40
wgrantShould work now07:40
StevenKIn the build step? Naughty07:40
LPCIBotProject test-branch build #8: STILL FAILING in 18 sec: https://lpci.wedontsleep.org/job/test-branch/8/07:40
StevenKHahaha07:41
wgrantI'm confused07:41
wgrantAll the file's timestamps are within the last 5 minutes07:42
adeuringgood morning07:42
StevenKwgrant: It said 46 seconds ago07:43
StevenKI think you'll need to touch it in the build step07:43
wgrantOh, was looking at wrong log, indeed07:43
StevenKOr just remove that post build action07:43
wgrantBut that's more annoying to revert07:44
StevenKNot really07:44
LPCIBotYippie, build fixed!07:44
LPCIBotProject test-branch build #9: FIXED in 23 sec: https://lpci.wedontsleep.org/job/test-branch/9/07:44
wgrantHm, taking its time to push07:45
StevenKOr not pushing at all07:46
wgrantIt is pushing07:46
wgrant17MB so far07:46
wgrantNot sure why07:46
StevenKNo stacking?07:46
wgrantIt is stacked07:46
wgrantAnd it's allegrdly done07:47
wgrantYay07:47
wgrantIt worked07:47
wgranthttps://code.qastaging.launchpad.net/~me+testing/launchpad-tarmac-test/tarmac-trunk07:47
StevenKNeat07:48
StevenKCan I destroy the executor now?07:49
wgrantSurew07:49
lifelesso/07:59
wgrantHi08:00
lifelessreview plox - https://code.launchpad.net/~lifeless/python-timeline/bug-891989/+merge/12795108:00
wgrantStevenK: Most of Unity's changes are irrelevant, and the Jenkins plugin needs a bit of a rewrite.08:09
wgrantMight make a proper branch (extending lp:lp-tarmac-config, perhaps) tomorrow08:10
StevenK\o/08:12
StevenKr=IRC Nick would be a neat trick, too08:12
wgrantlp:lp-tarmac-config takes a different approach08:12
wgrantIt just matches the usual commit regexp08:12
wgrantSo you have to put [r=] etc in yourself08:12
wgrantWhich is not ideal, but we could always autogenerate.08:13
wgrantBut then no-qa becomes hard08:13
StevenKRight08:14
StevenKThat would work08:14
lifelesswgrant: StevenK: please?08:19
lifelessciao for now08:20
StevenKlifeless: r=me08:20
StevenKAnd now for some DXHR08:20
bigjoolswgrant: do you know if there's a gotcha amending system .py files used in a wsgi app?10:34
wgrantbigjools: Amending how?10:35
wgrant"system" maening "packaged"?10:35
bigjoolsyes10:35
bigjoolshacking in some logging10:35
bigjoolsmy changes aren't being used10:35
wgrantMake sure you get the right copy10:35
bigjoolshaha10:36
wgrantAre you using dh_python2, python-support, python-central..??10:36
bigjoolsdh10:36
wgrantI assume dh_python2, given you're only >=precise10:36
wgrantbigjools: Which file are you editing?10:37
bigjoolsthere is only one maas/settings.py on here and the .pyc happily sits there not updated10:37
wgrantThe pyc won't be updated, as it's root-owned10:37
wgrantBut Python should ignore it if the .py's mtime is newer10:37
bigjoolsright10:38
wgrantdh_python2 symlinks, rather than the traditional copying around that python-support and python-central did, so there should only be one copy10:38
* bigjools inserts deliberate syntax errr10:38
wgrantBut perhaps your settings.py is magical?10:38
wgrantHeh10:38
bigjoolsaha10:39
wgrantGood aha, or bad aha?10:40
bigjoolswell it proved it's picked up changes10:40
wgrantAh10:40
wgrantYeah, dh_python2 makes it pretty hard to get wrong10:41
abentleyderyck: This looks broken to me, because I can't add myself to proprietary , even though specs default proprietary.: https://qastaging.launchpad.net/bzrtools/+sharing13:18
abentleyderyck: Aah, I just "fixed" it by making bugs proprietary.13:19
deryckabentley, but still there's a bug there, right?  you should be able to do so with just specs being proprietary, right?13:21
abentleyderyck: right.13:21
deryckabentley, will you file a bug about that?  And add a card to the beta lane?13:21
abentleyderyck: sure.13:21
deryckabentley, thanks!13:22
=== jcsackett changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: jcsackett | Firefighting: - | Critical bugs: ~300
rick_h_jcsackett: if you get a sec please https://code.launchpad.net/~rharding/launchpad/fix_banner_cleanup/+merge/12802614:26
jcsackettrick_h_: r=me.14:59
=== jml` is now known as jml
abentleyjcsackett: Could you please review https://code.launchpad.net/~abentley/launchpad/info-type-app-config/+merge/128064 ?16:54
jcsackettabentley: sure.16:55
jcsackettabentley: the MP is showing you have a text conflict.16:55
abentleyjcsackett: It's just duelling insertions.16:56
jcsackettabentley: e.g. you intend to keep all code in the TREE and MERGE-SOURCE bits?17:04
abentleyjcsackett: Yes.17:04
jcsackettabentley: ok. r=me.17:04
=== deryck is now known as deryck[lunch]
rick_h_abentley: ping, have a sec?18:00
abentleyrick_h_: pong.18:44
rick_h_abentley: hey, I think jcsackett has me ok atm. At least more to dig into. Trying to get the right .pt for hte right context/project/product18:47
abentleyrick_h_: Cool.  Sorry, I had a late lunch.18:47
abentleyrick_h_: The only remaining alpha card is "Add information type to ProjectGroup $project/+newproject" so I'll take it, unless you've started.19:05
rick_h_abentley: no, I was going to ask though since I thought it was said we didn't want to add information type to projectgroup?19:06
abentleyrick_h_: This is about creating products from a projectgroup page.19:06
rick_h_abentley: ah ok, so not the projectgroup itself, gotcha19:07
rick_h_abentley: have time to do a quick hangout?19:25
abentleyrick_h_: sure.19:25
=== Ursinha_ is now known as Ursinha
abentleyrick_h_: I got it working by disabling your IProductSet checks.  Do you remember what those are for? http://pastebin.ubuntu.com/1260787/20:41
sinzuijcsackett, do you have time to review a quick fix to not show bug listings if the project does not use Lp to track bugs? https://code.launchpad.net/~sinzui/launchpad/external-bug-tracker/+merge/12811421:07
jcsackettsinzui: absolutely.21:08
jcsackettsinzui: out of curiosity, do you have a credit of 3000+ lines as of this week, or have you earned 3000+ lines in this week alone? :-P21:11
sinzuigood question. I must confess I was guessing at 300021:11
sinzuiI may have 4.5k to 521:11
sinzuido you hate me?21:12
sinzuijcsackett, I gave wallyworld_ a pointer to two files in utilities that would give him -2500, but he has not use it21:13
jcsackettsinzui: i don't hate you, just impressed. :-P21:13
jcsacketti am not bitter about the LoC req. just occasionally inconvenienced.21:13
jcsackettsinzui: i may well use those utilities changes if he doesn't though.21:13
sinzuijcsackett, formatdoctest.py is shipped with pocket-lint. we don't needed it.21:14
abentleysinzui: ISTM that if we want to reduce LOC, then LOC credit should decay.  But that does incent people to not remove LOC until they need credit.21:14
sinzuialso we don't use the porn report anymore, so you can delete the xxxreport.py21:14
jcsackettabentley: that's a thought. there's also the fact that we seem to use raw line counts, and whitespace/comments probably shouldn't count.21:15
sinzuiabentley, it gets reset. Francis had Purple's LoC reset when we returned to maintenance21:15
abentleysinzui: Oh.21:15
jcsackettsinzui: r=me, though there is a typo to fix.21:15
abentleysinzui: So you were counting LOC for work on private projects?21:16
abentleyor disclosure, etc?21:16
abentleyActually, I think we want an incentive to maximize our LOC credit.21:17
cjwatsonView it as a way of keeping score, not as currency to spend?21:17
sinzuiabentley, we are damned if we do, though three of us have credits of about 40,000, the other two have 70,000. sharing + pickers + privacy-transitions added 30k21:17
sinzuiI don't think the deletion of BVP and bug subscription rules will amount to 30k21:18
wallyworld_sinzui: i haven't done those files yet, but it's on my todo list21:41
sinzuiwallyworld_, I hope the file a pastebin works for you21:44
abentleyderyck: This code appears to have no effect (does not set default): self.widgets['information_type'].value = InformationType.PUBLIC21:45
sinzuis/a pastebin/i pastebined/21:45
wallyworld_sinzui: the chrome certificate issue is fixed, yes :-) \o/21:46
deryckabentley, did I write that?  Or can you give me a larger snippet for context?21:46
abentleyderyck: I thought it was from your branch yesterday, but I was wrong.21:49
=== jcsackett changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: ~300
StevenKwallyworld_, wgrant: https://code.launchpad.net/~stevenk/launchpad/destroy-dsp_picker-ff/+merge/12813823:25
wgrantAlready looking :)23:26
wgrantStevenK: r=me23:28
StevenKHahah and wallyworld_ approved too23:30
wgrantHm23:34
wgrant14 Fix Committed criticals23:34
wgrantThat may be a record since the new definition began23:35
wallyworld_doh, bb failure23:43
* wallyworld_ fixes23:43
StevenKBah, did I just hit testfix?23:44
lifelessoh noes :P23:45
StevenKYes!23:45
StevenKIt's such a large problem that I'm going to destroy testfix entirely23:46
sinzuiwgrant, jcsackett sanitised the name because zope's traversal see the ? or the escaped ? and strips it. The librarian does have the name, Lp's own code does not23:56
wgrantNotFound: Object: <lp.services.webapp.publisher.RootObject object at 0x968d82c>, name: u'foo?'<br />23:57
wgrantZope sees it fine, hm23:57
wgrantI wonder if it may be our Apache config23:59
wgrantSince it works fine on launchpad.dev23:59
wgrantWithout jcsackett's branch23:59
StevenKIs this the bug attachment with a ?23:59

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