/srv/irclogs.ubuntu.com/2014/12/05/#ubuntu-quality.txt

pittielopio, balloons: the ADT_AUTOPILOT_MODULE hack is fine for locally running just a single test; I'm just saying we shouldn't use that in official infrastructure05:10
pittithere --override-control should be used, and is the official way05:11
pittithat also works locally, of course05:11
=== chihchun_afk is now known as chihchun
=== _salem is now known as salem_
=== salem_ is now known as _salem
balloonspitti, ahh yes I couldn't remember the override-control switch, ty13:53
=== chihchun is now known as chihchun_afk
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
dobeyhi, anyone can tell me what's wrong on here, and how i might be able to fix it? http://pastebin.ubuntu.com/9385488/18:23
balloonsthat looks unfun18:57
dobeyyeah, not nice18:58
dobeyi just want to run the tests to make sure they work :(18:58
balloonsdobey, I would ping jibel or pitti about it if you don't figure it out19:05
dobeyi'll build a utopic .img and try with it instead i guess19:06
balloonsthat would be my first guess.. blame the archive / devel nature of vivid19:06
dobeywell, this has to work in vivid too. :)19:12
dobeyand i don't think anything has actually chagned with autopkgtest in vivid19:12
balloonsdobey, well actually it has19:12
balloonswhat version are you running/19:12
dobeyballoons: i'm running trusty19:13
dobeythose errors seem to be from inside the vm though19:13
balloonsdobey, sure, but you sure grab the latest autopkgtest actually19:14
dobeyhmm, and i get same error with utopic vm image19:14
balloonsdobey, this should install on trusty just fine: http://mirrors.kernel.org/ubuntu/pool/main/a/autopkgtest/autopkgtest_3.8.1_all.deb19:15
balloonssee if that doesn't solve the problem19:15
balloonsthen of course, ask to get a more modern version in trusty19:15
dobeywell, the problem is updating service stuff during configuration of packages inside the vm19:17
dobeyso i don't see how a new autopilot on the host will help :)19:17
dobeybut trying anyway19:17
balloonsyea, I agree but . . .19:18
dobeyand indeed, it didn't help. same error19:18
dobeyerr, s/autopilot/autopkgtest/19:18
dobeytoo many auto*19:18
dobeymeh :-/19:28
dobeyare the scripts in lp:auto-package-testing no longer used?19:34
dobeyhmm19:39
dobeyballoons: so i guess proposed is broken. removing the --apt-pocket=proposed lets it continue on19:40
balloonsdobey, bah, didn't really think that one through eh? that should have been obvious19:41
balloonswhoops19:41
balloonstypically you would pull specifically what you need out19:41
dobeyballoons: the problem is that autopkgtests get run whenever anything is uploaded in the dependency tree19:42
dobeyballoons: so, proposed is what is used in live deployment19:42
dobeyso i was trying to run with that. i'm surprised it is breaking at that point though with proposed enabled19:43
dobeyseems like nothing would be able to land in that case19:43
dobeyso there must be something else going on there19:44
balloonshttps://jenkins.qa.ubuntu.com/view/Vivid/view/AutoPkgTest/19:45
balloonsnotice specifically; https://jenkins.qa.ubuntu.com/view/Vivid/view/AutoPkgTest/job/vivid-adt-apport/19:45
dobeyballoons: hrmm, but that's not failing due to the same issue19:53
dobeyand i am getting the same insserv issue still without proposed, only it happens much later in the setup19:54
balloonsyea, not quite so easy19:54
dobey:(19:55
* dobey wonders what to do there20:00
=== roadmr is now known as roadmr_afk
alesageelopio ping, when you have a min, I'm seeing that the sim pin test I need to write is already in u-s-s trunk, however the test may need some brushing up, would like to get your input on what's good to fix http://bazaar.launchpad.net/~ken-vandine/ubuntu-system-settings/less_flaky/view/head:/tests/autopilot/ubuntu_system_settings/tests/test_security.py20:37
balloonshello Letozaf_20:38
Letozaf_balloons, hello :-)20:38
Letozaf_balloons, I made the changes to the mp20:38
elopioalesage: first, I would make sure that each test is as small as possible, testing only one workflow and ideally with only one set of assertions at the end.20:40
elopioalesage: next, keep all the user actions out of the test case class. Put then in a page custom proxy object.20:41
balloonsLetozaf_, ohh cool. I see you added test_cancel_extract_zip_file. can you assert something in that test. the expectations would be the file and folder count stays the same, no extracted folder20:41
Letozaf_balloons, ok I will20:41
alesageelopio, ok that's a start thanks, will try to get a review for you in a bit20:41
elopioalesage: third, and I'm not sure about this part, we might have to make the ofono_phonesim part optional.20:42
elopioso we can run the tests with a real sim in the real phone.20:42
alesageelopio, ok, considering20:43
elopiothat's where the config values come into play. Maybe if there is no config value for sim_pin, run the tests with the fake20:43
elopioif there is one, run them with the real sim. Something like that.20:43
alesageelopio, ok20:43
alesageelopio, I'm consciously trying to avoid the config stuff at the moment :) as it seems to be in progress, right?20:44
balloonsLetozaf_, something. A test isn't a test if it doesn't have an assert ;-)20:45
Letozaf_balloons, you are absolutely right, :( wonder how I forgot that :P20:46
elopioalesage: in progress, but you can assume that it will be in autopilot configuration20:46
alesageelopio, ok very well20:46
elopiofrom autopilot import get_test_configuration20:47
elopiosim_pin = get_test_configuration['sim_pin']20:47
alesageelopio, thanks for that20:47
elopioalesage: with veebers branch, it is actually runnable20:48
elopiohttps://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/config/+merge/24383020:48
elopioI'm now trying to solve how to get the ppas into the phone.20:48
alesageelopio, noted20:48
elopiobut it's almost there.20:48
balloonselfy, does zsync work for you on vivid?20:49
elfyballoons: checking20:51
=== roadmr_afk is now known as roadmr
elfyballoons: yep20:52
balloonsI wonder if it's the image itself... hmm20:52
balloonsthe unity8-desktop-next image refuses to zsync20:52
balloonsI end up re-downloading it everytime20:52
elfyI'd have no idea about that image I'm afraid20:52
balloonsright right.. thanks for the sanity check20:53
* balloons tries another image20:53
elfyubuntu is zsyncing ok20:53
balloonshmm.. yea ubuntu fails for me too20:54
balloonsargh20:54
balloonsdo you have a semi-complete file20:54
balloons?20:54
elfyhow do you mean - one that needs to be updated?20:54
balloonsyes20:54
elfyif so - both were20:54
balloonswell, glad to know it only hates me20:55
elfycan't even find the download info for the u8 image20:55
balloonshttp://cdimage.ubuntu.com/ubuntu-desktop-next/daily-live/current/20:55
elfyworking - downloading the whole file for me20:56
elfyballoons: is that right - nothing on the image tracker for unity 8 ?20:57
elfydefinitely local I'd say20:57
Letozaf_balloons, I pushed a while ago, hasn't built yet21:07
Letozaf_opps got a filure21:08
* Letozaf_ is checking21:08
alesageelopio, does a convenience function exist to scroll to something from within a page?21:08
elopioalesage, if it is a flickable, jes.21:09
alesageelopio, more info pls21:10
elopiolooking for a link21:10
elopiohttp://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_flickable.py21:11
elopioalesage: swipe_child_into_view, swipe_to_top, swipe_to_bottom21:11
alesageelopio, thanks21:11
elopioalso if you have a reference to the child, and one of it's parents is a flickable21:11
* alesage bookmarks21:11
elopiothen you can call item.swipe_into_view(), and it will look for the parent where it needs to swipe.21:12
balloonselfy, right, nothing on image tracker for unity8 image21:13
elfyk - just making sure :)21:13
alesageelopio, ok maybe it's not a flickable :) --if it's not, then what is it?21:19
elopioalesage: maybe a qml type that extends flickable.21:21
elopioalesage: find in autopilot3 vis the component that you want to swipe.21:21
elopioit should have atYstart and atYEnd properties21:22
elopios/atYstart/atYBeginning21:22
elopioalso a flicking attribute.21:23
alesageelopio, ok21:23
elopioafter that, find the qml that corresponds to that object. That will tell you how to select it. If it's a type that extends flickable, then you do a python class that extends the ubuntuuitoolkit.QQuickFlickable.21:24
alesageelopio, it's already ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase FWIW21:25
elopioalesage: yes, if it's a cpo for a class that extends flickable, it should be ubuntuuitoolkit.QQuickFlickable instead.21:25
elopiothat way it will inherit all the things from the common cpo base, and the ones from the flickable.21:26
alesageelopio hmm, so in the QML I'll discover if it's flickable and then change the class if so21:26
elopioalesage: yup.21:26
elopioor you will find that the flickable is a child of the page, or you will find that they are doing some crazy nonsense.21:27
alesageelopio works thanks21:28
Letozaf_balloons, what about the extract tar feature of filemanager app, is it going to be merged ?21:39
balloonsLetozaf_, I don't see why not. Might be worth posting into the MP21:42
* Letozaf_ posted into the MP21:44

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