/srv/irclogs.ubuntu.com/2014/05/13/#ubuntu-autopilot.txt

* veebers reboots00:00
veebersthomi: we may have an issue with AP 1.5 & filemanager (http://q-jenkins.ubuntu-ci:8080/job/autopilot-release-gatekeeper/128/) I'm re-re-re-running with the ppa enabled this time in case there was a recent fix or something00:15
veebersthomi: to clarify, the linked job was without the ppa 100% passing00:15
veeberstrying now with the ppa to get (more) resutls00:16
veebersresults*00:16
thomihmm, interesting00:16
thomiI'll start flashing my device00:16
veebersthomi: now that mine is actually charged I'll do the same00:17
veebersthomi: I see that you fired off another gatekeeper for filemanager, but it seems to have had troubles02:16
thomiugh, what happened?02:16
* veebers looks futher02:16
thomiI probably messed it up somehow02:16
thomiveebers: BTW, you need to manually install python3-autopilot for now02:17
veebersthomi: hmm, yeah "filemanager_app.phablet-test-run"02:17
veebersit should be just filemanager02:17
veebers(no -app)02:17
thomiugh02:17
thomican you re-kick off please/02:17
thomi?02:17
veebersthomi: oh? how come? (re: manually installing)02:17
veebersyeah sure02:17
thomiveebers: because otherwise it doesn't install 1.502:18
veebersfyi: http://q-jenkins.ubuntu-ci:8080/job/autopilot-release-gatekeeper/131/02:18
thomibecause autopilot-touch is already in the seed02:18
thomiso the current installed python3-autopilot satisfies the dependency02:19
veebersthomi: ugh, click. damn, you meant in the params for the job02:19
veebersthis is the actual one: http://q-jenkins.ubuntu-ci:8080/job/autopilot-release-gatekeeper/132/02:20
thomihmm? yeah02:20
thomisorry :)02:20
veebersnw, killed and restarted that job. Luckily I clicked now and not after the run :-)02:24
veebersugh, thomi this is the 2nd time I've seen this failure (but I had a successful run after the first time I saw it): http://q-jenkins.ubuntu-ci:8080/job/autopilot-release-gatekeeper/132/label=daily-mako/console02:38
veebersnamely the error; I: Unlock failed, script output: 'initctl: unable to determine sessions02:38
thomiveebers: kick it off again I guess, and maybe file a bug with the infrastructure people02:38
veebers(I pinged the CI guys about this earlier but haven't heard back, I fear they're all EOD)02:38
veebersthomi: aye, that's teh plan :-)02:38
veebersthe*02:38
veebershmm, perhaps I borked it. I forgot to add the ppa (after all that ruse to add python3-autopilot to it)02:40
thomiveebers: may as well change the job defaults for the python3-autopilot thing02:40
thomino need to install python-autopilot any more, so just change it02:40
veebersthomi: ok, that shouldn't effect other people that may use that job? (namely Saviq which I understand does sometimes)02:41
thomishouldn't02:41
thomiif it does, they can get their own :P02:41
veebersheh, aight, changing now02:42
thomiveebers: any luck with the latest run?04:08
veebersthomi: good question, I'll check now04:08
veebersthomi: no, now there are 3 failures: http://q-jenkins.ubuntu-ci:8080/job/autopilot-release-gatekeeper/133/testReport/04:08
thomiveebers: can you investigate please?04:09
veebersthomi: I'll just purge the ap testing ppa I added and add the silo. I'll bother you and pick your brain if it appears to be something with the new xpathselect stuff :-)04:10
thomiwhat new xpathselect stuff?04:10
thomioh04:10
thomiyou mean in autopilot04:10
veebersthomi: sorry, yes04:10
thomihang on, I think I can see the roblem already04:11
thomilook at the error in: http://q-jenkins.ubuntu-ci:8080/job/autopilot-release-gatekeeper/133/label=daily-mako/testReport/filemanager.tests.test_filemanager/TestFolderListPage/test_cancel_rename_file_with_touch_/04:11
thomiveebers: ^04:11
* veebers looks04:11
veebersthomi: you'll have to elaborate04:12
thomisee anything odd there?04:12
thomiread the error message04:12
veebersthis? name '<class 'ubuntuuitoolkit._custom_proxy_objects.popups.ActionSelectionPopover'>'04:13
thomiright04:13
thomiWTF04:13
thomithat's not a class name04:13
veebersno, it's not04:13
thomibut I can't seem to reproduce that in ipython04:14
thomiI know python 3 does something with fully qualified names04:14
veebersodd, I'll see if I can step through and see better what's happening.04:15
thomiveebers: but I'd say that's what the issue is04:15
veebersIt's really odd that there are now 3 failing but 2 befpre04:15
veebersbefore*04:15
thomiodd that the ActionSelectionPopover selection doesn't appear int he log04:17
thomiveebers: maybe run it with -vv, so we can see the debug log04:17
thomibut yeah, the class isn't being stringified properly I'll bet04:17
veebersthomi: hmm, i don't think I can do that with the gatekeeper job, but I'll try on my locally flashed device04:17
thomiveebers: right, I meant locally04:18
veeberscoolio, on it04:18
thomiI'm happy to look at this with you, if you want to share your screen in a G+ hangout04:18
veebersthomi: let me get the device ready and see if I can reproduce it, otherwise sounds good04:18
veebersthomi: fyi running the filemanager tests locally on my desktop (on Trusty) all tests pass, still running on the device04:57
thomiyou're running v1.5 & py3 on the desktop?04:57
veebersthomi: yes, just trying to get a 'reproducable' quicker04:58
thomisure04:58
thomihmmm04:58
veebersthomi: phone just finished, I get the failure, seeing if I can narrow it down to running just one test04:59
thomiveebers: crap, I just realised that my instinct was wrong05:00
thomiveebers: the fully qualified name is a red herring I'm afraid05:01
veebersthomi: hmm, ok :-\ I'll keep poking05:01
thomibut I'll fix that log message anyway05:02
veeberscoolio05:02
thomiveebers: for your consideration, when you get the time: https://code.launchpad.net/~thomir/autopilot/temp-dev-fix-class-name/+merge/21928605:07
thomiPersonally, I think it should go in the release - happy to leave that decision to you though05:08
veebersthomi: cool,I should be able to look at that tonight05:08
veebersthomi: that code looks familiar, didn't I propose a MP that did this the other day?05:09
* veebers is confused05:10
thomiveebers: that was for a different case05:10
thomiveebers: that was for a log message - this is for SNFE05:10
thomiveebers: but year, same thinko05:10
thomiI'm surprised we didn't catch this case when you filed your original MP, but oh well05:10
veebersthomi: ah ok, no longer confused05:10
thomiglad to hear it :)05:11
veeberswell, perhaps 'less confused' is a more accurate statement05:11
veebersthomi: hmm, just running the failing test now passes for me on the device >:-| I'll poke around and see if I can narrow it down to a single failing or at least a combination that fails05:13
thomihmmm05:13
thomiare you running with -vv?05:13
veebersthomi: I am now, I modified phablet-test-run to use -vv05:13
thomiwould be really interesting to see the queries that are being run05:14
thomiin both cases05:14
veebersthomi: yeah, I'm running this 1.5 now, then I'll purge and run again with 1.4 + -vv and compare against the failing etc.05:14
veebersthomi: ugh awesome, this time around I get 1 test fail with SNFE  1 x ValueError error & 1 x AssertionError failure :-\05:19
veebersso it's inconsistent05:19
thomiveebers: pastebin?05:20
veebersthomi: http://paste.ubuntu.com/7455887/05:21
thomiugh - we *really* need to fix that logging bug05:21
veebersheh. Gotta love the "Key pressed!" log message :-)05:22
thomiheh, and the "<skip>Can't do this properly on desktop or phablet</skip>"05:24
veebersheh :-P05:24
veebersthomi: how come I only see one instance of "'GetState Query(b'/comubuntufilemanager/QQuickView/MainView[id=2]//ActionSelectionPopover[objectName="fileActionsPopover"]')" before exception raised?05:25
veebersI would have assumed 10 lines in the log then eht exception05:25
thomiveebers: can you 'bzr blame' the source and see who's been touching the source?05:25
thomiveebers: PB line #?05:25
thomiveebers: it's just a select_single not a wait_select_single05:26
thomioh wait05:26
thomiyeah05:26
thomiwhat I said05:26
veebersthomi: sorry I must be being slow, bzr blame which source?05:27
thomithe test source05:27
veebersah good point05:27
veeberscan do05:27
thomiYou could try making it a wait_select_single and see if that improves things05:27
veebersthomi: hmm, I wonder if this version of AP is faster which is why 1.4 works currently05:28
thomicould be, although if it is, it won't be by much.05:28
thomiI haven't done any explicit optimisations05:28
veebersthomi: hmm ok. Hey, is there a nice why to 'blame' a whole directory?05:29
thomidon't think so - that doesn't really make sense05:29
thomiwhat would it show?05:30
thomimode changes to the directory maybe, but I suspect that's not what you want :)05:30
veebers*shrug* split-pane with a tree of files and clicking them shows the diff/blame for that file05:30
thomiahh, gotchya05:30
thomibzr log does that then :)05:31
thomieven better - it does it with the author as the first index :)05:31
thomibzr qlog tests/autopilot/05:31
thomior whatever05:31
veebersthomi: ah, that's what I'm doing at the moment :-)05:31
veebersthomi: so might be of interest, looking at the logs balloons recently made changes to the tests, one being this http://pastebin.ubuntu.com/7455926/ (changing wait_select_single -> get_action_selection_popover)05:34
veeberswhere get_action_selection_popover is in the ubuntu ui toolkit ap and uses select_single05:35
thomihmmm05:35
thomiwhat does that method use?05:36
veebersI'll try patching that to use wait_select_single and see05:36
veebersthomi: you mean get_action_selection_popover?05:36
thomiyeah05:37
veebersthomi: [17:35:12] <veebers> where get_action_selection_popover is in the ubuntu ui toolkit ap and uses select_single05:37
veebersI'm just about to re-run the test on the device with the uuitk patched to use wait_select_single05:38
veebersthomi: hmm, Without seeing the logs (still running) it seems that I saw a failure run past where the devices screen was blank white. It would be interesting to see the phones state (cpu usage etc.) during the test05:48
thomiveebers: I'm going to EOD now05:53
thomiveebers: can you please email whoever looks after that app with a link to the failures, our investigation, and ask them to look into it as a matter of urgency please?05:54
veebersthomi: ack. sure, can do05:54
thomiwe *really* need to release AP tomorrow, which means whoever owns these tests needs to either allow us to release, or get them fixed :)05:54
thomifeel free to CC me05:54
thomithanks man05:54
thomitalk to you later maybe.05:54
veebersthomi: If I can't find the dev for filemanager I may have to email the phone list05:54
veebersthomi: aye, night o./05:55
thomiveebers: why didn't bzr blame work?05:55
thomiI thought you identified balloons?05:55
veebersthomi: right, but should it be on his shoulders? I don't know. I can start with him and he can hopefully fwd if needed05:55
thomiveebers: right, but you can get a complete list of authors with bzr blame, right?05:56
thomiI don't understand why you'd need to use the ML05:56
veebersthomi: I'll also add Chrs/robotfuel  as it looks like both of them have looked at the flakiness of tests latetly05:56
thomiawesome05:56
veebersthomi: leave it to me I'll sort it out05:56
thomischweet05:56
thomigoing to have a beer and dinner05:56
thomilaters!@05:57
robotfuelveebers: what's flaky?05:57
veebersrobotfuel: isn't is super late for you? Perhaps you're clock is flaky ;-)05:57
veebersrobotfuel: thomi and I are investigating some failures in the filemanager autopilot tests when using the to-be-released autopilot 1.505:58
robotfuelyes, I have some ideas. I was too busy with other stuff to fix it today, I am going to sleep so I can fix it in the morning.06:00
robotfuelveebers: can you email me instructions for using ap 1.5?06:00
robotfuellike which ppa I use?06:00
veebersrobotfuel: awesome, ppa is: ci-train-ppa-service/landing-00306:00
veebersrobotfuel: should I email you and balloons re: pretty much what we've discussed here?06:00
robotfuelsure06:01
veebersrobotfuel: I'll link to the gatekeeper job that we've been using to run it too06:01
robotfuelveebers: thanks again, good night06:02
=== tsdgeos_ is now known as tsdgeos
tscheckHi, is there are reason, why the qt and gtk modules in autopilot/introspection have no api doc pages?14:24
tscheckSee: http://unity.ubuntu.com/autopilot/_modules/autopilot/introspection/14:24
tscheckWhen you use the Quick search of the online help, you can't find any info on signals.14:25
tscheckHm. There is another online help without qt and gtk modules at: http://developer.ubuntu.com/api/devel/ubuntu-14.04/autopilot/_modules/autopilot/introspection/14:27
tscheckStrange.14:27
tscheckShall I file a bug?14:27
balloonstscheck, those are strange links14:45
balloonsI don't believe the pages you found are meant to be published atm.. meaning, http://unity.ubuntu.com/autopilot/_modules/autopilot/introspection/gtk.html for instance14:46
balloonslooks quite old14:46
tscheckballoons: I see. But the first link are the official api docs, right? Any info about why the qt and gtk modules are not created?15:12
balloonstscheck, not offhand. some devs will be around in about 5 hours and they should have an answer for you15:14
=== DanChapman_ is now known as DanChapman
balloonselopio, did you ever make an optionselector emulator?15:26
elopioballoons: robotfuel did. It's already published.15:38
balloonselopio, I remember it, I just don't see it15:39
balloonsand I need it now :-)15:39
elopioballoons: http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_optionselector.py15:40
elopioubuntuuitoolkit.OptionSelector, that's the new namespace.15:40
balloonselopio, is trusty missing this?15:47
elopioballoons: I don't know.15:47
elopiothat's a question for bzoltan.15:47
balloonsseems to be the case..15:47
balloonsok, I finally found what you are talking about and I'll give it a try now. Looks nice15:48
balloonsbut yea, the package in trusty doesn't have it afaict15:48
elopioballoons: we should probably backport it.16:14
elopioit's not going to be hard to have the autopilot package of the toolkit working on trusty and on utopic16:15
balloonselopio, turns out, problem solved. zoltan said sdk team pushes updates to there ppa. ppa:ubuntu-sdk-team/ppa. I've asked francis to add that ppa to the jenkins builders so we should be covered16:21
elopiooh, well, maybe a little hard because they add features like the new header16:22
elopioballoons: nice, thanks.16:22
thomibarry: did you get a chance to look at my packaging stuff?20:19
barrythomi: not yet.  will soon20:20
thomicool - thanks :)20:20
veebersmorning20:21
thominuclearbob: cgoldberg: quick thing:22:17
thomiwe said in a meeting that you guys were going to attend the qa/ci meeting and talk about something, was it the subunit integration work?22:18
cgoldbergthomi, yea22:18
thomiin any case, we need to talk about that between ourselves first, so you have all the facts :)22:18
cgoldbergthomi, can you bring it up tomorrow in the call?  im about to EOD22:18
thomiDo you think we can do that in the TnT standup tomorrow, or should we make a separate call?22:18
thomithat answers that question :)22:19
cgoldberg:) night22:19

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