/srv/irclogs.ubuntu.com/2014/01/23/#ubuntu-quality.txt

=== jackson is now known as Guest1629
=== jackson_ is now known as Noskcaj
=== chihchun_afk is now known as chihchun
=== jackson is now known as Guest7088
pittijibel: FYI, disabling wazn; it needs a reboot06:35
elfymorning DanChapman07:14
DanChapmanmorning elfy :-)07:22
KI7MTGM all ..07:28
Noskcajevening KI7MT07:53
KI7MTNoskcaj, Hows goes the battles  .. saw your not about the up coming meetings, I'm really interested in is autotest and autopkg stuff, was very interesting reading .. but me a python don't see eye-to-eye on things :)07:56
KI7MT*note07:56
jibelGood morning07:56
KI7MTGM07:56
jibelpitti, why does wazn need a reboot?07:57
NoskcajKI7MT, for autopilot you'll want to talk to DanChapman. For autopkg, i'm guessing jibel and/or pitti07:57
jibelpitti, nm, I read your comment on other channels07:57
NoskcajKI7MT, Timezones make it difficult for me to make meetings07:58
pittijibel: trying to run VMs just hangs; there is a kswapd0 process eating CPU, and causing high load07:58
pittijibel: and it seems there is a stalled apt-get update or so07:58
pittijibel: I don't have root on the box, do you?07:58
KI7MTNoskcaj, Yeah TZ  can be a problem for allot of us .. was just good reading about it, interesting stuff.07:59
pittijibel: btw, I'm currently working on adt-run understanding a simple package name07:59
pittijibel: i. e. "adt-run libpng --- adt-virt-*"07:59
pittijibel: this will use apt-get source in the testbed07:59
pittijibel: that entirely avoids copying the source, so this should help with linux08:00
pittijibel: and also, it will make our ARM/lxc runners more convenient to use as we don't need to download the source to the host in jenkins08:00
pittiactually curious that nobody requested this yet :)08:00
pittiin fact I just got it running, need to write tests now08:00
pittiOMG I understand autopkgtest's code, I'm d00med08:01
jibelpitti, I don't *officially* have root on that box, so I'd rather wait someone from CI08:01
jibelpitti, calling adt directly with a package name is definitely interesting08:04
jibelpitti, I've been thinking about enabling arm nodes, and we don't need all the overload of the wrapper script around adt-run08:04
jibelpitti, just a jenkins slave that calls adt-run, with the results copied into the workspace should be enough08:05
jibeland call the ARM job as a non-blocking post-build action of x86 jobs08:05
pittijibel: right, and I fixed --output-dir to be working and actually useful (and cleaning up cruft)08:06
pittijibel: that was my idea, that we can reduce the wrapping of adt-run to a minimum08:06
pittiit should just be adt-run --output-dir=... <pkgname> --- adt-virt-lxc --ephemeral trusty-cloud08:07
pittijibel: we'll still need some maintenance jobs for updating the container etc., and you probably don't want to hardcode "trusty" here ^ either, but by and large that ought to work?08:07
jibelpitti, yes, but we can keep the setup phase to a minimum08:12
pittijibel: we still need some option to either run "apt-get update" after opening the testbed, or a more generic "run this script before doing anything", right?08:16
pittior should we do that as a separate step?08:17
pittii. e. call lxc-* to update the container, and then call adt-run?08:17
pittithe update would then happen in the actual container, not the ephemeral one; although this sounds much less robust08:18
pittiprobably best if I add an --apt-update option to the lxc runner08:18
pittijibel: hm, hang on, that's not enough -- we also want to enable -proposed08:27
pittijibel: LXC alreay has a concept of hooks; would it work to pass a script to adt-virt-lxc which it could then pass on to lxc for running, or should it rather do that by itself with just the usual autopkgtest way of running commands?08:30
jibelpitti, we could do that in a mount hook, not sure how it works with ephemeral containers08:32
pittijibel: I just don't want to fiddle with the container configuration too much; for starters, I wouldn't even know where that lives, and I didn't see an lxc-start optoin for that08:32
jibelpitti, another option would be to bind mount a specific directory for each run and execute any executable script in a specific location08:35
jibellxc-start-ephemeral has an option to specify a directory to bind mount08:35
pittijibel: well, adt-virt-* already know how to run a shell script in the testbed08:36
pittijibel: so we could just re-use that08:36
pittithen it wouldn't even be limited to adt-virt-lxc, but work for any runner08:37
pittiit would then need to be a shell script, but that doesn't seem like a too bad restriction?08:37
jibelpitti, how do you do that (make adt-virt-* run a shell script)?08:43
pittijibel: well, you'd read it and call Testbed.execute(), adt-run does that all the time08:44
jibelah, ok08:44
pittithat's using the auxverb or shstring, whatever the testbed provides08:45
elfyballoons: https://code.launchpad.net/~elfy/ubuntu-manual-tests/1249362/+merge/20280909:36
elfyall that I thought needed doing are done09:36
slickymastermorning all10:22
pittirbasak: FYI, what we talked about yesterday: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=commitdiff;h=a615e39eb92b10:36
rbasakpitti: that looks great. Thanks!10:37
rbasakI hate that whole global variable thing, btw. But I guess the whole virtsubproc interface needs to be changed to fix that.10:38
pittirbasak: in case you do this often, http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=commitdiff;h=2262ca0 should make things quite a bit simpler, too; we'll use that for running archive autopkgtests on ARM, to avoid unnecessary copying and extra wrappers around adt-run10:38
rbasakThat looks handy.10:40
davmor2Morning all11:01
=== chihchun is now known as chihchun_afk
pittijibel:11:17
pitti./run-from-checkout --setup "xapt-get update" libpng --- adt-virt-schroot trusty11:17
pittijibel: err, ignore the "x"apt-get, that was for testing11:17
pittijibel: --setup-commands can either get a file name, or the actual commands11:17
jibelpitti, setup will be executed every time the testbed is started? I'm thinking about the revert capability of lxc based containers where the ephemeral container is destroyed between tests11:24
pittijibel: hmm, I need to check that; but that would only happen if you use the binaries from the built source, no?11:26
pittioh, you mean for multiple tests11:26
jibelyes for multiple tests11:26
jibelrun test1, revert, run test2, ...11:26
pittiI'll add a test case for that (haven't written tests yet)11:28
pittiATM I just run it once, so that's wrong11:28
=== _salem is now known as salem_
pittijibel: ok, now works with lxc/revert and multiple tests12:24
pittijibel: oh, debian bug 736416 just came in, interesting13:22
ubot5Debian bug 736416 in wnpp "ITP: debci -- continuous integration system for Debian" [Wishlist,Open] http://bugs.debian.org/73641613:22
jibelpitti, oh, that's interesting13:28
pittijibel: I'm currently writing a response13:32
pittijibel: rebuilding VMs on wazn, the current ones seem broken (connecting hangs at 1/18 tries)13:52
jibelpitti, ack14:01
senanballoons, danchapman : Good Eve14:27
DanChapmansenan, hey14:32
pittijibel, rbasak: ok, I now also reduced the number of test bed resets (with LXC) from 3 to 1, there were several unnecessary ones15:10
rbasakNice!15:10
pittijibel, rbasak: can you think of anything else which I should add/change/fix for our arm/lxc autopkgtest endeavour?15:10
rbasakHave you considered how to keep the lxc template up-to-date?15:10
pittirbasak: that isn't the job of adt-run itself, but we quickly discussed it15:11
rbasakI noticed that "apt-get update" doesn't get run, incidentally. Not sure if that matters if you're not building anything.15:11
jibelrbasak, that should be a separate process15:11
pittirbasak: ideally we'd rebuild the trusty-cloud container every day from the current cloud image15:11
pittirbasak: ah, for that I added http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=commitdiff;h=6e643986c615:11
pittirbasak: i. e. for every test we can run a setup script to enable proposed and do apt-get update15:12
rbasakAh. That'll be handy!15:12
pittirbasak: and also apt-get dist-upgrade if we desire15:12
pittirbasak: but of course we don't want dist-upgrade to run on a weeks old base image, so we need to refresh that daily15:12
pittieither by rebuilding the container, or dist-upgrading it15:12
pittias I said yesterday, the output of lxc-create -t ubuntu-cloud is rather poor15:13
pittiit has broken apt sources and old packages for some reason15:13
pittiif we fix that, we can use that; until then, perhaps just run dist-upgrade15:13
pittiperhaps that's also an artifact of using saucy's lxc packages, I don't know15:14
rbasakThe only other thing I can think of is the necessity to say --gain-root=sudo, instead of adt-virt-lxc somehow telling adt-run what the default should be. But that isn't a blocker.15:15
pittirbasak: how do you mean?15:19
pittifor now you need to run lxc-start as root anyway, so the entire adt-run runs as root15:19
rbasakpitti: I have to say: "adt-run --gain-root=sudo ... --- adt-virt-lxc"15:19
pittiand virt-lxc cna then su to the ubuntu user for non-root tests/builds15:19
pittiaah15:19
pittinice, I didn't try that15:20
rbasakSince adt-virt-lxc specifies suggested-user=ubuntu and gives adt-run root.15:20
pittinope, doesn't work15:20
pittithat calls virt-lxc as user instead of root15:20
rbasakYes15:21
rbasakThat's the intention.15:21
rbasakI run adt-run as a normal user.15:21
rbasakadt-virt-lxc calls sudo as necessary.15:21
rbasakbrb phone15:21
balloonsmzanetti, ping15:23
pittirbasak: ah, you use per-user containers then? I created mine system-wide15:23
=== salem_ is now known as _salem
mzanettiballoons: pong15:23
balloonsI was going to ask your opinion on reminders app mocking, though I already know it :-)15:24
balloonsI was planning on going down the server mocking route with autopilot as you know. elopio mentioned this as the best example he's found: http://bazaar.launchpad.net/~ubuntuone-hackers/unity-scope-click/trunk/files/head:/src/tests/autopilot/unityclickscope/15:25
mzanettiballoons: what does this do?15:27
rbasakpitti: (done on phone) No, I use system-wide ones.15:28
mzanettiballoons: ah... simulates a server and the app would use localhost instead of the real server15:29
balloonsmzanetti, yes15:29
mzanettiballoons: not sure what evernote sends... you'd need to sniff the connection15:29
rbasakBut since lxc-* (at least in the past) required root, I tried to hide that inside adt-virt-lxc, so that the interface wouldn't change in the future.15:29
pittirbasak: hm, if I call lxc-* as user, it tries to use containers from my ~/.local/...15:29
pitti$ lxc-config lxc.lxcpath15:29
pitti/home/martin/.local/share/lxc/15:29
mzanettiballoons: I'm a bit afraid it might be a binary protocol15:29
rbasakThus adt-virt-lxc calls sudo, but adt-run should be unaware of that root requirement.15:29
pitti$ sudo lxc-config lxc.lxcpath15:29
pitti/scratch/lxc15:29
balloonsI figured before I dove in on this it might be easier to get your thoughts15:29
balloonsmzanetti, ahh, so not nice json :-)15:29
rbasakFrom adt-run's point of view, it gets root inside the container, and can switch to ubuntu if necessary.15:29
rbasakadt-virt-lxc specifies suggested-user=ubuntu, and adt-run uses that.15:30
pittirbasak: right, it's just that lxc now has these system/user modes15:30
rbasakBut then adt-run tries to call fakeroot, and that doesn't work.15:30
rbasak(since fakeroot isn't installed)15:30
pittirbasak: it hasn't been like that in saucy yet15:30
pitti$ lxc-config lxcpath15:30
mzanettiballoons: no... it's not json for sure. it might be xml, but no idea what libthrift does15:30
pitti/data/lxc15:30
rbasakWhich is a bit silly, because adt-run *had* root inside the container, but gives it away because of suggested-user15:30
pittirbasak: so I think that's new in trusty15:30
rbasakSo I have to specify --gain-root15:30
pittirbasak: is your host running saucy or trusty?15:32
rbasakpitti: trusty right now. I hadn't noticed anything different though. Apart from needing to "chmod 755 /var/lib/lxc", I haven't had to change how I work at all.15:32
pittirbasak: hm, so I wonder why lxc as user now wants to look into my $HOME for containers15:33
elfyballoons: if you missed the ping - those testcase updates are done now15:34
balloonselfy, I did indeed. Shall I review then?15:35
elfyup to you - I've done my bit :D15:35
elfyI'd do the testcases - but you don't get karma for it :p15:36
elopioI'm walking with the dog.15:36
elopiobbs15:36
* balloons reviews15:36
pittiubuntu@cyclops-node02:~$ adt-run -o /tmp/adt-libpng --setup "apt-get update" libpng  --- adt-virt-lxc --ephemeral trusty-cloud15:49
pittijibel, rbasak: ^ this now works well, and just takes a minute or so15:49
pittiof course the --setup needs to be extended a bit15:49
pitti/tmp/adt-libpng/ then has apt0t-build-stderr, apt0t-build-stdout, and log15:49
pittiIOW, the jenkins attachments that we want15:49
balloonselfy, I like your branch names :-)15:51
jibelpitti, so in jenkins basically what we need in the job is something like adt-run -o $WORKSPACE/results --setup extended_setup_script $PACKAGE --- adt-virt-lxc ...15:51
pittijibel: correct15:51
elfyballoons: lol15:51
pittijibel: where setup_scripts shoudl enable -proposed, run apt-get update, and perhaps dist-upgrade -y (not sure whether we currently do)15:51
jibeland cleanup the results dir before jenkins grabs the attachments15:51
pittijibel: the only clutter that I see in it is an empty binaries/ directory15:52
pittijibel: for build-needed they will be there, but not in our case; I'll fix that15:52
pittijibel: all the cruft (fifos, "xout" files, etc.) that you saw in earlier versions are completely gone15:52
pittijibel: enabling -proposed is basically echo'ing the deb+deb-src into sources.list.d/15:54
balloonswhoa, so many files changed :-)15:55
elfyI know :(15:55
elfyI'd have left them all tbh15:55
balloonsmerged and syncing15:57
balloonsI see several merges from Ki7MT15:59
balloonselfy, do you have time / desire to review some of the others?16:06
balloonsI see you've earmarked the xfce one for david so I'll leave it16:06
balloonsnvm elfy I'm starting them.. they look fun16:12
=== _salem is now known as salem_
pitti$ time adt-run -o /tmp/adt-libpng --setup "apt-get update" libpng  --- adt-virt-lxc --ephemeral trusty-cloud16:17
pittireal…………1m10.964s16:17
pitti$ ls /tmp/adt-libpng/16:17
pittiapt0t-build-stderr  apt0t-build-stdout  log16:17
pittijibel: ^16:17
pittijibel: so the empty binaries/ is gone as well now; I don't think there's anything else to clean up now16:17
pittijibel: it's only installed on node02 for now, in case you want to play around16:18
pittiI'll install the official debs tomorrow when they are in Debian and synced into trusty16:20
pitti(althuogh they shouldn't look any different from my home-built one)16:20
balloonsDanChapman, ping16:28
elfyballoons: the ki7mt ones - looked like server stuff from memory - no idea here whether they'd be right or wrong16:29
balloonselfy, yep no worries. I finished everything but those I believe16:29
elfyand I'm trying to ping my own qa team for in-house stuff so as to not bother others16:29
DanChapmanballoons, pong16:33
elfyDanChapman: bit rude :p16:36
DanChapmanelfy :-D16:37
pittijibel: rolled out everywhere now; I'll start a loop which runs all our autopkgtests on the four nodes, so that I can have a look at the logs/success rate tomorrow16:40
elfyDanChapman: I see some green at jenkins for us now finally ...16:41
DanChapmanelfy yeah finally running again. :-D16:45
* DanChapman prods balloons 0--16:50
pittijibel: ok, started (all except linux and libreoffice, and the known-bad maas* tests); if you see smoke coming out of those nodes, you know why :-)16:55
balloonshey DanChapman17:08
jibelpitti, Excellent, thanks!17:08
balloonsso DanChapman there's a few ap tests out there, I saw you reviewing some and leaving comments about where to put them17:08
balloonsshall we clean that stuff up?17:08
DanChapmanballoons, sure :-) the desktop tests?17:23
balloonsDanChapman, yes those things :-) I saw Jackson and some others left some MP's to review17:24
=== salem_ is now known as _salem
=== _salem is now known as salem_
DanChapmanballoons, cool :-) Yes so do you mean shall we clean up the MP's or something else?17:31
balloonsDanChapman, I was hoping to merge or give feedback on all the mp's yes17:32
balloonsI saw you had started on some so I thought I'd ping you17:32
DanChapmanballoons, yes so adam/ disc0tech is working on rhythmbox, ive been in contact with him over that MP  via email which i will put a copy of the convo's into the MP for clarity. I believe he is going to improve on the current MP so I will note that17:34
balloonsYes, I assumed so as I remember having some chats with him17:34
=== bfiller is now known as bfiller_afk
DanChapmanballoons, err lderan's branch I havn't ran myself so I can't comment on that one and senan's branch was still flaky last time we spoke, i'll run it again to see what it's like now17:38
balloonsDanChapman, let me know if you need any help or confirmations / etc. I'd just like to provide feedback on all those mp's and merge anything that can be merged :-)17:52
lderanDanChapman, okay18:05
DanChapmanballoons, Yuk emailing a convo to an MP comes out looking horrid :-S anyway feel free to confirm any of them, you can do lderan's if you want? ;p18:05
DanChapmanlderan howdy o/18:05
lderanDanChapman, :P hello18:06
=== bfiller_afk is now known as bfiller
balloonsDanChapman, sorry I didn't respond because I saw lderan appear :-)19:17
elfyI'm watching that balloons guy :p19:24
teward... i have never had a program EVER take so long to build inside of an schroot before... o.o19:25
balloonslol elfy .. so much fun with tests today19:25
elfy:p19:26
balloonssometimes feels like for every fire you put out, two more appear19:26
elfyI know - I've done that lot for you, checked a bunch of our stuff for our next package call, changed stuff, did merge request, synced the tracker, 2 meetings19:27
elfysome other stuff19:27
elfyyou get paid though :p19:28
balloonshehe.. you get more props19:28
balloonsas you should19:28
elfyha ha ha19:28
tewardballoons: i take it the bug triager role is getting people's names on the QA team's wiki page, I'm seeing bug triage, SRU, etc. showing up more now.19:28
balloonsare you seeing output too?19:29
balloonsyes, more people are adding there names, it's good to see19:29
tewardi'm going to add my name there, but I have to put a "NOTE: THis wiki page is outdated, and may be updated at any time" section on my wiki page first.19:30
balloonsLetozaf_, buonasera20:06
Letozaf_balloons, buonasera :)20:06
=== Ursinha is now known as Ursinha-afk
Letozaf_balloons, I'm carrying on fixing other locale test failures in calendar app, failures that don't have to do with the bug found yesterday20:32
balloonsLetozaf_, ahh20:33
Noskcajballoons, Thanks for the merge review. I have a few more packaging things to do first, but i'll get to fixing that eventually20:34
balloonsNoskcaj, your most welcome. Trying to get through all the autopilot reviews this afternoon20:34
balloons* you are20:34
balloonsNoskcaj, I believe I can merge this one though? https://code.launchpad.net/~noskcaj/ubuntu-autopilot-tests/xfce4-screenshooter/+merge/19972320:34
Noskcajballoons, yeah, that's all good20:35
balloonsoO it's using processmanager.. ugh20:35
balloonsno introspection eh? ohh well20:35
Noskcajmost xfce stuff doesn't introspect20:35
balloonsyea, sadness20:35
Noskcajstill, gthumb is huge and needs tests. That will keep me busy20:35
balloonscan you add anything else to the test?20:35
Noskcajnot that i know how20:36
Noskcajeven my gthumb thing is as much as i can do20:36
balloonsNoskcaj, with process manager it gets a bit more fun, but I'm wondering if you could check a hotkey or something20:37
=== Ursinha-afk is now known as Ursinha
balloonsNoskcaj, it seems lderan is also working on gthumb; https://code.launchpad.net/~lderan/ubuntu-autopilot-tests/ubuntu-autopilot-tests/+merge/20233521:20
Noskcaji think i'll leave xubuntu autopilot to him, i still can't make stuff work21:21
balloonsNoskcaj,  I did leave a comment on your screenshooter.. can we hit a hotkey and check the app response?21:29
Noskcajballoons, I don't think so21:30
balloonsNoskcaj, I'm not familar with the app, but does it change at all after pressing the hotkey to take a shot for instance?21:30
balloonssomething simple and basic.. if possible.. beyond checking that it runs without crashing21:31
balloonswhich is quite useful ;-)21:31
Noskcajmaybe using PrntScrn to open it?21:31
balloonsNoskcaj, yes, good example21:34
Noskcajgulp, now i have to do that, don't i21:35
balloonsI believe Noskcaj :-)21:36
* Noskcaj add that to the todo list21:37
balloonsty Noskcaj21:40
Noskcajnow to try and unbreak the multiplayer games of trusty21:40
lderanNoskcaj, you can use process manager to find if a window is open with a specific name if that helps :)21:50
Noskcajlderan, trust me, it's faster you do it than someone teaches me21:51
lderanokay :) tho if you do want it teaching then let me know21:52
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem

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