/srv/irclogs.ubuntu.com/2015/02/12/#ubuntu-quality.txt

elopioalesage: veebers: https://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/apt_update/+merge/24943000:01
elopioI'm going to the gym. bbl.00:02
elopioveebers: I made comments on the branches.03:38
elopioas before, maybe you can reply before leaving today so we can take over if needed, but following your preference.03:39
veeberselopio: ack, just finishing off a review now then will review your comments03:40
veeberselopio: and by branches you mean my one? Or are there others that you would like me to review too?03:40
elopiooh, right, one is actually mine :)03:40
elopiohttps://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/apt_update/+merge/24943003:40
elopiohttps://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/selenium-ppa/+merge/24941603:41
veeberselopio: awesome cheers, stacked and ready03:41
veeberselopio: you still around?03:54
elopioveebers: yes.03:54
veeberselopio: sweet, just quickly with no lag, is there a reason why we can make the update_apt arg to run_sanity_tests the last arg and give it a default False value?03:55
veebersi.e. run_sanity_tests(conf_name, tests_to_run, update_apt=False)03:56
elopioveebers: I made it the argument of the center because I think one would usually call ubuntu-sanity-tests -c test.conf -u test_suite.test_module.test103:57
elopioand I didn't add a default value for it because Argparse takes care of that.03:57
elopioveebers: but if you prefer to change the order and put a default value, I'll do it. No harm in that.03:57
veeberselopio: hmm, right but you've had to update all the tests to consider the new argument03:58
veebers(which is why I initially ask)03:58
elopioveebers: right. I could remove that part of the diff if it had a default value.03:58
elopioI'll do it.03:58
veeberselopio: right, to me it's an indication to me that it's changed something outside of it's own influence03:59
veeberselopio: regarding whoudl we even do this change, yeah I see the reason (something outside our influence caused it and it's not done under cover, the tester has to specificy it as a workaround)04:00
veeberselopio: re: the ppa branch, I'm not sure I follow with moving it to a file?04:01
elopioveebers: ok, going back a little, changing the order and using a default argument I removed one of the test changes.04:03
veeberscoolio, yeah sorry to jump around on you while you're changing things :_)04:03
elopiothe other are still needed, because we are testing the list of arguments received from the command line. And False will be there even if we don't pass -i04:03
elopiosorry, -u04:03
elopioI pushed it.04:04
veeberssweet04:09
veeberselopio: rats, i was really close to suggesting a sweet cleaner way of mocking Popen, but came across this bug :-\ https://bugs.launchpad.net/python-fixtures/+bug/135808504:48
ubot5Launchpad bug 1358085 in Python Fixtures "FakePopen does not work in Python 3.3+" [High,Fix released]04:48
veebersThis would have used fixtures.FakePopen instead of a mocked solution04:48
=== chihchun_afk is now known as chihchun
elopioveebers: sorry, there was a black out.05:40
veeberselopio: 0_0 no worries, hope all is well (I'm not actually around any more)05:47
elopioveebers: yes, no worries. Some quiet time without electricity is always nice. Enjoy your long weekend.05:48
veebersheh ^_^. will do, thanks05:49
=== spineau is now known as spineau_afk
tznHi guys08:50
tznI’m looking for a way to calculate some stats08:51
tznI need to research how often packages are updates for LTS08:51
tznIdeally with distribution by day08:51
tznJust wondering if ther eis a way to get such data somwhere08:51
=== spineau_afk is now known as spineau
=== spineau is now known as spineau_afk
=== vrruiz_ is now known as rvr
=== spineau_afk is now known as spineau
=== chihchun is now known as chihchun_afk
=== elfy is now known as hobgoblin
=== [BNC]elfy is now known as hobgoblin
elfyand here too gbb :D13:22
gbb8():13:23
elfyballoons: gbb is a new tester, has been doing some for us, and it was her who discovered that testcase tracker bug last night13:26
gbbelfy: About test cases: I'm wasn't clear what the difference between 'entire disk' and 'autosize' is. (I'm guessing autosize expects to co-exist with another OS?) Could there be a little extra blurb on top of the test case to explain this?  I think perhaps my test case bug about autosize may have been wrong, since I think I did an entire disk test there if I understand this correctly.13:34
elfythanks - this is for more general holistic QA stuff :)13:35
gbbok, bear with me, this is all new and thus confusing %-)13:35
elfyyou do guess right13:35
elfyyea :)13:35
elfyxubuntu-devel is xubuntu only :)13:35
elfyand it's actually only been in the last couple of years that testing seems to have had much talk in there13:36
* gbb admits she isn't quite sure of the difference. Other than that that xubuntu is of course superior ;-P13:36
elfyI'm not sure that there is any info anywhere specifically about the different types of install - that's more a general how to install type thing13:37
elfygbb: of course ;)13:37
elfyhttps://help.ubuntu.com/community/GraphicalInstall13:37
elfyfor example13:37
elfyI suppose that a line could be added to image testcases making it more obvious13:39
elfygbb: balloons is the Canoncial Community Manager who deals with us QA types - he's really quite friendly, make the case for this to him :)13:40
elfyhe's in Pacific time - will be about a bit later on13:40
elopiohello.13:40
elfyhi elopio13:40
gbb A little precis (one line) on top of the test cases that explains what we're trying to do would be useful in general tho. Just to set the scene.13:41
elopiohi elfy.13:41
elfygbb: yea I understand what you're saying - balloons is the one to make the case too really, I'd likely be the one who did the donkey work on it :)13:42
elfygbb: looking at them, the resize test does mention that you'll need another installed system and sufficient disk space for 2 systems13:45
elfyback in a bit13:46
dobeyelopio: so you are unable to click on 'buy now' while running locally?14:11
elopiodobey: yes.14:18
elopiowhen you remove the skips and make autopilot, do you get all tests passing?14:19
dobeyelopio: i don't have a utopic vm set up to do that in. so i've not been able to run the tests locally14:19
dobeyelopio: afaik though, alecu ran them and they passed for him, as he wrote those tests14:20
elopiodobey: why utopic? I ran on vivid, is that ok?14:20
dobeyelopio: well i don't have a vivid vm either14:20
elopioyou are living in the past :)14:21
dobeyelopio: i'm running lts as my host.14:21
elopiodobey: if I understand correctly, after clicking buy the window should be closed.14:21
dobeyelopio: even if i were running vivid as my host, i'd still need a vm. i don't want tests fiddling with my actual home director/dbus/etc14:21
elopiothat's not happening. But the button is gettting clicked.14:22
dobeyelopio: yes, it should "buy" the thing14:22
dobeywell the button isn't receiving the click event14:22
dobeyotherwise the logs would show more info14:22
dobeyie, it would have a debug message of something like "Purchase requested: blah blah"14:23
elopiodobey: where are the logs stored when I make autopilot?14:25
dobeyelopio: do they not go to stdout/stderr?14:25
elopioonly autopilot's log.14:27
elopioah, wait, I think you are right.14:27
elopio2015-02-12 08:24:46,468 - DEBUG - Emit signal certificateFound14:28
elopiothat seems to come from the app.14:28
dobeyyeah14:28
elopioand yes, no events logged after the click.14:28
dobeyand then nothing after that14:28
dobeywhich means something is probably stealing the click and it's not getting through to the app14:29
=== josepht_ is now known as josepht
=== pgraner-afk is now known as pgraner
elopiodobey: putting some more logging here. The one that doesn't get executed is the onBuy in payui.qml. launcPurchase in CheckoutPage.qml is executed.15:00
dobeyhmm15:05
elopiodobey: If I'm getting it right, accountView.currentItem is null15:08
paulliuelopio: about https://code.launchpad.net/~paulliu/unity8/notification_helper/+merge/24921115:08
paulliuelopio: I wondering why we need a get_data() function.15:08
elopioso accountView.currentItem.email fails and the pageCheckout.buy is not executed.15:08
paulliuelopio: The Notification will disappear and the data might get cleared.15:08
paulliuelopio: Shound't we backup those data?15:09
elopiofunny silent error, I dont' like you javascript.15:09
elopiopaulliu: hi.15:09
elopiopaulliu: I see.15:09
elopiopaulliu: so, I think that in that case, it would be better to make wait_for_notification15:10
elopio return the data. not the object.15:10
paulliuelopio: ok. got it.15:10
elopiodef wait_for_notification(self, timeout):15:12
elopionotify_list = self.main_window.select_single('Notifications', objectName='notificationList'); dialot = notify_list.wait_select_single('Notification', visible=True); return{ 'summary': dialog.summary,'body': dialog.body,15:12
elopio'iconSource': dialog.iconSource }15:12
elopiopaulliu: makes sense?15:12
elopiooh, I missed your previous ping. okay then :)15:12
paulliuelopio: yeah. But I'll change it with a timeout? not using wait_select_single.15:13
paulliuelopio: or we don't need a timeout.15:14
elopiopaulliu: ah, right, with wait_select_single the timeout is not needed. Well, there's one but the default is alright.15:14
elopioI prefer wait_select_single.15:14
balloonsgbb, elfy hello :-)15:31
elfyhi balloons15:37
dobeyelopio: oh right, ok, that makes sense. hrmm15:44
dobeyelopio: ok, well i think i have an idea how to fix that, but i think it would best be done in another branch, so i think we should leave those skipped for now and i'll file a bug about that15:50
dobeyi wonder why qml isn't spitting an error to the console for that though15:54
dobeythanks for finding that elopio15:54
dobeyelopio: i filed a bug for that: https://bugs.launchpad.net/pay-ui/+bug/142127715:54
ubot5Launchpad bug 1421277 in pay-ui "Autopilot tests fail due to missing account model" [High,Triaged]15:54
elfyballoons: do we need both of these pages? or would you be happy to see an amalgamation of them -https://wiki.ubuntu.com/Testing/TestCaseFormat and https://wiki.ubuntu.com/QATeam/ContributingTestcases/ManualStyleGuide16:07
balloonselfy, it's a little confusing, but we do dual purpose on the https://wiki.ubuntu.com/Testing/TestCaseFormat page16:08
elfyyes I know - but does that matter?16:09
balloonswe talk about what testcases look like, but also mention what they look like for contributing16:09
balloonsthe manual style guide as it where, is an attempt to get folks to get the naming, wording and format correct16:09
elopiodobey: ok to me.16:09
balloonsI would say you could change that page a bit easier than the other16:09
elopiodobey: my only question remaining for your branch is the return ''16:10
elfyeffectively that one is just a rehash of info from the testcaseformat page16:10
elfyI can't see a logical reason not to add the 'extra' from manualstyleguide to the other one16:10
elfybut - whatever, just wanted to ask the question before doing anything :)16:11
dobeyelopio: i'lll have to look at that one again. i really need to get lunch though. so will respond to that after16:15
dobeyand i have been getting pinged like crazy this morning, so didn't get to concentrate on that16:16
elopiodobey: that's alright. You have already done all the parts I was worried about :) Thanks a lot for that.16:25
elopioI'll copy some of your stuff to the webapps.16:25
elopiofgimenez: like16:33
elopio+        from ubuntuuitoolkit import fixture_setup16:34
elopio+        self.useFixture(fixture_setup.InitctlEnvironmentVariable(16:34
elopio+            global_=True,16:34
elopio+            UBUNTU_WEBVIEW_DEVTOOLS_HOST=ip,16:34
elopio+            UBUNTU_WEBVIEW_DEVTOOLS_PORT=str(port)))16:34
elopiothe global might not be needed.16:34
fgimenezelopio: ok, instead of calling initctl with subprocess, right?16:38
fgimenezelopio: initctl set-env16:38
elopiofgimenez: it will do the same, but takes care of the cleanup.16:38
fgimenezelopio: ok thanks!16:38
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
dobeyelopio: ok, just replied to your comments on the MP. finally. got pinged a bit upon return from lunch, too18:28
elopiodobey: +118:34
=== roadmr is now known as roadmr_afk
Letozaf_balloons, hello20:05
balloonsLetozaf_, hello20:05
Letozaf_balloons, I found the solution to solve this mp's problem: https://code.launchpad.net/~nikwen/ubuntu-filemanager-app/compressed-tars/+merge/24925020:06
Letozaf_balloons, but I do not have permission to push the changes20:06
balloonsLetozaf_, awesome. You can ask him to merge your changes into his branch20:07
balloonsyou can even create an mp for it, just change the target from trunk to his branch20:07
Letozaf_balloons, ok fine I will do that thanks20:08
balloonsyw, thanks for finding the issue :-)20:08
Letozaf_balloons, my pleasure :)20:09
elopiodobey: do you know what we would have to access the internet fromt the qemu test bed?20:19
elopiois there an easy command to share the host network?20:19
dobeyelopio: i'm pretty sure it works already, given that adt-run installs stuff with apt20:21
elopiook, let me give it another try. I might be doing something else wrong here.20:23
=== roadmr_afk is now known as roadmr
Letozaf_balloons, this is weired, I wanted to install ubuntu-filemanager-app on my desktop, but  even if I got core apps PPA cannot find it to install21:33
Letozaf_balloons, I've searched ubuntu-filemanager-app filemanager-app but nothing21:34

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