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

=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
PhoenixMagekyrofa: I cant find any details on using the environment keyword in the documentation, do you have a link handy, just curious about it04:57
mupPR snapd#3692 opened: tests: install most important snaps <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/3692>05:12
=== JanC_ is now known as JanC
mupPR snapd#3685 closed: interfaces: add missing test for optical_drive interface <Created by adglkh> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3685>06:31
mupPR snapd#3684 closed: interfaces: convert physical_memory_observe to common iface <Created by adglkh> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3684>06:33
* zyga-ubuntu is very grumpy about quite sub-optimal package build/test failure outupt06:42
zyga-ubuntuoutput*06:42
zyga-ubuntuextreme verbosity and no substance06:42
zyga-ubuntugood morning06:43
mvohey zyga-ubuntu! where do you see this output?07:02
zyga-ubuntumvo: unit tests07:09
zyga-ubuntumvo: first you get a list of all the files, because that's apparently interesting07:09
zyga-ubuntumvo: then you get a per-module test result, because we just need to see that too07:10
mvozyga-ubuntu: aha, yes, its quite terrible07:10
zyga-ubuntumvo: and somewhere in that output there is one test failure07:10
zyga-ubuntumvo: obviously you don't know because the output for all the 100s of other modules follows07:10
zyga-ubuntumvo: ....07:10
mvozyga-ubuntu: yes, I suffered this pain also07:10
zyga-ubuntumvo: let me see if I can cure this07:11
mvozyga-ubuntu: if you find a switch to make this less insane, I will give you an extra hug07:11
zyga-ubuntubecause day-to-day experience is nothing like that07:11
zyga-ubuntumvo: I mean this seems to do the right thing: $ go test github.com/snapcore/snapd/...07:12
zyga-ubuntuare we getting the painful output from debhelper or is that self-induced-suffering?07:12
mvozyga-ubuntu: probably, I guess it sets some verbose flags somewhere07:12
zyga-ubuntuI'm grumpy enough to find this today07:13
zyga-ubuntuthank you mvo :)07:13
mupPR snapd#3689 closed: Improve the test for physical memory control and observe interface <Created by adglkh> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3689>07:14
mupPR snapd#3693 opened: snapsate: improve the error message when classic confinement is not supported <Created by mvo5> <https://github.com/snapcore/snapd/pull/3693>07:50
zyga-ubuntuwoot07:52
zyga-ubuntuthank you mvo!07:52
zyga-ubuntumvo: 2.27 backport would be lovely07:52
zyga-ubuntumvo: I'll add this to arch ASAP :)07:52
mwhudsonoh the list of files is dh-golang being stupid i think07:52
mwhudsonDH_VERBOSE=0 will stop that07:53
zyga-ubuntumwhudson: thank you :)07:53
mvozyga-ubuntu: I hope 2.27 is closed, I need to talk to Sergio but ideally rc8 will be renamed to -final and it goes to candidate. but lets see what he says07:55
zyga-ubuntumvo: CE asked to include the broadcom-asic interface there07:57
zyga-ubuntumvo: if you still allow PRs I'll make a backport07:57
jameshzyga-ubuntu: I still need to try implementing this in snap-confine, but I think I've worked out a way to handle the per-user mounts that should work with snap-update-ns07:58
zyga-ubuntujamesh: that's great, I saw the messaging about this07:58
jameshzyga-ubuntu: it's essentially unshare the mount namespace, then remount "/" with MS_REC|MS_SLAVE, then overlay the extra mounts07:59
jameshI get all the mount changes from the parent without the parent seeing any of child's08:01
zyga-ubuntuwhat happens if, say, the parent them mounts something over your changes?08:02
mvozyga-ubuntu: are you ok with merging 3604? or do you see any blockers in there?08:06
morphis_zyga-ubuntu: another snapd bug you might be interested in: https://github.com/anbox/anbox/issues/39908:13
* zyga-ubuntu looks at both08:18
zyga-ubuntumvo: letm's merge it, I'll improve the thing I care about soon08:19
mupPR snapd#3604 closed: tests:  enable main suite for opensuse <Created by sergiocazzolato> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3604>08:20
mvozyga-ubuntu: thank you08:35
Chipacazyga-ubuntu: o/08:58
Chipacazyga-ubuntu: snapd#3694 has a commit message i think you'll like08:59
mupPR snapd#3694: wrappers, overlord/snapstate/backend: make link-snap clean up on failure <Created by chipaca> <https://github.com/snapcore/snapd/pull/3694>08:59
mupPR snapd#3694 opened: wrappers, overlord/snapstate/backend: make link-snap clean up on failure <Created by chipaca> <https://github.com/snapcore/snapd/pull/3694>08:59
Chipacamup: where's your source? I want to add a "no parroting" feature08:59
mupChipaca: I apologize, but I'm pretty strict about only responding to known commands.08:59
Chipacamup: no you're not, no matter what I type you respond.08:59
mupChipaca: In-com-pre-hen-si-ble-ness.08:59
Chipacamup: see?08:59
mupChipaca: Roses are red, violets are blue, and I don't understand what you just said.08:59
zyga-ubuntuChipaca: looking09:01
zyga-ubuntuChipaca: that's a world of difference to me, thank you!09:01
Chipacazyga-ubuntu: :-)09:02
Chipacaand now i need to go push some papers around. Should be back in ~30 minutes, but who knows.09:03
zyga-ubuntuo/09:05
zyga-ubuntuChipaca: I like the cleanup approach09:06
Chipacazyga-ubuntu: i've tried to keep it boring :-)09:06
Chipacaalso i'm not very good at doing the "go push papers around" thing09:07
* Chipaca tries again09:10
zyga-ubuntuwhat kind of go push papers around are you referring to?09:11
zyga-ubuntuok, I read the non-test code and it looks good09:12
zyga-ubuntulooking at tests now09:12
zyga-ubuntuI wish github had a way to split this09:12
Chipacazyga-ubuntu: need to renew my lease09:12
zyga-ubuntuah09:12
zyga-ubuntuI misunderstood "go" as "golang"09:13
Chipacasign a stack of papers09:13
* zyga-ubuntu hugs Chipaca after looking at his pile of papers09:13
* Chipaca hugs zyga-ubuntu back09:13
=== rumble is now known as grumble
* zyga-ubuntu -> food10:44
mvocachio: hey,good morning! did you find out anything about the     - external:ubuntu-core-16-arm-32:tests/main/security-setuid-root failure(s)?10:50
mvocachio: if not, let me build an image now and try to reproduce10:50
Chipacaniemeyer: poke10:53
Chipacaniemeyer: https://forum.snapcraft.io/t/command-line-interface-to-manipulate-services/262/33?u=chipaca11:00
Chipacaniemeyer: basically i'm not liking the very different behaviour of "snap restart" vs "snap restart --reload", and would like to make a minor change to it so the problem goes away11:00
mvoniemeyer: just FYI, I looked into updating the support: field for the core snap but this is not yet supported in the store. bug 1666792 is tracking this work (sort of)11:25
mupBug #1666792: Please add "contact" field to the API <Snap Store:Incomplete by roadmr> <https://launchpad.net/bugs/1666792>11:25
ogra_mvo, perhaps via snapcraft somehow ?11:32
pedronismvo: well that's part of the larger discussion we had in London11:32
pedronisabout what's authoritative11:33
Chipacacachio: you around?11:34
Chipacanm, network slowness11:38
mupPR snapd#3688 closed: Improve the test for ppp interface <Created by adglkh> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3688>11:48
=== chihchun is now known as chihchun_afk
zyga-ubuntujdstrand: can you have a 2nd look (and perhaps +1) https://github.com/snapcore/snapd/pull/349911:59
mupPR snapd#3499: interfaces/builtin: add the spi interface <Created by tokurz> <https://github.com/snapcore/snapd/pull/3499>11:59
pedronisChipaca: this is not the first place reporting op conflicts for sure, I suppose the rest are doing 400 or 50012:02
mupPR snapd#3478 closed: tests: extend upower-observe test to cover snaps providing slots <Created by fgimenez> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3478>12:02
mupBug #1645731 opened: Fail to access the shared content if app starts before connect interface <Canonical System Image:Confirmed for pat-mcgowan> <snapd:New> <Snappy:Triaged by zyga> <Ubuntu App Platform:Confirmed> <https://launchpad.net/bugs/1645731>12:10
niemeyerChipaca: Yo12:11
niemeyerChipaca: Is that in the topic?  Looking12:11
ikeyq: what is the preferred method for packaging snapd? given the number of golang dependencies12:11
ikeysolus packaging explicitly disables networking during build for security12:11
niemeyermvo: You mean "contact"?12:11
mvoniemeyer: yes, contact, sorry12:12
ikeythus is it safe to lift the networking restriction and trust the vendor tool, or should the revdep chain be packaged?12:12
niemeyermvo: I'm hoping to not confuse "support" here, as very often that means something specific and different12:12
mvoniemeyer: yes, my bad, I wrote "contact" in bugreport and in my other irc, sorry for the confusion12:12
niemeyermvo: Thanks12:13
niemeyermvo: So people are unable to set their own contact field?12:13
niemeyermvo: Or where else the problem lies?12:13
mvoniemeyer: AIUI the store hardcodes contact (supported-by is iirc the name still in use in the returned json) to the publishers primary email12:14
ogra_well12:14
ogra_the old UI allowed to set it12:14
niemeyermvo: I think I've seen some snaps using a URL12:14
mvoniemeyer: i.e. no way to change that and no way to set it on a per-snap basis currently12:14
ogra_ogra@pi3:~$ snap info upnp-server|grep contact12:14
ogra_contact:   ogra@ubuntu.com?subject=upnp-server12:14
niemeyerAh, perhaps ogra nails it12:14
mvoniemeyer, ogra_: yes, the old webui had this, it got removed as part of https://bugs.launchpad.net/snapstore/+bug/1672664 (private unfortunately)12:15
ogra_(i used to set the subject line in that mailto link for every snap i have)12:15
niemeyermvo: Okay, that makes it pretty irrelevant.. I don't want my personal email on every snap I publish, for example12:15
niemeyerLet's see if we can get that sorted12:15
mvoniemeyer: I can create a forum topic if you want, I also filed https://bugs.launchpad.net/snapstore/+bug/1709610 just to be sure12:16
mupBug #1709610: Please allow "contact:" override on a per-snap basis <Snap Store:New> <https://launchpad.net/bugs/1709610>12:16
ogra_the backend is definitely capable of doing it ... just the UI gield vanished when we switched to dashboard.s.io12:16
ogra_*field12:16
pedronismvo: niemeyer: I think contact was added to snapcraft12:16
zyga-ubuntuikey: hello!12:16
mvoogra_: maybe we still set it in the db in a one-off basis, I don't know, I need to followup12:16
pedronisbut the store doesn't know12:16
zyga-ubuntuikey: I can help you out12:16
niemeyermvo: Thanks a lot! I'll open the forum topic and point to the ticket12:16
ikeyheya zyga-ubuntu :]12:16
mvopedronis: its not there yet afaics but I can trivially add it and push a PR ( doing some snapcraft things for bases anyway)12:17
ogra_mvo, well, my snaps still have the "?subject=<snapname>"12:17
zyga-ubuntuikey: I'm not a solus user or developer but if you want to make a snapd package available I can help you out12:17
ogra_so it seems to be handled when set12:17
mvoniemeyer: https://bugs.launchpad.net/snapstore/+bug/1666792 and https://bugs.launchpad.net/snapstore/+bug/1709610 should have the relevant info12:17
mupBug #1666792: Please add "contact" field to the API <Snap Store:Incomplete by roadmr> <https://launchpad.net/bugs/1666792>12:17
mupBug #1709610: Please allow "contact:" override on a per-snap basis <Snap Store:New> <https://launchpad.net/bugs/1709610>12:17
ikeyzyga-ubuntu, well its basically a case of looking at how everyone else is packaging it. are they allowing networking during build, have a huge tarball, or package all the reverse golang deps as vendored packages (brittle) ?12:17
pedronisniemeyer: it's also then proabably related to  https://forum.snapcraft.io/t/development-sprint-june-26th-2017/415/48 as well12:17
mvoogra_: yeah, lets see what the store people tell us, this is definitely encouraging12:17
zyga-ubuntuikey: all of those12:18
ogra_mvo, this is definitely a regression :)12:18
zyga-ubuntuikey: depending on the distribution12:18
ikeyok what does debian/ubuntu world do?12:18
ogra_(specifically your second bug)12:18
ikeybecause we have networking nuked in builds (solbuild implements a lightweight container)12:18
mvoogra_: yeah, that reminds me that I need to write a bugreport about the vanishing architecture in the webui, it used to be there but is no more12:18
zyga-ubuntuikey: different things actually, in debian snapd is packaged separately from all dependencies, in ubuntu it is a big tarball12:18
ikeyi can turn it on .. but.. yknow.12:18
ikeyhm ok12:18
zyga-ubuntuikey: what is customary for solus?12:19
zyga-ubuntu(for golang)12:19
ogra_mvo, oh, yes please ... thats super annoying (the uploads overview still has it, just not the details)12:19
zyga-ubuntuare all golang modules packaged separately?12:19
ikeywell we actually have very few golang things packaged zyga-ubuntu except our own stuff (like solbuild) - but we create proper release tarballs for those with src/vendor submodules setup12:19
ikeywith src/vendor actually being git submodules12:19
zyga-ubuntuikey: aha12:19
ikeyand using git-archive-all to create a true dist tarball12:19
zyga-ubuntuikey: we have a "fat" tarball that mvo makes for each release I think12:20
ikeyconsider my interest peeked12:20
ikeylol12:20
zyga-ubuntuikey: so if you want to get started, start with that please12:20
ikeysure would love it, ty12:20
pedronismvo: I'm probably just confused then, anyway the status about all these fields is confusing12:20
zyga-ubuntuikey: two requests12:20
* ikey listens12:20
zyga-ubuntuikey: can you please start a thread on forum.snapcraft.io about this, I'm sure many other people would love to know this is happening12:20
zyga-ubuntuikey: and as a personal request, can you please add /etc/os-release to github.com/zyga/o-release-zoo, it helps with some tests12:21
zyga-ubuntugithub.com/zyga/os-release-zoo12:21
mvopedronis: yeah, its all a bit in flux it seems, sounds like a good opportunity to clarify things (or my git tree is outdated, also quite possible :)12:21
mvopedronis: anyway, I get to the bottom of it12:21
ikeyzyga-ubuntu, for the 2nd one, we roll, so VERSION_ID is non static (heads up) - for the 1st one - uhm.. sure...? lol12:22
ikeyseems a bit like self promotion on my part doing so though :p12:22
zyga-ubuntusure12:22
ikeyPR sent to the zoo12:24
zyga-ubuntuikey: merged12:25
ikeyta12:25
ikeyok got a snapcraft.io forum account, what exactly am i posting here? :p12:25
zyga-ubuntuikey: just make a post that you're working on a package for solus12:26
ikeyaite12:27
ikeyin snapd tag ?12:27
* ikey & lost with discourse12:27
zyga-ubuntuikey: yes that's fine :)12:27
ikeyta12:27
zyga-ubuntuikey: and please stay in touch, I'd love to help you with the package12:29
ikeycheers, will do12:29
mupPR snapd#3695 opened: interfaces: convert kvm to common iface <Created by adglkh> <https://github.com/snapcore/snapd/pull/3695>12:31
ikeyforum post done12:31
zyga-ubuntuikey: thanks, looking12:32
ogra_4 potential users \o/12:32
zyga-ubuntugary-wzl: hey, thank you for all the work :)12:32
mupPR snapcraft#1447 opened: add support for the "contact" field in snapcraft <Created by mvo5> <https://github.com/snapcore/snapcraft/pull/1447>12:32
ikeyogra_, lol12:32
zyga-ubuntugary-wzl: can you cross-review https://github.com/snapcore/snapd/pull/3696 please?12:32
mupPR snapd#3696: interfaces: covert framebuffer to commonInterface <Created by zyga> <https://github.com/snapcore/snapd/pull/3696>12:32
mupPR snapd#3696 opened: interfaces: covert framebuffer to commonInterface <Created by zyga> <https://github.com/snapcore/snapd/pull/3696>12:33
gary-wzlzyga-ubuntu: sure, here is more to come. :)12:33
zyga-ubuntugary-wzl: reviewed kvm12:34
zyga-ubuntuikey: replied :)12:40
ikeyta12:42
zyga-ubuntuI guess I'll install solus now :-)12:45
ikeymight be worth waiting a few days tbh12:46
ikeyimpending release12:46
ikeyand snapd will be more formally supported after that12:46
zyga-ubuntuikey: aha, I'll hold off then12:47
gary-wzlzyga-ubuntu: reviewed and just left a comment.12:47
gary-wzlzyga-ubuntu: I could fine-tune the framebuffer_test.go in a separated PR as I go.12:47
ogra_cachio, do you happen to know where exactly i can find the code for "failover:emptysystemd" ?12:47
zyga-ubuntugary-wzl: I'm re-writing framebuffer tests now12:47
gary-wzlzyga-ubuntu: Thanks!12:47
cachioogra_, yes,12:48
mupPR snapd#3697 opened: docs: add PULL_REQUEST_TEMPLATE.md <Created by mvo5> <https://github.com/snapcore/snapd/pull/3697>12:48
cachioogra_, https://github.com/snapcore/snapd/blob/master/tests/main/failover/task.yaml12:49
ogra_cachio, thanks12:50
cachioogra_, I updated this test yesterday12:51
* ogra_ has been debugging a reboot failure with a customer for days ... it just struck me that this test actually *wants* it to fail :P12:51
ogra_silly thinko12:51
cachiomvo, resutls updated12:51
* mvo hugs zyga-ubuntu and zyga-suse12:57
mvocachio: things looks mostly good it seems, one strange pi2 issue, I try to reproduce htis now with my pi2 - I had forgotten just how long this takes :(12:58
mvocachio: and console-conf seems to be very unahppy, do you know what is going on there? maybe we can talk in the hangout12:58
ogra_mvo, we should really pay him a psychiatrist there is a new personality coming every week now !12:58
ogra_ETOOMANYZYGAS12:58
mvoogra_: he has as many personalities as there are linux distros ;)12:59
ogra_yeah, i noticed :)12:59
cachiomvo, most of console conf tests are known issues12:59
cachiomvo, I'll take a look again12:59
mupIssue # opened: snapcraft#1448, snapcraft#1449, snapcraft#1450, snapcraft#1451, snapcraft#1452, snapcraft#1453, snapcraft#145412:59
cachiomvo, for the pi2, I added a second link with the tests passing13:00
mvocachio: aha, great!13:00
mvocachio: yay13:00
zyga-ubuntugary-wzl: added13:02
jdstrandzyga-ubuntu: done13:02
zyga-ubuntuogra_: just wait for more :)13:02
zyga-ubuntujdstrand: thank you!13:02
mupIssue snapcraft#1455 opened: share cache with local container <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1455>13:02
mupIssue snapcraft#1456 opened: clean up stale containers <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1456>13:02
mupIssue snapcraft#1457 opened: remote per-project container <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1457>13:02
tedgthomi: FYI, I just put the Inkscape update into the stable channel. If you want to watch the diffs there.13:04
tedgthomi: Guessing it'll cause a bunch of traffic.13:04
mupIssue # opened: snapcraft#1458, snapcraft#1459, snapcraft#1460, snapcraft#1461, snapcraft#146213:05
mupIssue snapcraft#1463 opened: core build triggers root  <designed> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1463>13:08
mupIssue snapcraft#1464 opened: plugin reorg (rosdep) <designed> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1464>13:11
gary-wzlzyga-ubuntu: +113:12
gary-wzlzyga-ubuntu: here is one more :)13:12
mupPR snapd#3698 opened: interfaces: convert joystick to common iface <Created by adglkh> <https://github.com/snapcore/snapd/pull/3698>13:13
ogra_cachio, oh, looking at your https://github.com/snapcore/snapd/commit/f1cf4755312713f8024a4c29e1b0173dd4a42419 ...13:17
ogra_does that mean there never actually was an issue with resize ?13:18
ogra_or is that unrelated ?13:18
zyga-ubuntugary-wzl: lovely, thanks!13:19
tedgpopey: Are you "snapcrafters" ? The discord app won't start because it's out-of-date.13:52
cachioogra_, this test was failing because of this13:54
ogra_ok, so not related13:54
popeytedg: just bumped it13:55
popeybuilding now13:55
tedgpopey: Great, thanks!13:56
popeynp, thanks for letting us know - https://github.com/snapcrafters/discord/blob/master/snap/snapcraft.yaml fyi13:56
tedgpopey: Cool, is upstream considering taking it on?13:57
popeytedg: possibly.13:57
mupIssue snapcraft#1465 opened: node classic path issue [bug](https://bugs.launchpad.net/snapcraft/+bug/1706371) <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1465>13:59
mupIssue snapcraft#1466 opened: scriptlets erroring behavior <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1466>13:59
popeytedg: edge has 0.0.2 - fancy testing it?14:02
mupIssue snapcraft#1467 opened: rust plugin: new rustup <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1467>14:05
mupIssue snapcraft#1468 opened: override ARCH for kbuild <designed> <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1468>14:05
mupIssue snapcraft#1469 opened: rust plugin: cache rust toolchain offline <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/1469>14:05
mvozyga-ubuntu: can you ping me once you found out more about the fedora build failure please?14:06
popeytedg: nvm, busted here.14:09
zyga-ubuntumvo: yes, installing 32 bit build now14:10
tedgpopey: Yeah, seemed to migrate and then stopped.14:10
popeytedg: missing opengl plug, added it, and rebuilding14:12
cachiomvo, I just updated the db results, 32/3214:21
cachioogra_, i found this http://elinux.org/RPi_SD_cards14:25
cachioogra_, late14:25
ogra_oh wow14:25
ogra_thats a gigantic table !14:26
* ogra_ wonders who tested all these cards 14:26
zyga-ubuntucachio: heh, I wanted to copy this link into the standup window but not having verified it I didn't want to bother you with unproven stuff14:26
mupPR snapd#3695 closed: interfaces: convert kvm to common iface <Created by adglkh> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3695>14:26
zyga-ubuntumvo: thank you!14:26
zyga-ubuntumvo: I'm installing fedora 26 i386 (still)14:27
zyga-ubuntumvo: but I'm working on a branch to tweak snap-seccomp builds for everyone to make it easier14:27
mvook14:27
cachioogra_, at least there is a name and date in the last column14:27
ogra_yeah14:28
mvozyga-ubuntu: fwiw, for 2.27 I would love something *tiny* :)14:28
zyga-ubuntumvo: one more data point14:28
zyga-ubuntumvo: very tiny14:28
mvo\o/14:28
ogra_cachio, so your broken card is actually one marked red in that table ?14:28
zyga-ubuntumvo: one line change so far14:28
zyga-ubuntuwell, two14:28
zyga-ubuntumvo: if we do monthly releases I can help on xdistro more14:28
* ogra_ must be extremely lucky that he mostly got good cards then14:28
mvozyga-ubuntu: sounds good, I think we need to discuss this, but I think its reasonable14:29
mvozyga-ubuntu: moving to this model14:29
mvo(eh schedule)14:29
zyga-ubuntumvo: so far my gut feeling is that +//#cgo CFLAGS: -D_FILE_OFFSET_BITS=6414:29
zyga-ubuntuthis is *enough*14:29
zyga-ubuntubut need a sec to test14:30
cachioogra_, I think it is in green14:30
ogra_weird14:30
ogra_then it is probably really worn out14:30
ogra_though ... the stable gadget has really old start.elf and friends14:30
ogra_might be that it got fixed later by broadcom but the stable image doesnt have that fix14:30
ogra_(testing edge would tell)14:31
ikeyso zyga-ubuntu i got the initial packaging working, but when i run "/snap/bin/hello", it just seems to time out forever ™14:31
zyga-ubuntuikey: yep, there's a lot of missing bits I suspect14:31
ikeyjust using devmode confinement atm14:31
cachioogra_, ok14:31
ikeywell, error messages wouldn't hurt :P14:32
cachiodo you have a link?14:32
zyga-ubuntuikey: I think it is waiting for the seccomp profile14:32
zyga-ubuntuikey: is snapd running?14:32
ikeyyes14:32
zyga-ubuntuikey: can you tell me if you patched anything?14:32
ikeyno im using 2.2614:32
ogra_cachio, for edge images ?14:32
cachioyes14:32
zyga-ubuntuikey: and what kind of installation layout did you pick for solus (e.g. /usr/lib vs /usr/libexec)14:32
zyga-ubuntuikey: /snap vs /var/lib/snapd/snap14:32
ogra_cachio, http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ or http://cdimage.ubuntu.com/ubuntu-core/16/edge/current/ (shoudl be largely identical)14:32
ikeyhm the snap mount dir could be the issue.14:32
zyga-ubuntuikey: I *think* you will want to do a few small patches first14:33
zyga-ubuntuikey: mark solus as a non-reexec distro for now (cmd/cmd.go)14:33
ogra_cachio, i randomly test the images on the first url (not on a regular schedule or anything though)14:33
ikeywell until i make it do-a-thing i cant know what to patch14:33
zyga-ubuntuikey: and use /snap (that's way nicer and simple)14:33
ikeybecause i wont know whats broken14:33
zyga-ubuntuikey: then look at journal output14:33
ikeyi did14:33
ikeyits useless14:33
zyga-ubuntuikey: you can set SNAP_CONFINE_DEBUG=yes to see what snap-confine may be doing14:34
cachioogra_, I am downloading http://cdimage.ubuntu.com/ubuntu-core/16/edge/current/ubuntu-core-16-armhf+cm3.img.xz14:34
zyga-ubuntuikey: did you build and install snap-seccomp?14:34
ogra_cachio, ok ... thats for the cm3 though ...14:34
cachiono14:34
zyga-ubuntuikey: are snaps mounting correctly?14:34
cachiohttp://cdimage.ubuntu.com/ubuntu-core/16/edge/current/ubuntu-core-16-armhf+raspi3.img.xz14:34
ogra_ah14:34
cachioogra_, this one14:34
ogra_yeah,  thats correct :)14:34
ikeyzyga-ubuntu, no because it doesnt exist in 2.2614:35
cachioI dont have a cm314:35
ikeynot from what i can see14:35
ogra_yeah, only ondra does14:35
ikeyand yes they mount fine14:35
zyga-ubuntuikey: did you use _bare_ 2.26 or 2.26.14?14:35
ondraogra_ I have even two :P14:35
ogra_heh14:35
ikey2.26.814:35
zyga-ubuntuikey: please try .14, 2.26 is really rc014:35
ikeyi.e. the one with a tarball14:35
zyga-ubuntuaha14:35
zyga-ubuntumvo: could you please upload the tarball for 2.26.1414:36
zyga-ubuntumvo: ikey could use that for the solus package14:36
ikeyi assumed the new tags were unstable14:36
ikeygiven they're not marked as releases on github14:36
zyga-ubuntuno, they are more stable actually, we need to rework our naming so that they are correctly identified as release candidates14:36
zyga-ubuntuikey: yes, that's an omission on our part14:36
ikeygotcha14:36
popeytedg: missing lib, found it, working on it.14:36
ikeywell, good to know now :p14:36
ogra_that is because we'd need five clones of mvo to do everything at the same time :)14:37
ondraogra_ sadly looks like they are now sold out14:37
ogra_ondra, well, i'm not eager to get one, but QA (i.e. cachio and fgimenez ) should at some point14:37
ogra_given it is a full supported device now14:37
ondraogra_ definitely14:38
ondraogra_ I thought they already do14:38
cachioogra_, Also we should have some of them in the lab14:38
ogra_cachio, see what you got yourself into by posting the wrong link ?14:38
* ogra_ grins14:38
cachioogra_, heheh14:38
ogra_yeah, lab too14:38
ondraogra_ BTW what was the conclusion yesterday about time when snapd from master lands in edge?14:38
ogra_ondra, once the release is complete ... (watch the forum there should be an announcement)14:39
ondracachio I thought it was desired to have them in the lab, as one can reflash them without human interaction14:39
zyga-ubuntumvo: installed, building snapd14:41
=== cachio is now known as cachio_lunch
mupPR snapd#3690 closed: interfaces/wayland: add wayland interface <Created by jdstrand> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3690>14:50
zyga-ubuntumvo: replied to your question on 369814:56
* zyga-ubuntu needs to wait for 700+ RPM install/updates15:01
popeytedg: ok, rev 19 in edge should work - works here.15:07
* zyga-ubuntu breaks for 45 minutes15:11
zyga-ubuntuikey: please ping me if you get stuck on anything15:11
zyga-ubuntuPharaoh_Atem: fixes for 32bits are in progress15:11
zyga-ubuntuI need to release suse as well, so we can have a nice 2.27 soon15:11
zyga-ubuntubut first ...15:11
zyga-ubuntutaxes15:11
ppisatiogra_: errrrr... i can't find a spread snap for armhf, is that correct?15:18
ogra_ppisati, i think there should be one, perhps cachio_lunch can help (after lunch)15:18
tedgpopey: Hmm, no. It comes up to a grey screen and just stays there...15:18
tedgpopey: Ah, I had one dying silently in the background from an old version.15:20
popeyya15:20
popeyi had that too15:20
tedgMan, I wish snap had lifecycle management ;-)15:20
popeyDon't you start!15:20
* tedg may have complained about that before15:20
popeyok, thanks for testing it. i tested in a vm too, all seems good, will promote15:20
mupPR snapd#3694 closed: wrappers, overlord/snapstate/backend: make link-snap clean up on failure <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3694>15:21
ikeyzyga-ubuntu, just waiting for that tarball :)15:27
=== cachio_lunch is now known as cachio
cachioppisati, hey, what do you need?15:34
ppisaticachio: 'snap find spread' doesn't show any result on armhf, is that normal?15:41
cachioppisati, I never tried on armhf15:42
pstolowskiniemeyer, hey, one more question to you https://forum.snapcraft.io/t/how-to-snap-get-root-document/522/715:43
cachioppisati, why you want to use it on arm?15:43
ppisaticachio: because on user is reporting a problem with spread on a arm board15:43
ppisaticachio: but the queston is, why can't find it on arm? -> snap find spread: 0 results15:44
ppisaticachio: is that normal?15:44
ogra_cachio, we have customers using it ... but i think he runs it as remote device15:44
cachioppisati, well the user should be executing spread from a amd64 against a divice with arm15:44
cachioppisati, spread allows to run the tests in remote devices15:45
Pharaoh_Atemzyga-ubuntu: nice15:45
ppisaticachio: uhm ok15:45
ogra_i think theer is a forum thread where fgimenez pointed him to the setup15:45
cachioppisati, do you have a link to that report?15:45
ppisatiogra_: are we talking of the orangepi guy?15:45
ogra_yes15:45
ppisatiogra_: ok15:45
zyga-ubuntuPharaoh_Atem: pushed as 369915:47
mupPR snapd#3499 closed: interfaces/builtin: add the spi interface <Created by tokurz> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3499>15:47
mupPR snapd#3699 opened: cmd/snap-confine: set _FILE_OFFSET_BITS to 64 <Created by zyga> <https://github.com/snapcore/snapd/pull/3699>15:47
zyga-ubuntuPharaoh_Atem: I'll follow up with the tweak to static linking but separately so that mvo doesn't turn more gray15:47
zyga-ubuntuPharaoh_Atem: ^ can you have a look15:48
zyga-ubuntuPharaoh_Atem: btw, how do I opt-out of "updates-testing"15:48
Pharaoh_Atemsudo dnf config-manager --set-disabled updates-testing15:48
Pharaoh_Atemsudo dnf distro-sync15:49
zyga-susethanks, trying15:49
zyga-susethat helped :)15:50
zyga-susethanks a lot!15:50
ikeyyay progress..15:51
ikey/snap/bin/hello-world15:51
ikeyexecv failed: No such file or directory15:51
ikey/snap/hello-world/current/bin/echo15:52
ikeyHello World!15:52
Chipacaikey: uh, that second thing you just did runs the binary "direct", not confined15:52
ogra_ikey, thats cheating!15:52
ikeyya i know15:52
Chipacadon't do that :-)15:52
Chipacaah ok :-D15:52
ikeyi was pointing out that its not a linker issue :p15:52
ppisati$ spread -v -reuse external:ubuntu-core-16-arm-32:tests/main/core-snap-refresh15:52
ppisatierror: invalid project name: ""15:52
ppisaticachio: ^15:52
mupPR snapd#3698 closed: interfaces: convert joystick to common iface <Created by adglkh> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3698>15:52
ogra_ikey, anything in journalctl output ?15:53
Chipacappisati: you need to run it from within the snapd project15:53
Chipacappisati: ie it needs to be able to find spread.yaml15:53
ppisati$ pwd15:53
ppisati/home/flag/snapd15:53
ikeyAug 09 16:51:36 ironhide /snap/bin/hello-world[4652]: cmd.go:66: DEBUG: re-exec not supported on distro "solus" yet15:53
ikeyand i had to patch it to stop the re-exec15:53
ppisatiChipaca: ^15:53
ikeyotherwise it would timeout infinitely15:53
Chipacappisati: and that's the spread.yaml there?15:53
ogra_yeah, that should eb fine for now15:53
ogra_i was hoping from something more15:54
Chipacappisati: or is that where src/github.com/snapcore lives?15:54
cachioppisati, where are you executing this?15:54
ikeyso was i..15:54
ogra_heh15:54
cachioppisati, from snapd fir?15:54
cachiodir15:54
ogra_good that we are in agreement :P15:54
* ikey has no clue what it is it can't exec15:54
ogra_(not thatz it helps)15:54
ogra_yeah, that needs someone from the snapd core team ...15:55
ppisaticachio: snapd root15:55
ogra_Chipaca, any way for ikey to turn on more debugging to find out what file or diectory is missing for the execv ?15:56
cachioppisati, is there a file spread.yaml ?15:56
cachioppisati, can you share it?15:56
ogra_ikey, ah, found Chipaca's mail from recently ...15:58
ogra_The easiest way is to add a couple of lines to /etc/environment and15:58
ogra_then restart snapd. You want15:58
ogra_SNAPD_DEBUG=115:58
ogra_SNAPD_DEBUG_HTTP=715:58
ogra_The log can be quite verbose (journalctl -u snapd) but I find it very15:58
ogra_helpful.15:58
ogra_try that ...15:58
ikeyta15:58
ppisaticachio: i've just cloned the snapd repo from github15:59
ppisatiflag@harukaze:~/snapd$ git lg -116:00
ppisati300f3a6 Merge pull request #3499 from tokurz/spi-patch16:00
ppisatiflag@harukaze:~/snapd$ git status16:00
ppisatiOn branch master16:00
ppisatiYour branch is up-to-date with 'origin/master'.16:00
ppisatinothing to commit, working directory clean16:00
ikeyogra_: /snap/bin/hello-world16:01
ikey2017/08/09 17:00:51.349635 cmd.go:66: DEBUG: re-exec not supported on distro "solus" yet16:01
ikeyexecv failed: No such file or directory16:01
ikey*shrugs*16:01
ogra_boo16:01
ogra_lame16:01
ogra_well, does your systemd unit actually make use of /etc/environment ?16:01
ogra_else you need to set the vars there16:01
ikeyyes16:02
ikeyanyways i added the stuff to the forum thread16:02
ogra_+116:03
ikeyit can be tomorrows problem.. lol16:03
Pharaoh_Atem:D16:03
cachioppisati, the spread that you are using is the snap one?16:06
cachioppisati, I'll try with that16:06
Chipacazyga-ubuntu: have you seen bug #1673186?16:06
mupBug #1673186: the gox classic snap gets stuck consuming a lot of cpu <classic> <isv> <snapd:Confirmed> <https://launchpad.net/bugs/1673186>16:07
zyga-ubuntuChipaca: nope16:07
zyga-ubuntulooking16:07
ppisaticachio: yes, installed via snap16:07
Chipacazyga-ubuntu: it's from ~april but i don't think we've seen it before now16:07
cachioppisati, i'll try that16:07
cachioin the meantime you can use the one in aws16:08
cachiowget https://niemeyer.s3.amazonaws.com/spread-amd64.tar.gz -O spread.tar.gz && tar xzvf spread.tar.gz16:08
cachioppisati, ^16:08
cachioppisati, I use that one16:08
pedronisChipaca: I left another annoying remark16:08
Chipacapedronis: the one about snapNames[]?16:09
pedronisyes16:09
Pharaoh_Atemzyga-ubuntu: testing build with that PR on 32-bit Fedora16:09
Chipacapedronis: i was just replying when other things interrupted me16:10
Chipacapedronis: replied now16:10
zyga-ubuntuPharaoh_Atem: thank you16:10
pedronisChipaca: answered to the reply16:12
zyga-ubuntuChipaca: trying to reproduce16:12
Chipacapedronis: aha, but did you reply to the answer?16:12
Chipacapedronis: did your answer get truncated?16:13
pedronisChipaca: yes, fixed16:14
Chipacapedronis: do you agree that a sorted list is too obscure?16:15
pedronisChipaca: yes16:15
pedronisit's either sort internally or make  map internally16:15
pedronisor keep as it16:15
pedronisprecedent points in the direction of not keep as is16:15
Chipacapedronis: the deciding factor when I wrote it was that whatever I passed in was getting built from scratch anyway, so I might as well build what i needed16:16
Chipacaotherwise i'm just creating a slice to create a map16:16
pedronisChipaca: I understand but I'm not sure that logic applies strongly here, because n is small16:16
Pharaoh_Atemzyga-ubuntu: scratch build fired off: https://koji.fedoraproject.org/koji/taskinfo?taskID=2112997616:17
Chipacapedronis: in the common case yes, but in the worst case?16:17
Pharaoh_Atemincidentally, your patch does not apply on 2.27 branch tip16:17
Chipacapedronis: or should i not worry about that :-)16:17
Chipacabah, even worst case it'll be ~1000 big for a good while yet16:18
* Chipaca stops worrying16:18
pedronisChipaca: yes, big is not that big or we are talking weird16:18
Chipacapedronis: also, also, it not being a map means i need to dedupe it :-)16:19
* Chipaca is doing the change while complaining16:19
pedronisChipaca: shouldn't you error anyway if names has the same thing twice?16:19
pedronisit's a bit strange16:19
Chipacapedronis: in daemon16:19
pedronisshouldn't you error in daemon, I mean16:19
Chipacapedronis: names comes from list of services, which can easily have more than a snap16:20
pedronismmh16:20
pedronisI see16:20
Chipacapedronis: that is, i have [snap-a.foo, snap-a.bar] and i want [snap-a]16:20
pedronisor not16:20
pedronisanyway given what the function does it works deduped or not16:20
pedronisI mean if you turn it into a map and don't check it works anyway, no?16:21
pedronisdon't conflict with A and btw don't conflict with A16:21
Chipacapedronis: yes16:23
Chipacaexactly how soaked am i going to get if i go running in this?16:30
* Chipaca asking the big questions16:30
pedronisChipaca: +1 with a last wondering16:35
ogra_sounds like a movie title ...16:36
=== chihchun_afk is now known as chihchun
ogra_"The last wondering"16:36
Pharaoh_Atemzyga-ubuntu: it works: https://github.com/snapcore/snapd/pull/369916:41
mupPR snapd#3699: cmd/snap-confine: set _FILE_OFFSET_BITS to 64 <Created by zyga> <https://github.com/snapcore/snapd/pull/3699>16:41
Pharaoh_Atemmvo: ^16:41
* Chipaca takes a break16:41
zyga-susePharaoh_Atem: thank you for checking16:45
mvozyga-suse: yay, thanks you16:50
zyga-susemvo: let's merge it16:51
mupPR snapd#3696 closed: interfaces: covert framebuffer to commonInterface <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3696>16:57
mupBug #1666978 changed: Security setup may fail with ErrNoState if repository and snapstate get out of sync <Snappy:Fix Released> <https://launchpad.net/bugs/1666978>17:06
=== chihchun is now known as chihchun_afk
cachioogra_, same problem with the image from adge17:11
zyga-ubuntuChipaca: bug "fixed"17:11
cachioogra_, but the command line is ok now17:11
cachiopointing to ttyS017:12
zyga-ubuntuChipaca: anyone else needs to know about this?17:12
zyga-ubuntusergiusens: ^^17:12
zyga-ubuntuyou want to look at https://bugs.launchpad.net/snapcraft/+bug/167318617:12
mupBug #1673186: the gox classic snap gets stuck consuming a lot of cpu <classic> <isv> <Snapcraft:Confirmed> <snapd:Invalid> <https://launchpad.net/bugs/1673186>17:12
ogra_cachio, hmm17:15
* zyga-ubuntu EODs17:29
mupPR snapd#3699 closed: cmd/snap-confine: set _FILE_OFFSET_BITS to 64 <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3699>17:31
mupBug #1671446 changed: content interface behaves different if tried an operation before connecting the interface <Snappy:New> <https://launchpad.net/bugs/1671446>17:40
Chipacazyga-ubuntu: kenvandine17:50
kenvandineChipaca, ah, thx!17:53
zyga-ubuntukenvandine: note that you can work around this18:00
zyga-ubuntukenvandine: just specify the executable as bin/foo18:00
zyga-ubuntukenvandine: snapcraft will expand this to $SNAP/bin/foo18:00
kenvandinezyga-ubuntu, cool, thx18:00
zyga-ubuntukenvandine: and it will no longer run /snap/bin/foo18:00
jhodappcan someone explain to me what an explicit slot vs an implicit slot is?18:23
zyga-ubuntujhodapp: I can18:25
zyga-ubuntujhodapp: implicit slots are added to the core snap even if they are not declared in the corresponding snap.yaml18:25
zyga-ubuntujhodapp: all other slots are explicit because they are just spelled out in some yaml file in a snap18:25
jhodappzyga-ubuntu, that makes a lot of sense18:25
zyga-ubuntuikey: hey, 2.26.14 should be available as a tarball now18:41
ikeyzyga-ubuntu, much appreciated!18:46
zyga-ubuntuikey: I also replied to the forum thread18:47
zyga-ubuntuif you can list the files in your package I can help you out18:47
zyga-ubuntuI suspect you are missing onefile18:47
=== Pharaoh_Atem is now known as Conan_Kudo
=== Conan_Kudo is now known as Pharaoh_Atem
ikeyew forced static seccomp link19:09
mupPR snapcraft#1470 opened: catkin plugin: default to release build <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1470>19:24
mupPR snapcraft#1471 opened: catkin plugin: support passing args to cmake <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1471>19:57
cachioSon_Goku, hey20:09
cachioI see this https://paste.ubuntu.com/25278920/ in some executions on fedora20:10
cachioSon_Goku, it is when it tries to uninstall snap-confine20:10
Son_Gokuhmm20:11
cachioit is happening sporadically20:11
cachioSon_Goku, I can't reproduce it, but I already saw it twice in the test results20:11
Son_Gokuhmm20:12
zyga-suseit feels like missing cleanup20:26
zyga-suseor something like htat20:26
=== nacc_ is now known as nacc
mupPR snapcraft#1425 closed: options: properly handle missing compiler prefix <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1425>20:45
mupPR snapcraft#1472 opened: catkin plugin: include-roscore is a boolean <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1472>21:21
mupPR snapcraft#1473 opened: catkin plugin: rosinstall-files is a pull property <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1473>21:24
mupPR snapd#3700 opened: tests: fix for  upgrade test on fedora <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/3700>21:55
mupPR snapcraft#1417 closed: kbuild plugin: move over the cross-compiling logic from the kernel plugin <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1417>22:45
mupPR snapcraft#1472 closed: catkin plugin: include-roscore is a boolean <bug> <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1472>23:09

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