/srv/irclogs.ubuntu.com/2021/09/22/#snappy.txt

mborzeckimorning05:52
zyga-mbphey mborzecki 06:00
zyga-mbpmborzecki how did that device cgroup case turn out?06:00
zyga-mbpdid you get to the bottom of the problem?06:00
mardyhi mborzecki, zyga-mbp!06:01
zyga-mbphey mardy :)06:01
mborzeckizyga-mbp: no,  leave and mardy as well06:01
zyga-mbpwhat's your local time?06:01
mardyzyga-mbp: I'm trying now to add a sleep before assigning the PID to the cgroup, to see what changes06:01
mardymine is 9:0206:02
zyga-mbpwhere are you running tests that are failing? in the cloud or locally?06:02
zyga-mbpI wonder how much is the speed of the host related to this (apparent) race06:02
mardyzyga-mbp: cloud06:02
zyga-mbpah, then hosts should be fast06:02
zyga-mbpgood luck, let me know if you find something, that's one curious problem for sure06:02
mardyzyga-mbp: maybe you have a link to some handy resource that explains how systemd handles cgroups? I think I once read something from Lennart about it, but I don't seem to be able to find it06:03
zyga-mbpit's complicated, I really read systemd source to see how it really does that06:04
zyga-mbpespecially for --user since those are a bit more tricky for unprivileged systemd to handle06:04
zyga-mbpI assume you know the general concepts of slices and scopes06:04
mardyI'll start with https://github.com/systemd/systemd/blob/main/docs/CGROUP_DELEGATION.md06:04
mborzeckizyga-mbp: mardy:i wonder if it's related to the mystery error in spread test when i see mknod fail with EPERM for no reason in prepare06:04
zyga-mbpdelegation is different06:04
zyga-mbpbtw, are we using delegation?06:05
zyga-mbpgod I hope we are not06:05
zyga-mbpmborzecki mknod in which part? prepare outside of confinement?06:05
mborzeckiyes06:05
zyga-mbpmardy delegation is another complex topic that depends on the rest06:05
zyga-mbpmardy I'd read the stack of systemd man pages related to units, scopes and slices06:06
zyga-mbpthen follow up with tracing what happens at runtime with gdb or by following the code manually06:06
zyga-mbpI'm separating theory from practice here, because theory is a bit easier 06:06
zyga-mbpand practice has interesting "aha moments" when you read the implementation and see how it's implemented06:06
zyga-mbpmborzecki hmm hmm06:07
zyga-mbpmborzecki but how could that mknod fail on anything related to snapd?06:07
zyga-mbpmborzecki is it perhaps related to session-tool?06:07
zyga-mbp(is it still called session-tool?)06:07
mborzeckizyga-mbp: i wonder if there's a case that some device controller setup is done on the wrong cgroup06:08
zyga-mbpinside systemd?06:08
zyga-mbpmborzecki do look at session tool if that's anywhere in the picture of that mknod06:10
zyga-mbpbecause at least on xenial, it does a few extra things06:10
zyga-mbpthat work around bugs06:10
mardyuh, and now I cannot reproduce it anymore :-/ I guess it might indeed be tied to the machine stress, since probably the Google cloud is underused now06:39
mupPR snapd#10822 opened: spread: display information about current device cgroup in debug dump <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10822>06:40
mardymmm... stress-ng does not seem to help either06:49
mardymborzecki, zyga-mbp: isn't what we are doing with the devices controller in violation of what systemd recommends at point 1 of the first section in https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/ ?06:57
zyga-mbpyes06:58
mardyit sounds like we should create a scope for the snaps (or maybe a scope for each snap)06:58
zyga-mbpit's complicated06:58
zyga-mbpservices get their own place automatically06:59
zyga-mbpwe cannot create a scope ourselves06:59
zyga-mbprefresh app awareness really helps whit making this sane 06:59
zyga-mbp*with06:59
zyga-mbpnote that as it is implemented with r-a-a enabled, various users will have correct cgroup paths for their snap processes06:59
zyga-mbpso in the users slice06:59
zyga-mbpwith the right user scope07:00
zyga-mbpand then with the right snap scope07:00
zyga-mbpbut that's all new07:00
zyga-mbpdevice code is old and pre-dates any of that07:00
zyga-mbpit's a hack we've inherited since ubuntu phone click days07:00
zyga-mbpwe've only made the code less scary07:00
pstolowskimorning07:02
mvogood morning pstolowski 07:02
zyga-mbphey pstolowski and mvo :)07:02
mardypstolowski, mvo: hi!07:03
mvohey zyga-mbp and mardy !07:06
mardyzyga-mbp: I guess I'm missing something here, but shouldn't we (snapd) only call StartTransientUnit() on systemd to create a scope, and set the right properties so that the devices controller is setup the way we want it?07:12
mardyit doesn't look like we are doing anything that systemd couldn't be doing for us07:13
mborzeckipstolowski: mvo: hey07:14
mborzeckimeh 2021-09-22 06:08:02 Cannot allocate google:ubuntu-21.10-64: cannot find any Google image matching "ubuntu-os-cloud-devel/ubuntu-2110" on project "ubuntu-os-cloud-devel"07:15
mupPR snapd#10819 closed: interfaces/builtin/opengl.go: add libOpenGL.so* too <Simple 😃> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10819>07:15
zyga-mbpmardy it's not as pretty07:17
mvomborzecki: good morning ! is 10803 ready ? just looking over it right now, would love to do this impish upload07:17
zyga-mbpmardy we should not make scopes for services07:17
zyga-mbpso that's the first fracture07:17
zyga-mbpthe second fracture is that this API is reliable from 20.10 onwards IIRC07:18
zyga-mbpbefore it has lots of failure modes07:18
mborzeckimvo: yes, there's a uc20 job running, but it should be finishing shortly and then we can land it07:18
mvocool07:18
zyga-mbpand lastly, at the time it was fine, since systemd did not touch this cgroup at all, apart from, well, scopes which set up all the cgroups to a different base07:18
mvomborzecki: looks quite happy overal07:18
mborzeckiyeah07:18
mupPR snapd#10797 closed: usersession/client: refactor doMany() method <Simple 😃> <Created by mardy> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10797>07:20
mborzeckizyga-mbp: hm we're not creating scopes for services, unless i'm misremembering things07:21
mborzeckimvo: https://github.com/snapcore/snapd/pull/10803 spread job just finished07:28
mupPR #10803: tests, interfaces/builtin: introduce 21.10 cgroupv2 variant, tweak tests for cgroupv2, update builtin interfaces <cgroupv2> <cgroupv2-impish> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10803>07:28
mardyzyga-mbp, mborzecki: I think we should evaluate what "this API is reliable from 20.10 onwards" means in practice; but if it's really unreliable, we could still have snapd create a single, transient scope for all snaps, with delegation, and then snap-confine would be free to create subgroups within it, without being disturbed by systemd07:29
mardy(there's quite a lot of handwaving in here, I acknowledge that, but would it make sense?)07:30
mvomborzecki: hm, looks like the cgroup-devices-v2 test fails on debian-sid in 10803 :/07:37
mborzeckihm let me see07:49
mupPR snapd#10573 closed: sysconfig/cloud-init: filter MAAS c-i config from ubuntu-seed on grade signed <UC20> <Run nested> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10573>08:00
mborzeckisid is weird again: https://paste.ubuntu.com/p/2gPQmWqG9Q/ how come s-c is trying to send over a unix socket? was a file descriptor inherited or something?08:18
mborzeckiheh, so I added SNAP_CONFINE_DEBUG=1, and there's way more warnings, as if writing to stderr is getting blocked08:36
mborzeckioh, ok it's happening for other snaps too now08:41
pstolowskihttps://github.com/snapcore/snapd/pull/10814 is ready for review now (was draft)08:41
mupPR #10814: o/ifacestate: don't loose connections if snaps are broken <Bug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10814>08:41
zyga-mbpmardy no08:44
zyga-mbpmardy scopes are not hard-pinned08:44
zyga-mbpmardy scopes live under slices08:44
zyga-mbpmardy and under services08:44
zyga-mbpthis, sadly, doesn't work like that08:44
zyga-mbpbrb reboot08:45
zyga-mbpmardy to make something sensible snapd would have to be a delegate08:48
zyga-mbpbut that has huge downsides08:48
zyga-mbpand would totally cripple services 08:49
mardyzyga-mbp: it would cripple them if the services were created in a subgroup of the one managed by snapd, but I don't think it necessarily has to be this way09:04
zyga-mbpit would cripple services because by design, systemd would no longer manage the pids 09:05
mardyzyga-mbp: but why? wouldn't snapd be able to create the systemd service units so that they are children of the root cgroup?09:09
zyga-mbpthe way I understand delegation is: systemd carves a space and you get to manage anything inside09:10
zyga-mbpstuff like systemd managing a service is gone09:10
mardyyes, but that only applies to that subtree09:10
mardyyou can still create stuff outside of it09:10
zyga-mbpit's incompatible with the notion of systemd managing a process which is started by the service09:10
zyga-mbpoutside where?09:10
zyga-mbpperhaps I'm confused09:11
mardyor I am :-) So, my understanding is that currently, snapd creates units for the services09:11
zyga-mbpyes09:11
mardyand systemd manages them. I'm not proposing that we change this09:12
mborzeckiwtf is wrong with sid, s-c cannot create a bpf map whe running for a service09:12
mborzeckijust EPERM and that's it09:12
mborzeckino log, nothing09:12
zyga-mbpmborzecki hmm09:13
zyga-mbpmborzecki maybe hardening present in sid?09:13
zyga-mbpcheck config/patches09:13
mardyI'm only proposing to change (or rather, investigate the possibilify of changing) snap-run and/or snap-confine, so that when it's starting a program (which is not a service) it would create it inside a cgroup managed by snapd09:13
zyga-mbpthat's exactly what r-a-a is doing 09:14
zyga-mbpbut we've ended up doing that for scopes09:14
zyga-mbpas otherwise resource control is broken09:14
zyga-mbpbecause if I launch a process it would escape my user slice09:14
zyga-mbptl;d scopes are the way, it just took a while to not have broken implementation on the other side09:15
mardyzyga-mbp: is this a plan, or is it already implemented?09:16
zyga-mbpthat's what r-a-a is doing 09:16
zyga-mbpmardy except that it's done in snap-run09:18
zyga-mbpas the user09:18
zyga-mbpso that the right request is sent09:18
mardyzyga-mbp: it's that CreateTransientScopeForTracking() method, right?09:19
zyga-mbpyes09:19
mardyzyga-mbp: so, what if I changed this to add the DeviceAllow property to these units, instead of creating the group in snap-confine? Is it only because it's not reliable on older systems?09:21
zyga-mbpit would break how udev changes are made09:21
zyga-mbpremember that udev calls us 09:21
zyga-mbpand we modify a non-systemd hacky cgroup in v1 world09:22
zyga-mbp(unless mborzecki changed that already, I don't know)09:22
zyga-mbpit works now because that's a fixed list of snap udev tags09:22
zyga-mbpand we can find the cgroups from that09:22
mborzeckipfff so there's a silly locked memory limit being set in sid09:24
mborzeckiwhy must sid be always such a PITA09:30
zyga-mbpmborzecki safety against EBPF exploits?09:31
mardyzyga-mbp: ok, it sounds like I need to investigate this better. And the other option, of having snapd create at startup a single scope under the system slice, with Delegate=devices, and then have snap-confine create its cgroups like it does nowadays, just under this scope's cgroup, do you see problems with it?09:32
mborzeckizyga-mbp: pff i don't think so, fun fact, on arch 5.14.6, a map of 9+1bytes * 500 entries, locks only 8k of kernel memory, on sid same thing 5.10-cloud kernel locks .... 45k !!09:32
zyga-mbpyes, because that would move stuff away from users 09:32
mborzeckithat's why bpf map create failed09:32
zyga-mbpI don't think any solution with a single scope makes sense09:32
zyga-mbpbut I fully defer to mborzecki as I'm not involved with the decision process anymore09:33
mardyzyga-mbp: two scopes, one in system and one in the user slice?09:33
mborzeckiso systemd (or sth else) set a ludicrous the limit, and kernel does silly things09:33
mardyzyga-mbp: I'm just brainstorming on what I could try to investigate further, not trying to get approval on any decisions09:33
zyga-mbpright, I'm just setting a clear expectation that my words are non binding09:34
zyga-mbpdo investigate this09:34
zyga-mbpI could have misunderstood or missed something09:34
zyga-mbpI've spent probably 18 months on this and I have some bruises 09:34
zyga-mbppstolowski I've left a comment on https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/194444709:46
mupBug #1944447: refresh-app-awareness=true does not seem to concern dependencies <snapd:Incomplete> <snapd (Ubuntu):Incomplete> <https://launchpad.net/bugs/1944447>09:46
zyga-mbpijohnson[m] ^ in case you are around09:46
pstolowskizyga-mbp: thanks, interesting point. we do something like this for refresh gating (not yet enabled, experimental)10:07
pstolowskidoh, error: cannot refresh "snapd": unexpectedly empty response from the server (try again later)10:09
ogra"dont call us, we will call you" 10:14
pstolowskihaha10:18
pstolowskiI read it as "keep pressing ctrl+R or F5 until the it works" ;)10:19
mupPR snapd#10823 opened: sysconfig: set TMPDIR in tests to avoid cluttering the real /tmp <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10823>10:21
pstolowskimvo, miguelpires haha, so the (now failing in Miguel's PR) spread test was introduced wit my https://github.com/snapcore/snapd/pull/8928 exactly to demonstrate the issue with snap remove, see PR description and also the comment from Ian at the bottom ;)10:31
mupPR #8928: tests: add spread test for disconnect undo caused by failing disconnect hook <Simple 😃> <Created by stolowski> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/8928>10:31
ijohnson[m]zyga-mbp yeah thanks I totally agree that we should extend the logic for refresh app awareness to content snaps 10:38
ijohnson[m]I assume you say comment on your old PR :-)10:38
ijohnson[m]*saw my10:39
zyga-mbpijohnson[m] no, I didn't yet10:42
zyga-mbpa bit backlog on my side 10:42
pstolowskifwtw we now have affectedByRefresh() helper that does this and certain interfaces may have AffectsPlugOnRefresh flag set on them to drive this logc; it should be reusable with little or no changes10:48
ijohnson[m]pstolowski yeah that's great, fwiw after my adventure yesterday, imho I think we can avoid doing it immediately and just release refresh-app-awareness as-is without the feature, but we need to fix this part of refresh-app-awareness before we fix the per-user snap mount namespaces not getting updated bug that zyga-mbp fixed originally in the MS_SHARED PR10:58
zyga-mbpMS_SHARED oh my, that is one huge change10:59
mupPR snapd#10824 opened: tests: check that a snap that doesn't have gate-auto-refresh hook can call --proceed <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10824>11:26
mborzeckimvo: i think we should land #10803, as the code is already in master, but failing on debian, I have 2 patches on top that kind of fix it there11:35
mupBug #10803: New message arrival sound does not work <mozilla-thunderbird (Ubuntu):Invalid by fabbione> <https://launchpad.net/bugs/10803>11:35
mupPR #10803: tests, interfaces/builtin: introduce 21.10 cgroupv2 variant, tweak tests for cgroupv2, update builtin interfaces <cgroupv2> <cgroupv2-impish> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10803>11:35
mupPR snapd#10825 opened: tests: Include the tools from snapd-testing-tools project in "$TESTSTOOLS" <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10825>12:01
mupPR snapd#10826 opened: Bboozzoo/cgroupv2 test and systems with memlock fix <Security-High> <Needs security review> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10826>12:31
mborzeckimvo: this would be the new PR ^^12:32
* ijohnson[m] is pleasantly surprised to see he's no the only one who sometimes forgets to set the PR title before hitting open :-D12:34
mborzeckihahah12:35
ijohnson[m]:-)12:35
pstolowskiTHIS12:37
pstolowski:)12:37
mvomborzecki: woah, thank you!12:43
mupPR snapd#10827 opened: fde: add new device-setup support to fde-setup <Created by mvo5> <https://github.com/snapcore/snapd/pull/10827>12:56
mborzeckicode checkout fail in some github jobs: https://paste.ubuntu.com/p/p3tXyKhT52/13:23
mvoany concerns if I merge the secboot update pr (10715)?13:55
mvogot enough reviews including from chris13:55
* cachio_ -> app doctor14:03
mborzeckimvo: so shall we land https://github.com/snapcore/snapd/pull/10803 ?14:05
mupPR #10803: tests, interfaces/builtin: introduce 21.10 cgroupv2 variant, tweak tests for cgroupv2, update builtin interfaces <cgroupv2> <cgroupv2-impish> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10803>14:05
mardymborzecki, zyga-mbp: a couple of small updates:14:27
zyga-mbphit us14:28
mardythe issue affects 18.04 as well, whereas so far I haven't been able to reproduce it in 20.0414:28
mardy2. adding a "sleep(1)" in snap-confine right before sc_device_cgroup_attach_pid() in udev-support.c seems to fix the issue. Ship it? ;-)14:29
mardyok, that was a joke, but indeed it seems to "fix" it14:29
mardycould it be that what happens is this:14:30
mardy1. we create the new cgroup14:30
mardy2. systemd does not notice the group (yet -- timing issue)14:31
mardy3. we add the PID to the new cgroup14:31
mardy4. systemd sees the PID disappearing from the user.slice cgroup14:31
mardy5. systemd sees that the PID is still alive, and moves it back to user.slice14:32
mardywhereas, if 2 does not happen (that is, systemd sees the new cgroup), the bug won't happen14:35
mardymborzecki, zyga-mbp: all the above is just a theory, BTW14:36
zyga-mbpcheck if systemd has this logic14:36
zyga-mbpthat's a nice theory14:36
zyga-mbpit could be it14:36
ijohnson[m]zyga-mbp also I looked at your MS_SHARED branch and it looked good to me, we are going to discuss more internally about the way forward but do you mind if I pick it up when the time comes? 14:40
mvomborzecki: +114:41
zyga-mbpI would be honored if anything there is still useful14:41
mvomborzecki: in a meeting14:41
mvomborzecki: but yeah14:41
mvomborzecki: if the failures are unrelated I can merge, just shout14:42
ijohnson[m]zyga-mbp: one thing about that branch I was curious about is that in the per-user mount namespace files that are part of the tests, I see now that there are a bunch of mounts that have "shared:XYZ" in the opts flags, but I guess I expected them to now be "master:XYZ", where the per-snap ns has "shared:XYZ" in it, thoughts? 14:44
zyga-mbpdo you want to talk about it later this week, I would have to refresh my mind; I think that based on what you said that branch may hold more bugs than I would like to admit.14:45
mborzeckimvo: yes, please do14:45
zyga-mbpif I can offer any advice, it would be to reduce it to one change at a time and make sure it is convincing us that it's still correct14:46
ijohnson[m]zyga-mbp: it doesn't have to be this week, whenever you think you'll have time to look at it14:46
mupPR snapd#10803 closed: tests, interfaces/builtin: introduce 21.10 cgroupv2 variant, tweak tests for cgroupv2, update builtin interfaces <cgroupv2> <cgroupv2-impish> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10803>14:47
zyga-mbpset some time though, otherwise I will just fail at my promise to look14:47
ijohnson[m]zyga-mbp: how about next week ? does around nowish in terms of time of day work?14:48
zyga-mbpyeah14:49
zyga-mbpthat's good14:49
ijohnson[m]zyga-mbp: I could do Monday or Wednesday, does one of those work better for you ?14:49
ijohnson[m]huh why is https://github.com/snapcore/snapd/pull/10715 failing all of a sudden on git submodules ... ?15:05
mupPR #10715: secboot: move to new version <Run nested> <Created by xnox> <https://github.com/snapcore/snapd/pull/10715>15:05
mvois `2021-09-22T15:01:06.1755693Z fatal: No url found for submodule path 'tests/lib/external/snapd-testing-tools' in .gitmodules` known? all builds seems to fail right now15:13
ijohnson[m]mvo: I don't know how that is on master now, but maybe it is related to Sergio's unmerged PR: https://github.com/snapcore/snapd/pull/10825 15:18
mupPR #10825: tests: Include the tools from snapd-testing-tools project in "$TESTSTOOLS" <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10825>15:18
ijohnson[m]mvo: but I am equally puzzled how this is affecting builds for pr's that do not have code from 1082515:18
mvoijohnson[m]: yeah, I'm very confused15:20
ijohnson[m]did something maybe change in github actions config on the repo itself ?15:24
ijohnson[m]I don't see anything from the actions page on github 15:27
mborzeckiijohnson: maybe that's part of the checkout action?15:29
mborzeckistill, puzzling why it's complaining about tests/lib/external/snapd-testing-tools15:29
mborzeckiijohnson: https://github.com/actions/checkout/issues/59015:30
ijohnson[m]waaaattttttt15:31
ijohnson[m]I really didn't think it was possible for me to think less of git submodules than I did before, but lo and behold here we are 15:32
ijohnson[m]cachio_: mvo someone needs to go fix the self-hosted runners then, I closed the PR which triggered this so it doesn't happen again for now, but I'm not sure how to fix the self-hosted runners tbh15:34
mvoijohnson[m]: ok, hopefully cachio_ can help15:34
mvoijohnson[m]: thanks so much! (also mborzecki )15:34
mupPR snapd#10825 closed: tests: Include the tools from snapd-testing-tools project in "$TESTSTOOLS" <Created by sergiocazzolato> <Closed by anonymouse64> <https://github.com/snapcore/snapd/pull/10825>15:37
pstolowskimvo: do you have a moment for https://github.com/snapcore/snapd/pull/10814 ?15:39
mupPR #10814: o/ifacestate: don't lose connections if snaps are broken <Squash-merge> <Bug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10814>15:39
mvopstolowski: in a meeting unfortunately15:40
mvopstolowski: I put it on my list15:40
pstolowskimvo: no worries, thanks15:40
zyga-mbpijohnson[m] both are fine15:40
zyga-mbpijohnson[m] sorry I was away to take a break and make some coffee15:41
ijohnson[m]zyga-mbp: no worries, let's do monday then at 10:00 CDT which I think is 17:00 in central european timezone15:42
zyga-mbpperfect, I'll be around but I'll drop an item to my calendar to rember15:42
ijohnson[m]👍️15:43
cachio_ijohnson[m], hey15:54
cachio_sorry for the delay15:54
cachio_which is the fix we need?15:55
cachio_I can apply the patch 15:55
ijohnson[m]cachio_: I don't know the self-hosted runners aren't able to checkout the git repo for snapd15:55
ijohnson[m]cachio_: maybe try clearing out any git directories for snapd on the runners ?15:56
cachio_ijohnson[m], ahh, I see the snpad-testing-tools is merged 15:57
ijohnson[m]cachio_: it's not merged15:57
ijohnson[m]?15:58
cachio_I see15:58
cachio_let me research a bit more how to fix the agents16:01
=== benfrancis5 is now known as benfrancis
mupPR snapd#10828 opened: tests: cleanup the job workspace as first step of the actions workflow <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10828>16:52
cachio_ijohnson[m], please take a look to #1082817:31
mupPR #10828: tests: cleanup the job workspace as first step of the actions workflow <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10828>17:31
mupBug #10828: customizing partitions is buggy <partman-base (Ubuntu):Invalid by cjwatson> <https://launchpad.net/bugs/10828>17:31
mupPR snapd#10771 closed: DRAFT: Tests reproduce uc20 boot error <⛔ Blocked> <Precious Logs> <Created by sergiocazzolato> <Closed by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10771>17:42
cachio_ijohnson[m], I am trying subtree instead of submodules17:57
cachio_I see many people complains about submodules17:57
* ijohnson[m] is one of those people :-)18:19
ijohnson[m]cachio_: I'll take a look at the PR18:20
ijohnson[m]cachio_: it looks like the tests are passing there again18:21
cachio_yes, I added the submodule using ssh18:21
cachio_and the firewall is blocking this in the test env18:21
cachio_so it failed18:21
cachio_and for some raeson the next job was failing to checkout18:22
cachio_so I added this new step to clean the workspace18:22
ijohnson[m]cachio_: yeah it's clearly a bug in the checkout action I think, but good that we can work around it like this18:23
ijohnson[m]cachio_: to be clear, maybe git submodules will work and be the best possible solution, but if there are alternatives I'd like to see them evaluated first :-)18:23
cachio_ijohnson[m], in fact I see is pretty common to cleanup the workspace18:23
cachio_the best alternative I see is to use git subtree18:24
cachio_I am going to test it18:24
cachio_ijohnson[m], subtree will work in any environment18:26
cachio_the problem is that we need to keep it updated18:27
ijohnson[m]I see 18:30
cachio_git submodules should not break anymore if I change the url to use https18:31
cachio_at least it should work well in github actions 18:32
cachio_not sure about autopackage tests18:32
ijohnson[m]Right it's the other environments I'm concerned about but I'm sure it can be made to work 18:32
cachio_I don't know how to test that18:33
mupPR snapd#10825 opened: tests: Include the tools from snapd-testing-tools project in "$TESTSTOOLS" <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10825>18:42
mupPR snapd#10829 opened: tests: use our own image for ubuntu impish <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10829>20:58
mupBug #1944625 opened: snapctl returns EOF <Snappy:New> <https://launchpad.net/bugs/1944625>21:58

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