/srv/irclogs.ubuntu.com/2014/09/09/#ubuntu-devel.txt

jtaylorits weird00:00
jtaylorthe system works alright until I fully load it, as if it does the opposite of what it should00:00
sarnoldinfinity: oh yeah, definitely, the first one I had was 700 mhz, but several cracked motherboards later, I got the 800 mhz version :) woohoo, speed demon00:09
infinitysarnold: I have a 1GHz G3-class (IBM PPC750) that's still a speed demon, really.00:10
infinitysarnold: And that CPU is now 15y old or something...00:10
sarnoldinfinity: hehe, older server gear is still impressive :)00:11
infinitysarnold: It's not server gear, it's a Beige Apple G3 tower with a (seriously) upgraded CPU. :P00:12
sarnoldinfinity: really??00:12
infinitysarnold: And the CPU itself is actually the low power embedded version of the PPC750, so despite being 15y old, it's pretty efficient.00:12
infinitysarnold: Can't say the same for the ancient hard drive in it, though, should probably replace that.00:12
sarnoldinfinity: heh, 80-conductor pata? or 40 conductor? :)00:13
sarnoldoh wait, were they still in their scsi stage then?00:13
infinitysarnold: The drive is 80-conductor era, just barely.  1st gen 66 or 133, don't recall now.00:13
infinitysarnold: The part where the label says "Quantum" probably says something.00:13
infinityI miss Quantum. :(00:13
infinityI'm not sure I'll ever forgive Maxtor for that buyout.00:14
infinitysarnold: I'm not sure if it was Maxtor buying out Quantum, or Compaq buying DEC, but somewhere in that area, I gave up on the idea that "server kit" would ever be anything more than whitebox PC junk with a pretty case and a longer warranty.00:17
infinity... and here we are today.00:18
sarnoldinfinity: *sniff* quantum00:31
sarnoldinfinity: but there's still something to be said for ecc ram, hehe00:31
infinitysarnold: Back in my day, we didn't need ECC RAM, we just made computer cases out of lead.00:36
sarnoldinfinity: muahahaha00:37
=== timrc is now known as timrc-afk
jtaylorseems to be thermald messing around, my temperaturs are fine ._.00:39
infinityjtaylor: thermald shouldn't do anything at all on non-Intel kit.00:46
jtaylortoo bad its logfile is not really readable00:47
jtaylorI'll have a deeper look tomorrow, bye00:48
=== doko_ is now known as doko
dokoRiddell, ScottK, pitti: was there any idea about the recent KDE autopkg test failures?00:57
ScottKdoko: Taking a quick look at ark, the current version passed previously and now it complains about not being able to find executables.  That smells of a linker change somewhere.01:55
dokoScottK, but according to the autopkg test log, the package builds sucessfully ...01:57
dokoI'm fine to search things, but I can't see where I should look01:57
dokobarry, I'm not ok with tox and pip in main.02:06
barrydoko: suggestions welcome, but i'm not removing the build-dep on tox02:09
dokobarry, keep it in universe02:09
barrydoko: isn't that a problem for seeding system-image?02:10
dokobarry, then we don't see it02:10
dokoseed it02:10
barrydoko: right now it's only needed for touch.  maybe someday it will be needed for server or desktop02:11
dokobarry, you have to explain why tox is needed to test02:11
dokothe test environment is clearly defined by build dependencies or autopkg test dependencies. so there is no need to use a virtual env02:12
barrydoko: why no tox or pip in main?02:14
dokobarry, I don't care about tox, if you remove pip as a dependency. and I answered that in a bug report already. upstream systems like this are a pain to maintain. we see this with rails, and we keep maven in universe for a reason02:16
barrydoko: well, i'll sleep on it02:21
desrtslangasek: it's done as far as i'm concerned02:23
desrtslangasek: although it looks like hallyn has pushed some extra patches to improve efficiency by making use of new cgmanager features02:24
tedgpitti, The adt test for dbus-test-runner failed. I'm not quite sure why.02:36
tedgpitti, There seems to be some PID giving a signal 15.02:36
tedgpitti, How do I recreate that?02:37
tedgI don't think I have any autopkg tests.02:39
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== timrc-afk is now known as timrc
=== Adri2000_ is now known as Guest56441
=== arrrghhhAWAY is now known as arrrghhh
=== mnepton is now known as mneptok
=== psivaa_ is now known as psivaa
=== StevenK_ is now known as StevenK
=== neunon is now known as Guest43146
=== ValicekB_ is now known as ValicekB
=== udevbot_ is now known as udevbot
=== tsimpson_ is now known as tsimpson
=== thegodfather is now known as fabbione
=== _TJ_ is now known as TJ-
pittiGood morning05:27
pittiinfinity: I am now05:28
pittibigon_: some user session upstart job calls /usr/share/apport/apport-gtk (without args) when there's new files in /var/crash05:28
pittidoko: I haven't heard back about the KDE failure galore05:28
pittitedg: "some pid" getting sig 15 is certainly QEMU when adt-run shuts it down, that's perfectly normal05:29
=== BruceMa is now known as BruceMa-afk
pittitedg: "ERROR: testbed failed: timed out"05:30
pittitedg: so apparently something hung forever in the test; I'll try and rerun it, if that doesn't help it needs to be debugged more thoroughly05:30
pittitedg: you can run locally with http://packaging.ubuntu.com/html/auto-pkg-test.html#executing-the-test05:31
Unit193pitti: I don't suppose I could interest you in a very simple upload to Debian (small bugfix) and sync to Ubuntu could I? :)05:45
pittiUnit193: if it's a package I can upload (i. e. sponsor or I'm a maintainer), sure05:45
Unit193pitti: Yeah, it's a QA upload, I put unversioned breaks in a transitional package by mistake: http://mentors.debian.net/package/samdump205:46
ScottKpitti: For the KDE stuff, what I checked had previously passed without being changed.  Most of the Kubuntu people are at Akademy (annual KDE conference) this week, so less likely than usual to be responsive.05:53
ScottKSomehow, I think it's not our fault though.  No idea where to start though.05:54
pittimvo_, cjwatson: FYI, recent click regressed its autopkgtest and is stuck (anonymous upload notification forward :) )06:08
pittitedg: re-run still hangs06:09
bigon_pitti: ok thank, update notifier has some code for it too06:10
pittiUnit193: "Bug #760723 does not belong to this package" -> needs some reassignment?06:13
ubottubug 634680 in software-center (Ubuntu) "duplicate for #760723 update-software-center crashed with EOFError in <module>()" [High,Invalid] https://launchpad.net/bugs/63468006:13
Unit193pitti: There used to be a source package of the same name, but that's against the binary package of samdump2.06:14
pittiUnit193: ah, ok; uploading06:15
Unit193pitti: Thank you very much!06:15
pittino worries, thanks for the fix06:15
mvo_pitti: thanks, I have a look06:17
darkxstpitti, is the current adt cloud image broken? I can't run any autopkgtests locally atm. http://pastebin.com/3Eq8WNYU06:18
pittidarkxst: I had that a few days ago (some uninstallability problems), but works again with recent images06:21
didrocks@pilot in06:22
=== udevbot changed the topic of #ubuntu-devel to: Archive: Feature Freeze | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: cyphermox, didrocks
darkxstpitti, I am getting it with todays image06:22
dholbachgood morning06:23
didrocksmorning dholbach06:24
dholbachsalut didrocks06:24
dholbachcomment ça va?06:24
didrocksça va plutôt bien, il fait chaud ! et toi ? :)06:24
dholbachtrès bien aussi :)06:25
=== Guest56441 is now known as Adri2000
mvo_pitti: when I try to reproduce the failure in the autopkgtest for click I run into http://paste.ubuntu.com/8297301/07:07
mvo_pitti: is that a known issue?07:08
pittilxc-clone: unrecognized option '--name'07:10
pittiError: container adt-utopic is not defined07:10
pittimvo_: silly question, but do you actually have an adt-utopic container?07:10
pittimvo_: also, did you run with "lxc -es"?07:10
pittithe pastebin doesn't show your command07:10
mvo_pitti: lxc-ls tells me I have adt-utopic07:10
pittimvo_: so the next common error is to forget the -s, so that it runs lxc as user (and thus expects user containers, not system containers)07:11
mvo_pitti: thanks! the warning about --name is still there, but now it seems to work, thanks a bunch. would you mind me doing a patch that warns if uid != 0 and no -s ?07:12
mvo_pitti: so that the clueless^Wfogetfull^Wpeople get a hint :) ?07:12
pittimvo_: that and "there is no user-level container of that name"07:12
pittimvo_: not sure about the --name warning; that looks like an lxc buglet07:13
pittimvo_: you can have per-user containers in utopic, so it should not warn about those07:13
mvo_pitti: *nod*07:14
jtaylor_hm how do I disable a daemon from starting in upstart? I'd googe it but a modern browser is no fun  to use with the cpu set to 800mhz :(07:21
=== jtaylor_ is now known as jtaylor
jodhjtaylor: echo manual >> /etc/init/$job.override07:21
jtaylorthanks07:23
jtaylorah sweet performance bliss :D07:27
mvo_pitti: so my adt-lxc gives me a very different error, is the lab using adt with the kvm backend? whats the best way to recreate this backend?07:27
mvo_pitti: and sorry for my silly question, I feel like I asked them before :/07:27
pittimvo_: yes, we use qemu in the lab -- but that shoudn't matter for something like click?07:28
pittimvo_: http://packaging.ubuntu.com/html/auto-pkg-test.html#executing-the-test is what we use in teh lab07:28
pittimvo_: can you put the log into a pastebin?07:28
mvo_pitti: it shouldn't no, but - the lab test fails with "ImportError: Start directory is not importable: 'click.tests.integration'" before it even runs the tests - but let me see, I have some ideas07:30
pittimvo_: what exactly did you run?07:30
mvo_pitti: thanks for the link I will bookmark it07:30
pittimvo_: i. e. did you actually test the proposed package?07:30
mvo_pitti: yeah, I think that is the problem, I was running against the bzr tree07:31
pittiadt-run click -U --apt-pocket=proposed --- lxc -es adt-utopic07:31
pittimvo_: that ought to reproduce it07:31
pittimvo_: you can also add a -s (--shell-on-failure) to examine07:31
mvo_pitti: thanks a lot!07:31
mvo_pitti: that is super helpful07:31
pittimvo_: https://people.debian.org/~mpitt/autopkgtest/README.running-tests.html FYI :)07:32
pittimvo_: these are also in /usr/share/doc/autopkgtest/07:32
mvo_pitti: nice, thanks, I will remember that07:33
Saviqdbarth, hey, can you come to #ubuntu-release please07:47
=== bigon_ is now known as bigon
=== ogra_` is now known as ogra_
infinitypitti: Hey, was wondering if you had any insight into the two autopkgtests that are preventing unity8's migration.  Both of them install a bunch of deps, and then say "dep installation failed", with no real meaningful debug output.08:20
infinitypitti: And, of course, I can't reproduce anything that looks like a "failure" locally.08:20
pittiinfinity: (in meeting, coming back to you in a bit)08:20
infinitypitti: S'ok, I'm going to bed, I just wanted to hand it off to someone who knows adt and the infra and might be able to sort out WTF. :P08:21
darkxstinfinity, I am getting similar failures locally (on different packages), that don't seem to be reproducing on jenkins ;(08:21
pittiinfinity: tehre were some uninstallable packages for some tests (see the apt problem resolver output)08:28
didrocksdholbach: hey, do you know why https://code.launchpad.net/~canonical-platform-qa/dialer-app/qmltests1/+merge/233130 is on the sponsoring list? Seems a pure upstream dialer-app thing08:34
seb128didrocks, because ubuntu-core-dev is in the reviewers list08:36
seb128didrocks, it's there because they are packaging changes and that's what the CI documentation recommends doing, "get review from somebody with upload rights"08:37
=== jibel_ is now known as jibel
didrocksseb128: yeah, we traditionally don't add core-dev for that, we have the LT with people having upload rights for it, but let's do the review08:37
seb128didrocks, right, I'm just explaining why it's there (I asked them before iirc)08:38
didrocksseb128: weird that it starts to count as sponsoring, as when I was reviewing almost all packaging change for touch, those wouldn't count at all as a patch pilot shift :)08:38
seb128didrocks, I don't think it "starts to count"08:38
seb128didrocks, it's just that $somebody didn't know how to get a review and subscribe core dev08:38
seb128subscribed08:39
didrocksyeah, probably08:39
seb128didrocks, I'm not sure it's an official/recommended workflow08:39
=== Sweetsha1k is now known as Sweetshark
=== nik90_ is now known as nik90
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
=== tvoss is now known as tvoss|lunch
GunnarHjdidrocks: Hi Didier!10:18
GunnarHjcyphermox_: ping?10:28
=== ttx` is now known as ttx
ScottKbarry: Please see some of the later comments on Bug 1290847.  You are going to do this for Trusty, right?10:48
ubottubug 1290847 in python3.4 (Ubuntu) "pyvenv fails due to mising ensurepip module" [Undecided,Fix released] https://launchpad.net/bugs/129084710:48
=== MacSlow is now known as MacSlow|lunch
didrocksGunnarHj: hey, what's up? :)11:44
=== MacSlow|lunch is now known as MacSlow
GunnarHjdidrocks: See that you are piloting. Any chance that you can give these, involving trusty SRUs, some attention:11:59
GunnarHjhttps://code.launchpad.net/~gunnarhj/ubuntu/utopic/fonts-android/droid-sans-fallback-fix/+merge/22943211:59
GunnarHjhttps://launchpad.net/bugs/130877111:59
ubottuLaunchpad bug 1308771 in libreoffice-dictionaries (Ubuntu) "Update Swedish spellcheck and hyphenation dictionaries" [Medium,In progress]11:59
didrocksGunnarHj: I'll have a look12:01
didrocksGunnarHj: but you nominated laney for the review, he's back next week and probably know better the matter, wdyt?12:01
didrocksI know he had it on his radar12:02
didrocksI can remind him once he's back :)12:02
GunnarHjdidrocks: Ok, let's wait with that one. How about the other?12:02
didrocksGunnarHj: I'll poke bjoern at today's meeting, ensuring he's looking at it quickly12:03
GunnarHjdidrocks: TIA12:03
didrocksGunnarHj: yw ;)12:03
=== seb128_ is now known as seb128
didrocks@pilot out12:14
=== udevbot changed the topic of #ubuntu-devel to: Archive: Feature Freeze | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: cyphermox
=== rcj` is now known as rcj
=== _salem is now known as salem_
=== tvoss|lunch is now known as tvoss
tedgpitti, Okay, I'll give that a try. Odd that the tests run on package build without issue, but not with autopkg.13:04
cyphermox_GunnarHj: hi13:05
cyphermox_oh, oops.13:05
cyphermox_@pilot out13:05
=== cyphermox_ changed the topic of #ubuntu-devel to: Archive: Feature Freeze | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
desrthallyn: awake yet?14:03
desrthallyn: should be be bumbing the version depend in cgmanager.c?14:03
desrt*bumping14:03
hallyndesrt: sigh, i don't know.  we'd need to get cgmanager into the archive first to do that.  i.e. ask slangasek to take a quick look at the package i have in mentors14:04
desrti'm more or less done with my rewrite of your rewrite of my rewrite of your code ;)14:04
hallynjodh: did you have a chance to look at latest cgmanager github changes?14:04
hallyndesrt: cool :)14:04
hallyndesrt: i wasn't sure what 'proper' file i/o looks like in glib, but also i simply cannot figure out how to do that gnome indenting style14:05
hallynit's not always 2 spaces,14:05
hallyn4 spaces for a while() block?14:05
desrtwhile (xxx)14:05
desrt  {14:05
desrt    do_stuff ();14:05
desrt  }14:05
desrtit's standard GNU style14:05
hallynoh so always 214:05
hallyngotcha14:05
hallynheh so maybe i should just fire up emacs next time14:05
desrt:)14:06
desrtthere are a couple of things we do differently: always use soft spaces, never hard tabs14:06
hallyni was a die-hard emacs user for a year or two around 199314:06
desrtand we line up the parameters at the top of the function in that funky way...14:06
desrtbut otherwise it's more or less stock GNU14:06
desrtfwiw, we have g_file_set_contents()14:07
desrtthis is almost always better than using fopen, etc.14:07
desrtalso, functions like g_remove, g_open(), etc. are only meant to be used on programs wanting ot be portable to windows14:08
desrtsince otherwise they're just macros for the normal thing14:08
hallynok.  yeah i'd used g_file_get_contents(), i'm not sure why i didn't think to look for set_contents.  (it occurred to me last night in bed :)14:08
desrt(on windows, they do character-set conversion of the filename)14:08
desrtfwiw, i replaced that stuff anyway14:08
desrtwith a single keyfile14:08
hallynok14:08
desrtit's easier to list out the groups in that case14:09
hallynwhich is like a dictionary?14:09
desrtfor the introspection14:09
desrtya...14:09
hallyncool14:09
desrtwill look like14:09
desrt[session-1.scope]14:09
desrtpath=/user-slice/blah14:09
desrt[session-2.scope]14:09
desrtpath=etc.14:09
desrti figure we can easily expand this if we want to get stateful about other unit types in the future14:09
slangasekhallyn: "cgmanager into the archive first" - i.e. there's a dependency chain here for getting the fix into the archive?  If so, please point me at it ASAP :)14:12
slangasekdesrt: so "done" means "in upstream git"?14:12
desrtslangasek: no.  testing it first.14:13
slangasekok14:14
desrtbtw: what is the actual command that cgmanager uses to remove cgroups?  is it writing something to some file in sysfs or is there a proper syscall?14:15
* desrt wants to clean up a bit...14:15
slangasekhallyn: ^^14:16
desrtalso: how can i install the new cgmanager for testing?14:17
desrtfwiw: https://github.com/desrt/systemd-shim/commits/wip/abandon414:19
desrtif someone else wants to test...14:19
desrtassuming nothing is wrong (and it looks fine to me from what i can test without the new cgmanager) then the only change that is needed is to bump the cgmanager dependency version to [whatever is correct] and push to master14:20
jodhhallyn: still on the list for today! :)14:28
hallynslangasek: http://mentors.debian.net/debian/pool/main/c/cgmanager/cgmanager_0.32-1.dsc14:29
hallyndesrt: cgmanager does rmdir14:30
desrtoh.  interesting.14:30
desrtit can do that even when there are files in there?14:30
hallyndesrt: i won't be able to test for the next 30 mins, morning commotion14:30
hallynyes, but not with subdirs14:30
hallynthe files are ignored14:31
desrttasks are not14:31
desrtthis is actually quite utterly sane...14:31
desrtomg how lovely14:31
desrtlook ma!  i'm creating cgroups!14:31
desrti suppose i move pids by echoing them into the tasks file?14:31
hallynyup14:32
desrtthis is awesome :)14:32
hallynyou can also use 'cgm', which is what i usually do for these tests14:32
hallyncgm create all xxx/y14:32
hallynsleep 20 0&14:32
hallyncgm movepid all xx/y $!14:32
desrtwhat's with the 0?14:32
hallynit's a misplaced space :)14:33
hallynsleep 200 &14:33
desrt:)14:33
* hallyn biab14:33
desrtTIL: you can give multiple arguments to sleep(1) and it will handle each one in turn14:33
desrtsleep 10 5 == sleep 1514:33
=== salem_ is now known as _salem
=== Ursinha is now known as Ursinha-afk
rbasakHow does one do a dep5 file that involves a BSD-3-clause, but where the ORGANIZATION placeholder has been replaced by different organisations in different files?14:51
rbasakI can't collapse the License text to a single stanza easily, since then I'll have failed to preserve the text as required.14:52
rbasakUnless I name them differently, in which case I've failed to use the recommended common name.14:52
cjwatsonYou don't have to have a separate stanza for the License text; you can put it in a Files stanza14:52
rbasakI want to though, since I'm using many Files stanza which _do_ have a common license text.14:53
bigondoko: hey do you have any plans regarding https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720545 ?14:53
ubottuDebian bug 720545 in src:bash "bash: Please consider removing privmode.diff" [Important,Open]14:53
cjwatsonI think that's probably the best you can do.14:53
rbasakWould it be acceptable to use my own names? Eg. BSD-3-clause+Google, with the full text at the bottom? This detracts from the common names.14:53
cjwatsonYou should be able to coalesce the identical ones, since the Files field takes a whitespace-separated list.14:54
rbasakBut this is an incredibly complicated dep5 file, since juju embeds upstream sources.14:54
cjwatsonUnless they have different Copyright, I suppose.14:54
cjwatsonBut the definition of Copyright does say "Not all copyright notices may apply to every individual file".14:54
rbasakI'm trying to avoid collapsing Files fields that come from separate upstream projects, to try and help make it easier to update the file in the future.14:54
rbasakThen I only have to review the section of the file that has changed.14:54
rbasakBut I have bundled all the license texts at the bottom, since they're very common (eg. standard Google golang 3-clause with Google, Inc. organisation)14:55
cjwatsonI think at this point I'd recommend asking debian-policy or similar for advice ...14:55
rbasakI wondered where I should ask the question. Though Juju isn't currently packaged for Debian.14:56
cjwatsonOr, slangasek is listed as the driver :)14:57
cjwatsonBut it's been incorporated into debian-policy, so I think that's the right contact address14:57
rbasakI think I'll just fail to use the common name in this case, and explain why in a comment at the top. AFAICT, that doesn't violate the spec.14:58
rbasakI'm using names like "BSD-3-clause+Google" instead, which I hope is clear.14:59
cjwatsonI don't think it violates the spec, no.  It's a trade-off of less-desirable options is all.14:59
rbasakYeah.14:59
=== Ursinha-afk is now known as Ursinha
cjwatsonIt would be nice if people who had to do this were using a consistent syntax to denote the variant names though.15:00
rbasakIt's 256 lines long without any license texts :-/15:00
rbasakThat's ~30 embedded upstream projects.15:00
rbasakI guess the core issue is that there are two things trying to fit into the licence name field. 1) a ref for Files stanzas to refer to; and 2) a reference to an outside standard.15:02
rbasakExcept that the licence text is permitted to vary, still meets the outside standard, but I need separate refs.15:03
rbasakAnyway15:03
* rbasak JFDI15:03
rbasakThank you for the discussion. At least I know I'm not missing something and there isn't a better answer.15:04
davmor2rbasak: just 1 small line off a JEDI then so close15:04
rbasak:)15:05
=== tgm4883_ is now known as tgm4883
desrthallyn: sup?15:26
hallyndesrt: you're asking if i've tested your wip/abandon4, or if i've heard from slangasek  about the cgmanager package?15:28
hallynzul: pushing one last candidate of libvirt to ppa, will run tests, then push to utopic15:28
desrtif you've done the first one then i don't care about the second :)15:28
zulhallyn: cool15:28
hallyndesrt: not yet, lemme spin up the vm15:28
hallynzul: libvirt_1.2.8-0ubuntu1~ppa2_source.changes pushed to ppa:serge-hallyn/virt.  now wait, do we need ffe for this, or did you already get that?15:30
zulhallyn: not yet15:31
hallyndo you mind filing it?15:33
=== seb128_ is now known as seb128
hallyndesrt: so the one change that helped for me was to add a cgmanager_prune (path); to the top of ccgroup_unit_stop()15:39
hallyndesrt: not sure if there is a race otherwise or what, but the cgroup doesn't always get removed15:39
desrtweird....15:39
desrtmaybe the kill is slow15:40
desrtlike the kernel doesn't have time to properly kill off the processes15:40
desrtor maybe they don't get reaped or something15:40
desrtso the remove fails...15:40
desrtmakes sense, though.  i'm happy to change that.15:40
hallynyo'ud think the n retries would work around that :(15:40
desrtnot if it happens so quickly15:40
hallynbut then there have been a few problems with cgroups in the last few kernels where rmdir goes slowly etc15:40
desrtif we don't get scheduled out....15:41
desrtwe're running a pretty tight loop there, without even a sched_yield() or so15:41
hallyndbus calls though?15:41
desrttrue...15:41
desrt*shrug*15:41
hallynyeah15:41
desrtwe could add sched_yield and i bet this would help15:41
desrtbut.............15:41
hallynotherwise looking good - thanks15:41
desrtany bug that sched_yield fixes is not truly fixed15:41
desrtso i think your solution is better :)15:41
desrthallyn: i need to know the new version number for cgmanager...15:42
desrtthen i'll push15:42
hallyndesrt: 0.32-115:44
desrtwhat protocol version, i mean15:44
desrtfor the check at connection time15:44
desrtwe have 6 now...15:44
desrt7? 8?15:44
hallynoh, 815:50
hallyndesrt: ^15:50
desrtthanks.15:50
desrtwill push after our desktop meeting15:51
hallynthx, ttyl15:51
desrti guess a release is due now, too.15:51
desrtany other patches you guys are carrying around?15:51
desrtslangasek: ^ ?15:51
hallynyou mean for systemd-shim itself?15:51
desrtyes15:51
desrtie: any vendor patches that i can take upstream15:51
hallynnot from me15:52
slangasekdesrt: the only systemd-shim patches are cherry-picks16:11
desrtcool.  thanks for the info.16:11
hallynslangasek: d'oh, there's an open debian bug which i should fix in that cgmanager pkg (badness in sysvinti job)16:31
slangasekhallyn: ok; shall I wait for a reupload to mentors?16:35
hallynslangasek: yes please, should be up in 5 mins16:35
hallynjust trying ot make sure i'm not missing some sysvinit-ism tha tmakes the bug report wrong16:35
=== rickspencer3_ is now known as rickspencer3
slangasekhallyn: well, I would recommend using do_start / do_stop as the function names, rather than using function names that are the same as upstart commands16:37
slangasekhallyn: but I can confirm that this is a real bug16:37
hallynslangasek: i'd feel more comfortable doing that change (back to ->do-start) in a later relase with more testing16:38
slangasekoh?16:38
hallynno?  well i can do it now i guess :)16:38
slangasekwhy?  this is purely a shell name mismatch problem16:38
slangasekso looking at the change to debian/cgmanager.cgmanager.upstart16:39
slangasekwhat are you expecting this to do?16:39
slangasek+start on mounted MOUNTPOINT=/sys/fs/cgroup or virtual-filesystems or starting dbus16:39
slangasekthat will not block the start-up of dbus16:39
slangasekin fact, it will 100% never trigger on 'starting dbus', because virtual-filesystems is always emitted before local-filesystems and dbus starts on local-filesystems16:39
hallynslangasek: that is what fixed the previous phone problem (i didn't come up with that fix)16:41
hallynapparently ther ewere jobs which were start on started dbus which started before cgmanager was ready16:41
hallynok, pushing new cgmanager to mentors now16:41
slangasekhallyn: which phone problem was fixed by this?  because that change is nonsensical with the standard dbus job, and if the phone is overriding the start condition for dbus, then cgmanager's startup condition needs to also be overridden there, not as part of the job in the cgmanager package16:43
hallynpitti: ^16:43
hallynI guess tedg had originally proposed it16:44
hallynslangasek: i suppose we could keep it out of the debian pkg and keep it as ubuntu delta until we're sure whether and why we need it (and maybe have better fix)16:47
desrtslangasek: okay.  systemd-shim-8 is released17:05
desrtslangasek: i moved the tarball dir from ~desrt/ to ~desrt/systemd-shim17:06
desrt451357c32ada3d68fec56f508990739edee19e9088509adfabf0648068015bcf  systemd-shim-8.tar.xz17:06
=== _salem is now known as salem_
slangasekhallyn: so I'll sponsor this cgmanager package as-is; the upstart job change looks wrong because it's ineffective, not because it's harmful17:29
hallynslangasek: ok, thx17:31
argeshallyn: would you like me to get the qemu SRU debdiff ready for bug 1366868? i could also do the combination with bug 1324174 if you want18:01
ubottubug 1366868 in qemu (Ubuntu Trusty) "kvm: dompmwakeup fails if domain becomes pmsuspended" [Medium,In progress] https://launchpad.net/bugs/136686818:01
ubottubug 1324174 in qemu (Ubuntu Trusty) "qemu should attempt to re-load kvm_intel to enable nesting at first install" [Medium,Confirmed] https://launchpad.net/bugs/132417418:01
hallynarges: sure - i was planning on doing this afternoon, but i'll move on to qemu merge for utopic in that case18:01
hallynarges: thanks!18:01
argeshallyn: np18:01
hallynslangasek: so, 'or starting dbus' wont' make cgmanager start earlier, but can't it delay dbus starting?  that's how i thought it fixed the problem we wer ehaving on krilin18:11
slangasekhallyn: no, it doesn't delay dbus starting18:22
argeshallyn: so the patch that fixes the issue for me actually updated the pc-bios/*bin files, which I believe we don't put into our source package; so maybe I need to patch seabios...18:22
slangasekhallyn: because cgmanager is already starting when 'virtual-filesystems' triggers, and upstart won't block starting dbus for this18:23
hallynslangasek: my undestanding was always that y having  'start on starting x' meant that when x starts, y will first start, then x will start18:23
hallynarges: oh.  yeah.18:23
slangasekthat's what 'start on starting x' means18:23
slangasekthat's not what 'start on foo or starting x' means18:23
hallynah18:24
argeshallyn: so i'll have to track that one down... if you wan to go ahead with the other SRU go for it18:24
hallynarges: what's the git commit id again?18:24
argeshallyn: well db76ec6291df8a03c2cc82ea1249049383cca392 in qemu. but they just bumped their seabios version. so I need to track down the actual seabios commit18:25
hallynarges: espeak love sspitting out commit ids :)18:25
argesheh, i'm glad i don't have that turned on18:25
hallynarges: ok, thanks, i'll do the other one then :)18:26
argesgreat18:26
=== roadmr is now known as roadmr_afk
mterrybarry, I never heard of nose2 before.  Was there some fork?  Why not make nose better?18:42
barrymterry: nose is eol'd. nose2 is much better and the official next version.  all new development is happening on nose218:43
barryso i guess the answer is kind of and time machine :)18:43
mterrybarry, huh...  should we as a project try to get nose into universe?  Probably not a whole lot of maintenance work, but I'm curious how much of a push there is to get projects to switch18:44
barrymterry: there's hasn't been a concerted effort.  the api's are different, but nose2 is much better.  i tell people to switch, but yes, i'd like to see migrations from nose to nose218:45
tedgslangasek, The though there was that systemd-shim was getting dbus activated even before the android container started.19:00
tedgthought19:00
slangasektedg: none of these start conditions are related to the android container19:02
tedgslangasek, No, but I thought that's why you were saying it is ineffective.19:02
tedgslangasek, Why do you think it's ineffective.19:03
slangasektedg: what problem was this change supposed to solve?19:03
ogra_doesnt systemd-shim (and the session bus) get started by lighdm ?19:03
ogra_thats definitely guaranteed to start after the container19:03
slangasekthe start condition does not cause cgmanager start-up to block dbus start-up19:03
ogra_(due to lightdm.override with differnt start conditions)19:03
tedgslangasek, jodh had found some cases where cgroups manager was starting after systemd-shim, and systemd-shim wasn't detecting it starting, so thought it didn't have cgmanager support.19:03
tedgslangasek, We can't (grumble, dbus activation) ensure that we start before it, so the goal was to make it better.19:04
slangasektedg: my reading of the change to the job config is that it's a complete no-op19:05
slangasektedg: the conditions are still the same: cgmanager will be started "before" dbus but not in a blocking manner19:05
tedgslangasek, Yes, not blocking, it can't block dbus starting (I forget why now). So not a guarantee, correct.19:06
slangasektedg: so the 'or starting dbus' is *never hit*19:06
slangasekunless someone has totally bodged all the start ordering on the phone, which is possible19:06
* tedg doesn't comment19:06
ogra_not that badly :P19:07
tedgslangasek, The thought was that initrd might be mounting some of the filesystem triggers already, so they weren't happening.19:07
ogra_http://people.canonical.com/~ogra/touch-bootcharts/ubuntu-phablet-utopic-111.png ... quite old, but i dont think the order changed much since19:07
slangasektedg: the filesystem events should still happen, and in order; virtual-filesystems should be emitted before local-filesystems, or else I'm wrong about how mountall works19:07
tedgslangasek, Ah, okay. To be clear, I'm just the messenger here :-)19:09
tedgSomeone was busy planning debconf ;-)19:09
hallynshould be easy enough to test with a test pkg removing that bit19:13
=== roadmr_afk is now known as roadmr
Triniboi00does the os ubuntu support long term scehduling?20:57
sarnoldTriniboi00: what's that?20:57
Triniboi00Long term scheduling: which determines which programs are admitted to the system for execution and when, and which ones should be exited.20:58
Triniboi00does ubuntu support this?(school project looking for guidance)20:59
sarnoldTriniboi00: the linux kernel has one, non-pluggable, scheduler. whichever tasks are selected for running are selected based on the details of the one scheduler without much in the way of deadlines or goals21:00
sarnoldTriniboi00: the cgroup system can modify the parameters somewhat, as can the nice levels21:00
sarnold.. as well as the SCHED_RR, SCHED_FIFO, SCHED_BATCH, etc. scheduling priorities..21:01
sarnoldTriniboi00: it sounds a lot like what you're looking for is a cluster-level job scheduler to schedule jobs on specific machines?21:01
Triniboi00no21:01
Triniboi00http://www.cim.mcgill.ca/~franco/OpSys-304-427/lecture-notes/node38.html21:02
Triniboi00these are the type of scheduling i just want to know which does unbutu support?21:03
sarnoldTriniboi00: ah! some kind of crazy professor definition :)21:03
sarnoldTriniboi00: see the 'nproc' rlimit in setrlimit(3) and /proc/sys/kernel/pid_max and /proc/sys/kernel/threads-max in proc(5)21:05
Triniboi00ETMLI521:06
Triniboi008.Does the OS support long term scheduling?  9.Does the OS support medium term scheduling (swapping)?   10.Describe the short term (CPU) scheduling algorithms implemented in the OS :21:07
sarnoldyeah, no OS has done _swapping_ in decades21:07
Triniboi00these are the questions i have to answer for unbuntu21:07
sarnoldpaging is the new hotness21:07
sarnoldfor the last 25 years or so21:07
Triniboi00so the answers are no to all?21:09
sarnoldTriniboi00: no, the answers require some nuance :)21:10
Triniboi00there yes or no questions whats up?21:13
dobeydo your own homework21:18
dobeyalso, they're21:18
Triniboi00lol i do my own hw21:20
Triniboi00these are 3 questions out of 22 that i cant find ...linux has a completley fair scheduler21:20
Triniboi00but i cant find if its supports long term or not i am not well versed in the subject21:21
cjwatsonLong-term scheduling sounds like a concept from batch-processing systems that doesn't really apply.  There are resource limit controls that can cause fork to fail, and things like the OOM killer that will sometimes forcibly kill processes in exceptional situations, but those aren't really part of what I'd characterise as core scheduler behaviour.21:27
sarnoldTriniboi00: a few minutes with the setrlimit and proc manpages ought to help a little.21:28
cjwatsonI suppose you might also look into process priorities and control groups and such things.  The approach in all Unix systems I'm aware of though tends to be to accept the process (except for some exceptional situations like running over resource limits, but as I say those don't really come up much in normal operation) and then whether the scheduler actually ever gives it any timeslices later is up to it ...21:30
Triniboi00ah ok so i see ubuntu does not use the LTS because its first come first serve21:31
Triniboi00long term scheduling is a no21:32
cjwatsonThat would be an overly simplistic characterisation.  Linux's scheduling certainly isn't first-come-first-served.21:32
cjwatsonI suppose that's sort of true of process admission but I think putting it that way is confusing.21:32
sarnoldcjwatson: you've got to see the crazy page from the professor to understand the meaning of "first come first served" in the context "long term scheduler".. they're like lecture notes that havent been updated in 30 years...21:33
sarnolddespite clearly being written in html :)21:33
cjwatsonYeah, I skimmed it21:34
cjwatsonIn general I think you'll do better in your research if you note that for this purpose the distinctions between Ubuntu and other distributions are not desperately relevant; you'll get more interesting research hits by just looking for commentary on the behaviour of Linux.21:35
Triniboi00yea  i have seen that21:36
cjwatsonPractically all of this is up to the Linux kernel; while that is modified and built by Ubuntu, you aren't going to find core differences at the sort of level that's relevant to this kind of work.21:36
Triniboi00thanks for the help i think i understand what to do21:36
sarnoldhave fun :)21:37
Triniboi00will do :D21:37
Triniboi00what is this btw are you developers?21:38
Triniboi00or this is just a social thing21:38
sarnoldI do mostly security work; not so much development on my own as picking nits with other people's development work21:39
cjwatsonLots of developers are here, but not necessarily kernel developers.21:40
Triniboi00ah i do security work as well21:40
Triniboi00for ibm21:40
sarnoldnice :)21:42
hallynprocess question - if there is a new debian qemu release that fixes a (9p readdir d_type) flag.  should i simply push it right now as it's a bugfix even without an open ubuntu bug, or should i open a bug just to close it?22:39
RoyKanyone had a look at this https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/136409122:53
ubottuLaunchpad bug 1364091 in mdadm (Ubuntu) "Possible RAID-6 corruption" [Undecided,New]22:53
=== salem_ is now known as _salem
hallyn(anyway, i'll test+push i guess)23:05

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