IRC logs for #automotive for Thursday, 2019-05-02

khilmannote that `bitbake libappcontroller` seems to build/install fine, but that cmake dep still fails.00:02
*** khilman has quit IRC01:22
*** khilman has joined #automotive01:55
mranostaykhilman: you seeing a build error on agl-service-audio-4a by chance?03:21
*** AlisonChaiken has joined #automotive04:11
*** Tarnyko has joined #automotive04:33
*** Tarnyko has left #automotive04:37
*** OutBackDingo has joined #automotive05:17
OutBackDingoquestion support for AGL on raspberrypi 3B plus ? all i see support for is raspberripi305:52
*** thaytan has quit IRC07:02
*** khilman has quit IRC07:11
*** khilman has joined #automotive07:11
*** kbroulik has joined #automotive07:15
*** nayfe has joined #automotive07:15
*** leon-anavi has joined #automotive07:57
*** [AD]Turbo has joined #automotive08:01
*** GuyElpotato has joined #automotive08:01
*** [AD]Turbo has left #automotive08:01
leon-anavihi08:02
*** psnsilva has joined #automotive08:23
*** psnsilva has joined #automotive08:24
*** fredw has joined #automotive08:24
*** GuyElpotato has quit IRC08:42
*** thaytan has joined #automotive08:51
*** fredw has quit IRC08:58
furyOutBackDingo: it works on my 3B+09:12
furyHi guys09:12
furyHow's it hangin?09:12
*** GuyElpotato has joined #automotive09:17
dl9pfkhilman: there seems to be an issue with the m3ulcb and sstate-cache09:22
dl9pfqemux86-64 does not need any emulation -> faster . qemuarm/qemuarm64 have some exec path with emulation.09:23
*** toscalix has joined #automotive09:31
OutBackDingofury: they demo images they have for download work on ther 3B+, or you build your own10:22
furyI built my own, but I tend not to stray very far from released demo images, so I would be surprised if the released demo image didn't work on a 3B+. Main consideration is the Pi doesn't have enough memory to run all the apps at full res10:24
furyso it's set to 1280x720 by default10:25
furyI will give the latest one a shot when I get in, I've been meaning to sync up anyway10:26
furyI have a custom image that does landscape 800x480 I've been using for a while (flounder)10:26
dl9pfOutBackDingo: the image should work on both types of the rpi3 . If not, please file a bug at jira.automotivelinux.org . Tnx.10:36
OutBackDingofury: i tried building for the pi based on the doc but im hitting No package 'appcontroller' found10:36
OutBackDingo-- Checking for module 'appcontroller'10:37
OutBackDingo| --   No package 'appcontroller' found10:37
OutBackDingo| CMake Error10:37
OutBackDingooops... sorry10:37
furyhmmm10:37
furywhich doc you looking at?10:37
OutBackDingohttps://wiki.automotivelinux.org/agl-distro/agl-raspberrypi10:38
OutBackDingobuilding from master on Debian 910:38
OutBackDingofury: ^10:38
furyoof, slightly out of date10:38
OutBackDingofury: is there better?10:39
furydocs.automotivelinux.org might be a better place to start, but that's also WIP (I'm trying to find some time to help, just got lots of other stuff I gotta do as well)10:39
dl9pfOutBackDingo: are you on master ?10:39
dl9pfthen do a 'repo sync --force-sync -d'  ... a fix for the build issue was just merged10:40
OutBackDingodl9pf: yes10:40
OutBackDingoso, as a curiousity, looking for basic voice / navigation capbilities for prototyping a solution... any suggestions ?10:45
OutBackDingoas i highly doubt this is going to work out of the box :)10:45
furyThat's a good question! I'd love to know too. I'm a little rusty. Last time I tried the navigation demo app it was the one where I had to download the maps separately and add to the SD card after flashing, was just a mock-up for UK or Japan (fixed location with the ability to simulate drives). Don't know if that's still the latest nav demo10:56
furyI think the cluster demo uses the Qt mapviewer demo which looks a little smoother but may require an internet connection to download maps on the go10:57
furyI haven't tried any voice stuff tho10:57
OutBackDingofury: can you decipher this ? https://pastebin.com/ykHkYKih10:59
furyOutBackDingo: might be nothing, I've seen those when I build but it still works. I think what it means is it won't work with the standalone SDK as configured11:17
furybut when done through bitbake it's fine11:17
furyThese demo apps typically aren't built separately anyway11:17
furySomeone working on a new one would configure it with the right app template11:18
dl9pfOutBackDingo: there is an voice demo which can currently use alexa as backend.11:30
*** khouloud has joined #automotive11:55
khouloud> dl9pf Hello, this patch was merged but the code didn't that's why we are not receiving any test email report12:19
khouloudhttps://gerrit.automotivelinux.org/gerrit/#/c/21082/12:19
dl9pfkhouloud: I did https://gerrit.automotivelinux.org/gerrit/#/c/21234/  but (!) :12:21
dl9pflavacli -i $lab results $job_id > test_plan.raw12:21
dl9pfif [ $? -eq 0 ]; then12:21
dl9pfthis will fail b/c when $? is not 0 jenkins will always about  (e.g. run test script under  'set -e' )12:21
dl9pfTDLR 'set -e' means abort bash script as soon as one command fails12:22
dl9pfthe effect is that we actually never reach the if at all ...   bash will fail and the job will fail already when lavacli returns -112:23
dl9pfworkaround:   set +e before and set -e after that section.12:24
khouloud> dl9pf oky will do that12:24
dl9pfbetter we need to make sure we don't rely on  the return value where possible.12:24
dl9pfnote: set +e is only a workaround12:24
montjoiedl9pf: relying or not on the return code will not change the fact that lavacli will return a non 0 value and so will be aborted by set +e12:32
montjoiebut we could add some || true and check only the content12:33
montjoieoups didnt read the right code12:35
dl9pfyes, || true is an option in that case12:35
dl9pfbut if something does return -1 and we do || true , the $? is 0 always. so we need to change the way we detect it.12:36
montjoieso you want to not crash is lavacli results fail, right ?12:37
*** claneys has joined #automotive12:47
dl9pfmontjoie: khouloud:  the question: is do we need to fail the *whole* job if we cannot retrieve the result or not at this point. E.g. can we retry/recover/go on with less info.13:01
dl9pfthe problem is that failing the jenkins job means we fail the CI run as well.13:01
montjoiein that case do we care about the inability of getting results ?13:02
montjoieI rewrite: does we want to be aware/alerted13:03
montjoieadding || true remove that possibility13:03
montjoieoups thinking just after write, perhaps we could check the output before grepping the testplan13:04
dl9pfthat is the question now. so here are 2 cases as example13:05
dl9pfa) if the lava job has failures, we will want to fail CI13:05
dl9pfb) if it is for the email only, we might retry, leave a warning but allow CI to exit successfully13:05
montjoieyes we can definitively add || true and verify the file was not empty13:05
dl9pfa1) lava failures should only be lava-test failures , lava infra failures we want to notify but not fail CI (atm to not spam developers with -1 due to infra)13:06
OutBackDingofury: ok ive got it built now... agl-demo-platform-raspberrypi3-20190502115937.rootfs.wic.xz and agl-demo-platform-raspberrypi3-20190502115937.rootfs.tar.xz are there i see no sdimg ....13:10
OutBackDingoahhh xzcat [output image] | sudo dd of=[sdcard device] bs=4M status=progress13:10
OutBackDingowic it is :)13:11
OutBackDingofury: ok.. touchscreen overscan ... ughhh ... so i guess i need to edit boot/config.txt ?13:32
furyOutBackDingo: seems like it yes, though that's odd, i didn't have to do that to mine13:33
furywhat touchscreen you using?13:33
OutBackDingoemmm.... works fine with most others13:36
OutBackDingofury: its a usb touchscreen13:36
OutBackDingowell USB powered DVI13:36
*** fredw has joined #automotive13:39
OutBackDingofury: ok u-boot on screen .... pffffft just sitting there13:42
OutBackDingoits not booting13:45
GuyElpotatouse the command boot when you are on the u-boot prompt14:11
*** fredw has quit IRC14:52
*** kbroulik has quit IRC15:07
furyodd. haven't seen it do that before. what were the options you passed in to aglsetup.sh?15:16
*** clement has joined #automotive15:18
furylast one i used was source meta-agl/scripts/aglsetup.sh -m raspberrypi3 -b build-pi agl-audio-4a-framework agl-devel agl-appfw-smack agl-demo15:18
furyi recall having to add agl-netboot or something like that to get the minnowboard to work15:19
furybut not the pi15:19
*** khouloud has quit IRC15:31
OutBackDingofury: are we sure this works on 3B+15:44
khilmanmranostay: yes, build error on agl-service-audio-4a (sorrygot disconected, so didn't see if you explained in more detail)15:54
khilmanis this a known issues?  It's happening in ci/jenkins and also locally for me15:55
*** AlisonChaiken has quit IRC16:16
furyOutBackDingo: reasonably sure...I've been using it on a 3B+ for a few months. leon-anavi any ideas?16:18
furyI still haven't gotten my build machine set back up for latest master yet, though, so it isn't out of the question for something to have broken with it on master...16:21
furytrying to get the image stuff built into a GitLab CI process so it's all automatic the next time I have to rebuild that machine16:21
furyor I could just give in and set up Jenkins like the AGL CIAT :)16:24
furybut I likes my one tool to rule them all!16:25
furyGitLab needs a bit more work before it's capable of doing a full build from source thing like building AGL or AOSP16:26
furynot that it can't (any shell script can be run), it's just not got specific support for workspaces so the question of caching work and getting the artifacts out the other end is not yet answered I guess16:27
leon-anavifury, I've built rpi3b/b+ image of AGL master recently. It built and booted as expected.17:03
OutBackDingoleon-anavi: well both the one i built and the one i downloaded agl-demo-platform-crosssdk-raspberrypi3-20190501032140.rootfs.wic.xz both hang at u-boot just sitting at the u-boot prompt17:08
khilmandl9pf: another ci-management patch seems to have gone missing: https://gerrit.automotivelinux.org/gerrit/#/c/21062/17:08
khilmanshows merged, but is not in the repo17:08
khilmanthat's what's preventing the email reports from being requested17:09
OutBackDingoleon-anavi: does anythign require editing in cmdline.txt or config.txt ?17:09
OutBackDingoleon-anavi: so if you have an image i can test :)17:10
OutBackDingofury: pretty confident they broke something17:11
furyOutBackDingo: i'm downloading right now to try it, the only thing that isn't fast about this machine is its internet connection :X17:18
OutBackDingoi downloading this one from a month ago to test it also https://download.automotivelinux.org/AGL/release/guppy/7.0.1/raspberrypi3/deploy/images/raspberrypi3/agl-demo-platform-crosssdk-raspberrypi3-20190412122811.rootfs.wic.xz17:19
leon-anaviOutBackDingo, which rpi model are you using?17:19
fury3B+17:20
OutBackDingoleon-anavi: 3B+17:20
leon-anavican you file in a JIRA and assign it to me?17:20
leon-anaviplease specify which exact release of AGL are you using and if possible attach logs from the serial output17:21
OutBackDingoleon-anavi: im on master as of today also17:21
OutBackDingoitll be in the morning after i get a serial on it, right now ive got a 7" LCD on it17:21
OutBackDingoill see if the previous image from a montyh ago works in about 5 minutes burning it now17:22
furyi would give my left arm for a serial cable that attaches right to the header without me having to figure out which pin is which. i got spoiled by the TTL-232R-3V3 cable for the minnowboard...17:22
leon-anaviOutBackDingo, ok. I have to leave for a dinner (it's 20:22 local time :) ). Pls submit the JIRA issue when you can.17:23
OutBackDingoleon-anavi: will do17:23
leon-anaviOutBackDingo, pls list all peripherals that you have attached to the rpi3b+17:24
leon-anavilast time I booted the image on rpi3b with HDMI monitor and it seems that your setup is different17:24
OutBackDingoleon-anavi: nothing just the HDMI display / usb power for it17:24
leon-anavihm, ok17:24
*** leon-anavi has quit IRC17:34
fury3224 of 6821. halfway there, living on a prayer17:54
furyi probably should've just copied my old downloads folder over to my new drive17:54
furybet most of these are already cached in there17:55
furybut then again, most of that folder is probably also obsoleted downloads17:55
OutBackDingofury: i just confirmed raspbian boots fine on the board, AGL hangs at u-boot, let me know how you make out17:57
*** ToxicGumbo-work has quit IRC18:26
furyalmost there. flashing sd card19:40
furyweirdly enough my build of it is 367.9 mb but the full extracted sd card image is 2.3 gigs, the one i'm downloading from the AGL snapshot releases is 661 mb19:41
furyoh, crosssdk, that's why19:41
furysaves a few hundred megs to not include the crosssdk part19:41
furyOutBackDingo: mine is booting up, so i guess now the question is why'd it not boot up for you? can you show me what xzcat line looked like?19:51
*** toscalix has quit IRC19:51
furyOutBackDingo: here's mine, for reference: https://pastebin.com/vYv1xx4J19:57
furymy site.conf just points sstate cache and downloads to the right dir and tells bitbake to use 40 threads19:58
furynothing too fancy19:58
furymy game server beat me, but bloodman just killed my vibe20:45
furyaaaaand wrong channel20:45
*** khem has quit IRC21:35
*** khem has joined #automotive21:36
bananao:22:07

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