/srv/irclogs.ubuntu.com/2018/10/18/#snappy.txt

mupPR snapcraft#2360 closed: plainbox-provider plugin: add support for bases <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2360>00:20
mupPR snapd#5957 closed: overlord/snapshotstate/backend: fall back on sudo when no runuser <Snapshots πŸ“Έσ Ÿ> <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/5957>00:49
mwhudsonwhat's the story with libseccomp and trusty and arm64 and ppc64el?02:11
mwhudsonsnapd is stuck in trusty-proposed because of this02:11
mwhudsonoh wait no that's not why02:12
mborzeckimorning05:06
zygaHey05:34
zygaDid05:34
zygaHaha05:34
zygaMy phone just fell and wrote this05:34
mborzeckizyga: hey05:37
mborzeckimust be ai05:37
zyga Hey mvo06:17
mborzeckimvo: hey06:17
mvohey zyga and mborzecki06:17
mvohow is life today?06:18
mborzeckimvo: all red06:18
mvourgh06:18
mvodo we know why?06:19
* mvo looks06:20
zygaIt is all red because summer is over06:21
mborzeckimvo: random stuff afaict, there was some store hiccup yday too, maybe somewhat related06:21
zygaWell, that is one theory06:21
zygaStore was broken06:21
zygaSo perhaps that is why06:21
* mvo nods06:22
=== chihchun is now known as chihchun_afk
mborzeckididn't we disable gccgo?06:37
mvowe can now, we got agreement we no longer need to support it06:38
=== chihchun_afk is now known as chihchun
mborzeckihttps://api.travis-ci.org/v3/job/442894803/log.txt the gccgo unit tests died in most mysterious way here06:40
mborzeckithis PR https://github.com/snapcore/snapd/pull/598906:41
mupPR #5989: interfaces/system-key: add parser mtime and only discover features on write <Created by jdstrand> <https://github.com/snapcore/snapd/pull/5989>06:41
mborzeckiuhh, restarted the job, the log is gone :/06:42
mwhudsonmvo: golang-1.10 is in proposed everywhere now \o/06:47
mvomwhudson: awesome, thank you so much!06:50
pstolowskimornings07:03
pstolowskimvo: thank you for getting to the bottom of decoding issue! i've left a comment07:04
pedronispstolowski: is normalize enough though, any number ends up out of state as float, no?07:06
mvopstolowski: thank you! also to pedronis for his comments. I figured this would need more discussion :)07:08
mvopstolowski: if you know what to do, feel free to just take my PR (or just cherry pick the commit if its useful) and go wild07:08
pstolowskipedronis: hmm but not with json.DecodeWithNumbers as mvo proposed?07:09
pedronispstolowski: indeed, but we still need to massage that07:09
pedronisI mean there is still a missing link07:10
pedronisone approach would be to teach normalize about json.Number I suppose07:11
pstolowskimvo: sure, i'll dig into it07:11
zygapedronis: yeah, I think we should do exactly that07:11
pedroniswe probably want to call normalize before NewConnection though07:11
pstolowskiit's annoying this is a second instance of such issue (first was around configuration afair)07:11
mupPR classic-snap#22 closed: make snapcraft.yaml architecture specific <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/classic-snap/pull/22>07:11
pedroniscarrying around Numbers07:12
pedronisis a bit strange07:12
mvopedronis: yeah, I was thinking that (normalize learns about json.Number), I have something local but its so trivial that I'm not sure its worth pushing07:12
mvo(on top of the UseNumbers PR)07:13
zygamvo: shall I merge https://github.com/snapcore/snapd/pull/6012 ?07:14
mupPR #6012: interfaces: fix NormalizeInterfaceAttributes, add tests <Created by zyga> <https://github.com/snapcore/snapd/pull/6012>07:14
zygado you want it squashed?07:14
mborzeckidamn, was checking out a problem with apparmor profiles not being loaded on arch, turns out i forgot to enable snapd.apparmor.service07:14
mvozyga: I get the feeling we will need it squashfs yes07:16
mvozyga: please do07:16
mupPR snapd#6012 closed: interfaces: fix NormalizeInterfaceAttributes, add tests <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6012>07:17
mvozyga: thanks, I will cherry-pick into 2.3607:18
zygathank you!07:18
mvothank *you*07:19
mvopstolowski: keep me updated please, I will go back to core18 (unless you want me to help of course)07:19
mupPR snapd#6009 closed: cmd: use relative file names in locking APIs <Simple πŸ˜ƒ> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6009>07:20
pstolowskimvo: will do, thanks07:21
pstolowskimvo, pedronis we could maybe make getAttribute reflect check smarter, if you convert to int if that's what caller requested, wdyt?07:27
pstolowskisorry, mistyped07:27
pstolowski we could maybe make getAttribute reflect check smarter and convert to int if that's what caller requested07:27
pedronispstolowski: it's a bit too different from what we do everywhere else07:28
pedronispstolowski: I think the result of getConns07:28
pedronisneeds to be sane07:28
pstolowskii see, fair point07:28
pedronispstolowski: btw, do we have a similar problem with dynamic attributes?07:29
pedronisI know we normalize but is a bit unclear if that's enough07:29
pedronispstolowski: we can reboot in the middle of an op and then dynamic attributes would also come from state on disk07:29
pstolowskipedronis: i'm not sure anymore tbh, possibly yes, i trusted normalization but missed that json decoding/encoding problem07:30
pedronispstolowski: we might want to write some kind of test about that07:30
pstolowskipedronis: yes, this what i'm aiming at first07:31
pedronisneeds to serialize and unserialize state with dynamic attrs07:31
pedronisin it07:31
mupPR classic-snap#20 closed: port classic to UC18 and put into "18" branch <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/classic-snap/pull/20>07:54
mupPR snapd#6015 opened: tests/unit/gccgo: drop gccgo unit tests <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6015>07:54
mvohey sil2100 - happy release day07:59
sil2100mvo: hey! Happy release day o/08:02
zygais today 18.10 day?08:04
mupPR snapd#6016 opened: [RFC] move various name validation helpers to snap/name package <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6016>08:10
mborzeckipedronis: hi, the snap name split proposal ^^08:11
zygamborzecki: did you see https://forum.snapcraft.io/t/snapd-2-35-2-error-run-hook-configure-cannot-set-core-schedule-unsupported-system-option/805108:37
mborzeckizyga: core.schedule?08:37
zygamborzecki: didn't look at this more than "looks like something you might know"08:40
mupPR classic-snap#23 opened: create,classic: make the classic snap work on classic distributions (for 18) <Created by mvo5> <https://github.com/snapcore/classic-snap/pull/23>08:45
mborzeckiopensuse mirrors at it again :(08:57
mvozyga: I updated classic snap PR (21) you commented about. I will do shellcheck next and tests after that (need to think a bit about the tests)09:08
zygamvo: can we use classic to run a script?09:09
mvozyga: now we can09:09
zygaso that we could test "running scripts inside classic" via spread?09:09
mvozyga: it was broken before09:09
zygaapt-get install && run something would be useful :)09:09
zygaperhaps a cli and a service?09:09
mvozyga: sounds good, services are not supported (deliberately) but that needs a test too09:10
zygaah I see09:10
Chipacamvo: not supported as in won't install, or won't start?09:12
Chipacadid we come to an agreement about having 'install' not error if a service didn't start?09:13
Chipacaactually, before i get carried away: i need to go get a new phone :-(09:13
zygaoh09:13
zygawhat happened?09:13
mvoChipaca: correct, not starting09:13
Chipacascreen cracked, including the touchscreen, so no unlocking, so no 2fa09:13
mvoChipaca: it will install fine (the service) but there will be a message that it won't run09:13
Chipacamvo: nice09:13
niemeyerChipaca: There's a Go app that generates the 2fa if you can still login.. it's quite convenient09:20
niemeyerMoins09:21
mvogood morning niemeyer09:23
niemeyerI'm a bit under the weather today, but feeling better compared to the night.. my voice just sounds like someone that shouldn't try to sing did some really hard singing09:23
mupPR classic-snap#24 opened: add shellcheck and fix warnings <Created by mvo5> <https://github.com/snapcore/classic-snap/pull/24>09:24
zygamborzecki: hey, do you have a second09:27
mborzeckizyga: hm?09:27
zygaI'm looking at a bit of shell and not sure why it is structured like that09:27
zygamborzecki: please look at snap-mgmt.sh.in, line 12209:27
zygamborzecki: why do we do first a find09:28
zygaand then a for loop over a what looks like identical glbo09:28
zyga*glob09:28
zygawhy not just iterate over find results?09:28
zygais this fixing something?09:28
mborzeckizyga: don't know, i see it's the same in postrm in debian packaging, probable made its way from there09:30
pedroniszyga: probably the find and the glob fail differently09:36
pedroniszyga: it has a note in the postrm that some bits of that might not be mounted09:38
pedroniszyga: try  for a in /nonexisting/* ; do echo $a ; done  for example09:39
zygaright but the find would behave correctly?09:39
zygacould we not just iterate over results from find?09:39
pedroniszyga: the find fails too09:40
pedronisbut the wc -l09:40
pedronismakes it work09:40
zygaah, I see09:40
zygaright09:40
zygabecause set -e is not active for pipe chains09:40
zygamakes sense, thank you pedronis09:40
pedronisbut yes, maybe those needs for comment09:41
pedronisis usual shell fun09:41
zygayes :)09:41
pedroniss/for/more/09:41
mborzeckithe whole block should use find, `for mnt in $(find /run/snapd/ns -maxdepth 1 -name '*.mnt'); do ... done` or just find with -exec09:45
mborzeckiheh, actually find is used properly in the file in some places, just not everywhere09:47
mvomborzecki: yeah, I think it was just a suboptimal fix, looking at git history09:50
mvomborzecki: go ahead and make it great :)09:50
pedronismborzecki: ?09:51
pedronismborzecki: that doesn't work if /run/snapd/ns doesn't exist09:52
zygapedronis: I tested it just now09:52
pedroniszyga: ?09:52
pedronisdo you have /run/snapd/ns ?09:52
zygafor i in $(find /nonexistent); do echo $i; done.09:52
zygait says that the directory doesn't exist but exits successfully because of the sub-shell09:53
pedronisyea, that error is not nice though09:53
zygayeah, I think we can make it better still, let me experiment09:53
pedronisanyway not sure it's the best time spent09:53
pedronisat this moment09:53
pedronisthe current code is weird but not wrong or insane09:54
zygaI'm looking because I got a odd failure in that area09:54
mborzeckitest -d .. && for .. ?09:54
zygabut perhaps 14.04 specific09:54
zygait seems a symlink confused the inner parts of the loop09:54
Chipacaniemeyer: wrt #5906, what about: we keep the old behaviour, but also add a zeroth implementation of fields=,  just to cover media?10:14
mupPR #5906: snap, client, daemon, store: use and expose "media" more <Squash-merge> <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/5906>10:14
Chipacaniemeyer: e.g. fields=+media10:14
Chipacaniemeyer: this assumes media is the end game tbh, which i'm not sure is what you meant10:15
Chipacaniemeyer: but I got conflicting messages yesterday as to whether it was the shape, or the duplication that you objected to10:16
Chipacamaybe it's both Β―\_(ツ)_/Β―10:17
niemeyerChipaca: It's both the shape and the duplication.. my concern is that we can't change our minds regularly once we have an API in the wild.. the best scenario is that the API is self-consistent, so we have a line of design that we can be truthful towards..10:18
niemeyerChipaca: I wish we had media on day one, but we don't.. even if we agree this is the way to go, adding the field means being neither here nor there. If we keep this kind of design mindset, soon this will be a huge mess.10:19
Chipacaniemeyer: which is the design mindset you object to?10:20
niemeyerChipaca: The mindset that it's okay to make the API inconsistent with itself everytime an idea that looks better than the prior one shows up10:20
Chipacaniemeyer: ok10:20
greybackquick qn: I have qemu-kvm installed but spread still fails for me with: https://pastebin.ubuntu.com/p/WxVpFGrJwD/ (selected qemu image exists and was created using adt-buildvm-ubuntu-cloud). Any idea what I'm doing wrong?10:20
Chipacaniemeyer: how do we evolve the api, then? is the only way to have big versioned jumps?10:21
Chipacagreyback: is 'kvm' actually in PATH?10:21
greybackChipaca: yes10:22
pedronisChipaca: we need to design how to evolve the api10:22
niemeyerChipaca: Yeah, that's generally what I try to do in other cases that resembled that kind of evolution. Learn, write down potential ideas, and once there is a great reason to break up, introducing a whole new API, and then reset the idea of what the current design is10:22
Chipacagreyback: all spread does is exec.Command("kvm",  ...), which looks for "kvm" in $PATH10:22
pedronisChipaca: I don't think keeping its shape as it is is tenable for much longer either10:22
greybackChipaca: the $PATH specified in the spread.yaml?10:23
niemeyerpedronis: What's the potential deal breaker10:23
niemeyer?10:23
niemeyerI haven't observed many complaints about the API yet10:23
niemeyer(which doesn't mean they don't exist)10:23
pedronisniemeyer: we already had to introduce duplication10:24
pedronisniemeyer: the flat top-level that mixes namespaces we don't fully control or have to control for not the best is not great either10:24
niemeyerpedronis: If the duplication you mention is developer/publisher, these are not actually duplicated, in the sense they were supposed to potentially represent different people.. we do have a problem which is not using the same structure for both, so indeed an inconsistency10:26
niemeyerpedronis: What's the flat top-level about?10:26
pedronisniemeyer: I understand that you think we can keep under control but an api that has at top level ,  left-corner-hero-icons is not great10:27
niemeyerpedronis: Sorry, I'm still missing what you really mean. If we can't keep the API under control, we're in the wrong business. :)  What's left-corner-hero-icons?10:38
Chipacagreyback: I don't think so, that's the one 'inside'; it uses the outside path to find that10:39
Chipacagreyback: e.g. i have  ~/bin/kvm because I like to monkey with the args (adding -smp 4 for ex)10:39
Chipacagreyback: and that just works10:39
Chipacaniemeyer: adding a toplevel entry per media type10:40
greybackChipaca: ack. I'm reading spread code now, I see what you mean. I think my issue is permissions and kvm, trying to sort that out10:40
Chipacaniemeyer: will end up with e.g. left-corner-hero-icons at the top level10:40
pedronisor not10:40
niemeyerChipaca: Only if that's how we design it10:40
Chipacawell, but that's what we're proposing now isn't it?10:40
niemeyerChipaca: That sounds like a pretty terrible design10:40
pedroniswe should not be designing that10:41
pedroniswe have lots of thinks to design10:41
Chipacawe're saying:  don't do media, let's just have a toplevel per media type10:41
niemeyerChipaca: That's why I one of the first things I asked is what are the media types we have10:41
pedronisniemeyer: btw there are a meeting about exactly desiging those types, and nobody of us has been invited10:42
Chipacaniemeyer: there's a meeting next week to decide that10:42
niemeyerChipaca: If we have several icons, we can have an "icons" field10:42
pedronisniemeyer: I let you meditate on that, I have zero energy for this10:42
pedronis(which is sort of the point)10:42
Chipacai just don't get why we care. the consumers of our api need something, the providers of the data we consume offer that something, why would we not funnel it across untouched10:43
Chipacai mean, i get that we don't want duplication10:44
Chipacaand we don't want it to be ugly10:44
niemeyerChipaca: Alternatively, we can have a plan to obsolete the other fields.. we'll need to figure who uses them and what events we need to wait for in order to kill them10:44
pedroniswhich was my point10:44
pedroniswe need to think how to evolve10:44
pedronisthe api10:44
Chipacabut that just means we have a chat to make sure we're on the same page (i thought we were) and just pass it through10:44
pedronisnon-evolving it10:44
pedronisis not a path either10:45
niemeyerChipaca: My main complaint here is the lose way to evolve the API10:45
niemeyerloose10:45
Chipacai thought your main complaint was the shape and the duplication10:46
pedronisI'm happy to have a conversation how not-loosely evolve the api, I'm less api to be forced to be in all conversation because our api is too set in its way10:46
Chipacasigh10:46
Chipacaniemeyer: i thought fields= gave us a way to evolve the api10:47
pedronisChipaca: on that I agree with niemeyer, is too flaky10:47
pedronisannoying10:47
pedronisI mean it can be part of the picture10:47
pedronisbut cannot be the whole solutions10:47
pedronisalso because we have zero control on when we can drop stuff10:47
pedronisthat way10:47
Chipacai haven't heard a proposal that gives us any amount of control on when we can drop stuff10:48
niemeyerChipaca: That is my main complaint... the shape and the duplication are symptoms of a loose API10:48
niemeyer"Chipaca: Yeah, that's generally what I try to do in other cases that resembled that kind of evolution. Learn, write down potential ideas, and once there is a great reason to break up, introducing a whole new API, and then reset the idea of what the current design is"10:48
pedronisChipaca: we can discuss some10:49
pedronismaybe10:49
Chipacaniemeyer: introducing a whole new api is not what i thought of as evolving the api10:49
niemeyerand10:49
niemeyer"Chipaca: Alternatively, we can have a plan to obsolete the other fields.. we'll need to figure who uses them and what events we need to wait for in order to kill them"10:49
pedronisniemeyer: that works only if you control all the pieces around the api10:49
niemeyerChipaca: Both of these are proposals for how to keep an API tight while allowing for changes over time10:49
niemeyerChipaca: Incompatible changes, that is.. changing is easy10:50
Chipacaand saying we can have a plan is not a plan :-)10:50
pedronisChipaca: one idea is to have versions for different consistent views of/on a snap10:50
pedronis(views = set of fields if you want)10:50
niemeyerChipaca: Heh.. I'm not sure how to satisfy that kind of snarky request for plans.10:51
Chipacaapologies if I'm coming across as grumpy or overly confrontational10:51
niemeyerChipaca: I've been trying to explain what the main issue in my view is, and what potential ideas for solving it could be10:51
pedronisanyway at the moment we have two solutions that are problematic, don't care duplications, and forcing something that is loose into the top-level10:51
Chipacaniemeyer: it's ok to admit we don't have a plan and that we need one10:51
pedronisboth *are* problematic10:52
pedronisand one will also create potentially tensions10:52
pedronisfor which is unclear we have time to spend10:52
niemeyerChipaca: I don't know what you want, honestly. I'm offering two alternatives, both of them are real ways to work together and evolve the API. Just repeating that you want a plan or want people to admit to not have a plan is completely irrelevant.10:52
pedronisI want a plan to be able to obsolete fields10:53
niemeyerpedronis: The only way to do that is to evaluate the impact... once we stop providing a field, we break people that depend on that field being there.10:53
mupPR classic-snap#25 opened: Add simple spread tests <Created by mvo5> <https://github.com/snapcore/classic-snap/pull/25>10:54
pedronisso this is much easier on servers, but we there should be a way for us to track field10:54
pedronisusage without being nosy10:54
niemeyerpedronis: The alternative of reving up the API allows us to have a consistent new API without breaking the old one. It won't remove the old one, but it does obsolete the field as a side effect.10:54
niemeyerpedronis: Right10:55
pedronisyes, of which a variant is to rev the response format only10:55
pedronisif that's is enough10:55
niemeyerpedronis: Right.. that's the /v3/10:55
pedronisor using Accept10:55
pedronisor something10:55
pedroniswe do have options10:55
pedronisnot sure we can find a solution today and tomorrow10:56
pedronisbut we do have options10:56
niemeyerpedronis: Yeah.. as mentioned earlier, in those situations I try to pack up a few high-profile changes that are clear reasons for the effort of breaking the API apart between vN and vN+110:57
Chipacaso, I want two things: I want to not block gnome software from getting the media they need today, and I want to be able to ditch the current response format entirely soon after we move to v2 search10:57
Chipacaa clear reason for breaking the api is that we're moving to not conflating per-revision and per-snap information10:57
Chipacaand our current structure does not allow for it10:57
niemeyerChipaca: Is there a place I can read more about the second issue?10:58
Chipacaniemeyer: not sure if there's info on the issue; there's info on the solution10:59
* Chipaca looks10:59
zygamvo: reviewed10:59
* pedronis needs to have lunch + errand11:00
niemeyerChipaca: That's a big document.. is there a particular issue or header I should be looking at?11:02
Chipacaniemeyer: yeah, and as I say it doesn't describe the issue, just the solution, under the "Response" header11:03
Chipacaniemeyer: there's a "snap" object with per-snap members, and at the same level a "channel-map" list with per-revision objects11:04
niemeyerChipaca: If we don't have a clear problem being solved, in general I'd be tempted to not introducing the breaking API change11:04
niemeyerChipaca: and instead pack it next to other ideas for the time it's rev'd up11:05
Chipacaniemeyer: the problem is that we conflate per-snap and per-revision, so for example 'snap info' lies (to the best of its ability)11:05
Chipacaof course one could argue that lying in this way is the only sane approach11:06
niemeyerChipaca: Yeah, I remember these discussions when we redesigned the original API.. but I have memories of the issue going beyond the representation of the result, and into actual usability, in the sense it's convenient for the user to have "snap info foo" doing the right thing11:07
niemeyerChipaca: Right, what you just said11:07
Chipaca:)11:07
Chipacaniemeyer: I've got to move on to other things now11:09
zygamborzecki: I added debug, doesn't reproduce :)11:11
zygasame seed11:11
zygasame tree11:11
zygatwo runs in parallel11:11
zygaI hope I can get to the bottom of this11:11
mvozyga: thanks for the review11:12
niemeyerChipaca: Me too.. tasty things11:14
* zyga -> walk11:24
* pstolowski lunch11:32
zygamborzecki: ha11:34
zygareproduced that same behavior11:34
zygamborzecki: I think I know what's going on11:34
zygaand it does look exactly like the centos case11:34
zygalet me spawn a more regular VM and try11:34
mborzeckimhm11:34
mborzeckicentos was failing in the same place when calling snap-mgmt purge11:35
zygaEBUSY https://www.irccloud.com/pastebin/1eVl6UTk/11:35
zygamborzecki: look at that please11:35
zygawaoh wait11:35
zygait's ever more mysterious!!!11:35
zygathat makes totally no sense!11:36
zygafeels more and more like a kernel bug?11:36
zyga+ umount -l /run/snapd/ns/test-snapd-tools.mnt11:36
zygaumount: /run/snapd/ns/test-snapd-tools.1000.mnt: not found11:36
zygaI'll add more debug, I wonder if there are some interesting processes running in parallel with postrm11:41
zygaand what's the full content of that directory before we loop over it11:41
Chipacawhy would 'common' not get created, on opensuse and fedora?11:41
mborzeckiChipaca: just common? which test?11:42
Chipacaactually opensuse might be a different issue11:43
Chipacamborzecki: https://api.travis-ci.org/v3/job/442964462/log.txt11:43
Chipacamborzecki: second failure there11:43
Chipacamborzecki: sorry,  third11:43
Chipacafirst is shellcheck, second opensuse, third fedora11:43
Chipacasnapshot fails if common is missing11:44
Chipacaand, common is missing, wtf11:44
greybackChipaca: I had permission errors with kvm, which caused the issue. Binary was there, just failing. Working now. Thanks for the help11:44
Chipacagreyback: np11:44
Chipacagreyback: was the error misleading, or was that what the os was reporting?11:45
mborzeckiChipaca: selinux?11:45
mborzeckiChipaca: there were some changes in creating snap dirs, but we have tests that verify that those are present iirc11:45
Chipacamborzecki: it's not consistently reproducible11:45
greybackChipaca: misleading error. strace showed me the kvm binary was being run, but printing an error11:45
zygaSmall break11:46
Chipacagreyback: what was the error?11:46
greybackChipaca: "need to run as root or suid"11:46
Chipacagreyback: ah, not an error from exec?11:47
greybackChipaca: right11:47
greybackI'll log a bug11:47
Chipacagreyback: looks like a bug in go11:48
Chipacagreyback: is that because you weren't in the kvm group or something?11:49
greybackChipaca: essentially yeah (modulo some other group error I'd made)11:49
Chipacagreyback: do you happen to have the strace?11:51
greybackChipaca: unfortunately not, sorry. I'll see if I can repro, once my spread run finishes11:52
Chipacagreyback: thank you. I tried to repro locally and couldn't.11:58
Chipacagreyback: (running spread as "nobody" just hangs, which is weird but different)11:59
Chipaca#6007 could use reviews12:02
mupPR #6007: tests/lib: add an @mozilla.com exception to the CLA checker <Simple πŸ˜ƒ> <Created by chipaca> <https://github.com/snapcore/snapd/pull/6007>12:02
mborzeckioff to pick up the kids12:15
mupPR snapcraft#2363 closed: {make,cmake,autotools} plugin: add support for bases <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2363>12:30
jdstrandmvo: ok, after *many* retries I finally got PR 6002 to pass spread. continuing to mash restart restart for PR 598912:30
mupPR #6002: interfaces/system-key: add parser mtime and only discover features on write - 2.36 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/6002>12:30
mupPR #5989: interfaces/system-key: add parser mtime and only discover features on write <Created by jdstrand> <https://github.com/snapcore/snapd/pull/5989>12:30
mvojdstrand: thank you12:31
jdstrandI'm not sure what is going on. the failures are timeouts in some dbus code (totally unrelated to my PR)12:31
jdstrandanyway, will continue to keep mashing12:31
jdstrandmvo: if there was time, it would be great to get 5981 and 5982 reviewed and in trunk (cc zyga). if not, I understand12:33
mvojdstrand: let me have a look12:36
* zyga is a bit indisposed now, sorry :|12:36
zygamvo: is 2.36 today?12:37
zygaI will review it but I need to break for some time, food poisoning :(12:37
zygamvo: my update for today: I updated adb interface again, worked on snap-update-ns per-user support, which is looking good, expect PRs today, digging into the weird issue with unmount I talked to mborzecki about12:38
zygajdstrand: https://www.irccloud.com/pastebin/1eVl6UTk/ FYI12:38
zygajdstrand: carefully read lines 26 and 2712:39
mupPR classic-snap#23 closed: create,classic: make the classic snap work on classic distributions (for 18) <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/classic-snap/pull/23>12:39
zygathis is on a 4.5 kernel12:39
* zyga goes away again12:39
Chipacamvo: see my note on #6013 being a blocker for 2.3612:43
mupPR #6013: Revert "snap, client, daemon, store: use and expose "media" more (#5906)" <β›” Blocked> <Created by chipaca> <https://github.com/snapcore/snapd/pull/6013>12:43
mvoChipaca: 'k12:44
mvoChipaca: we have at least one more blocker12:44
jdstrandmvo: speaking of blockers. I know we discussed the bug, and I think it was implied, but PR 6002 should be a blocker too12:44
mupPR #6002: interfaces/system-key: add parser mtime and only discover features on write - 2.36 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/6002>12:44
mvojdstrand: +112:53
ackkhi, I'm having an issue with a snap that stages jq from the deb. it seems snapcraft stopped pulling in libjq1.so, so jq doesn't work anymore13:10
ackk(I'm using snapcrafat edge)13:10
ackk*snapcraft13:10
ackkhttps://github.com/CanonicalLtd/candid/blob/master/snap/snapcraft.yaml is the snapcraft config13:15
ackkah, n/m I figured it out13:25
Chipacamborzecki: polish is hard, let's do roadmap planning13:32
mborzeckiheh :)13:32
zygamborzecki: I know what is was!13:39
mborzeckizyga: umounts?13:40
zygayes13:40
zygaI'll share after meeting13:40
mborzeckiok13:41
Chipaca#5955 is green; plz review14:00
mupPR #5955:  cmd/snap, tests: snapshots for all <Snapshots πŸ“Έσ Ÿ> <Created by chipaca> <https://github.com/snapcore/snapd/pull/5955>14:00
zygabrb14:03
zygamborzecki: I have a fix14:03
mborzeckizyga: diff?14:04
ppisatiogra: FYI - https://lists.ubuntu.com/archives/kernel-team/2018-October/096147.html14:17
* cachio lunch14:27
mvozyga, cachio thanks for your classic snap review(s) - I updated 2514:30
zygamborzecki: I just tested it manually, the fix is to avoid lib mount in a test I changed14:36
zygamborzecki: I'll ping you for review :)14:36
pstolowskimvo: i've pushed my additions to json issue fix to https://github.com/stolowski/snapd/pull/new/fix-conn-attributes-numbers ; i've added normalization, one more test and updated hooks spread test. would you like to merge this into your PR or shall I re-propose a new one?14:41
mvopstolowski: either way is fine14:42
greybackChipaca: aaand naturally I cannot reproduce the bug now14:42
pstolowskimvo: ok i'll propose a new PR14:42
mvopstolowski: ok14:44
mupPR snapd#6017 opened: interfaces: fix decoding of json numbers for static/dynamic attributes <Created by stolowski> <https://github.com/snapcore/snapd/pull/6017>14:49
zygapstolowski: sent a quick comment there14:54
pstolowskizyga: yep, ty14:54
=== chihchun is now known as chihchun_afk
mupPR core18#85 opened: Add wpa-supplicant to the list of installed packages <Created by sil2100> <https://github.com/snapcore/core18/pull/85>15:00
mupPR core18#85 closed: Add wpa-supplicant to the list of installed packages <Created by sil2100> <Merged by sil2100> <https://github.com/snapcore/core18/pull/85>15:22
zygajdstrand, niemeyer: cool interaction observation: on macOS doing find $HOME triggers an interactive question from the system "terminal wants to access your contacts" - rejecting that I get a denial to enter a particular folder on disk; that would be an interesting way to manage system connections15:29
niemeyerzyga: If only the kernel offered us a way to make these decisions...15:30
zygayes, that's true15:31
zygaI was just surprised to see this15:31
Chipacazyga: niemeyer: we did have a plan to almost get there15:32
Chipacabut it was a lot of work, and not prioritised15:32
zygaI could use a coffee15:35
zygabut let me wrap one thing up first...15:35
jdstrandzyga, niemeyer: fyi, the apparmor prompting work is still being worked on. jjohansen made a good bit of progress15:46
zygamborzecki: I fired another round of tests now, with the fix in place15:48
slvn_slvn16:12
slvn_hi, I have an issue with snapcraft.io16:12
slvn_the website does not seem to take care of categories16:13
slvn_hence the search engine is not working correctly16:13
slvn_I have 10 snaps games that are published for a while. Only two of them appear in the listing of snapcraft.io when searching in "Games", but appears in "All snaps".16:14
noise][slvn_: we have some upcoming feature work to allow for publishers to self-select categories, but in the meantime if you can provide a list of your game snaps that need to be categorized in a forum post I can get someone from our advocacy team to review and get them associated to the category16:24
slvn_ok great !16:40
mupPR classic-snap#25 closed: Add simple spread tests <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/classic-snap/pull/25>17:06
niemeyermvo: classic-snap#20 already went in, but fwiw thanks for the explanation. Sounds reasonabe17:10
mupPR classic-snap#20: port classic to UC18 and put into "18" branch <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/classic-snap/pull/20>17:10
cyphermoxmvo: ping17:17
cyphermoxmvo: I have just tested rev 445 of core18; adding wpasupplicant fixes the wifi connection issues (I can connect fine now)17:17
cyphermox(this is armhf+raspi3)17:17
zygacyphermox: if you have an image I can test the dragon board17:23
cyphermoxzyga: it was pre-testing, sil2100 will kick off a real build to get you a dragon image.17:26
zygacool, sil2100 just let me know17:26
sil2100Will be kicking off a new image soonish17:27
zygagreat, just let me know (with the URL, I never remember those)17:33
sil2100zyga: sure!17:35
=== Pharaoh_Atem is now known as Conan_Kudo
=== Conan_Kudo is now known as Pharaoh_Atem
mvocyphermox: yay, thank you17:40
sil2100mvo: strange, I was sure we had that installed, but then I checked and we only *discussed* it being installed on the forums17:43
zygamborzecki: back17:43
zygamborzecki: the fix is https://github.com/snapcore/snapd/pull/6010/commits/b803e1c62350e76e7f62fd937ea443191cc496f717:43
mupPR #6010: cmd/snap-discard-ns: add support for per-user mount namespaces <Created by zyga> <https://github.com/snapcore/snapd/pull/6010>17:43
zygaand man, 14.04 :)17:43
=== Pharaoh_Atem is now known as Conan_Kudo
=== Conan_Kudo is now known as Pharaoh_Atem
=== Pharaoh_Atem is now known as Conan_Kudo
=== Conan_Kudo is now known as Pharaoh_Atem
cachiokyrofa, hey18:04
cachiokyleN, could you take a look to the nested suite?18:04
kyrofaHey there cachio! I looked at the PR you linked. Am I correct in thinking that in order to get spread using an image with nested virt enabled you need to set those environment variables?18:06
cachiono env variables needed18:17
cachiokyrofa, those env variables are to configure our test suite18:17
cachiowhich kind of vm do you want to start?18:17
cachioI didnt try with kvm acceleration18:18
kyrofacachio, multipass, actually18:18
kyrofaHave you tried that?18:18
cachiono18:18
cachiowhich on did you try?18:18
kyrofacachio, I haven't tried at all after seeing that GCE link I shared saying that it needed to be enabled18:19
kyrofacachio, so to be clear, are you saying you've already done that, or are you saying that you've got nested virt working without kvm?18:19
cachioyes18:19
kyrofaHahaha, which one?18:19
cachiowe run everyday that18:20
cachioubuntu core, ubuntu 16, ubuntu 1818:20
cachiousing qemu18:20
cachio2gb of memory18:21
kyrofacachio, but you didn't do https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances ? Wonder if you're getting a software version, then (this is not my area of expertise)18:21
cachiokyrofa, I see, this is if you want to use the gce tooling18:24
cachiokyrofa, in fact they are describing a process really similar to what we do18:26
kyrofacachio, interesting, so this may already work. I'm testing now18:26
cachiobut they show how to create your image and use a gce image for the nested vm18:26
cachioand we create the image as part of the test18:26
kyrofacachio, yeah it was more the "Enabling nested virtualization on an instance" section that I was referring to18:27
kyrofaMakes it sound like by default this won't work unless you take that action to add that licenses thing18:28
kyrofacachio, yeah, looks like multipass needs KVM:18:29
kyrofa# multipass launch xenial18:30
kyrofafailed to launch: CPU does not support KVM extensions.18:30
kyrofa# grep -cw vmx /proc/cpuinfo18:31
kyrofa018:31
kyrofacachio, looks like we indeed need "the special license key required for virtualization."18:32
cachioin that case we need to create an image with kvm enabled18:32
cachiokyrofa, let me check a bit more about enabling kvm on gce18:32
kyrofacachio, would there be a downside to just enabling that in all the images we're using?18:33
kyrofacachio, excellent, thank you18:33
cachiokyrofa, dont have enough permissions for that18:59
cachioI'll request them and I'll try again19:00
kyrofaAlright cachio, thank you!19:00
cachiokyrofa, np19:02
* cachio afk19:04
mupPR snapcraft#2364 opened: maven plugin: add support for bases <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2364>19:13
* zyga EODs19:22
=== Pharaoh_Atem is now known as Conan_Kudo
=== Conan_Kudo is now known as Pharaoh_Atem
mupPR snapcraft#2365 opened: multipass: change default CPU value <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2365>19:52
mupPR snapcraft#2366 opened: qmake plugin: add support for bases <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2366>20:25
* cachio afk21:00
mupPR snapcraft#2264 closed: Fix issue where Rust cross compile target is ignored <Created by eberkund> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2264>21:46
mupPR snapcraft#2365 closed: multipass: change default CPU value <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2365>21:49
mupPR snapcraft#2367 opened: tests: add spread test exercising multipass build VMs <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2367>22:10
mupPR snapcraft#2368 opened: {kbuild,kernel} plugin: add support for bases <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2368>22:52
mupPR snapcraft#2366 closed: qmake plugin: add support for bases <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2366>22:55

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