[03:31] hi i have a question about snap and getting firefox updated to the latest version? how can i, b/c apt and snap don't talk to each other and i want to have firefox updated to version 67 but in snap its only at 66 [03:39] okay i found the clue was to run command: sudo snap refresh === jkridner|pd is now known as jkridner_ === jkridner_ is now known as jkridner [05:33] morning [05:39] brb, new kernel [05:42] and back === morphis5 is now known as morphis [06:36] mwhudson: perhaps, though I haven't seen any lately [06:38] good morning mborzecki [06:38] zyga: hey [06:53] brbr [06:59] * zyga dog walk and coffee [06:59] hey mvo [07:01] mborzecki: https://github.com/snapcore/snapd/pull/7091 [07:01] mvo: morning [07:01] mborzecki: shall I split that ;D [07:02] and with that, I'll be back in 20 [07:04] mborzecki: perhaps I should add one sub-variant first? [07:06] good morning mborzecki and zyga === pstolowski|afk is now known as pstolowski [07:07] hey [07:09] pstolowski: hey [07:14] back [07:15] good morning mvo, good morning pawel [07:16] mborzecki: perhaps I should really split the PR into something people won't run away from [07:16] zyga: hmm maybe start with core16 or 18 first and drop qemu [07:16] mvo: *the* test https://github.com/snapcore/snapd/pull/7091/files [07:16] mborzecki: +1 [07:16] mborzecki: good idea on qemu [07:16] it's x2 the data with qemu [07:17] zyga: the tool doesn't support comments in mountinfo dumps, wonder whether it'd be useful to add some annotation to the expected outputs [07:17] mborzecki: hmmm, that would be pretty easy [07:21] zyga: prbably the test should include backends: [-autopkgtest] too ? [07:21] good idea, I was thinking about how to block backends for qemu [07:24] zyga: could you restart this CI run for me? It looks like it got stuck some how. https://travis-ci.org/snapcore/snapd/builds/557127004 [07:24] sure [07:25] done [07:25] it'd be nice if Travis let regular users restart jobs associated with their own PRs [07:28] mborzecki: done, only google is used now [07:56] * zyga does reviews [08:44] pedronis_: https://github.com/snapcore/snapd/pull/7087 is probably harmless to land, the gadget code uses noop updaters, so we'll at least have the edition and checks logic executed at this point [08:46] pedronis_: i can tweak the existing spread test for gadget update to only go through updating the snap, without verifying whether the content was updated, and add it to the PR [08:47] mvo: re what we discussed yesterday evening - https://github.com/snapcore/snapd/pull/7092 [08:48] pstolowski: thanks, looking [08:48] pstolowski: I'm reviewing your patch PR now btw [08:48] mvo: no pressure, this needs to wait for other stuff anyway [08:48] (finally, sry for the delay) [08:48] no worries [08:54] * zyga fixes leaky tests === pedronis_ is now known as pedronis [08:57] mborzecki: sorry, not sure I follow, anyway chasing other things atm [08:57] mvo: pstolowski: seems we all forgot about this code: https://github.com/snapcore/snapd/blob/master/snap/info_snap_yaml.go#L243 [08:57] pedronis: ok, np, we can sync later [08:58] but must me my "lucky" time, I ran this many times on all the suites and it didn't fail [08:58] I propose my PR and WHAM [08:58] but that's ok :) [08:58] one test seems to leak netns mount [08:58] should be easy [09:00] pedronis: i removed it in 7083 with the assumption that it's either set correctly by us or comes correct from the store, does it make sense? [09:01] pstolowski: I think it will should be removed when we add type: snapd to snapcraft.yaml [09:02] pedronis: so maybe #7092 should land first (once new snapcraft is in stable)? [09:02] jdstrand, hi, would it be possible to get a new deb (or snap if it's easier) for the patched snapd with users support, based on the current master? it'd help us testing the fixes to interfaces you recently landed (like running systemd-detect-virt and accessing /proc/sys files) [09:03] pstolowski: maybe, it would avoid this: https://github.com/snapcore/snapd/pull/7083/files#diff-556bb7431481e375713ea3e0883a771a [09:03] pedronis: indeed [09:04] but I don't want to block John either [09:06] 👋 [09:15] sergiusens: hey, what's the timeframe for "snapd" type support in snapcraft to hit "stable"? [09:22] pstolowski: what does that mean? [09:22] zyga: woah @ 7091 [09:23] popey_: i've landed a small enhancement in snapcraft to support "type:snapd", we need it in stable to proceed with symmetric changes in snapd code [09:23] pstolowski: it's half the size as in the morning :) [09:23] neat [09:25] zyga: nice. i finally get the big picture of all the python PRs i looked at recently ;) [09:26] pstolowski: it's not over yet, now to combat leaky tests [09:29] zyga: looking at it, this looks super nice (i hope it's not going to surprise us with unexpected failures) [09:29] pstolowski: I'm sure it will a little, I just fixed a leaky netns test [09:30] but I hope not that many [09:30] I'm looking at changing spread.yaml to ensure leaky tests are "caught" [09:30] but yeah, took some pain to get to the point where it generally works okay and when it fails, it can be reliably said to show something being wrong elsewhere [09:32] pstolowski: the only "late" addition is classic, since we want to start changing classic confinement I thought those extra tests would be useful [09:33] zyga: i see, indeed, sounds like a good plan [09:37] pstolowski wrapping up a couple of uc20 related PRs and doing a release. I am off today and tomorrow, so most likely next week and once tagged and in candidate the speed depends on how fast people respond to the call for testing (and how out more exhaustive tests go) [09:38] sergiusens: sounds good, thank you. fwtw i tested yesterday's snapcraft from edge with snapd and type:snapd [09:57] zyga: reviewed [09:59] pstolowski: thanks! [10:05] zyga: replied [10:13] thanks [10:13] I'm running all tests in a loop and just got another clean pass, hopefully the netns one was a one-off [10:14] and having fixed that test we will not see other tests resurface [10:17] nice [10:18] * pstolowski early lunch & an errand [10:21] pstolowski: silly question, in an ideal world where we have all the information, when would we do the reset of the sublevel for level60? the old code checked for revno 5332, does that mean (in an ideal world with all the data) we would only reset the sublevel if we come from something older than 5332? if we are on a newer revno, would we ever need to reset the sublevel? [10:35] pstolowski: replied in the pr, if you don't mind I would like to squash 7016 and cherry pick to 2.40 [10:53] brb [11:12] re [11:36] I'm merging the mount-ns test with the MS_SHARED branch locally, on very quick inspection the mount namespaces actually look good! [11:36] :) [11:36] I haven't moved to core yet, just classic for now [11:37] I will probably write a new test as well, to show how specific things are set up (e.g. /home across all three) to show that propagation is good (in a manner more readable then the full dump) [11:51] interfaces-contacts-service test failing https://www.irccloud.com/pastebin/LoVplaZj/ [11:54] cachio mentioned there's a timing issue there and was looking into that [11:58] ackk: sure. I'll be spending some time on that pr today so will give it to you after that [12:00] jdstrand, thanks! [12:02] zyga: this PR from cachio: https://github.com/snapcore/snapd/pull/7088 through i'm not certain about the fix [12:04] mborzecki: interesting, looking [12:04] hey jdstrand === ricab is now known as ricab|lunch [12:37] the new test is fantastic [12:38] MS_SHARED causes quarter of mount points to go away [12:38] on core16 [12:39] * zyga goes to analyze why [12:44] zyga, mborzecki: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/O4CMUKPHMMJ5W7OPZN2E7BYTVZWCRQHU/ [12:45] zyga, mborzecki: this is kind of a crappy thing to wake up today [12:45] Eighth_Doctor: heh [12:45] pedronis: mvo: ^^ [12:45] I didn't know you guys were planning on discontinuing effort on g-s-snap [12:46] I wish I had been told about this ahead of time so that I could have had a contingency plan for this... [12:46] Wimpress: willcooke: ^ [12:47] Eighth_Doctor: thanks for the heads up anyway! [12:47] a number of my friends and colleagues actually use snaps through g-s, since Fedora Workstation is the main variant people use [12:47] We are going to continue to maintain the g-s snap plugin [12:47] and whenever folks installed snapd in Fedora, it would auto-install the plugin, giving people a seamless experience :( [12:48] kenvandine, ^ [12:48] what am I supposed to do for GNOME people now? [12:48] brb [12:48] willcooke: can someone _please_ reply to this thread on devel@ so that they know that, because right now this looks kind of bad... and I just started working on my presentation for Flock on snaps too :( [12:49] Eighth_Doctor: I wasn't aware of this until a few days ago [12:49] the worst part is I'm finding this out because of Phoronix [12:49] https://www.phoronix.com/scan.php?page=news_item&px=GNOME-Software-Dropping-Snap [12:50] Eighth_Doctor: FWIW I found out because of askubuntu :-| [12:50] wtf 😕 [12:51] * Chipaca always reads that as "as kubutu" and then is disappointed [12:51] Eighth_Doctor: sorry i meant omgubuntuwtfbbq [12:51] Eighth_Doctor: https://www.omgubuntu.co.uk/2019/07/devs-want-to-drop-snap-support-from-gnome-software [12:51] ah that site [12:51] Eighth_Doctor: frain bart [12:51] oh god [12:51] Eighth_Doctor: don't read the comments [12:51] Eighth_Doctor: just, don't [12:52] zyga did and he is lost to us now [12:53] Chipaca: zyga: mvo and me have a different meeting that clashes with the standup today [12:53] holidays for everybody \o/ [12:54] Chipaca: damn it, I hate people now [12:54] * Chipaca hugs Eighth_Doctor [12:54] pedronis: ack [12:56] Eighth_Doctor: when did we promise sandboxing support, btw? [12:56] kenvandine, can you ask Robert to reply to that thread? ^ [12:57] Chipaca: from the beginning, I think? though it hasn't worked in Fedora until very recently [12:57] though non-Ubuntu snap sandboxing is much more rudimentary than Ubuntu snap sandboxing [13:01] Chipaca: are you coming? [13:01] willcooke: Will do [13:05] zyga: nah, i'm good [13:05] :-p [13:21] hey zyga :) [13:28] Chipaca, hey, about the snap pack option, what is that? [13:30] * zyga quick lunch [13:31] cachio: which is the test in question? [13:31] Chipaca, failover [13:32] cachio: tests/main/failover, or tests/core18/snapd-failover? [13:32] Chipaca, tests/main/failover [13:33] cachio: so, to see if it fixes the issue, we'd change the 'snap pack' to a mksquashfs [13:33] Chipaca, ah, ok [13:33] cachio: if it does, we can then look into a low-mem 'snap pack' [13:33] I'll try it [13:33] thanks [13:33] cachio: you know all the mksquashfs flags needed? [13:33] Chipaca, no [13:34] 1 sec :) [13:34] cachio: it's packing core, yes? [13:39] yes [13:41] Chipaca, ~ [13:41] cachio: give me a bit [13:42] Chipaca, sure [13:44] Chipaca: we repackage core in tests [13:44] Chipaca: in prepare [13:44] Chipaca: just don't pass -comp xz [13:46] zyga: exactly [13:48] cachio: /snap/core/current/usr/bin/mksquashfs "$BUILD_DIR/unpack" "./core_.snap" -noappend -comp gzip -no-fragments -no-progress [13:48] Chipaca, perfect, thank you very much [13:49] cachio: I *think* the "./core_<...>.snap" is just "failing.snap" (and you skip the mv) [13:49] Chipaca, yes [13:50] cachio: following zyga's lead, note you could also instead load lib/snaps.sh and use mksnap_fast [13:52] Chipaca, nice, I'll try that also [13:52] and see which works better [13:52] also I need to velidate that on the boards because there we have just 1 gb of RAM [14:53] re, back from calls [15:12] * cachio afk [15:25] hey zyga are there any more mountinfo-tool PR's you need me to look at? or is the MS_SHARED PR ready to use those changes? [15:25] ijohnson: no, that's all [15:26] zyga: ack I'm just gonna focus on the snapctl netplan-apply stuff today then [15:26] ijohnson: ack, thank you [15:54] Eighth_Doctor: hey, sorry I am in meetings but I was unware of what was happening I will figure out what happend === pstolowski is now known as pstolowski|afk [16:35] jdstrand: the tools update from yesterday is now in prod \o/ [16:55] mvo: thanks [17:48] roadmr: thanks! :) [17:48] roadmr: that was fast :) [18:01] re [18:01] * zyga goes to debug leaky test [18:13] sergiusens: I get ""snapcraft-josm:/var/cache/snapcraft/snaps" is already mounted" when running snapcraft pull - how can I fix this? any suggestions? I tried to stop the multipass machine but that was not enough [18:18] mvo might need to Snapcraft clean first but would appreciate if the state before that is discussed with Saviq or ChrisTownsend [19:45] zyga, hey [21:01] cachio: hey [21:06] zyga, quick question [21:06] yeah? [21:07] running the test base-migration [21:07] I run test-snapd-core-migration.sh -c "cat /usr/lib/os-release" [21:07] and it is not creating the file /run/snapd/ns/snap.test-snapd-core-migration.info [21:07] on ubuntu core on rpi [21:08] is the version of snapd in sync with the test? [21:08] cachio: the .info file is created unconditionally [21:08] cachio: so I suspect it's just old snapd/core [21:08] cachio: running against "new" tests [21:08] core from beta [21:08] this fails running beta validation [21:08] I don't know if this is recent enough [21:09] 2.40 [21:09] all I'm saying is that it indicates snap-confine is just older than the test [21:09] zyga, ah [21:09] weird because I use the beta branch [21:10] for the test [21:10] 77e3ff647bd40764a0ab366cb0b4cfdc8157ff3f [21:10] this is the merge commit for the feature [21:10] if you can check that it is present in the build you can know [21:11] you can also look for this debug message visible when SNAP_CONFINE_DEBUG=yes is set: [21:11] debug("saved mount namespace meta-data to %s", info_path) [21:12] zyga, https://paste.ubuntu.com/p/hQkM4cvXBm/ [21:13] yeah, this looks good [21:13] zyga, ok, I'll check if the variable is set [21:13] you can run "strings" on snap-confine to check [21:15] how could I run it ? [21:19] cachio: re [21:19] cachio: just "strings" [21:19] it's a command name [21:19] just run it on the snap-confine binary [21:19] if it shows something similar to the debug message I pasted then that binary has that patch [21:20] if it doesn't it is not the right snap-confine [21:20] maybe the build system is stuck? [21:21] test@localhost:~$ /usr/lib/snapd/snap-confine strings [21:21] Usage: snap-confine [21:21] executable name was not provided [21:21] cachio: the binary is strings [21:21] strings /path/to/snap-confine [21:21] ahh [21:21] don't run strings through snap-confine :) [21:23] external:ubuntu-core-16-arm-32 .../tests/main/base-migration# sudo /snap/core/7345/usr/share/bash-completion/completions/strings /usr/lib/snapd/snap-confine [21:23] sudo: /snap/core/7345/usr/share/bash-completion/completions/strings: command not found [21:23] cachio: copy the binary to another system? [21:23] ok [21:26] zyga, no output running in my machine [21:27] I copied both binaries [21:27] cachio: what do you mean no output? nothing at all? [21:27] cachio: both? [21:27] nothing [21:27] zyga, yes both [21:27] cachio: that's unexpected, there are surely other strings there [21:27] do you mean that nothing when piped through grep? [21:27] or entirely nothing? [21:27] nothing nothing :) [21:28] cachio: is the file empty? [21:28] you can look at the snap-confine binary yourself to assure yourself that it is full of text [21:28] so something must be fishy [21:28] https://paste.ubuntu.com/p/pcJQDyWwQp/ [21:28] zyga@yantra:~/snapd> strings /usr/lib/snapd/snap-confine | wc -l [21:28] 1100 [21:29] how did you copy strings? [21:29] or actually [21:29] scratch that [21:29] scp [21:30] can you not copy strings but actually just snap-confine from the device under test [21:30] and then run strings on your system against that binary [21:30] look at what I pasted above ^ [21:30] it has over a thousand strings recognized [21:30] so either your binary is empty [21:30] using the strings comman on my machine [21:31] or you didn't run the same strings command I did [21:31] and the snap-confine from the rpi3 [21:31] I get 1240 [21:31] ah, so it's not nothing? [21:31] so what changed, I'm confused [21:31] I used the strings command on my machine [21:31] but that's what you did before, no? [21:31] aynway [21:31] can you grep for that debug message please? [21:32] sure [21:33] sergio@cachiomachine:~/workspace/validator/images$ strings ./snap-confine | grep SNAP_CONFINE_DEBUG [21:33] SNAP_CONFINE_DEBUG [21:33] don't grep for SNAP_COFNINE_DEBUG [21:33] grep for the debug message that was added the merge patch [21:34] debug("saved mount namespace meta-data to %s", info_path) [21:34] zyga, that one does not appear [21:34] in that case the build is out of sync with the tests [21:35] zyga, ok, that explains everything [21:35] I'll talk to mvo tomorrow about that [21:35] zyga, thanks for the support [21:36] happy to help, good luck! [21:50] zyga, the weird part is that it works well on pc-amd64 and pc-i386 [21:50] is that debug message present there? [21:50] not sure yet [21:50] I am creating the image agin [21:50] again [22:12] zyga, I think the problem is that the test was merged into release/2.40 after the beta core was created and before the tests were executed [22:13] zyga, I'll continue tomorrow with that one [22:13] see you [22:24] ackk: fyi, https://people.canonical.com/~jamie/snapd-daemon-user/