/srv/irclogs.ubuntu.com/2021/06/16/#snappy.txt

mborzeckimorning06:10
mardyhi!06:20
pstolowskimorning07:06
mborzeckipstolowski: hey07:29
mborzeckipedronis: hi, thanks for merging that PR07:29
=== pedronis_ is now known as pedronis
zyga-mbpgood morning07:37
mvogood morning zyga-mbp 07:56
pstolowskipedronis: hi, do you have a moment to chat about some bits of holding? should be quick07:56
zyga-mbphey mvo :)07:56
mvoand good morning pstolowski and mborzecki 07:56
mvoand mardy too of course :)07:56
pedronispstolowski: in 4-5 minutes?07:56
pstolowskipedronis: great07:57
mborzeckimvo: hey, can you take a look at https://github.com/snapcore/snapd/pull/10386 ? once it lands i'll be able to open another bit of the cleanup07:57
mvomborzecki: will try, got some more meetings ahead of me :/08:00
mborzeckimvo: ah, good luck then 😉 make sure you have lots of tea08:00
pedronispstolowski: joining the SU08:04
pstolowskipedronis: ok08:04
mborzeckimvo: pedronis as for lxd, looks like they switched to core2008:06
mborzeckibut unclear whether that's related in any way08:06
pedronismborzecki: I suppose we should add debug/debug what is denied, and what the mount table look at that point?08:20
pedronisif it's a nodev issue we would see it from the mount table08:20
pedronisotoh then we would need to dig what has changed about that08:20
mborzeckipedronis: i indend to take a deeper look, but also trying out lxd on arch, stgraber pinged be to check it after they mvoed to core20 base08:21
pedronisok, let us know, this is a big annoyance/issue atm08:21
pedronishttps://github.com/snapcore/snapd/pull/10411 finishes the gci "fixes"08:30
pstolowskipedronis: thanks for the review of the snapctl --proceed fix, this is the 2nd fix: https://github.com/snapcore/snapd/pull/1041308:51
zyga-mbpsmall fix https://github.com/snapcore/snapd/pull/1041409:16
mborzeckiok, traces uploaded, bugs are filed, https://bugs.archlinux.org/task/71270 kernel probes are awesome09:39
pedronispstolowski: I did a pass on https://github.com/snapcore/snapd/pull/10408, some comments/questions09:45
pedronisthx09:45
pedronishttps://github.com/snapcore/snapd/pull/10308 needs 2nd reviews, it's simple as it's a preparatory PR09:48
mardypedronis, jamesh: approved09:50
pedronisthx09:50
pstolowskipedronis: thanks09:54
pstolowskimborzecki: a simple one https://github.com/snapcore/snapd/pull/1041209:54
pstolowskimvo: could you merge this one? https://github.com/snapcore/snapd/pull/1036610:03
mvopstolowski: sure10:08
zyga-mbpmvo is it expected that test fail on https://github.com/snapcore/snapd/pull/10414?10:10
mborzeckitrivial one: https://github.com/snapcore/snapd/pull/1041510:15
mborzeckihmm the lxd issues does not make much sense unless i'm missing something10:36
mborzeckior something in master broke it?10:36
mborzeckiin a clean spread system things seem to work10:36
pstolowskimborzecki: mvo has been looking at it and afaiu is working on a reproducer10:37
mborzeckimvo: got any ideas?10:38
mborzeckipstolowski: the failure reproduces when i run a specific test10:38
pstolowskimhm10:39
mborzeckimaybe it's something about how we inject snapd, running apt remove --purge which is supposed to do the cleanup10:39
mborzeckibut there shouldn't be any more nested containers in the lxd container yet10:39
pstolowskimborzecki: mvo was able to reproduce in qemu with nested containers i think10:40
mborzeckiintersting10:40
pstolowskimvo: can we set it to manual for the time being?10:41
mvopstolowski: I think that is ok10:44
mvomborzecki: I did use upstream/master as my base branch and ran the spread test in qemu against 20.04 and get the error. it seems it fails in the nested lxd case only10:44
mvomborzecki: I wanted to work on a reproducer but had 23423523523 meetings10:45
mvomborzecki: I have some minutes now, will try in a clean VM, I hope it's really just a matter of installing edge snapd and then creating a nested vm10:45
pstolowskihttps://github.com/snapcore/snapd/pull/1041610:49
pstolowskimvo, mborzecki ^10:49
mardypstolowski: I once had a cgroups related test failing; will you make a PR for that too?10:51
mardypity I don't remember which one it was :-)10:51
mborzeckimvo: pstolowski: i can reproduce it on a spread node with snapd 2.51 on the outside, 2.50.1 on he inside, i'll try refreshing the inside one10:51
pstolowskimardy: we only do this temorarily for tests that fail all the time10:52
pstolowski(for reasons that are not our bugs)10:52
mborzeckimvo: pstolowski: and same with 2.51 in both containers10:54
mborzeckiso not a regression technically? :)10:54
mborzecki(also refresh app awareness does not seem to have anything to do with it)10:55
mardypstolowski: ah, maybe it's exactly the same tests actually, I now see that one of the failures is "google:ubuntu-20.04-64:tests/main/lxd:snapd_cgroup_both", so I guess I just paid more attention to the "cgroup" word than to the "lxd" word :-)11:00
mvomborzecki: hm, I did not manage to reproduce outside of spread11:03
mborzeckimvo: with master only? or 2.51?11:03
mvomborzecki: I think I'm just missing steps11:04
mvomborzecki: you can reproduce the failure with 2.50.1 you say? if so I think we can hand it to lxd because then it seems something in lxd changed11:04
mvomborzecki: is there a reproducer that is not spread :)11:04
mvo?11:04
mborzeckimvo: yes, i had 2.51 on the outside, and 2.50.1 on the inside, and another setup was 2.51 on the outside and 2.51 on the inside11:05
mborzeckimvo: and i had a spread node on gcp, but using snapd from distro/store11:08
pedronismborzecki: but it works with 2.50.1 outside and inside?11:08
mborzeckipedronis: hm, i'll try to grab snapd 2.50 from lp11:11
mborzeckithe gcp host alredy has 2.5111:11
mborzeckieh, 2.50.1 was never uploaded as a deb?11:21
mborzeckinvm, pulled out a snap from the container11:27
mvook11:28
mborzeckimvo: pedronis: so i see the problem with 2.50.1 on the inside and outside11:29
mborzeckihttps://paste.ubuntu.com/p/tQDcVXwGmh/11:30
pedronisso it's not something that changed in snapd11:30
mvonice11:33
mborzeckipedronis: mvo: and using lxd from 4.14 track on the inside works ok11:35
mborzeckiquick errand, back in 3011:46
mborzeckire12:17
mborzeckimvo: pedronis: can you land https://github.com/snapcore/snapd/pull/10415 ? sid is happy again12:20
mardysome go help: go get -d github.com/mardy/runc@nnp-after-aa-profile-change12:48
mardygo: cannot use path@version syntax in GOPATH mode12:48
mardyit's in the context of a snapcraft part, so maybe I should use git directly instead?12:49
mvomborzecki: sure, done12:56
mborzeckimvo: thanks!13:00
mborzeckimvo: so this is the PR https://github.com/snapcore/snapd/pull/10416 that switches lxd test to manual13:42
mvomborzecki: +113:45
mvomborzecki: I merged it and we can just build one on top13:45
mborzeckigreat, let me open a quick update now13:46
mvota13:46
mborzeckimvo: pstolowski: https://github.com/snapcore/snapd/pull/1041713:51
pstolowskimborzecki: thanks!13:52
pstolowskipedronis: i implemented pruning of refresh-candidates in check-rerefresh but realized it needs to happen in doLinkSnap (or close to it), as check-rerefresh won't cover manual refreshes..14:18
pedronispstolowski: that sounds strange, we should always use it14:30
pedronisit's needed to do the right thing with epochs14:30
pstolowskipedronis: ah, because of finalizeUpdate14:31
pstolowskipedronis: you're right14:31
pstolowskigood14:31
mardysnapcraft started to fail here when getting the sources... has anyone seen this before? 0% [Connecting to archive.ubuntu.com (2001:67c:1360:8001::24)]14:41
mardy(building with LXD)14:42
ijohnson[m]probably just needs to clean the LXD container and try again, could be a apt issue more than a snapcraft issu14:42
mborzeckiheh - Download snap "go" (7736) from channel "latest/stable" (download too slow: 489.60 bytes/sec)14:50
ogramardy, people in #ubuntu have complained about an archive outage 14:57
ogramight be a server side issue14:57
pstolowskimborzecki: i've never seen it for real ;)14:58
mardyogra: ah-ah, I see, thanks14:59
pstolowskimborzecki: another simple one https://github.com/snapcore/snapd/pull/1041315:00
mborzeckipedronis: mvo: can you land https://github.com/snapcore/snapd/pull/10082 ? building the snapd snap failed beacuse of a flaky network15:21
mvomborzecki: sure15:24
mborzeckimvo: thanks!15:24
pedronismborzecki: \o/ :)15:30
mborzeckilet's see how it fares in practice now15:30
mborzeckithis is all that the linter complains about now: https://paste.ubuntu.com/p/khChwP2yZP/15:32
pedronisyes, as I said unused and deadcode stuff, that's what I got as well when playing locally15:33
cachio_ijohnson[m], hi, I created #1041915:48
cachio_when you have time, could you please take a quick look15:48
cachio_I need to validate the idea15:48
ijohnson[m]cachio_: sure I'll have a look, probably not today though15:48
cachio_tx15:49
* cachio_ afk17:39

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