/srv/irclogs.ubuntu.com/2017/08/08/#snappy.txt

mupPR core#48 closed: add support for `snap set core proxy.{http,https,ftp,all}` <Created by mvo5> <Closed by niemeyer> <https://github.com/snapcore/core/pull/48>01:49
mupPR snapd#3680 opened: tests: fix failover test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/3680>03:50
mupBug #1693016 changed: snap install conjure-up fails if juju snap installed <Snappy:Expired> <https://launchpad.net/bugs/1693016>04:18
mupPR snapd#3624 closed: interfaces/builtin: rework for avahi interface <Created by kubiko> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3624>04:56
=== chihchun_afk is now known as chihchun
zyga-susegood morning06:35
mvohey zyga-suse!06:41
mupPR snapd#3678 closed: Merge pull request #3525 from jdstrand/password-manager-service <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3678>06:42
zyga-susehey, how are you feeling? I finally feel like I had a good nights sleep06:42
zyga-suse(woke up at 6 and started cleaning the house and reading about taxes)06:43
mupPR snapd#3676 closed: interfaces/many, cmd/snap-confine: miscellaneous policy updates (#3634) <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3676>06:43
mvozyga-suse: I had a good night as well, feeling good. some interessting results from the debian issue, I updated the forum topic06:44
zyga-suseoh, let me look06:44
mvozyga-suse: no idea yet how to fix things but I think the understanding is much higher now06:44
mvo(and its a bi*** to debug) :(06:44
mvoe.g. strace -f does not follow all forked, even if I give all the LWP pids06:45
mvozyga-suse: I still have no idea *what* syscall is delivering the sigsys, I suspect its bind but its hard to say06:45
mvo(for certain)06:46
zyga-susestrace doens't work with golang06:46
zyga-susethe signal delivered is not SIGSYS, it is SIGKILL IMO06:47
mvozyga-suse: check "man 2 seccomp" and search for SECCOMP_RET_KILL :)06:47
mvozyga-suse: anyway, details, I think it comes down to that our generated seccomp profiles does not have the "bindSyscallWorkaround" for unknown reasons06:48
zyga-suseoh06:53
mvozyga-suse: do you remember if/where we did "devmode: true" on devmode distros in 2.21 in snap-setup?06:53
zyga-suseinteresting06:53
mvozyga-suse: I remember us fixing things around this but I forgot the details :/06:53
zyga-susewe had a bug where devmode distro vs devmode snap were confused06:53
zyga-suseand then we changed core to not be devmode (flag of the snap)06:53
zyga-susebut this should *not* override the devmode distro fact06:54
mvozyga-suse: I updated the post and made it a wiki, hopefully it now explain what is going on06:57
zyga-susemvo: question: do you think we can fix this by not at all running configure hook in such a scenario?06:57
zyga-suseaha06:58
zyga-susevery interesting06:58
zyga-susefantastic forensics mvo :)06:58
mvozyga-suse: I would prefer to not use seccomp on devmode distros ;) but we had this argument before and I will shut up :)06:58
mvozyga-suse: anyway, I keep digging, thanks for your reviews of the security work from jamie! I hope this won't be a conflicts nightmare once I merge back07:03
zyga-suseI'm sure it will be fine07:03
zyga-suseI think there are two more07:03
zyga-suseI'm doing reviews now07:03
mupPR snapd#3680 closed: tests: fix failover test <Created by sergiocazzolato> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3680>07:03
mvozyga-suse: great, thank you!07:04
zyga-suseah, no, that's all I think07:04
zyga-suseI will propose a lot of interface PRs this week07:04
zyga-susemvo: and one more sleeping/happiness observation07:04
zyga-suseI need to wake up at 4-5AM, this is when the sun raises and this is when I should start my day, I suspect my insistince of waking up at a fixed time after moving so far east is why I felt so tired all the time07:05
mvozyga-suse: woah, 4-5am is pretty early07:07
zyga-suseI often wake up at 5 and then force myself to go to sleep just because I'm so tired after staying up past 2AM07:09
zyga-suseand I wake up simply because it's 100% bright already :)07:09
gary-wzlzyga-suse: :)07:09
gary-wzlzyga-suse: Hey, I saw you finished converting broadcom-asic-control to commonInterface.07:09
gary-wzlThanks!07:09
gary-wzlnot sure if you started working on others interfaces.07:10
zyga-susegary-wzl: yes, I also merged that back into your branch (or at least locally, not sure if I pushed ^_^)07:10
gary-wzlI have something done in udev_tagging branch so I know there're still a bunch of interfaces need to be converted though.07:10
zyga-suseyes, I'm working on two more07:10
gary-wzlOkay,07:10
zyga-susegary-wzl: I think I must have pushed it because your diff shrank by ~50 lines07:10
gary-wzlYes07:10
zyga-susegary-wzl: you can iterate on the branch I think07:11
gary-wzlI was thinking I might as well take a look at the rest and create a feature branch interface by interface07:11
gary-wzlJust like you did07:11
zyga-suseaha07:11
zyga-suseyes, please do!07:11
gary-wzlThen you can help on code review. And I'll merge it back into my PR.07:11
zyga-susejust two notes07:11
gary-wzlyes?07:11
zyga-suseI'm starting from A and go twards Z07:11
zyga-suseyou can start from the other end07:11
zyga-suseso we don't conflict07:11
zyga-suseand I think we want to expand common interface more07:12
gary-wzlno problem:)07:12
zyga-suseas I noticed a lot of interfaces use permanent slot snippets07:12
zyga-suseI started that already, I'll have a PR after my batch of morning reviews07:12
gary-wzlpuselaudio, modem_manager... I guess07:12
zyga-susewith that we can attack the next set of interfaces and convert them to common07:12
gary-wzlyep07:12
mvozyga-suse: ok, I think its now all understood, the problem is that 2.26 (which is stable) has no bindSyscallWorkaround yet :) but 2.27 has, so the next stable release will fix it07:14
zyga-suseWHAT?!07:15
zyga-suseman07:15
zyga-suseso all the good stuff that I associate with "fixed in the next release"07:15
zyga-suseall of that is in 2.27?07:15
zyga-susemvo: I think we need to recognize important bugfixes and tag them to backport07:16
mupPR snapd#3681 opened: interfaces: convert time-control to common iface <Created by adglkh> <https://github.com/snapcore/snapd/pull/3681>07:37
zyga-susegary-wzl: +!07:38
zyga-suse+1 :)07:38
pstolowskimvo, hey, re yesterday's issue with upgrade/basic test failure - should we consider any +git... version to be newer than whatever is in the core? in this case we re-exec from 2.26.9+git1194.g7d0e792 into 2.26.14; version number is higher, but that version doesn't understand install hook tasks07:42
mvopstolowski: I think we "just" need to make sure our versioning is not messed up, let me check what is going on07:45
mvopstolowski: I think things slipped a bit because of the various vacations07:46
* mvo looks07:46
mvopstolowski: do you have the url with the failure log at hand?07:50
mupPR snapd#3682 opened: interfaces: convert ppp to common iface <Created by adglkh> <https://github.com/snapcore/snapd/pull/3682>07:50
pstolowskimvo, https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-snappy-dev-image/xenial/i386/s/snapd/20170804_173931_89d2f@/log.gz07:51
mvota07:53
mupPR snapd#3683 opened: interfaces: convert physical_memory_control to common iface <Created by adglkh> <https://github.com/snapcore/snapd/pull/3683>07:57
zyga-susegary-wzl: all +108:05
mupPR snapd#3684 opened: interfaces: convert physical_memory_observe to common iface <Created by adglkh> <https://github.com/snapcore/snapd/pull/3684>08:06
zyga-susemore +1s :-)08:08
mupPR snapd#3685 opened: interfaces: add missing test for optical_drive interface <Created by adglkh> <https://github.com/snapcore/snapd/pull/3685>08:15
zyga-susegary-wzl: nice work! you're going through them like warm knife through butter :)08:17
gary-wzlzyga-suse: :PPPP08:17
mupPR snapd#3681 closed: interfaces: convert time-control to common iface <Created by adglkh> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3681>08:18
zyga-susegary-wzl: quick request on that last one08:18
zyga-susewell08:18
zyga-susepre last one, I'm looking at the optical-interface Pr08:18
zyga-susecan you look at what I did to test suites lately08:18
zyga-suseespecially look at things in avahi-*08:18
gary-wzlzyga-suse: any interface I can refer to08:18
gary-wzlOkay, looking08:18
zyga-susethose two have all the most recently added improvements08:18
zyga-susethere are minor differences08:18
zyga-suseI test backend by backend08:18
zyga-suseTestXXXSpec08:19
zyga-suseI use a few new helpers08:19
zyga-suseMockPlug/MockSlot08:19
zyga-suselittle things but it is shorter and, I think, nicer than what most older test did08:19
gary-wzlzyga-suse: yeah, it makes sense.08:20
zyga-susegary-wzl: the naming is also relevant, consumer/producer/ app vs app1, other or other things that (I myself) wrote earlier, this makes it easier to reason about tests08:21
zyga-suseas hopefully all the interfaces will have similar behaving tests and features08:21
gary-wzlzyga-suse: exactly.08:22
mupPR snapd#3682 closed: interfaces: convert ppp to common iface <Created by adglkh> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3682>08:50
zyga-susemvo: do we need to backport store URL changes?09:02
mvozyga-suse: I think not09:03
om26erI am not able to setup a RPi3 using wifi, works fine with ethernet. Something broken ?09:03
pedroniszyga-suse: for obvious reasons the old urls still work09:06
pedronis(it woulb be bad (tm) if they didn't )09:06
ogra_om26er, works fibne here (with the edge images)09:06
ogra_stable wont work, but you know that (we talked about it before)09:06
zyga-suseis chipaca around today?09:07
om26erogra_: that would be someone else ;) today is my first day with a RPi3 :)09:07
pedronismvo: hi, what's the vague plan for when to cut 2.28 atm ?09:08
om26eroh, I have a 5" screen as well, now need to get mir working on it.09:09
om26erogra_: when will UbuntuCore migrate to later versions of Ubuntu ?09:10
ogra_om26er, well, the edge images work, once the next stable release happens, stable will have the fix too09:11
zyga-suseom26er: ubuntu core won't need to as we are working on base snaps that will elimitate the "flag day" transitions mostly09:12
zyga-suseom26er: so soon you will be able to use, say 18.04 base alongside 16.04 base09:12
zyga-suseom26er: at the same time, at runtime, on one device09:12
ogra_if yuo want to config stable ruight now, use wired, reboot, ssh into the board via wired, run sudo console-config, deconfigure eth0 and configure wlan ...09:12
om26erzyga-suse: one distro to rule them all, eh ?09:12
zyga-suseom26er: well, one nice way of running software for sure09:13
ogra_om26er, no, exactly the opposite :)09:13
ogra_in fact you can have gentoo-base, fedora-base, slackware-base if you want to09:13
ogra_(and use that with your snaps)09:14
ogra_we're actually getting rid of the tie to ubuntu with snaps :)09:15
zyga-susecachio: another fedora failure on 3684 -- perhaps it is a random ordering factor09:16
zyga-susecachio: and interestingly same failure in 368509:16
ogra_because they are siblings ?09:17
ogra_:)09:17
* zyga-suse goes for a small break 09:20
zyga-susewill resume userd review09:21
zyga-suseand then go to address review feedback09:21
mupPR snapd#3686 opened: many: merge release/2.27 branch back into master <Created by mvo5> <https://github.com/snapcore/snapd/pull/3686>09:22
zyga-suseholly molly09:28
zyga-suse804 lines added in 2.27?!09:29
mupPR snapd#3683 closed: interfaces: convert physical_memory_control to common iface <Created by adglkh> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3683>09:29
zyga-susemvo: small change on 368609:30
om26eralan_g: Do you know if these instructions[1] are working on the Pi3 ? I just gave it a try and nothing came up on screen. [1] http://voices.canonical.com/alan.griffiths/2017/01/31/mircade-snap/09:41
alan_gom26er: I don't have a Pi3, but they were working around that time (see the first comment).09:43
mvoogra_: prepare for reboots09:44
alan_gSaviq: ^ could this be the problem you were looking into yesterday?09:44
ogra_mvo, yay !09:44
ogra_mvo, btw, keep an eye on the store uploads, the publishing fails every now and then (probably more important for a release than for the dailies)09:45
Saviqalan_g: om26er, current edge (no --devmode) mir-libs, mir-kiosk and mir-kiosk-apps (r16) work fine, we didn't try mircade, but the problem we did have was Qt-related, so I doubt mircade would be affected09:45
mvoogra_: aha, good to know, thank you09:45
mvoogra_: the store was a bit unhappy in general in the last few days, some 504 and timeouts during the tests for example09:46
Saviqalan_g: so in your instructions, you shouldn't need --devmode or the explicit connect for mir-kiosk any more09:48
om26erSaviq: so I should just install those three snaps ?09:48
alan_gSaviq: ack, I'll update09:49
Saviqom26er: on the Pi, yes, just install mir-libs, mir-kiosk and mir-kiosk-apps and you should get the photoviewer app09:49
mupPR snapd#3687 opened: Remove redundant apparmor rule for opengl interface and improve the test <Created by adglkh> <https://github.com/snapcore/snapd/pull/3687>09:49
om26erSaviq: do I need to connect any interfaces after installing ?09:49
Saviqom26er: they should all autoconnect09:49
Saviqverify with `snap interfaces` of course09:49
zyga-susegary-wzl: reviewed09:51
alan_gSaviq: updated the blogpost.09:55
Saviqack09:56
gary-wzlzyga-suse: Thanks!09:56
Saviqalan_g: FWIW, confirmed this works on amd6410:02
alan_gSaviq: thanks10:02
Chipacazyga-suse: the os->core rename pr i had up i closed because it broke spread tests in ways i didn't have a head for at the time10:05
zyga-suseaha, thank you10:05
zyga-suseI was just curious and this is a very clear and honest response :)10:05
om26erSaviq: all interfaces are connected but I still don't get a UI.10:06
om26erhttp://paste.ubuntu.com/25269094/10:07
ogra_om26er, you mean you dont get a black screen with mouse cursor ?10:07
om26erogra_: I get that last screen after setup: "Personalize your account at https://login.ubuntu.com"10:08
ogra_om26er, and thats on an edge/daily image ?10:08
ogra_stable does not have a gadget that enables graphics10:09
ogra_(and we can not update gadgets on the pi yet)10:09
om26eroh10:09
ogra_same issue as on the pi210:09
om26erogra_: will flash image from edge.10:10
om26erwill that image also contain the RPi GPIO interfaces ?10:10
ogra_i'd recommend installing from either http://people.canonical.com/~ogra/snappy/all-snaps/daily/ or from http://cdimage.ubuntu.com/ubuntu-core/16/edge/ ... then doing: "snap refresh core --stable" and "snap refresh pi2-kernel --beta"10:10
ogra_that will give you the latest gadget, a stable kernel and a stable core10:10
om26erdownloading from http://cdimage.ubuntu.com/ubuntu-core/16/edge/current/10:11
ogra_(the kernel is in lockstep with the gadget, so we can not upgrade it either atm, beta has the latest and most stable here)10:11
* ogra_ takes a break10:13
Chipacazyga-suse: in my review of snapd#3636 was it clear that the needsfixing was because of the int vs uint issue?10:19
mupPR snapd#3636: snap: add support for parsing snap layout section <Created by zyga> <https://github.com/snapcore/snapd/pull/3636>10:19
zyga-suseChipaca: yes10:24
zyga-suseChipaca: I haven't touched my tree since yesterday10:24
zyga-suseI'm all in review mode10:24
Chipaca'k10:24
zyga-susemorphis: re-reviewed 326010:41
zyga-susemorphis: have a look10:41
zyga-susemorphis: there are a few tiny things10:41
zyga-susemorphis: there's nothing major I'd change10:41
zyga-susemorphis: *except* an improvement for gio-open that we need to do for artful10:41
* zyga-suse is somewhat hungry now10:47
zyga-suseI'll take a break10:47
zyga-suseand start updating my PRs10:47
zyga-suseI still have one review open for pedronis and I will finish it before switching (3616)10:48
zyga-suseif you need a review and I missed it, please ping me10:48
=== chihchun is now known as chihchun_afk
morphiszyga-suse: awesome! thanks11:16
ondrazyga-suse now when it's merged, when can I expect change in snapd to land in edge channel?11:33
ogra_next edge build usually11:34
ogra_though the release might be in your way atm11:34
zyga-suseyep, it needs to auto-build in the ppa11:34
zyga-suseand then it needs to auto-build in the core snap11:34
ogra_but we dont have the 2.27 release out yet, do we ?11:34
ogra_that usually blocks master for a bit11:35
zyga-suseondra: thank you for caring about that, if there are any tweaks you want to make before 2.28 is out, please say11:35
zyga-suseogra_: I think 2.27 is unlikely11:35
zyga-suseit won't have this change11:35
ogra_(since we land the release deb over the master-built deb)11:35
ogra_zyga-suse, thats not what i meant :)11:35
zyga-suseaha11:35
ogra_i mean that we dont do builds from master while releasing11:35
ogra_(i,e, edge core snaps will have 2.27 until it is released)11:36
ogra_(and only then 2.xxxgitxxx again)11:36
zyga-suseoh, I wasn't aware of that11:37
ondrazyga-suse no I don't need changes, unless something is broken, but just wanted to run more tests once it lands in edge11:37
=== chihchun_afk is now known as chihchun
ogra_zyga-suse, you pushed snapd to the image ppa yourself in the past (which overrides the edge ppa that builds the deb from master) ... so you should know ;)11:39
zyga-suseyeah I just don't do releases *that* often to remember this11:40
ogra_:)11:41
popeyChipaca: we have a developer who has registered and uploaded snap-foo in the store, and we'd like them to be using foo, is it possible to just rename, or should we get them to re-register foo, and forget snap-foo?11:58
popeyChipaca: note, nobody has yet downloaded snap-foo, we're just trying to make this smooth for a new person11:59
Chipacapopey: that's a question for people with their mits in the store backend, which isn't me11:59
Chipacapopey: maybe noise][ or nessita11:59
popeyoh, okay. my bad. sorry.11:59
popeyI'll wait for them to reply, thanks.12:00
popeyzyga-suse: pinged you a question on telegram, is it better in pm here? (it's a private matte)12:01
popey*matter12:01
zyga-suseone sec12:02
zyga-susepopey: can you please ping zyga_es12:02
zyga-suseahhh12:03
zyga-susewait12:03
zyga-susezyga_pl12:03
ogra_es ? ... is he home ?12:03
zyga-susedarn 2 accounts12:03
ogra_:P12:03
zyga-suseor just here12:03
popeyok12:03
cachiomvo, hey12:03
popeyzyga-suse: sent pm12:04
mvocachio: good morning!12:04
cachiomvo, new rc8?12:04
mvocachio: yes, sorry for that, hopefully the last one, so far my tests in VMs look promising, updating the sheet as I go12:05
mvocachio: scenario refresh core from stable is currently running on amd6412:05
cachiomvo, ok, the failover one is fixed too12:05
cachiomvo, it is a test error12:05
mvocachio: yeah, thanks for chasing this!12:06
cachiomvo, I am going to buy new sd cards12:06
cachionow12:06
cachiomvo, the one that I was using for pi3 is not working properly12:06
mvocachio: \o/12:06
mvocachio: I had hoped it might be a flakky sd card12:06
cachiomvo, yes12:07
ogra_ah, i was about to ask how that worked out :)12:08
cachioogra_, I discarded the one that we talked the other day12:09
ogra_yeah12:09
cachioogra_, the problem is that another one is also with problems12:10
ogra_sigh ...12:10
ogra_i only have one like that ...12:10
cachioogra_, and those are pretty new12:10
ogra_(but that fails reliable)12:10
cachioalways on the reboots12:10
cachiothe same problem12:10
ogra_well, resize and the uboot resetting of the sdhc controller12:11
nessitapopey, hi! renames are not supported at this time (it needs work on backend and client)12:11
ogra_thats the two issues i see with the broken card ... once one of them shows up, once the other12:11
ogra_but i never reproduced it with a second card (and never heard from federico that he hits such an issue)12:11
popeynessita: ah, okay. that nails that. thank you!12:12
cachioogra_,  yes, really bad luck12:12
ogra_yeah12:12
popeynessita: I'm asking if you can do it, not if the user can12:13
popeynessita: specifically I have a snap - snap-ruby, which we'd like renamed to ruby12:16
ogra_popey, if it has never been downloaded the user can delete the old one himself and just re-upload under the new name12:16
popeysure, they can. we're just trying to make it easier for them.12:17
ogra_(but i know that wasnt what you asked :) )12:17
nessitapopey, no, sorry, I can't do it either, the name is inside the yaml and we can't edit and rebuild that12:22
nessitapopey, until we work on renames, we have some restrictions where the snap name has to match the yaml name12:23
popeynessita: i have a PR to update the upstream snap to change the name, so the goal was that you guys change the name in the store, he changes the name in his yaml, rebuilds, and gets the new snap12:26
nessitapopey, he will need a new snap-id, so he needs to re-register and do all the dance12:27
nessitapopey, I can't edit assertions and re sign them (to edit the name in the existing declaration)12:28
zyga-susePharaoh_Atem: hey12:31
zyga-susePharaoh_Atem: I have two questions12:31
zyga-susePharaoh_Atem: could we consider updating snapd to 2.26.14 please?12:31
zyga-susePharaoh_Atem: and related to that, can we consider getting rid of the separate snap-confine package12:32
om26erogra_: is NanoPi Neo going to be a supported platform ? Need to know before I order a bunch of them.12:36
ogra_om26er, i dont think so ... beyond me supporting it in my spare time ...12:37
ogra_if you can live with that level of support, go for it :)12:37
ogra_else, you caan indeed make a contract with canonical to have it fully supported ;)12:37
ogra_or hope that the manufacturer does it at some point12:38
om26erhaha!12:38
om26erseems the manufacturer actually advertises UbuntuCore support12:38
ogra_no, they advertise some broken self hacked tarball release they call ubuntu core12:39
ogra_it is actually a classic install manually buit using debootstrap as i understand12:39
ogra_at least the images they offter12:39
ogra_*offer12:39
ogra_... on their site ... for download12:39
ogra_i doubt they would even be able to run snapd12:41
om26erRPi is fine but goes a little out of budget if you have to create a mesh of 5-10 of them.12:41
ogra_did you consider the orangepi ?12:41
ogra_that has actually a chance to eventually get full ubuntu-core from the manufacturer12:42
om26erogra_: there is a wifi variant of the board, did you play with that as well ? NanoPi Neo Air12:42
* om26er looks into orangepi12:42
ogra_om26er, no, i have a remote controlled popey doing that for me :)12:42
popeyBleep Bloop!12:42
popeynessita: thanks!12:42
ogra_(i'll need to fix up the device tree for him before he csn use wifi)12:42
ogra_(just building these allwinner kernels is so hard (got to use snapcraft in a chroot that has gcc6 available and such)12:43
ogra_which is why it is going slow12:43
* om26er wishes RPi Zero was ARMv7 -- a fine board, wrong arch.12:46
om26erfyi, `snap list` says "No snaps are installed yet...." on UbuntuCore image from edge channel. Device: RPi312:56
mvoom26er: that is unexpected, what does "snap changes" tell you?12:58
om26ermvo: that command hanged for link 20 seconds, still isn't returning.12:59
zyga-suseom26er: snap version?12:59
niemeyero/13:00
niemeyerI'll be a minute or two late..13:00
om26ermvo: now `snap changes` worked, says:13:00
om26erID   Status  Spawn                 Ready  Summary13:00
om26er1    Doing   2017-08-08T13:00:11Z  -      Initialize system state13:01
om26erzyga-suse: http://paste.ubuntu.com/25269849/13:01
om26eraah, now `snap list` showed up as well :)13:01
zyga-ubuntuom26er: is the machine very very busy?13:09
zyga-ubuntucan you run top?13:10
zyga-ubuntuand ps aux13:10
om26erzyga-ubuntu: the machine had just finished the first boot setup13:15
om26erran nothing else. It is reproducible as I had that issue in my last flashing a few hours ago as well.13:15
zyga-suseom26er: that doesn't mean it wasn't busy13:16
zyga-susemaybe something ran in a loop13:16
mupPR snapd#3686 closed: many: merge release/2.27 branch back into master <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3686>13:26
mupPR snapd#3687 closed: Remove redundant apparmor rule for opengl interface and improve the test <Created by adglkh> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3687>13:26
jdstrandondra: hey, I see in the forum mention of a pending avahi snap stuck in review, but I don't see it in the store...13:30
=== chihchun is now known as chihchun_afk
mvoniemeyer: 3569 is ready for a second review from you, probably/hopefully quck and painless as pstolowski addressed all the points AFAICS13:57
zyga-ubuntuniemeyer: hey, how often is the review sprint thread updated?13:59
niemeyerzyga-ubuntu: It's not updated for quite a while now.. need to get back to it13:59
zyga-ubuntumvo: what do you want to do about https://github.com/snapcore/snapd/pull/3639 ?14:05
mupPR snapd#3639: update to version of golang.org/x/crypto currently in Debian unstable <Created by mwhudson> <https://github.com/snapcore/snapd/pull/3639>14:05
* zyga-ubuntu focuses on https://github.com/snapcore/snapd/pull/349914:07
mupPR snapd#3499: interfaces/builtin: add the spi interface <Created by tokurz> <https://github.com/snapcore/snapd/pull/3499>14:07
mvozyga-ubuntu: I need to read up on 3639, the update was 1.7 only or something?14:15
ondrajdstrand it might have failed review completely14:19
ondrajdstrand yeah it was rejected, as "interface 'avahi-control' not found in base declaration"14:20
ondrajdstrand I guess we need to wait till interface gets updated to stable? or does it check against edge?14:22
=== chihchun_afk is now known as chihchun
jdstrandondra: thre review tools need to be updated. I am updating them now14:29
mupPR snapd#3688 opened: Improve the test for ppp interface <Created by adglkh> <https://github.com/snapcore/snapd/pull/3688>14:31
Pharaoh_Atemzyga-ubuntu: well, the reason I haven't updated snapd was because mvo indicated snapd 2.27 was coming asap14:33
Pharaoh_Atemzyga-ubuntu: as for getting rid of the snap-confine subpackage, I'm considering it14:33
Pharaoh_Atemthough it has certainly helped in making rebasing less dumb14:33
Pharaoh_Atembut I have been thinking about merging snap-confine into snapd package14:35
zyga-susePharaoh_Atem: aha, thank you!14:37
Pharaoh_Atemzyga-suse: the thing is, no one ever gives feedback for snapd, so it's basically a week of sitting in bodhi14:38
Pharaoh_Atemso I don't particularly want to have snapd sitting in bodhi for a week on 2.26.14 if 2.27 is arriving14:39
zyga-suseI see14:39
zyga-susethat makes sense, thanks14:39
Pharaoh_Atemif people actually bothered to test snapd while it was in updates-testing and give positive feedback, then I'd be more willing to do rapid updates14:40
Pharaoh_Atemof course, I can see why no one really wants to use snapd, as it's hamstrung in Fedora right now due to desktop integration features being broken14:40
cachioniemeyer, where I can see the configuration for each spread cron?14:41
niemeyercachio: In the spread-cron repository14:42
niemeyercachio: Each branch should have its own setup.. or at least that's my understanding14:42
cachioniemeyer, nice14:42
NeerajHi Facu14:44
NeerajDo we have any resolutions on14:47
Neeraj" ERROR received an unexpected http response code (404) when trying to download14:47
FacuNeeraj, hello! it should be deployed to production today14:56
niemeyerzyga-ubuntu: updated the board, btw14:59
zyga-ubuntuthank you15:05
mupPR snapd#3689 opened: Improve the test for physical memory control and observe interface <Created by adglkh> <https://github.com/snapcore/snapd/pull/3689>15:14
=== cachio is now known as cachio_lunch
* Chipaca shakes his fist at hardware in general and bootloaders in particular15:15
NeerajHi Facu : Thanks15:15
NeerajFacu : so snap refresh will work as it is correct, or we need to perform any other operation15:16
FacuNeeraj, it should work ok, but as soon it's in production, I'll ping you and will supervise15:16
NeerajHi Facu thanks15:18
jdstrandroadmr: hi! would you mind pulling r895? not urgent15:37
jdstrandondra: that has your avahi fixes ^15:37
roadmrjdstrand: sure15:37
ondrajdstrand perfect15:40
ondrajdstrand I will wait when new snapd lands and will resubmit avahi to the store then15:40
ondrajdstrand thanks15:40
jdstrandondra: np. if it would help you, you can request a manual review and I could approve it in anticipation of the above15:41
ondrajdstrand sure might do that, so it all just starts working once core lands15:48
=== cachio_lunch is now known as cachio
cachiomvo, quick question16:25
cachiohttps://github.com/snapcore/snapd/blob/master/tests/main/snap-interface/task.yaml16:25
cachiomvo, sorry, this is the link https://paste.ubuntu.com/25270863/16:29
cachioit is on pi216:29
cachiodoes it sound familiar to you?16:29
ogra_cachio, https://github.com/snapcore/classic-snap/blob/master/bin/create16:35
ogra_(line 23)16:35
cachioogra_, tx16:36
ogra_for whatever reason /snap/core/current doesnt exist (or isnt found)16:37
cachioogra_, I bought 2 kingstone micro sd cards today16:38
cachioogra_, I flash both16:38
ogra_do they behave any better ?16:38
cachioI insert in the pi3, and everything loads normally but then the "press to configure" does not appears16:39
cachiothe last I see is16:39
cachiorandom: nonblocking pool is initialized16:39
cachioogra_, any idea?16:39
ogra_it might take a while, did youwait long enough ?16:40
ogra_also is that on monitor or serial console ?16:40
cachiois it on serial console16:40
cachioI waited more than 1 hour16:40
ogra_heh, yeah, i meant more like 1-2min :)16:40
ogra_there is something odd with the startup of console-conf16:41
ogra_(on a monitor the screen actually flashes a few times before it comes up)16:41
cachioogra_, any idea how to make it appear?16:43
ogra_gimme a sec ...16:44
ogra_i have to dig up the ancient stable gadget (havent looked at that in a while)16:44
ogra_check cmdline.txt in the system-boot partition of the SD16:44
ogra_what ate the console= settings in there ?16:45
ogra_ogra@pi3:~/oldgadget/squashfs-root$ cat /boot/uboot/cmdline.txt16:45
ogra_dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty0 elevator=deadline rng_core.default_quality=70016:45
ogra_ogra@pi3:~/oldgadget/squashfs-root$ cat boot-assets/cmdline.txt16:45
ogra_dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty0 elevator=deadline16:45
ogra_here we go16:45
ogra_try changing ttyAMA0 to ttyS016:46
ogra_(iirc back then we only made it work for hdmi consoles, that got fixed later in the gadget (which we can not upgrade :P ) )16:46
ogra_at least you can easily edit it on the PC on the Sd card ...16:48
cachioogra_, dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty0 elevator=deadline16:49
ogra_yeah, change AMA0 to S016:49
cachiook16:50
ogra_sad that we cant update that :/16:50
ogra_(yet)16:51
cachioogra_, loading...16:51
cachioogra_, should I update to console=ttyS1 in case I am using the tty1?16:54
ogra_no, S0 is the serial port ... thats fine16:54
cachioogra_, I have in the tty0 the pi216:54
cachiobut then I see console=ttyS016:55
ogra_this is from the POV of the board, not from the POV of your PC :)16:55
cachiois it ok?16:55
cachioogra_, ahh16:55
cachiook16:55
ogra_S0 just means first serial device16:55
mvocachio: checking16:56
mvocachio: that error does not ring a bell16:56
ogra_mvo, well, classic bin/create cant find /snap/core/current it seems16:57
ogra_for whatever reason16:58
mvocachio, ogra_: right, would be nice to get a debug shell on this machine, I wonder why current is missing. is that reprocible?16:58
ogra_no idea16:59
cachiomvo, I'll try once the full run has finished16:59
ogra_only judging by the pastebin :)16:59
ogra_i never see such issues here in real usage :)16:59
ogra_but then, i also never use stable16:59
ogra_cachio, so any change regarding the config UI ?17:01
ogra_(does it show up on serial now?)17:01
mvocachio: thank you, I suspect its a test issue, i.e. that somehow during restore of the tests the current symlink points to the wrong place or somethin17:02
* mvo needs to step out to get some dinner17:02
ogra_well,  it does [ -e ....] ... that shouldnt care about the target of the link as long as the file node exists17:03
cachioogra_, https://paste.ubuntu.com/25271070/17:09
cachioogra_, should I reflash?17:09
ogra_[    7.370791] FAT-fs (mmcblk0p1): IO charset ascii not found17:10
ogra_woah17:10
ogra_cachio, well, it should surely not break ... i dont get why you have all these disk errors17:11
cachiowith both cards I see the same17:12
ogra_you mean the inode errors (the last two lines) ?17:12
cachioogra_, no, I just saw that in this card17:14
cachioI'll try with the other one17:14
ogra_the charset issue is likely a missing config option in that ancient stable kernel17:15
ogra_(nothing we can fix until gadget update work)17:15
ogra_*updates17:15
cachioogra, the same error with the other sd card :(17:21
ogra_which one ?17:21
ogra_the asccii charset one is fine ... just ignore that one17:22
cachiothe last one17:22
ogra_(just odd that the module is missing, thogh that kernel  is awful and outdated anyway)17:22
ogra_hmm17:22
ogra_well, i doubt it is fatal17:23
ogra_(the last one that is)17:23
ogra_(and the next reboot/fsck should fix it i guess)17:23
cachioogra_, EXT4-fs (mmcblk0p2): error count since last fsck: 217:23
ogra_right17:23
cachioogra_, I see this also in the other card17:24
cachioogra_, should I reflash and make the change in the tty before insert it in the device=17:24
ogra_yeah, try that ... though i see we are still using AMA0 on todays pi2 images ...17:25
ogra_so theoretically it should work17:25
cachiook17:25
ogra_do you have a mmonitor so you could cross check that the UI comes up on a screen at least ?17:25
ogra_else i'd blame console-conf (or something systemic) instead of the tty's17:26
cachioogra_, yes, I'll try that too17:36
=== Sir_Gallantmon is now known as Son_Goku
niemeyermvo: Can we change the contact information in the core snap to point to the forum?18:08
niemeyerIt currently has a pretty long email address18:09
mvoniemeyer: sure18:09
niemeyermvo: Thanks!18:09
mupPR snapcraft#1407 closed:  recording: record the original snapcraft.yaml <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1407>18:17
mupPR snapcraft#1432 closed: kbuild plugin: support Makefile without install target <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1432>18:17
cachioniemeyer, there?18:32
niemeyercachio: Always!18:33
cachioniemeyer, good18:33
niemeyerSometimes there is not here, but always there, for certain18:33
cachioniemeyer, hehe, I am checking the spread cron branches and I see that18:34
cachiofor most of the branches that are doing sru validation18:34
cachioniemeyer, those are using the snapd from apt and the test code from master18:34
cachioso, there are tests that are failing against that snapd but passing on master18:35
cachioi.e. snapd-interface18:35
niemeyerHmm18:35
cachiohttps://travis-ci.org/snapcore/spread-cron/builds/26217766118:36
cachiolook this example18:36
niemeyercachio: That doesn't make a lot of sense18:36
niemeyercachio: This will be pretty much always broken18:36
cachiohttps://travis-ci.org/snapcore/spread-cron/builds/262177661#L153418:36
niemeyerSince we test features that we implement, and we're always implementing features18:36
cachioniemeyer, this is the script that it is running https://github.com/snapcore/spread-cron/blob/snapd-from-trusty-updates-edge/run-checks18:37
niemeyercachio: Can you please check with Federico what was the thinking around these tests, and then let's catch up on that again?18:38
niemeyercachio: Wait, that doesn't look like SRU validation18:38
cachioniemeyer, it is using SPREAD_SRU_VALIDATION=118:38
niemeyercachio: Sure, but the *intention* of this test is not SRU validation18:38
niemeyercachio: Just from its name, my guess is that the point there is making sure that the package we have on trust can continue to update to whatever is in edge18:39
niemeyerThis makes sense to be in spread-cron18:39
cachioniemeyer, ok, so perhaps it should not used SPREAD_SRU_VALIDATION=118:40
cachiouse+18:40
niemeyercachio: It really depends on what this flag does18:41
niemeyercachio: But as long as the intent is preserved, we can change the test at will18:41
niemeyercachio: Obviously, it needs to use the package from Trusty18:41
niemeyercachio: and it needs to update to the content in edge18:41
cachioniemeyer, in the code, if "$SRU_VALIDATION" = "1", then it installs snapd using apt, otherwise it installs snapd that was built18:42
cachioin sru validation it also updates snapd after install it18:43
om26erHi! If a device has support in the mainline kernel, is there still an enablement effort needed ?18:46
niemeyercachio: If that's all it does then it makes sense to have it set, as we want to test the package and then update it to edge, right?18:55
niemeyerIt's also a hint that the variable name may be wrong18:55
niemeyerom26er: If everything works, then there's no need to make anything else work :)18:56
niemeyerom26er: Being in the mainline kernel is often not the same as "everything works", though18:56
niemeyerom26er: So, YMMV18:56
om26erniemeyer: hmm, so is there a armhf UbuntuCore image with stock kernel ?18:57
* om26er wonders when will UbuntuCore get 4.1119:00
niemeyerom26er: The Ubuntu Core images published by Canonical target specific ARM devices..19:26
niemeyerogra_ has all the details19:27
niemeyerI'd recommend sending your questions to the forum so others can participate and benefit from the discussion19:27
mupPR snapd#3593 closed: interfaces/wayland: add access to wayland compositors <Blocked> <Created by jdstrand> <Closed by jdstrand> <https://github.com/snapcore/snapd/pull/3593>19:35
=== Sir_Gallantmon is now known as Son_Goku
=== Sir_Gallantmon is now known as Son_Goku
mupIssue snapcraft#100 opened: Issues are tracked on launchpad <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/100>20:17
mupIssue snapcraft#1437 opened: cross-compile i386 kernel <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1437>20:17
mupIssue snapcraft#1438 opened: cross-compile python <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1438>20:20
mupIssue snapcraft#1439 opened: target arch default for containers <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1439>20:23
mupIssue # opened: snapcraft#1440, snapcraft#1441, snapcraft#1442, snapcraft#1443, snapcraft#1444, snapcraft#1445, snapcraft#144620:35
mupPR snapd#3690 opened: interfaces/wayland: add wayland interface <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3690>20:49
PhoenixMageHey guys, I have created a snap but it seems that it cant find the libraries that I have included with it, how can I fix that?21:31
kyrofaPhoenixMage, can you shared your snapcraft.yaml?21:33
PhoenixMagehttps://git.launchpad.net/samba-dc-snap/tree/snapcraft.yaml21:36
kyrofaPhoenixMage, the libs that end up not being found, where do they end up?21:37
kyrofalib/private ?21:37
PhoenixMagekyrofa: Thats where the samba compile put them21:38
kyrofaPhoenixMage, yeah that's fine, I'm just asking: are those the libs you're not finding?21:39
kyrofaI assume so, just want to make sure21:39
PhoenixMage        libsamba-hostconfig.so.0 => not found21:40
PhoenixMage        libdbwrap-samba4.so => not found21:40
PhoenixMage        libtalloc.so.2 => not found21:40
PhoenixMageActualy21:41
PhoenixMageSorry my bad21:41
PhoenixMage /snap/samba-dc/x1/sbin/samba: error while loading shared libraries: libcluster-samba4.so: cannot open shared object file: No such file or directory21:41
PhoenixMageIts early and I am hung over21:42
kyrofaYep, private indeed21:44
kyrofaPhoenixMage, so you have two options21:45
kyrofaThree, maybe. Perhaps samba has a build option for putting those libs in a nicer place21:45
kyrofa2) You can use snapcraft's `organize` keyword to move all the private libs into `lib`21:45
kyrofa3) Add lib/private to the LD_LIBRARY_PATH of the app21:46
kyrofa(3 would use the `environment` keyword in the yaml)21:46
PhoenixMagekyrofa: ok thanks for your help, I thought LD_LIBRARY_PATH was recursive21:46
kyrofaPhoenixMage, nope, it's just like PATH21:47
PhoenixMagecool, will make the change and recompile21:48
PhoenixMageThanks again21:48
PhoenixMage--with-privatelibdir should do the trick21:49
kyrofaYeah, nice21:55
kyrofaPhoenixMage, and no problem :)21:55
mupPR snapd#3691 opened: tests: installing snapd for nested test suite <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/3691>22:17
superjonotronattempting to use the netplan yaml structure and even though I have figured out the correct syntax for what I want, during boot I get "A start job is running for raise network interfaces (5 mins 6 sec)".23:17
superjonotronbased on testing, my best guess is this is with dns resolving but once the system is up, everything is resolved23:18
superjonotronif I leave the default yaml in /etc/netplan as the only one, and everything is dhcp with nothing defined essentially, this does not happen23:18
superjonotronanybody got any thoughts on this?23:18
superjonotronyaml config for reference http://paste.ubuntu.com/25273156/23:19

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