/srv/irclogs.ubuntu.com/2021/07/05/#snappy.txt

mborzeckimorning05:17
mardyhi!05:35
mborzeckimardy: heya05:45
pstolowskimorning07:09
zygagood morning07:15
mvogood morning pstolowski and zyga 07:19
zygamvo, I've sent some fixes for spread07:19
zygamvo, mainly go vet stuff for now07:19
mvozyga: yeah, just vaw it07:19
mvosaw07:19
zygamvo, https://github.com/snapcore/spread/pull/117 is a real tiny bug07:20
zygamvo, some more in humbox07:20
zygamvo, all of this is from go vet reporting things07:20
mvozyga: looking07:21
zygamvo, I've also started looking at what it takes to fix https://github.com/snapcore/spread/issues/11907:21
zygamvo, I'll try to enable travis-ci.com on my fork first07:22
mvozyga: we have https://github.com/snapcore/spread/pull/107 that would also work, yes?07:22
mvozyga: or is there a reason to stay with travis?07:23
zygaah, I missed that, yes07:23
zygamvo, older but relevant fix is also here https://github.com/snapcore/spread/pull/11107:24
mvozyga: looking07:24
mborzeckimvo: zyga: pstolowski: morning guys07:25
zygamborzecki, hey :)07:25
* zyga is still sick, so so-so morning ;)07:26
mvomborzecki: good morning07:27
mvozyga: uh, get well!07:27
mardymvo: I added a new section with some ideas in the mount-control document, it would be nice if you had a look07:27
mardyoh, and hi mvo, zyga, pstolowski :-)07:28
zygahey mardy 07:29
mvogood morning mardy ! let me check07:34
mvozyga: I think I will mark a bunch of yours as "ready" and see if I can have another review meeting with gustavo07:35
mvomardy: this is the "Suggestion for generating mount units" section ?07:35
mardymvo: yes07:38
zygamvo, thank you!07:40
mardymvo: BTW, I think that the failures in https://github.com/snapcore/snapd/pull/10375 are not due to my changes (maybe you can double-check), so please consider whether you should use your magic powers on it07:46
mvomardy: sure, looking07:47
mardymvo: but if you merge, please squash :-)07:48
mvomardy: the 14.04 test failure is real, there is no systemd-run on 14.04 so the fake store setup will not work, I think it's okay to exclude 14.0407:49
mvomardy: i.e. just something like "systems: [-ubuntu-14.04-*]07:50
mvomardy: but let me look at the others too07:50
mvomardy: I can also do this if you want07:51
mvomardy: the debian-10 failure also looks real, I don't remember the detail here though, i.e. where/why we check for the right libseccomp07:54
mvomardy: and on all of the cores I think theere is a failure in "userdel -f snap_microk8s" - I think "userdel --extrausers -f snap_microk8s" is needed here07:55
mardymvo: let me have a look07:56
mborzeckimvo: can you take a look at https://github.com/snapcore/snapd/pull/10481 ?08:06
mvomborzecki: added it to my list :)08:15
mvomborzecki: not sure if I manage before lunch though :/08:15
mborzeckimvo: sure08:19
mborzeckithanks!08:19
mborzeckimvo: pstolowski: also a very simple PR https://github.com/snapcore/snapd/pull/1048909:41
pstolowskisure09:43
mardy_2ndsorry if I missed this, but are the spread failures on tests/main/refresh-delta known issues?10:21
mvomardy: I don't think they are10:32
mvomardy: but the 14.04 test is still unhappy :)10:32
mvomardy: it looks like deltas were pruned this morning by the store10:35
mvomardy: let's see if they come back10:35
mvomardy: maybe you can push the fix for ubuntu-14.04 (just exclude it)10:41
mvomardy: and then we will see if the store auto-regenerates the relevant deltas10:41
mvomardy: just talked to the store and the failure to get the deltas is being investigated (and it seems also understood)10:47
mborzeckimardy: i think you reviewed the other s-c PR, can you take a look at https://github.com/snapcore/snapd/pull/10492 ?12:28
mardymborzecki: will continue right after the standup12:57
=== axino` is now known as axino
mborzeckideltas aren't available? i see a bunch of refresh-delta tests failing across all systems13:54
mvomborzecki: they should be back13:57
=== pedronis_ is now known as pedronis
pedronisijohnson[m]: I reviewed https://github.com/snapcore/snapd/pull/10488 it needs some more work I think14:24
mborzeckipedronis: pushed a tweak to https://github.com/snapcore/snapd/pull/1046915:02
mborzeckiand thanks for the review!15:02
pedronismborzecki: are there real failures in https://github.com/snapcore/snapd/pull/10481 ?15:07
mborzeckipedronis: you mean the cloud config tests? they all seem to fail on acking the snap declarations signed by developer 115:09
pedronismborzecki: are you saying they fail on master too?15:11
mborzeckihm let's see if i can find a branch that fails that way too15:12
mborzeckiif not i'll investigate, but it's unclear how snap ack can be influenced by those changes in boot15:13
mardyhow do the files /var/lib/snapd/apparmor/profiles/snap-update-ns.* contribute to the apparmor profile? In other words, when are these rules loaded?15:22
pstolowskimardy: snap-confine runs snap-update-ns before running snap app, see also the description at the top of every snap-update-ns.* profile (Description: Allows snap-update-ns ....)15:26
pstolowskimardy: also look at the comments about snap-update-ns in snap-confine.c 15:29
mardypstolowski: mmm... so, this is the profile under which snap-update-ns will be run for the specific snap, and has little (if not nothing) to do with the profile of the snap itself?15:29
pstolowskimardy: yes i think so, its only use is to set up mount namespaces, maybe mborzecki can confirm15:39
mvozyga: can you please review spread#116? would love to mark it "ready" for gustavo but for that it needs at least one +116:03
zygamvo, looking16:06
zygamvo, and *thank you* for asking :)16:06
zygadone16:14
zygamvo, thank you for pushing tests on some of the refactors and fixes16:15
zygamvo, I have some tests lined up but mainly for the all-new exporter logic16:16
zygamvo, make sure to review https://github.com/snapcore/spread/pulls as it's one of the more serious problems reported by vet 16:16
* cachio lunch16:28
pstolowskicachio: i've addressed your comments https://github.com/snapcore/snapd/pull/10476, please take another look17:13
cachiopstolowski, sure17:15
cachiothanks17:15
cachiopstolowski, hey17:19
cachiowhy are you locating tests/lib/snaps/store/test-snapd-refresh-control-provider.v1/build-aux/snap/snapcraft.yaml there?17:19
cachioand not in the base directory of the snap?17:19
pstolowskicachio: i think build-aux is a newer approach17:21
pstolowskicachio: not strictly necessary17:21
cachioI use to locate it in tests/lib/snaps/store/test-snapd-refresh-control-provider.v1/snapcraft.yaml17:21
cachioif it works it is ok17:22
pstolowskiyes it works17:22
pstolowskicachio: see https://snapcraft.io/docs/release-notes-snapcraft-3-317:22
pstolowskii've re-built all 4 snaps with snapcraft and re-uploaded them to the store17:22
cachionice, so you can choose among the baswe dir and build-aux17:23
cachiomakes sense17:23
pstolowskicachio: it's useful to keep main directory cleaner, of course not a problem here17:24
cachiopstolowski, right17:24
cachiopstolowski, just remember to ask store team to move the snaps to test-snaps-canonical user17:26
pstolowskicachio: ah, can they do this?17:26
cachioyes17:26
pstolowskinice17:26
cachioall the test snaps need to be reasigned17:26
cachioyou will remain as a collaborator of the snap17:27
pstolowskicachio: cool. i'll talk to them tomorrow17:30
pstolowskithanks17:30
cachiopstolowski, also you need to set them as unlisted17:31
pstolowskicachio: can i do this myself?17:39
cachioin the store page, you go to edit -> settingd17:41
cachiosettings17:41
cachiothere you can set it as unlister17:41
cachiobut I see there are tons of snaps not properly configured17:41
pstolowskicachio: ah, nice, thanks17:41
pstolowskiok, done17:43
pstolowskiand eod, cu17:43
cachioijohnson[m], hey, when you have a bit of time, could you please check https://github.com/snapcore/snapd/pull/1040917:49
cachioI need to validate the idea because I changed a lot the PR17:49
ijohnson[m]cachio sure I've got it on my queue now17:52
cachiotx17:55
mborzeckiah pedronis is gone already18:57
mborzeckiijohnson: fyi: https://paste.ubuntu.com/p/Dcfqhy2vwK/ something is broken in nested tests on master18:58
ijohnson[m]bboozzoo: hmm18:58
ijohnson[m]I'll take a look, thanks for the pointer18:58
mborzeckiijohnson: if you don't find anything obvious, i'll try to poke at it tomorrow morning19:03
ijohnson[m]bboozzoo: ack, I seem to recall seeing some changes to the fakestore stuff recently, perhaps we broke it without running the nested tests19:03
mborzeckiijohnson: possible, we don't run them too often, not sure if they even get run when merging to master19:03
mborzeckianyways, i'm off 😉 shouldn't even be at the keyboard right now19:04
ijohnson[m]🙂 ttyl19:04
cachiomborzecki, hey19:29
cachiohttps://paste.ubuntu.com/p/9phCDkgqMM/19:29
cachioit is related to refresh-delta test which fails currently19:29
cachioit says not updates available but the snap is refreshed19:30
cachiois anyone takins a look to that one currently?19:30
cachioijohnson[m], ~19:31
ijohnson[m]cachio: that's from the refresh-delta test ?19:32
cachiofrom refresh-delta-from-core19:32
cachioboth are failing19:33
cachiosame error I think19:33
cachioijohnson[m], i have an instance open now19:34
ijohnson[m]cachio: what is the full failure output  from spread ? 19:36
cachioijohnson[m], https://paste.ubuntu.com/p/KVHFY74dTT/19:37
ijohnson[m]cachio: is the `journalctl: unrecognized option '--sync'` error relevant at all ? or is that harmless19:39
cachioit is harmless19:40
cachioijohnson[m], it should be19:40
cachioit is weird because the log says it cannot refresh the snap19:42
ijohnson[m]hmm19:42
cachioijohnson[m], https://paste.ubuntu.com/p/wpqgRCN2ZM/19:43
cachiothis is the part of the journal log which is doing the refresh19:44
ijohnson[m]cachio: can you run on this instance `journalctl --no-pager -u snapd` ? the output you pasted is cut off19:44
cachioijohnson[m], https://paste.ubuntu.com/p/9gJ5PwHN9G/19:45
ijohnson[m]cachio: yeah the store is still not returning deltas correctly, can you ping someone in the store channel about this?19:49
ijohnson[m]mvo pinged them this morning and they said it was fixed, but it seems it is still not fixed19:49
cachiosure19:49
cachioijohnson[m], thanks19:49
ijohnson[m]np19:51

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