/srv/irclogs.ubuntu.com/2013/07/24/#ubuntu-quality.txt

phillwballoons: you gone awol again?00:57
pittiGood morning04:15
pittiqengho: oh, how not? I had assumed it would mostly compile for GTK2 as well, perhaps it needs some #ifdefery?04:15
pittiqengho: the gtk2 plugin should go into a new binary package, though04:15
jibelgood morning06:54
=== Noskcaj10 is now known as Noskcaj
=== Ursinha-afk is now known as Ursinha
=== iahmad is now known as iahmad|afk
=== LordOfTime is now known as LordOfTime|EC2
=== e11bits_ is now known as e11bits
DanChapmanGood morning all :-)08:41
slickymastergood morning all08:58
=== iahmad|afk is now known as iahmad
=== psivaa_ is now known as psivaa
=== JoseeAntonioR is now known as jose
=== forestpi1kie is now known as forestpiskie
=== forestpiskie is now known as Guest70885
=== Guest70885 is now known as hobgoblin
=== hobgoblin is now known as forestpiskie
=== brendand_ is now known as brendand
=== pleia2_ is now known as pleia2
=== netcurli_ is now known as netcurli
slickymasterballoons: hi. is everything ok with http://iso.qa.ubuntu.com/? I'm getting "The resource you tried to access doesn't exist. This can happen because of an invalid link or because of a bug."15:38
balloonsslickymaster, ohh.. heh, I would say not15:38
slickymasterballoons: I was doing the ISO tests for the Alpha 2 and a moment ago, after submitting a result a got that message15:39
balloonsstgraber, ^^ it appears the qa.u.c domain is down15:39
stgraberballoons: applying security updates15:40
stgrabershould be back in a couple of minutes15:40
balloonsstgraber, :-)15:40
slickymasterstgraber: balloons thanks, the both of you15:40
balloonselopio, hmm, having trouble finding ubuntu-ui-toolkit to install.. weird16:40
balloonsahh it's been renamed :-)16:40
balloonsDanChapman_, dkessel hello16:41
elopio ubuntu-ui-toolkit-autopilot ?16:41
dkesselballoons, good evening16:41
elopioballoons: renamed to what?16:42
balloonselopio, yea.. it wasn't finding it at first..16:42
balloonsi was trying to install a meta package like ubuntu-ui-toolkit and that wasn't working16:42
=== om26er is now known as om26er_afk
DanChapman_balloons, howdy. How u doing?16:44
elopioballoons: do you know about pushing an app from the qtcreator to the phone?16:45
elopioI press ctrl+f2, but get ssh: connect to host 127.0.0.1 port 2222: Connection refused16:45
dkesseloooh nice new ubuntu edge price options =)16:45
balloonselopio, yes from inside qtcreator right?16:46
elopioballoons: yes.16:47
balloonsdkessel, yes, new options, but act fast if you want a lower tier :-)16:47
balloonselopio, that should work, I haven't tried it in awhile.. hmm.. does it show your devices under devices?16:48
elopioahh, there's a big button there saying enable developer mode16:49
elopiomaybe that's what I was missing.16:49
balloonselopio, so I'm looking at the final results for the emulator.. and I saw the pep8 stuff and renames.. we ready for primetime use?16:50
elopioballoons: not yet. The rename hasn't landed.16:50
balloonselopio, yes, but once the rename has landed16:50
elopioballoons: yes. And you can start using it now, just rename to ubuntuuitoolkit tomorrow.16:51
balloonselopio, well I'm going to announce some fanfare, so I'll prep everything and probably just announce tomorrow once it's complete16:52
balloonsI'll probably convert an app today to demo it16:52
balloonsDanChapman_, doing well.. As you can see elopio's hard work on making a proper emulator for qt has landed ;-)16:54
elopioballoons: sounds good. Let me know if you find any bugs.16:54
balloonselopio, I'm hoping it'll fix some of the bugs I've introduced :-)16:54
balloonshehe16:54
elopioballoons: well, at least, it's now easy to make tests for the bugs we find.16:55
balloonsthis is true.. I introduced a weird bug, but it might be on the autopilot side.. it's just hard to know.. but now, we can easily tell16:56
elopioballoons: and I've just noticed I am assuming there will be just two tabs visible. But if the label of the tab is small, more than two can appear on the header.16:58
elopiothat will bite soon.16:59
balloonsyes, there are apps with 3. it's not uncommon16:59
balloonswhy is that?16:59
=== om26er_afk is now known as om26er
elopiobecause I'm naive :) I assumed you would be able to switch just from the current tab to the next, without skips.17:01
balloonselopio, ahh.. I believe my tab switching logic just scrolls through things.. and you can stop at a tab index or tab label17:02
balloonsso you can in theory create a spin of death where you go through things endlessly because there is no match haha17:02
elopioyes, I copied that funny feature :)17:02
balloonswe could in theory stop once it's gone round once and raise an error17:03
elopioballoons: but well, make sure to mention on your post that it's a first version in heavy development :)17:03
balloonselopio, ofc ofc.. but bugs and such can be reported, and it can be updated sanely, etc17:03
elopioyes, and I think we also can factor out some other common things.17:04
elopiolike a base test case class, things that are the same on all the apps.17:04
elopioand the final feature that ties everything together is what zoltan and jppiiroi1en are doing on the qt creator. It now has a template for the autopilot tests :D17:06
=== Ursinha is now known as Ursinha-afk
DanChapman_balloons, thats cool will check it out. I have basically re-written the ubiquity tests the last few days :-) it should sort the fails on jenkins. just finishing off custom partition then will move on to dual-boot17:16
=== DanChapman_ is now known as DanChapman
balloonselopio, the autopilot template is in? wahoo?17:21
balloonsDanChapman, I've been watching the results.. a bit mixed as you say, so I hope the changes solve that17:22
DanChapmanballoons, it helps now i have the test runner jibel created. makes it easier to find the bugs. If your not too busy would you be able to give the tests a once over for me?? Could do with some fresh eyes on it :-)17:27
balloonsDanChapman, I have a moment now sure :-)17:28
DanChapmanballoons, cheers. I havn't pushed custom part up yet though https://code.launchpad.net/~dpniel/ubiquity/autopilot17:28
balloonsbig branch :-)17:29
balloonsstill going . . .17:32
DanChapmanlol :-)17:32
balloonsthe numbers keep going up17:33
DanChapmanyeah it ends some where near 120000 i think17:33
balloonsI should have updated the branch I had already pulled.. lol.. a couple more mins I think I 'll have it17:33
DanChapmanIve done that a few times myself :-)17:34
balloonsand done17:36
DanChapmanlol17:37
balloonsk, so what specifically should I look at?17:37
balloonsohh.. you should note in your readme kubuntu is special -- it has it's own installer and your stuff won't work for that17:38
DanChapmanDOes it say kubuntu in it?17:38
DanChapmanright the biggest problem i keep coming across is grub install fail or the installer crashes. which usually occurs during the progress bar. Can you look at the track_install_progress_bar func. Do you think thats a reasonable way of handling it?17:40
balloonsit doesn't.. it just says all other flavors.. which is true, except for kubuntu ;-_)17:40
DanChapmanlol i will update it.17:40
balloonsso I'm curious that the ubiquity_did_install_complete test and this assert doesn't timeout normally: self.assertThat(self.complete_dialog.visible, Eventually(Equals(1)))17:40
balloonsk, looking at the progress func17:41
DanChapmanballoons are you wondering about the sleep?17:42
balloonsok so your throwing a message, but then have an assert about the dialog.. I'm confused at first glance what your trying to do17:43
knomeballoons, you're :P17:43
balloonsbrilliant.. knome is going to fix me yet17:43
balloonswhy just today knome I noticed myself and corrected it!17:44
knomenice!17:44
knomethe education works ;)17:44
DanChapmanThats more for me at the moment as when using the test runner locally you get ALL the output from the env and not just autopilot output so i stuck the message so i could spot that the func had picked up the dialog. I will remove it in the end :-)17:44
balloonsDanChapman, ahh I see you sit in ubiquity_progress_bar_test before hitting ubiquity_did_install_complete17:44
balloonsand it has a 300 second timeout (might not even be long enough, heh) but yea, that was my expectation of a long timeout17:45
balloonsok, so I will say why watch the progress bar? Why not just wait for the dialog to appear? Are we concerned about it hanging and we don't know it or ?17:46
balloonsI would just wait for the install complete dialog to appear. And if we want to "watch" in the interim, grab the progress and assert that the progress reported changes withing X amount of time17:47
balloonscan we also reliably detect if something goes awry -- aka a dialog window other than the install complete appears/17:47
balloonsDanChapman, ^^17:50
DanChapmanI did think of just looping waiting on the confirm dialog. But following the progress kinda shows that its updating ok.17:50
DanChapmanThe 300 timeout is a bit extreme as it just waits for the progress to go back to 0.0 for the install part.17:51
balloonsoh it's just the copying files piece I see.. not the install17:51
DanChapmanI've had no probs with the progress bar and tracking it. Its trying to catch an error dialog while stuck in the loop. As the loop never exits if it doesn't catch it.17:53
balloonsDanChapman, I'm missing where self.install_progress.fraction is coming from17:53
balloonsyea you have your         while progress < complete: loop that won't end right?17:53
DanChapmaninstall_progress selects the progress bar in ubiquity_progress_bar_test17:55
balloonsahh.. there it is, ty :-)17:56
balloonsok far enough.. so we loop while waiting for complete. Each iteration we update the progress, and then check for errors.17:57
balloonsso let's dig into those error checks.. you have checks for visible windows of failures and then breaks to leave the loop17:58
balloonsand your finding that the loop isn't ending on failures because of the if statement check for the error is never becoming true, or it's not breaking properly?17:58
balloonsif the "visible" property isn't working out so well, can we just check from existence of the object, or do they exist from the beginning?17:59
DanChapmanits catching the error dialogs 'ok'. Just dnt know if there is a better way to do it. All the objects are there from the start apart from the grub install failed dialog which is created once the error occurs. hence the it being in a try18:01
DanChapmani did think to try just getting the visible window count like in the FF test and if window count increased then it would fail but i couldn't figure out how to do that. and it would have a very meaningful reason for failing as we wouldn't know what it failed on18:05
DanChapman*wouldn't18:06
DanChapmanfrom an autopilot point of view that is. I know the install log would give details, but it would be good to see that the correct dialog appears for the correct error i suppose.18:09
balloonsHeh, testing the error windows too :-)18:09
balloonsyea, so since the object exists, visible works well enough. I just don't like to rely on it, but perhaps that's not well placed18:10
DanChapmanballoons, just run the default test a few times and got a grub install failed and it caught it ok. So do you think leave it as it is and see how it goes. In theory it shouldn't happen often if at all anyway :-)18:30
balloonsDanChapman, I think the idea is sane enough, and I like monitoring it.. I would add a timeout check though I think if nothing happens for X amount of time, aka the progress bar doesn't move18:31
balloonswe don't want to loop forever without us knowing about it.. and yea, that should work18:32
DanChapmanballoons, i like it. Will add a timeout check18:35
DanChapmanWill sort that tomorrow. I'm calling it a day. Catch you all tomorrow18:38
balloonsDanChapman, catch you on the flipside18:40
=== wxl_ is now known as wxl
=== Ursinha-afk is now known as Ursinha
balloonsgood evening Letozaf_19:18
Letozaf_balloons, Hi19:18
balloonsdid you see the rss reader stuff landed -- it's a bit different than before :-_19:19
Letozaf_balloons, no didn't see it, I must take a look :) read you did something19:20
Letozaf_balloons, by the way did you see the sudoku tests ?19:24
balloonsLetozaf_, what's up with them?19:25
Letozaf_balloons, nothing :) I hope19:25
balloonslol19:25
Letozaf_balloons, where can I see the rss reader stuff ? I was looking in my branch and the rssreader one...19:26
Letozaf_balloons, what happened to it ?19:27
balloonsLetozaf_, what do you mean what happened?19:36
Letozaf_balloons, you said it's different ...19:36
balloonsLetozaf_, ohh yes, the main trunk has new code in it19:37
balloonsincluding the theme :-)19:37
Letozaf_balloons, oh I just did a bzr branch, but there is nothing in there19:38
Letozaf_balloons, :(19:38
balloonsbzr branch lp:ubuntu-rss-reader?19:38
Letozaf_balloons, maybe I did something wrong:  bzr branch lp:ubuntu-rssreader-app19:39
Letozaf_balloons, yep19:39
Letozaf_balloons, oh wait I did  bzr branch lp:ubuntu-rssreader-app19:39
balloonsyea, 22 revisions19:39
balloonsyou had it right.. I mispelled it ;-)19:39
Letozaf_balloons, but the test is only 27 lines long in it19:40
balloonsLetozaf_, anyways, once you branch you can see the add and edit feed stuff are a little different19:40
Letozaf_balloons, ok I will re-branch it19:41
Letozaf_balloons, I get 20 revisions  ?19:42
Letozaf_balloons,  bzr branch lp:ubuntu-rssreader-app19:42
Letozaf_balloons, that's weired19:42
balloonsLetozaf_, should be 22 revs19:42
balloonshmm19:42
Letozaf_balloons, did it twice, cancelled the directory and branched from scrap19:42
balloonsLetozaf_, lol, you've got it then, sorry19:43
balloonsi have post branch commits in mine19:43
balloonswhoops!19:43
Letozaf_balloons, :D19:43
balloonsI checked http://bazaar.launchpad.net/~ubuntu-rssreader-dev/ubuntu-rssreader-app/trunk/revision/2019:43
Letozaf_balloons, I'm curios to see what you guys did to it :P19:44
balloonslooks much nicer19:44
Letozaf_balloons, I was looking for the next app to write test for ... for instance the music-app, but once you create a playlist, how do you put music in it ?19:48
Letozaf_balloons, :?19:48
balloonsLetozaf_, vthompson is one of the music app authors, and I believe dkessel wrote one of the tests for it?19:48
balloonsanyways, there are some tests in there, so it shouldn't be too hard to hack on it19:49
balloonson your question however, I'm not sure off the top of my head19:49
balloonswe can always ask the app authors :-)19:49
Letozaf_balloons, I will take a look thanks19:49
Letozaf_balloons, oh yes sure19:50
Letozaf_balloons, but do you think I can work on it or is dkessel doing it ?19:51
Letozaf_balloons, you know that as soon as I pick something someone else has done it already :P19:51
dkesselLetozaf_, i am not working on any more music app tests at the moment19:55
balloonsLetozaf_, indeed dkessel wrote just the initial test.. no one will steal your thunder on this one.. I would contact victor though. .would you like his email?19:57
Letozaf_dkessel, thanks for the info19:58
dkesselgood night19:58
Letozaf_balloons, ok in case I need to ask him somethin19:58
Letozaf_dkessel, good night19:58
balloonsnight dkessel !19:58
thomimorning20:14
Noskcajballoons, Do you know if anyone is going to be able to look after the testdrive hackfest between 1600 and 200020:17
balloonsNoskcaj, no takers on the thread right?20:22
balloonsI'm still concerned about having it run for more than a few hours20:22
Noskcajok. Maybe i but it back to only 6 hours?20:22
balloonsI would rather see an amazing couple hours as opposed to having 6 hours with 4 hours of downtime.. But yea, it's up to you. I wouldn't run it for longer than you can be around. Getting commitment from others to show up is excellent too, but make sure your around. The idea is to kickstart new folks on development as well as close bugs right?20:25
balloonsBTW, you should send a message to ubuntu-devel as well once everything is in place20:25
balloonsI saw your target work, so plan on running it for as long as it would take to finish that off, with some buffer20:25
balloonsassuming of course you think you can get through the whole list :-)20:26
balloonsremember you can always have another event ;-)20:26
balloonsNoskcaj, I'm not remembering but how long is it going to run for atm?20:26
Noskcajballoons, 11 hours, so i'll cut that back so howard and i can run it ourselves20:28
balloonsNoskcaj, yea, that sounds like the way to go20:28
balloonsgood stuff mate20:31
balloonselopio, so I'm having trouble using your emulator.. perhaps you can shed some light on my python newbie blunders20:32
elopioballoons: of course. Tell me what you are doing.20:32
balloonselopio, well I'm having trouble creating a new instance of an emulator class.. For instance, toolbar20:34
balloonsie, I want to do something like  emulators.Toolbar.click_button( "newgamebutton"). I've imported I hope sanely; from UbuntuUiToolkit import emulators20:35
elopioballoons: first, you need to launch the application with the emulator.20:37
* balloons facepalms20:38
elopiowith the base emulator. Let me search for an example.20:38
balloonselopio, I get it I think20:38
elopioself.app = self.launch_test_application(20:39
elopio                "/usr/lib/" + arch + "/qt5/bin/qmlscene",20:39
elopio                "-I", get_module_include_path(),20:39
elopio                qml_path,20:39
elopio                emulator_base=emulators.UbuntuUIToolkitEmulatorBase)20:39
balloonselopio, yes, so more or less the __init__.py template for core apps needs to be updated to reflect this as well20:40
balloonsas atm, it's handling all the launch code20:40
balloonslet me see what I can do ;-)20:41
elopioballoons: yes. I think it would be better to have launch helpers on ubuntu-ui-toolkit.20:41
elopioso we have just one place to update.20:41
balloonshmmm hmm20:42
elopioalso that part of get_input_device, and get_module_include_path. I see them everywhere.20:42
balloonsohh yea, it's horride20:42
balloonsok, so perhaps you can just help directly with this.. so I'm picking on dropping letters to convert over.. it doesn't have any tests, just the old layout. I was going to convert and add a test or two as the example20:43
elopioballoons: ok, and once you have the application launched with the emulator loaded, it's like:20:44
elopioself.app.select_single(emulators.MainView)20:44
balloonsfor the main view I take it? ;-) and then select and have fun from there?20:45
elopioballoons: yes. with the main view you can make open_toolbar, for example.20:46
elopioballoons: I'll propose a base test case, that can be inherited by all the apps.20:46
=== Ursinha is now known as Ursinha-afk
=== qengho_ is now known as qengho

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