/srv/irclogs.ubuntu.com/2013/11/21/#ubuntu-uds-core-1.txt

=== ChanServ changed the topic of #ubuntu-uds-core-1 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1311/core-1/ - http://irclogs.ubuntu.com/2013/11/21/%23ubuntu-uds-core-1.html
JohnChola de que se trata esto?03:00
=== tvoss_ is now known as tvoss|test
=== tvoss|test is now known as tvoss
Neo31Hello, does the meeting start at 18:05 UTC ?07:13
=== lol is now known as Guest50536
fginthergood [morning|afternoon|evening|night]14:54
fginthercjohnston, do you know who is running this track?14:55
ogasawarafginther: hi, https://plus.google.com/hangouts/_/76cpirvjdcq5ofrvqvkmkqslps?authuser=0&hl=en14:55
=== ChanServ changed the topic of #ubuntu-uds-core-1 to: Track: Core | Upstream Merger 2.0 | Url: http://summit.ubuntu.com/uds-1311/meeting/21983/core-1311-upstream-merger-20/
fgintherogasawara, thanks!14:55
fginthercjohnston, Ursinha, want to join the hangout?14:58
Ursinhafginther, sure14:58
cjohnstonnot sure I need to14:58
fgintherhttps://plus.google.com/hangouts/_/76cpirvjdcq5ofrvqvkmkqslps?authuser=0&hl=en14:58
Ursinhacjohnston, worst case you won't say a thing :)14:59
fgintherSaviq, want to join the hangout? https://plus.google.com/hangouts/_/76cpirvjdcq5ofrvqvkmkqslps?authuser=0&hl=en15:00
* tedg puts on his asbestos suit, let's rock! :-)15:03
dobeytedg: heh15:03
fginthertedg, dobey, either of you want to join the hangout?15:03
fgintherhttps://plus.google.com/hangouts/_/76cpirvjdcq5ofrvqvkmkqslps?authuser=0&hl=en15:03
fgintheranyone else ^15:03
dobeyi can i guess15:03
tedgfginther, Sure15:03
* tedg does his hair15:04
Ursinhahaha15:04
fgintherhttps://plus.google.com/hangouts/_/76cpirvjdcq5ofrvqvkmkqslps?authuser=0&hl=en15:04
josephtlower thirds please :)15:07
sergiusenstedg, we did have ddebs for most of the manhattan stuff15:09
tedgsergiusens, Yeah, I know, I just want to ensure it's a feature into the future.15:09
cwaynewhat is the timeframe for these changes?15:11
cwayneawesome, thanks15:14
dobeyno lower third with no camera :)15:16
dobeyjosepht: ^^ just saw your comment15:16
sergiusensI have lots of questions, but they don't seem in scope15:18
sergiusenshow is the emulator going to solve the ci problems?15:18
fginthersergiusens, ask anyway :-)15:18
sergiusensis click testing tied to the emulator?15:18
cwaynethere is still going to be *some* actual hw testing right?15:19
cwayneor will that just be sergiusens's papi testing?15:19
sergiusensSaviq, we actually don't do that for clicks either15:20
tedgSaviq, I've always viewed QML as a cry for help, nice to hear you say so too!  ;-)15:20
sergiusenscwayne, lol, I cannot not laugh when reading papi testing15:20
dobeyheh15:20
cwaynesergiusens, lol i know, i love it15:20
mzanetti:D15:21
cwaynebut is that testing going to be the only hw testing now?15:21
cwaynei mean, we do need some level of hw testing obviously, but i see where it would make more sense for apps to be tested on emulators15:22
dobeythere really should be no reason to test on actual hardware, for things that don't talk directly to hardware; for mir it makes sense, for a unity scope, not so much15:22
mzanettiSaviq: well, you could probably hook into the JS engine and check read/write access of public properties15:23
mzanettitedg: in qml _every_ line is "executed" at startup15:23
tedgmzanetti, Okay, I've got some recommendations for speeding up startup then :-)15:23
mzanettitedg: you need to read it to know when to creat it15:24
mzanettiso you need to read the file at least once. and that's what happening - at the startup15:24
cwaynedobey, right, i'm +1 ont hat, but just making sure we will still have some baremetal testing, even if it is just for mir for example15:24
tedgmzanetti, You need to read the file, but you don't need to create objects based on it or parse deeper than "oh, I'll need this someday"15:25
mzanettiSarvatt: but that you can count15:25
mzanettiSaviq: ^ - but sure it's really not trivial15:25
Saviqmzanetti, yeah, for bindings, we'd have to see whether all the branches were executed15:26
mzanettitedg: well, depending on how you write it, they are not created. but still interpreted15:26
doanac`real h/w testing will continue. we just want to find a better balance between that and virtualized to increase scalability and reliability.15:26
cwayne+1 on that15:26
cwaynei'd +more-than-1 if i could :)15:26
tedgmzanetti, Makes sense, so code coverage would be when objects are created, not interpreted.15:26
sergiusensfginther, click packages require ubuntu touch15:27
mzanettitedg: I'm thinking more about "used" instead of "created". but yeah, something along those lines15:27
fginthersergiusens, wouldn't that work on a touch emulator?15:27
Ursinhasergiusens, join the hangout? :)15:27
sergiusensfginther, I suggest you try to run the emulator on the cloud now that it's there ;-)15:27
dobeysergiusens: can you add the lower third?15:33
sergiusensdobey, sure, should be automatic :-)15:34
fgintherogasawara, you can close the hangout now15:34
ogasawarathanks, will do15:35
doanac`thanks fginther15:36
fgintherthanks all!15:36
cwaynethanks guys!15:37
=== ChanServ changed the topic of #ubuntu-uds-core-1 to: Track: Core | Low battery handling during boot | Url: http://summit.ubuntu.com/uds-1311/meeting/22108/core-1311-low-battery-boot-mode/
ogasawarahttps://plus.google.com/hangouts/_/7ecpi1hhd2cgo0j1h4c242ik7k?authuser=0&hl=en16:00
ogra_lool, want to be in the fishbowl ?16:02
ogasawaraapw, lool, rsalveti: ^^ fyi16:02
rsalvetijoining in16:05
ogra_https://plus.google.com/hangouts/_/7ecpi1hhd2cgo0j1h4c242ik7k?authuser=0&hl=en16:06
ogra_sforshee, intrested in being in the fishbowl ?16:06
ricmmim interested16:07
ricmmto not talk16:07
ogra_heh16:07
sforsheeogra_: I'll jump in if needed16:07
sforsheeogra_: I'm a bit under the weather, so if I don't have anything to contribute then there's no reason to make everyone watch me blowing my nose ;-)16:08
loolheya16:09
loolwhich is that16:09
ogra_https://plus.google.com/hangouts/_/7ecpi1hhd2cgo0j1h4c242ik7k?authuser=0&hl=en16:09
sforsheersalveti: you don't want powerd, if anything upower16:12
sforsheersalveti: but the battery information is in /sys/class/power_supply16:12
sforsheeogra_: the kernel provides the abstraction: /sys/class/power_supply16:13
sforsheethough some logic is needed to figure out the right place to get the battery status16:13
sforsheelet me join16:14
ckingthe reliability of the data can be platform specific though16:14
ogra_ChickenCutlass, https://plus.google.com/hangouts/_/7ecpi1hhd2cgo0j1h4c242ik7k?authuser=0&hl=en16:16
* cking notes that a 1% charge could be a long time on some large batteries 16:16
ckingsome devices, 1% may be a very short time, so it may be device specific, e.g. 5 mins? 10 mins? 20 seconds? ;-)16:18
ogra_http://pad.ubuntu.com/uds-1311-core-1311-low-battery-boot-mode16:18
jodhogra_: /etc/init/friendly-recovery.conf16:25
jodhogra_: we just need to change /usr/share/initramfs-tools/init to pass the custom startup event see last line of that file.16:26
jodhogra_: last 2 lines :)16:26
jodhogra_: subvert the boot if battery is low (as above). When battery level > some threshold, "initctl emit startup" to resume normal boot.16:31
ogra_yeah16:32
jodhnp! :)16:36
ogra_ogasawara, you can stop the recording16:37
ogra_and thanks all, for coming !"16:37
ogasawaraogra_: thanks, done.16:37
=== ChanServ changed the topic of #ubuntu-uds-core-1 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1311/core-1/ - http://irclogs.ubuntu.com/2013/11/21/%23ubuntu-uds-core-1.html
=== ChanServ changed the topic of #ubuntu-uds-core-1 to: Track: Core | Ubuntu Touch Emulator | Url: http://summit.ubuntu.com/uds-1311/meeting/22113/core-1311-touch-emulator/
* rsalveti waves17:59
rsalvetihttps://plus.google.com/hangouts/_/76cpiorbncb4s4j02ib1noi6is?authuser=0&hl=en it seems18:00
rsalvetihttp://pad.ubuntu.com/uds-1311-core-1311-touch-emulator18:01
rsalvetipmcgowan: ^18:01
rsalvetiis zoltan around?18:02
pmcgowanrsalveti, he is but cannot joing the HO18:02
alecuhola!18:02
rsalvetiwe need someone from CI18:02
rsalvetiplars: ^?18:03
dkesselis there already some preview version of the emulator?18:03
rsalvetidkessel: yup18:03
rsalvetidkessel: https://lists.launchpad.net/ubuntu-phone/msg05195.html18:03
dkesselrsalveti, ah, a normal package... nice :)18:05
bzoltanrsalveti: I do not join to the hangout because I am still mute18:05
pmcgowanbzoltan, ping me if I need to hop on the session18:08
bzoltanpmcgowan:  OK18:08
bzoltanYes18:12
bzoltanrsalveti:  Yes,18:12
bzoltanrsalveti: Yes, you start the emlator and it works with the QtC out of box18:13
ogra_bzoltan, oh, it does already ?18:13
ogra_thats cool18:13
bzoltanrsalveti:  The emulator is just an adb device18:13
ogra_(and fast ... for two days)18:13
bzoltanALL18:14
ogra_:)18:14
bzoltanrsalveti:  we backport to PQRS18:14
bzoltanpackaging is cool18:14
ogra_++18:14
Neo31packaging yes18:15
janimoit's cool unless the target is fast moving :)18:15
bzoltanat the SDK team we move fast ...18:15
bzoltanrsalveti:  we need to fix the adb port forwarding and small things18:16
bzoltan+118:17
bzoltanyes18:18
bzoltanit is a single line18:18
ogra_whats wrong with ssh ?18:18
bzoltanogra_:  QtC uses adb18:18
bzoltanNo18:19
bzoltanI need to fix the QtC scripts18:19
bzoltanYes18:19
bzoltanIt is QtC side18:19
bzoltan:D18:19
bzoltanthere is a delay18:19
bzoltansorry18:19
ogra_are we ? i thought we grab the tarball from scimge18:20
ogra_*cdimage18:20
bzoltanrsalveti:  may I have a minimal rootsrap to use as a builder? We have click chroot as main target... but a fully emulated native builder would be cool as fallback18:21
ogra_bzoltan, that will be slow as hell18:21
bzoltanrsalveti: or an R&D enabled image18:21
bzoltanogra_:  it is not that slow ...18:21
ogra_bzoltan, qemu only emulates a 400MHz single core18:22
bzoltanogra_: I just have built the UITK in the emulator18:22
sergiusensbzoltan, did you try building on the emulator?18:22
sergiusensand thats faster that a qemu chroot?18:22
bzoltansergiusens:  I did not _TRY_18:22
bzoltansergiusens:  I did :)18:22
ogra_bzoltan, if you want a qemu-system based emulator to build in there are way better options18:22
bzoltanogra_:  I know ...18:23
ogra_(we have a qemu highbank option afaik ... )18:23
bzoltanogra_: I need to talk to you about it18:23
ogra_sure18:23
ogra_:)18:23
fgintherplars, has emulator on a VM (cloud) been discussed?18:23
plarsfginther: not yet18:23
plarsfginther: should be possible I would think, but it may be awfully slow18:24
fgintherplars, sergiusens expressed some concerns other then slowness in a prior session18:24
plarsfginther: I was going to ask about it, since I know it's something we want to do :)18:24
fgintherthx18:24
SaviqCtrl+F12 to rotate18:29
SaviqChickenCutlass, rsalveti, sergiusens ↑18:29
ChickenCutlassSaviq, nice18:29
ChickenCutlassok18:29
ogra_wow18:29
ogra_that works really nicely18:30
Saviqogra_, didn't rotate the browser for me, though18:30
ogra_well, still booting here18:31
ogra_but i can rotate while it boots :)18:31
ogra_lol18:31
ogra_and comes up sideways18:31
Saviqogra_, see! it emulates real life ;)18:31
MacSlowogra_, Saviq: true real-world case :)18:31
ogra_heh18:31
rsalvetiSaviq: awesome, need to give it a try18:32
Saviqrsalveti, so it just looks like the sensor does not give up the rotation change18:32
Saviqrsalveti, so just more hw enablement18:32
rsalvetiSaviq: right18:32
ogra_yeah, browser is sideways here18:32
rsalvetishould be easy to fix :-)18:32
ogra_i guess we need some sensor hook-up18:32
jdstrandQUESTION: can we look into a snapshot option? it doesn't have to be complicated-- use qcow2 disk and add --snapshot and --revert options to run-emulator. this will allow developers to easily revert to a pristine snapshot, which is highly useful for testing18:33
ogra_poer button doesnt work either etc ... i guess thats similar18:33
ogra_jdstrand, only if that ancient qemu supports that ... and we dont have qcow images atm18:33
jdstrandancient qemu should support snaphost, but if not you could also use backing store18:34
jdstrands/snaphost/snapshot/18:34
asacso feels if we do real driver testing we need a maas cloud18:34
SaviqFYI: more keyboard shortcuts http://developer.android.com/tools/help/emulator.html#KeyMapping18:34
asacso we can provision on bare metal etc.18:34
asacor can we share drivers across multiple VMs?18:34
ogra_what do you mean by drivers exactly ?18:35
jdstrandtechnically, it could be opt in-- you could use qemu-img to convert to qcow2 after downloading the image18:35
asacif we have servers with GPUs :)18:35
ogra_oh, yeah, the server definitely needs the GPU18:35
asacwe could run them on bare metal and use GL properly... otherwise i assumed we would just run against software mesa18:35
ogra_most likely even running X18:35
asacetc.18:35
asacin virtual... but might be too slow18:35
ogra_or xvfb ... not sure that provides GL18:36
asacright. but our current machines ... namely otto etc. are always busted18:36
asacbecause we do raw GPU testing18:36
ogra_then we need a dedicated machine18:36
asacso we need maas to automatically recover rather then alwys do manual maintenance18:36
jdstrandimage snapshotting doesn't have to be complicated btw. people can get super clever-- only really need snapshot and revert to snapshot18:36
ogra_desktop class machine ...18:36
asacdesktop is where the test machines always hang18:37
asacbecause of GPU crashes18:37
asac-> e.g. that should be maas with automatically reflashing machines with a safe iamge18:37
ogra_asac, right, it wouldnt put any load on the GPU18:37
ogra_but it needs something at the desktop end to hand through the GL18:37
ogra_so you need some X server/Xvfb etc running18:37
asacsure. X would run etc.18:38
asacif we want to use pass through... still needs to be maased etc.18:38
asacIT WILL MESS UP TIMEOUTS :)18:39
jdstrandogra_: what version of qemu is it based on?18:39
asacand we should fix those18:39
asachehe18:39
ogra_jdstrand, dunno, but likely older than your grandma ...18:39
ogra_rsalveti knwos i think18:39
ogra_0.9 or some such ?18:40
jdstrandI was doing backing stores with qemu a *long* time ago18:40
asaci think the emulator is well usable ... even though pretty slow. the problem i see is just how i can do gestures. can we mayb hook the buttons up to various gestures?18:40
asaclike the home button gets the swipe to home?18:40
ChickenCutlassasac, yes, that would be good.18:40
asacrsalveti: ChickenCutlass: ^^18:41
doanac`do we have a ppa from the emulator or is it just packaged for trusty?18:41
ogra_asac, the buttons should go away18:41
asacoh already answered18:41
sergiusensI thought we'd remove all buttons :-P18:41
ogra_++18:41
asacogra_: we can use different images... doing a swipe is not very easy with mouse18:41
ogra_well, we should keep power and volume18:41
asacand especially in slowness for now18:41
ogra_asac, works for me ... you need to be patient :)18:41
* Saviq just started a unity8 autopilot run18:41
asacso having a button to do a full left/right/up/down swipe18:41
asacwould be good for productivity18:41
ChickenCutlassogra_, asac the performance is good for me.18:42
ogra_yeah, same here18:42
ChickenCutlassneed to wait until the system settles18:42
asacif it is triggered by emulator18:42
Saviqplease let's not hook into unity18:42
asacit should come from hardware as a swipe at best :)18:42
Saviqor well, at most through autopilot18:42
SaviqUInputError: "/dev/uinput" does not exist or is not a character device file18:43
Saviqplars, ↑ when trying to run autopilot tests18:43
ogra_Saviq, autopilot wont be there for devs (for their brandnew app they test)18:43
Saviqogra_, ap is seeded18:43
ogra_sure18:43
ogra_but if you are $random_dev you want to get your app done18:43
asacyeah maas is a CI engine topic to explore18:43
asace.g. how to provisionm good worker nodes for the emulator18:44
jdstrandI'm curious now18:44
MacSlowQuestion: Will there be (command-line) switches to select a specific device to emulate (N4, N10 etc)?18:44
ogra_MacSlow, lol, no18:44
jdstrandI think I'll play with something (ridiculously rough) to see if we can do backing stores or snapshots18:44
ogra_MacSlow, it is completely based on the goldfish qemu emulator from google18:44
MacSlowogra_, ok18:45
ogra_MacSlow, to get other device emu, you would have to write a complete qemu machine that emulates that device18:45
ogra_MacSlow, currently we are limited to a single core 400MHz CPU with 512M ram18:45
Saviqogra_, probably depends on what MacSlow meant to select a device18:46
Saviqogra_, one of the more important things is the resolution, which obviously would be available18:46
ogra_we will enable different screen resolutions18:46
ogra_that was discussed18:46
ogra_but we cant easily emulate another HW18:46
asacrsalveti: ChickenCutlass: also we want landscape/portrait mode18:46
Saviqyeah, not sure what else is different between devices18:46
asacis that something the emulator need to support?18:46
ChickenCutlassasac, yup, already covered that18:46
MacSlowogra_, Saviq: well mostly default orientation and resolution... CPU/GPU not so much atm18:46
asacah ok18:46
asacthanks18:46
Saviqasac, Ctrl+F1218:46
ChickenCutlassasac, already does18:46
ogra_MacSlow, that will be supported18:47
MacSlowogra_, ok18:47
asacok. nice on accell and orientation18:47
ogra_rsalveti, that was mostly about resolutions18:47
asacis someone from sdk in the sessionm?18:48
bzoltan_YES_18:48
ogra_asac, bzoltan is here18:48
ogra_(all the time)18:48
ogra_:)18:48
asacwell. you cant see that in hyoutube18:48
bzoltanI am listening18:48
asacif you dont have a pic :)18:48
ogra_he isnt in the hangout18:48
asacwould be nice to hear what the sdk vision is18:49
asacthough18:49
asacanyway :)18:49
asacyeah ok18:49
bzoltanI am here!18:49
ogra_was discussed above18:49
bzoltan:)18:49
ogra_read the backlog18:49
bzoltanasac: I am temporarily mute18:49
asacok sorry18:49
Saviqthere's prior art on QtCreator + emulator18:49
asachard to catch up on a video stream :)18:49
Saviqfor MeeGo at least18:49
asacand then match the irc backlog18:49
asachehe18:49
Ursinhalol18:50
ogra_asac, yeah, the important stuff happened in the IRC channel anyway18:50
bzoltanSaviq:  I know... I was working on it :)18:50
ogra_ignore the guys on youtube :P18:50
Saviqbzoltan, good!18:50
ogra_they just fill the pad over there18:50
bzoltanogra_: they should join here and stop the crap there :)18:50
ogra_yeah18:50
bzoltangood stuff18:51
Saviqo/18:51
ogra_++18:51
MacSlowQuestion: Regarding autopilot... ap-test passing on real hardware, but failing on the emulator will be considered an autopilot-binding bug on the emulator, right?!18:51
bzoltanMacSlow: nomen est omen :)18:51
ogra_MacSlow, they will have to be researched18:51
SaviqMacSlow, rather a bug in the test18:52
rsalvetiemulator will be the first target18:52
ogra_we cant just blame the emulator, we have to look at the reasoning etc18:52
rsalvetican't fail in the emulator18:52
MacSlowSaviq, really?18:52
rsalvetican fail in devices, but still be critical18:52
SaviqMacSlow, if something would fail on the emulator, but pass on devices18:52
SaviqMacSlow, means it wouldn't pass on a high-load device either18:52
jdstrandah18:53
SaviqMacSlow, 'cause that would just be timing-related18:53
jdstrandversion 0.12.018:53
ogra_jdstrand, oh, that new !18:53
SaviqMacSlow, so you'll need to make the test more robust18:53
jdstrandexternal/qemu/Changelog18:53
* ogra_ expected older actually 18:53
MacSlowSaviq, ok... in that particular case (timing) I'd agree...18:53
ogra_o would have put my bets on 0.8 or 0.918:53
jdstrandso, qemu-img still defaults to compat=0.1018:53
SaviqMacSlow, any other reason - as ogra_ said, would need to be investigatesd18:53
Saviq-s18:53
jdstrandso I think we should be ok with at least backing store (which is usable)18:53
SaviqMacSlow, but that should be really rare18:54
MacSlowSaviq, I hope so18:54
rsalvetijdstrand: cool18:54
MacSlowI'm good18:54
SaviqMacSlow, good thing is - Ubuntu in there doesn't even know it's running on an emulator18:54
jdstrandso, let me play with this18:54
rsalvetijdstrand: :D18:54
jdstrandI can resurrect some old scripts and maybe hand them off18:54
SaviqMacSlow, from our PoV it's just another device - albeit a slow one18:54
Saviqsummary time18:54
MacSlowSaviq, ~4 times slower than a N10 I'd say18:55
jdstrandoh, that was fast. /me found the scripts :)18:56
MacSlowSaviq, ogra_: I'll give it a shot tomorrow18:56
=== ChanServ changed the topic of #ubuntu-uds-core-1 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1311/core-1/ - http://irclogs.ubuntu.com/2013/11/21/%23ubuntu-uds-core-1.html

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