[02:06] PR snapd#8152 opened: managers_test: add uc20 kernel snap update happy and panic tests [06:15] morning [06:38] school run, back in 30 [07:06] re === abeato_ is now known as abeato [07:45] mvo: morning [07:48] hey mborzecki ! good morning [08:01] morning [08:14] re [08:14] good morning [08:16] tests are somewhat unhappy [08:16] I've seen snapd-failover fail a lot yesterdat [08:16] I know Ian was looking into that but perhaps it needs more eyes [08:18] and snap-run hangs, oh my [08:18] zyga: right, i saw snapd-failower failures as well [08:22] so [08:22] I need bionic [08:22] and I need tests that run as user [08:22] * zyga gets to work [08:40] ok, test written, let's run it [09:10] mborzecki: do you expect https://bugs.launchpad.net/snapd/+bug/1863859 to be true given our environment generators? [09:10] Bug #1863859: Using su removes /snap/bin from PATH [09:10] mborzecki: I just noticed this in tests [09:13] zyga: su - ? [09:13] su test -c "snap run foo" vs su test -c "foo" [09:13] zyga: try su -l [09:13] mborzecki: k [09:14] or . $TESTSLIB/user.sh and then as_user_simple ? [09:14] zyga: simple will not load the profile [09:16] I'll look at some tests that suffer from this [09:32] * zyga loves calls with baby crying next door [09:33] PR snapd#8153 opened: [RFC] "snap run --explain" with different formating [09:33] mvo: I'll review in a moment, need to check what the crying is all about [09:34] zyga: no rush, thank you! [09:55] re [10:10] * zyga debugs all kinds of things through one failing test [10:46] mborzecki: quick question [10:46] https://www.irccloud.com/pastebin/B2mlykUV/ [10:46] (this is test-snapd-sh without arguments [10:46] spawning endless loop of bad substitution [10:46] why would our argv[0] cause this? [10:48] I'm patching snap-exec to show what's going on at that layer [10:48] it is driving me crazy, I want to finally fix it [10:53] mborzecki: it's a dash specific message [10:53] that's interesting [10:53] I think we do something incorrectly [10:53] oh well, let me grab coffee [10:55] desktop 18.04 install in progress [10:55] I think we have a problem with systemd there :/ [10:55] but I think my test setup is not doing what is right [11:08] brb [11:14] ha [11:14] got it [11:14] found a bug in spread [11:17] PS1 breaks dash [11:17] becuase SPREAD_PATH is unset [11:18] is it just me or is this a quiet channel? [11:30] zyga: hey :-) [11:30] hey [11:30] how are you? [11:30] zyga: i'm fine. thank you. Little bit tired. But fine :-) And you ? [11:30] a bit scared I missed something big that came up yesterday evening [11:31] debugging it now [11:31] oh, good luck [11:32] i'm just started to fix the snap for the github actions. [11:34] zyga: on which point it's best to do chmod of a script ? I have a /run.sh and snapcraft says it's not executable. I use chmod at `override-build` currently. [11:35] sdhd-sascha: are you building on windows? [11:35] `Failed to generate snap metadata: The specified command 'run.sh' defined in the app 'runner' is not executable.` [11:35] sdhd-sascha: it's best to keep it executable in the tree [11:35] I wonder, why the generated tar isn't executable ... i will see [11:38] zyga: if i go into `multipass exec ` ... Then inside of `/root/parts/runner/build/run.sh` it's executable. [11:38] ``` [11:38] apps: [11:38] runner: [11:38] command: run.sh [11:38] ``` [11:38] But i still get: `Failed to generate snap metadata: The specified command 'run.sh' defined in the app 'runner' is not executable.` [11:39] hmm [11:39] oh great [11:39] killing dash killed gnome-terminal [11:39] wow [11:40] anyway [11:40] just more bugs [11:43] ijohnson: thanks for the PR [11:43] ijohnson: it seems that tests failed in a strange way [11:46] command systemctl is-active snapd.failure.service keeps failing after 30 attempts [11:47] and snapd.service: Failed to execute command: Exec format error [11:47] zyga: does that sound familiar to you? [11:47] cmatsuoka: hey [11:47] yeah, there's something really broken [11:47] it's worse recently perhaps the test is new or something related changed [11:47] it fails left and right [11:48] EXEC spawning /snap/snapd/x2/usr/lib/snapd/snapd: Exec format error [11:48] I haven't looked into it yet [11:48] cmatsuoka: yeah, the test is trying to install corrupt snapd [11:48] to check failover [11:48] but failover never kicks in [11:48] the exec format error is expected and harmless noise (for the test) [11:49] ah ok [12:02] PR snapd#8154 opened: tests: reset PS1 before possibly interactive dash [12:02] mborzecki: ^ [12:02] this caused me some grief [12:02] cmatsuoka: I can look after I investigate more systemd stuff [12:03] cmatsuoka: zyga: yes I was looking into this a bit yesterday, I think that the patch mborzecki recommended to snap-failure is useful here, I had that small change proposed in my larger core spread PR, but perhaps I should break it out just to get that merged [12:03] and morning folks btw [12:03] ijohnson: hey! [12:03] hey mborzecki [12:03] * ijohnson is here for real this morning [12:04] `The dash bug has been reported to the dash mailing list (there is no bug tracker).` hahah welp [12:08] mborzecki: oh well [12:09] mborzecki: it's very unixy [12:09] mborzecki: mailing list archive, CCing people [12:09] mborzecki: 3-character names [12:09] thank you for the review guys [12:09] I see a lot of red in the most recent spread runs, has anyone investigated yet? [12:09] mvo: snapd-failover [12:09] it's failing ... over and ... I'll shut up now ;) [12:10] :D [12:10] * zyga returns to debugging systemd [12:14] PR snapd#8155 opened: tests: mv ubuntu-core-snapd{,-failover} to core/ suite [12:14] mvo: I opened ^ which I think will help with the snapd-failover test [12:15] ijohnson, zyga failover test started failing a time ago but with external backend [12:15] now is started failing on travis too [12:15] cachio: interesting you mean on the lab machines ? [12:15] cachio: do you have logs? [12:15] ijohnson, http://paste.ubuntu.com/p/DXD9WN7CtJ/ [12:16] this is from the 2.43.3 [12:16] line v [12:16] 1330 [12:16] I though it was related to our configuration for the external backend [12:16] because it was not possible to reproduce on travis [12:16] using gce [12:17] but seems to be something else [12:17] yeah that seems to fail the same it's failing on travis now [12:17] the issue is that snapd.failure.service is not being started ever by systemd [12:17] the weird part is that when using the external backend the test is not failing 100% of the times [12:17] right [12:18] yes I don't think it is failing 100% of the time on travis either, indeed when I tried reproducing yesterday I didn't hit it [12:18] a time ago I shared more info about the error, I am trying to find it [12:19] I remember I sent the error to mvo [12:20] failover was trying to find core and core snap was not installed [12:20] ijohnson, but I cant find the logs [12:20] cachio: hmm that sounds different [12:21] the error is the same you see in the log I sent you [12:21] I'll reproduce it [12:22] and share the logs again, give me 15 minutes [12:22] google:ubuntu-18.04-64 .../tests/main/cgroup-tracking# test-snapd-sh.sh [12:22] $ [12:22] google:ubuntu-18.04-64 .../tests/main/cgroup-tracking# [12:22] ^ getting this feels like this day is already worth it [12:24] thanks cachio [12:25] mborzecki: but it was worth reporting, it's a known problem [12:25] https://patchwork.kernel.org/patch/11343121/ [12:25] and there's a patch [12:28] nice [12:40] PR snapd#8156 opened: [RFC] cmd/snap-bootstrap: subcommand to detect if we want a chooser to run [12:41] mvo: ^^ the key-watching thing [12:41] pedronis: mvo: we should probably discuss the naming there [12:46] oh [12:46] I wanted to mention that yesterday [12:46] about recovery and prompt and stuff [12:46] something to keep an open mind [12:46] smart IOT bulbs [12:46] do recovery [12:46] if ... [12:46] you turn them on and off five times in a row with specific time delay [12:47] our discussion about key detection feels incorrect [12:47] it should not be something we mandate [12:47] Hello all. I instaleld snapd on a raspbian based pi today. Unfortunately, none of the built-in interfaces/slots are available. What creates these? [12:47] zyga: we don't mandate it, we need a reference experience [12:48] Since they dont exist, snaps are unable to connect to anything [12:48] codingpanic: did you install snapd as a deb pkg ? [12:48] ijohnson: yes [12:48] hrm [12:48] ubuntu@localhost:~$ snap version [12:48] snap 2.43.3+git1047.g6b52b37 [12:48] snapd unavailable [12:48] series - [12:48] ubuntu@localhost:~$ snap list [12:48] error: cannot list snaps: cannot communicate with server: timeout exceeded while waiting for response [12:48] ubuntu@localhost:~$ [12:48] codingpanic: what's `snap list` ? [12:48] ubuntu@localhost:~$ ps ax|grep snapd [12:48] 8932 ? Ssl 0:00 /snap/snapd/6521/usr/lib/snapd/snapd [12:48] ogra: why did you break your snapd [12:49] this is how i found one of my qemu machines this morning [12:49] well don't leave it like that :-) [12:49] seems it got some reboot-triggering update yesterday evening [12:49] ogra: journalctl -u snapd.service [12:49] ogra: anything in the system journal for snapd? [12:49] pi@raspberrypi:/var/log $ snap list [12:49] Name Version Rev Tracking Publisher Notes [12:49] core18 20200124 1671 stable canonical✓ base [12:49] scummvm 2.1.1 3126 stable snapcrafters - [12:50] I've also tried retroarch [12:51] codingpanic: snap install core [12:51] https://paste.ubuntu.com/p/xvRDVNPW4S/ [12:51] the last part simply repeats over and over [12:51] codingpanic: it's a known bug [12:51] zyga: got it, thank you! [12:51] ogra: Feb 19 08:11:22 localhost snapd[824]: panic: cannot checkpoint even after 5m0s of retries every 3s: write /var/ [12:52] ogra: did you run out of disk space [12:52] ? [12:52] zyga: that fixed it [12:52] zyga, bah, yeah [12:53] * zyga hugs ogra [12:53] been there done that (too many times) [12:53] I need a coffee [12:53] brb [12:54] pedronis: I need to run an errand right after SU (3:30 PM your time to be specific), can we put something on the calendar for 4:30 PM your time ? [12:54] zyga: I thought we fixed that bug though ? [12:54] ijohnson: no, that's a separate bug [12:54] ijohnson: look at snap list output [12:54] ijohnson: according to our design you have 0 interfaces in that case [12:55] ijohnson: you must get snapd or core [12:55] zyga: but I thought we fixed the bug where the core snap was not installed when you to go install only a snap with `base: core18` ? [12:55] ijohnson: also this is raspbian so probably runs an older copy [12:55] zyga: ah right yes probably older version of snapd with the bug still in place [12:55] yep [12:56] zyga: we should probably update snapd in raspbian, seems to happen somewhat frequently now I think [12:56] ijohnson: I don't think we can [12:56] ijohnson: we should update snapd in debian [12:56] it very old [12:56] zyga: who handles snapd update in debian? [12:56] nobody [12:56] us [12:56] sometimes [12:56] when $fire [12:57] also doesn't raspbian have it's own archives based on, but separate from debian? perhaps I'm misremembering [12:57] hrm ... freeing up 120MB and rebooting just gets me back to that state :/ [12:57] ijohnson: it does [12:57] ijohnson: but we don't have any way to change it [12:57] bah ... because it is secretly upgrading ... it just rebooted again [13:00] hooray now ogra's ephemeral qemu VM is more secure [13:07] zyga: hey, fyi, https://github.com/snapcore/snapd/pull/7825#discussion_r381277068 [13:07] PR #7825: many: use transient scope for tracking apps and hooks [13:07] hye [13:07] hey* [13:07] ack [13:07] I'm still looking into this [13:07] and especially what happened to your interactive blackbox testing [13:10] zyga: that's fine. I just wanted you to be aware of that weird thing I saw where I semi-started a transient unit and couldn't get it to go away in case it saves you some time [13:11] thank you [13:12] zyga: otoh, can you also make sure that these tests aren't skipped on core? you mentioned trusty but I thought I remembered something about user sessions on sore.... that said, xenial is starting systemd --user so hopefully it is all ok [13:13] jdstrand: I will [13:13] jdstrand: I think this approach was picked specifically to support 16.04 desktop [13:13] that sounds familiar :) [13:13] that was a long time ago :) [13:14] zyga: fwiw, I'm really bought into the technique and like the PR overall :) [13:14] just need to make sure systemd does what we need everywhere [13:14] jdstrand: yeah, I just hope I didn't miss anything [13:17] zyga: I did notice yesterday that runc was using StartTransientUnit for at least something... could look there to build confidence. but one of the things I like about this is we are just asking systemd to take care of things for us. so long as we use the api correctly (which it appears you are), we should be good (barring bugs (systemd or otherwise)) [13:17] jdstrand: the only thing I'm worried about is --user [13:17] the API is sold and supported for a long time [13:17] but user session is more complex [13:17] systemd --user is asked to stuff [13:17] but cannot [13:17] so asks system systemd to do it [13:17] zyga: kinda like how we ask it to manage starting and stopping services. we tell it a little bit and say "thanks for doing this for me!". same here [13:17] and that path I believe is somewhat new [13:18] I'm digging into this now [13:18] * jdstrand nods [13:18] zyga: well, it isn't *terribly* new if it is in bionic (I didn't test xenial), but there is definitely some different behavior [13:19] which might be cherrypicks, etc [13:19] I think it's all the way back to xenial, but give me a moment to debug it [13:19] zyga: we always have in out back pocket runtime detection and gracefully degrading too (not saying we need it yet) [13:19] s/in out/in our/ [13:20] yes, it's not essential in a way [13:22] ijohnson, this is the output https://paste.ubuntu.com/p/qNnRgrHktg/ [13:22] mborzecki: thanks, looking [13:23] from a local run on core-18 [13:23] ijohnson, at the end you can see the issue that I raised a time ago snap-failure[9015]: cmd_snapd.go:124: restoring invoking snapd from: /snap/core/current/usr/lib/snapd/snapd [13:23] thanks cachio, I'm looking now [13:24] also the error snapd.service: Failed at step EXEC spawning /snap/snapd/x1/usr/lib/snapd/snapd: Exec format error [13:25] cachio: the EXEC spawning issue is very odd, because it should be x2 that has the Exec format error [13:26] zyga: so it is crystal clear: the reproducer is: take a desktop vm install, install snapd/enable the feature/blah, in the graphical session, open a terminal, use hello-world.sh/snap run --shell/etc and it works (find /sys/fs/cgroup -name '*.scope'). ssh in/console login and try the same and it doesn't (but not errors in SNAPD_DEBUG=1 or anywhere else I could find [13:26] ) [13:26] * zyga nods [13:26] let me check that quickly [13:26] I was going via spread and I hit another issue there [13:26] * jdstrand nods [13:27] ijohnson, I have a debug session opened [13:27] ijohnson, if you need any output please tell me [13:27] I figured it might be easier to see what to recreate if you saw the problem [13:27] I think there is a known issue in that snap-failure should be more robust in trying to restart the socket, and isn't [13:27] cachio: ^ [13:27] * jdstrand leaves zyga to it [13:28] cachio: sorry let me keep reading I'm not sure what I would like you to run in the debug session [13:32] jdstrand: wwo [13:32] jdstrand: so [13:32] jdstrand: it works on a fresh install of bionic [13:32] jdstrand: desktop session [13:32] jdstrand: I recorded bustle (dbus traffic analyzer) dumps [13:32] zyga: right, in the desktop session, it works [13:33] and even confirmed it the simple way [13:33] https://www.irccloud.com/pastebin/pENvRQqK/ [13:33] oh? I missed that [13:33] when didn't it work? [13:33] zyga: ssh in or do console login and it doesn't [13:33] ah [13:33] I see [13:33] okay that's much clearer now [13:33] thanks, I'll focus on that [13:33] zyga: that is what made it tricky for me to diagnose :) [13:33] jdstrand: but I'm 99% sure it's because there's no session bus there [13:33] and this is a dbus interaction [13:34] zyga: I saw systemd --user started with just ssh [13:34] jdstrand: ok, I'll debug both cases (console login and ssh) [13:34] jdstrand: were you logging into the same user as the interactive session? [13:34] jdstrand: or another user [13:34] zyga: but yeah. maybe there is an activation thing or something. idk [13:34] I sopped looking when I ran out of day [13:34] stopped [13:34] ok [13:34] I'll explore those [13:35] because previously it was a bit magic [13:35] zyga: I was [13:35] as to why it worked in places I checked [13:35] (same user) [13:35] ok [13:35] that would explain the systemd --user aspect [13:36] zyga: well, no. I logged into core a few minutes ago before asking about adding uc tests and there was --user [13:36] jdstrand: ok, please give me a day to get to the bottom of this [13:36] jdstrand: if you could review any of the other PRs I mentioned I could perhaps make progress on those [13:36] jdstrand: but for this one, I know what to do [13:36] that doesn't mean there is a dbus session bus... [13:36] jdstrand: right [13:36] yes, that was the plan [13:36] jdstrand: perhaps 18.04 doesn't have enough activation [13:36] testing is paramount [13:37] I'll try to cover those [13:37] * jdstrand nods [13:42] mvo: fyi. github runner tries to create config files in the binary directory. This needs to be fixed first. Seems to be hardcoded path's. [13:42] https://github.com/sd-hd/runner-snap/releases [13:43] jdstrand, mvo: fyi https://github.com/snapcore/snapd/pull/7825#discussion_r381296772 [13:43] PR #7825: many: use transient scope for tracking apps and hooks [13:46] zyga: 0.05s? that is not bad :) [13:48] mvo: that's wall clock time [13:48] mvo: the actual new code is 1ms [13:57] you have a wall clock that measures 0.05s ?!? [13:58] ogra: well if you look hard enough a lot of wristwatches measure 0.25s (seconds hand moves at 4hz) [13:58] that's mechanical wind-up wristwatches mind you [13:58] * roadmr now looks really old and anachronistic ⌚ [14:00] haha, yeah [14:08] jdstrand: reproduced [14:08] https://www.irccloud.com/pastebin/lg1cEV4Q/ [14:08] jdstrand: ^ that's bionic over ssh as user [14:08] jdstrand: running systemd-run --user --scope ls [14:09] jdstrand: on the up side, I now have systemd --user running as my user (remote ssh activated it) [14:09] jdstrand: on the down side, no idea why it failed yet [14:09] but I can dig [14:10] * jdstrand nods [14:10] I <3 reproducers [14:10] jdstrand: but that's really weird, raspbian (older) works okay [14:10] jdstrand: but I'll dig [14:12] jdstrand: I'll check 20.04 and 16.04 as well [14:12] jdstrand: _complexity_ :) [14:14] zyga: yes. hopefully it isn't too deep (I recall how the snap_daemon spun out cause of bugs, bugs, bugs. I hope very much that isn't the case here (I don't think it is)) [14:16] I think it's just configuration (famous last words?) [14:18] jdstrand: zyga: your ssh shell should already be part of a user slice/session scope (?) [14:18] it is [14:19] zyga: same when you log in on a tty, though no clue who arranges that, pam & logind maybe? [14:19] s/who/what/ [14:20] mborzecki: the problem is why remote cannot systemd-run [14:20] smells like polkit to me [14:20] I'll look after the standup [14:23] hmm hmm intersting [14:23] jdstrand, pedronis : is there a non-system-files interface that would allow write access to /etc/ssh/ssh{,d}_config ? [14:24] if not, is it acceptable to grant system-files in this case (it's a device-specific snap in a brand store, so mostly well-scoped) [14:30] mborzecki: it's polkit [14:30] mborzecki: give me a while to get the bits in place [14:30] zyga: polkit? [14:30] yep [14:30] it's always polkit ;) [14:30] it's always /pluseaudio/polkit/snapd/ [14:30] heh forgot systemd [14:35] I need to take the dog out [14:38] who let the dogs out? woof wof... [14:42] zyga: doesn't look like polkit to me [14:42] openat(AT_FDCWD, "/sys/fs/cgroup/unified/user.slice/user-1000.slice/user@1000.service/run-rbcaa5f3010d646e38684382cacc4aa70.scope/cgroup.procs", O_WRONLY|O_NOCTTY|O_CLOEXEC) [14:42] = 34 [14:42] fcntl(34, F_GETFL) = 0x8001 (flags O_WRONLY|O_LARGEFILE) [14:42] write(34, "2821\n", 5) = -1 EACCES (Permission denied) [14:42] uh, w8 that's on focal ;) [14:46] hm weird, there's this sequence [14:46] openat(AT_FDCWD, "/sys/fs/cgroup/unified/user.slice/user-1000.slice/user@1000.service/run-r51cceeed963d4c33ace8cf029e2657d5.scope/cgroup.procs", O_WRONLY|O_NOCTTY|O_CLOEXEC) [14:46] = 30 [14:46] write(30, "2504\n", 5) = -1 EACCES (Permission denied) [14:47] close(30) [14:47] followed by opening *.scope directory and getdents() [14:48] anyways, the message is Failed to add PIDs to scope's control group: Permission denied which kind of makes sense in this context [14:53] re [14:53] mborzecki: which systemd is that? [14:54] ah, focal [14:54] mborzecki: systemd --user should ask system to to that write [14:54] mborzecki: that's what I read from sources [14:54] mborzecki: anyway, I'll keep digging [15:01] * zyga went outside for a moment and finally cooled the fever of his laptop while using google meet [15:02] roadmr: I don't think there is one atm [15:03] pedronis: :( any objections with using system-files for this then? [15:03] mvo: thanks for the suggestion re version check! [15:05] dns timeouts ugh [15:05] Feb 19 07:03:47 bionic systemd-resolved[618]: Grace period over, resuming full feature set (UDP+EDNS0) for DNS server 172.16.153.2. [15:05] roadmr: no deep objections as long it's scoped, we might add something like sshd-control at some point but not immediately [15:06] roadmr (cc pedronis): there isn't one. if this is in a brand store, 'no', but they can certainly hurt themselves [15:06] pedronis: I might suggest 'snap set core' things instead of sshd-control [15:07] jdstrand: yea, but we need clear use cases [15:07] to get tehre [15:07] get there [15:07] yes [15:08] pedronis: they can be added one by one to snap set. sshd-control is risky and security sensitive [15:08] imho [15:08] jdstrand: I understand, the surface of the config is large though [15:08] roadmr: but yeah, no objections for system-files in a brand store so long as they know the risk [15:08] anyway not something we'll do soon [15:08] * jdstrand nods [15:08] jdstrand: yep, like pedronis said this can be scoped to the specific store to limit risk. I can tell them there is indeed a risk so they are super aware [15:09] thanks jdstrand pedronis [15:09] roadmr: but if they can tell use what kind of config they are changing it could help us design something later [15:09] s/use/us/ [15:09] pedronis: sure thing, I'll also ask [15:10] roadmr: thx [15:44] jdstrand: FYI https://github.com/snapcore/snapd/pull/7825#discussion_r381360336 [15:44] PR #7825: many: use transient scope for tracking apps and hooks [15:44] github is kind of slow for me today [15:44] but new notifications are really cool, a big improvement over YOU HAVE NAN NOTIFICATIONS [15:45] github is both slow and broken for me today [15:45] 500 on the above url [15:45] also 500 often [15:45] haha [15:45] yeah, just reload a few times [15:45] it works eventually [15:45] not able to expand resolved conversations... [15:45] jdstrand: at some point we can say that github is slow because new core snap refreshes ;-) [15:46] heh [15:46] jdstrand: the comment says that cgroup v2 doesn't have pids, it's just one big flat tree [15:46] jdstrand: in v1 we _could_ scope it but current code doesn't require it [15:46] jdstrand: scoping it mainly requires us to know more about systemd, we could do it at a low cost but I deem it non-essential now [15:46] jdstrand: certainly something we can improve ahead of making this stable [15:47] jdstrand: I don't know how you develop locally but I find a desktop (workstation) installation (vm) of fedora 31 is very useful for exploring a full complex system that uses pure v2 mode [15:52] zyga: I obviously need some practical v2 experience since I can never remember how the layout is. I occasionally have a fedora vm, but I find by the next time I need to look at fedora, the one I have is eol ;P [15:52] zyga: I replied [15:52] jdstrand: :) [15:55] okay I think that I have the snapd-failover test working again [15:55] will push my fix up [15:55] ijohnson: great news [15:55] great [15:55] ijohnson: cannot wait to see what it was [15:56] StartLimitInterval{,Sec}=0 doesn't play well with OnFailure, because the OnFailure only runs after the unit is in "totally really absolutely failed" state, which systemd only considers after it has exhausted the start limits [15:57] so in our spread tests we specifically set StartLimitInterval=0, which breaks the OnFailure [15:57] jdstrand: how can I combine allow-installation constraints? I have used "on-store" by itself, and "plug-attributes" by itself but for this one I need both to apply (ANDing them). I can provide both snap.yaml and my partial snap-decl plugs thingy [15:57] It's unclear why this broke now, I think it may have been a systemd bug that this test worked at all on spread before, and they just now fixed the bug that makes it resiliently fail [15:59] roadmr: please supply both. feel free in privmsg [15:59] jdstrand: coming up! [16:01] cachio: zyga: mvo: can y'all (re-)review #8155? I think the test is fixed now, but I want to be sure that there's not unintended consequences to setting StartLimitInterval=100 [16:01] PR #8155: tests: mv ubuntu-core-snapd{,-failover} to core/ suite [16:01] y [16:02] another new github feature? https://usercontent.irccloud-cdn.com/file/m2oxIZH8/Zrzut%20ekranu%202020-02-19%20o%2017.02.13.png [16:04] zyga: the first bit was from focal, the sencod from bionic [16:04] ijohnson: I cannot find StartLimitInterval documentation [16:04] ijohnson: but there is StartLimitIntervalSec [16:04] ijohnson: and also StartLimitIntervalBurst [16:04] zyga: it was renamed to StartLimitIntervalSec in systemd 230 I think [16:04] ijohnson: are both names supported? [16:05] zyga: I'm pretty sure, but let me double check [16:08] ijohnson: interesting, I would love to understand why it worked before [16:08] ijohnson: perhaps there's more to it than that [16:08] ijohnson: I think that the explanation on how the value 0 interacts with OnFailure is good but I need to cross check it with documentation [16:09] leonard has some comments on bug reports explaining the interaction, does that count :-) [16:09] zyga: see comment 7 https://bugs.freedesktop.org/show_bug.cgi?id=87799 [16:10] but then of course see comment 8 right below it :-) [16:12] ijohnson: indeed, we should reference in the code there [16:12] https://bugs.freedesktop.org/show_bug.cgi?id=87799#c7 [16:12] should we add a comment in the code or the commit message ? [16:12] ijohnson, nice, reviewing it [16:12] in the code I think [16:12] easier to keep track of [16:12] hmm I guess if it was in the override I would have seen it much quicker in the running system [16:13] yeah good point I'll add it to the code [16:17] pstolowski: I re-reviewed 8130 [16:18] pedronis: just saw it, thank you! [16:21] okay I have it added to the override unit we put in the spread image, I will put it in a followup PR so that as soon as this one is green we can merge [16:29] ijohnson: can you take another look at #8003 when you have a moment? [16:29] PR #8003: o/ifacestate, api: implementation of snap disconnect --forget [16:29] pstolowski: I'll try to look this afternoon or tomorrow morning [16:32] thx [16:32] ijohnson: reviewed, please look [16:32] I'll be back shortly [16:38] zyga: it looks like StartLimitInterval is only valid in [Service] in systemd 229 and below, and for systemd 230 and above, StartLimitInterval is supported in systemd 230+ in [Service], but StartLimitIntervalSec is only supported in [Unit], so we are fine to keep using StartLimitInterval in [Unit] like the test does [16:38] see https://lists.freedesktop.org/archives/systemd-devel/2017-July/039255.html, but this is poorly documented in systemd docs [16:38] zyga: how would you like me to document that in the PR? [16:40] zyga: see the corresponding commit too https://github.com/systemd/systemd/commit/f0367da7d1a61ad698a55d17b5c28ddce0dc265a [17:01] ijohnson: a code comment will suffice [17:01] I just felt it is a bit too magic to leave as-is [17:03] PR snapcraft#2948 opened: Regenerate the GDK pixbuf loaders cache file if for whatever reason it isn't there (LP: #1863801) [17:03] zyga: a follow-up okay for the comment then? [17:05] ijohnson: is it green now? [17:06] Ah debian seems unhappy now [17:07] 😞 <- debian [17:08] I love how roadmr is just like the dad of all IRC channels [17:08] I am everywhere. [17:08] Iam inevitable 👌 [17:08] * zyga needs a nap [17:09] ijohnson: feel free to discard my review and land with a comment [17:09] I will be back in 2 hours [17:09] So sleepy now [17:30] PR snapd#8157 opened: tests: using google storage when downloading ubuntu cloud images from gce [17:43] * cachio afk [17:43] going to the doctor [19:22] re [19:22] *ah, I needed that* [19:23] so now nfs-support fails [19:24] ijohnson: do you think that is related to the change? [19:24] that's an 18.04 failure [19:24] but actually, not [19:24] zyga: yes I noticed now that fails on the PR [19:24] zyga: I have a fix for that [19:24] across the board [19:24] do you know what happened? [19:24] I was setting StartLimitInterval wrong, that's just the, well, interval, not the number of times starts can happen [19:24] StartLimitBurst is the number of times it can start [19:25] aha [19:25] ok, let's try that [19:25] So I changed it to set both StartLimitBurst and StartLimitInterval and now it's good [19:25] let me push it up [19:25] thanks! [19:25] was in the middle of UC20 debugging [19:25] no worries, I just woke up [19:39] PR snapcraft#2949 opened: Fix clean on Windows [19:55] PR snapd#8158 opened: tests: disable archlinux system [19:56] cachio: should we use the no-spread label on that PR? [20:05] PR snapd#8158 closed: tests: disable archlinux system [21:16] PR snapcraft#2933 closed: remote-build: introduce --launchpad-snapcraft-channel option [23:36] PR snapd#8159 opened: snap-bootstrap: remove created partitions on reinstall