/srv/irclogs.ubuntu.com/2013/09/30/#ubuntu-quality.txt

=== mapreri_ is now known as mapreri
=== ToyKeepe- is now known as ToyKeeper
pittiGood morning04:58
jibelgood morning05:05
jibelpitti, could you have a look at bug 933199 ? it a missing mkdir when the sandbox is created, unless it has to be created manually of course.05:24
ubot5bug 933199 in apport (Ubuntu) "apport-retrace crashed with IOError in _search_contents(): [Errno 2] No such file or directory: u'~/.cache/apport/retrace/Ubuntu 12.04/Contents-i386.gz'" [Medium,Triaged] https://launchpad.net/bugs/93319905:24
pittijibel: looking05:27
DanChapmanmorning all05:36
pittijibel: ok, finally got to this (sorry, some IRC diversions)05:52
pittijibel: do you actually encounter this with current saucy?05:52
jibelpitti, yes, I do.05:53
jibelpitti, here is the trace on saucy http://paste.ubuntu.com/6174319/05:56
pittijibel: merci05:57
pittijibel: so the workaround is indeed to manually run mkdir -p on that path06:06
* pitti commits fix to trunk06:06
jibelpitti, thanks06:45
pittithomi: seems autopilot run doesn't support @unittest.skipUnless?08:08
pittiis there another way to conditionally skip a test?08:08
thomipitti: dunno, it supports testtools.skip* decorators08:08
thomiskipIf, skipUnless08:08
pittithomi: ah, thanks08:09
pitti(*slightly grumble*..)08:09
thomiheh08:09
pittiok, that works08:11
* thomi -> EOD08:13
=== vila is now known as vila-afk-biab
slickymastermorning all09:05
=== vrruiz_ is now known as rvr
davmor2Morning all10:02
Noskcaj10hey davmor210:04
=== vila-afk-biab is now known as vila
=== _salem is now known as salem_
elopiogood morrning.14:48
DanChapmanmorning elopio14:48
davmor2morning elopio I do use this channel :P14:50
* balloons notes davmor2 looks familar14:51
cgoldbergmorning folks.. morning davmor214:52
cgoldbergelopio, do you think Autopilot feels slow launching and killing apps?  I've been deep in the code and I think I have a nice optimization I can implement to make it a bit faster14:53
elopiocgoldberg: I had a bug where it took 15 seconds between launching and beeing able to interact with the application.14:54
elopiobut after that, it seems normal. If you make it faster, I'm sure I14:54
elopio'll like it mroe.14:54
elopio*more.14:54
cgoldbergelopio, there is a 1 sec sleep inside launching, and another 1 sec sleep inside killing.  I think I can get rid of those and still have it work correctly14:55
cgoldbergbut i need to write some tests for AutopilotTestCase first14:55
elopiocgoldberg: yes, please add the tests. With that at least we will know why we need the sleeps.14:57
cgoldbergelopio, btw..unrelated... this script is awesome... you should add it to your .bashrc:  http://iloveubuntu.net/beautify-your-terminal-screenfetch14:57
cgoldberghttps://plus.google.com/114546378907380458640/posts/1wzh9o93oci14:57
balloonscgoldberg, thomi recently did some work in that area of long-launch times14:59
balloonspitti, can I request you to get this MP in this week? https://code.launchpad.net/~dpniel/autopilot-gtk/autopilotgtkemulators/+merge/18767315:00
elopiocgoldberg: :) I'll try it.15:00
cgoldbergballoons, i'll talk to him when he gets on.. thanks.  i'm gonna give my optimization a shot also.  we need tests around AutopilotTestCase anyways.. there aren't any15:00
elopiocgoldberg: hey, I got the SSD. I just forgot to order a cable... I'll install it in the afternoon.15:01
pittiballoons: sorry, was a victim of TODO overflow.. I'll try really hard15:01
cgoldbergelopio, you can probably use your existing sata cable that your old drive used15:01
balloonspitti, I know the feeling, but I'll be your reminder (at least I'll try) :-)15:01
elopiocgoldberg: I'd like to keep my old drive too. It's not completely broken.15:02
cgoldbergah15:02
balloonsso DanChapman have a pleasant weekend mate?15:08
DanChapmanballoons, Yeah was nice and relaxed thanks. How about you?15:09
balloonsDanChapman, same. Had a lovely spontaneous sunday afternoon drive yesterday which was very relaxing15:10
DanChapmanballoons: sounds lovely. :-)15:12
balloonsDanChapman, it was. It's interesting driving through a place and taking a slightly different turn on a whim. Sometimes you discover big new things that were always right there15:14
elfyhi balloons DanChapman15:16
balloonshi elfy!15:17
smartboyhwSo many people around here!15:17
elfy10815:17
elfyeven ...15:17
elfyor 10615:18
* DanChapman wishes he had a car again!15:18
DanChapmanhey elfy o/15:18
elfyDanChapman: I've not had one for almost 2 years - not something I miss much15:18
balloonshaving one car is handy for trips.. But I like it purely for pleasure, not as require transport15:23
balloons*required15:23
elfyI have access to one if it's required15:23
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== chihchun is now known as chihchun_afk
=== mhall119_ is now known as mhall119
=== fginther is now known as fginther|lunch
jfunkping ubuntu-qa - curios if there is a system level smoke test plan for the phone somewhere16:56
davmor2no idea.16:57
elopiojfunk: I'm writing the test cases for publishing, reviewing, installing and updating click apps.16:57
davmor2balloons: is this something you might know about? ^16:57
balloonsjfunk, system level? what would you be after specifically?17:01
balloonselopio, ohh really? didn't realize you were doing any click stuff17:01
elopioballoons: yes, I'll be working with mmcc automating the tests for the unity app preview, the U1 integration on system settings and the click update manager.17:03
jfunkballoons, I mean a set of tests that briefly touches everything that a user touches17:03
jfunkon the phone17:03
jfunka system wide tyre-kick17:04
elopiojfunk: that's a big set of tests :)17:04
balloonsjfunk, ok, well there is nothing that can be considered definitive in that way. What you used to see on the tracker was probably the closest thing that has ever existed to such a suite17:05
jfunktracker?17:06
davmor2jfunk: the test tracker for iso testing17:06
balloonsqatracker, when the images were still managed in there17:06
jfunkright17:06
balloonsas far as testing and etc go.. For the moment, they are being handled outside of that17:06
=== psivaa is now known as psivaa-afk
=== fginther|lunch is now known as fginther
=== wxl_ is now known as wxl
=== om26er_ is now known as om26er
thomigood morning all18:57
alesagethomi good morning19:10
thomimorning alesage19:11
elopiofginther: some of the runs on that bug have all the tests failing.19:21
elopioI suspect that's because we couldn't open the application. So, I'll work on that test first. Make sure the app is visible before going on.19:21
fgintherelopio, For each of those runs, I found a traceback that looked similar to a failed tab switch, but I didn't look beyond why that failed19:22
elopiothomi: is there a way to check if an application is on foreground?19:24
elopiofginther: yes, I've just checked that even if the app is on the background, it will say it's visible.19:28
letozafballoons, hello19:28
elopioI'm not sure who's to blame about that. I suppose Qt, and that's going to be a pain.19:29
balloonsletozaf, hello19:30
balloonsletozaf, how's docviewer?19:30
elopiomzanetti: ping, you around?19:31
letozafballoons, fine fixed that  unstable state19:31
mzanettielopio: hi19:31
letozafballoons, added two tests and integrated emulatro19:31
letozafsorry emulator19:31
elopiomzanetti: hey. I've just found that we are checking if the main view of the application is visible before starting the tests. But it's always True even when it's behind another window, thus not visible.19:32
elopiomzanetti: do you know if there's a property or a way to check if it's actually being shown?19:33
letozafballoons, yesterday I had a look at the stock ticker app, do you know two tests fail ?19:33
mzanettielopio: yeah, QQuickView should have such a thing19:33
balloonsletozaf, did you see my conversion in progress on stock ticker?19:33
balloonsletozaf, https://code.launchpad.net/~nskaggs/stock-ticker-mobile-app/test-click-support/+merge/18795019:33
letozafballoons, nope, gonne look now :p19:34
letozafgonna not gonne19:34
elopiomzanetti: I'm looking at the properties of the QQuickView, but I can't see any of them changing when I bring the app forward.19:34
balloonsletozaf, it doesn't work, lol, and I can't figure out why.. there's something funny with it19:34
letozafballoons, :(19:35
letozafballoons, well if you cannot find the problem I doubt I will be able :P19:35
letozafballoons, but I can just take a look19:36
balloonsletozaf, yes, go for it19:36
letozafballoons, ok19:36
mzanettielopio: hmm... no... there doesn't seem to be such a thing. actually how should the application know that?19:37
mzanettielopio: its the window manager that has that information19:37
elopiomzanetti: I was hoping for the application be able to know if it was actually being rendered. But yes, sounds complex.19:39
mzanettielopio: well, it is rendered19:39
mzanettielopio: but it can't know it the window manager paints something on top19:39
letozafballoons, :( I see docviewer fails too :'(19:39
mzanettielopio: why is there something on top?19:40
elopiomzanetti: sometimes, because we don't have a desktop file so unity doesn't launch it properly.19:40
elopioother times, because we have the screen locked.19:40
balloonsletozaf, you are missing a comma19:40
elopioin this case I'm debugging, I have no idea. I'm just trying to make sure no test continues if the application is not on top.19:41
letozafballoons, thanks, let me check19:41
letozafballoons, fixed, I really didn't see it19:44
* letozaf needs to change glasses19:44
letozafballoons, I see you put a comma at the end of the "Depends" last line : ubuntu-ui-toolkit-autopilot,       do we need a comma also on the last line ?19:47
thomiletozaf: it's good to have - means adding a new dependency only adds one diff line19:48
thomibut it's not required19:48
letozafthomi, thanks :)19:48
* balloons finds it annoying, lol19:48
balloonsbut ty thomi for applying some reasoning19:49
balloonsso letozaf put the comma in.. for diff's sake :-)19:49
letozafballoons, ok19:49
letozafballoons, done19:50
letozafballoons, OMG19:55
elopiothomi: can we get some help from mir or autopilot to tell if an app is actually being shown?19:56
balloonsletozaf, ohh nice19:56
balloonsletozaf, that's a weird archive issue it seems19:56
letozafballoons, how do you fix that ?19:58
balloonsletozaf, well it's odd, but it's not a problem with your merge i don;'t think. Just need to wait it out20:03
letozafballoons, ok20:03
balloonsthe package will build out and be availible shortly20:03
letozafballoons, meh! cannot find what the problem is with your conversion in pogress on stock ticker, everything looks fine but it fails to get main_view visible property20:36
balloonsletozaf, yep, indeed it does20:37
balloonsI suspect the qml is to blae20:37
balloons*blame20:38
letozafballoons, going to bed it's getting late for me, sorry  could not help much :p20:42
balloonsletozaf, no worries. There are other apps and things to do20:42
balloonswhich don't require you to pound your head at a problem20:42
balloonsI like letting things sit for a bit and coming back after doing something successfully20:42
balloonsI'll figure it out I'm sure20:43
letozafballoons, ok20:43
balloonsletozaf, ciao, sleep well20:43
letozafballoons, ciao20:43
cgoldbergelopio, how do I mark an MP as a WiP?  so nobody will review it yet?20:51
elopiocgoldberg: did you already make the MP?20:51
cgoldbergelopio, yes.. just did20:51
cgoldbergi can delete it and make another?20:52
elopiook, then on top it will say Status: Need review. Click there and change to Work in process.20:52
cgoldbergah.. nice.  thanks20:53
elopioif you are just making the proposal, there's a checkbox with the misleading label: "Needs review". So, uncheck it.20:53
cgoldberggotcha20:53
cgoldbergelopio, wanna look at my WiP?  I'm trying to make Autopilot stream results as tests are run.  my biggest pet peeve with AP is how you get no progress during a test run in non-verbose mode20:55
elopiocgoldberg: sure. To learn, mostly, because I missed the streaming branches on SST.20:55
cgoldbergmy branch works.. even with verbose mode.. but i'm probably missing some cases, like using junitxml20:55
cgoldbergelopio, this doesn't use real streaming via subunit... it just adds a unittest.TextTestRunner20:56
cgoldberghttps://code.launchpad.net/~coreygoldberg/autopilot/text-testrunner/+merge/18845120:56
elopiocgoldberg: oh, right.20:56
elopioit's small.20:56
cgoldbergyup20:57
elopioI suppose we need a way to select the runner.20:57
cgoldbergelopio, everything *should* work same as before.. plus output as the tests run20:58
elopiocgoldberg: yes, I think it's an good improvement.20:58
cgoldbergit's great if it works correctly20:58
elopioI was wondering why autopilot remained silent while running. Now I see.20:59
cgoldbergyea.. it waited for test.run(result) to return20:59
elopiocgoldberg: one thing that I always find a pain in the ass is the verbosity. You have the verbosity of the runner, and the log level of SST/Autopilot21:00
elopioand as on SST, autopilot uses -v to set the log level.21:00
cgoldbergright.. they are sorta 2 different things though21:00
cgoldbergverbosity of the runner just tells it to print dots... or testcase names21:01
elopiocgoldberg: yes. I think a runner should receive to parameters: verbosity, and log level.21:08
elopioveebers: I found an easy way to reproduce the None _Backend error.21:08
elopiohttps://code.launchpad.net/~elopio/ubuntu-ui-toolkit/fix1233364-assert_visible/21:11
elopiowith that branch: autopilot run ubuntuuitoolkit.tests.test_base21:12
veeberselopio: awesome thanks, I'm just looking into that now21:18
elopiofginther: one good news is that the failure that looks like String(u'Tab3') != 'Tab2' is because of a change in the toolkit behavior.21:42
fgintherelopio, yeah! one problem solved21:43
elopiofginther: almost. I'm going to try accessing the buttons by their index property, not just by their index on the list.21:44
veeberselopio: for me to run that branch do I need to do anything (i.e. build/install anything)? Or can I just branch and run autopilot?21:51
elopioveebers: qmake && make21:52
veeberselopio: awesome, cheers21:52
elopioveebers: hum, and maybe apt-get install build-dep ubuntu-ui-toolkit-autopilot21:52
veeberselopio: would that be the same for the gallery-app would you know?21:53
elopioveebers: I have never ran the gallery-app.21:53
veeberselopio: ack21:53
elopiogenerally, the apps don't need a make.21:53
veeberselopio: right ok. It seems running ap tests for gallery-app needs something extra (or I'm doing something dumb)21:54
elopioveebers: what's the error?21:54
veeberselopio: ugh lost it now (building u-u-t). but using your branch will work for what I'm doing21:55
jfunkEOD all, have a good one!22:00
elopioveebers: will this give me always the latest application I launched?22:14
elopioself.process_manager.get_running_applications()[0]22:14
veeberselopio: hmm, good question. let me refresh my memory22:16
veeberselopio: also note, this will only currently work on the deskop22:16
veebersdesktop22:16
elopioreally?22:16
veebersthere isn't an interface to the process management on devices yet22:16
elopiothat's sad.22:16
veebersyeah it's in the works22:16
veebersagreed22:16
elopioso, we basically have no way to tell if the application launched is visible and focused.22:17
elopiofginther ^22:17
* fginther head -> desk22:17
elopioveebers: who22:18
elopioveebers: who's doing that work? and how do we increase its priority? :)22:18
veeberselopio: there has been some discussion recently (https://bugs.launchpad.net/unity-mir/+bug/1232054) there isn't any one person on this right now22:19
ubot5Ubuntu bug 1232054 in unity-mir "[mir] Need to expose geometry for autopilot consumption" [Critical,In progress]22:19
elopiocritical, in progress sounds good.22:21
veeberselopio: Not sure if it helps you right now, if you're testcase inherits from unity8testcase then you can get the current focused application id22:22
veebersthe application lifecycle tests in unity8 do this22:22
knomeveebers, "your" :)22:22
elopioveebers: no, that won't help.22:22
veebersknome: d'oh, thanks22:22
elopioif unity provides an API to get the focused application, that would help.22:23
elopiobut that would make the tests work only on unity.22:23
veeberselopio: correct. The autopilot process management stuff will be the best bet, unfortunately I don't have an eta for it right now22:25
elopiook, I'm blocked until the SDK team wakes up, so I'm going for lunch now.22:30
elopiobbl.22:30
cgoldbergEOD.. later all o/22:32
=== salem_ is now known as _salem

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