/srv/irclogs.ubuntu.com/2020/08/10/#snappy.txt

javatexanI am trying to get to dashboard from another computer since Ubuntu core doesn’t  have GUI00:01
=== Eleventh_Doctor is now known as Pharaoh_Atem
zygagood morning05:30
zygawow, I'm early05:30
mborzeckimorning06:07
zygamborzecki: hey06:08
zygamborzecki: I think today is get-master-to-work day06:08
zygaI left some notes on https://github.com/snapcore/snapd/pull/912106:08
mupPR #9121: github: remove Ubuntu 19.10 from actions workflow <Simple πŸ˜ƒ> <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/9121>06:08
mborzeckizyga: hey06:08
zygabut there are other bugs that essentially make master red - I restarted that branch all the time over weekend06:08
zygamborzecki: something is killing/stopping systemd --user for root06:08
zygawhich takes down dbus for root06:09
zygaand makes snapd fail on installing anything with user services06:09
zygaso those tests almost always fail06:09
mborzeckizyga: which systems are affected?06:09
zygathis is in addition to the regular set of random failures06:09
zygaI'm running fedora-32 as that's what I was debugging on Friday06:09
zygabut it affects ubuntu 20.04 as well06:09
zygaI think it's more of a luck factor (some systems managed to pass) or a specific-test factor (test only on some system that breaks the world for the rest)06:10
zygaunsure06:10
zygaI set workers to one and will have some more info06:10
zygafrom Friday:06:10
zyga<zyga-x240> 2020-08-07T15:54:53.3788099Z     - google:fedora-32-64:tests/main/snap-user-service06:10
zyga<zyga-x240> 2020-08-07T15:54:53.3788764Z     - google:fedora-32-64:tests/main/snap-user-service-socket-activation06:10
zyga<zyga-x240> 2020-08-07T15:54:53.3797466Z     - google:fedora-32-64:tests/main/snap-user-service-start-on-install06:10
zyga<zyga-x240> 2020-08-07T15:54:53.3798599Z     - google:fedora-32-64:tests/main/snap-user-service-upgrade-failure06:10
zygathose failed but pass in isolation06:11
mborzeckimhm06:11
zyga<zyga-x240> google:fedora-32-64 .../tests/main/snap-mgmt# ls -ld /run/user/0/snapd-session-agent.socket06:11
zyga<zyga-x240> srw-rw-rw-. 1 root root 0 Aug  7 19:46 /run/user/0/snapd-session-agent.socket06:11
zyga<zyga-x240> google:fedora-32-64 .../tests/main/snap-mgmt# systemctl --user status snapd-session-agent.socket06:11
zyga<zyga-x240> Failed to connect to bus: Connection refused06:11
zyga<zyga-x240> wat?06:11
zyga<zyga-x240> google:fedora-32-64 .../tests/main/snap-mgmt# ls /run/user/0/bus -l06:11
zyga<zyga-x240> srw-rw-rw-. 1 root root 0 Aug  7 19:46 /run/user/0/bus06:11
zygain addition:06:11
zyga<zyga-x240> root       45646  0.0  0.2  27040  9888 ?        Ss   19:47   0:00 /usr/bin/python3 /snap/test-snapd-service/x1/bin/start-stop-mode sighup06:11
zygathere's a test that installs malfunctioning services06:11
zygaand those clearly leak and just stay behind06:11
zygawe should fix that as well though it seems harmless06:11
zygasome more debugging:06:12
zyga<zyga-x240> connect(3, {sa_family=AF_UNIX, sun_path="/run/user/0/bus"}, 18) = -1 ECONNREFUSED (Connection refused)06:12
zygastrace from systemctl --user status ...06:12
zygalastly:06:12
zyga<zyga-x240> this is the test sequence: google:fedora-32-64:tests/main/degraded google:fedora-32-64:tests/main/interfaces-broadcom-asic-control google:fedora-32-64:tests/main/login google:fedora-32-64:tests/main/snapshot-cross-revno google:fedora-32-64:tests/main/interfaces-content-mimic google:fedora-32-64:tests/main/refresh-undo google:fedora-32-64:tests/main/media-sharing google:fedora-32-64:tests/main/snap-switch google:fedora-32-64:tests/main/try-snap-g06:12
zygaoes-awa06:12
zyga<zyga-x240> y:test_snapd_service google:fedora-32-64:tests/main/security-seccomp google:fedora-32-64:tests/main/core18-with-hooks google:fedora-32-64:tests/main/security-dev-input-event-denied google:fedora-32-64:tests/main/snap-run google:fedora-32-64:tests/main/interfaces-content-mkdir-writable:snap google:fedora-32-64:tests/main/retryable-error google:fedora-32-64:tests/main/snap-handle-link google:fedora-32-64:tests/main/interfaces-location-control06:12
zyga<zyga-x240> google:fedora-32-64:tests/main/interfaces-netlink-audit google:fedora-32-64:tests/main/snap-mgmt google:fedora-32-64 .../tests/runtime-state#06:12
zygathat's all I know06:12
zygaI forgot the seed value :/06:12
zygasorry06:12
zygaoh, and master is still broken due to 19.10 removal06:13
zygaso perhaps fixes should go to https://github.com/snapcore/snapd/pull/912106:13
mupPR #9121: github: remove Ubuntu 19.10 from actions workflow <Simple πŸ˜ƒ> <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/9121>06:13
zygaor mvo could merge that and we could target fixes to individual branches06:13
zygamborzecki: I wonder if my fixes didn't break master: I added this to some tests: systemctl --user stop dbus.service06:16
zygaperhaps that's wrong and after getting dbus activated over the socket, it's impossible to reliably stop it06:16
zyganote that this was specifically used to stop root's dbus06:16
mborzeckizyga: as if once it becomes part of the session, it goes down with a session?06:17
zygaperhaps06:17
zygaI really don't know06:17
zygawe normally have systemd --user06:17
zygabut not dbus.service (--user for root)06:17
zygaat least that's what I think,06:17
zyganeed to find the reproducing seed first06:17
zygamvo: good morning06:37
zygamvo: we need your help06:37
mvozyga: good morning06:38
mvozyga: how can I help?06:38
zygamvo: please merge https://github.com/snapcore/snapd/pull/912106:38
mupPR #9121: github: remove Ubuntu 19.10 from actions workflow <Simple πŸ˜ƒ> <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/9121>06:38
zygamvo: we have several problems breaking master06:38
zygathat branch was restarted many times over weekend06:38
zygamvo: I updated mborzecki on the issue as much as I know06:38
mborzeckimvo: hey06:38
zygamvo: the short summary is that something is causing systemd --user for root to shut down, breaking all tests that install snaps with user services06:39
zygamvo: I'm working on debugging that now06:39
mvozyga: ok06:40
mvomborzecki: good morning06:40
mvozyga: merged06:41
mvozyga: is 9119 ready? it looks ok to me and has 2 +1 but is in draft so can't be merged06:43
mupPR snapd#9121 closed: github: remove Ubuntu 19.10 from actions workflow <Simple πŸ˜ƒ> <⚠ Critical> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9121>06:44
mupPR snapd#9123 closed: vendor: update secboot to support dual signed EFI binaries <Created by cmatsuoka> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9123>06:44
zygare, back from breakfast06:55
zygamvo: yeah, it was ready06:56
zygathank you for merging, I hope we can fix the remaining issues quickly06:56
zygamvo: merging https://github.com/snapcore/snapd/pull/9112 would help as well, somehow I keep hitting that in my debug runs06:57
mupPR #9112: tests: run as hightest via tests.session <Test Robustness> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9112>06:57
zygaoh06:57
zygahaha, nice06:57
mvozyga: I mark 9119 as ready then06:58
zygathanks06:59
zygaI wanted to get a clean pass but I think that's less practical now06:59
mupPR snapd#9109 closed: github: run CLA checks on self-hosted workers <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9109>06:59
mupPR snapd#9112 closed: tests: run as hightest via tests.session <Test Robustness> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9112>06:59
mupPR snapd#9113 closed: tests: port regression-home-snap-root-owned to tests.session <Test Robustness> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9113>06:59
zygaI started early today as I have physio at 18;0007:01
pstolowskimorning07:01
zygagood morning Pawel07:01
mborzeckipstolowski: hey07:04
mvogood morning pstolowski07:04
mupPR snapd#9104 closed: tests: fix for timing issues on journal-state test <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9104>07:04
mupPR snapd#9119 closed: many: remove usage and creation of hijacked pid cgroup <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9119>07:04
zygabrb,07:30
zygarebased on master, no luck with fixes yet07:30
zygaback in 2007:30
zygareproduced07:44
zygamaster07:45
zygaspread -seed=1597043051 -debug -v google:fedora-32-64:tests/main/07:45
zygathis fails on - Make snap "test-snapd-user-service" (unset) available to the system (Post "http://0/v1/service-control": dial unix /run/user/0/snapd-session-agent.socket: connect: connection refused)07:45
zygainside 2020-08-10 09:32:24 Error executing google:fedora-32-64:tests/main/snap-user-service (aug100704-587445) :07:45
zygaI'll try to understand what causes this now07:46
zygaprior tests on this machine:07:47
zygagoogle:fedora-32-64:tests/main/degraded google:fedora-32-64:tests/main/interfaces-broadcom-asic-control google:fedora-32-64:tests/main/try-snap-goes-away:test_snapd_tools google:fedora-32-64:tests/main/services-stop-timeout google:fedora-32-64:tests/main/interfaces-fuse-support:parallel google:fedora-32-64:tests/main/install-refresh-remove-hooks:regular google:fedora-32-64:tests/main/interfaces-home google:fedora-32-64:tests/main/snap-interface07:47
zygagoogle:fedora-32-64:tests/main/debug-sandbox google:fedora-32-64:tests/main/auto-refresh-retry google:fedora-32-64:tests/main/change-errors google:fedora-32-64:tests/main/umask google:fedora-32-64:tests/main/user-session-env google:fedora-32-64:tests/main/security-apparmor google:fedora-32-64:tests/main/parallel-install-services google:fedora-32-64:tests/main/abort google:fedora-32-64:tests/main/interfaces-appstream-metadata google:fedora-32-64:tests/main/r07:47
zygaetry-network google:fedora-32-64:tests/main/interfaces-network-control-ip-netns google:fedora-32-64:tests/main/snapctl-is-connected google:fedora-32-64:tests/main/cgroup-tracking:root google:fedora-32-64:tests/main/services-disabled-kept-unhappy google:fedora-32-64:tests/main/op-remove-retry google:fedora-32-64:tests/main/revert-devmode:remote google:fedora-32-64:tests/main/base-snaps google:fedora-32-64:tests/main/interfaces-shutdown-introspection07:47
zygagoogle:fedora-32-64:tests/main/snapd-notify google:fedora-32-64:tests/main/install-sideload-epochs:reexec1 google:fedora-32-64:tests/main/auto-aliases google:fedora-32-64:tests/main/snap-remove-not-mounted google:fedora-32-64:tests/main/interfaces-netlink-connector google:fedora-32-64:tests/main/debug-confinement google:fedora-32-64:tests/main/services-stop-mode google:fedora-32-64:tests/main/known google:fedora-32-64:tests/main/user-data-handling07:47
zygagoogle:fedora-32-64:tests/main/interfaces-framebuffer google:fedora-32-64:tests/main/base-policy google:fedora-32-64:tests/main/chattr google:fedora-32-64:tests/main/interfaces-system-observe google:fedora-32-64:tests/main/searching google:fedora-32-64:tests/main/interfaces-desktop-host-fonts google:fedora-32-64:tests/main/interfaces-hardware-random-observe google:fedora-32-64:tests/main/snap-user-service + echo '# free space'07:48
zyga(sorry for pasting most of the log directly)07:48
mborzeckiis pedronis around today?07:49
zygaI don't recall07:49
zygaheh, cats fighting outside07:49
zygafunny noises07:49
zygainteresting that user@0.service is stopped normally07:59
zygaAug 10 07:25:30 aug100704-587445 systemd[912]: Reached target Exit the Session.07:59
zyga7:25:3007:59
mborzeckizyga:linger?08:00
zygawe should log tests08:00
zygaas in log the start / stop of a test to journal08:00
zygathis will make it evident what's going on08:00
zygapossibly08:00
mborzeckiwe had some changes in how linger is enabled08:01
mborzeckiprobably like ~month ago08:01
zygaworth a try08:02
mborzeckiheh, 9 files changed, 577 insertions(+), 137 deletions(-), can't really make the content update observer smaller08:02
mborzeckitests inflate it a lot08:02
zygamborzecki: yeah08:03
zygatests.session -u root stops08:03
zygastops user@0.service08:03
zygahmm08:04
zygamaybe restore for root08:04
zygashould remember if we had really started that08:04
zygaand re-start it08:04
zygathat would give us working dbus08:04
zygaok, I have an idea, let's try to write a patch08:08
zygamborzecki: I also wonder what amplified this problem08:08
zygawas it something we did or was it the dependencies changing08:08
mborzeckizyga: afaiu it's observable on stable distros now?08:09
mborzeckiso i'd bet on something in the tests08:09
zygamborzecki: on 20.0408:09
zygaso presumably that's us08:09
zygamborzecki: but this is so weird08:11
zygawe disable root linger08:11
zygabut not stop anything08:11
zygamaybe the recent changes I did for systemd-logind caused this08:11
mborzeckipedronis: hi, i've opened #9124, it's mounted fs updater & gadget.Update(), still the diffstat is +579 βˆ’13708:12
mupPR #9124: gadget: introduce content update observer <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9124>08:12
mupPR snapd#9124 opened: gadget: introduce content update observer <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9124>08:14
pedronismborzecki: thx08:14
mborzeckihmm An error occurred with the instance when trying to launch with 'LXD': Unable to fetch https://cloud-images.ubuntu.com/buildd/daily/xenial/20200728/xenial-server-cloudimg-amd64-lxd_combined.tar.gz: 404 Not Found.08:20
mborzeckiat least it does return 40408:20
zygathe date is very precise, do we use a fixed image URL?08:23
zygaperhaps we need to "lxd something" for lxd to find the proper images08:23
mborzeckihttps://cloud-images.ubuntu.com/buildd/daily/xenial/20200728/xenial-server-cloudimg-amd64-lxd_combined.tar.gz does not 40408:25
amurraymborzecki zyga: this is a known issue - https://forum.snapcraft.io/t/snapcraft-with-lxd-pulling-an-outdated-lxc-image/19324/3 - well not sure if the right cpc folks who could fix it know about it but is due to out of date simplestreams metadata08:25
zygaah, thanks for sharing that08:26
zygaI found the problem08:50
zygaeh08:50
zygasystemd bugs :/08:50
zygarestarting logind is just not a good idea08:50
zygaI think we need to do two things08:50
zygamove the workaround for an older systemd bug into the system global prepare08:50
zygathen combine that with the upgrade of systemd08:50
zygaand REBOOT08:50
zygamborzecki: the problem seems to be that logind doesn't remember sessions08:50
zygaand when we disable linger08:51
zygait forgets it had a root session that was made by spread08:51
zygaso the recent fix for sid has amplified the problem08:52
zygalennart replied to our bug: https://github.com/systemd/systemd/issues/16685#issuecomment-67016650508:55
zygasystemd maintainers are sure responsive, that's really nice08:56
zygaeh08:56
zygayeah, confirmed08:57
zygarestarting logind does lose state08:57
zygaat least in 24508:57
zygamborzecki: https://github.com/systemd/systemd/issues/16685#issuecomment-67123973708:58
zygamvo: I will try to fix master, at least make it better, in the next hour, sorry for the mess08:59
zygait's the fallout from the sid fix indeed08:59
* zyga tests a fix now09:07
zygamborzecki: yet-untested draft of the fix: https://github.com/snapcore/snapd/pull/912509:26
mupPR #9125: tests: fix issues related to restarting systemd-logind.service <Test Robustness> <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/9125>09:26
zygalocally tests are in flight, I'll report back when I get some results09:27
mupPR snapd#9125 opened: tests: fix issues related to restarting systemd-logind.service <Test Robustness> <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/9125>09:30
zygacan we do something about the issue with lxd images?09:31
zygamborzecki: eh, can we REBOOT from project prepare in general?09:41
zygaI recall arch does09:41
zygabut it has modern bash09:41
zygaare we still affected by the bash bug with exit code propagation?09:41
mborzeckizyga: iirc REBOOT works in prepare, there were problems in restore09:41
zygaah, I see09:42
zygaoh man09:43
zygacatch 2209:43
zygacore workaround09:43
zygaand linger workaround09:43
zygacore16 is a big problem now :/09:44
zygabut first, let me go downstairs, I really don't know where to work today09:44
zygabedroom is an oven, office a frying pan09:44
pedronismborzecki: mvo: #9095 needs a 2nd review10:09
mupPR #9095: boot/bootstate20: unify commit method impls, rm bootState20MarkSuccessful <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9095>10:09
mborzeckipedronis: it's in my queue10:09
zygamborzecki: hmm, it seems we cannot REBOOT from project prepare though10:25
zygahttps://pipelines.actions.githubusercontent.com/xS8oSnypZkPEQZqiZgDaRp2kdvQJKbOY08TesHp7E8vn7g4hYR/_apis/pipelines/1/runs/10735/signedlogcontent/75?urlExpires=2020-08-10T10%3A26%3A15.6985947Z&urlSigningMethod=HMACV1&urlSignature=KBzWVhJfo58j12Er5gL0cjRFu7LXUhaRJ52TCxy8R%2B4%3D10:25
zyga2020-08-10T09:39:43.8002986Z <REBOOT>10:25
zygaor am I reading that wrong10:26
zygaafter REBOOT the test fails10:26
mborzeckihm10:26
mborzeckimaybe it's not producing the same exit status as REBOOT?10:26
zygabut this is weird10:26
zygawe only have one REBOOT10:27
zygathe one provided by spread is unset immediately after cloning it10:27
zygaand this is long after10:27
zygabut this is still weird, I mean, I'm testing this locally10:27
mborzeckizyga: can you try with this https://github.com/snapcore/spread/pull/85 ?10:27
mupPR spread#85: spread/client: workaround bash 4.3 subshell errexit issues <Created by bboozzoo> <https://github.com/snapcore/spread/pull/85>10:27
zygaand I surely don't get failures (I was only testing Fedora)10:27
zygaoh10:28
zygaso this didn't land!?10:28
zygamborzecki: I can but it works for me (I'm using the same spread as our workers do)10:28
zygasomething doesn't make sense here10:28
zygahm, fedora 32 failed after 24 minutes10:29
zygaso perhaps it does work on fedora10:29
zygabut it fails in a different way10:29
zyga2020-08-10T10:01:49.7316727Z ##[error]2020-08-10 10:01:49 Error preparing google:fedora-32-64 (aug100938-989118) : rebooted on aug100938-989118 (google:fedora-32-64) more than 10 times10:29
zygalike a reboot loop10:29
zygayet my local run is at 3/4 of completion without an issue10:29
zygaI think my code is naive10:30
zygaI need to have a condition for REBOOT10:30
mupPR snapd#9126 opened: boot: introduce current_boot_assets and current_recovery_boot_assets to modeenv <Simple πŸ˜ƒ> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9126>10:30
mborzeckipedronis: hopefully this is a trvial one ^^10:30
zygahow do I check the running version of systemd-logind10:30
zygaok I think I have an idea10:33
zygamborzecki: how does https://paste.ubuntu.com/p/vj7B5DNf3d/10:36
zyga look like10:36
zygaouch10:37
zygasorry10:37
zygaback pain10:37
zygaI tried to work sitting10:37
zygamborzecki: we can detect if systemd was updated across 245-246 line10:38
zygauh back to bed for now10:38
zygaouch10:40
zygaeasier said10:41
mborzeckizyga: so when we're running < 246 and update pulls in 246+ we restart?10:45
mborzeckizyga: does it happen anywhere outside of arch/tw/sid?10:45
zygamborzecki: yeah, that's the idea10:46
zygawe also restart if we had to reconfigure systemd10:46
zygaer, logind10:46
zygaso the actual upgrade happens on sid for now10:46
zygabut the other condition also happens on many systems10:46
zygait's just less frequent10:46
zygathe bottom line is that restarting logind is just unsafe10:47
zygaI have no idea how to solve this on 16.0410:47
zygawhere we need to make mount changes to make logind fixable10:47
zygafix it10:47
zygarestart it to apply the fix10:47
zyga(that's already wrong then)10:47
jameshzyga: I think I've addressed all the feedback on #9043 either with code changes or responses to comments.10:55
mupPR #9043: daemon: replace access control flags on commands with access checkers <Needs security review> <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/9043>10:55
zygaack10:55
zygaI'll look after current master woes10:55
jameshzyga: as far as naming of the access checkers, I think there is value in keeping the naming consistent with the documentation10:56
zygajamesh: perhaps, but only if the name is accurate11:01
jameshzyga: sure.  I'm not saying the docs are immutable11:01
zygabrb11:32
zygagot a clean run on fedora 3211:32
zygathinking about core16 options11:32
zygamborzecki: yeah, so REBOOT is busted11:49
zygahttps://github.com/snapcore/snapd/pull/9125/checks?check_run_id=96634983411:49
mupPR #9125: tests: fix issues related to restarting systemd-logind.service <Test Robustness> <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/9125>11:49
zygaI'm certain we need some kind of workaround for that bash issue11:49
mborzeckizyga: have you tried with the spread branch?11:49
zygaI'll try merging it locally to see if that helps11:49
zyganot yet11:49
zygaI will11:50
zygaif it helps we need to get that reviewed11:50
zygaI wonder what to do now11:50
zygashould we revert the restart "fix" for sid11:50
zygadisable sid for now11:50
zygado something else11:50
zygamvo: ^ advice welcome11:50
mupPR snapd#9127 opened: bootloader: introduce TrustedAssetsBootloader, implement for grub <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9127>11:50
mborzeckipedronis: trusted assets bootloader thingy ^^11:50
mborzeckitime to do some reviews11:51
mborzeckihm we haven't landed any bits for debug that call uname -a or somesuch?11:53
zygamborzecki: we have a PR from cachio11:54
mborzeckimhm, just +1'ed it11:54
mborzeckizyga: https://github.com/snapcore/snapd/pull/9116/checks?check_run_id=96558342311:55
mupPR #9116: tests: add system information and image information when debug info is displayed <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9116>11:55
mborzecki2020-08-10T07:31:53.5421376Z Linux aug100702-249153 4.15.0-1080-gcp #90~16.04.1-Ubuntu SMP Fri Jul 10 19:11:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux11:55
mupPR #90: Default to SocketMode=0660 if no socket mode option is given <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/90>11:55
mborzeckiand we have cgroup2fs under /sys/fs/cgroup11:55
mborzeckion xenial11:55
zygamborzecki: that's ... just wrong?11:56
zygahow can we get that?!11:56
zygais it overmounted11:56
zygaas in shadowing the tmpfs normally there11:56
mborzeckizyga: hm i misread, it's tmpfs, we check whether /sys/fs/cgroup/unified exists, but it does not?11:58
zygamborzecki: hmmmm11:58
zygathat's possible11:58
zygathough I don't remember what the conditions are11:58
zygamaybe our check is wrong?11:58
pedronismborzecki: I reviewed #9124, looks good but couple of questions11:59
mupPR #9124: gadget: introduce content update observer <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9124>11:59
mborzeckipedronis: thanks11:59
mupPR snapd#9128 opened: tests/main/cgroup-tracking: try to collect some information about cgroups <Simple πŸ˜ƒ> <Test Robustness> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9128>12:05
mborzeckizyga: ^^ some more info12:05
zyganice12:10
zygalet's see what that shows12:10
zygatoday is not a very good day, is it?12:10
zygaI'm making progress, will try a core 16 idea nonw12:10
zyga*now12:10
pedronismborzecki: question(s) in #912712:11
mupPR #9127: bootloader: introduce TrustedAssetsBootloader, implement for grub <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9127>12:11
mborzeckipedronis: right, that's for the case if one gets a bootloader without NoSlashBoot in options, it should probably be internal error as you indicated, it's not a reasonable use case12:19
mborzeckipedronis: current_trusted_recovery_boot_assets?12:34
pedronismborzecki: ok, let's have the error and see how it goes12:34
mborzeckiinstead of current_recovery_trusted_boot_assets12:35
pedronisthat probably reads better12:35
zygaamazing12:43
zygawhat am I missing12:43
* zyga checks spread source12:43
zyganah, I am running master12:43
zygaok, lets see if main passes12:43
zygacore16 did not crash and burn for me locally12:43
ijohnsonmorning folks12:44
pedronisijohnson: hello12:47
ijohnsonhi pedronis12:47
ijohnsonpedronis: thoughts on moving envRefExtractedKernelBootloaderKernelState and extractedRunKernelImageBootloaderKernelState to a different file, maybe boot/bootstate20_kernelstate.go ?12:50
ijohnsonthat would make the bootstate20 file a little bit easier to navigate I think12:50
ijohnsonof course not for my current PR, but a followup12:50
zygahey ijohnson :)12:50
ijohnsonhey zyga12:51
pedronisijohnson: sounds ok12:54
ijohnsonpedronis: cool I'll try to do that after we land the current PR12:58
zygamvo: I've added https://github.com/snapcore/snapd/pull/9129 for 2.4613:15
mupPR #9129: sandbox/cgroup: remove temporary workaround for multiple cgroup writers <Created by zyga> <https://github.com/snapcore/snapd/pull/9129>13:15
mupPR snapd#9129 opened: sandbox/cgroup: remove temporary workaround for multiple cgroup writers <Created by zyga> <https://github.com/snapcore/snapd/pull/9129>13:16
zygamvo: what would it take to make /var/lib/systemd/ writable on core16 (it is writable on 18 and 20 already) - I'm specifically after /var/lib/systemd/linger so we could have a subset of the directory (just linger) available to help13:25
ijohnsonzyga: just for our tests or IRL too ?13:32
zygaijohnson: it's just for out tests but we seem to have done this on core18+ so I guess that's for a reason13:37
zygaand IRL is a weird way to describe that :)13:37
zygabrb, small break13:38
pedronisin general it's easier to have the 3 consistent when there's no strong reason for not13:43
ijohnsonzyga: yeah in that case we should just do it IRL for core snap13:45
zygaI agree13:47
zygaconsistency13:47
zygaand less special cases13:47
ijohnsonindeed13:47
zygaI will break for lunch and an errand and then go for physio13:55
zygaI will do my best to work when I'm back to prepare the fixes for logind13:55
cachiopstolowski, ijohnson thanks for the review fo #8942, I already answer the question about the variable14:10
mupPR #8942: tests: support different images on nested execution <Run nested> <Squash-merge> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8942>14:10
ijohnsonthanks cachio14:13
cachioijohnson, sorry for the delay, didn't see that on friday14:14
ijohnsonno worries14:14
pstolowskicachio: thanks14:17
pedronismvo: cachio: are we releasing .3.1 today?14:27
cachiopedronis, I am waiting confirmation from store team14:27
pedronisthx14:27
cachiopedronis, they asked me to wait14:27
cachiopedronis, progressive release for core snap started14:47
cachiomvo, ~14:47
mvocachio: nice, thanks14:47
pedronisthx14:47
pedronismvo: it would probably good to land #9086 but it needs a 2nd review (it's a cleanup)14:48
mupPR #9086: many: reorg cmd/snapinfo.go into snap and new client/clientutil <Cleanup :broom:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/9086>14:48
mvopedronis: looking14:48
pedronismvo: I moved my assertions PR to 2.4714:50
mvopedronis: thank you14:50
zygamade some more progress on core16, should have a green pass soon15:16
zygabut now physio15:16
zygasee you in a few hours15:16
* cachio lunch15:18
ijohnsonmborzecki: have you seen the triggerwatch unit test  triggerwatchSuite.TestNoDevsWaitKey fail before?15:19
ijohnsonFAIL: triggerwatch_test.go:80: triggerwatchSuite.TestNoDevsWaitKey15:19
ijohnsontriggerwatch_test.go:87:15:19
ijohnson    c.Assert(err, IsNil)15:19
ijohnson... value *errors.errorString = &errors.errorString{s:"trigger not detected"} ("trigger not detected")15:19
ijohnsonOOPS: 4 passed, 1 FAILED15:19
pedronismvo: I forgot to mention last week, did you see this: https://github.com/snapcore/core18/pull/155 ?  (same for the parallel PRs), the name of the dir is wrong15:25
mupPR core18#155: hooks: fix broken symlink /etc/sysctl.conf.d/99-sysctl.conf <Created by mvo5> <https://github.com/snapcore/core18/pull/155>15:25
mvopedronis: oh, missed that, sorry15:26
ijohnsoninterestingly a model assertion unit test panic'd on riscv64, seems to be timing related somehow https://pastebin.ubuntu.com/p/7ppt8pTbdz/15:27
ijohnsoncachio: do you need to delete some images on gce again? I see `2020-08-10 14:33:27 Cannot allocate google:opensuse-tumbleweed-64: cannot allocate new Google server google:opensuse-tumbleweed-64 (aug101430-988733): cannot find ready marker in console output for google:opensuse-tumbleweed-64 (aug101430-988733)` in spread runs now15:28
mborzeckiijohnson: heh, probably a timing issue15:35
mborzeckiwas outside for a bit, +35C15:35
mvopedronis: I reviewed 9086 now15:39
kenvandinemvo: what's the status of lzo support?  Is that ready to be used?  What snapd version first supported it?16:03
mvokenvandine: for snapd on install it's actually transparent, so any snapd version will work16:04
kenvandinebut not at runtime.  We're talking about injecting an "assumes" in there16:04
mvokenvandine: not at runtime? what issue/error do you see with older snapd versions?16:05
mvokenvandine: "snap pack --compression=lzo" is more recent16:05
kenvandinewait... when you launch the snap on an old version of snapd16:06
mvokenvandine: but the ability to run lzo snaps should be transparent to snapd16:06
kenvandinethat would work?16:06
mvokenvandine: yes16:06
mvokenvandine: I don't see why it would not :) maybe I'm missing something16:06
kenvandineok, i thought there was talk about needing specific versions16:07
kenvandinei guess i misunderstood :)16:07
kenvandinemvo: and no known issues on other distros?  centos, fedora, etc?16:07
mvokenvandine: same, as long as they have a kernel that supports lzo for squashfs (which they all do) then this will be fine16:08
kenvandineok16:08
kenvandinemvo: thanks, we're going to start testing it :)16:09
kenvandinewith real snaps16:09
mvokenvandine: \o/ nice!16:09
mvokenvandine: AIUI chromium is already whitelisted in the reviewtools to allow lzo16:09
kenvandineok16:09
kenvandineWimpress was suggesting we try a few snapcrafter snaps first, so we'll work that out16:10
kenvandineand maybe experiment with the gnome platform snap too16:10
cachioijohnson,  done16:30
AavarHow would I go about building a snap of deluge 1.3 for 20.04? Or better yet, would anyone be interested in creating such a snap?16:30
ijohnsonthanks cachio16:31
oerheksAavar, there is 2.0.3 already16:43
oerhekshttps://snapcraft.io/deluge-lukewh16:43
* zyga-mbp is back from physio but not working ye17:36
zyga-mbp*yet17:36
mupPR snapd#9130 opened: [RFC] Support for gadget.yaml "$kernel:" style references <Created by mvo5> <https://github.com/snapcore/snapd/pull/9130>17:37
ijohnsoncachio: I17:45
ijohnsonI'm still seeing that ready marker error in spread with tumbleweed17:46
ijohnson`2020-08-10 17:21:32 Cannot allocate google:opensuse-tumbleweed-64: cannot allocate new Google server google:opensuse-tumbleweed-64 (aug101718-511919): cannot find ready marker in console output for google:opensuse-tumbleweed-64 (aug101718-511919)`17:46
ijohnsondoes it take a while for that to deploy ?17:46
cachioijohnson, ah, ok, in that case this is another error17:46
cachiolet me cehck again17:46
ijohnsonok17:46
cachioijohnson, fixed17:46
ijohnsonthanks I'll try again17:47
cachioI'll need to re create a new image for tumbleweed17:47
zygaback from physio18:33
zygahow are things?18:33
zygaI will get back to 16.04 part of the problem in a moment, let me review public tests first18:34
cachiozyga, I could reproduce the error in the cgroup-tracking18:35
zygacachio: tell me more!18:35
cachiobut still couldn't find which test is producing it18:35
zygacachio: I reproduced it a few times18:35
zygacachio: but I didn't focus on debugging it yet, I'll try tomorrow - assuming the current issues are fixed18:36
zygacachio: we added some detectors to invariant checker and it's not the kernel - it is clearly some other factor18:36
cachiozyga, what I found is that there is another test which if it executed before the  cgroup-tracking test fail18:36
zygacachio: when it happened it was running the 4.15 gce kernel18:36
zygayeah, I think that must be the case18:36
zygawe could find an intersection of sets after a few runs18:37
zygaI'm sure we'll find it18:37
cachiozyga, yes18:37
cachiolet me find that18:37
cachioI'll send you what I find18:37
cachiozyga, I think in hours I can have that info18:38
zygacool, drop me a line or go and fix it if you find the broken test18:39
zygaI'm no longer always on IRC so mattermost is best for a message box style18:39
cachiozyga, sure18:39
cachioI'll let you know18:39
cachioenjoy your evening18:39
zygathank you :)18:41
mupPR core#116 opened: extra-files/writable-paths: make all /var/lib/systemd writable <Created by anonymouse64> <https://github.com/snapcore/core/pull/116>20:22
cachioijohnson, hey20:23
cachioI see this is uc20 https://paste.ubuntu.com/p/rhzB3sRQyV/20:23
ijohnsonhey cachio20:23
ijohnsoncachio: ah yes that was fixed recently20:24
ijohnson--purge only works on a single snap20:24
ijohnsonyou need to do `snap remove --purge jq` `snap remove --purge jq-core18` etc.20:24
cachioijohnson, ah, ok, I'll fix my scripts in that case20:24
cachiothanks20:24
mupPR snapcraft#3242 opened: tests: remove expected failure case from legacy integration test <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3242>22:36

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