/srv/irclogs.ubuntu.com/2018/08/14/#snappy.txt

mupPR snapcraft#2212 closed: tests: add spread suite for ruby plugin <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2212>01:31
mupPR snapcraft#2213 opened: Revert "ci: disable osx tests until a new pyyaml is released" <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2213>01:34
mupPR snapd#5645 opened: tests: new test for udisks2 interface <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5645>02:22
=== chihchun_afk is now known as chihchun
mupPR snapd#5341 closed: cmd/libsnap-confine-private: intoduce helpers for validating snap instance name and instance key <Parallel installs> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5341>05:05
mborzeckimorning05:06
mupPR snapd#5646 opened: cmd/snap-confine: extend security tag validation to cover instance names <Parallel installs> <Simple> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5646>05:23
mborzeckimvo: hey05:30
mvomborzecki: hey hey05:38
mborzeckimvo: simple review for you #5646 :)05:38
mupPR #5646: cmd/snap-confine: extend security tag validation to cover instance names <Parallel installs> <Simple> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5646>05:39
mvomborzecki: on it05:45
mborzeckimvo: thanks05:45
mvomborzecki: funny, we allow a regexp here - is this run without privs?05:46
mborzeckimvo: iirc it's run after the initial snap name validation, but with privs05:48
mborzeckimvo: no, it's without privs at this point05:50
mvomborzecki: aha, ok05:51
mvomborzecki: makes sense05:51
mborzeckimvo: heh, only gid is dropped, uid is still 005:51
mvohm, hm05:53
ChaiTRexIs there a way to create a snap that installs in jailmode by default (without needing "snap install --jailmode name")?05:55
=== Nafallo_ is now known as Nafallo
mvomborzecki: I wonder if we can merge the shellcheck PR with just a single review. this time around it looks very straightforward.06:17
mborzeckimvo: yeah, i suppose we can06:31
mvomborzecki: we are over 50 again06:32
mvomborzecki: thanks! can't wait for the next part of the shellcheck saga06:32
mvomborzecki: how many are left? i.e. how many more to come?06:32
mupPR snapd#5630 closed: tests: shellchecks part 6 <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5630>06:33
mborzeckimvo: 126 files to go06:35
mborzeckimvo: i can put more in the next batch, say 30?06:35
mvomborzecki: sounds good06:36
mupPR snapd#5629 closed: debian: add tzdata to build-dep to ensure snapd builds correctly <Simple> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5629>06:42
zygagood morning!06:49
zygaI will be with you all shortly, just need to take the dog out for a moment06:49
mborzeckizyga: hey, great report06:59
mborzeckimvo: next batch coming up in a minute, looks uncontroversial too06:59
zygaThank you06:59
mvomborzecki: good stuff07:00
mvozyga: yeah, enjoyed reading it07:00
mvozyga: even though I'm fully done yet :/07:01
mupPR snapd#5647 opened: tests: shellchecks part 7 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5647>07:01
zygaDid he hook fragment in the mail made you read the rest?07:01
=== pstolowski_ is now known as pstolowski
mvorunning our tests on armhf in cosmic is incredible slow, I wonder what is going on there, jsut the compile takes forever (not even finished yet)07:08
mborzeckizyga: heh, that runtimes part indeed sounds complicated, but coming from yocto background, building an sdk and giving people a stable rootfs to use is something i did more than once :)07:08
mborzeckizyga: actually the odd thing is that it's for the same arch, normally i did that for other arches, you'd build an sdk for some crazy ass arm/mips target, hand the sdk + runtime to people to work with07:10
zygamborzecki: yeah, the distribution should be the sdk because that what developers are familiar with07:25
mvoreview for 5641 should be an easy win07:37
mupPR snapd#5641 closed: interfaces: miscellaneous policy updates <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5641>07:47
mupPR snapd#5642 closed: interfaces: miscellaneous policy updates - 2.35 <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5642>07:47
pstolowskizyga: just finished reading your report, great read and good job indeed!08:09
zygathank you :)08:09
mvofun, it looks like 69692a broke the armhf(!) tests, the hookManagerSuite.TestHookTaskCanKillHook hangs forever with it08:20
* mvo scratches head08:20
zygamvo: what is 69692a?08:20
mvozyga: a git change we landed a while ago08:20
zygaah, that's a git commit id08:20
* zyga looks08:20
mvozyga: and it seems like its breaking things in bionic/armhf08:20
mupPR snapd#5637 closed: udev: skip TestParseUdevEvent on ppc  <Created by mvo5> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5637>08:23
mborzeckihmm I suspect that snap-update-ns is not built as a static library on opensuse with our current packaging09:01
mborzeckii'm hitting the same segfault bug i saw on friday in parallel-install tests on opensuse09:01
mborzeckiaand it is wrong indeed09:04
mborzeckizyga: have you synced opensuse obs packaging with our in-tree one?09:05
niemeyerMornings09:07
mvohey niemeyer, good morning!09:08
niemeyermvo: Heya! Beautiful indeed09:08
niemeyer... and warm09:08
mborzeckiniemeyer: hey09:09
zygahey hey :)09:14
zygamborzecki: yes I did09:15
zygamborzecki: but perhaps some bugs just crept in09:15
zygamborzecki: I can look after I'm done with travel paperwork09:15
zygamborzecki: (50% done now, whee)09:15
zyganiemeyer: hey :)09:15
mborzeckizyga: yeah, i'll fix the spec09:15
zyganiemeyer: I recommend you to read the report I sent09:15
mborzeckizyga: we should probably plan to add leap to our test suite09:16
mborzeckiuh leap 1509:16
zygamborzecki: yeah09:16
* zyga scans the second pile of paper now09:21
=== chihchun is now known as chihchun_afk
niemeyerzyga: Thanks, will definitely read09:22
Chipacajdstrand: we've been missing each other (aww), so I wrote out what I see as a problem with our hostname-control interface over on the pr that's failing because of it: https://github.com/snapcore/snapd/pull/5593#issuecomment-41281280809:41
mupPR #5593: tests: new test for hostname-control interface <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5593>09:41
Chipacajdstrand: I don't know if the failure is specific to 18.04, or if it's just more likely in 18.04: I've seen failures in 14.04 that look similar but haven't been able to reproduce consistently enough to get a shell and poke around09:43
mupPR snapd#5648 opened: hookstate: simplify some hook tests <Created by mvo5> <https://github.com/snapcore/snapd/pull/5648>09:48
mvopedronis: ^- thats probably something for you, I wonder if we need to do more than just fixing the test09:49
pedronismvo: seems you wrote those tests like that with goroutines, do you remember why?09:51
mvopedronis: the problematic CanKillHook is quite old, unless I misread git blame it was written by kyle in 201609:53
pedronismvo: anyway I don't have a quick answer, I need to carefully re-read them09:54
mvopedronis: yeah, the other two are mine, probably silly cargo culting :(09:54
mvopedronis: yeah, the tests are not so much the issue, its more that potentially we can deadlock when calling StateEngine.Wait() at the wrong moment, then StateEngine.Ensure never gets a chance to run09:54
mvopedronis: I can reproduce this reliable on an armhf system here fwiw09:55
pedronismvo: I'm not sure IĀ understand the explanation,  we do release the lock around each  tomb.Wait10:01
pedroniswhich lock are we talking about10:01
mvopedronis: StateEngine.mgrLock is acquired in StateEngine.Wait() but only relased when all se.managers finish their Wait()10:03
mvopedronis: that seems to be the high level issue10:03
pedronisah10:04
mvopedronis: that this does not finish until Ensure() was run10:04
pedronismvo: ok, now I see how it's related to my single taskrunner changes10:09
mvopedronis: great, keen to hear your ideas if/what we need to do beside fixing the test10:13
pedronismvo: so a couple didn't need the 2nd Ensure either?10:14
zyga100% of expenses done, now some more paperwork10:15
pedronismvo: the fix seems alright now that I understand, still not sure why it was using a goroutine,   Wait doesn't trigger anything on its own, it just waits10:16
* pedronis lunch10:16
mvopedronis: yeah, the other two I think simply took the TestHookTaskCanKillHook and removed the s.change.Abort()10:16
mvopedronis: so the whole ensure,lock,unlock,ensure dance is cargo cult it seems10:17
mvopedronis: enjoy lunch, ttfn10:17
pstolowski2018/08/14 12:31:51.850100 hotplug.go:66: DEBUG: HotplugDeviceAdded: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0 (default key: "0403:6001:AH06W0EQ", devname /dev/ttyUSB0, subsystem: tty)10:33
pstolowski2018/08/14 12:31:51.850905 hotplug.go:132: Added hotplug slot "serial-port-4527" (serial-port) for device key "0403:6001:AH06W0EQ"10:33
pstolowski:)10:33
zygawooot :)10:33
ogracrazy !10:33
zygathat's so cool pawel :)10:33
* zyga hugs pstolowski 10:33
pstolowskizyga: still many holes, but..10:33
ograpfft ... holes ... just ship some buckets along10:34
pstolowski$ snap interfaces ...10:34
pstolowski:serial-port-4527                  -10:34
mborzeckinice10:36
zygasnap interface serial-port -a10:36
zygashow me the attributes :)10:36
mvopstolowski: nice job!10:37
pstolowskizyga: $ snap interface serial-port --attrs10:38
pstolowskiname:    serial-port10:38
pstolowskisummary: allows accessing a specific serial port10:38
pstolowskislots:10:38
pstolowski  - system:serial-port-4527:10:38
pstolowski      path: /dev/ttyUSB010:38
pstolowskipawel@mordor ~/gocode/src/github.com/snapcore/snapd/osutil/udev (hotplug-ifacemgr*) $10:38
zygapstolowski: so nice :)10:38
zygapstolowski: do you think we could start using label?10:38
zygapstolowski: I mean, if the hot plug code can provide any form of useful label10:38
zygapstolowski: (label doesn't have to be unique)10:39
zygalabel would be displayed there10:39
zygacan you think of any udev data that could be a good fit?10:39
pstolowskizyga: we can use any name as long as it can be derived from the data (i.e. udev event attributes)10:39
zygapstolowski: is there anything that has a useful value for your device?10:41
pstolowskihttps://www.irccloud.com/pastebin/MYiAtyU7/10:43
pstolowskizyga: so there is some room for creativity.. e.g. derive it from cleaned-up vendor name etc10:44
pstolowskizyga: with fallbacks of course, as any of that may be missing for clones i guess10:44
* zyga has completed all of the paperwork now10:46
pstolowskizyga: if you in the mood for reviews, i've 3 udev-related PRs that would be nice to land to unblock more interesing stuff10:47
mupPR snapd#5649 opened: packaging/opensuse: fix static build of snap-update-ns and snap-exec <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5649>10:48
mborzeckizyga: ^^10:48
zygamborzecki: looking10:50
zygamborzecki: I should be able to, I will look at reviews now10:50
zyga(well, after a small snack)10:51
zygamborzecki: that's neat10:51
zygamborzecki: where did you try it?10:51
zygamborzecki: I recall now that it didn't work (compile) on some versions of suse10:52
mborzeckizyga: opensuse debug shell ;)10:52
zygamborzecki: I will grab some food and then ensure it builds on the oldest supported leap (42.x)10:52
zygamborzecki: if it builds then that's great :)10:52
pedronismvo: btw we don't use Wait anywhere but tests, and daemon use Stop on overlord wich waits first for the loop, so I don't think any similar issue affects prod code10:52
mborzeckizyga: they have a quite byzantine rpm go integration, there's a script /usr/lib/rpm/golang.sh which wraps all go commands10:53
zygayeah I know, before that it used to be ruby10:53
zygaa golang SIG was formed at flock and suse is supposedly going to join as well10:53
mborzeckiheh, so maybe someone thought that shell is less arcane :P10:53
=== pstolowski is now known as pstolowski|lunch
zygabecause packaging across the two is totally different10:53
mborzeckiit'd be nice to see some consistency10:54
mborzeckiaand parallel install tests work now on opensuse once again10:55
mborzeckizyga: if you could https://github.com/snapcore/snapd/pull/564610:56
mupPR #5646: cmd/snap-confine: extend security tag validation to cover instance names <Parallel installs> <Simple> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5646>10:56
zygamvo: when is 2.35.0? is that now already?11:07
mborzeckihmmm there appears to be no real input validation when installing many snaps, so  `snap install '' bar` has funny side effect11:13
mborzeckierror: cannot install "", "bar": internal error: action without instance name11:13
mborzeckiso it went down to store.SnapAction() and stopped there :)11:14
pedronismborzecki: I think there are various bugs about error handling in multi-install, apparently is not a very used feature, so we mostly find them by playing on our own11:14
pedronismborzecki: also not sure it's relevant to what you are doing but we should change it to be like UpdateMany and do a single store request at the start11:15
niemeyerpedronis: I hope the change in task conflict you're working on will make this tend to work well more often11:15
mborzeckipedronis: i found it by accident with shellchecks, incorrectly added quoting of flags, those when empty ended up being a '' positional argument11:15
pedronisniemeyer: not sure this is related to conflicts11:16
pedronisotoh that change to make it more like UpdateMany would help conflict/concurrency work11:18
pedronisit's on my todo list, I know it would fix some of error handling issues as well11:19
pedronisnot this one, or not sure about this one though11:19
niemeyerLunch, biab11:22
=== cachio_ is now known as cachio
cachioChipaca, hey, do you remember the permissions error that I sent you yesterday11:27
cachioit is happening in the refresh scenatio11:27
cachioscenario11:27
cachiowhen we start from the factory release image and we refresh the core from beta11:28
zygacachio: hey. I checked the thing you asked about yesterday. With current master there is no error. I believe this situation is just because edge is currently not really edge but a release candidate build11:37
cachiozyga, hey11:37
cachioI am testing beta11:37
zygacachio: so all should be fine once edge starts tracking master again11:37
cachiozyga, do you mean some PRs were not included as part of this beta?11:38
cachioso we should wait for 2.36 for the fix?11:38
zygacachio: I think it's a version problem more than branch problem; the PR that included the test and the fix _passed_11:39
zygaI think 2.35.111:39
zygamvo: are we still in a situation where when we do a ~pre1 release for 35 we will have disabled reexec for people who track edge?11:39
cachiozyga, ok11:39
zygamvo: I'm trying to understand why exactly edge is breaking while master rebuild works ok11:40
mvozyga: I'm not sure I understand the question, we are that 2.35~pre111:40
zygamvo: do you know if the fix for fedora29 was included in 2.3511:40
zygamvo: ok, another way, which branch contains 2.35~pre1?11:40
mvozyga: I don't know but I can check, release/2.3511:41
* zyga checks11:41
zygamvo: thanks, let me look11:41
mvozyga: thats the branch that contains the 2.35~pre1 - I can/will do a ~pre2 or ~rc1 RSN11:41
Chipacacachio: fake store, or actual store?11:42
zygaah, I see11:42
zygaso 2.35 release branch has the fix11:42
zygabut yet the build in edge doesn't work11:42
zygahmm?11:42
mvopedronis: yeah, its just test code that uses stop11:42
cachioChipaca, the actual one11:42
* zyga is confused now11:42
zygabut the build from master works (and it has the same fix)11:42
mvozyga: maybe edge is behind11:42
zygamvo: edge is at ~pre111:42
mvozyga: and the snapd-vendor git tree is broken11:43
mvozyga: *grumpf*11:43
zyganot sure, I don't understand yet11:43
zygaI could build a dpkg from release/2.3511:43
mvozyga: there is a bug11:43
zygaand see what's the output11:43
cachiozyga, we here we are using a core image created using ubuntu-image, and in google we build it manually from ubuntu 16.04-64, could that affect in some way?11:43
zygacachio: it depends, is the package updated inside those environments?11:44
zygacachio: as in, is snapd really up to date?11:44
mvozyga: snapd-vendor-daily ppa builds are broken, I'm looking into this now11:44
zygamvo: ahh11:45
zygathank you!11:45
zygacachio: perhaps that explains it11:45
mvozyga: I triggered a rebuild, lets see11:45
zygamvo: thank you11:45
cachiomvo, I see snapd-vendor-sync in green11:45
cachiomvo, ahh, the ppa builder11:46
Chipacacachio: do you have the pastebin (from the permissions error) handy?11:51
cachioChipaca, https://paste.ubuntu.com/p/FJVhj5H2H7/11:52
cachioChipaca, the snaps which are before the core is updated are with wrong permissions11:53
Chipacacachio: were those snaps put there by hand?11:54
cachioChipaca, no11:54
Chipacacachio: by what then?11:54
cachioI just refreshed the core11:54
cachioand then ran the snapd test suite11:54
Chipacacachio: right11:54
Chipacacachio: but the snaps in seed/11:54
Chipacacachio: have the wrong permissions11:54
cachioChipaca, yes11:55
Chipacawait, and the refreshed ones do as well?11:55
cachioChipaca, those are the ones that come with the factory release11:55
Chipacacachio: I mean pc-kernel_126.snap and pc-kernel_45.snap both have the wrong permissions11:56
cachioChipaca, yes11:57
Chipacacachio: they're both in the factory release?11:58
cachioChipaca, pc, pc-kernel and core have wrong permissions11:58
cachioChipaca, I think so11:58
cachioand the refreshed snapd also have wrong permission11:58
cachioChipaca, I don't know if the core snap shol fix that, or it is ok?11:59
* Chipaca sings "everything is awesome" but with more realistic lyrics11:59
Chipacacachio: it sounds like a regression to me11:59
Chipacacachio: but also maybe a bug in ubuntu-image11:59
cachioChipaca, ok12:00
Chipacacachio: where can I get this image from?12:02
* Chipaca thinks prepositions are dandy things to end sentences with12:03
cachioChipaca, cheching12:04
cachioChipaca, http://cdimage.ubuntu.com/ubuntu-core/16/stable/20170323/ubuntu-core-16-amd64.img.xz12:05
cachioChipaca, I think this is the one I used12:05
cachioChipaca, it is an old one12:05
Chipacagetting12:05
Chipacaah12:05
mvozyga: and all builds are failing, oh well12:05
Chipacacachio: how old?12:05
mvozyga: anyway, on it12:05
Chipacacachio: that explains it12:05
zygathank you12:05
zygaI'm slowly getting back into production mode12:06
Chipacacachio: that, on its own i mean, could explain it12:06
zygaI managed to clean a pile of paper from my desk12:06
Chipacacachio: this permissions thing is not old12:06
cachioChipaca, ah, so I sholud skiip this test on the refresh sncenario?12:06
cachioChipaca, when I am using this image?12:06
Chipacacachio: the commit that made downloads be 0600 is from Jul 1012:07
cachioChipaca, ok12:07
Chipacacachio: not sure what release it landed it, this one might be the first with this check12:07
Chipacacachio: so, yeah12:07
cachioChipaca, ok, I'll skip it12:09
cachioChipaca, thanks12:09
Chipacacachio: everything after snapd restarted is 0600 so all is well12:11
=== pstolowski|lunch is now known as pstolowski
mvozyga: fun! fb730e1 broke snap building, the tests fail to run now when no snapd is running, I'm looking into the details, just a heads up.12:16
zygamvo: thanks, I found a small bug in snap-confine, patches soon, just fixing tests12:18
mupPR snapd#5650 opened: snap: fix mocking of systemkey in snap-run tests <Created by mvo5> <https://github.com/snapcore/snapd/pull/5650>12:35
mborzeckihm in some daemon tests we call postSnap directly, passing it a newly built http.Request, but inside it calls mux.Vars() which then tries to use the request's context to obtain the list of registeres uris, which is obviously empty at this point, so any attempts to recover vars from urls are useless12:35
Chipacamborzecki: that's why some tests mysteriously do .daemon()12:36
pedronisdaemon test would need love, there's  a bunch of style and cargo cultinting there12:37
pedronis*styles12:37
pedronisbut is never on top of anybody's list12:37
mborzeckiChipaca: this one does too, but unless the request is enriched with the context (or goes through gorilla's handler) mux.Vars won't work as expected12:37
Chipacamborzecki: set .vars?12:38
Chipacamborzecki: d := s.daemon(c)12:38
Chipacas.vars = map[string]string{"name": "foo"}12:38
Chipacaetc etc12:38
mborzeckipfff12:38
* mborzecki facepalms12:39
mborzeckineed more coffee clearly12:39
Chipacamborzecki: and then12:39
Chipacareq, err := http.NewRequest("GET", "/v2/snaps/foo", nil)12:39
Chipacaworks12:39
Chipacamborzecki: it's all mocks, all the way down12:39
mborzeckiyeah. s.vars is what's missing12:39
pedronisand tons of lines of tests12:39
pedronissome do what you want12:39
pedronisjust a matter of finding them :(12:39
pstolowskiniemeyer: we need to agree on a the better name for "disconnect-interfaces" task in #4767 ; that's the only point that i haven't addressed in the PR12:41
mupPR #4767: interfaces: disconnect hooks <Complex> <Squash-merge> <Created by stolowski> <https://github.com/snapcore/snapd/pull/4767>12:41
niemeyerpstolowski: Cool, let's talk on the stand up12:42
pstolowskigreat12:42
* zyga coffee break12:46
mupPR snapd#5651 opened: cmd/libsnap: unify detection of core/classic with go <Created by zyga> <https://github.com/snapcore/snapd/pull/5651>12:46
cachiomvo, https://paste.ubuntu.com/p/sDRd5txDsd/12:48
cachioI saw this error on an amazon linux instance12:48
cachioon google12:48
cachiomvo, could be related to the other issue in the forum?12:49
mvocachio: maybe but the error looks different, the stuff in the forum is more about excessively slow machines (at least it looks like this from the outside)12:50
mupPR snapd#5652 opened: cmd/snap, daemon: error out if trying to install a snap using empty name <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5652>12:51
mborzeckiChipaca: ^^12:51
Chipacamborzecki: is the client also erroring out?12:53
mborzeckiChipaca: yeah, both sides do the checking now12:54
Chipacamborzecki: I'll look in a bit, need caffeine (but sounds good)12:54
popeyWhere does snapd get the host OS name from? neon shows in the store as "neon", but that's neon 16.04. With neon 18.04 coming, it will still only show "neon" which doesn't help differentiate the two releases.12:54
popey(other OS's show the version)12:54
mborzecki2018-08-14 12:47:57 Cannot allocate google:ubuntu-16.04-64: cannot perform Google request: Get https://www.googleapis.com/compute/v1/projects/computeengine/zones: oauth2: cannot fetch token: Post https://accounts.google.com/o/oauth2/token: net/http: TLS handshake timeout12:56
Chipacapopey: /etc/os-release12:56
pedroniswe send both the ID and VersionID12:56
pedronisso it's more of a question how they are used12:56
popeythe stats page don't show the versionid bit12:57
mvo5648 is an easy win (and will fix armhf builds!)12:57
mvocachio: 5635 is probably interessting for you12:58
popeyID=neon12:58
popeyVERSION_ID="16.04"12:58
popeybut store just shows "neon". is this a bug in snapd or the store?12:58
pedronispopey: I'm saying snapd sends it, so it's a matter of store side processing here12:58
pedronisafaiu12:58
cachiomvo, nice12:58
zygamborzecki: one question on 565212:58
pedronisunless something else is breaking down12:58
Chipacapopey: sorry, are you talking about the user-agent?12:59
popeyi am talking about pages where we look at stats for installs of snaps12:59
pedronisafaik that's the only place we send that info through12:59
popeyhover your mouse over the metrics and hit gives you blobs with version name/number12:59
Chipacapopey: do you have a neon to poke at?12:59
popeylinux mint shows as "linuxmint" and zorin is "zorin", but Ubuntu is "ubuntu 16.04" or "ubuntu 18.04"13:00
popeyi am sat at neon now13:00
pedronisI wonder what's different13:01
popeyhttps://snapcraft.io/account/snaps/<snapname>/metrics?active-devices=os  is the graph I am talking about13:01
pedronisseeing the User-Agent might help13:01
pedronisI don't see code that would treat ubuntu specially13:02
popeyhttps://usercontent.irccloud-cdn.com/file/XnIsCGMj/This%20graph13:02
pedronisor it might be some store postprocessing13:03
pedronispopey: asking under a store topic in the forum might be best13:03
Chipacapopey: what does 'snap version' show?13:05
=== chihchun_afk is now known as chihchun
popeyhttps://pastebin.com/AFtMrKAN13:06
popeyOk, I'll ask on the forum.13:08
Chipacapopey: when you start snapd, what's the "started snapd/<blah blah>" log line?13:08
=== chihchun is now known as chihchun_afk
popeyuhm13:09
popeywhen *I* start snapd?13:09
Chipacapopey: journalctl -u snapd | grep started13:09
popeyAug 12 13:37:22 KinkPad-K450 snapd[4018]: daemon.go:343: started snapd/2.35~pre1 (series 16; classic) neon/16.04 (amd64) linux/4.15.0-30-generic.13:09
Chipacapopey: that's the user agent we're sending13:09
popeyOk, thanks :)13:10
popeyI'll include that.13:10
Chipacapopey: ubuntu's is: 2018/08/14 14:10:23.065715 daemon.go:343: started snapd/2.34+git209.g9c5287393.dirty (series 16; classic; testing) ubuntu/16.04 (amd64) linux/4.4.0-131-generic.13:10
Chipacawell, not the dirty testing bit13:10
Chipaca2018/08/14 14:11:11.274478 daemon.go:343: started snapd/2.34.3 (series 16; classic) ubuntu/16.04 (amd64) linux/4.4.0-131-generic.13:11
pedronisyea, os should be parsed by the store as 'neon/16.04'  so there should be some postprocessing13:12
pedronisaggregating13:12
popeyhttps://forum.snapcraft.io/t/why-does-neon-16-04-show-as-neon-in-the-store/686813:13
mupPR snapd#5643 closed: interfaces/builtin: addtl network-manager resolved DBus fix <Created by tonyespy> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/5643>13:20
mupPR snapd#5649 closed: packaging/opensuse: fix static build of snap-update-ns and snap-exec <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5649>13:28
mupPR snapd#5650 closed: snap: fix mocking of systemkey in snap-run tests <Critical> <Created by mvo5> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5650>14:04
mupPR snapd#5646 closed: cmd/snap-confine: extend security tag validation to cover instance names <Parallel installs> <Simple> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5646>14:32
mupPR snapd#5648 closed: hookstate: simplify some hook tests <Created by mvo5> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/5648>15:01
mupPR snapd#5652 closed: cmd/snap, daemon: error out if trying to install a snap using empty name <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5652>15:25
mupPR snapd#5647 closed: tests: shellchecks part 7 <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5647>15:27
mupPR snapd#5639 closed: snapcraft: set version information for the snapd snap <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5639>15:36
ogramvo, no unified pi gadget then ? *snoff*15:42
ogra*sniff* even15:42
* ogra had high hopes15:42
ogra(reading your core18 models proposal)15:43
mvoogra: the unified vs non-unified pi was discussed with niemeyer  and the conclusion was that if we ever need to "unbunble" them again we will be in a world of pain15:45
ograwhy would *we* unbundle them for the reference image ...15:47
ogracustomers would likely build single-pi ones15:47
ogradoing QA on 4 images vs 1 is definitely a massive cost factor15:47
ograbut well ... niemeyers decision then :/15:48
niemeyerogra: Because until a few days ago we needed different images.. they did a change that allows having a single image.. tomorrow they can do a change that requires different images again15:49
niemeyerogra: When that happens, we're in deep trouble, because the systems will update to the merged snaps regardless15:49
niemeyerogra: These devices are very unlike each other.. doesn't seem wise15:49
ograniemeyer, my proposal is a month old (admittedly only added to the forum 2 weeks ago) ... the name could be simply "pi" and if you want separate images you'd still ahve pi2, pi3, cm3 (and soon pi3b+)15:58
niemeyerogra: The age of the proposal is not in general something we account for :)15:59
ograniemeyer, this proposal was spoecifically for core18 only and the devices are identical on the SoC level, use the same kernel and will only differ by peripherials15:59
ogracore18 only -> new installs15:59
ograniemeyer, that age comment was about your "until few days ago" :)15:59
niemeyerogra: I also don't understand your point.. it sounds like this is what we debated, and replied to above?15:59
niemeyerogra: it doesn't matter if it was 10 days ago or 10 months ago.. the exact same point holds16:00
ograa system installed with the pi2 snap will not upgrade to a new "pi" (without 2) gadget16:00
ograso this would only affect new installs of core 1816:00
niemeyerogra: Exactly, which is why this is all a bad idea16:00
niemeyerogra: We don't want a pi3 using a pi2 snap16:01
niemeyerogra: We need a way to upgrade the pi3 to a pi3-specific snap16:01
ograand we could phase out the old separate gadgets once core 16 goes out of support16:01
ograwhich we cant do if we keep that schema16:01
ograthere is really no reason to have separate gadgets at all for mostly identical HW16:02
niemeyerogra: This is *not* mostly identical hardware.. the pi3 and pi2 have completely different chips16:02
ograupstream specifically offers the separation in the config to account for the different peripherials and we should be good downstreams and simply follw their guide here16:02
ograbut whateverm, the decision has happened and i have a meeting ... i just tried to be a good citizen towards downstream, save us money and maintenance work and have a future plan for post 18 times ... anyway, i'll live with it16:04
niemeyerogra: It's not an arbitrary decision.. I've explained exactly why this is necessary, and pointed out that the devices are not the same16:05
niemeyerogra:  THis is not "whatever".. this is a decision we are taking because there's a reason16:05
niemeyerogra: When you run out of bad arguments, please just be understanding16:05
ograniemeyer, just note that upstream offers a unified bootloader for all pi's from the same binary ... it was us that added an artificial separation here that i tried to overcome ...16:05
niemeyerogra: Instead of dismissive16:05
niemeyerogra: Thank you16:06
ograniemeyer, well, the decision is made, why should i still argue ...16:06
mupPR snapd#5653 opened: release: 2.35~pre3 <Created by mvo5> <https://github.com/snapcore/snapd/pull/5653>16:10
mvozyga: just fyi, edge core is back16:11
mupPR snapd#5617 closed: overlord/devicestate: DTRT w/a snap proxy to reach a serial vault <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/5617>16:20
pedronismborzecki: hi, sorry, had a bit of an afternoon of meetings, I will look again at your parallel installs PR in the morning16:27
mborzeckisure, thanks,, just fyi i'm off tomorrow so will do the fixes on thursday16:28
mborzeckipedronis: ^^16:28
pedronismborzecki: np, I remember correctly it was quite close16:31
pedronis*if I remember16:31
mborzeckipedronis: i've pushe some fixes based on comments form pstolowski and Chipaca16:31
pedronisok16:31
mupPR snapd#5654 opened: cmd/snap-confine: establish snap directory mappings for parallel instances <Parallel installs> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5654>16:35
mborzeckizyga: jdstrand: something for you guys ^^ :)16:36
mborzeckiok, back to fixing the flow heater16:37
=== pstolowski is now known as pstolowski|afk
rbasakI've registered my GitHub repository against build.snapcraft.io to automatically build my certbot snap. It's building it now. I have some tests I want to run against the installed snap. Is there any infrastructure that will help me with this (eg. Travis), or do I need to set something up myself? The key thing is that I want to CI the snap itself, rather than the code in the upstream repos (since they16:50
rbasakalready do that).16:50
ograrbasak, despite being old (and IIRC also unfinished) https://forum.snapcraft.io/t/new-tutorial-ready-for-review-continuous-delivery-with-travis-ci/135 might help16:57
ogra(or at least give some ideas)16:58
rbasakThanks!16:59
rbasakLooks like those instructions will allow me to do exactly what build.snapcraft.io is doing for me, but in Travis.17:01
rbasakI might be able to extend them though to further actually test the snap once built, which I don't think I can do on build.snapcraft.io currently.17:01
rbasakThere's quite some crossover here with https://forum.snapcraft.io/t/launchpad-post-build-pre-upload-testing/5545/317:03
rbasakAFAICT, nobody has thought about how to actually CI snaps themselves?17:03
rbasakSeparately, I can't seem to find a way to get build.snapcraft.io to build on a timer :-/17:04
rbasakThis is problematic since I'm not actually upstream so my webhook won't ever really fire (unless I change snapcraft.yaml)17:04
cachioChipaca, hey, what do yuou suggest to do with #559317:14
mupPR #5593: tests: new test for hostname-control interface <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5593>17:14
cachiowith the errors you found there?17:14
om26erHello! is there a way to have latest Qt with desktop-qt5 part ?17:35
om26erWe are snapping a PySide2 app and it requires Qt 5.1117:35
ograjust clone it and make your own ?17:36
om26erWhere does it live ?17:37
ograhttps://wiki.ubuntu.com/snapcraft/parts is wheer snapcraft pulls the info from ...17:39
ogramvo, this 1:30 snapd timeout on shutdown gets really annoying, did you manage to find where it comes from ?17:39
ogra(after auto-refreshes of core)17:40
mupPR snapd#5655 opened: snap,snap-exec: support command-chain for hooks <Created by kyrofa> <https://github.com/snapcore/snapd/pull/5655>17:47
kyrofaChipaca, if you have a few, that ^ should look very familiar17:47
mupPR snapd#5653 closed: release: 2.35~pre3 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5653>17:50
mvoogra: hm, I have not. could you please remind me tomorrow morning and we can dig into it17:58
ogravmo, sure18:00
ograbah18:00
om26erI am building a snap in Ubuntu 18.04 container, but it complains https://paste.ubuntu.com/p/H74sHhGkgH/18:16
om26eris there a way around that (instead of shipping libc6)18:17
mcphailom26er: Won't you need core18 to avoid that?18:19
om26ermcphail: is that possible ?18:25
mupPR snapd#5656 opened: debian: add missing breaks on comisc <Created by mvo5> <https://github.com/snapcore/snapd/pull/5656>18:33
sergiusensmvo there might be a small issue here https://paste.ubuntu.com/p/VmvrgGmNhC/18:45
mupPR snapcraft#2214 opened: sentry: support disabling error reporting <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2214>18:47
mupPR snapd#5657 opened: interfaces: add cpu-control for setting CPU tunables <Created by jdstrand> <https://github.com/snapcore/snapd/pull/5657>18:49
mupPR snapd#5658 opened: interfaces: add cpu-control for setting CPU tunables <Created by jdstrand> <https://github.com/snapcore/snapd/pull/5658>18:52
jdstrandzyga: hey, would you mind taking a look at ^. this is part of our L1TF response and would be nice to have in 2.3518:52
mcphailom26er: yes, although i don't think the store is ready for snaps requiring core18 yet18:54
om26ermcphail: in my case, I'll probably end up building Qt 5.9 myself to fix that above issue.18:55
om26erThough still not there yet.18:55
mcphailom26er: i think it is safe to say core18 is eagerly anticipated18:56
ograjdstrand, shiny !! what about access to the thermal, cpufreq and cpuidle nodes ?19:12
jdstrandogra: not opposed to adding those with specific use cases19:12
ogra(or would these go into separate interfaces)19:12
jdstrandthermal maybe separate?19:12
ograyeah19:12
jdstrandcpufreq and idle probably in cpu-control19:13
ograyeah, i think that makes sense19:13
ogra(i dont really have a use case yer apart from someone packaging up cpufreq-utils in a snap or some such )19:13
ogras/yer/yet/19:13
ograbut i think being able to access them through such an interface makes a lot of sense19:14
mupPR snapcraft#2189 closed: project_loader: add basic template support <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2189>19:35
om26erogra: who maintains for desktop-qt5 cloud part ?19:41
mupPR snapd#5609 closed: tests: new test for juju client observe interface <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5609>19:54
ograom26er, sould be noted in the wiki entry19:59
ogra*should19:59
ogra(there is surely a GH link there from wher the code is pulled)20:00
om26erright, it links to https://github.com/ubuntu/snapcraft-desktop-helpers20:02
om26erand the qt directory was last touched over a year ago, though the snapcraft.yaml there doesn't really make much sense ;-)20:04
om26erapparently kde-frameworks-5 snap have a slot kde-frameworks-5-45-qt-5-9-ubuntu-1604 maybe I could try "plugging" into it, before going for a custom Qt build.20:09
jdstrandpopey: hey, can you add https://forum.snapcraft.io/t/tio-request-for-classic-confinement/6209/15 to your list?20:11
jdstrandpopey: hey, this one too if you don't mind: https://forum.snapcraft.io/t/classic-confinement-for-minizinc/6529/420:52
mupPR snapcraft#2196 closed: build providers: better injection logic <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2196>23:57

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