/srv/irclogs.ubuntu.com/2014/07/16/#ubuntu-quality.txt

=== 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
=== _salem is now known as salem_
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
balloonspitti, can I get you to have a quick look at the conversion to autopkg for reminders: https://code.launchpad.net/~nskaggs/reminders-app/autopkgtest/+merge/226894. I'm confused by the error I'm getting15:34
jibelballoons, do you have the full output of the run in debug mode?15:48
jibeland do you still have the same error after your fix?15:48
balloonsjibel, yes and yes15:50
balloonsjibel, http://paste.ubuntu.com/7804047/15:50
jibelballoons, what is 'reminders' in your command lines 'adt-run -d reminders --click=com.ubuntu.reminders --- ssh -s /usr/share/autopkgtest/ssh-setup/adb' ?16:01
jibelballoons, is it a local checkout of your branch containing the tests?16:01
jibelballoons, what I did and worked: bzr branch lp:~nskaggs/reminders-app/autopkgtest && adt-run -d autopkgtest/ --click=com.ubuntu.reminders -s --- ssh -s /usr/share/autopkgtest/ssh-setup/adb16:02
jibelwell, then the tests fail with 'ImportError: No module named 'requests_oauthlib'' but it's another story16:03
balloonsjibel; ok that's good news I guess16:03
balloonswell, except for the fact the tests still fail of course16:03
balloonsjibel, trying again..16:04
pittiballoons: re16:04
balloonsI wiped and rebranched16:04
pittiballoons: did you guys already figure it out?16:04
pittiballoons: so the branch LGTM16:05
pittiballoons: it may be that "reminders" is interpreted as an apt source name instead of a click path16:05
balloonspitti, well one part is figured out.. jibel is saying the tests still fail due to a depends.. I'm trying to reproduce16:05
pittiballoons: the / at the end (or any path before it) could make that differnce16:06
balloonsand I'm getting apt repo errors; 404 Failed to fetch16:06
pittiballoons: incidentally in a branch of mine I have a better heuristics16:06
pittiballoons: probably missing apt-get update / too old image?16:06
balloonsdo you not apt-get update first?16:07
jibelballoons, I ran the test on 13416:07
balloonsI'm on 132.. it's not that old :-) I'm updating now16:07
pittiballoons: utopi changes quickly, and thus apt indexes get out of date fast16:07
jibelit's terribly outdated ;)16:07
balloonspitti, yes I can understand that.. but it could be a problem even on the newest image16:08
balloonsanyways, jibel python3-requests-oauthlib is listed as a depends, but you are saying it's not found when running. Do you see it being downloaded?16:09
jibelpitti, for click package does adt-run resolve the dependencies from the click package installed on the device or the local branch?16:09
balloonsIn mine, I don't see any of the python3 stuff being pulled16:09
jibelballoons, no it is not downloaded hence my question16:09
balloonsthis feels like my original issue.. I wonder if I specify a dependency that is already included first, if you are skipping them or ?16:09
pittiballoons: yes, I think I need to invent a "local user" apt-get update with temp indexes, if there is no root16:10
pittiballoons: did you actually install the .click with the updated deps?16:11
balloonsyea, I'm only seeing adt-run: DBG: testbed reset: modified=False, deps_installed=[], deps_new=['autopilot-touch', 'ubuntu-ui-toolkit-autopilot']16:11
balloonsadt-run: DBG: install_deps: deps_new=['autopilot-touch', 'ubuntu-ui-toolkit-autopilot'], recommends=False16:11
pittijibel: the deps come from the .click; there is no general way to get them from the click source16:11
balloonswhoa.. from the click? the app click?16:11
balloonsthe tests and the click have different depends16:12
pittiballoons: yes, as only that has a reliably formatted manifest16:12
jibelballoons, so you need to build the click from your source first then from with that click package16:12
pittiballoons: click sources often build it from an .in file, and the manifest template can be anywhere and not even a valid format16:12
pitticorrect16:12
pittifor debs, the deb source is the primary object, as that has formally specified ways to get built and specify metadata16:12
jibels/from/run16:13
pittifor clicks, only the click binary has that16:13
jibelpitti, would it be possible to specify a local manifest.json so the click package doesn't have to be rebuilt?16:14
balloonsI'm slighty confused.. The application binary has some depends, which building the click will pull and package. However, the test specifically has other depends which the app does not have. How does building a local click help?16:14
pittijibel: not right now, but I can make --override-control work for click manifests16:14
pittiballoons: because the manifest (which adt-run looks at) *only* is in the binary click16:15
pittiballoons: if you test the installed click, it will use the manifest from the installed click too (i. e. not your deps)16:15
pitticlick sources are really underspecified :(16:15
pittithat's why adt-run doesn't support building them or taking manifests16:15
balloonsahh, ok.. that's... wild16:16
pitti--override-control sounds ok though, if you specify a syntactically correct manifest16:16
balloonsmakes sense.. the manifests often have buildtime vars in them as well16:16
balloonsso passing one directly will fail16:16
pittiballoons: right, and there's also no canonical place where to put them16:17
pittithe build system can do whatever it wants16:17
balloonsyep, sorry I was slow to pick up on what the issue was16:18
jibelballoons, correct for example ubuntu-clock-app has a click/manifest.json.in while reminders has manifest.json and both contains variables that are populated at build time16:18
pittiballoons: no worries; for now, just build the click locally and toss that to adt-run16:18
pittiwishlist bug appreciated for specifying a local manifest16:19
balloonsit only matters in this case because things changed.. most of the time I should be able to get away with it16:19
balloonsre-using the installed click that is16:19
pittistill, a local override seems useful for quickly checking a test with an extra restriction or dep or so, without having to rebuild16:19
=== chihchun_afk is now known as chihchun
balloonsyea, you can craft a manifest yourself16:20
balloonsok, so fingers crossed then once this builds it will all work :-)16:21
jibelpitti, bug 134281816:24
ubot5bug 1342818 in autopkgtest (Ubuntu) "add an option --override-control to override a test control file" [Undecided,New] https://launchpad.net/bugs/134281816:24
pittijibel: merci16:25
jibelde rien16:25
balloonspitti, before you take off.. let's talk notes-app as well.. is it still causing you issues?16:25
pittiballoons: I haven't re-run them recently16:26
* pitti got sidetracked with a few other urgent requests from folks16:27
balloonspitti, same same.. just remembering them16:27
pittiwhat was that giant meta-bug again?16:27
pittiawesome bar search fail16:27
balloonspitti, looks like it's still only grabbing those 2 depends :-(16:37
* balloons investigates further16:38
pittiballoons: did you give it the local click now?16:39
pittiballoons: i. e. /your/path/foo.click, not "com.ubuntu.notes-app:16:39
pittis/:/"16:39
balloonsyea, just confirming it's installed, and checking the mainfest16:39
balloonspitti, ohh, I pushed it to the device16:39
pittiballoons: and installed with --all-users? that ought to work too16:40
pitti(that's more or less what adt-run does)16:40
balloonspitti, ahh that's it.. it's only for phablet16:40
* balloons confirms root still has old version16:40
pittiballoons: the test runs as phablet too, so it's a bit strange that it doesn't use that version then16:40
balloonspitti, well let me try by passing the click as an arg16:41
balloonsyep, it sees the depends16:42
balloonsso I'm not sure if there's something we want to change here. It could be confusing, as most folks install clicks for phablet, not for root16:43
pittiballoons: oh, that could be the bug -- it runs "click info" as root, not as user16:43
pittiballoons: bug report appreciated16:43
balloonsk, I will file :-)16:43
pittiballoons: I haven't tested this mode indeed16:43
* pitti ^5s his favourite beta tester for autopkgtest :)16:43
balloonsI'm just happy to have such a tool, and an upstream who can fix bugs :-)16:44
pittibonsoir tout le monde ! c'est l'heure de courier16:46
balloonsciao pitti16:46
pittiand I'm just done replying to all IRC pings, so I better toddle off now :)16:46
jibelit's too hot to run now, I'll go in 1 hour16:46
balloonsk, 2 bugs filed :-) https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1342836 https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/134283816:52
ubot5Ubuntu bug 1342836 in autopkgtest (Ubuntu) "Click info runs as root, instead of user" [Undecided,New]16:52
ubot5Ubuntu bug 1342838 in autopkgtest (Ubuntu) "Apt indexes can expire quickly, cause failures" [Undecided,New]16:52
balloonsjibel, so after everything, something weird is happening trying to run the reminders tests. It's just stuck on 'Tests running' and has been for 15 mins now. Nothing is happening on the device either17:11
jibelballoons, I'll try. How do I build a click package of reminders?17:12
=== roadmr is now known as roadmr_afk
balloonsjibel, I built in a chroot18:09
balloonsarmhf chroot18:09
=== roadmr_afk is now known as roadmr
=== salem_ is now known as _salem

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