[02:28] PR snapd#5448 opened: tests: start using the new opensuse image with test dependencies [05:13] morning [07:02] mornings [07:04] pstolowski: hey [07:05] Hey ho [07:05] A bit late today, [07:06] mvo: I went on a small detour to simplify some code and add tests [07:06] I have some misc branches and then more meat [07:07] (Rice, soy, ...) [07:07] zyga: hey, thanks [07:08] I was working towards testing all of the patches properly [07:08] Out of the interface WIP one [07:09] zyga: neat [07:10] mvo: zyga: hey guys [07:12] hey mborzecki [07:13] mvo: i'm looking at sysctl manpage, have you checked that sysctl -p with as separate arg, not -p works? [07:14] mborzecki: the test will check, I have not, let me try that now [07:14] i have a vague recollection of something being iffy there, but that's from a few years back and with busybox [07:17] mborzecki: I did a quick test and it seems to be fine [07:17] mvo: ok :) [07:17] mborzecki: but the test will also fail if it is not [07:26] Can you check the confinement of a snap before you install it? I can't see anything in "snap info x" or another obvious snap command. [07:26] Gargoyle: try snap info --verbose [07:27] Cool. Ta. :-) [07:28] PR snapd#5447 closed: snap,interfaces: move interface name validation to snap [07:36] mvo: could you take a look at #5434? [07:36] PR #5434: overlord: introduce InstanceKey to SnapState and SnapSetup, renames [07:52] mborzecki: sure [07:52] mvo: ta === matteo| is now known as matteo [08:02] mvo: thanks for that! [08:06] PR snapd#5449 opened: snap: add helper for renaming slots [08:07] mvo: that's one of the helpers ^ [08:07] pedronis: could you please look at https://github.com/snapcore/snapd/pull/5443 - it has two reviews already but I wanted to ensure you ack it [08:07] PR #5443: interfaces: treat "snapd" snap as type:os [08:11] mvo: quick review on https://github.com/snapcore/snapd/pull/5446 [08:11] PR #5446: coreconfig: add support for `snap set core network.disable-ipv6` [08:15] PR snapd#5445 closed: tests: add artful for sru validation on google backend [08:16] zyga: aha, nice. yeah, initially I wanted to do ipv4/ipv6 but then a) YAGNI b) ipv4 is not as straightforward === chihchun_afk is now known as chihchun [08:19] * Chipaca waves [08:20] Chipaca: hey, now that you're here, would you mind taking a look at #5426? :) [08:20] PR #5426: client, cmd/snap: pass snap instance name when installing from file [08:20] mborzecki: no [08:21] mvo: it's fine not to do ipv4 [08:21] Discord have both beta and "bleeding edge" versions available, is it possible to get these wired up into the snap? [08:22] Gargoyle: depending on who's doing the snapping, those can be tracks or just the pre-existing risks [08:25] Not sure what that means! :/ [08:25] Gargoyle: if the people making the snap want to, they can do that with snaps [08:26] Gargoyle: they can offer a beta channel/track [08:26] Gargoyle: and an "edge" channel/track [08:26] Gargoyle: alongside stable, that is [08:26] and people installing the snap can choose which one to get [08:33] Gargoyle: you can look at the 'go' snap for (a rather extreme) example [08:34] Gargoyle: you can get anything from 1.6 to devel, in a snap === chihchun is now known as chihchun_afk [08:36] Chipaca: and by look we mean "snap info go" [08:36] zyga: or gnome software, or https://snapcraft.io/go (and click on 'all versions') [08:37] That's a lot of options! :D [08:37] Chipaca: I wonder if we will ever need to do paging on "snap info" ;-) [08:38] Chipaca: hum [08:38] Chipaca: why is 1.10 above 1.11? [08:38] mborzecki: I did a pass over #5434 [08:38] PR #5434: overlord: introduce InstanceKey to SnapState and SnapSetup, renames [08:38] Chipaca: do we need number sorting there? [08:38] pedronis: thanks! [08:38] (actually the ordering of tracks is a bit weird in general) [08:38] zyga: there is no order to tracks yet [08:39] zyga: we don't know how to sort them, last time we had a discussion with Chipaca and other store people, we need a sort order defined in the store [08:39] zyga: there probably will be at some point, but that point is still in the future :-) AFAIK at least [08:39] Chipaca: should we version sort them "just in case" [08:39] the result we get from the store are sorted [08:39] aha [08:39] I see [08:39] well [08:39] except they are lexically sorted atm [08:39] they are _ordered_, which is more important [08:39] re-sorted by us or by the store? [08:39] :) [08:39] no, that's the point [08:40] if snapd is sorting them, it shouldn't be [08:40] ok [08:40] snapd gets them with a defined order and should leave it alone [08:40] there's a store order (is just not a good one) [08:40] but we should't try to fix that [08:40] it's up to the store [08:40] (to answer whether snapd sorts them i'd need to look at the code) [08:40] agreed [08:40] OTOH, snapcraft.io and 'snap info' show a different order [08:40] so that's a separate issue i'm chasing down [08:41] (it just so happens to be a nicer order! grrr) [08:41] (for go, on snapcraft.io) [08:42] pedronis: yeah, the non-test code setting InstanceKey in either snapsup or snapst lives here atm https://github.com/bboozzoo/snapd/commits/bboozzoo/parallel-install-overlord === chihchun_afk is now known as chihchun [08:50] pedronis: ETOOMANYCHANNELS [08:50] er [08:50] mborzecki: ^ [08:50] :) [08:51] heh [08:54] pretty please https://github.com/snapcore/snapd/pull/5449 :) [08:54] PR #5449: snap: add helper for renaming slots [08:54] it's short and test code [08:59] mvo: thank you for the update, two more comments on 5446 [08:59] * zyga coffee [09:11] PR snapd#5450 opened: store: keep all files with link-count > 1 in the cache [09:18] pedronis: pushed a fix to #5434, i've tweaked the error message a little, added some tests [09:18] PR #5434: overlord: introduce InstanceKey to SnapState and SnapSetup, renames [09:27] mvo: one last comment on 5446, [09:29] dog emergency, need to go to vet === pstolowski is now known as pstolowski|vet [09:30] zyga: thanks for your comment. this is a bit tricky, if things get removed sysctl -p won't work. on removal the system default is used. we can make this explicit but it has the side-effect that there will always be a sysctl file created even with an empty config [09:32] PR snapd#5451 opened: interfaces: honor static attributes when reloading conns [09:37] pstolowski|vet: interesting, reading [09:40] zyga: I commented, I can rework the code accordingly [09:40] zyga: I think it makes sense, will do so in a wee bit [09:40] thank you, looking [09:43] mvo: I commented as well, let me know where you want to take this [09:45] mborzecki: replied on your comment on RenameSlot [09:47] mvo, not sure you have noticed, ppc64el and s390x daily core snap builds failed (looks like a gpg error) [09:51] zyga: thanks, I updated the code now, I think we are fine with EnsureDirState and a bit of extra smarts, I pushed a new revision, please let me know if I overlooked anything but I think we should be fine now [09:52] ogra_: you mean the builds in https://launchpad.net/~snappy-dev/+archive/ubuntu/edge/+packages?field.name_filter=snapd&field.status_filter=&field.series_filter= ? [09:53] mvo, https://launchpad.net/~snappy-dev/+snap/core/+build/267041 and https://launchpad.net/~snappy-dev/+snap/core/+build/267042 [09:53] ogra_: they are flaky on these arches but not consistently failing? or am I looking at the wrong place maybe? [09:53] ogra_: aha, the core snap, let me check [09:53] it is the first build error i have seen in a while [09:53] * mvo looks [09:53] noit flaky usually ... [09:53] ogra_,mvo: Those are transient failures due to known keyserver network chaos [09:53] *not [09:53] just retry [09:54] ah, great [09:54] thanks cjwatson [09:54] yeah, i noticed a ton of livefs mails too [09:54] AIUI somebody discovered that you could upload a gigabyte key to the keyserver network and have it kill stuff [09:54] or something along those lines [09:54] lol [09:54] *cough* [09:54] the livefs stuff is different and I'm investigating [09:54] ah, k [09:56] PR snapd#5428 closed: devicestate: fix panic in firstboot code when no snaps are seeded [10:02] mvo: looking [10:06] mvo: it is good [10:06] mvo: I suggested one more tweak to make it more clear why this happens [10:06] but logic wise it is correct [10:06] smart way of doing that btw :) [10:08] cjwatson: so gpg network is the new bittorrent? [10:08] hopefully not ... [10:19] zyga: sure thing, thank you [10:20] niemeyer: any chance we can bump the largest post size from 32000 to ~40000 on discourse. I'm trying to migrate a large doc to the site, but it's ~35K [10:22] Heya [10:22] Which doc is that? [10:23] https://github.com/snapcore/snapd/wiki/REST-API [10:23] it's the last one still on the wiki [10:24] well, last one linked on the front page of the wiki [10:24] popey: I think we should break it down a bit on the way in, even so we can read it reasonably [10:25] popey: IIRC I provided an outline of how to break it down in the thread where we discuss the doc site [10:25] that seems reasonable. [10:26] popey: We don't need to break it down every single section, but rather by area of interest or something similar [10:26] Robert seems to "own" that doc. I'd rather he broke it up and kept owning it [10:26] popey: Thanks for the work on that, btw [10:27] I'll drop Robert a mail as he's in another TZ [10:27] thanks [10:31] popey: np, and if you want I'd be happy to work with you on that migration.. it's been pending for too long [10:50] mborzecki, mvo: can you please look at https://github.com/snapcore/snapd/pull/5449 [10:50] PR #5449: snap: add helper for renaming slots [10:50] I have a pair of follow ups on top [10:52] hmm [10:52] journalctl fails to restart https://www.irccloud.com/pastebin/w7dISItk/ [10:52] have you guys seen that before ^ [10:53] journalctl failing to _restart_ ? [10:57] * zyga -> walk [10:57] zyga: yes, seen it before [11:20] mvo: Heya [11:20] mvo: One question on spread#61 [11:20] PR spread#61: client: fix dialOnReboot() if the remote does not reply [11:22] parallel installs will be fun to merge/resolve conflicts :/ [11:46] PR snapd#5452 opened: store, overlord/snapstate: introduce instance name in store APIs [11:46] pedronis: Chipaca: probably something for you guys ^^ [11:47] it's very likely this will conflict with changes i wanted to open for review after landing #5434 [11:47] PR #5434: overlord: introduce InstanceKey to SnapState and SnapSetup, renames [11:50] pedronis: you've seen part of the store changes 2-3 weeks ago, most of it is the same patches just updated to account for downloads + some extra adjustments [11:50] re [11:51] MATCH mystery again https://www.irccloud.com/pastebin/p8HCgyXK/ [11:53] mborzecki: well, I should probably land my other PR and then it will likely conflict [11:54] pedronis: no worries, i'll keep resolving the conflicts as they come [12:24] mvo: can you please review https://github.com/snapcore/snapd/pull/5449 quickly [12:24] PR #5449: snap: add helper for renaming slots [12:26] Chipaca: did you manage to come up with anything regading 'the mystery of MATCH' yesterday? [12:26] mborzecki: no, i didn't carry on digging [12:27] falling too far behind with warnings [12:27] ack [12:30] thank you mborzecki :) [12:30] * zyga looks at the diff from the upcoming branch and is very happy [12:33] PR snapcraft#2175 opened: ci: disable osx tests until a new pyyaml is released [12:34] zyga: sure, I have a look [12:35] zyga: match mystery> I think your idea to hexdump the output we got is interessting, maybe there is some whitespace mangling going on [12:36] mvo: travis hides certain characters in the output log, though i'm not sure if the same applies to the raw log [12:41] mborzecki: mvo: I did 'od -a' the file fwiw [12:41] and it was fine [12:41] (i thought i'd told you this yesterday0 [12:41] ) [12:43] why haven't i had lunch yet? [12:44] also, where has my morning gone [12:44] * Chipaca scrambles to get lunch [12:45] mvo: I honestly don't believe my theory anymore [12:45] mvo: I bet I will be surprised by the _actual_ issue [12:57] PR snapd#5449 closed: snap: add helper for renaming slots [13:01] joining [13:03] PR snapd#5453 opened: interfaces: tweak tests to have less repetition of "core" and "ubuntu… [13:06] mvo: ^ the small refactor for the disconnect/connect resolve with snapd awareness [13:06] the patch on top of this one is the main part of the WIP branch that was still pending [13:06] so very close with getting all of that out [13:06] I will prepare a branch that is derived from your integration branch where I have the new patch set (from master) and see how things are going [13:07] I didn't manage that last night, sorry [13:12] cachio: the Software crash, is that in 18.04? [13:12] Chipaca: artful iirc [13:25] zyga: hmm https://paste.ubuntu.com/p/CNqt2p6gj8/ [13:26] oh [13:26] weird [13:26] ah, sorry [13:26] I didn't read this righ [13:26] *right [13:26] this is a bug [13:27] caused by >1 instance of "change to this directory and then back" [13:27] without handling the error by going to the void [13:27] heh lucky me [13:27] is this new? [13:27] zyga: why is this a bug? [13:28] it's in /tmp [13:28] zyga: dk, tried to figure out why shellcheck in tests/unit/go does not work [13:28] Chipaca: because the correct behavior was (and it worked before) to go to /var/lib/snapd/void [13:28] zyga: ahhh [13:28] zyga: maybe /var/lib/snapd/void doesn't exist? [13:28] Chipaca: yes but the /tmp inside the snap is different and cannot contain what is on the host (it's a private tmp) [13:28] Chipaca: oh, that's interesting [13:28] does it mborzecki / [13:29] zyga: it does drwxr-xr-x 2 root root 4096 Jul 3 12:36 void [13:29] try it locally [13:29] the permissions are wrong [13:29] anyway, that's something to add to the queue [13:29] probably a fallout of something that happened recently [13:30] running it outside of tmp at least once makes the problem go away [13:30] this implies the problem is in the first part of the setup code [13:32] mvo: https://github.com/snapcore/snapd/pull/5446#issuecomment-402155147 [13:32] PR #5446: coreconfig: add support for `snap set core network.disable-ipv6` === pstolowski|vet is now known as pstolowski [13:34] zyga: yeah, just noticed and looking [13:36] zyga: fixed, it was just that the output of sysctl has some extra whitespace [13:37] zyga: did you tag all PRs that help with the iface renames as core18? [13:37] zyga: if so, I will merge and run them now against core18 [13:38] no, not yet, hold on [13:39] I didn't open all of them due to stacking [13:40] zyga: https://paste.fedoraproject.org/paste/4hQSsupdzQNcvvbwpZlhUA makes it go away [13:40] Chipaca, it is on 17.10 [13:40] just finished installing it [13:40] (because why not) [13:42] zyga: or https://paste.ubuntu.com/p/yWyRj3Pqqj/ no clue why fpaste is so slow today [13:42] cachio: and you start 'ubuntu software', and search for 'snapd', and the UI crashes? [13:43] zyga: why does it even bother chdir()ing in setup_private_mount() while it done so in sc_populate_mount_ns() already [13:46] zyga: no worries, I think I found the relevant ones [13:46] I haven't opened all of them [13:46] I actually wanted to ask you [13:46] well, tell you [13:46] zyga: aha ok [13:47] I'll create a branch from your working one but replace the older versions of the patches as I said in the standup [13:47] it's fine to test what you made, let's where it gets [13:47] but I want to have a clean picture of the patches that are not in master [13:47] (a list that shrinks rather than grows0 [13:50] zyga: ok, it might be easier to use core18-all-fixes-all-tests-2 [13:50] zyga: which is a clean master with just all the core18 PRs [13:50] sure, I'll use that [13:50] cachio: can #5391 land? [13:50] nice [13:50] zyga: and it also enables all core18 tests [13:50] PR #5391: tests: simplify econnreset test [13:53] pstolowski, yes [13:53] thanks [13:54] PR snapd#5391 closed: tests: simplify econnreset test [13:57] pedronis: thank you for the comments! I'm on that now [13:58] mborzecki: we need to rework more code I'm afraid, to get the right "way" of handling that error [14:00] zyga: i can open a PR with http://paste.ubuntu.com/p/XvBhhFSMk8/ which resolves the issue, the question is why it tries to chdir into the old cwd while doing that, since it's already being restored at the end [14:01] pedronis: zyga: core18 meeting [14:01] mborzecki: later [14:01] ack [14:07] PR snapd#5369 closed: overlord,interfaces,cmd: WIP early support for interfaces on core18 [14:26] PR snapd#5453 closed: interfaces: tweak tests to have less repetition of "core" and "ubuntu… [14:26] mvo: thank you for the review, one more for implicit operations this time ^ [14:26] well v [14:27] 5454 [14:27] PR snapd#5454 opened: interfaces: prefer "snapd" when resolving implicit connections [14:30] cachio: how do I reproduce the crash? [14:31] just open ubuntu software [14:31] cachio: done [14:31] and search "snapd" [14:31] cachio: done [14:31] cachio: … and the crash? [14:32] zyga: thanks, looking [14:33] Chipaca, did it return results? [14:33] for me, it closed the app [14:33] zyga: also, please share the run results if you run the full tests with your PRs against core18, maybe there is some stuff that I need to tweak [14:33] cachio: yes [14:33] cachio: with what version of snapd? [14:33] try again [14:33] I try with the 2.38.* [14:33] and with 2.33.1 [14:33] 2.28 sorry [14:34] cachio: this is snapd from the package, yes? [14:34] yes [14:34] cachio: I get 2.32.9+17.10 from the archive [14:34] cachio: where do i get 2.28 from? [14:34] mvo: yes, I will share the results, I need to spend some time to prepare the branch [14:35] 1 sec [14:35] cachio: ah, i can get 2.28.5 from artful/main (as opposed to artful-updates/main) [14:35] I have 2.28.5+17.10 [14:36] cachio: yes, taht's the one in artful/main (you've not updated) [14:36] mvo, zyga i recently see this (not sure if it was there before) when starting a core 16 edge image on my pi's https://paste.ubuntu.com/p/gGKBBSG4nB/ ... the system seems to behave normally but it prints in red during boot so it is pretty noticeable [14:36] cachio: apt update && apt upgrade should get you 2.32.9 [14:37] cachio: in any case, it worked ok with both [14:37] cachio: also with core from edge [14:37] so I don't know what I'm looking for [14:38] Chipaca, it is failing here [14:38] perheps it is a different version of ubuntu software [14:39] did you search for something else and then "snapd" [14:39] ? [14:39] Chipaca, I just got distro_install_package google-compute-engine [14:39] sorry, seg fault [14:40] ogra_: that's very interesting [14:40] can you provide journal data from that service? [14:40] Chipaca, [ 173.948719] pool[1815]: segfault at 0 ip 00007fdea83ec1f0 sp 00007fde6effc7e8 error 4 in libglib-2.0.so.0.5400.1[7fdea83b2000+111000] [14:41] Chipaca, gnome-software 3.26.1 [14:41] ogra_: thank you for reporting this [14:42] PR snapd#5455 opened: many: assorted shellcheck fixes [14:42] cachio: how much memory in your vm? [14:43] 2GB [14:43] cachio: can you try with 4? [14:43] sure [14:43] cachio: gnome-software is that same version here [14:45] cachio: it doesn't crash here with 2 either though [14:46] Chipaca, weird, I'll update snapd and retry [14:48] Chipaca, perhaps we are using different artfull images [14:50] cachio: I'm just running it with kvm after installing it from the artful desktop iso, so yeah [14:50] cachio: how are you running yours? [14:51] same, but using virtual machine manager [14:53] "options matteR" [14:53] zyga: -march=broken [14:54] Chipaca, after upgrade all the packages the ubuntu software does not crash anymore [14:54] cachio: i'm not sure if that's a win or a lose [14:55] did you upgrade before trying to reproduce it? [14:56] Chipaca: virtio/accel all kinds of visual magic nobody knows how to run by hand [14:56] PR snapd#5411 closed: many: remove core-support interface [14:57] cachio: I think I checked the "download ugprades while installing" checkbox [14:57] cachio: should I try again without that? [14:57] (i then also upgraded, and then tried with snapd from edge) [14:58] (i didn't understand exactly what you're trying to do so i covered most things) [14:58] i can easily re-install it without the upgrades checkbox [14:58] Chipaca, I don't know which is the error, if we need to fix something og it is already fixed :( [14:59] cachio: when you installed, did you check the 'download upgrades' button? [14:59] no [14:59] i'll try without that [14:59] basically, I installed as clean as possible [15:00] then I reproduced the error [15:00] cachio: and what is the error blocking us from doing? [15:00] Chipaca, well, for sru we have a test which searches "snapd" [15:01] and then install test-snapd-tools [15:01] and it was failing [15:01] cachio: but for the sru test you've upgraded snapd to the sru version, right? [15:01] yes [15:01] it is also happening for 2.33.1 [15:01] I just upgraded snapd [15:02] not all the packages [15:05] cachio: so it's not happening for you with 2.28.5? [15:06] pedronis, hmm, should the connections: keyword in gadget.yaml work with the snapd in beta ? ubuntu-image gets me: [15:06] gadget.yaml parse error: Invalid gadget.yaml @ connections [15:06] Chipaca, yes [15:06] cachio: yes it isn't? [15:06] it happes [15:06] happens [15:06] … [15:06] cachio: so again, i ask, what are we testing [15:06] with 28.5 and 33.1 [15:07] Chipaca, we test the integration between ubuntu software and snapd [15:07] cachio: but you're not testing the SRU package [15:07] yes [15:07] Chipaca, let me explain [15:07] please because I'm losing it [15:07] ogra_: yes, should work, are you sure ubuntu-image is using the right snapd? [15:07] (fresh reinstall, this time no updates selected, no crashes here) [15:08] what I did is: I installed the snapd from proposed in a vm [15:08] I searched snapd in ubuntu software and I saw the crash [15:08] ogra_: or ubuntu-image does its own strict parsing? in which case it needs fixing [15:08] pedronis, no idea, which one should it use ? the image itself is built with --channel edge, the machine executing ubuntu-image runs 16-2.34~pre1 from beta [15:08] then in another vm which was totally clean [15:09] ah, i didnt think u-image does parsing at all and relies on snap prepare-image [15:09] Chipaca, I did the same with without the sru package to check if it was a regression [15:09] ogra_: well it needs to parse volumes [15:09] oh, indeed [15:09] Chipaca, and I reproduced the error with 28.5 [15:09] but indeed I didn't think it would do strict parsing [15:09] yeah, that m,ight be it then [15:09] Chipaca, so, it wasn't a regressions [15:09] Chipaca, that's it [15:09] cachio: ok [15:09] ogra_: in which case, can you open a u-i bug? [15:10] cachio: so, I have again not been able to reproduce the issue [15:10] just in case, I'll grab the snapd from proposed [15:10] pedronis, yeah, i'll look into it and file a bug [15:10] Chipaca, it is ok, it is the same I did [15:11] Chipaca, I suppose there is something else causing this [15:11] another package [15:11] and perhaps you are using an new iso [15:12] and I am using an old one [15:12] cachio: 17.10 doesn't have more than one iso [15:12] afaik [15:13] cachio: just tried with snapd from proposed, also no crash [15:14] Chipaca, in the clean image, with no upgrades? [15:15] cachio: yes [15:15] cachio: can you strace the process? [15:16] cachio: that is: start it, then check its pid and use strace -f -p [15:16] (just stracing ubuntu-software doesn't work) [15:23] Chipaca, sure [15:31] PR core#92 opened: Remove core-support plug [15:32] mvo: I created https://github.com/snapcore/core/pull/92 and I'm testing a corresponding change to snapd master [15:32] PR core#92: Remove core-support plug [15:32] I will just drop the plug from the core snap [15:32] CC jdstrand, pedronis ^ [15:34] Chipaca, https://paste.ubuntu.com/p/HzzcTp3cWz/ [15:34] 404 [15:35] [pid 1931] sendto(20, "GET /v2/snaps/(null) HTTP/1.1\r\nH"..., 177, MSG_NOSIGNAL, NULL, 0) = 177 [15:35] that looks a lot like a bug in gnome software or libsnapd-glib1 [15:35] yes [15:35] because if I search another string it works [15:36] cachio: but if you upgrade everything (not to proposed, just regular artful-updates) the bug goes away? [15:36] Chipaca, yes [15:37] Chipaca, I just realized that when you could not reproduce the error [15:37] cachio: so, I'd drop robert ancell an email about this, but it's probably known and fixed already [15:38] cachio: I suggest we update the SRU testing to say we upgrade to whatever's in -updates before trying snapd from -proposed [15:38] but I don't know if that's kosher [15:38] mvo: would that be ok? [15:40] Chipaca: yes, absolutely fine [15:40] Chipaca: and sensible [15:41] zyga: I'm dying of curiosity, how is the core18 main test run going? [15:41] mvo: I haven't started everything-at-once yet, I'm still running partial checks for the things I'm changing [15:41] zyga: running like the little lambs in https://www.youtube.com/watch?v=WQO-aOdJLiw [15:41] mvo: ~3 hours from now realistically (I want to break now to take a walk before it's dark) [15:42] zyga: ok, thanks for the update .) [15:42] * mvo hugs zyga [15:42] zyga: sorry for being so impatient [15:42] no worries, it's good to check :) [15:49] mvo: I'm running a full main run with snapd modified to kill core support [15:49] clarification: with snapd modified to remove the core-support-plug from the core snap [15:50] PR snapd#5456 opened: snapstate: refuse to remove bases or core if snaps need them [15:51] * cachio lunch [15:55] mvo: https://github.com/snapcore/snapd/pull/5456/files#r199860433 [15:55] PR #5456: snapstate: refuse to remove bases or core if snaps need them [15:55] mvo: mainly to put the logic about "I need this" in one clear spot [15:55] and not all over the place [15:55] the first one is giving you simple hints (all the snaps with those names are related to myself) [15:55] this would return the base snap [15:56] but also, perhaps, default content provider or even the one that is connected right now [15:56] the second would look at a real snap info and say if this is ok to remove [15:56] I suspect they may need snap state at that time [15:56] (I didn't include that in my comment on the PR) [15:56] so that we can check connections and what not [15:57] just a though, I'll go for a walk now because it will be getting dark soon and woods are not like a park === chihchun is now known as chihchun_afk [16:30] mvo: still testing, got one error that spewed megabytes of journal that didn't say much, re-testing that one to see if it is something real [16:30] mvo: please review https://github.com/snapcore/core/pull/92 if you can [16:30] PR core#92: Remove core-support plug [16:31] mvo: I will really really go in ~30 minutes because $life tasks [16:33] zyga: thanks for the upate [16:35] mvo: I added a patch that does the removal snapd-side, if it works I will open another PR [16:37] mvo: can we land https://github.com/snapcore/snapd/pull/5443 [16:37] I think we can now [16:37] PR #5443: interfaces: treat "snapd" snap as type:os [16:37] mvo: and we need a review on https://github.com/snapcore/snapd/pull/5454 [16:37] PR #5454: interfaces: prefer "snapd" when resolving implicit connections [16:38] zyga: ok [16:39] :/ [16:40] this bug is really bothering me [16:40] I really don't know what causes this [16:40] and the worst part is, it's pretty easily reproducible [16:41] Son_Goku: I have no idea, I have a F28 system to play with but I'm deep in core18 work that actually a prerequisite for fedora snap that works without pulling in ubuntu [16:41] yeah [16:41] Son_Goku: the work is also time boxed as we are running towards a commercial deadline [16:42] oh? [16:42] Son_Goku: I will devote way more time to fedora after this [16:42] Son_Goku: just making core18 available [16:42] Son_Goku: how is it reproducible? [16:42] for customers that want that [16:43] Son_Goku: is it _any_ snap that triggers this? [16:44] zyga, the launching of a snap seems to do it [16:45] I triggered it with ohmygiraffe [16:46] Son_Goku: thanks [16:46] well [16:46] can you check if hello-world does that too? [16:46] it's shorter to strace to eventually find out what the problem is [16:47] I'll check later in the day [16:47] I'm unfortunately busy at the moment [16:48] no worries, thank you for the information [16:54] zyga, the documentation for spread images is described on this PR [16:54] https://github.com/snapcore/spread-images/pull/13 [16:54] PR spread-images#13: Adding base images and test dependencies including new documentation [16:56] * zyga hugs cachio :-) [16:56] zyga, it is first version [16:57] zyga, open to rewrite it if needed :) [16:57] I will read it [16:58] thanks [17:00] I'm seeing an issue with snapd.service that it has issues starting. So it is holding the boot process. [17:00] I can provide log files. [17:00] ahoneybun: please report all you know in a forum thread on forum.snapcraft.io [17:01] and coordinate here for more feedback as we review [17:03] mvo: I tested master with this extra patch https://github.com/zyga/snapd/commit/366ca43e3149db942207e6e81a0b17fe61f80f0c [17:03] mvo: and this test change https://github.com/snapcore/snapd/compare/master...zyga:feature/lessen-use-of-core-support?expand=1 [17:03] I will propose the test change in a moment, [17:04] this will let us land the core change with confidence (dropping core-support-plug from core{,16} [17:04] mvo: I haven't done that yet but we can also drop it from core18 if it is there, I haven't checked yet [17:05] I'm running one more test on this upcoming branch in isolation (without the suppor patch that removes core-support-plug programmatically) [17:10] jdstrand: briefly, my mind thought about having compiler.apparmor.net that exposes ultra-fast, cached apparmor_parser [17:10] especially since it would have a small (<<~1M) set of profiles [17:10] that could be cached efficiently [17:11] and it would probably scream from RAM on a modest server [17:11] it could reply with some status code if overloaded (fallback to local) [17:11] but on slow machines it would meaningfully speed things up [17:49] PR snapcraft#2175 closed: ci: disable osx tests until a new pyyaml is released [18:50] zyga: core18 does not have this plug [18:54] mvo: that's great [18:54] tests passed, opening PR [18:56] mvo: one more, I hope it passes [18:57] PR snapd#5457 opened: many: lessen the use of core-support [19:04] * cachio afk [20:58] I'm trying to boot up the KVM/Qemu image and it stalls booting right after "Started network service" and ssh is just reseting connection... it's been sitting there like that for about 10 minutes... [21:01] Err... sorry, I thought this channel was dedicated to Ubuntu Snappy Core, not the whole snappy project :P [21:02] Is there a better place to ask about Ubuntu Snappy? [21:16] PR snapcraft#2174 closed: build_providers: inject snaps when running from a snap [22:03] PR snapd#5458 opened: tests: check catalog refresh before and after restart snapd