=== zarcade_droid is now known as Guest19897 === devil is now known as Guest39994 === ShibaInu is now known as Shibe [03:04] Bug #1761363 opened: Add interface to access to Zeitgeist [04:57] morning [05:11] PR core-build#11 closed: remove cruft from the writable-paths [05:11] PR core-build#22 closed: unit testing for sync_dir() [05:11] PR core-build#26 closed: move most of the customization into the core snap build [05:12] PR core-build#11 opened: remove cruft from the writable-paths [05:12] PR core-build#22 opened: unit testing for sync_dir() [05:12] PR core-build#26 opened: move most of the customization into the core snap build === devil is now known as Guest38148 [05:59] PR core-build#11 closed: remove cruft from the writable-paths [05:59] PR core-build#22 closed: unit testing for sync_dir() [05:59] PR core-build#26 closed: move most of the customization into the core snap build [06:00] PR core-build#11 opened: remove cruft from the writable-paths [06:00] PR core-build#22 opened: unit testing for sync_dir() [06:00] PR core-build#26 opened: move most of the customization into the core snap build [06:14] good morning [06:22] mvo: morning [06:22] mborzecki: hey! how are you? anything interessting happend in the early morning? [06:23] mvo: nope, casually browsing through reviews [06:23] mvo: any leads on the mounting thing from yesterday? [06:25] mborzecki: yes, the reason was eventually figured out by zyga and pedronis. there is some connection related state we only keep in memory and when snapd restarts this state is lost so we need to store more in the state [06:26] nice [06:27] Hey ho [06:27] mborzecki: there are some complications apparently, I did not follow all the details [06:28] Sorry for being late. I had to sleep longer [06:28] zyga: hey [06:28] mborzecki: I think we need to revert, cachio did a great deal of testing and we think its safe [06:28] Well. Had to sleep [06:28] zyga: no worries, same here [06:29] Coffee, walk the dog, then coding [06:29] We need new top-level structure in the state to fix the issue [06:30] I can explain why when I am at my desk [06:33] PR snapd#4971 closed: errtracker: add more fields to aid debugging [06:36] PR snapd#4985 opened: errtracker: add more fields to aid debugging === Mirv_ is now known as Mirv [06:59] hi === pedronis` is now known as pedronis === pstolowski|afk is now known as pstolowski [07:00] mornings [07:06] mvo: hi, don't know if you saw the logs but we have both a very specific issue with the snapctl socket, but also likely a general issue with all operations on a snap at the same time we operate on its base (if the op involves running things like hooks or starting services) [07:06] buenos dias [07:10] 2018-04-05 09:09:46 Preparing google:arch-64 (google:arch-64 (apr050907-716531))... yay! [07:11] Hey Pedronis, good morning [07:14] morning zyga [07:15] pedronis: aha, no, I did miss this part of the conversation [07:15] good morning pstolowski, did you see my test run from last night? [07:15] mvo: yes, thank you [07:16] pstolowski: afaiu is because of the placement , being after setup-profiles is too early for those tasks [07:16] pstolowski: I have the system still in this state, I can do another run to see if it consistent, but I wanted to keep it for now in case there is anything that might help understanding it [07:17] pstolowski: doInstall puts them after link-snap [07:17] pedronis: mvo yep, i saw your comments on irc yesterday, investigating this [07:17] pedronis, mvo is it possible to install lxd as the first snap and force core from edge? [07:19] pstolowski: not with the stable deb, not really, you could use the enterprise proxy locally, except that the stable deb doesn't support it [07:20] pstolowski: mvo: as I said, maybe we should add a envvar to control the channel from which we get core (or any base), but that will only help this sort of testing going forward [07:21] mvo: should we do a HO in a bit to see where we are, we need a bit to decide which bugs needs fixing for 2.32.x and which can wait [07:21] pedronis: sounds good [07:24] pedronis: we need to wait for zyga too [07:25] mvo: how exactly did you provoke the errnostate? [07:25] PR core#38 closed: Add another pi-config option [07:25] PR core#83 closed: move most of the ubuntu-core config deb into the snap snap build [07:25] HO sounds good [07:26] and back now [07:26] I can have a call [07:26] PR core#38 opened: Add another pi-config option [07:26] PR core#83 opened: move most of the ubuntu-core config deb into the snap snap build [07:29] pstolowski: so it seems the fix for the inject task is to put the auto-connect a bit later (after link-snap) - thats my naive view at least - or do you think there is more too it? [07:30] mvo: just trying to trigger the problem with edge from core atm but unclear how [07:32] pstolowski: what I did yesterday is essentially: 1. git checkout upstream/release/2.29 2. modify it so that defaultBaseSnapsChannel is "edge" 3. sudo systemctl stop snapd snapd.socket && go build && sudo ./snapd && sudo systemctl start snapd 4. snap install lxd [07:32] pstolowski: with an empty state of course [07:32] pstolowski: e.g. on 17.10 apt purge snapd first and then install it [07:32] * zyga is in the standup HO [07:32] pstolowski: https://paste.ubuntu.com/p/BxmxD3VFCD/ contians a rough outline of the above including the diff I used [07:33] pstolowski: trouble is of course that you cannot test anything local wit hthat method, only testing after it landed in edge :( [07:33] mvo: thanks (in HO too) [07:53] moin moin [08:10] sometimes i hate pacman -Syu vs -Sy when installing packages :/ [08:12] mborzecki: what's the difference? [08:12] mvo: did you see the (fleeting) PR about dropping privileges, yesterday? [08:12] Chipaca: I did but didn't look, sorry [08:12] mvo: no worries, it didn't work :-) === cpaelzer_ is now known as cpaelzer [08:13] Chipaca: haha [08:13] mvo: but, thing is, there's a bug that that pr was trying to fi [08:13] fix* [08:13] mvo: (FWIW the approach tehre would work from Go 1.10 on! so let's go there someday) [08:13] Chipaca: `-Syu foo` does a full system ugprade and installs foo, just doing `-Sy foo` will install foo but if its dependencies are already installed they will not get updated, which in turn may or may not hurt you badly [08:13] mvo: https://bugs.launchpad.net/snapd/+bug/1761193 [08:13] Bug #1761193: ~/.snap/ not available for root on some systems [08:13] still don't get why it's so hard to record versioned library dependencies [08:15] mvo: so... I could change the code to use 'su' to touch that file, but it feels icky [08:15] Chipaca: in a meeting right now, let me get back in a bit [08:15] mvo: yeah no worries, i'll brain dump and you read and respond when you're able [08:15] +1 [08:18] mvo: the ops we need to do on the file are read, write, and remove. 'su'ing to cat and rm works. The other approach is to use cgo, and do the setuid/setgid in a C thread we manage ourselves. I have tested neither of these approaches, and both seem rather unpalatable, so I think I'd go with the less sophisticated one =) [08:19] mvo: i think :-) [08:19] or we could move to go 1.10 \o/ [08:23] mborzecki: that manpage looks terrifying =) [08:24] Chipaca: pacman? [08:24] yeah [08:24] that was a nice case of internet counselling session [08:24] zyga: ? [08:25] zyga: BTW thank you once again for having your lab machines; last night I was able to help a customer thanks to that [08:25] Chipaca: woot! [08:25] Chipaca: that's awesome, let me know if I can expand it to be more useful in some way [08:26] Chipaca: ask mvo about how we're doing :) [08:26] zyga: oh, your counselling session was the same as mvo's meeting? [08:26] yes :D [08:31] Chipaca: reading now, thanks for tackling this issue! [08:32] Chipaca: +1 for su - even though it feels fugly === zarcade_droid is now known as Guest26743 [08:33] mvo: ok [08:33] Chipaca: what exactly do we need to do to that file? we need to append (and create if needed) and remove? [08:33] mvo: and read [08:34] mvo: not append, i think -- just create, read and remove [08:34] Chipaca: ok [08:35] mvo: another approach would be to not report the error to the user, ie any error on reading the file gets ignored [08:35] mvo: but that will make it hard to debug [08:36] I'll take a stab at using su, let's see how it goes :-) [08:37] Chipaca: thank you [08:38] Chipaca: we could also have helper that does the things we need doing and we just spawn that with su. but yeah, I'm sure it is interessting [08:39] mvo: that actually better than cat and rm, i'll do that [08:43] mvo: (to be clear, it's better because the 'write' case is hard to do properly otherwise) [08:43] * mvo nods [08:49] hi there! [08:49] I have a quick question about the snap store [08:50] is snapcraft 2.39.2 still supported by the store? [08:50] (I'm trying to push and release a snap with this version) [08:56] * jlorenzo sees 2.40.x is still marked as pre-version https://github.com/snapcore/snapcraft/releases [08:57] is anybody aware of a server-side change that produces blank errors like this one https://tools.taskcluster.net/groups/GYT_nZNyQzGn7wjcwBTajw/tasks/fFIauoJaQQCFAYJVeQqheg/runs/0/logs/public%2Flogs%2Flive_backing.log#L892 ? [09:00] kalikiana: ^ [09:01] snap refresh foo --amend seems to have broken for me recently [09:01] I get error: cannot communicate with server: Post http://localhost/v2/snaps/mame: EOF [09:01] that kind of thing every time I try and refresh a local snap into the store [09:02] running snapd 2.32.2 [09:07] pretty sure flexiondotorg also had the same issue [09:09] Yes, I've seen that --amend isn't working yesterday. [09:09] let me look [09:13] am i missing something or is this check exactly the same as one below https://github.com/snapcore/snapd/blob/master/tests/main/manpages/task.yaml#L14 ? [09:18] popey: I just tried with hte hello snap and snap refresh --amend worked for me, what snaps are you using? [09:19] I tried with a few, mame for example and signal-desktop, which I'd built locally then pushed to the store [09:21] PR snapd#4985 closed: errtracker: add more fields to aid debugging [09:27] popey: thanks, I will try harder then [09:29] popey: aha! signal-desktop reproduces it [09:30] \o/ [09:33] popey: I think its because its not in stable, obviously a bug and I think I know what it is [09:33] ooh, interesting [09:33] (I did pass --beta) fwiw [09:35] popey: yeah, this is not passed to the right place unfortunately [09:35] popey: so two things to fix: not crash, pass channel [09:37] ok. thanks [09:37] shall i file a bug? [09:40] jlorenzo: Hmmm haven't seen that before. Looking [09:43] kalikiana: thanks! Last time I saw the same error was when we were using snapcraft 2.25. Back then, Ken VanDine told me to upgrade to the latest version, which solved it [09:46] popey: either way is fine, I have a fix locally, just need to write proper tests for it [09:47] https://bugs.launchpad.net/snapd/+bug/1761435 [09:47] Bug #1761435: Can't refresh some local snaps to store snaps with --amend [10:05] diddledan: I'm running irccloud-desktop from edge, yay! Thanks! [10:10] diddledan: I have fixed the icon (changed 512x512 to 256x256 should do it) and will check the next build when it comes out. If fixed we shoul push to stable, right? [10:12] mvo: back to hacking hten [10:27] got a weird problem with arch and spread tests that use dbus, when we install a snap eg test-snapd-network-status-provider, those will generate dbus policy files, then the test fails because the provider service is denied owning the name on the bus, the only way to fix it is to systemctl reload dbus.service [10:28] now the questions are, why does it work elsewhere and should we reload the service automatically? [10:35] mborzecki: hm, afaik the daemon does a inotify watch on the dirs where we drop files [10:35] mborzecki: but maybe there is a config file in your case missing, let me double check [10:36] mborzecki: what is the dir? [10:37] mborzecki: no, there is no config file we use so it ought to work [10:39] mvo: /etc/dbus-1/system.d [10:40] mvo: weird, i see --enable-inotify passed explicitly to dbus configure [10:40] mborzecki: this is on arch? or a more general problem? maybe its not monitoring that dir for some strange reason on arch [10:40] mvo: it's on arch, there's a couple of tests failing because of this [10:46] hmm similar issue reported for avahi https://bugs.archlinux.org/task/55738 [10:50] PR snapd#4986 opened: snapstate: fix `snap refresh --amend` when the snap is not available in stable [10:52] mvo: I changed the code in this ^ one in my new api work [10:56] pedronis: oh, cool, I can run my test on the new PR to see if it fully fixes it [10:56] pedronis: or base a new fix on top of your new-api work [10:56] pedronis: also - I need to finish that review :/ sorry for letting you wait for so long [10:57] mvo: I think it should be fixed, because there is not more snapNameToID [10:58] pedronis: neato, I will run my updated test to double check. that test is useful in any case [11:00] mvo: in the new world amend is an install, not a refresh [11:00] talking to the store at least [11:01] pstolowski: how it's going? [11:02] pedronis: thanks, test is running now, I will either debug or push a PR with the updated test (I think its good to excercise the != stable path) [11:05] pedronis: almost there i think; i've added similiar inject code into doLinkSnap for snap!=core, restricted the one in doSetupProfiles to core snap-phase2 only. what's missing is restricting link-snap more [11:05] adjusted the tests, all passing atm [11:06] thanks [11:12] pedronis: I'm working on the state changes, I will have some skeleton to review soon [11:18] PR snapd#4987 opened: tests: add test to ensure `snap refresh --amend` works with different channels [11:23] zyga: did you say yesterday that the userd unit test panics? [11:24] yep [11:24] zyga: did you resolve that? [11:24] nope [11:24] it's been that for months [11:24] oh? [11:24] it hasn't -- i've been running the full test suite and it passed [11:24] https://www.irccloud.com/pastebin/qKbODxHV/ [11:24] no idea [11:24] it happens for me for _some_ reason [11:24] but maybe there's a missing dep that i had on my other machine that's missing here [11:25] jamesh: you around? [11:25] mvo: so seems the new code deals better with --amend (it's more regular, not extra calls, so not unexpected) [11:25] mvo: i think i know what's happening, there's no /etc/dbus-1/system.d on clean install because arch does not like empty dirs, so if dbus calls intify_add_watch(.., "/etc/dbus-1/system.d"..) it will fail and the error probably gets swallowed [11:26] mvo: but yes we need to decide what to do about 4900 and get it at least on master soon, if we need to prepare the cherry-pick for 2.32.4 [11:31] standup is at 3pm right? [11:37] I think so [11:37] mborzecki: yes [11:45] PR snapd#4988 opened: snapstate, ifacestate: inject auto-connect tasks try 2 [11:45] cachio: i'm close to having all of the tests passing on arch (all of those that can run ofc) [11:47] pedronis, mvo https://github.com/snapcore/snapd/pull/4988 [11:47] PR #4988: snapstate, ifacestate: inject auto-connect tasks try 2 [11:48] mborzecki, great news [11:49] mborzecki, I am working on the script to update that image [11:49] mborzecki, it should be ready today [11:51] zyga, hey, should we unblock this one right? https://github.com/snapcore/snapd/pull/4832 [11:51] PR #4832: tests: move fedora 27 to google backend [11:51] cachio: please see comment from mborzecki there [11:51] oh, not there perhaps [11:51] we need 7 more days [11:52] before the package propagates [11:52] yup [11:52] https://github.com/snapcore/snapd/pull/4980 [11:52] PR #4980: Revert "spread.yaml: switch Fedora 27 tests to manual (#4962)" [11:52] zyga, ah, ok [11:52] so next week [11:52] idk if voting speeds up the process [11:52] I think so [11:53] kalikiana: do you want me to file a bug in https://bugs.launchpad.net/snapstore, in the meantime? [11:54] jlorenzo: Yes, please. Sorry for my delayed response. I narrowed this down in the code but still need to confirm the actual cause. [11:54] np! [11:59] pstolowski: lgtm, comment could say more about placement [11:59] left some notes [11:59] in the PR [12:00] is the standup now, or later, today? [12:00] later [12:01] ok :) [12:02] off to pick up the kids from school, bb for standup [12:03] kalikiana: https://bugs.launchpad.net/snapstore/+bug/1761488 [12:03] Bug #1761488: snapcraft 2.39.2 failed to release a snap: snapcraft.storeapi.errors.StoreReleaseError: [12:03] pedronis: thanks === pstolowski is now known as pstolowski|lunch [12:05] * zyga is super sleepy, needs coffee [12:06] zyga: btw I was thinking that the fix for the issue will have interactions with the double setup-profiles we do for core [12:07] zyga: we basically do AddSnap twice for core but it works because in the old world we restart in the middle [12:07] mmm, but is that an issue, all we will record is the revision then [12:07] zyga: well you said we cannot do AddSnap twice [12:08] now we will do at restart and then again in the 2nd setup-profiles [12:08] which will fail? [12:08] I don't think it will, setup profiles removes the snap and adds it again [12:08] this essentially refreshes the state of the repo [12:08] this is in helpers.go in ifacemgr [12:08] one sec [12:09] ah, it does remove? [12:09] yes [12:09] and that doesn't fail if the snap is not there? [12:09] to have consistent view of that snap for setpu [12:09] I don't know [12:09] but I don't suppose so [12:09] https://github.com/snapcore/snapd/blob/master/overlord/ifacestate/handlers.go#L175 [12:10] looking at remove snap now [12:10] remove never fails [12:10] that's good [12:10] https://github.com/snapcore/snapd/blob/master/interfaces/repo.go [12:10] it only fails if the thing is connected, which is shouldn't be [12:10] so it's good [12:10] we disconnect the snap as well [12:11] https://github.com/snapcore/snapd/blob/master/overlord/ifacestate/handlers.go#L169 [12:11] just prior to calling remove snap [12:11] I think we are good === ahasenac` is now known as ahasenack === ahasenack is now known as Guest7888 [12:16] * zyga explores how the state access works and how the raw json messages behave [12:24] zyga: mmh, maybe we don't new state [12:24] ohhh? [12:25] zyga: we always do setup-profiles -> link-snap (this make sense because setup-profiles is the "activating" of the ifacestate world) [12:29] pedronis: and? [12:29] zyga: so we are interested in all active snaps, and all snaps with a pending (not ready) link-snap that is waiting on a done setup-profiles [12:29] the revision in the sna-setup of those tasks [12:29] so we could look through the state and fish that [12:29] yes [12:30] it has it's pro and cons as usual [12:30] but who would do this? the interface repo on startup [12:30] or setup profiles? [12:30] or snap manager [12:30] feels cross-manager [12:30] * zyga finds working with state to be hard [12:30] the get/set marshal/unmarshal [12:30] just done as a replacement of ActiveInfos [12:30] the raw messages [12:31] SnapsWithProfiles [12:31] ah, that makes sense [12:31] it would break if we started putting stuff between setup-profiles and link-snap [12:31] but I would question such a move === Guest7888 is now known as ahasenack [12:36] I'll play with the state variant first [12:36] but I think your solution is better for upgrades [12:36] it would have 0 "borken" moments [12:37] * kalikiana lunch [12:37] *broken [12:37] yea, the state solution and revert worry me a bit [12:37] not because problems are likely but if they appear they will be very confusing [12:38] yes, it feels like something that would warrant epoch [12:38] and epochs and customers are another thing [12:40] when we are more tools and time we can explore the idea of a more generalized concept of readiness [12:41] and then we could use that instead of looking at changes [12:41] s/are more/have more/ [12:41] but looking at changes seems attractive if a bit delicate, right now [12:57] zyga: I'm exploring a bit how that would look like [12:59] popey: hey, do you know if the remmina developer hangs out here? [13:00] popey: or where the remmina snap developer can be found? === pstolowski|lunch is now known as pstolowski [13:01] pedronis: standup? [13:02] cjwatson: hi! curious when snapcraft 2.40 will be in LP builds (if it isn't already)? [13:03] jdstrand, Trevinho submitted the snapcraft file upstream and seems to still care about it some maybe he can help you? [13:04] PR snapd#4989 opened: tests: add arch to CI [13:05] jdstrand: when it's in xenial-updates [13:05] cjwatson: ok, it is in xenial-updates [13:05] jdstrand: then builds will use it (unless oddly-configured) [13:06] it seems remmina is not using LP [13:06] cachio: 2018-04-05 14:32:39 Successful tasks: 225 ^^^ [13:07] I look forward to when we can see where a snap build comes from (and, if LP, the build log) === Eleventh_Doctor is now known as Pharaoh_Atem [13:11] jdstrand: i do not off hand [13:14] Issue snapcraft#2031 closed: Inconsistent results when building, cleaning stage and rebuilding [13:14] PR snapcraft#2047 closed: pluginhandler: organize in build instead of stage [13:19] popey: I just filed an upstream bug [13:20] ok cool. [13:21] jdstrand: is there anything else needed on emoj - I am still getting rejection mails about the x11 desktop thing [13:23] jdstrand, sorry, I dropped offline, I was saying that maybe Trevinh_o can help you [13:39] zyga: found the cause of my userd panic and it was totally my code =) === iMadper` is now known as iMadper [13:41] pstolowski: tests for 4988 failed again, this time because opensuse is out of diskspace. so feel free to push any further changes to this branch [13:43] https://forum.snapcraft.io/t/cannot-create-directory-tmp-snap-rootfs-var-lib-snapd-lib-gl32-permission-denied/4868/4 has anyone seen it on their 16.04 systems? [13:50] mvo: ok [14:06] popey, the irccloud icon is an electron icon, so I've forced it in PR https://github.com/snapcrafters/irccloud-desktop/pull/7 [14:06] PR snapcrafters/irccloud-desktop#7: fix desktop icon [14:10] jdstrand: next launchpad-buildd and snapcraft releases combined should handle that [14:10] * zyga enjoys self-made lunch [14:11] jdstrand: actually not sure it even needs a new snapcraft release, just launchpad-buildd [14:12] diddledan: oh bum, sorry [14:12] cjwatson: nice! :) [14:13] no probs :-) [14:13] I've just resolved the conflict so it's pushbutton mergable [14:13] * popey pushes the button [14:13] PR snapd#4990 opened: many: implement a poor man's privileges drop, use for auth.json [14:13] I originally fixed it the way you did, but that icon seems to be the electron stock icon rather than the irccloud icon, so I've bundled the proper icon now [14:14] you're right, i have the electron icon here now :) [14:14] if this works shall i push to stable? [14:14] defo! [14:16] OT: doom runs on everything these days: https://www.youtube.com/watch?v=VnmIXK3PYFw [14:34] cprov... we need to talk about store errors [14:34] We need some consistency [14:35] kyrofa: sure, do you have an example ? [14:37] cprov, sometimes we get an error_list, sometimes we get a message, and sometimes we get an error_message [14:37] And the only time we know when is when someone reports a traceback :P [14:37] Oh! And a release error gives us a detail, that's nice [14:38] We need a more standard error response, ever API call seems to have its own way of doing things [14:38] kyrofa: the new pattern is `error_list`, we should fix specific cases where it's not honoured [14:39] cprov, and do the contents of error_list follow a standard pattern? [14:39] * zyga wonders why all things evolve to resemble xml-rpc [14:39] I've never seen a error_list with more than one item [14:39] kyrofa: https://dashboard.snapcraft.io/docs/api/snap.html#errors [14:40] cprov, ah, very good. And those codes won't change out from under us? [14:40] cprov, haha, I see the "Important: Not all API endpoints are migrated yet to this new error format" [14:41] kyrofa: yeah, most of the errors are single, but there are few with multiple item, push is an example I remember [14:42] cprov, are you actively working to migrate all API endpoints to use that new error format? [14:42] hey popey, how would I go about building in an lxd? [14:43] kyrofa: the fact we didn't finished the migration is bad, I am more than happy to fix any remaining endpoints [14:43] cprov, I guess what I'm asking is: do you know what the "remaining endpoints" are, or am I just going to hit them and need to report them? [14:44] PR snapd#4991 opened: ifacestate: add to the repo also snaps that are pending being activated but have a done setup-profiles [14:44] Because there's no way for us to know all the possible error responses coming from the store [14:45] So that would be the status quo [14:45] thresh: hello! do you have lxd installed? [14:45] yep, creating a VM for that atm [14:45] thresh: "lxc launch ubuntu:16.04 vlctest" then "lxc shell vlctest" and you're in the container [14:45] kyrofa: I don't know, but file a bug about what is what is blocking you and I will walk the whole API. [14:46] popey, ah well, I was thinking there was some snapcraft command to do that for me etc :-) [14:46] cprov, alright, I'll make a note to log a bug when we encounter API responses that don't follow that pattern, thank you [14:47] kyrofa: thanks, do the same for any inconsistency to what is already documented [14:48] mvo: zyga: #4991, after thinking a bit this is good , but doesn't fix the same kind of problem on undo, for that we really need new state I fear, because the tasks are too ambiguous for that [14:48] PR #4991: ifacestate: add to the repo also snaps that are pending being activated but have a done setup-profiles [14:49] thresh: ah, there is, for sure. But you'd end up with a clean 16.04 container, not including the neon bits [14:55] cprov, another similar question. Let's say I'm releasing to a channel, but I don't have permission to do that [14:55] cprov, I get an error_list containing {'code': 'macaroon-permission-required', 'message': 'Permission is required: channel'} [14:55] But that doesn't actually give me enough info to give a helpful error message [14:55] I have to reach outside of the error_list to the 'permission' attribute to see what the issue was, and there is also the 'channel' attribute [14:56] But I never know when those will or will not be present [14:56] So my error handling code turns into spaghetti [14:56] You see what I mean? [14:57] kyrofa: I do and we can work this out [14:57] mvo: everything is terrible [14:57] PR snapd#4992 opened: tests/main/interfaces-opengl-nvidia: verify access to 32bit libraries [14:57] diddledan: do you have any snaps in your dusty archive that are unblocked by 2.32? I had a few and I need to dust them off at the weekend. [14:57] kyrofa: the premise of using error-codes is that they should have specific handlers [14:58] I need to check wine [14:58] https://github.com/snapcore/snapd/pull/4988 failed again because of opensuse and because of 502 when fetching "golang.org/x/net/context" [14:58] PR #4988: snapstate, ifacestate: inject auto-connect tasks try 2 [14:58] cprov, so if I get a 'macaroon-permission-required' I can assume that the 'permission' and 'channel' properties are present? [14:58] Because that error code sounds kinda generic [14:58] kyrofa: yes [14:59] this is my current checked-out or in-progress snaps: https://usercontent.irccloud-cdn.com/file/0ensUQkd/image.png [14:59] haha [14:59] cprov, okay, I can work with that [14:59] ooh, you have snapcraft, that looks cool ;) [14:59] :-p [15:04] diddledan: revision 41 of irccloud still has broken icon. do i need to wait for the next build? [15:04] o_O [15:04] * diddledan checks [15:05] man I shouldve launched that VM on a ssd [15:08] revision 41 was the one built in response to the PR I think. perhaps it's still broke? [15:09] jdstrand: hey [15:13] popey: it has the correct icon for me [15:14] Oh maybe font cache nonsense here maybe [15:14] I had to uninstall irccloud and reinstall though, because I'd installed 3 separate testing builds locally causing snapd to decide the snap no longer exists in the store [15:15] that's really ducked up [15:15] I get not installing store snaps over locally installed ones automatically. but I tried explicitly telling it which revision to install and it still said the snap doesn't exist in the store [15:16] pstolowski: you mean because golang.org gives us 502 ? [15:16] pstolowski: or terrible for different reasons? [15:16] htf are you supposed to switch between a test you built several times locally and the store snap?! [15:16] PR snapd#4993 opened: cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs [15:17] no, just 502 [15:17] diddledan: you have to snap refresh foo --edge --amend [15:17] tried it [15:17] the --amend is important [15:17] didn't work [15:17] there is a bug with amend, which m vo is fixing [15:18] if the snap concerned isn't in stable [15:18] https://www.irccloud.com/pastebin/pTpa2npd/ [15:18] popey, hmm, I'm able to repro that appmenu issue; let me check why it works on my docker image [15:19] thresh: "great!" [15:19] also [15:19] yeah, no [15:19] :) [15:19] https://www.irccloud.com/pastebin/TAGOrUGZ/ [15:19] maybe you need the channel too [15:19] as well as the revision [15:20] pedronis: ack [15:21] diddledan: either way, wimpy tested so I'm gonna promote that to stable. Thank you! [15:22] I wonder why this package is pulled in anyway [15:22] yey [15:22] pedronis: nice work there [15:22] pedronis: I think this is good enough for this issue for thie .3 release [15:22] jdstrand: can you pleaes look at https://github.com/snapcore/snapd/pull/4993 [15:22] PR #4993: cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs [15:23] am I right there? [15:23] https://github.com/snapcrafters/sublime-text/pull/9 [15:23] PR snapcrafters/sublime-text#9: ship gtk2 and fix desktop file shortcuts [15:23] popey: ^ and happy birthday :) [15:23] ohhh [15:23] once that's in edge I can test again :) [15:24] zyga: you want to creat the dir and files in the dir? [15:24] I really want s-t from a snap :) [15:24] yes [15:24] approved [15:24] that makes the two of us. [15:24] jdstrand: thank you! [15:24] mborzecki: ^ FYI [15:25] mborzecki: another 2.32.x backport needed I suspect [15:25] also could anyone help with https://forum.snapcraft.io/t/right-click-menu-items-dont-work/4724 ? [15:26] mvo, cachio i suppose the tests will keep failing unless we fix the problem of space on opensuse [15:26] pstolowski, let me take a look [15:26] om26er: oh, interesting [15:27] om26er: I think our sanitization breaks the desktop file [15:27] om26er: can you pastebin the generated destkop file in /var/lib/snapd/desktop/applications [15:27] cachio: thanks! [15:27] om26er: or better, a diff from the vanilla one [15:27] om26er: I suspect we strip something and it's broken then [15:30] pstolowski, do you have a link? [15:30] I see most of them in green [15:33] cachio: nah, not anymore, i kicked the tests again, sorry; let's see if it fails again on opensuse [15:33] another bunch of 5xx from golang.org there :( [15:37] pstolowski: right now tests are going strong [15:37] pstolowski: fingers crossed (half done, no error yet) [15:37] pstolowski, it is weird because we have a fixed image [15:38] for opensuse 42.3 === phoenix_firebrd is now known as phoenix_firebrd_ [15:38] but let's see [15:38] cachio: hey [15:38] zyga: btw I think undo of Enable is also buggy [15:38] about opensuse [15:38] can you make sure our images don't run snapper [15:39] it's a tool built into opensuse [15:39] that takes snapshot of the system all the frelling time [15:39] and it keeps them [15:39] it makes 40GB VMs useless [15:39] pedronis: in which way, looking at the code now [15:40] zyga: I think the undo of setup-profiles makes assumption that don't make sense for the undo of enable [15:40] it's again an issue of not enough info [15:40] zyga, ah, ok, I'll take a look to that [15:41] zyga: afaict the undo of setup-profiles will put back profiles as long as there's a current revision (active or not) [15:41] perhaps the best option is to have our own opensuse 42.3 image [15:41] this is correct for the undos of refresh/install [15:41] but not enable [15:41] so we can control what's inside [15:41] pedronis: yes [15:41] corrently we are using the one published by opensuse [15:41] not sure I care a lot atm [15:41] but is part of the messy picture of not enough state [15:42] cachio: well, it'd be nice to be true to real opensuse images but perhaps they are not so suitable for cloud; can you ask in #opensuse-buildservice perhaps? [15:42] zyga, ok [15:42] mvo: it failed again, this time on 2 ubuntu systems on prepare :( [15:43] https://api.travis-ci.org/v3/job/362640777/log.txt [15:44] mmmm [15:44] pedronis: so on undo we essentially setup security for the prior revision [15:44] 502 from govendor syncs [15:44] pedronis: (whatever it was) [15:44] yea, but disabled state [15:44] should have no profiles [15:44] disable does remove-profiles [15:45] anyway as I said, not super important right now, I noticed because I was staring [15:45] at undo paths with setup-profiles link-snap in them [15:45] wondering if we can extend the fix to the undo case [15:45] pedronis: I don't see it yet, sorry, i'm not that fast, is the issue with lack of state in setup-profiles or in how they are used to enable/disable [15:46] ah [15:46] sideInfo := snapst.CurrentSideInfo() [15:46] it's lack of state I think [15:46] active false [15:46] means disabled [15:46] this will return nil when snap is inactive [15:46] but also I'm going through being refreshed [15:46] ? [15:47] yeah, I see [15:47] no Current is always set [15:47] unless during installation [15:47] the whole thing is just so complex now [15:47] irrespective of enabled or disabled [15:47] ah, right [15:49] pedronis: so in ifacestate/handlers.go on line 252 where we check if sideInfo is nil we should also check if it was active or not [15:49] that's not enough [15:49] I think [15:49] because of how we use active during refreshes [15:50] I must say I'm very lost in how it's used [15:50] in both cases we enter [15:50] setup-profiles with active false [15:50] we really don't know [15:50] do I have profiles on disk or not [15:51] it's really related to the bug [15:51] and the idea of having a profiles-revision === phoenix_firebrd_ is now known as phoenix_firebrd [15:51] in the state [15:51] one thing to remember is that setup / remove will do the right thing for given input state [15:51] they largely don't care about what is on disk [15:51] here they don't though [15:51] the system there is designed to reach a stable state, given the desired stable state [15:51] we simply don't know enough [15:52] if we tell the repo to setup security, we will [15:52] it's juts that we don't know _what_ to say [15:52] and that I understand is the issue [15:52] we don't know if there was a previous set of profiles or disk or not [15:52] I really honestly am lost in the state/task system now [15:52] we just assume that if current is set [15:52] that was the set [15:52] that's untrue when we undo enable [15:52] and I think it warrants a whiteboard diagram that people discuss and collectively understand [15:53] in this specific case the worse that can happen is that snap will have profiles that it doesn't need [15:53] that's bad but harmless IMO [15:53] as I said I don't care about it as a bug that needs immediate fixing [15:54] it just points out we don't have enough state [15:54] from a similar/slightly different angle [15:55] zyga: replied on snapcraft.io [15:56] mborzecki: maybe you want to look at https://forum.snapcraft.io/t/right-click-menu-items-dont-work/4724/6 [15:56] you touched destkop files recently and it's related [15:57] zyga: as we said yesterday ifacestate is trying to "reuse" the state as kept by snapstate but there are matches/confusion [15:57] is not that the state is too complicated, is more that is slight out of phase/sync wrt what ifacestate does/needs [15:57] s/matches/mismatches/ [15:58] om26er: zyga you guys clear with my proposal in the s-t pr? [16:00] popey: https://github.com/snapcrafters/sublime-text/pull/9/files ? [16:00] PR snapcrafters/sublime-text#9: ship gtk2 and fix desktop file shortcuts [16:00] popey: We never released sublime to stable under sublime-text-3 name, so if we make an "announcement" of a type, I believe all those who have installed it currently will move to the new name. [16:05] pedronis: I think the complexity in our design is derived from the delayed execution and state keeping and how the do/undo logic is structured [16:05] :O [16:05] pedronis: if ifacemgr gets to keep its own state [16:06] pedronis: we can simplify some of it but only to the point where we need the interaction across managers [16:07] isn't the lesson instead that the best if the managers can ignore each other [16:07] popey, I don't understand why this is happening: http://thre.sh/stuff/snapcraft-debug-docker.txt (docker image), appmenu-qt5 is marked to be fetched, but silently ignored [16:07] pedronis: I think that's true but then again managers are all kind of "we manage snaps" in some way and the separation of interface manager is more of a "two people coded this" than deliberate design [16:08] * thresh goes on comparing apt-conf dump [16:10] zyga: yes, in the sense that a solution to some extent would be to merge into doLinkSnap both what it does and doSetupProfiles, then active would mean one thing, there are probably still issues though [16:11] pedronis: yes, especially if it finishes half way and needs to clea nup [16:11] on one hand side if every little thing is a task undo is easy [16:11] on the other hand big tasks are easier to understand [16:11] and regardless, making changes to task structure across snapd versions sucks [16:11] we don't version them [16:19] popey: if you're looking for snap news, besides irccloud being updated today, I've just pushed openra 20180307 to stable [16:21] previous version was 20171014, and upstream have been doing a lot of work FWICT [16:21] zyga, snapper is installed in opensuse [16:21] release notes from upstream: https://www.openra.net/news/release-20180307/ [16:22] zyga, who is running it? [16:22] it's a systemd unit AFAIR [16:22] removing it is a good idea [16:22] it uses lots of disk space [16:24] popey: this is a choice quote from the release notes in the middle: "A fix for the AI cheating when it uses superweapons and support powers" [16:24] :-p [16:24] damned AIs. if they decide to murder us they'll cheat! [16:25] zyga, all the snapper services are already disabled [16:25] diddledan: yay! :) [16:25] cachio: cool, that's good then [16:25] so, the problem is something else [16:25] cachio: what's the partition layout [16:26] I'll execute the test suite from here and debug it [16:26] zyga, https://paste.ubuntu.com/p/Tmwbnj6X89/ [16:26] cachio: could you give me a quick heads up when the revert happend? I will write a note in the forum about it then [16:26] nice, simple, good [16:27] mvo, who is triggering the revert? === phoenix_firebrd is now known as phoenix_firebrd_ [16:27] I? [16:27] or the store team? [16:27] popey, welp, now I can reproduce the error with appmenu even on my docker image -- I had to upgrade snapcraft to 2.40 from 2.39.3+really2.35 [16:28] now that's something already [16:29] cachio: its a change to the stable channel so if you could trigger it that would be great (once the store is ready) [16:29] ok, just to release the previous versions to stable, right? [16:29] 2.31.2 [16:30] cachio: yeah, correct 4205..4210 iirc, but let me quickly double check [16:30] sure [16:30] cachio: yeah, those are the versions [16:30] nice [16:32] pstolowski, hey you have a machine in google since yesterday [16:32] is it ok [16:33] can I kill it? [16:43] cachio: ah yes, i forgot to free it. yes you can kill it [16:44] pstolowski, thanks [16:51] is the store still "sick" wrt. downloading the core snap? [16:51] our CI is failing a bunch again [16:51] (git-ubuntu) [16:51] https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/372/console e.g [16:56] pstolowski: it is jinxed, the inject PR failed again [16:56] nacc: we released a new core some minutes ago, maybe that is the problem? [16:56] nacc: a bit of an overload [16:57] zyga: do we need 4993 for 2.32? [16:57] mvo: ok, i'll see [16:57] checking [16:58] yes, please take it [16:58] it's a minor fix but people will like it [16:58] zyga: sure, will do [16:58] and it cannot regress [16:58] it's adding permissions [16:58] thank you [16:59] zyga: ta [16:59] thanks for checking :) [17:01] jdstrand: hey, just wanted to (friendly) check if you will have time soon(ish) for a review of 4942? [17:03] pstolowski, worked on opensuse [17:03] no errorrs [17:08] cachio: yes... but we have other failures again [17:13] mvo: don't know if you saw but I pushed #4991 [17:13] PR #4991: ifacestate: add to the repo also snaps that are pending being activated but have a done setup-profiles [17:15] pedronis: +1 from me, just one question [17:15] I will push the state on top [17:15] mvo: my understanding is that is for 2.33, not for 2.32. I've been tasked with some 18.04 distro work and therefore put that review (and other non-2.32 snapd work) behind that work [17:15] AFAIK we said all snap info loading would go through a helper in snapstate that loads from cache [17:16] there is no such helper [17:16] atm [17:16] mvo: is this for 2.32? [17:16] mvo: (it's already in our queue) [17:17] ah, that's okay than [17:18] zyga: snapstate itself uses readInfo (you changed it recently), that's not public, not it is caching [17:19] s/not it/nor it/ === phoenix_firebrd_ is now known as phoenix_firebrd [17:27] jdstrand: it was for 2.33 but its one of these things we really want and its relatively small and self-contained so we aim for it for 2.32. but of course time is in short supply so if you are busy you are busy :) [17:29] mvo: I thought 2.32 was closed and bug fix only. you are saying that if I review this, you will put it in 2.32? [17:32] mvo: if so, when does it need to be reviewed by? eod tomorrow? (I read 2.32 is now planned for next week) === phoenix_firebrd is now known as phoenix_firebrd_ === phoenix_firebrd_ is now known as phoenix_firebrd [17:33] PR snapcraft#2050 opened: storeapi: properly handle lacking permission for channel [17:35] jdstrand: we have 2.32 open right now because we are waiting for two critical fixes. so small/low risk/high gain can still go in. probably until tomorrow(ish). depends a bit on the pending fix(es) [17:35] PR snapd#4988 closed: snapstate, ifacestate: inject auto-connect tasks try 2 [17:35] PR snapd#4993 closed: cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs [17:35] thanks mvo [17:36] PR snapd#4994 opened: cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs === phoenix_firebrd is now known as phoenix_firebrd_ [17:37] PR snapd#4995 opened: snapstate: inject autoconnect tasks in doLinkSnap for regular snaps [17:39] mvo: I should be able to get to it tomorrow. I may have some small policy updates to add to 2.32 too [17:39] jdstrand: ping me for those, I will review them ASAP [17:39] jdstrand: sounds good [17:41] mvo: wow, you merged it; did it pass finally? [17:42] pstolowski: yes, it finally did [17:42] pstolowski: i'm trying to build the new core now [17:42] mvo: great, thank you! let me know when it's available [17:43] pstolowski: probably ~30min or so, just triggered the ppa build for the deb once that is done will do the core build [17:49] oSoMoN: fyi: apparmor="DENIED" operation="chmod" profile="snap.chromium.chromium" name="/home/jamie/.config/ibus/bus/" pid=11621 comm="chromium-browse" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000 [17:49] oSoMoN: the dir exists and is already 0700. why is chromium trying to change that? [17:50] pedronis: conflict on https://github.com/snapcore/snapd/pull/4991 [17:50] PR #4991: ifacestate: add to the repo also snaps that are pending being activated but have a done setup-profiles [17:52] zyga: btw, did you try it with reproducer? [17:52] Hello all. Is there a way to just browse the snapcraft store? Like with categories or A-Z? [17:52] pedronis: no, I'm about to try, just pushing my simple PR [17:53] jdstrand, that's probably caused by https://github.com/ubuntu/snapcraft-desktop-helpers/pull/104/files [17:53] hyperreal: limitidly, yes [17:53] PR ubuntu/snapcraft-desktop-helpers#104: Add missing stage packages and copy ibus socket files to enable ibus for GTK3 applications out-of-the-box [17:53] pedronis: https://github.com/snapcore/snapd/compare/master...zyga:fix/reload-repo-inactive-snaps?expand=1 [17:53] hyperreal: try "snap find --section" [17:54] pedronis: not sure if correct, not super familiar with state handling [17:54] Chipaca: thanks, I'll try that. [17:54] oSoMoN: that would do it [17:54] hyperreal: it needs more work on many fronts, but it's the beginning of the 'browse' journey [17:55] jdstrand, what would cause the chmod call? the call to ln ? [17:55] oSoMoN: so, seems you could test -d $IBUS_CONFIG_PATH || mkdir $IBUS_CONFIG_PATH [17:55] zyga: I fixed the conflict [17:55] thanks [17:56] oSoMoN: well, wait a sec [17:56] oSoMoN: XDG_CONFIG_HOME is in ~/snap at this point [17:56] oSoMoN: I don't see where a chmod is happening [17:57] thresh: maybe follow up on that forum post and we can see if kyle can take another look. [17:58] oSoMoN: perhaps there is an unconditional chmod in the ibus libs. I would argue that should be fixed to only chmod if it isn't what it expects. that would be something for SRU and then anything using the desktop launcher won't be affected by it [17:58] popey, that's what I did, thanks! [17:58] oh great :D [17:59] oSoMoN: as it stands, it sounds like if the lib is doing that, *every* snap that uses the part will trigger this denial, which will lead to confused users [17:59] zyga: it looks it's going in the right direction, but yes that would be more work to do around the undo code paths to consider/use that new state [18:00] yes, that's how I re-purposed it after your idea [18:00] also thinking when it gets written to disk (state.Unlock) [18:00] I think we want to store it for now [18:00] and eventually switch over [18:00] oh, good point [18:01] zyga: if you look at snapstate handlers, they tend to do Set almost always at the end [18:01] OTOH ifacestate stuff releases the lock more often (or did at some point) [18:01] so there's some thinking to do what we want, what are the trade offs [18:01] it might not release the lock anymore though now that I think [18:01] we changed that [18:02] because it was actually making things slower [18:02] I haven't looked yet but this is an important aspect of the correctness [18:03] mmh [18:03] doSetupProfiles unlocks [18:03] no we still do unlock [18:03] the stask state [18:03] before calling the backends [18:03] is that the full state? [18:03] yes, there is nothing but the full state [18:03] we never write partial bits [18:04] ok [18:04] so one should always be careful [18:04] to have set something coherent into state [18:04] before Unlock is done or can happen [18:04] so doSetupProfiles and doRemoveProfiles only unlocks at the end [18:04] that feels correct for now [18:05] zyga: not really [18:05] so each setup will unlock, giving us some idea of where we are [18:05] no? === phoenix_firebrd_ is now known as phoenix_firebrd [18:05] because they call setupSnapSecurity [18:05] does unlock in the middle [18:06] ah, I see now [18:06] because backends run processes [18:06] and that's "slow" [18:06] yes, I think we wanted to remove those Unlock [18:07] especially the systemd backend was problematic [18:07] so we didn't in the end [18:08] hmm I don't recall what the problems were [18:08] Stop can take infinite time, for example [18:09] interesting [18:09] we call get/set (in my patch) just prior to that [18:09] so we'd save the state then [18:10] Chipaca: physicists tell me that if you got an infinitiy its a problem in your calculation ;) [18:10] zyga: mumble "dirac's delta" at them and they'll shut up and bugger off [18:11] jdstrand, that denial is harmless though, isn't it? [18:12] zyga: we should call Set at the end as snapstate does [18:12] oSoMoN: it doesn't seem to affect the snap no. however, there will be bug reports where people think it is causing trouble and people will have to constantly refute that it is an issue [18:12] isn't* [18:12] true [18:12] zyga: when we are sure we are done [18:12] pedronis: after setup succeeds [18:12] yeah [18:12] we should also remove but I haven't done that yet [18:13] I could Set(st, snapName, nil) in the remove path but I didn't want to (since the struct can grow later) [18:13] oSoMoN: traditionally we would add an explicit deny rule, but we don't like to do that since they override allow rules, and interfaces that use them will undo interfaces that are meant to allow it [18:13] jdstrand, it seems you are right: [18:13] osomon@bribon:/tmp/ibus-1.5.17$ grep -rn chmod [18:13] src/ibusregistry.c:475: g_chmod (filename, 0644); [18:13] src/ibusbus.c:560: g_chmod (path, 0700); [18:13] oSoMoN: and by traditionally, I mean, outside of snapd [18:14] there you go. a quick stat() check is all that is needed [18:14] jdstrand, I'll file a bug after dinner and will propose a fix [18:14] oSoMoN: in this case, it is src/ibusbus.c:560 [18:14] oSoMoN: thanks! [18:14] yep [18:14] thanks for pointing it out! [18:14] pedronis: I wonder if we should store revision if affected snaps failed [18:14] I think yes, we should [18:14] oSoMoN: thanks for working on a fix and even more thanks for getting ibus to work :) [18:14] because that's really the truth [18:15] the truth in which sense? [18:15] we are interested in whether we need to AddSnap this snaps at that revision [18:15] if we should not do that, we shouldn't set it [18:15] if we should, we should set it [18:17] pedronis: truth as in the profiles are on disk for that snap at that time [18:17] https://github.com/snapcore/snapd/compare/master...zyga:fix/reload-repo-inactive-snaps?expand=1#diff-145e00c2f5e1d200010c00f39691a09cL200 [18:17] (please refresh, force pusheD) [18:17] should they be? [18:17] I suppose this related to undo on error [18:18] I think this is okay because even if affected snaps fail this snap is in the repo and it's meant to be reloaded [18:18] (which is not done by undo) [18:18] yes, it certainly is, this is purely in the error path [18:19] I mean, in snapstate tasks try to undo themselve if they error [18:19] yes, and if they undo themselves correctly they will remove profiles (or setup another revision) which would update the state [18:20] does the code in ifacestate do that? [18:20] probably not, let's see [18:20] I don't think it does [18:21] I don't see any evidence of that, no [18:21] if setup profile of revion X fails, we might have the profiles for revision X on disk [18:22] but the rest of the undo [18:22] will remove revision X [18:22] from the system otherwise [18:22] we don't stash them [18:22] and it's not just revision X [18:22] it's also "whatever old snapd wrote" [18:22] maybe we are busted [18:22] so we'd have to rethink the logic around that for individual tasks to undo themselves mid-throgh-task [18:23] well in theory having profile-revision in state [18:24] should help knowing what is on disk [18:24] (except during the transition from not having it to having it) [18:24] in some sense the undo task for setup profiles is the right undo for partially broken setup profiles [18:24] we just don't use that [18:25] undo unly runs if setup works all the wy [18:25] *way [18:25] I know [18:25] some things in snapstate do that [18:25] they basically call they undo* code [18:25] on error paths [18:25] not all of them [18:25] it depends [18:25] yeah [18:25] I think it would be nice to make that implicit [18:25] (eventually) [18:25] it is sane and nicer conceptually [18:25] it also true that most things snapstate (except aliases) [18:26] deal with the one snap [18:26] security touches more than one snap [18:26] the affected snap bit [18:27] pstolowski: edge with inject-tasks v2 should be ready in 10min or so, core snap is building right now [18:27] mvo: ack [18:29] zyga: basically there's a lot of things to think about in this area, if we start cleaning up [18:31] pedronis: I agree [18:31] pedronis: I opened a PR with this code as is [18:32] it's not interacting with your fix yet [18:32] not sure if that's something we can merge before gustavo is back [18:32] PR snapd#4996 opened: overlord/ifacestate: store and use revision with security profiles set [18:37] zyga: we should remove the state in discard-conns, no? that's the task we use in ifacestate when a snap goes completely away? [18:37] that's a good point [18:37] yes, I'll do that [18:39] force pushed one liner [18:50] pstolowski: mvo: there's a new core in edge it seems [18:50] yes [18:50] ! [18:53] Beta expected today? [18:54] mvo: pedronis ok, checking [18:54] pstolowski: good luck, I'm running my own test here too [18:57] pstolowski: looking good here [18:57] zyga: I assume 4996 is for 2.32? [18:58] Hey [18:58] mvo: maybe .4 but not .3 [18:58] We don’t need it, it is not a fix [18:58] is just to start storing things [18:58] It’s long term [18:59] mvo: #4991 we need to decide if we want it for .3 or wait [18:59] PR #4991: ifacestate: add to the repo also snaps that are pending being activated but have a done setup-profiles [19:01] mvo: all looks fine here as well [19:01] pstolowski: yay [19:01] pstolowski: I have the backport ready [19:02] mvo: lxd interfaces reported as connected (haven't tested lxd functionality though); no errors in snap change(s), and I see a series of connect task added there as expected [19:02] great [19:02] mvo: awesome [19:04] pstolowski: yeah, lxc (the command) runs [19:04] pstolowski: and lxc info as well [19:04] PR snapcraft#2051 opened: elf: use snapped strip [19:04] great [19:05] PR snapd#4994 closed: cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs [19:09] pedronis, zyga how safe do you consider the PR? [19:10] eod, cu === pstolowski is now known as pstolowski|afk [19:10] pedronis: which one? [19:10] er [19:10] mvo: which one? [19:10] the one from pedronis? [19:11] zyga: 4996 was the one I just looked at. but its different from what we discussed earlier, didn't we? [19:11] ah, this one [19:11] mvo: 4996 is not a fix [19:11] I think it's not critical [19:11] it's not the fix, it's probably going to get renamed / changed [19:11] mvo: the fix (for the do path) is #4991 [19:11] PR #4991: ifacestate: add to the repo also snaps that are pending being activated but have a done setup-profiles [19:11] what pedronis did is the real thing [19:12] mvo: review and squash 4991 [19:12] zyga: ok, checking [19:12] pedronis: oh, thank you [19:22] PR snapd#4991 closed: ifacestate: add to the repo also snaps that are pending being activated but have a done setup-profiles [19:24] PR snapd#4997 opened: ifacestate: add to the repo also snaps that are pending being activated but have a done setup-profiles === phoenix_firebrd is now known as phoenix_firebrd_ [19:36] PR snapd#4995 closed: snapstate: inject autoconnect tasks in doLinkSnap for regular snaps === phoenix_firebrd_ is now known as phoenix_firebrd [19:45] I have updated the forum topic with links to the PRs [20:09] hrm, hrm, no travis slots [20:13] pedronis: thank you [20:13] mvo: bummer :/ [20:13] I'm waiting for kids to finally go to slepe [20:13] *sleep [20:16] PR snapcraft#2052 opened: many: add override-prime scriptlet [20:29] mvo: can I help or shall we wrap and do it tomorrow [20:29] zyga: looks like tomorrow, no slot from travis [20:29] zyga: which is a bummer, its the last pending PR [20:29] oh well [20:29] zyga: I will get up early and continue with this [20:30] mvo, any idea if travis is stuck? [20:30] cachio: its probably just that we used to many travis slots today that they don't give us new ones right away [20:30] well [20:30] did it pass on master? [20:31] run unit tests and merge it [20:31] mvo, ah, ok [20:31] it's not disto specific [20:31] zyga: yeah, well, would love to have a full run [20:31] zyga: but maybe you are right [20:32] you could have done a full run by now :) [20:32] it's 25~ for a full run [20:32] not saying it's bad you didn't it's just not exclusive to travis [20:33] mvo, do you know which travis machines have the google credentials? [20:34] PR snapd#4997 closed: ifacestate: add to the repo also snaps that are pending being activated but have a done setup-profiles (2.32) [20:34] I think the trusty ones don't [20:34] I updated all the spread branches but they fail because of lack of credentials on travis machine [20:44] PR snapd#4998 opened: release: 2.32.3 [20:54] PR snapd#4999 opened: advisor: use json for package database [20:54] PR snapd#5000 opened: errtracker: make TestJournalErrorSilentError work on gccgo [20:54] zyga: and the build failed on pwerpc :( [20:54] uhhhh [20:54] why? [20:54] zyga: so we will need one more release for the deb [20:54] mvo: can we retry? [20:54] zyga: but thats ok, the core can still go to beta [20:54] or is it really broken [20:54] zyga: no, see PR above [20:55] zyga: its a new test in errtracker that breaks [20:55] ahhh [20:55] zyga: in very silly ways [20:55] s....t [20:55] can we not build for ppc in the future or would that cause migration issues? [20:55] zyga: we need to haggle with the distro about this [20:56] zyga: I would love to stop doing that but so far keeping it alive was more cost effective (less time spend) than to argue this [20:56] zyga: but maybe we are reaching the tipping point [20:56] mvo: bionic is about to ship [20:56] is bionic ppc-free? [20:56] zyga: it is!!! [20:56] zyga: happy days [20:56] my poor ppc box ;( [20:56] good :) [20:56] zyga: xenial has 3 more years [20:56] zyga: and there is always debian ;) [20:57] zyga: lol@your comment [20:57] zyga: I wish I could :heart: that [20:58] https://github.com/snapcore/snapd/pull/4999/files#r179598750 [20:58] PR #4999: advisor: use json for package database [21:00] zyga: thank you! [21:01] zyga: hrm, hrm, I really hope the ppa build finishes soon, I want to sleep :) [21:01] or :/ [21:01] or even :( [21:01] my eyes are closing [21:01] I'm closing my laptop now, sleep well and rest tomorrow [21:01] all work and no play makes mvo a dull developer [21:01] remember that ;) [21:01] it ends bad in the movie [21:02] jdstrand, bug #1761585 [21:02] Bug #1761585: ibus_bus_init does an unconditional call to chmod on $HOME/.config/ibus/bus [21:24] oSoMoN: thanks! [21:29] cachio: just fyi (no rush) - 2.32.3 for amd64/i386 is in beta now. once arm/arm64 is ready I will publis hthat too [21:30] mvo, nice, I'll start today [21:30] so for tomorrow morning we have some results [21:30] cachio: yay [21:30] mvo, did you see my comment about travis? [21:31] about in spread cron the jobs are failing because we dont have credentials [21:31] cachio: let me read [21:31] cachio: ohhh [21:31] cachio: that makes sense. what can we do? [21:31] could be happening because we are runing on trusty? [21:32] I have removed the trusty config but I could not validate if it is the cause [21:32] because we don't have more slots :( [21:32] cachio: :( [21:33] cachio: yeah, its really annoying [21:33] tomorrow we will have more? [21:34] cachio: yeah [21:34] ok, I'll wait [21:34] today I updated like 40 branches [21:34] and all of them failed because of that :( [21:35] parhaps it is my fault [21:35] I mean the reason why we don't have more travis slots [21:39] cachio: don't worry, but yeah, I think we get rate limited by travis at some point [22:32] cachio: armhf is now ready too in beta, I will do arm64 in my morning [22:33] question.. Is build.snapcraft.io now reading the yaml `base:` stanza to decide were to build the snap or will it use just core16 for everything? [22:37] zyga: it doesn't look like they're regenerating the website