/srv/irclogs.ubuntu.com/2014/11/25/#ubuntu-quality.txt

=== johnlage_partyha is now known as johnlage
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== la_juyis` is now known as la_juyis
=== qwebirc166433 is now known as slickymasterWork
brendandelopio, hey i have an autopilot test failing because the item it's looking for is off the end of the list - what's the best way to handle that? i remember something like swipe_into_view16:07
elopiobrendand: yes, that.16:08
brendandelopio, but i suppose it relies on autopilot being able to 'see' that list item?16:08
elopiobrendand: look for the flickables module. It has some useful methods. And if the element is inside a flickable, it will have a method to do it too.16:09
brendandelopio, is there an easy way just to say 'flick to the end of the list'?16:09
elopiobrendand: flickable.swipe_to_bottom16:09
elopiobrendand: there's some magic to search for the item if it's not already loaded in the QML.16:10
elopiothat needs an objectName for the item.16:10
brendandelopio, swipe to bottom should be sufficient16:10
elopioalesage: https://code.launchpad.net/~canonical-platform-qa/ueqa-code-proposals/indicator-sound-control_player/+merge/242805 please16:20
alesageelopio cool will look at16:20
brendandballoons, what do i need to do to coax ci tests to run here: https://code.launchpad.net/~brendan-donegan/ubuntu-clock-app/wait_for_bottomedgetip_visible/+merge/24279216:41
brendandubuntu-qa - review on https://code.launchpad.net/~brendan-donegan/reminders-app/test_add_notebook_must_append_it_to_list_swipe_to_bottom/+merge/242808 please16:46
elopiobrendand: um, there should be only one notebook.16:47
brendandelopio, ?16:48
brendandelopio, there's a ton of them16:48
elopiobrendand: each test should remove the notebooks it adds.16:49
elopiothey are left because there's something wrong with the cleanup.16:49
brendandelopio, no the cleanup is fine16:49
brendandelopio, but there's a whole bunch of notebooks there16:49
elopiobrendand: if the cleanaup was fine, there would be only one notebook.16:49
brendandelopio, it failed in ci though16:50
brendandelopio, where the test would only have run once16:50
elopiosome tests hang or something. Jenkins kills the instance, and the notebooks are not deleted. I suppose.16:50
elopiobrendand: this uses a real sandbox account. I have just cleaned the notebooks.16:50
brendandelopio, ah i see16:50
elopiobrendand: I'm not sure your approach will work, because I'm not sure if the notebooks are sorted by date or by name.16:51
brendandelopio, do you not think it should swipe to the bottom just in case?16:51
brendandelopio, well the test is called 'append to list'16:51
elopiobrendand: as it should be only one, it won't hurt swiping to bottom.16:51
brendandelopio, so if it doesn't append it then the test should fail16:52
elopiobrendand: right, I named that but I don't know if it goes to the tail.16:52
brendandelopio, it does. obviously i tested the fix :P16:52
elopiook then. I had written it for only two notebooks.16:52
elopioSo +1.16:52
brendandelopio, i can see now it's not absolutely necessary, but it would prevent failures in the case where the sandbox account has become corrupted16:53
elopiobrendand: yes. Agree. If you could keep an eye on it maybe we can improve the cleanup somehow.16:54
brendandelopio, btw do you know what i need to do to persuade the ci tests to run on my MPs?16:56
elopiobrendand: I think you need to be part of a team.16:56
elopionot sure which one. balloons or cihelp should know.16:57
brendandelopio, maybe it's the team thomi just removed us all from :P !16:57
alesageelopio I've added "request info" type comments; don't want to torture you but wanted some info :)16:57
plarsbrendand: that's probably a ci help question on #ubuntu-ci-eng16:59
elopioalesage: the headset test is here: https://code.launchpad.net/~canonical-platform-qa/ueqa-code-proposals/indicator-sound-high_volume_warning/+merge/24280917:00
elopiowe listed two during our meeting.17:00
elopiothe problem with that one is that I'm not yet able to make my prototype work.17:00
elopioalesage: answering your questions in the MP...17:01
balloonsbrendand, you need to be on the core apps qa team or the development team for the core app17:01
brendandballoons, who can add me?17:02
brendandballoons, thomi just removed canonical-platform-qa from it17:02
balloonsI can and yes, that was the intent17:02
brendandballoons, so i guess we need to sign up individually17:02
balloonsI can add individually sure17:02
balloonsbrendand, you are a core apps drivers now17:06
brendandballoons, so i just wait now?17:07
brendandelopio, did you see my comment on the location prompt merge?17:07
balloonsbrendand, which mp?17:07
brendandelopio, i can make it a fixture but i can't invest the time to put it in location service17:08
brendandelopio, since that's the rabbit hole of cmake and packaging17:08
brendandelopio, i did that once for url-dispatcher and i'd rather chew off my arm than do it again :)17:08
balloonsbrendand, that said, https://launchpad.net/~ubuntu-touch-coreapps-test-writers/+members shows the platform team is a part17:09
elopiobrendand: that's the work man. I'm ok with you filing a bug and putting a comment on your code that it needs to be moved.17:09
elopiobut we need a way to give that bug a high priority.17:09
brendandelopio, okay but who's going to address the bug?17:09
elopioit's going to be needed by the scopes tests too.17:09
brendandelopio, so for now make it a fixture and it can land?17:10
elopiothe clock, the weather, the rss, the camera, many webapps will be location-aware.17:11
elopiobrendand: yes, but lets agree that the next time it's needed, we won't copy it around.17:11
elopiowe'll find a place for it, and the only way for getting managers to assign some time for it is to leave the test failing.17:11
elopiobrendand: the url dispatcher is a case of success. We simplified the tests in dialer, messaging, unity and UX thanks to that one. Chewing your arm is not as good :)17:13
brendandelopio, we don't have to land it right now if you think it will expidite the 'proper' fix17:13
brendandelopio, heh - you didn't have to do it !17:13
elopioactually, I think the dialer is not yet updated.17:13
elopiobrendand: no, lets land it. Please file the bug. Then next time we hit it, we will have the code working, and good evidence of why it needs to be moved.17:14
elopiobrendand: I know! You did it and I appreciate that. It should have been ted. That's the kind of thing we are documenting this week, an in theory all the managers have agreed to implement test helpers in their projects.17:15
elopiobrendand: in your bug, please mention that when the fixture is moved it will need a test.17:16
elopiosomething like a simple qml app that only requests location, to check when the fixture is enabled and disabled.17:17
elopiobrendand: oh, and one more detail. Please don't use print. Use the logger.17:17
brendandelopio, sure17:18
balloonsbrendand, jenkins is running for your stuff now17:18
balloonsshould be automagic17:18
elopiobrendand: well, two details. Also please be consistent using the single and double quotes for strings.17:18
elopiofor consistency with the rest of projects, use '17:18
alesageelopio, here's this for you to tinker with slash fix https://code.launchpad.net/~ueqa-projects-team/ueqa-code-proposals/indicator-network/+merge/24282618:35
alesageelopio I'm going to try the mac80211_hwsim hack now18:35
elopiocool. thanks alesage18:35
=== geochr_ is now known as geochr
=== geochr is now known as geochr_
=== geochr_ is now known as geochr
balloonshallo doug519:39
doug5balloons, hello!19:39
balloonsdoug5, how are you?19:41
doug5balloons, great! you?19:43
doug5balloons, I'm actually trying to understand an error in calendar app19:43
doug5http://paste.ubuntu.com/9237601/19:44
doug5ever seen? Otherwise I'll contact mihir19:45
balloonsI'm doing well19:45
* balloons looks19:45
balloonsdoug5, ahh yes that's a common error19:46
balloonshence the link given :-) http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html19:46
balloonsanyways, specific to that error, let's look at the test19:47
balloonsbasically it means the test didn't find the object. That most likely means a timing issue. You tried to get the object before it existed19:47
doug5but it's the fresh checked out source code19:49
doug5strange19:50
balloonsdoug5, yea, that simply means it probably wasn't accounted for when the test was created19:54
* balloons blames the original author.. which is of course balloons19:54
balloonsanyways, let's fix it. Do you understand why the error is happening?19:56
* balloons runs test to have a look19:58
balloonsso actually doug5 the first thing I do to troubleshoot if it's a timing thing (which I assumed it was) is to add a sleep before the failure. In this case that did not help. Instead, it's likely the object itself is no longer present, or has been renamed20:00
doug5balloons, yes that's my guess to20:01
balloonsdoug5, so if I manually run calendar I can see the UI selector for calendar is indeed missing20:02
doug5I think we can remove this check20:02
doug5no?20:02
balloonsI think it's an open question for the devs, but yes for now we can certainly remove it20:03
balloonswith it removed, everything passes and you should be able to carry on with the other checks20:03
doug5I noticed I cannot also add the event20:04
doug5file:///home/acerisara/Projects/ubuntu-calendar-app/NewEvent.qml:167: TypeError: Cannot read property 'collectionId' of undefined20:04
balloonsdoug5, you are right.. seems quite odd20:09
balloonsI know they changed that screen around; I wonder if we are missing a depends or something20:09
balloonsit seems rather odd it would be broke in trunk like that20:09
* balloons installs all listed depends20:13
balloonsdoug5, that's the issue, things look correct for me now, including the calendar20:13
balloonsdoug5, I installed qmlscene qtdeclarative5-quicklayouts-plugin qtdeclarative5-ubuntu-ui-toolkit-plugin libqt5organizer5 qtdeclarative5-qtorganizer-plugin qtorganizer5-eds qtdeclarative5-ubuntu-syncmonitor0.1 libqt5contacts5 qtdeclarative5-qtcontacts-plugin qtcontact5-galera20:13
balloonsthat came from the debian/control file20:13
doug5let me try20:16
=== roadmr is now known as roadmr_afk
doug5balloons, yes...way better indeed :) thx20:18
balloonsdoug5, lol, see trunk wasn't broken after all.. just us :-)20:19
balloonsat least we still have our sanity!20:20
doug5balloons, that's an excellent new actually :D20:20
doug5*news20:20
elopioveebers: alesage: pushed the changes. Do you want to take a look or should I merge to trunk?20:37
alesageelopio, PUSH20:37
elopioveebers: alesage: thomi: merged.20:39
=== roadmr_afk is now known as roadmr
doug5balloons, ok, changes are done :) tomorrow I will review and create the mr21:30

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