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

Nothing_MuchOh cool! I can use Virtualbox to test 14.10?00:06
Nothing_Muchbbl00:08
Nothing_MuchHi again, did I miss anything?01:07
Nothing_MuchGuess not :\01:10
balloonsNothing_Much, yes you can use vbox01:18
balloonsNothing_Much, an install you will use is best. Be it vm or real hardware. Real hardware is preferred but vm works too01:19
Nothing_MuchAwesome01:21
=== chihchun_afk is now known as chihchun
pittiGood morning04:58
jibelpitti, I'm trying to produce a stacktrace for https://errors.ubuntu.com/oops/9531bd08-10a5-11e4-8591-fa163e78b02707:50
jibelpitti, I unpacked the crash file and ran: gdb --batch --ex 'file /usr/lib/arm-linux-gnueabihf/indicator-location/indicator-location-service' --ex 'core-file CoreDump' --ex 'bt'07:50
pittijibel: you run this on the phone?07:50
jibelpitti, which fails with a corrupt stack. Is it correct07:50
jibel?07:50
jibelpitti, on the phone07:50
pittijibel: it looks correct; to be sure, you can re-run it interactively07:51
pittigdb /usr/lib/arm-linux-gnueabihf/indicator-location/indicator-location-service CoreDump07:51
jibelwithout ddebs I'll have unresolved symbols but not a corrupt stack07:51
pittiand then "bt full"; that might show more warnings/errors07:51
pittibut you should still see the gdb errors/warnings with your command as well; do you get any?07:52
jibelpitti, same result http://paste.ubuntu.com/7829037/07:53
pittiwarning: core file may not match specified executable file.07:54
pittijibel: so, might be image mismatch; but still, same old gdb problem otherwise :(07:54
jibelah, the phone has been upgraded07:54
jibellet me crash it again :)07:55
jibelooh, too bad, it crashed :(08:05
pittijibel: isn't that what you wanted?08:07
jibelpitti, it is08:07
jibelit's just too easy08:07
jibeland now system-settings uses 100% CPU but is not running in foreground08:08
jibelpitti, so same old problem with a fresh crash http://paste.ubuntu.com/7829204/08:49
pittijibel: yeah, and no bin mismatches now :/08:51
=== Ursinha-afk is now known as Ursinha
jibelpitti, did you see the failure in umockdev http://paste.ubuntu.com/7829954/12:11
jibelhttp://d-jenkins.ubuntu-ci:8080/job/utopic-adt-umockdev/30/ARCH=amd64,label=adt/console12:11
=== _salem is now known as salem_
pittijibel: just back from lunch, I'm looking at the recent failures12:35
jibelpitti, they are all the same12:36
pittijibel: whoa -- fixing now12:37
pitticurious that this didn't come up in my testing, when I rolled out the new autopkgtest libpng etc. succeeded12:37
pittiand none of the tests caught it either *sigh*12:37
pittijibel: ah, it affects --apt-source with "build-needed" only; sorry about that12:40
pittijibel: fixed in git, rolled out, umockdev/tgt/colord retried12:46
pittijibel: systemd is an "honest" failure, I'll look at this12:46
jibelpitti, thanks!12:47
pittiah, sd_login_monitor_new() would fail in a chroot, indeed12:48
pittiit worked locally as I have an actual session running, I'll rewrite this12:48
=== jpds_ is now known as jpds
pittiballoons: so after "Tests running...14:40
pittiballoons: ... in http://paste.ubuntu.com/7815272/ nothing further happens?14:40
balloonspitti, yes exactly14:42
balloonsit's quite bizarre. I thought it was perhaps just me but both jenkins and jibel report the same thing14:42
* pitti runs here14:43
balloonsohh really?14:45
balloonswhat version of the image?14:45
pittiballoons: no, I mean "I" am running this now and try to reproduce14:45
pittinot "it" runs here14:45
balloonspitti, lol.. whew.. sorry reading into what you said :-)14:47
pittiballoons: right, I see the same here; "python3 -m autopilot.run run reminders" is running14:47
pittibut nothing visible14:47
pittiballoons: FYI, with autopkgtest 3.2 you can use --override-control to point to a local manifest (to avoid rebuilding the click)14:52
balloonspitti, ahh yes, thanks for the reminder. I actually built it a few ways so I just pass the clicks I built before14:53
pittiballoons: sure, just pointing out as you were asking about it14:53
balloonsyep, glad it's possible.. much nicer than rebuilding a big armhf click14:54
pittiballoons: curious, very curious; that's my current output with -v: http://paste.ubuntu.com/7830651/14:56
pittiballoons: (still running and progressing)14:56
pittiwhy don't I see anything??14:56
balloonspitti, you overrode AP to give you back verbose output eh?14:57
pittiballoons: yes; put that in the manifest into the "module" value, or use the undocumented cheesy ADT_AUTOPILOT_MODULE="-v reminders"14:57
balloonsso, my thought with why this was happening is because of how the tests work. They create a fake online account via python before running the tests14:57
balloonsi'll have to look at the tests again, but there is a small wait in there.14:58
pittiThe ubuntuuitoolkit.emulators module is deprecated. Import the autopilot helpers from the top-level ubuntuuitoolkit module.14:59
pittiballoons: coudl that have something to do with it?14:59
balloonspitti, nope, that's just a warning from the toolkit.. I have a bug to convert everything, but it has no affect on the helpers atm15:00
pittiballoons: ok; also, I notice that reminder's .desktop is broken15:01
balloonsthat sounds more of an issue15:01
* balloons peeks at reminders tests15:01
pittiExec=reminders15:02
pittithat's what ubuntu-app-launch would try to run, no?15:02
pittimeh, adb is such a terrible terminal15:05
balloonspitti, phablet-shell if you are using it15:05
balloonspitti, I'm not sure actually how much of a role the .desktop file plays15:06
pittiballoons: yeah, I think ubuntu-app-launch is doing some black magic15:06
pitti.cache/ubuntu-app-launch/desktop/com.ubuntu.reminders_reminders_0.5.184.desktop15:06
pittiit creates that, but it doesn't actually seem to use any information from that for running an app15:07
pittimaybe it searches the click dir for <name.qml> and directly runs that or os15:07
pittiso15:07
balloonsbrendand, elopio I see my mp for the sdk is still pending. https://code.launchpad.net/~nskaggs/ubuntu-ui-toolkit/fix-1328600/+merge/227394. What do you think of it?15:09
elopioballoons: looks good, but you still have to update one test.15:11
elopiothanks for this, you will make the team happy.15:11
balloonselopio, sure what test did I miss? I see one failure, I guess it's from me eh?15:12
elopioballoons: ubuntuuitoolkit.tests.custom_proxy_objects.test_date_picker.PickTimeFromDatePickerTestCase.test_pick_time(lower second)15:12
elopiotesttools.matchers._impl.MismatchError: datetime.time(12, 39, 20) != datetime.time(12, 30, 20)15:12
balloonselopio, ahh ok, ty.. I'll look and fix15:12
pittiballoons: I did some further comments to the MP, but I'm afraid I'm running out of ideas here :/15:13
pittiballoons: OOI, does that work with phablet-test-run? (reflashing my device ATM, can try later)15:18
balloonspitti, yes it should run with phablet-test-run.., Just make sure you push everything so it has it's depends15:19
pittiballoons: ah, you mean apt-get installing its test deps?15:19
balloonspitti, no. phablet-test-run will look inside /home/phablet/autopilot and load all the python modules in there15:20
balloonsso just push them to that folder15:20
pittiballoons: does phablet-test-prepare-something do that, or did you do that manually?15:20
balloonsso something like python3-dbus is sitting in there and can be used by any test15:20
balloonspitti, manually15:21
pittiballoons: apt-get download and dpkg-deb -x?15:21
balloonspitti, I usually just adb push from my own installation because I'm lazy, but yes :-)15:21
pitti(how does CI run these?)15:21
balloonsvery rarely will you find a compiled python module, but I have encountered them15:22
balloonsso apt-get download (armhf) is the safer option15:22
balloonspitti, CI doesn't run reminders (and can't without adt for this reason)15:22
pittiah15:22
balloonsand for calendar, the phablet-setup stuff pulls it's dateutil depends and unpacks in /home/phablet/autopilot15:23
balloonsin other words mock, dateutil and the toolkit are the "default" depends pulled by phablet-click-test-setup15:25
balloonspitti, while i still have you, is notes working for you now? https://code.launchpad.net/~nskaggs/notes-app/ap-setup-update/+merge/22599215:34
balloonsthanks for the notes on reminders. I'll give it a go again this afternoon. The extra debugging info should help15:35
pittiballoons: still fighting with phablet-test-run15:35
pitti(for reminders)15:35
pittican look at notes tomorrow morning15:35
balloonspitti, ohh.. I saw the note about reminders not running via phablet-test-run. I haven't run it on the latest images but no reason to believe it's broken15:36
pittiImportError: No module named 'requests'15:39
pittiballoons: I get that with ./phablet-test-run reminders15:39
pittiballoons: missing dep?15:39
balloonspitti, indeed15:39
balloonspitti, push everything in debian/control for the -autopilot package15:39
pittiI did15:40
pittiI have ~/autopilot/requests_oauthlib15:40
balloonspython3 verison?15:40
pittiyes15:40
pittipython3-oauthlib_0.6.1-1_all.deb and python3-requests-oauthlib_0.4.0-1ubuntu1_all.deb15:40
* balloons looks in his autopilot folder15:40
pittiFile "/home/phablet/autopilot/requests_oauthlib/oauth1_session.py", line 10, in <module>15:41
pittiimport requests15:41
balloonsbah, it's not even running for me15:41
pittiballoons: so if you could do "find -name 'requests*'15:41
balloonspitti, I have requests and requests_oauthlib15:42
pittiwhere does requests come from?15:42
balloonsrequests_oauthlib15:42
balloonsadb push /usr/lib/python3/dist-packages/requests/ /home/phablet/autopilot/requests15:42
pittiah, python3-requests15:43
balloons:-)15:43
pittiImportError: cannot import name 'certs'15:43
pittiwell, that's progress I suppose :)15:43
balloonsok, certs15:44
pittiwhereever that comes from15:44
* balloons is running reminders tests15:44
balloonsI get your error about TypeError: Argument 1 does not allow None as a value, running the last thing I pushed onto the phone.. I should push trunk15:45
pittihttps://packages.debian.org/search?searchon=contents&keywords=dist-packages%2Fcerts&mode=filename&suite=unstable&arch=any15:46
pittithere is no "certs" module15:46
balloonsas far as certs.. I don't see the module in my ~/autopilot15:46
pittinor is it in reminders15:46
pittioh, it's requests/certs.py15:47
* balloons wonders why find didn't see it15:47
pittiand there's even a __pycache__/certs.cpython-34.pyc15:48
pittiWTH15:48
balloonslol.. I didn't make it *15:48
balloonsyea, I see that now15:48
pittiaah15:48
pittiphablet@ubuntu-phablet:~/autopilot$ PYTHONPATH=. python3 -c 'import requests'15:48
pittiImportError: No module named 'urllib3'15:48
balloonspython3-urllib315:48
pittithat's what I get with apt-get download, no dependencies..15:49
balloonsI have that in my notes.. I wonder if we should specify it15:49
pittiadt-run does install dependencies15:49
pittiTests running...15:49
pittiexactly the same15:50
balloonspitti, my guess is it's hanging due to the syntax error you found. At the least I should solve that15:50
pittiballoons: yeah15:51
pittiballoons: followed up again15:51
pittiballoons: yep, I see that TypeError now15:51
balloonsohh wait! I know what that is15:51
balloonsif we see that TypeError, it means the fake account failed to be created15:52
balloonshence, it's none.. we should catch it and display a better failure15:52
pittianyway, if phablet-test-run and adt-run fail in exactly the same way, I suppose it's an SEP for me :)15:52
balloonsstill.. the point is, it should be working15:52
balloonspitti, yes, I think you are in the clear on this one for now15:52
balloonsand now you see why adt is better than the old method15:53
pitticlearly :)15:53
pittiballoons: trying notes-app again then15:53
balloonsno one could figure out how to run reminders without it :-)15:53
pittiballoons: so we should kill phablet-click-test-setup and rewrite phablet-test-run to invoke adt-run with the necessary magic?15:57
pittiballoons: ah, I suppose I still need to implement automagic source retrieval15:57
pittiballoons: oh, "badpkg: got 3 lines of results from extract where 5 expected" -> that's most likely you forgetting to specify --click16:00
pittiballoons: I'll see to improve the error message (it tries to apt-get download com.ubuntu.notes, which fails bitterly)16:01
=== chihchun is now known as chihchun_afk
balloonspitti, yes forgetting to specify --click is a bit offputting16:05
pittiballoons: I filed a bug for it, I'll fix that16:06
balloonspitti, umm, tweaking how the phablet-tools work I suppose isn't a bad idea16:06
pittii. e. give a proper error message16:06
balloonspitti, any thoughts on the apt-get index issues?16:06
balloonsI think that16:06
balloonsmight be the biggest issue atm16:06
pittiballoons: followed up to https://code.launchpad.net/~nskaggs/notes-app/ap-setup-update/+merge/22599216:09
balloonswith the phone being read-only, it's not a simple thing to be able to update the indexes16:09
balloonspitti, ty16:09
pittiballoons: archive.u.c. keeps old versions for 24 hours I think, so that'll mostly hit on older images16:10
pittiballoons: one workaround would be to mount r/w, apt-get update, remount r/o16:10
pitti(in the adb setup scripts)16:11
pittianother to use a local $APT_ROOT with copying the entire config and running apt-get update as user with temp cache dirs or so16:11
pittibut yeah, the eternal conflict between "we want to use apt" -- "no, we don't, really" :/16:11
pittiballoons: I'm still stuck with ddeb-retriever, but once that's done I can spend more time again on adt-run16:13
elopiobrendand: I replied to your review on the unity8 branch. You are probably running the installed unity.16:16
brendandelopio, right, probably. i should build and install the one from your branch then16:16
elopiobrendand: you can follow the readme file on the branch16:17
elopioI think it's called coding16:17
brendandelopio, bzr bd usually does the trick16:17
elopiobrendand: oh yes, I just don't want to pollute my installed packages.16:18
elopiobut that will work.16:18
balloonspitti, sounds like you at least have ideas.. I'm guessing avoiding enabling r/w mode is preferred? but perhaps not. Toggeling r/w mode, updating indexes and toggling off is probably the simplest way16:26
=== Ursinha is now known as Ursinha-afk
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== Ursinha-afk is now known as Ursinha
Letozaf_balloons, hi19:35
balloonsLetozaf_, hello19:35
Letozaf_balloons, howzit ?19:36
balloonsbusy busy eh? :-)19:36
Letozaf_balloons, :) have you got a second for me ?19:37
balloonsof course!19:37
Letozaf_balloons, I need help on running the clock app test I wrote on device19:37
Letozaf_balloons, I get stuck after click-buddy --dir . --provision19:38
balloonsLetozaf_, have you tried out using autopkgtest?19:38
Letozaf_balloons, no19:38
balloonsLetozaf_, give it a try. It should handle all that manual stuff we used to do in the past19:38
Letozaf_balloons, ok thanks I will19:38
=== Ursinha is now known as Ursinha-afk
balloonsLetozaf_, give it a whirl now and let me now how it goes.. I can walk you through it if needed19:43
balloonsbasically you just build the click and then run the command.. it should all just work19:44
Letozaf_balloons, ok thanks, I am reading what you wrote on theorangenotebook now :) I will let you know19:44
* Letozaf_ is updating her device with the latest image19:50
balloons:-)19:52
Letozaf_balloons, but do you just run adt-run... in the root directory of the app, don't you need anything else ?19:57
Letozaf_balloons, well autopkgtest of course is needed :)19:58
balloonsLetozaf_, yes autopkgtest is needed20:01
balloonsyou actually run it outside the app directory20:01
balloonsand pass the directory as the first argument20:01
balloonsLetozaf_, you can then choose to build a click package or not20:02
balloonsif you choose to use the click package installed on the phone to run with, you specify it with click=com.ubuntu.clock20:02
balloonsotherwise, the second argument is the click package you built locally20:02
Letozaf_balloons, ok, so I ran it outside the app directory specifying click=com.ubuntu.clock20:06
Letozaf_balloons, but I get an error :( I just branched a new clock app just to be sure it's not my code thats wrong20:06
Letozaf_balloons, <VirtSubproc>: failure: ['/usr/share/autopkgtest/ssh-setup/adb', 'open'] failed (exit status 255)20:07
Letozaf_adt-run [22:06:00]: ERROR: testbed failed: cannot send to testbed: ['BrokenPipeError: [Errno 32] Broken pipe\n']20:07
balloonsLetozaf_, can you copy the line you are using to run?20:07
balloonsthe syntax is a little funny tricky20:07
Letozaf_balloons,  adt-run ubuntu-clock-app --click=com.ubuntu.clock --- ssh -s /usr/share/autopkgtest/ssh-setup/adb20:07
Letozaf_balloons, that --- ssh sounds strange to me :P20:08
balloonsLetozaf_, yea, I'd run like this20:10
balloonsadt-run ubuntu-clock-app/ click=com.ubuntu.clock --- ssh -s /usr/share/autopkgtest/ssh-setup/adb20:10
balloonsLetozaf_, if your shell is acting funny you can escape the ssh line with a / in front20:10
* Letozaf_ is trying20:11
balloonslike \ssh -s /usr/share/autopkgtest/ssh-setup/adb20:12
Letozaf_balloons, :(  looks like it does not like that / after ubuntu-clock-app20:13
Letozaf_balloons, I get: adt-run: error: click=com.ubuntu.clock: unsupported action argument20:13
Letozaf_balloons, no even without the / I get the same error20:14
balloonsLetozaf_, so following what I laid out in the post doesn't work for you?20:15
Letozaf_balloons, let met try again, but up to now it hasn't worked for me20:16
=== Ursinha-afk is now known as Ursinha
balloonsLetozaf_, I mean, literally can you replicate the example.. I think I used calendar app as the example20:18
Letozaf_balloons, ok let me try with calendar20:18
balloonshehe, not that it matters honestly20:19
balloonsperhaps just a paste of the full output of what your doing would help me20:19
balloonsyou can also run with -d for more debugging outpout20:19
balloonsso adt-run -d ....20:19
Letozaf_balloons, http://paste.ubuntu.com/7832261/20:22
balloonsLetozaf_, and you have a phone connected right? And just one phone?20:25
Letozaf_balloons, just one nexus 420:25
balloonsit's failing to connect..20:25
balloonscan you run phablet-shell and get acesss?20:25
Letozaf_balloons, no, I suppose I have something wrong :(20:26
Letozaf_letozaf@letozaf-PC:~/autopilot-tests$ phablet-shell20:26
Letozaf_start: Job is already running: ssh20:26
Letozaf_ssh-keygen: /home/letozaf/.ssh/known_hosts: Permission denied20:26
balloonsLetozaf_, :-) there we go20:27
Letozaf_balloons, maybe I should just reboot device and pc20:27
balloonssanity has return20:27
Letozaf_balloons, I have been fidling to much20:27
balloonsjust rebooting the device is enough I'd say20:27
Letozaf_balloons, ok20:27
* Letozaf_ is rebooting pc20:32
Letozaf_balloons, looks like it's working now20:41
Letozaf_balloons, yes ! it's working thanks!20:42
Letozaf_balloons, as soon as it ends I will try it on clock app20:43
balloonsLetozaf_, awesome!20:44
balloonsLetozaf_, so you should be able to run any app this way.. the only exception is reminders, which still needs a tweak to merge for it to work20:50
Letozaf_balloons, ok, I am still waiting for calendar tests to end :P20:51
balloonsLetozaf_, lol... you can stop them if you wish20:51
Letozaf_balloons, ok I was wondering If I could :p20:51
Letozaf_balloons, but if I branch my tests, and rename the branch ubuntu-clock-app, I get the old clock app tests running non the new one20:58
Letozaf_balloons, but it's getting late now, maybe I will take a look better tomorrow night20:58
balloonsLetozaf_, lol, just pass the directory name as the first argument20:59
balloonsit matters not what it is called20:59
balloonsLetozaf_, good night!20:59
Letozaf_balloons, it's what I did first, but I will try again tomorrow and let you know20:59
balloonsyep forsure20:59
Letozaf_balloons, thanks and good night :-)20:59
=== salem_ is now known as _salem
knomeballoons, ping22:45
balloonsknome, pong23:08
knomeahh23:12
knomeso,23:12
knomethere are a few templates in the ubuntu wiki under QATeam and the old subdir Testing23:12
knomecan we remove the unused ones?23:12
balloonssorry I just realized my error from earlier with Carla23:34
balloonsknome, yes no reason I could think of to not keep it clean23:34
knomeyou probably know better what's used and what not23:34
knomeor is any template used?23:34
balloonsI personally don't use any23:35
knomeokay23:36
knomei'll see if there are any recent ones not edited by you23:36
knomeok, the templates are cleaned up23:41
knomeyou involved with any loco?23:41
balloonsus-fl23:41
knomeok, no templates for you ;)23:42

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