/srv/irclogs.ubuntu.com/2012/03/29/#ubuntu-touch.txt

=== MacSlow is now known as MacSlow|lunch
SatorisWith new daily builds, gestures work out of the box. Three fingers is still too fast, though.12:43
SatorisThen again network is broken on my laptop. You win some, you lose some.12:46
=== MacSlow|lunch is now known as MacSlow
* tvoss notes that green is the new black :)14:01
cndSatoris, I just merged a fix into geis last night that should make the three touch drag more appropriately fast14:13
cndI wonder if the daily builds have run yet...14:13
bregmanope14:13
tvossiterated chromium patch and commented on feedback from devs, jenkins work and an itv14:13
cndtvoss, itv?14:14
tvosscnd, interview14:14
cndahh14:14
bregmaI have a nice little geis merge request pending if someone is looking for something to do14:15
cndbregma, yeah, will get to that soon14:15
cndI will be reviewing bregma's patch today :), and then helping dandrader with anything he needs to get unity gesture fixes merged14:15
cndand when the archive freeze lifts, I'll be pushing packages14:16
bregmawill the freeze lift or is it staying in release freeze until release?14:16
cndSatoris, dandrader: standups!14:16
cndbregma, it will lift14:17
cndbregma, final freeze is in 2 weeks14:17
dandraderI'm updating my patch that fixes the dragging of windows with 3 fingers in unity according to the review comments it received14:17
bregmaare you planning to do all the packages or should we divide and conquer?14:17
dandraderThen I'll work on https://bugs.launchpad.net/utouch-geis/+bug/96760514:17
cndbregma, we can divide and conquer14:18
cndI'm fine either way14:18
cndbregma, oh, I was also thinking of trying to fix make distcheck on as many packages as possible too14:18
bregmaI didn;t realize it was broken14:19
cndit is on grail and frame at least14:19
cndor it was on grail14:19
cndit might work now that jussi fixed the recording path issue14:19
cndI suspect geis is broken too14:19
bregmanot last time i checked14:20
bregmaI'll check all the packages today, I don't want to start any new bugfixes until after release14:20
bregmaanyone know if #940308 is still an issue after the recent frail changes?14:21
bregmas/frail/grail/14:21
cndheh14:21
* bregma thinks there are too many different keys on the keyboard14:21
cndbregma, I'm guessing it's fixed now14:21
bregmaI'm sure all our recent changes were robust14:21
cndbut someone needs to verify for sure14:22
bregmahmm, OK, I'll check that too14:22
SatorisSorry for the delay, was talking with olli.14:23
bregmadandrader, do you think you'll have #967605 fixed today (ie. before the geis-2.2.8 release)?14:24
SatorisDid the script thingie. Also tested somewhat.14:24
dandraderbregma, yes. I have it fixed on my test application, using std stuff from C++. Now it's just a matter of adapting it to pure C for the grail backend in utouch-geis14:25
bregmahow hard can it be? %}14:26
dandrader:) just a bit frustrating14:28
cndSatoris, for the bug counter stuff, we want: all bugs that are for projects with a structural subscription for utouch-bugs, and all ubuntu package bugs subscribed by utouch-bugs14:39
cndwe don't need to manually specify the projects we care about because launchpad can get all that info for us14:39
bregmaer, what's a "structural subscription"?14:40
cndbregma, it's when you subscribe a team to all the bugs for a project14:41
cndrather than directly subscribing to each individual bug14:41
Satoriscnd: you mean this https://bugs.launchpad.net/~utouch-bugs/+packagebugs14:42
cndSatoris, no, for packages we can search for all the bugs we are directly subscribed to: https://bugs.launchpad.net/ubuntu/+bugs?field.subscriber=utouch-bugs14:43
cndit should be possible to do the same thing that search query does, but in launchpadlib14:43
cndlook at the ls-team-subscribed-package-tasks.py script in arsenal14:44
SatorisThe script already does that as far as I can see.14:44
SatorisIn addition it will add all bugs from specified projects, because utouch-bugs is not subscribed to those.14:44
cndSatoris, oh! I think I see what's going on14:47
cndyou found a way to get all direct subscriptions for all bugs14:47
cndI had thought that was impossible due to a bug in lp that was timing everything out14:48
SatorisFor utouch-bugs? Yes.14:48
cndyeah14:48
cndSatoris, however, we're still missing the piece that gets all the bugs from the structurally subscribed packages14:48
cndbasically, you manually listed the packages14:48
SatorisOlli asked me to put the script to helipad, so I will do that once it's good.14:48
cndbut we should be querying for what packages are structurally subscribed14:48
cndhelipad?14:48
Satorislp:helipad14:48
cndhmm14:49
SatorisSo where in lp do you get the structural subscription info? A web page is enough to get me started.14:49
cnd look at the ls-team-subscribed-package-tasks.py script in arsenal14:50
SatorisWill do. But there isn't a web page that shows it directly?14:50
cndhttp://bazaar.launchpad.net/~arsenal-devel/arsenal/master/view/head:/scripts/ls-team-subscribed-package-tasks.py14:50
cndand we'll want to do the same for projects if possible14:51
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
cndbregma, just reviewed your MP15:15
cndbregma, fyi, the jenkins build isn't running the integration tests15:17
cndneed to figure out why that is...15:17
cndoh, it's run with ./configure --without-integration-tests...15:19
cndbregma, we should remove the --without-integration-tests from the geis packaging15:21
cndit should be automatically set to no in the archive because xorg-gtest isn't installed15:22
cndbut it is on jenkins15:22
cndI'll remove it right now :)15:22
bregmaplease test in a pbuilder to make sure the distro builds do not break15:24
bregmaI really hate that15:24
cndwill do15:25
cndbregma, I wasn't aware of the dh --parallel flag15:27
cndwe should add that to all our stuff :)15:27
* cnd sings "The more you know..." tune from the nbc commercials15:27
bregmayou know it breaks dh_install, right?15:27
cndoh?15:27
cndbregma, how does it work for geis?15:27
bregmaactually, I'm wrong15:28
bregmadh_install ignores it, "make install" fails with -jN where N > 115:28
cndahh15:28
bregmaa lot of Debian sponsors strongly suggest you use it in all your packaging15:28
cndmakes sense15:29
bregmathe dh sequencer and all its little dh_friends is the greatest thing since sliced bread15:30
bregmaeven if joeyh is a bit sructy sometimes15:30
bregmaum, crusty15:30
cndheh, structy15:30
bregmaI used to accidentally type integer where I means in after doing too much fortran programming15:31
bregmamy fingers would just keep on going15:31
cndheh15:33
cndbregma, I see you filter out the jquery.js file at install time for geis15:33
cndhas the system-installed jquery been updated so it doesn't break the docs?15:33
bregmacnd, yes, the system jquery.js work fine with the docs, and lintian is happy with the packaged one removed15:37
cndcool15:37
cndwe need to update that too in the other packages :)15:38
bregmayep15:38
bregmaDebian sponsors like zero non-pedantic lintian warnings unless there is a really good reason for overrides, and jquery.js is not one of the good reasons15:39
bregmalintian -EviL +pedantic is a good mnemonic ("Debian sponsors are evil and pedantic")15:40
cndheh15:40
cndbregma, the geis configure.ac stuff for integration testing is broken15:43
cndI'm going to copy over the stuff from grail15:43
cndbregma, just submitted MP15:56
* tvoss is back from tax-hell15:59
cndgah, whoever maintains bzr-builder needs to be shot16:41
cndnot only do they not push updates to their ubuntu package16:41
cndbut now they say they have a ppa16:41
cndhttps://help.launchpad.net/Packaging/SourceBuilds/BzrBuilder16:42
cndbut it's private!16:42
cndwhy?16:42
bregmathe started drinking too early in the day16:42
cndtvoss, will our jenkins stuff move to the public qa.ubuntu.com site at any point?16:43
tvosscnd, ack, the move is scheduled already16:43
cndok, cool16:43
tvosscnd, cannot give you an eta yet but larry is working on it16:44
cndok16:44
tvosscnd, but my hope is that he starts moving over the jobs once they have done their update16:45
cndtvoss, update to jenkins?16:45
tvosscnd, just forwarded you an email16:45
cndk16:46
cndbregma, I can't get dailydeb to work16:49
cndany issues if I push the changes to the geis ubuntu packaging branch and kick of a daily ppa build16:50
cndto see if it all works properly?16:50
cndoh, too late16:51
cndalready pushed :)16:51
=== dandrader is now known as dandrader|lunch
bregmawhat errors are you getting from dailydeb?16:55
cndI got around the errors, but nothing was output16:57
cndbregma, have we not fixed geis for daily builds?16:57
bregmait built yesterday16:58
cndI thought we did, but m4/xorg-gtest.m4 doesn't exist upstream16:58
cndyeah, but that was likely because it was built with --with-integration-tests=no16:58
cndI guess we only fixed grail and frame16:59
bregmabut if it was built --with autoreconf that shouldn;t matter16:59
cndbregma, libxorg-gtest-dev isn't a build-dep16:59
cndso it's missing xorg-gtest.m416:59
bregma--with autoreconf should force configure to get regenerated, which requires the m4 macro, so I can;t explain why  the daily PPA succeeded yesterday (or my pbuilder builds, for that matter)17:00
cndtrue...17:01
bregmaI seem to be getting failures in my geis test sute due to incorrect window IDs coming from grail, I'm investigating17:03
cndok17:04
cndbregma, new MP: https://code.launchpad.net/~chasedouglas/utouch-geis/fix-daily-builds/+merge/9998017:05
olli_did you guys see the uTouch question on unity-dev?17:24
cndolli_, yeah, but I wasn't subscribed to unity-dev before then, so I couldn't respond :)17:25
olli_which ted tried to route to multi-touch-dev17:25
olli_cnd, ok17:25
cndhopefully they send it over to multi-touch-dev17:25
cndyeah17:25
bregmahmm, my test suite problem seems to be pointer trouble somewhere in geis17:30
cnduhoh17:40
cndbregma, I hope you like reviewing MPs, because I have another: https://code.launchpad.net/~chasedouglas/utouch-geis/fix-gtest-includes/+merge/9999318:17
cnd:)18:17
cndMy goal is to get the integration tests running on jenkins18:19
cndand I think this is the last bug18:19
bregmaI'm getting integration test fails due to some invalid state with X, so until I fix that I would expect failures18:22
bregmaobviously something missing in geis18:22
bregmathe most recent test leaves the connection in a weird state, or something, so subsequent tests all fail18:23
bregmarandomizing test order can reveal much18:23
cndinteresting18:25
bregma... heh, the bad X state is a red herring, I was missing a geis_subscription_delete() at the end of my test case18:29
bregmaI dunno what the bad X state is, but it doesn't hurt anything18:29
=== tvoss is now known as tvoss|eod
cndyay?18:33
cndhrm... another jenkins failure...18:34
cndmake[4]: *** No rule to make target `/src/xorg-gtest-all.cpp', needed by `libgtest_geis_a-xorg-gtest-all.o'.  Stop.18:34
cndbut it found it in configure:18:34
cndchecking for /usr/src/gtest/src/gtest-all.cc... yes18:34
cndso the prefix isn't being used properly...18:34
cndoh wait, it can't find xorg-gtest-all.cpp, but configure found gtest-all.cc18:35
cndwhich are different files18:35
=== dandrader|lunch is now known as dandrader
bregmagotta run an errand, biab18:43
dandradercnd,  do all utouch projects follow the same coding style?18:52
cnddandrader, geis was created before we had a standard coding style18:52
cndso it's different :(18:52
cndbasically, two spaces indents and curly braces on new lines18:52
cndeverything else is fairly similar18:53
dandraderok18:53
cndI guess two space indents is common for all our projects now18:56
cndit wasn't in the beginning18:56
cndbregma, I *think* I've got the jenkins builder working19:46
bregmaI'm running a pbuilder right now19:47
cndbregma, it was a problem with the jenkins build script19:48
bregmaOK19:48
cndbregma, this is what we need to fix now: http://paste.ubuntu.com/906168/19:49
cndbregma, the recordings moved yesterday :)19:51
cndif your test was working, you were probably using a stale branch19:51
cndI'm just going to commit a fix with the path prefix addition of ../recordings19:51
bregmayep19:51
bregmaif you pass the tests locally no need for a MR19:52
cndok, committed19:57
cndI still get one geis1 test failure19:58
cndI'm running builds in jenkins19:58
cndwe'll see if it confirms19:58
cndbregma, do know how to reach jenkins?19:59
cndbregma, hmm, it passed on i38620:02
cnd83 passing tests :)20:03
cndhmm... 1 failure on amd6420:03
cnd[ RUN      ] Geis1AttributeTests.tap_touch_count20:04
cndgtest_attrs.cpp:123: Failure20:04
cndValue of: saw_four_tap20:04
cnd  Actual: false20:04
cndExpected: true20:04
cnd[  FAILED  ] Geis1AttributeTests.tap_touch_count (3084 ms)20:04
cndcould be a timing issue, I'll rerun to see if it is20:04
cndhmm... the gtest tests aren't being accounted for in the jenkins results20:05
cndprobably an oversight in the jenkins script20:06
cndI'll see if I can fix it20:06
bregmaman, I keep getting launchpad timeouts20:35
bregmait's harshing my mellow20:35
cndodd20:36
cndbregma, we got that same tap_touch_count failure on amd6420:36
bregmaonly on amd64?20:37
cndyeah20:38
cndI'm wondering if it's a timing issue due to running geis1 then geis2 gtests in rapid succession20:38
cndthe geis1 dummy server hasn't fully shut down20:38
cndoops, other way around20:39
cndthe geis 2 dummy server hasn't fully shut down20:39
cndbefore the first geis 1 gtest test is executed20:39
cndwe really should be compiling all the tests together anyways20:39
cndI'll attack that after lunch20:41
cndsince the archive freeze hasn't lifted yet20:41
bregmaOK, I gotta run, too, be back later20:41
cndoh wait, it has20:41
cnd:)20:41
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader|
=== dandrader| is now known as dandrader
cndbregma, what do you do when you need to mix linker flags and archives in automake21:57
cndand they have to be in the right order21:57
cndif you put them in LDFLAGS, it rearranges all flags in front of libs, which is wrong21:58
cndand if you put it in LDADD, it errors out21:58
cndhmm.. starting to think it won't work22:01
cndbregma, I'm trying to build and link the gtest tests in each geis* directory22:24
cndand then link both static libs into one gtest executable22:24
cndthe problem is that this breaks gtest test registration22:24
cndbecause the tests in the static libs have global constructors that aren't referenced by anything22:27
cndso they aren't pulled in to the executable22:27
cndthe --whole-archive linker option would fix things, but it's non-portable and requires intermixing the flag with the libraries22:28
cndI think I'm going to give up for today22:28
cndand move on to other work22:28
dandraderare utouch-geis tests all passing on your machines?22:37
cnddandrader, I get a failure in the second geis1 test22:40
cnd[ RUN      ] Geis1SubscriptionTests.basic22:41
cndgtest_subscription.cpp:65: Failure22:41
cndValue of: geis_subscribe(geis(), ((GeisInputDeviceId)0), gestures, &callbacks, this)22:41
cnd  Actual: -99922:41
cndExpected: GEIS_STATUS_SUCCESS22:41
cndWhich is: 022:41
cnd[  FAILED  ] Geis1SubscriptionTests.basic (2010 ms)22:41
cndI don't know why22:41
cndit works fine in jenkins22:41
dandradercnd, same with me22:41
cndhmm22:41
dandrader(the error)22:41
cndok22:41
dandraderbut the funny thing is that with lp:~dandrader/utouch-geis/lp967605 I get a failure in some other test instead22:41
cndwhich test?22:42
dandrader[ RUN      ] GeisSubscriptionTests.duplicate_window_subscription22:43
dandradergtest_subscriptions.cpp:91: Failure22:43
dandraderExpected: (GEIS_STATUS_SUCCESS) != (geis_subscription_activate(sub2)), actual: 0 vs 022:43
dandradermistakenly activated subscription 222:43
dandrader[  FAILED  ] GeisSubscriptionTests.duplicate_window_subscription (2128 ms)22:43
cnddandrader, so I think I know what's wrong with the subscription test22:43
cndthe previous test is subscribing, but not unsubscribing is my guess22:46
dandraderhmm. well, I gotta go. see you tomorrow22:46
bregmaho! I have returned!23:41
bregmacnd, are you running the most recent, shiniest, up-to-date geis (with my fix for the device-removed test case that caused subsequent tests to fail)?23:42
cndbregma, it's a combo of a bug in geis and a bug in the xserver23:42
cndungrabbing a touch grab is not synchronous, unlike grabbing a touch grab23:43
cndyou have to call XSync or XFlush afterwards so the request actually is sent to the server23:43
cndso from one test to the next, the window grab wasn't actually getting ungrabbed23:43
bregmaI have a visceral dislike of gotches23:43
cndbut on top of that, it turns out that we forgot to implement touch ungrab upstream :)23:43
bregmathe fix I put in was ungrabs were never getting executed at all23:43
cndwhat fix?23:44
bregmathe last commit for #94482223:44
bregmamy test cases started to fail, so I dug in to it23:44
bregmafound I was returning a bad pointer from a call that caused the ungrab to never get executed23:45
cndahh23:45
bregmathat, and I never called geis_subscription_delete() from the test case, which cause the XClose() to not becalled, which messed things up23:45
cndso it was a perfect storm of bugs :)23:46
bregmayes, and randomizing the test run order was a good thing23:46

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