/srv/irclogs.ubuntu.com/2020/11/23/#snappy.txt

mborzeckimorning06:38
mvogood morning mborzecki06:51
mborzeckimvo: hey06:56
mborzeckimvo: heh: https://forum.snapcraft.io/t/firefox-83-0-snap-was-broken-fixed-square-fonts/2124806:57
jameshhi mvo, mborzecki07:12
mborzeckijamesh: hey07:12
jameshI did a little experiment on the weekend to see how much of go-check I could delete while still retaining the features I use: https://github.com/go-check/check/pull/122 -- it's functional (apart from its own tests), and opens the door to parallel testing07:16
mupPR go-check/check#122: check: replace test runner logic with Go's stdlib subtest support <Created by jhenstridge> <https://github.com/go-check/check/pull/122>07:16
jameshit turns each go-check test into a stdlib testing sub-test07:16
zygagood morning07:25
zygamborzecki, heh more selinux denials I see07:28
zygatype=PROCTITLE msg=audit(11/23/20 00:49:39.509:26526) : proctitle=/usr/libexec/snapd/snap-update-ns snap-store07:28
zygatype=SYSCALL msg=audit(11/23/20 00:49:39.509:26526) : arch=x86_64 syscall=unlinkat success=yes exit=0 a0=0xffffffffffffff9c a1=0xc0001a8250 a2=0x200 a3=0xc0001a8250 items=0 ppid=3053 pid=6546 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=snap-update-ns exe=/usr/libexec/snapd/snap-update-ns subj=system_u:system_r:snappy_mount_t:s0 key=(null)07:28
zygatype=AVC msg=audit(11/23/20 00:49:39.509:26526) : avc:  denied  { rmdir } for  pid=6546 comm=snap-update-ns name=.X11-unix dev="sda2" ino=34699367 scontext=system_u:system_r:snappy_mount_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir permissive=107:28
zygaare those from the x11 fixes?07:28
zygamvo did merging the internal snap-device-helper regress anything, e.g.: google:ubuntu-core-18-64:tests/main/security-dev-input-event-denied07:29
mborzeckizyga: rmdir .x11-unix?07:31
mborzeckijamesh: nice, i like the fact that with the change the pattern where we loop over a list of test cases could use t.Run() again, no more commenting out test cases to run a specific one07:32
zygamborzecki, I didn't look deeper, just reviewed logs of failed tests07:33
zygahey jamesh :-)07:33
zygaI read your post about the go testing07:33
mborzeckizyga: which PR is that?07:33
zygahttps://github.com/snapcore/snapd/pull/954607:34
mupPR #9546: overlord: add inert export manager <Created by zyga> <https://github.com/snapcore/snapd/pull/9546>07:34
zygaI sent some patches there yesterday07:34
mborzeckihm i see that on centos 7 only07:35
jameshhi zyga07:41
mvozyga: oh, nice, thanks for updating that PR!07:58
mvomborzecki: noooo, fonts again :(07:59
zygahey mvo :-)07:59
mborzeckipstolowski: hey08:03
pstolowskimorning08:04
zygahey pawel08:04
zygaupdated fusion over weekend08:04
mvogood morning pstolowski08:22
pstolowskio/08:30
zygagood morning pedronis08:33
zygapedronis, I pushed a few patches to the inert export manager PR08:33
pstolowskimvo: https://forum.snapcraft.io/t/important-internal-change-to-snap-downloads-in-edge-future-snapd-2-49/2125508:39
mvopstolowski: yay, nice!08:40
mvojamesh: hey, not sure if you have seen it, I added some comments on 8943 and approved it, let me know if you want to address anything (just nitpicks) and if you want to do it in the PR or rather as a followup, either way is fine. if followup I can merge the PR now08:51
jameshmvo: yeah.  I'm addressing those now.08:52
jameshmvo: thanks08:52
mvojamesh: \o/ thank you!08:53
=== tinwood_ is now known as tinwood
mborzeckii've landed #9640, let me know of tests/nested/manual/core20-save fails in any of the PRs09:12
mupPR #9640: tests/nested/manual/core20-save: verify handling of ubuntu-save with different system variants  <Run nested> <Squash-merge> <UC20> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9640>09:12
mborzeckihmm cannot perform operation: mount --bind /var/lib/snapd/snap/core18/current/etc/apparmor /tmp/snap.rootfs_08zCTp/etc/apparmor: Permission denied09:15
mborzeckithat's when trying the updated 2.48 package on arch09:15
mborzecki[lis23 10:16] audit: type=1400 audit(1606122967.226:703): apparmor="DENIED" operation="open" profile="/usr/lib/snapd/snap-confine" name="/proc/77278/attr/apparmor/current" pid=77278 comm="snap-confine" requested_mask="r" denied_mask="r" fsuid=0 ouid=009:16
mborzecki[  +0.058639] audit: type=1400 audit(1606122967.283:704): apparmor="DENIED" operation="mount" info="failed mntpnt match" error=-13 profile="/usr/lib/snapd/snap-confine" name="/tmp/snap.rootfs_vKrjPA/etc/apparmor/" pid=77278 comm="snap-confine" srcname="/var/lib/snapd/snap/core18/1932/etc/apparmor/" flags="rw, bind"09:16
mupPR snapd#9640 closed: tests/nested/manual/core20-save: verify handling of ubuntu-save with different system variants  <Run nested> <Squash-merge> <UC20> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9640>09:17
mborzeckihmmm so restarted apparmor.service once more and it works now, why wasn't that picked up the first time?09:20
mborzeckihttps://github.com/snapcore/snapd/pull/9204 didn't manke it to 2.48?09:34
mupPR #9204: sandbox: track applications unconditionally <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9204>09:35
pedronismvo: hi, thanks for reviewing #967909:38
mupPR #9679: daemon: start cleaning up api tests <Created by pedronis> <https://github.com/snapcore/snapd/pull/9679>09:38
pedronismborzecki: it's marked intentionally 2.4909:38
mvopedronis: my pleasure09:38
pedronispstolowski: hi, maybe you could give a 2nd review to #9679, sadly it's a bit large and some bits a bit tedious09:41
mupPR #9679: daemon: start cleaning up api tests <Created by pedronis> <https://github.com/snapcore/snapd/pull/9679>09:41
pstolowskipedronis: sure09:42
mborzeckipedronis: yeah, noticed09:43
pedronispstolowski: thx09:43
pstolowski#9590 needs 2nd review09:54
mupPR #9590: tests: download timeout spread test <Created by stolowski> <https://github.com/snapcore/snapd/pull/9590>09:54
mupPR snapd#9681 closed: tests: Fix snap-debug-bootvars test to make it work on arm devices and core18 <Simple 😃> <Created by sergiocazzolato> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9681>10:02
mupPR snapd#9683 opened: packaging/arch: sync with AUR packaging <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9683>10:07
mvopedronis: I updated 9670, hopefully clearer now10:52
mvopedronis: (but no rush of course)10:53
pedronisI'll look after lunch10:53
mborzeckigoogle:ubuntu-core-18-64:tests/main/security-dev-input-event-denied sometimes fails on gh, but works when running from local?11:16
mupPR snapd#9684 opened: devicestate: support "storage-safety" defaults during install (2.48) <Created by mvo5> <https://github.com/snapcore/snapd/pull/9684>11:17
zygaracy?11:17
zygaor fallout from the internal snap-device-helper merge?11:17
mvopedronis: looks like 9679 is good to get merged too, nice !11:20
mborzeckimvo: can you land https://github.com/snapcore/snapd/pull/9676 ? the failure on 18.04 is unrelated11:23
mupPR #9676: bootloader: indicate when boot config was updated <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9676>11:23
mvomborzecki: sure11:29
mborzeckimvo: thanks11:30
mvoyw11:32
mupPR snapd#9676 closed: bootloader: indicate when boot config was updated <Simple 😃> <UC20> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9676>11:32
mupPR snapd#9683 closed: packaging/arch: sync with AUR packaging <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9683>12:07
pedronismvo: I'm still confused by the logic in 967012:26
mvopedronis: hm, that's not good12:26
mvopedronis: thanks for your comment, I will update the code and the tests to follow your advise12:27
pedronismvo: is the same advice I gave the last time fwiw, maybe there's a reason to do it differently?12:28
mvopedronis: not really, I think I just forgot over the weekend12:29
pedronisok12:29
pedronismvo: I stared more at #9526 and something doesn't look right13:02
mupPR #9526: snapshotstate: add cleanup of abandonded snapshot imports <Created by mvo5> <https://github.com/snapcore/snapd/pull/9526>13:02
mupPR snapd#9679 closed: daemon: start cleaning up api tests <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9679>14:38
ijohnsonmvo: I updated the comment on 9680, could you please take a look? thanks14:51
mvoijohnson: sure14:52
zygahey ijohnson15:35
=== msalvatore_ is now known as msalvatore
ackkhi, is it possible to passthrough settings for limits (specifically LimitNOFILE and LimitNOFILESoft) to a service unit in a snap?16:16
sil2100mvo: hey! I'm looking at the snapd SRU right now16:22
sil2100mvo: the SRU bug mentions looking for 2.48 test logs in https://travis-ci.org/github/snapcore/snapd/branches , but that seems to have really old runs like from 3 months ago?16:22
sil2100mvo: I don't see the 2.48 branch there or any activity since 3 months - did this move somewhere else? If yes, where can I find the test logs?16:23
mvosil2100: indeed, I need to update this, we moved to GH actions since16:25
pedronismvo: the unit tests are failing in #9526 now16:26
mupPR #9526: snapshotstate: add cleanup of abandonded snapshot imports <Created by mvo5> <https://github.com/snapcore/snapd/pull/9526>16:26
mvopedronis: looking16:28
zygapstolowski, thanks16:30
zygapstolowski, I replied to some points16:30
pstolowskizyga: thanks16:30
zygapstolowski, I want to rest a little but I'll go through the easy stuff for tomorrow16:33
pstolowskizyga: no worries, also I can push some trivials if that's ok16:34
zygapstolowski, nah, you'll take all the glory and credit then16:34
zygaand I won't have anything easy to contribute anymore :)16:34
pstolowski:D16:35
mvoa second review for 9670 would be great16:50
sil2100https://github.com/snapcore/snapd/runs/1425950639?check_suite_focus=true <- is this the set of test results for 2.48? I think I'm still a bit new to this whole GH actions work ;)17:04
mvosil2100: yes, that is correct, but the spread runner for this is not wired up :/17:06
mvosil2100: I can create an artifical run for you, I was looking around and we don't have a run that tests exactly the release (each commit is tested so I can give you the run of the commit before that release)17:07
sil2100mvo: one for the previous commit sounds fine! I just want to document it on the SRU bug so that we have it handy before proceeding :)17:09
sil2100I trust you that it's all green anyway17:09
sil2100(well, green enough for release)17:09
mvosil2100: yeah, let me create something artifcial for you while I sort this out17:09
mvosil2100: I created https://github.com/snapcore/snapd/pull/9685 for you, I will keep an eye on it and once it's done I can link to it from the sru bug17:13
mupPR #9685: tests: run tests against 2.48 for the SRU <â›” Blocked> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9685>17:13
mupPR snapd#9685 opened: tests: run tests against 2.48 for the SRU <â›” Blocked> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9685>17:14
=== msalvatore_ is now known as msalvatore
sil2100mvo: thank you!17:24
ijohnsonhey zyga (sorry I missed your ping earlier)17:44
=== ijohnson is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
mupPR snapd#9680 closed: osutil/disks: allow mocking DiskFromDeviceName <Simple 😃> <UC20> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9680>22:50

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