=== sitter_ is now known as sitter [06:12] morning [06:25] hey mborzecki - good morning [06:27] i see that 2.37 is out :) time to update arch packages [06:28] mborzecki: yeah, I need someone approve the SRU uploads still but otherwise most things are in place now [06:43] Hi [06:51] hey zyga [07:00] Hey, all good [07:00] Details later today :-) [08:06] PR snapcraft#2441 opened: legacy/meta: make hooks executable instead of complaining they're not [08:09] pushed an update to arch, seems to work fine locally === pstolowski|afk is now known as pstolowski [08:23] hey [08:30] pstolowski: hey [08:33] hey pstolowski [08:45] hey pawel [08:45] mborzecki: thank you :) [08:45] I will push suse updates after returning [08:45] I want to test them locally [08:58] PR snapcraft#2442 opened: cli: enable cleaning of parts [09:07] turns out that plug name sorting spread error was a regression after all [09:09] and we're missing a unit test for /v2/interfaces (legacy connections) that checks whether returned data is sorted [09:10] snap interfaces makes doesn't do anything about sorting of plugs/slots and conencted endpoint, so i guess it's implied that the data is sorted already [09:20] mborzecki: was it a regression after yesterday's PR? [09:32] need 2nd review for simple https://github.com/snapcore/snapd/pull/6379 [09:32] PR #6379: ifacestate/tests: extra test for hotplug-connect handler [09:34] huh, I don't understand #6388 [09:34] PR #6388: tests: fix install-snaps test by changing the snap info regex [09:35] pstolowski: no, it's a regression in my connections endpoint PR [09:35] for two reasons: that install test should fail all the time now because of #6339 [09:35] PR #6339: cmd/snap: only auto-enable unicode to a tty [09:35] but at the same time --unicode=never should not make a difference, for the same reason [09:36] so somehting's off [09:36] mborzecki: ack. the client should be fixed to sort imho [09:36] Chipaca: there shuld be a git revision in the build log that cachio linked [09:36] s/shuld/should/ [09:38] Chipaca: heh, can't find one :/ [09:38] mborzecki: issue is on master as well [09:39] mborzecki: I suspect there's a sneaky en dash that isn't coming from an escapes struct [09:39] * Chipaca greps [09:41] heh, en dash, wreaking havoc since MS started replacing - with it in their office/outlook suites :P [09:41] actually, no [09:41] that's never an en dash [09:41] what [09:41] ah [09:41] * Chipaca stops, steps back, and hits the coffee [09:42] That's always my solution as well [09:42] mborzecki: I was so indignant at people using 1252 instead of latin 1 [09:44] Chipaca: 1250 here :P [09:47] mborzecki: I guess you had the same thing going with latin 2? [09:47] Chipaca: yup [09:47] although probably not as bad, given what html 5 does [09:58] Chipaca: haha, https://github.com/snapcore/snapd/pull/6388#discussion_r248595404 so the font rendering i get in FF makes - and en dash virtually indistinguishable [09:58] PR #6388: tests: fix install-snaps test by changing the snap info regex [09:59] mborzecki: https://github.com/snapcore/snapd/blob/master/cmd/snap/main.go#L500 [09:59] Chipaca: at 250% zoom it's slightly longer and slimmer than - [10:01] PR snapd#6392 opened: interfaces: helpers for sorting plug/slot/connection refs [10:02] trivial one ^^ [10:05] mborzecki: connRef already has sorting tests? [10:05] Chipaca: yes [10:06] just above the first hunk in sorting_test.go [10:08] i'm suprised how the test suite is mostly non-flaky recently [10:13] mborzecki: don't jinx it [10:55] PR snapd#6392 closed: interfaces: helpers for sorting plug/slot/connection refs [11:06] prepare of google:arch-linux-64:tests/{main,regression,completion,smoke}/ suites failed, with an awkward error [11:33] pedronis`: https://bugs.launchpad.net/snapd/+bug/1768419 [11:33] Bug #1768419: Pass through snapd client User-Agent to store requests snapd [11:39] kenvandine: ? [11:50] Chipaca: we were just discussing that and i was sending pedronis` the link [11:50] fwiw we do now have context in more places, but it'd still be a bunch of work to get it everywhere [11:51] (context is needed to do what that says) [11:51] Chipaca: could you comment on that bug with any concerns? [11:51] we are trying to make sure the store team is on board as well [11:51] kenvandine: is "it's work" a concern? :-) [11:51] a little [11:52] it's something we really want [11:52] not just us but advocacy [11:52] degville: Do you have any docs (draft or otherwise) that explain the key signing of snaps? [11:53] I have an ISV asking after details for a security review. [11:55] Chipaca: pushing that user-agent info through all the layers without context sounds nightmarish [11:55] mborzecki: "a lot of work" [11:56] Chipaca: and when complete, it'd probably be nothing to be proud of :) [11:56] mborzecki: eh, dunno about that [11:57] mborzecki: it is the kind of thing that would make a refactor of daemon more urgent though [11:57] Wimpress: no, sorry - not specifically. The closest is likely the Ubuntu Core image building doc: https://docs.ubuntu.com/core/en/guides/build-device/image-building. [11:57] anyway, commented there [11:58] degville: Wimpress: wasn't there a whitepaper? [11:58] degville: I suspected ;-) Thanks for looking. I'll prepare a reply. [11:59] I have the whitepaper, very old now. Orientated toward Ubuntu Core rather than just snaps. [11:59] Wimpress: we can create one - happy to prioritise it - especially if there's a Whitepaper. [12:02] degville: Please do add creating snap signing/integrity checking to your TODO list :-) [12:02] Wimpress: will do - thanks. This seems important. [12:03] I'll prepare a reply and let the ISV know this is something we're working on. [12:16] PR snapd#6393 opened: packaging: import debian salsa packaging work [12:27] hey, I'm trying to install Core on my RPi3 - I used the edge image - it has stuck at the account email setup with "x509: certificate expiired or not yet valid". Appears networking set up ok, I can ping and attempt ssh connection. Any idea what's wrong? [12:28] * Chipaca ⇝ lunch [12:31] greyback: time and date wrong? [12:31] popey: how can I check that? [12:31] this is during Core first setup [12:32] * greyback plugs out and in again, in case it helps [12:35] nope [12:35] I don't know, but that's where cert errors often come from [12:35] also if you're behind a proxy [12:35] are you in capetown? Is the IS transparent proxy in the way and doing something silly? [12:36] no, but I'm in a new office [12:36] ogra: how do i install hcitool in ubuntu core? core16 doesn't have it === ricab is now known as ricab|lunch [12:38] ppisati: bluez snap [12:38] greyback: does it have a captive portal? [12:38] popey: no, and no sign of a proxy. [12:38] cwayne: yeah. i found it [12:39] greyback: does it work in a vm? on your laptop? [12:39] popey: worth a shot [12:39] Otherwise I'm a bit out of ideas, sorry. [12:39] But it all smells of crappy network doing stuff if your certificates are wonky [12:39] (also, does a core16 image work?) [12:40] popey: thanks for the help. I've mostly carted around VMs, so this is the first time I've done the core initial setup in a while [12:40] I'll see what I can figure out [12:42] * pstolowski lunch [12:49] PR snapcraft#2443 opened: schema: allow before and after [12:54] mvo: hey [12:54] mwhudson: thank you! [12:54] mvo: I wasn't aware (or I missed because steve told me) that mwhudson is going to be back today [12:55] mwhudson: we're working on the 2.37 debian release [12:55] mwhudson: I think it's safe to say that we will sync with you next week, this week we're okay and it's best that we just take the responsibility of landing this release out there, we can definitely upload more changes later if needed [12:56] mwhudson: we also discussed ideas on how to improve the situation in both snapd upstream (how to test it so that we detect this early) and in debian (improvements to salsa packaging, packaging missing things, updating packages for stale things) [12:56] mvo: mwhudson ran tests on debian kernel and they did not fail so I suspect some interaction between unit tests and ubuntu kernel running in debian userspace chroot [12:59] off to pick up the kids from school [13:32] ppisati, it comes with the bluez snap [13:37] ogra: yep, found it [13:39] ppisati, btw, the forum indicates that more and more people use your sample-kernel trees from GH ... are they still kept up to date ? [13:39] (/me saw three users alone in the last ten days) [13:40] (different ones) [13:41] zyga: aha, cool [13:42] mwhudson: https://github.com/snapcore/snapd/pull/6393 <- might be interessting for you (cc zyga) [13:42] PR #6393: packaging: import debian salsa packaging work [13:42] mvo: I'll gladly look next week unless you believe there is some value to cherry pick as debian/patches [13:48] zyga: if you package works, no need to cherry pick anything [13:48] zyga: if the package does not work there might be fixes worth getting there [13:49] ogra: they never meant to be updated, they are just there as an example how to make your kernel work with ubuntu core [13:49] hmm, k, people seem to actually use them [13:59] getting tea, bbiab === ricab|lunch is now known as ricab [14:30] ogra: what's the best strategy to build a snapdragon ubuntu core image that uses a kernel snap with a custom dtb? [14:32] ppisati, build a normal image, put dtb into system-boot partition next to the default one, stop boot at u-boot prompt and point to the new dtb with the fdt_file var (or however that was called on db) [14:33] if you actually want to build from scratch and your dtb has a special name, you need to build a modified gadget with changed uboot.env.in with the same change as above [14:34] easiest is indeed just building a default image and simply ship your dtb in your kernewl snap as a replacement of the default file ... (same filename) then you dont need to touch anything [14:35] ogra: ok so, my kernel snap contains the custom dtb and it has the same name, does it replace the one from the gadget snap? [14:35] Chipaca: looking at the overlord loop, looks like we could detect when the time jumps by some reasonable amount (eg. some mulitple of ensure intervals?) and skip one call to ensure [14:35] there is none in the gadget snap on db [14:35] *the same name as the one normally used to boot the board [14:35] it is used from the kernel snap [14:35] ogra: oh cool [14:35] so as long as you keep the same name it will just be used [14:36] even if you manually install your kernel snap on an image [14:36] ogra: k, thanks [14:39] Chipaca: anyways, we'll know more once we have some feedback from popey [14:44] mborzecki: time changed between 1.6 and 1.11 (was it 1.7?) and started including two times per time [14:44] mborzecki: we'd have to test both :-) [14:44] but, yes [14:46] mborzecki: that is, 1.6 didn't have monotonic timers [14:46] Chipaca: we're switching to 1.9 though? :P [14:46] mborzecki: so if the machine suspends for an hour half an hour before a dst change, ¯\_(ツ)_/¯ [14:46] mborzecki: aye [14:47] Chipaca: i mean we can try and reduce the changes of this happening, but that's probably it [14:49] Chipaca: papercut: search for test that uses "snapname" and revision 42 [14:49] it's not mocking and ends up writing to ~/snap/ [14:49] zyga: ouch [14:49] zyga: spread, or unit? [14:49] :) [14:49] unit [14:50] maybe sudo mkdir snap/snapname [14:50] and chmod 000 [14:50] to catch it [14:50] is there still a download for ubuntu core? [14:51] Croepha: https://www.ubuntu.com/download/iot [14:51] mvo: about cmd/snap-seccomp, question about build-deps [14:51] do I recall correctly that needs some i386 headers? [14:51] zyga: thanks :) [14:51] if so, how is that expressed? [14:52] https://www.irccloud.com/pastebin/lvJKcDgF/ [14:52] zyga: I don't remember, maybe thats it [14:53] I wonder how that looks like because nothing in debian/control looks appropriate [14:54] zyga: instead of making me hunt, if you already know the test can you tell me? if you don't then i can hunt no problem [14:54] there are a lot of tests in snap-exec that use snapname at rev 42 [14:54] also snapenv [14:55] Chipaca: I don't know the test [14:55] just noticed when I ran go test ./... [14:55] uh [14:55] ok [14:55] not urgent :) [14:55] ok [14:55] dreaded 42 :) [14:56] mborzecki: https://github.com/davecheney/junk/blob/master/clock/clock_linux.go fwiw [15:15] shall we land #6388? [15:15] PR #6388: tests: fix install-snaps test by changing the snap info regex [15:25] mborzecki: +1 [15:26] PR snapd#6388 closed: tests: fix install-snaps test by changing the snap info regex [15:38] Chipaca hi :) does snapd 2.37 currently in beta have full support for epochs? [15:38] roadmr: define "full support" [15:39] roadmr: #6356 isn't on master yet, so 2.37 doesn't have it, so I don't consider epochs "done" [15:39] Chipaca: hm I guess not refreshing to a revision of the snap that isn't epoch-compatible with the one I have [15:39] PR #6356: overlord/snapstate: during refresh, re-refresh on epoch bump [15:39] Chipaca: ah - yes, that was sort of it, I didn't check/track the actual PR. I'll keep an eye on that one then :) thanks! [15:40] roadmr: the "don't refresh if not epoch-compatible" work is in 2.37 yes [15:40] Chipaca: (and indeed it was to mention something about epochs in our weekly report - but I'll just leave it at "RSN!") [15:40] Chipaca: ah, so #6356 is the "eager refresh" thingy? [15:40] PR #6356: overlord/snapstate: during refresh, re-refresh on epoch bump [15:41] roadmr: yes [15:41] great! thanks Chipaca [16:11] * cachio lunch [16:57] PR snapd#6394 opened: tests: iterate getting journal logs to support delay on boards [17:01] PR snapd#6395 opened: cmd/snap: use a fake user for 'run' tests [17:01] zyga: ^ [17:02] mvo, 2.37 is in candidate [17:02] cachio: yay [17:03] cachio: thank you! [17:04] mvo, :) [17:09] Chipaca: thank you! [17:12] mvo, yesterday I saw a mount error again [17:12] forgot to mention :( [17:16] I think it was on 2.37 [17:16] on ubuntu-core-18 [17:40] * zyga EODs [17:42] zyga, is it needed the change I did time ago on upgrade backend? [17:42] cachio: I don't know what you mean, sorry [17:42] I'm too tired today [17:42] long day [17:42] 7:30 -> 19:30 [17:42] zyga, ahh, ok [17:42] let's talk tomorrow [17:42] +1 [17:43] thanks [17:59] cachio: oh? if you see the mount error again, please give me an url, that is really sad if the bug is not actually fixed === pstolowski is now known as pstolowski|afk [18:07] PR snapd#6393 closed: packaging: import debian salsa packaging work [18:07] PR snapd#6396 opened: packaging: import debian salsa packaging work [19:01] mwhudson: hey, for tomorrow, just to let you know, we are working on the package with mvo [19:01] mwhudson: my fork of salsa is at https://salsa.debian.org/zyga-guest/snapd/commits/debian [19:36] https://openfaas.bowlhat.net/function/awesomify?q=snap+craft [19:46] popey: did you poke anyone to add CentOS/RHEL 7 instructions for installing and using snaps? [19:46] I didn't do all that work to make it available in EPEL for nothing, did I? :P [19:46] haha! [19:46] I did poke, I need to re-poke [19:47] will do so tomorrow morning [19:47] Thanks for the nudge [19:47] indeed! [21:02] zyga: great [21:02] zyga: didn't you get your dd hat yet? [21:29] * cachio afk [23:50] PR snapd#6397 opened: tests: Use backend: [autopkgtest] for smoke test suite