/srv/irclogs.ubuntu.com/2015/07/28/#ubuntu-quality.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
brendandpitti, hi - hope you had a nice holidays!12:57
pittihey brendand, how are you? I did, thanks!13:00
brendandpitti, i'm good. i had a quick question about the step adt-run does to update the apparmor rules13:00
brendandpitti, do you know if it will be skipped if that was already done?13:00
pittibrendand: no, right now it doesn't check the current state, it just applies the update and reverts it at the end13:03
balloonsdkessel, if you've not seen this: http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/view/head:/autopilot/README.md13:41
gQuigslooks like the wily build isn't being promoted again - sudo issue? - https://jenkins.qa.ubuntu.com/view/wily/view/Smoke%20Testing/job/wily-desktop-amd64-smoke-default/112/console15:22
gQuigs(promoted from pending -> current on cdimage)15:23
dkesselballoons: oh, nice! That will surely help once we have the system.16:09
balloonsdkessel. you should be able to use that to give it a go now16:09
balloonsgQuigs, interesting. Sudo hasn't changed: http://changelogs.ubuntu.com/changelogs/pool/main/s/sudo/sudo_1.8.12-1ubuntu2/changelog16:10
dkesselRight. Will try that when I have the time.16:11
balloonsawesome16:11
dkesselballoons: running the tests is indeed working. we get a test failure though :p i am searching for the bug now...17:44
balloonsdkessel :-) I know DanChapman knows of a few issues, but it would be good to have them as proper bugs17:45
dkesselballoons: the logs also look like it is downloading packages, which i think is strange: http://paste.ubuntu.com/11954772/17:45
balloonsdkessel, the installer will grab newer packages if a network connection is present. I believe this is the case, even if you don't tell it to download updates17:46
balloonsIn that case it may only grab lang stuff17:46
dkesselso the test really is "iso image + any available updates"17:46
dkesselwhich makes it non-reproducible, but nice to test any possible fixes17:46
balloonsdkessel, ohh, I was speaking about ubiquity only17:47
balloonsif the test is grabbing packages then, yea, it could lead to more of a point in time test17:47
balloonsand not as nice for reproducibility17:47
dkesselballoons: okay, i could be wrong. it could also be that the environment for the tests is being updated to all latest packages17:50
dkesselballoons, DanChapman: FYI, there is bug 1479064 now17:56
ubot5bug 1479064 in ubiquity (Ubuntu) "Autopilot test "EnglishDefaultInstallTestCase" fails with Xubuntu i386 Wily daily ISO" [Undecided,New] https://launchpad.net/bugs/147906417:56
balloonslooks good17:58
* DanChapman closes qtcreator otherwise he will forget to reply *again*18:10
DanChapmanballoons: dkessel o/ sorry, my time has been some what limited recently. Especially with dekko now chalked in for OTA-618:11
* DanChapman reads bug report18:11
dkesselif you need any more logs... they are there until the next reboot ;)18:16
balloonsDanChapman :-) I know OTA-6 is going to be a big deal for dekko. So what we really need at the moment is a server. Did you get anywhere in thinking about how to host such a thing?18:16
balloonswhat I haven't done is confirm that indeed a cloud server won't work. But assuming it won't, it makes it a little tougher and more expensive to find a company18:17
balloonsalternatively, someone could self-host I guess18:17
dkesselreading the README on the autopilot jenkins setup... are two seperate physical machines needed? i am reading "jenkins machine" and "slave"...18:19
balloonsdkessel, good point. It's a bit odd as we need a phsyical machine to be the slave. And thus it cannot be the master either due to it's nature18:22
balloonsnormally you could use a single machine setup for this, but presumably these tests don't run under kvm, hence the need for a machine18:22
dkesselmhh couldn't jenkins be run as a vm ?18:22
balloonssure.. but on the same machine?18:22
dkesseli don't know how much ram/cpu jenkins really eats... why not?18:23
* dkessel uses "homebrew" build servers at work, where jenkins would normally be a natural fit for all the java projects... ;)18:24
balloonswell right. on a single machine you would install jenkins master, then create multiple slaves via kvm18:24
balloonsdkessel, what if we started out by having you self-host this? We can get you some hardware for it18:25
balloonsthe trouble with the kvm approach is a kvm slave doesn't work in this case. So jenkins master imho can't run on a slave node18:26
DanChapmanballoons, dkessel commented on bug18:27
balloonshonestly the jenkins master could be on a raspberry pi or beagle bone, heh. The slave would be doing all the work18:27
dkesselyay, another pi for me :)18:27
* balloons starts thinking about multiple machines for parallel builds.. ugh18:28
DanChapmanballoons: are you wanting to run these tests on real hardware then? Previously they were just run using kvm18:28
balloonsDanChapman, based on feedback from CI, they suggest real hw.18:28
balloonsBut I'm keen to know if it's needed or not18:29
balloonsI assume there is a way to make it work without; even if we have to cheat a little in testing18:29
DanChapmanah now that changes things. I was about to say a cloud server should do the job18:30
balloonsif we don't need real hw, this easily goes in the cloud and we pick our favorite provider and go18:30
dkesselballoons: i will be moving to "the countryside" in about one month. and i am still unsure about how good and reliable the internet connection will be there. but other than that, i would be fine with running the box from home ;)18:31
dkesselif CI suggest real hardware because they have had bad experiences with virtualization breaking stuff a lot, then i would understand.18:31
DanChapmanballoons: didn't the previous runs of these use kvm of jenkins.qa.u.c? If so there was never any real issue in regards of the test environment and they used to run great18:35
balloonsDanChapman, yes as far as I know. hmm18:35
balloonsperhaps the issue here is cloud kvm vs real hw kcm?18:35
balloonsregardless, we can certainly try in a cloud environment18:36
DanChapmanballoons: I think it's definately worth a shot, before commiting to real hw.18:51
DanChapmanman I forgot how *little* you can easily identify object with gtk apps in vis :S18:52
balloonsheh.. yea, the dark ages18:53
dkesselDanChapman: mhh i am struggling to even get autopilot to show the ubiquity instance...18:57
dkesselokay, so let's first try the cloud option18:58
balloonssounds good to me. Who's up for it?18:58
dkesselo/19:01
balloonsawesome..19:05
DanChapmandkessel: are you getting to the live desktop and ubiquity just doesn't start?19:08
dkesselDanChapman: it starts, and stays open, but running "autopilot vis" (after installing python-autopilot) won't show any ubiquity instance19:09
DanChapmanahh right. so what you need is to use a config file. Take a look at http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/view/head:/autopilot/ubiquity-autopilot-runner/config/testrunner.cfg as an example then you can  pass it to the runner with the -T --testconfig options19:12
DanChapmansetting SHUTDOWN=0 will keep the runner live after a failed test which you can then launch autopilot vis19:12
dkesselDanChapman: i used that exact same file :) and it left the runner open with ubiquity. but autopilot vis still waits "for the first valid dbus connection"19:14
DanChapmandon't forget you need to use the launch_vis script in the ubiquity/autopilot/* dirctory19:14
dkesselahhhh19:14
DanChapmanunfortunately it doesnt work with the python3 AP vis so you don't get all the nice goodies like search :-(19:16
dkesselthis is truly horrible. someone should at least have put object names into the glade file for ubiquity19:19
dkesselomg i think i have found the item finally19:22
DanChapmandkessel: ubiquity is probably the best gtk app out there to actually find object id's. You should checkout some of the other gtk apps, you won't find any, apart from a helpful toplevel name like NautilusWindow or some such19:24
dkesselDanChapman: i found the item here: http://i.imgur.com/3xg07SE.png19:24
dkesselDanChapman: yeah, i had to bug one of xubuntu's developers to include object names there, too :p i can understand that these are never important to developers, because you can interact with stuff by reference, not by object name....19:25
DanChapmanballoons: this brings back memories :-)19:25
dkesselDanChapman: i could do a merge request to fix the coordinates19:26
balloonsnice work19:26
* balloons shudders at the sight of those gtk objects19:27
balloonsindeed this brings back memories! And people say autopilot is hard for qml apps! sheesh!19:27
dkessel... if that is all it needs, that is ;)19:27
dkesseli am wondering why "accessible_name" is not used19:28
DanChapmandkessel, it doesn't use accessible_name because of non english installs may not display it as "English" or "German" all the test does is check it is unicode as there has been previous bugs where it just displayed black squares etc19:32
dkesselDanChapman: oh... ok *reads test code to look for a possible fix*19:33
DanChapmandkessel: does the parent GtkTreeViewAccessible of that cell have valid rect co-ordinates and is it visible? those are the two things the _get_gail_treeview code will looks for19:35
DanChapmanballoons: yeah I did always wonder what they had to moan about :-)19:36
dkesselDanChapman: it has valid coords and is visible19:37
DanChapmannow jot those coords down. And go looking for the matching GtkTreeView and see if the coords match.19:38
DanChapmanit should be the only GtkTreeView beneath a GtkBox with name "stepLanguage"19:41
dkesselphew.... *searches*19:45
dkesselhah19:47
dkesselDanChapman: the coords don't match. accessible: 225,269,120,21 , treeview: 225,270,122,24219:48
dkesselthe treeview has a BuilderName... "language_treeview"19:51
DanChapman:-( that's not such good news. IIRC there wasn't another way to identify between them.19:51
dkesselDanChapman: wait, the treeview's accessible isn't that far off.... it is at 224,269,122,242 . so only off one pixel off at x and y19:57
dkesselugly, but making that comparison less strict might be a way.... after all, there shouldn't be too many controls with coordinates one off of the treeview, and the same height and width20:00
DanChapmandkessel yeah making it less strict sounds reasonable to me. autopilot-gtk is ugly so i'm cool with ugly workarounds :-D It's a nightmare they are on seperate tree's to anyway20:03
dkesselDanChapman: I got to leave. Left my results on the bug.20:03
dkesselonce i understand the syntax to create a "off-by-one clone" of the globalrect, i can propose a fix20:04
dkesselor wait... i think i know a way.20:05
dkesselsee you another day :)))20:05
DanChapmandkessel ok great :-) enjoy your evening!20:06
balloonsthanks guys!20:09

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