/srv/irclogs.ubuntu.com/2013/01/10/#ubuntu-quality.txt

SergioMenesesballoons, around?00:49
cprofittballoons: http://ftbeowulf.wordpress.com/2013/01/09/ubuntu-that-was-friendly/01:30
pittiGood morning05:22
=== tubadaz_ is now known as tubadaz
=== yofel_ is now known as yofel
psivaajamespage: jcollado: reported bug 1098144 for ceph i386 installations failing to reboot11:07
ubot5bug 1098144 in Ubuntu Test Cases "i386 ceph smoke tests: the server installation fail to reboot" [Undecided,New] https://launchpad.net/bugs/109814411:07
jamespagepsivaa, jcollado: I'm unlikely to get to that anytime soon; I would suggest we disable the ceph tests for the time being11:08
psivaajamespage: ack11:09
=== _salem is now known as salem_
=== Ursinha is now known as Ursinha-afk
=== ayrton is now known as ayr_ton
=== Ursinha-afk is now known as Ursinha
=== ayrton is now known as ayr_ton
rbasakSome autopkgtest help please. I want to write a dep8 test for an apache module, so that involves having root and trashing the machine. So to iterate on my test I want to use the testbed vm thing. If I do that, how do I get run-adt-test to use a package out of a repo, but with tests out of a local working directory?17:12
balloonsrbasak, running in the vm testbed should work fine17:27
balloonsdid you try it?17:27
rbasakballoons: I don't understand what syntax to use to try it with17:28
dkesselgood evening17:33
dkesselballoons, bug 1097889 affects you ;)17:33
ubot5bug 1097889 in update-manager (Ubuntu) "update-manager crashed with SIGSEGV in g_type_check_instance()" [Medium,Confirmed] https://launchpad.net/bugs/109788917:33
balloonsrbasak, ahh, well let's step through it then17:33
balloonsrbasak, I take it you have been through the steps here: http://developer.ubuntu.com/packaging/html/auto-pkg-test.html17:37
rbasakballoons: that's what I'm looking at17:37
rbasakballoons: so right now I have a local unpacked debian package source tree with a debian/tests that I've just created in it, with control file, XS-Testsuite in debian/control and a test I want to run defined (I hope)17:38
rbasakballoons: and to start with I'm happy to use the package in raring, which lacks any tests, to test with. But I want to run the test that I've defined17:38
balloonsyes of course17:39
rbasakI've checked out auto-package-testing from bzr17:39
rbasakSo bin/run-adt-test...what? All the examples seem to expect that my test is defined in a bzr branch. But I haven't got as far as committing anything - it's juts local17:39
balloonsso, have you pushed your tests to lp?17:39
balloonsyou can push it to a generic junk branch if you wish17:40
rbasakBut I have to push?17:40
balloonsrbasak, I believe I always have17:42
balloonshowever, I'm trying to remember if you had to or not17:42
balloonsI feel like there was another flag you could set for local17:42
rbasak-S looks promising17:42
balloonsProbably should add a local example to the page17:42
rbasakBut it isn't clear to me how to use it. It doesn't appear to take any parameters, but I need to specify the location of the local test somehow, surely?17:43
balloonsI don't have the flags in front of me17:43
balloonslet me go start17:43
rbasakballoons: http://paste.ubuntu.com/1517432/17:43
balloonsrbasak, see the 'hacking inside the testbed' http://bazaar.launchpad.net/~auto-package-testing-dev/auto-package-testing/trunk/view/head:/doc/USAGE.md17:44
rbasakballoons: but I don't want to go inside the testbed. I want the complete result of the test (preferably with logging), based on the archive package version and the a local debian/tests directory17:46
balloonsrbasak, I know, I was just pointing out the example of using -S17:46
rbasakOh, OK17:46
balloons:-p17:46
balloonsis jibel still about?17:47
rbasakIt looks like -S will use apt-get source or something, rather than sourcing from my local directory17:47
balloonsyes17:47
jibelballoons, hello17:47
balloonsjibel, hello ;-)17:47
rbasakI'm a bit baffled. I think my mind must work differently, but this seems like the most basic use case of developing tests that I'm missing here17:47
balloonsrbasak was working with autopkgtest and wanted to run his testcase without committing it to lp first17:48
balloonssee the scrollback above.. I don't think I've ever done it that way.. and I'm not remembering if it's possible or not17:48
jibelrbasak, ah, running tests from a local working directory is not implemented as it was originally design to be automated, this is on my todo list but no ETA though17:48
balloonsi mean, since he wants to use the testbed.. as it's invasive to run otherwise if I understand17:49
rbasakYeah I won't be able to run it twice if I do it locally17:49
rbasakOr I might, but that won't test the test17:49
balloonsjibel, yes, most of the time you would simply run it locally in that case n'est pas?17:49
rbasakI don't think this would be safe for most server packages, since they generally need root and clobber the server's configuration17:50
rbasak(for daemons, anyway)17:50
jibelrbasak, as solution would be to start the testbed with -kl which won't kill the testbed after the test and will log you in, then copy your package and the tests into the testbed17:50
jibelbut if your test kills the testbed, you'll have to redo it every time17:50
rbasakAnd then run adt-run in there I presume17:50
jibelrbasak, yes17:50
jibelballoons, I never run tests locally17:51
rbasakHow would I rsync or scp stuff into the testbed? Is ssh set up in some way?17:51
jibelas usually your local system is not clean17:51
balloonsi've always started with a bzr branch, and yea, run in the testbe17:52
balloonsbut in theory, you could stay local for a bit.. meh17:52
balloonsthanks jibel17:52
jibelssh on the testbed is listening on port 543XX on localhost, you can either ssh to the testbed or login and copy from your host17:53
balloonsI'm going to edit that page a bit with an explanation .. is there a reason you don't want to push to bzr?17:53
jibelballoons, it is not really practical in the first stage of test development17:53
balloonsI mean, just pushing to +junk.. you want your code vc'd17:54
rbasakI could push every iteration out to +junk, but that's painful and slow.17:55
jibelballoons, understood, but I also understand the rationale of not doing so when one start writing new tests17:55
balloonsok, I just want to feel out the 'recommended' way to go out doing this, if it's not to push to lp17:56
rbasakI'd prefer to commit logical steps, rather than every tiny typo and mistake17:56
rbasakOf which as a newcomer I'm sure there will be many17:56
balloonsthis is true17:56
rbasakThe resulting history won't be useful17:56
jibelanyway, next hackfest is end of the month, and I find time to implement testing from a local directory before that event17:57
jibelI'll17:57
rbasakjibel: thank you!17:57
rbasakEOD18:01
dkesseljibel: +1 for running tests locally :)18:07
Noskcajmorning everyone18:48
dkesselgood evening :)18:48
Noskcajcan someone confirm  the new testdrive bug? unit has already mad a patch18:49
dkesselnumber?18:49
dkesseldo i need real hw or a vm?18:50
dkesseloh right.. testdrive, not checkbox :)18:52
balloonsNoskcaj, bug3?18:53
Noskcajbug 1098080 i think18:53
ubot5bug 1098080 in testdrive (Ubuntu) "Testdrive gets stuck on "configuring Virtual Machine" if Virtualbox 4.2 is installed" [Undecided,New] https://launchpad.net/bugs/109808018:53
balloonsahh yes18:54
balloonsI manually setup vm's18:54
dkesselNoskcaj, great - I even had that the other day...18:55
* dkessel admits he didn't file/search a bug18:55
Noskcaji only filed the bug because unit made a patch instantly18:56
dkesselNoskcaj, confirmed18:56
Noskcajty18:57
balloonsahh nice19:02
Noskcajon a slightly related topic, can someone confirm all the "new" bugs in the iso tracker, most are from me19:03
balloonsNoskcaj, I'm still a bit confused about https://bugs.launchpad.net/ubuntu-qa-website/+bug/109644619:04
ubot5Launchpad bug 1096446 in Ubuntu QA Website "Iso tracker should have a timer, resetting for each testcase whenever the testcase is completed" [Undecided,New]19:04
balloonsand certainly stephane will be confused19:05
Noskcajok, it was just a suggestion. but put a timer into each testcase that go's up one with every new build released and resets when the testcase is completed19:07
balloonsa timer?19:07
balloonsmeaning?19:07
Noskcajlike 1, 2, 3, 4, 519:08
balloonsthat incremented when?19:08
balloonsand what does it mean for it to go up?19:08
balloonsare you wanting some way to know if something has been tested.. like say in the past month19:08
balloonsweek, days?19:08
Noskcajyes, i thought builds would be easier to measure it in19:09
dkesselsounds like a sound idea. bonus points for sorting tests by last run date :)19:11
balloonsNoskcaj, dkessel well, that's the point of the dashboard19:13
balloonsreports.qa.ubuntu.com19:13
Noskcaji had no idea that existed19:17
Noskcajbut it's for smoke tests19:17
balloonsyes, but I want to keep track of manual stuff there too19:19
balloonsneeds to be built out19:19
dkesselbut you cannot see at a glance which which tests have not been run in the last days/weeks19:21
dkesseli think that's was Noskcaj might have wanted?19:21
Noskcajdkessel, my original goal was to spread the iso testing time more evenly19:23
dkessel...and for that would help to easily see which tests have -not- been run in the last time, right. or am i missing the point?19:25
Noskcajexactly dkessel19:32
dkesselballoons ^^19:33
balloonsdkessel, Noskcaj I agree19:45
dkesselgot to got, see you19:52
=== salem_ is now known as _salem
=== tripelb is now known as macosppcgal
=== macosppcgal is now known as tripelb
=== tripelb is now known as macosppcgal
=== tripelb is now known as macppcgal-b
=== _salem is now known as salem_
=== macppcgal-b is now known as tripelb
=== salem_ is now known as _salem

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