/srv/irclogs.ubuntu.com/2011/02/15/#bzr.txt

=== Ursinha is now known as _starbuck-gone
* poolie reads eric's patch05:05
=== AfC1 is now known as AfC
pooliehi spiv?05:49
spivHi poolie05:50
pooliehey, how are you?05:52
spivA bit thwarted; it turns out I still haven't got a local reproduction of bug 653307 yet after all.  And earlier today I thought it might be interesting to quickly try make a small update to one of the lpstats graphs and didn't find the relevant code/branch among those listed in the wiki.05:55
ubot5Launchpad bug 653307 in Ubuntu Distributed Development "Import fails with missing referenced chk root keys" [Critical,In progress] https://launchpad.net/bugs/65330705:55
spivSo I set my sights a bit lower for today and have bzr-usertest passing tests again and my old outstanding network-suite branch merged with current trunk, and about to see if it still does what it's supposed to.05:56
pooliehm, i think you want lp:tuolumne-lp-configs05:57
pooliei'm doing some low fruit in kanban at the moment05:57
poolietrying to get it running more frequently and faster05:57
poolieah i saw some action there05:57
spivThat's what I thought, but I don't see any sign of the CodehostingConnections stats in there.05:57
poolieit would be nice if it was easy to reproduce05:57
pooliei guess you'd have to ask a losa where it's configured06:00
pooliepossibly actually tom06:00
poolieit might be injected into the database by some other means06:00
spmhm?06:00
spiv(I did at least confirm that graphs for longer time periods will show misleadingly shallow spikes for brief-but-high spikes because it just collapses multiple data points to the mean)06:01
pooliespm, do you know where the code that injects CodehostingConnections into tuolumne is?06:01
poolieand hi!06:01
spmah. the collection script probably isn't publically available.06:01
spmheh, heya06:01
spmit's pretty simple, one sec, will paste.06:01
spmspiv: https://pastebin.canonical.com/43318/06:03
vilahi all !07:51
=== gthorslund_ is now known as gthorslund
=== zyga-afk is now known as zyga
mneptokWhen the light of life has gone, no change from the meter. Then the King Of Spivs will come, seeling blood by the liter.08:54
vilamneptok: should mention a goat or two when summoning like that ?09:08
mneptokvila: do you have something against goats? why would you subject them to that?09:10
vilamneptok: nothing against, quite the contrary, they work far better than chickens for my needs09:11
mneptokvila: and last i knew, due to problems at an All-Hands in 2006, Canonical has a "no goats" policy.09:11
vilaoooops, I wasn't aware of this policy, damn09:12
mneptokmaybe they'll change it now that both Keybuk and i are gone.09:12
vilasounds more like it ;)09:14
pooliehi vila09:19
vilapoolie: hey !09:20
pooliethanks for your mail09:20
vilahmm, which one ?09:20
poolie'wheezy inhaling'09:20
poolienice title09:20
mrevellMorning09:20
vilaOh, you already got it, cool09:20
pooliethanks for putting a summary at the top too09:20
vilahehe09:20
poolieit would have been a wee bit better if the summary had said what the bottom line was09:20
pooliejust as an idea for next time09:21
poolieie "we're all done"09:21
vilahaha, of course ;)09:21
poolieor we're not?09:21
vilawell, yeah, we're done for wheezy09:21
pooliei wasn't totally clear09:21
poolieok09:21
vilawe didn't significantly regress on the number of failures, so it's a nice result09:22
=== elmo_away is now known as elmo
vilapoolie: I also submitted the script I used to analyze the logs09:22
vilawell, almost all logs, 28 with one being 5GB uncompressed and one being 300M compressed09:23
vilaI couldn't uncompress the 300M one but both of them contain mostly 'still active' spam so hopefully nothing valuable was lost09:24
vilawell, not lost, just not usable so far09:24
vilanow I can resume my work on making the p-i more robust and mail the list about that and some related ideas (working on it right now)09:26
vilapoolie: wgrant also mentioned one branch (can't remember which) still using rich-root-pack instead of 2a09:36
vilapoolie: the branch is probably broken on lp at this point after a failed attempt to stack09:37
pooliek09:37
wgrantpoolie, vila: xserver-xorg-video-voodoo09:42
vilaright !09:42
vilawgrant: can you file a bug for it ?09:43
wgrantI'm not entirely sure if it's a bug.09:43
vilawell, leaving a broken branch on lp is one ;)09:44
lifelesswe need to upgrad them all09:44
wgrantvila: Which logs from jubany are useful?09:45
wgrant/srv/package-import.canonical.com/new/logs, but do we also want /srv/package-import.canonical.com/new's old logs?09:45
vilaECONTEXT09:46
wgrantvila: I filed an RT asking for them to be synced to devpad so launchpadders can see them.09:47
wgrantBut I have been told that /srv/package-import.canonical.com/new has some logs, and asked if we want them too.09:47
vilawgrant: I haven't looked into the new/logs ones, the ones in new itself are related to the controller09:47
vilayup09:47
wgrantOK, thanks.09:48
vilathe ones in new/logs are by package09:48
wgrantRight.09:48
=== _starbuck-gone is now known as _starbuck
=== oubiwann_ is now known as oubiwann
pfarrellhello! I'm using bzr-svn so that I can use bzr with my group's svn repository12:59
pfarrelllately when I try to bzr up, I get --12:59
pfarrellbzr: ERROR: checksum mismatch: '883d0c2e655f3ad55a1c069193827fff' != 'eb7cf436745e9c4265dcfad3365a8552' in trunk:1547513:00
pfarrellany ideas what on earth it could be, or how I could go about debugging it?13:00
jelmerpfarrell: what version of bzr-svn are you using?13:31
pfarrellthe one in ubuntu maverick (1.0.3)13:31
jelmerpfarrell: there's an open bug report about that issue13:32
jelmerincluding a workaround, but that requires upgrading to a newer version of bzr-svn13:32
pfarrellapologies, I know I should have looked; I was lazy13:32
pfarrellok .. I guess I'll just use svn for now13:33
maxbYou could try the ~bzr PPA for newer versions13:34
maxbjames_w: Hello, I was hoping to ask you a question about bzr-builddeb. The following revision seems bogus: http://bazaar.launchpad.net/~bzr-builddeb-hackers/bzr-builddeb/trunk/revision/482 - given that 2.6 is tagged and uploaded to Debian and Ubuntu.13:54
james_wit does13:54
maxbAre you fine with simply reverting that, then?13:56
james_wmaxb, sure13:58
vilajames_w, maxb: As long as the info.py get updated too :)14:23
=== zyga is now known as zyga-afk
* maxb lols at vila's subject line to u-d-d@14:32
vila:)14:37
james_wvila, nice investigations, thanks14:53
vilajames_w: thanks for leaving us a robust tool to play with ;)14:54
james_wvila, you said that spm restarted the importer at one point, why was that?14:55
viladidn't I mentioned the bug # ?14:55
vilabug #71919614:56
ubot5Launchpad bug 719196 in Ubuntu Distributed Development "ImportDriver should wait between ThreadedImporter spawns" [High,Confirmed] https://launchpad.net/bugs/71919614:56
vilajames_w: at least that's what I suspect so far14:57
james_wah14:57
vilajames_w: a bit surprising but race conditions... are so shy sometimes14:57
james_wI missed the connection14:57
vilaha, damn, I didn't mention the log excerpt, just a sec14:59
vila2011-02-13 19:56:59,671 - __main__ - CRITICAL - Driver hit database is locked15:00
elmoI'm going to ask a random paramiko question here, because I suspect someone will know.. exec_command() appears to be 'ssh foo.example.com bar', what's the equivalent of 'echo bar | ssh foo.example.com' in paramiko?15:00
vilaelmo: bzr use exce_command() :-}15:03
vilaelmo: I'm not even sure I understand how 'echo bar | ssh foo.example.com' would work in paramiko speak... this reminds me of the infamous XXX in bzrlib.tests.test_transport.TestSSHConnections...15:07
vilai.e. you need to do the plumbing yourself around the paramiko channel15:08
elmovila: yeah, I'm trying that now15:09
elmovila: thanks15:09
vilaelmo: try again later with spiv, I only slightly changed this test15:11
vila(but banged my head on paramiko doing so...)15:12
vilajames_w: so the exception is stringified and traceback lost but, as said in the bug, I suspect a race condition15:12
vilameh, a race condition when spawning the imports15:13
james_wvila, sounds reasonable15:14
james_wvila, we should probably change it to not lose the traceback too15:14
vilathat too...15:14
vilajames_w: bug update15:15
vilad15:15
=== zyga-afk is now known as zyga
=== deryck is now known as deryck[lunch]
=== beuno is now known as beuno-lunch
=== deryck[lunch] is now known as deryck
thropei just installed bazaar windows standard installer on windows 2008 server but it doesnt work well17:59
thropeit is impossibly slow17:59
thrope(~1min to open bzr explorer)17:59
thropeabout 5 mins after log in the explorer extensions show up17:59
thropebut dont do anything17:59
thropeoh no they do - it just takes 2-3minutes for the checkout box to pop up18:00
thropeis there anything I can do about this?18:00
vilathrope: since this does not really match feedback from other windows users, you probably have a setup problem...18:01
thropewhen I select checkout from the menu I see a tbzrcommand.exe process start with about 2MB18:01
thropethe memory usage slowly grows to about 2018:01
thropethen the window pops up18:01
vilathrope: it could be a anti-virus being overzealous, I'm not a windows expert though18:01
thropebut it is not even writing any files yet - this is just opening the dialog18:02
vilaha, I'm not sure the usual windows suspects are around, you'd better file a bug report against tbzr18:02
vilathrope: https://launchpad.net/tortoisebzr/+filebug18:03
thropeok thanks18:03
vilathrope: be sure to mention the version you're using and search around for a .bzr.log file18:03
vilathrope: 'bzr version' should tell you where to find it18:04
=== tomaw is now known as 5EXAB34GN
=== 5EXAB34GN is now known as tomaw
=== deryck_ is now known as deryck
=== beuno-lunch is now known as beuno
=== thrope_ is now known as thrope
=== _starbuck is now known as _starbuck-bbl
=== idnaria is now known as idnar
=== lamont` is now known as lamont
=== lifeless_ is now known as lifeless
=== lamont` is now known as lamont
pooliestefanlsd, hi?21:35
thumperhi21:36
thumperI have a custom virtual transport21:36
pooliehi jam21:36
pooliehi thumper21:36
thumperwhich is supposed to implement all the public transport methods21:36
jammorning poolie21:36
thumperbut I have a feeling it doesn't21:36
thumperand when I tried to do bzr info -v over the transport, it barfed at me21:37
thumperhow can I test my virtual transport to make sure it does implement all the expected methods?21:37
pooliedo you get a traceback?21:37
poolierunning it through per_transport tests ought to do that21:37
pooliehowever it's possible info requires something the tests treat as optional, or something like that21:37
pooliewhich would be a bug21:37
jamthumper: if you are registering your transport, you can add a function in the module, and then the per-transport permutation tests will run against it21:40
jamlet me check a sec21:40
thumperjam: my transport gets registered as part of a different plugin21:40
thumperjam: it operates very much like the launchpad virtual transports21:40
jamthumper: get_test_permutations()21:40
jamthumper: the per-transport tests specifically look at what transports are registered21:41
jamcheck what module they are comming from21:41
jamand look for a get_test_permutations() function21:41
jamif it is present, then they will run the per_transport tests against the result21:41
thumperthe transport is registered at the start of a smart server process and unregistered at the end21:41
thumperpoolie: ok, thanks, I'll look into that too21:42
pooliethumper, have you got a traceback?21:42
thumperin .bzr.log yes21:42
jamthumper: so... register it globally under an unaccessible url21:42
jamjust a thought21:42
pooliethat should make it obvious...21:42
thumperjam: can't really, as it needs to be constructed with a server object21:42
jamthumper: that is what the test permutations is about21:42
jamsetting up a server21:43
jamso that the tests can run against it21:43
jamconsidering that is what happens for sftp, ftp, bzr+ssh, etc21:43
jamyou could also just monkeypatch "bzrlib.transport._get_transport_modules()"21:43
jamit just returns a list21:43
jamand already has 2 modules hard-coded in it21:44
thumperactually, it looks like me21:44
* thumper looks sheepish21:44
* thumper hacks21:44
lifelessthumper: the memory-1234: urls have the same issue and constraints for testing pretty much21:46
lifelessthumper: as jam and poolie are describing21:46
thumperyep... thanks21:47
jamlifeless: thanks, I was looking at StubSftpServer, but MemoryServer is much more straightforward21:47
jamto register a new server, tell the test code what address to use to access it, and shut it down again21:48
thumperif I have a chrooted transport, are any clones of that also chrooted?21:50
thumperand are they chrooted to the new path?21:50
thumperI'd expect so, but just checking21:50
thumperabentley: hi, did my bug last night make sense?21:51
abentleythumper, I only glanced at at, but it seemed reasonable.21:52
abentleys/at at/at it/21:52
thumperabentley: ok, cool21:52
thumperabentley: if you have any questions, I'd be happy to help21:52
thumperabentley: also... I was working in a shared repo, with trees21:53
thumperabentley: and reconfigure-pipe worked21:53
thumperbut when I tried to push21:53
thumpermy append path policy screwed up the push to launchpad21:53
abentleythumper, the idea is that you have uncommitted changes in a shelf, you delete another shelf, that switches you into the first shelf, but you don't get the uncommitted changes?21:53
thumperas it was now in .bzr/pipes/whatever21:53
abentleysorry, let me try again.21:53
thumpers/shelf/pipe/ then yes21:54
abentleythumper, yes, that's the sort of mistake I can imagine making.21:54
abentleythumper, yes, reconfigure-pipe isn't really suitable for Launchpad work.21:55
thumperit wasn't launchpad work21:55
thumperbut the project is hosted on LP21:55
abentleythumper, that's what I mean.21:55
thumperhmm...21:55
abentleybad for launchpad-hosted work.21:55
thumperyeah21:56
abentleythumper, it's a basic model issue, because the location of the branch changes when you do reconfigure-pipeline.21:57
thumperabentley: yeah... I briefly was thinking of a way around it, but I gave up21:58
abentleythumper, we may need a different way of doing that sort of configuration.  For example, if we could append the nick instead of the path.21:58
* thumper nods21:58
jamthumper: cloning a chrooted transport is supposed to keep you in the chroot. Otherwise it wouldn't be much good :)21:59
abentleythumper, it's also possible that bzr-colo has solved that (but I doubt it).  I've been meaning to switch to using bzr-colo for bzr-pipeline.22:00
thumperjam: what I was meaning... was if I had a chrooted_transport which wraps (/local/path), if I have t.clone('subpath'), is the resulting transport now chrooted inside /local/path/subpath ?22:00
jamthumper: no, it is chrooted inside /local/path, AFAIK22:00
thumperhmm...22:01
lifelessjam is correct22:01
lifelessthe chroot is a decorated transport, you can clone down and up within that transport as much as you want, but not up above it22:01
thumperI think that is OK for my current use22:01
thumperwe have our bzr server hosting project almost ready to roll out22:02
thumperwe use a lot of code from LP, ripped and hacked to provide SSH key authentication against SSH key values in our DB22:02
thumperbut we just have simple file paths with shared repos for each user and project22:03
thumperthe primary use case is for the local polytechnic (technical college)22:03
thumperprivacy is there by default for projects and users22:04
thumperto stop copying :-)22:04
lifelesspoolie: jam: bug 437003 is possibly worth doing fairly soon22:05
ubot5Launchpad bug 437003 in Bazaar 2.0 "Failure to autopack because of 'missing inventories'" [High,Confirmed] https://launchpad.net/bugs/43700322:05
lifelessit caused /lots/ of confusion in the u1 project today22:05
lifelessits a very worrying error when it occurs22:06
jamwell, until you search for a bug with that 'missing inventories' string, and see that you just 'bzr pack'...22:06
lifelessjam: they didn't do that22:06
jamI would expect when getting a failure for them to investigate, and we can tell them right away what's up, if they just sit and privately worry, there isn't much we can do for any bug that we have22:07
jamI'm not saying it isn't worth escalating that particular bug22:08
jambut saying it should become Critical for something with a known workaround that happens rarely doesn't seem quite right22:09
lifelessmmm, I'm not saying it should be critical22:09
lifelessI'm just saying that it cost a couple of man hours today22:10
lifelessand that its a very worrying error to encounter22:10
pooliedefinitely a worrying error22:18
jamtime for me to EOD, I'll try to be back online later22:48
pooliehi spiv?23:36
spivHi poolie23:41
pooliehow are you?23:44
spivOlder today!23:47
spivHmm, and with intermittent ADSL for some reason.23:47
poolie:) congratulations23:47
poolienice to see the arrow of time is still functioning correctly23:47
spivIt keeps losing line sync, but I don't recall V grabbing at those cables recently...23:47
* spiv randomly twiddles a few connections and crosses his fingers23:48
pooliei'm moving the kanbans to be on people.c.c. so they can update more frequently23:53
pooliedo you have a preference about having them public vs having them include private bugs?23:53
pooliei'm slightly inclined to the former23:53
spivMe too23:53
spivWe don't have enough private bugs to make including them in the kanban worth it, I think.23:54
=== Ursinha is now known as _starbuck

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