/srv/irclogs.ubuntu.com/2012/08/29/#ubuntu-testing.txt

jamespagepsivaa, around? have a query about the server tests excuting with UTAH09:40
psivaajamespage, sure09:41
jamespagepsivaa, so its more a fundamental UTAH question - is the success or failure of a test measured by the return code of the script?09:42
psivaajamespage, yes, ideally jcollado should be able to answer more on this09:44
jamespagepsivaa, OK - I was just checking09:45
jcolladojamespage: Yes, that's the way it works for now09:45
jamespagejcollado, great - thanks for the confirmation09:47
jamespagepsivaa, FYI I think we really need to separate the server tests to be task centric as they are at the moment09:47
jamespagebut I'm spending some time on the next few weeks on UTAH for server so I can work on that09:48
psivaajamespage, ack, we were going to split the tests and the job in jenkins is just an example. and thanks for doing it :)09:59
jamespagejcollado, if I'm using my own preseeds how much stuff do I get for free from utah?10:49
jamespagefor example will it inject the utah proxy I configured in /etc/utah?10:49
jamespageand the required packages for testing?10:49
jcolladojamespage: utah will add the lines required to install the test client, but not any packages required run specific tests10:51
jamespagejcollado, ack - just trying to figure out how much I need in the preseed10:51
jcolladojamespage: If you need specific packages for a test suite, it's probably better to have that in the setup scripts for that test suite10:51
jcolladojamespage: Aside from that, in the latecommand the ssh key for the utah user will be added to the authorized keys in the VM so that you can send/receive files10:52
jcolladojamespage: One thing I've found looking at your test cases is that you assume that the user name will be ubuntu while the preseed in utah assumes it's utah10:53
jcolladojamespage: To avoid problems, I think it's better to set utah in the test cases as well10:53
jamespagejcollado, I could just drop it altogether and let utah add it right?10:53
jcolladojamespage: With regard to the preseed, yes, that should be fine.10:54
jcolladojamespage: But you need to take that into account for the test case scripts10:54
jamespagejcollado, yep - got that10:55
jcolladojamespage: Looking at the code, I see that the username will be indeed updated, but it doesn't look it will be added if you haven't set one in the preseed.10:56
jamespageso I just discovered11:00
jamespagejcollado, no auto proxy add AFAICT either11:05
jcolladojamespage: What would be the use case for that?11:08
jamespagejcollado, /etc/utah/uqt-vm-tools.conf allows setting of a proxy for the vm11:08
jamespagethe use case is when I'm trying to test stuff at home with limited internet bandwidth its x1000 faster to get deb's etc from a local squid-deb-proxy cache rather than from the archive everytime11:09
jamespageat least as soon as the cache is hot anyway11:09
jamespageits the proxy for apt rather than the proxy generally11:10
jamespage"d-i mirror/http/proxy string  http://192.168.1.1:8000" for example11:10
jcolladojamespage: I see. Certainly, when I run tests I've to download the same packages over and over for different VMs11:11
jamespagefor me its the difference between 300K/s and 30MB/s11:11
jamespagejcollado, its less import when testing the full ISO - but I'm just using the mini ISO ATM11:12
jcolladojamespage: That would be interesting to have. I've written it down, so that I remember to discuss this in the utah meeting we've got this afternoon.11:14
jamespagejcollado, please - its an essential feature for me - I can workaround in my test preseed for the moment but its not portable11:15
jcolladojamespage: Opened: https://bugs.launchpad.net/utah/+bug/104324911:21
ubot5Ubuntu bug 1043249 in UTAH "apt proxy added automatically to the preseed" [Undecided,New]11:21
jcolladojamespage: Please review and comment if something is missing11:21
jamespagejcollado, LGMT11:22
jamespageLGTM even11:22
jamespage:-)11:22
jamespagejcollado, is it possible to use utah to execute a runlist locally so I don't have to provision a VM to test it?11:29
jcolladojamespage: Yes, you can use `utah -r <runlist>`11:30
jamespagejcollado, hmm - I get this error with the example one in utah11:37
jamespagehttp://paste.ubuntu.com/1173672/11:37
gemajcollado, jamespage afaik nuclearbob was working on the proxy stuff, I'd check with him11:38
gemaI will ask him on today's catch up11:39
gemajamespage: if you are going to be working in utah for the next couple of weeks, you may want to come to our weekly meetings for a while11:39
gemajamespage: we have a hangout on wed afternoons11:39
jamespagegema, what time?11:40
gema3pm11:40
jamespagegema, OK - I'll try to make it today - I have a 14:30 which should be done in time hopefully11:41
gemajamespage: ack11:41
gemajamespage: there is no problem in moving it half an hour later as far as I can tell, so if you find it useful today we could try that11:42
jamespageOK - lets see11:42
jcolladojamespage: I've seen validation problems in the past, but right now I cannot reproduce it. Which package version are you using?11:42
jamespagejcollado, 0.4ubuntu57-r661~quantal111:42
jcolladojamespage: Are you using the example runlist or another one?11:46
jamespagejcollado, I get it with the example and my own11:46
sagacithe desktop interface looks a lot better in virtualbox since the removal of unity-2d but performance is excruciating11:47
jcolladojamespage: That's strange. I don't get any validation error with this one: http://pastebin.ubuntu.com/1173679/ (which should be the same example one you have)11:49
jamespagejcollado, it is - I'm using quantal rather than precise - could that make a difference?11:50
jcolladojamespage: Oh, yes, now I realize11:51
jcolladojamespage: The thing is that we use an newer version of python-jsonschema that is available through the PPA: https://launchpad.net/~utah/+archive/stable11:52
jcolladojamespage: Probably you have version 0.2 when you should have 0.511:52
jamespagejcollado, I am using 0.2 yes11:52
jamespagejcollado, OK - the docs probably need updating then11:53
jamespagejcollado, how does that get into the VM being tested ten?11:54
jamespagethen11:54
jcolladojamespage: The PPA is enabled in the preseed11:55
jamespagejcollado, it tried to by add-apt-repository was not installed...12:12
jcolladojamespage: The add-apt-repository call failed or after adding the PPA to your sources you still don't get python-jsonschema 0.5?12:15
jamespagejcollado, I patch it all up after provisioning and then it works OK12:19
jamespagejcollado, "add-apt-repository -y ppa:utah/stable" - command not found12:20
jamespageI've added the required packages to my preseed to fixup12:20
=== _salem is now known as salem_
=== sagaci_ is now known as sagaci
smartboyhwHi, is there any people who develop checkbox?14:27
sagacilooks like there is14:28
smartboyhwHi, is there any checkbox dev here?14:29
roadmrsmartboyhw: sure, ask away, we may be a bit slow, I for one am on a phone conference14:35
smartboyhwEr, I don't know why, the audio tests passed, but then still it shows a popup showing the tests had failed and I need to report a bug. Thanks roadmr14:35
roadmrsmartboyhw: I suggest you say "no" to the bug report request and then run the rest of the tests, the final report will tell you why it thinks the audio test failed14:37
smartboyhwI know.14:37
smartboyhwwhere can I find the report then?14:37
roadmrsmartboyhw: if you like you could put the submission.xml somewhere for me to look at and figure out what happened14:37
roadmrsmartboyhw: in .cache/checkbox/submission.xml, you can open it with firefox14:38
smartboyhwOK14:38
roadmrsmartboyhw: note it only gets generated when the test run ends14:38
smartboyhwOK14:38
smartboyhwOK, where to put the submission.xml?14:39
roadmrsmartboyhw: you could pastebin it14:39
smartboyhwhttp://paste.ubuntu.com/1173908/14:40
roadmrsmartboyhw: awesome thanks14:40
smartboyhw)14:41
smartboyhw:)14:41
roadmrsmartboyhw: strange because this submission doesn't show any failed tests :/14:59
smartboyhw:)15:00
roadmrsmartboyhw: so the window asking you to report a bug, it had a test name on it, which was it?15:01
smartboyhwAll the audio ones15:01
roadmroh ok.. let's see15:04
roadmrsmartboyhw: which version of checkbox are you running?15:04
jamespagejcollado, gema, bug 104338215:06
ubot5Launchpad bug 1043382 in UTAH "Reporting of test failures" [Undecided,New] https://launchpad.net/bugs/104338215:06
jcolladojamespage: Thanks15:06
=== yofel_ is now known as yofel
jamespagejcollado, erm - stupid question but can I make UTAH run my tests as root?15:56
jcolladojamespage: There's a "run_as" field in the test suite runlist for that.15:57
jcolladojamespage: http://utah.readthedocs.org/en/latest/development.html#runlists-hierarchy15:57
jamespagejcollado, and that can escalate to root? I'll try it15:59
jcolladojosepht: ^15:59
josephtjamespage: by default they run as 'root', 'run_as' will allow dropping privileges for testcases that require it.16:06
jamespagejosepht, OK - lemme give it a swing - was seeing some odd issues....16:12
jamespagejosepht, gema: OK - so I rejigged all of the server test cases and hacked out the preseed templating code16:48
jamespagehttps://code.launchpad.net/~james-page/+junk/server-tests16:48
jamespagestill struggling a bit to get them to execute through UTAH tho16:49
xnoxI see a surge of bugs against ubiquity, when really they are bugs in live-desktop, i.e. bugs in other packages.19:33
xnoxDoes the iso tracker encourage filing bugs against ubiquity for some reason?19:33
balloonsxnox, yes..19:33
xnoxOr is it just the random sample of latest ubiquity bugs which just happen to be anything but ubiquity?19:33
xnoxballoons: that's bad.19:33
balloonsin general, bugs encountered during installation are filed against ubiquity19:33
xnoxbug 104348819:34
ubot5Launchpad bug 1043488 in ubiquity (Ubuntu) "Scroll with a scroll wheel doesn't work on a web page" [Undecided,New] https://launchpad.net/bugs/104348819:34
xnoxbug 1043403 was also filed against ubiquity19:34
ubot5Launchpad bug 1043403 in linux (Ubuntu) "Wireless not active during installation or after boot" [Undecided,Confirmed] https://launchpad.net/bugs/104340319:34
xnox(it also, in the very first description) said "even after I boot into installed system there is no wifi"19:35
xnoxballoons: I do not scale to reassign them to different packages =/19:35
balloonsxnox, heh, no I'm sure you don't19:35
xnoxI am ok with ubiquity crashing & filing bug against ubiquity, even if it is a particular package install problem. But making ubiquity yet another bucket "ubuntu (no package)" is counter productive =/19:36
balloonshmm.. no I don't believe that's the intent here19:36
balloonspart of the issue  I think is stemming from the post-installation testing rolled into the iso-testing19:36
xnoxballoons: so can you show me where the iso tracker / test cases encourage to file bugs specifically against "ubiquity"19:36
xnox?19:36
* xnox doesn't use iso tracker / test cases that often. Or am I blind and just don't see such encourangment.19:37
xnoxpost-installation hmmm....19:37
xnoxto be honest anything can be install or a package issue.19:37
balloonsmeaning since we're now rebooting into the installation and running tests, those bugs should be reported against the package in question19:37
balloonshttp://iso.qa.ubuntu.com/qatracker/milestones/219/builds/22057/buginstructions19:37
balloonswe can change what the instruction are obviously :-)19:38
balloonsbut what I meant was there is no further information given about reporting a bug that didn't occurr in the installr19:38
xnoxballoons: I would say for "Graphics problems file against: xorg";  "For all other hardware file against: linux"; "For installer bug, crashes, or installation failure: ubiquity"; "For particular applications during live session or after the install: against that application"; "If not sure: ubuntu (no package)"19:41
xnox"Fail to boot after install: grub2"19:41
xnoxor uboot on arm.19:41
balloonsok.. we can customize the info by arch, so19:41
xnoxawesome! =)19:42
xnoxMention Xorg only on Desktopy Cds.19:42
xnoxAnd ubiquity on the desktopy CDs; but debian-installer on others19:42
xnoxballoons: does iso tracker/testcases have a launchpad bugtracker?! I think I should just file a bug about it.19:43
xnox?19:43
balloonsxnox, indeed19:43
balloonscheck the bottom of the page19:43
balloonsdebian installer / ubiquity is split properly atm19:44
xnoxballoons: bug 104350319:53
ubot5Launchpad bug 1043503 in Ubuntu QA Website "bugreporting instructions need improvement" [Undecided,New] https://launchpad.net/bugs/104350319:53
balloonsxnox, I'll have a look and comment on it19:54
balloonsthis is something we can change on the fly, so assuming we all agree, we'll update it19:54
balloonsxnox, so bugs filed against ubuntu are triaged, or intended to be triaged?20:01
xnoxfor some reason I do get bug mail about "Ubuntu (no package)" And I do notice that many/different/random people assign them to correct packages20:01
xnoxvery quickly20:01
xnoxso somebody is taking care of those =)20:02
balloonsxnox, alright20:02
xnoxI have no clue who though =)20:02
xnoxbugsquad? brian murray's army of bots?20:02
balloonsI'm assuming the bugsquad :-)20:02
balloonsthe bot army!20:02
balloonsI love it20:02
xnox"(we don't always watch that area, though, 24/7)" --- reply on #ubuntu-bugs20:05
balloonsxnox, ok, I will try and make the suggested changes this week and mention it to everyone to try and file bugs accordingly. Often they don't know where to file, but if ubutu (no package) is being triaged, then that's the place to go.. The trouble is I believe historically all isotesting bugs were triaged by jibel et la on QA20:07
balloonsso having them land in a couple places probably worked out well for that20:07
xnoxballoons: redirecting all to one place, does not work.20:08
xnoxballoons: either keep it, as it is. Or stream it into multiple buckets.20:08
balloonsxnox, what do you mean?20:08
xnoxballoons: to be honest "linux" and "xorg" are big buckets as it is. But by landing more-or-less correct bugs gets more people to look at them quicker.20:08
balloonsthere will be cases of peopl egetting it wrong.. but even more so for the random post-install bugs, people simply won't know where to assign it20:08
xnoxballoons: yeah, so ubuntu (no package) should be a last fallback.20:09
xnoxbut not "the only encouraged location to file bugs"20:09
balloonsshould we encourage folks to file against the application they are having issues in, even if it turns out to be something like a compiz bug?20:10
xnoxyes.20:10
balloonsis that better or worse than filing against ubuntu?20:10
xnoxbetter - cause filing in multiple locations, triggers more/different people to "sheppard/triage" bugs20:10
xnoxand compiz is a corner case - by the time a bug becomes a compiz bug it usually already has been in linux/xorg packages =)20:11
xnoxor even unity20:11
balloonsit's just important that we note that in the bug reporting instructions20:11
balloonswe don't want a novel, but :-)20:12
xnoxballoons: if somebody is using ISO testing website I think they are capable to separate: installer (ubiquity), hardware support (linux), or other bugs =)20:12
xnoxballoons: remember they managed to download & burn an ISO =))))))))))20:12
balloonshehe20:13
jibelballoons, maybe we should add some requirements before people can join ubuntu-qa/ubuntu-testing ? like read and understood the bugsquad and bug reporting documentation20:52
balloonsjibel, asking them to read things in advance and understand isn't a bad idea.. but if we do it, we need to help get them knowledgable20:53
balloonsin general I don't think it's too bad20:53
balloonsthe bugs xnox mentioned came from someone I was helping over email actually..20:53
balloonsthey are new.. clearly saying 'file a bug' isn't enough detail20:53
xnoxballoons: is that so!20:54
* xnox phht! it's all balloons fault =)))))20:54
xnox*kidding*20:54
jibelballoons, people doing testing *will* file bugs, IMO reading documents like https://help.ubuntu.com/community/ReportingBugs/ or https://wiki.ubuntu.com/Bugs/BestPractices should be mandatory20:55
balloonsxnox, I can affirm one of them anyway20:55
balloons:-)20:55
balloonsjibel, yep.. but further we should make sure they are filing good reports20:56
balloonsboth in where they land, and what they say20:56
jibeltesters make the effort to download iso, install them and reporting bugs. We can expect that is there are requirements like reading some documentation to join the team they will follow the guidelines20:58
jibels/is there/if there20:58
jibelthen filing good reports comes with experience and time.20:58
leadsledISO tracker question why has the Xubuntu 12.10 daily iso been updated since 8-22-2012?21:11
balloonsleadsled, gtk2 indicator errors21:11
leadsledhow long will it take for this to be resolved?21:13
balloonsleadsled, unknown to me.., however, I expect it to be fixed this week.. the images are in a state of flux do to feature freeze occuring21:15
balloonsnext week is beta 1 testing.. we will need an iamge ;-)21:15
leadsledWhy has the decision been made to end Ubuntu 12.10 alternate when there is only a month and half until the final release?21:21
balloonsleadsled, the idea was discussed at the last UDS, as a target for this cycle. Now, it was agreed the alternate images could be considered to be dropped if ubiquity was able to meet all the features of the alternate installer21:22
balloonsNow, as you read in the email, feedback is being solicitied for dropping the alternate, even though all features are not yet contained in ubuiquity21:22
=== salem_ is now known as _salem
leadsledshould the daily isos at this point have beta instead alpha on the readme.diskdefines?21:32
balloonsleadsled, now.. there not yet beta :-)21:43
balloons*no21:43
leadsledso beta starts tomorrow21:47
=== Ursinha` is now known as Ursinha

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