[00:00] Chipaca: I have to reimage the Pi, and then I can try to relogin with the new key's. I appreciate your help, and especially not leaving me hanging. [00:03] newbsie: how long does reimaging take? [00:04] ok [00:04] I think I'm done for tonight [00:06] Just done, the big moment [00:06] Chipaca: can you look at https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-zesty-snappy-dev-image/zesty/amd64/s/snapd/20170511_000322_edb35@/log.gz [00:06] ... Panic: sync: unlock of unlocked mutex (PC=0x45BDAC) [00:07] this looks rather bad [00:07] zyga [00:07] zyga: sorry, what is known_hosts? [00:07] yes? [00:07] newbsie: it's a file where ssh remembers the hosts it saw and their keys [00:08] zyga: that one's for pedronis :-) [00:08] Chipaca: also here https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-snappy-dev-image/xenial/i386/s/snapd/20170511_000455_63ba2@/log.gz [00:08] I'm now getting "Host key verification failed" [00:08] Yes, yes, yes! [00:09] newbsie: becausethey ip you are sshing had changed identity [00:09] newbsie: you reimaged, so the host key changed [00:09] It's working now. [00:09] newbsie: wooo [00:09] That only took a day, but the more you put in, the more you feel like you accomplished, although I stood on the shoulder of zyga and Chipaca. XD [00:10] *that's* why i'm so sore! [00:10] we ran out of machines [00:10] newbsie: let's make it suck less. Looking forward to the forum post. [00:10] Chipaca: I'm not that heavy. Although I do like burgers, steak and fatty food in general. [00:10] zyga: la la la can't hear you i'm already asleep [00:11] Chipaca: yes, good idea [00:11] * zyga afk [00:26] zyga: I'm going to log off too, but I really appreciate your help earlier. Will definitely make that post on the snapcraft forum. === chihchun_afk is now known as chihchun [05:45] PR snapcraft#1309 opened: meta: read and write the desktop file with utf-8 encoding [05:51] PR snapcraft#1310 opened: tests: use C.UTF-8 for the docker locale [06:27] PR snapd#3293 closed: spread.yaml: increase linode workers by 50% [06:28] PR snapd#2869 closed: interfaces/builtin: add online-accounts-service interface [07:04] zyga: ping [07:05] zyga: is https://paste.ubuntu.com/24553247/ expected? [07:05] that is with 2.25 on suse [07:14] morning [07:14] good morning mvo :) wrt 2.25 SRU and bug #1689332 if we don't promote the ubuntu-core snap shipping 2.25 (2109 for amd64, currently in beta) we are good to go right? [07:14] Bug #1689332: internal error with any command using ubuntu-core snap on classic [07:14] hey pstolowski [07:14] fgimenez: good morning. yes, I think so, we just freeze ubuntu-core from now [07:15] PR snapd#2941 closed: interfaces/builtin: add network-status interface [07:16] mvo: ok, shall i put a comment in the sru bug and mark it as verification-done? we only found this issue [07:16] fgimenez: yes, please do, I will revert beta ubuntu-core to stable so this issue will be gone [07:17] mvo: ok thanks! [07:17] fgimenez: hm, actually it won't be gone :/ we need to land 3289 first [07:19] mvo: do you know if the message shown with https://paste.ubuntu.com/24553247/ is expected with 2.25? this is on suse so with forced-devmode [07:19] mvo: aha ok, this won't be added to the current 2.25, will it? i mean, do we need to wait until 2.26? [07:21] PR snapd#3296 opened: image: fix go vet issue [07:21] morphis: that is something for zyga - but I got feedback on the sprint about this as well, quite a few people see this or a variation of it. iirc we added the message as a measure of debugging this, we always had this issue but silently ignored it. [07:21] fgimenez: correct, for 2.25 we can do little without quite a bit of extra effort (doing a point release, re-doing the verifications) [07:22] mvo: ack thanks [07:22] morphis: the message also looks slightly odd, lets wait for zyga [07:23] 3289 needs a second review fwiw, but I guess its a bit early still [07:43] mvo: still about 2.25, pls correct me if i'm wrong but even if snapd#3289 hasn't landed, if the current ubuntu-core stable is available in all the channels then if snapd still allows installing it it wouldn't break anything? sorry maybe i'm missing something [07:43] PR snapd#3289: daemon: do not allow to install ubuntu-core anymore [07:48] morphis: known issue, thank you for reminding me [07:49] pstolowski: hey, just a reminder, you didn't add the pre-attribute definers to the test [07:49] pstolowski: I added them already but I thought you would in your attribute branch [07:49] zyga: actually feels bad to have that, something we can easily fix for 2.25? [07:49] morphis: yes [07:49] morphis: the patch will remove two lines [07:50] I will be back shortly, I worked too late last night [07:51] fgimenez: lets try :) [07:51] zyga: if you have a fix in mind, would be great to get it for 2.26 [07:51] zyga: please ping when you are back so that we can talk details [07:52] zyga: just one last quick question: why do we have all the %dir /var/lib/snapd/.. lines in the spec file for snapd on suse? Isn't it enough to one for /var/lib/snapd and snapd will take care to create all sub dirs when necessary? [07:56] fgimenez: you are right, things work fine with ubuntu-core from stable it seems [07:59] fgimenez: so no blocker, all good. thanks for this info! [07:59] zyga, sorry about that, it didn't occur to me [08:00] mvo: np thank you! i've double checked that installing 1797 (current stable) from edge works fine too [08:02] morning all [08:02] re [08:02] hey Chipaca, good morning [08:03] mvo: http://paste.ubuntu.com/24553441/ i'll put a comment on the sru bug about this and mark it as verification-done, is that ok? [08:03] hey Chipaca [08:03] pstolowski: I made a remark in your PR before it was merged, no worries now but we need to be careful, tests will not always show us that stale code is in place [08:03] Chipaca: maybe interessting for you - shellcheck in zesty gives me the following output http://paste.ubuntu.com/24553330/ [08:03] mvo: yes, I'll prepare one shortly [08:03] fgimenez: yes [08:04] oooohhh [08:04] oooooooooohhhh [08:04] oh [08:04] sigh [08:04] read *with* -r misbehaves on 14.04 [08:04] zyga: great, please push it to the top of the todo, its the last blocker for the release (well, not blocker but really nice to have) [08:04] Chipaca: meh, then we can just turn this warning off :) [08:04] or was that only when combined with a timeout [08:04] mvo: no, this might be the reason for a bug we've got :-) [08:04] Chipaca: ohhhh [08:05] Chipaca: interessting [08:05] that's what I said :-) [08:05] lol [08:05] * mvo hugs Chipaca [08:05] * Chipaca hugs mvo right back [08:05] zyga: and very excited that you have a fix almost ready, great news :) [08:05] if my memory serves (for once), it only misbehaves when combined with a timeout [08:05] and we don't do that, so this should be good [08:05] I'll give it a try [08:05] mvo: thanks! [08:06] mvo: wrt the last two warnings, I'll add a disably thing [08:06] pstolowski: wooooh, 3119 landed! great job [08:07] Chipaca: thank you [08:07] mvo, yeah :} [08:07] pedronis: and good news for you as well, the new number of machines increased and a PR takes currently 30min for a full test run [08:07] (down from ~48min) [08:08] mvo: doing that now [08:11] mvo: https://github.com/snapcore/snapd/pull/3297 [08:11] PR snapd#3297: overlord/ifacestate: don't spam logs with harmless auto-connect messages [08:11] Son_Goku: did you test if the removal of the snapd package on fedora removes everything from /var/lib/snapd? [08:11] PR snapd#3297 opened: overlord/ifacestate: don't spam logs with harmless auto-connect messages [08:11] PR snapd#3298 opened: interfaces/builtin: ensure we don't register interfaces twice [08:11] mvo: I might be wrong, but I blocked snapd#3290 [08:11] PR snapd#3290: add support for `snap install foo --channel=3.4` [08:12] mvo: just 'cause i'm ornery [08:12] Chipaca: meh, branches [08:12] mvo: can you consider https://github.com/snapcore/snapd/pull/3282 as well? [08:12] PR snapd#3282: hooks: default timeout [08:13] mvo: basically missing a “and !strings.ContainsWotsit(mx.Channel, '/')” [08:13] Chipaca: I have a look after 2.26, maybe its not so un-ambigious as the doc made me believe [08:13] Chipaca: aha, ok [08:13] pedronis: did you see those panics? (are you awake? :-) ) [08:13] pedronis: did you see [08:13] PANIC: snapstate_test.go:4416: snapmgrTestSuite.TestEnsureRefreshesAlreadyRanInThisInterval [08:14] Chipaca: yeah, that is making sense [08:14] ... Panic: sync: unlock of unlocked mutex (PC=0x809A45A) [08:14] zyga: HAH! beat you to it [08:14] mvo: ^^ (I'd also recommend to hold the release until we know what that is) [08:14] zyga, Chipaca: where are those? === arubislander1 is now known as arubislander [08:14] mvo: in tests, randomly, very often [08:14] mvo: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-snappy-dev-image/xenial/i386/s/snapd/20170511_000455_63ba2@/log.gz === arubislander is now known as Guest22573 [08:14] for instance here: https://github.com/snapcore/snapd/pull/3051 [08:14] PR snapd#3051: interfaces: add consoles interface [08:15] Chipaca: did you talk to pedronis already? [08:15] ah [08:15] I see :D [08:15] :) [08:15] * zyga is not awake yet [08:15] * Chipaca offers some really nice coffee [08:16] Chipaca: yes, I should get some [08:16] Chipaca: after working late I could not sleep [08:16] zyga: happens [08:16] Chipaca: so I went on reading, then my son woke up because he wasn't feeling well [08:16] Chipaca: so more stuff at 3AM [08:16] * zyga is in Z state today [08:17] (but as we saw with the ubuntu release name, after Z, there A) [08:17] mvo: wrt the channel, i think it's unambiguous wrt lack of / [08:17] Chipaca: cool [08:23] zyga, hey, where can I find a list of what should be enabled in the kernel for UC? [08:23] mvo: sorry for spamming here but: [08:23] /usr/lib/go-1.6/src/runtime/panic.go:443 [08:23] in gopanic [08:23] /usr/lib/go-1.6/src/math/rand/rand.go:64 [08:23] in Rand.Int63n [08:23] /usr/lib/go-1.6/src/math/rand/rand.go:203 [08:24] in Int63n [08:24] /tmp/autopkgtest.odhoEa/build.iw1/snapd/_build/src/github.com/snapcore/snapd/timeutil/schedule.go:106 [08:24] in randDur [08:24] mvo: does that say that Rand.Int63n panics? [08:24] abeato_: no idea [08:24] abeato_: sorry :/ [08:24] abeato_: I don't think anyone maintains a list [08:24] abeato_: we only have "clues" [08:24] zyga, nw, the thing is that I remember having seen some sort of "bits" files that gave some clues [08:25] zyga: DEBUG: host arch (kernel) is '1073741864' [08:25] Chipaca: yes? [08:25] Chipaca: that's seccomp's way of describing architectures [08:25] zyga: is that a pointer getting printed as a string? [08:25] (yuck but expected) [08:26] no, that's an opaque thing [08:26] yuck [08:26] yep [08:26] Chipaca: I think there are some flags inside there too [08:26] anyway [08:26] Chipaca: any insight into that trace above? [08:27] aha [08:27] if n <= 0 { [08:27] panic("invalid argument to Int63n") [08:27] } [08:27] so rand *can* panic [08:27] mvo: I think this is the bug: [08:27] zyga, of these which should be included? : http://paste.ubuntu.com/24553511/ [08:27] func randDur(dur time.Duration) time.Duration { [08:27] return time.Duration(rand.Int63n(int64(dur))) [08:27] } [08:27] mvo: you convert this to int64 which is signed [08:27] abeato_: I really don't know [08:27] zyga: the panics very much say it's about locking something twice [08:28] Chipaca: locking is another issue (perhaps) [08:28] zyga, ok ok :) [08:28] Chipaca: but this is IMO wrong too [08:28] ah [08:28] sorry [08:28] where's that coffee i talked about [08:30] mvo: and then this: [08:30] when := a.Sub(now) + randDur(b.Add(-5*time.Minute).Sub(a)) [08:30] here we can call randDur with a negative duration [08:30] when this happens we panic [08:30] * zyga -> coffee [08:31] looks like that needs to be b-a-5m only if b-a>5m [08:32] Son_Goku: ok, remoable doesn't really work for me with your snapd package in testing [08:32] mvo: zyga: i'll fix this :) [08:32] thank you! [08:33] * zyga thinks that with snapd architecture growing we could consider some better error resilience, [08:33] like not crashing the whole damn thing at once [08:40] mvo: btw. I saw there is a name change in the vendor release tarball for snapd, 2.24 has vendor.orig.tar.xz and 2.25 has vendor.tar.xz [08:40] mvo: is that intentional? [08:42] morphis: sort of, I have a script now (finally) that is doing all this, so pick a name that you like best and from that point on it will be always the same [08:42] zyga, Chipaca: thank you [08:43] a second review for 3297 would be great [08:43] * zyga looks [08:43] aww, drat [08:43] I cannot review my code [08:43] pstolowski: ^^ [08:44] mvo: something you suggested https://github.com/snapcore/snapd/pull/3298/files [08:44] PR snapd#3298: interfaces/builtin: ensure we don't register interfaces twice [08:47] mvo: great, I am fine with both names, just wondered that is has changed with 2.25 [08:51] zyga: thank you! [08:51] morphis: ok, I will leave the 2.25 name then [08:52] rharper, a safe bet is snap_core or snap_kernel from /proc/cmdline [08:52] morphis, zyga I think you have seen this before: http://paste.ubuntu.com/24553598/ . Was there a kernel patch for this? [08:55] abeato_: possible [08:55] it appeass here: https://bugs.launchpad.net/apparmor/+bug/1656121 [08:55] Bug #1656121: unexpected errno=13 and disconnected path when trying to open /proc/1/ns/mnt from a unshared mount namespace [08:55] [08:55] PR snapd#3297 closed: overlord/ifacestate: don't spam logs with harmless auto-connect messages [08:56] abeato_: so we added support for /proc/*/ns/mnt with the single patch we imported into the 3.4 kernel, I fear we need a bit more than that [08:57] morphis, hmm, I see [08:58] PR snapd#3299 opened: timeutil: avoid panicing when the window is very small [08:58] zyga: mvo: ^ [08:59] mvo: what're you up to? [08:59] mvo: (want me to fix snapd/#3290 for you?) [08:59] snapd/3290 [08:59] snapd/#3290 [08:59] mup: OI! [08:59] Chipaca: Unknown commands are unknown. [08:59] snapd#3290 [08:59] PR snapd#3290: add support for `snap install foo --channel=3.4` [08:59] sigh... [08:59] it's going to be a long day [09:00] PR snapd#3296 closed: image: fix go vet issue [09:00] Chipaca: looking! [09:01] Chipaca: yay, thank you! [09:01] abeato_: that probably tells you that /proc/1/ns/mnt does not exist [09:01] abeato_: is this a pre 3.8 kernel? [09:01] Chipaca: we should really practice commit messages [09:01] Chipaca: you cannot return 0 AFAIR [09:02] zyga: why not? [09:02] Chipaca: that function panics on zero too [09:02] which function [09:02] ah, rand.Int64n [09:02] Chipaca: /usr/share/go-1.6/src/math/rand/rand.go on line 64 [09:02] 63n [09:02] * [09:02] yp [09:02] yep [09:02] <= then? [09:02] random of 0 is pretty non random :D [09:03] zyga, it does exist, it is 3.4 + ns patch, but maybe we miss something still [09:03] fo sho [09:03] well, you cannot return 0 :) [09:03] zyga: why can't i return 0? [09:03] abeato_: try stracing [09:03] Chipaca: ahh [09:03] zyga: the rand call is in the function i'm returning from [09:03] Chipaca: sorry, I misread that [09:03] Chipaca: yes, that's ok [09:03] Chipaca: I thought this returns the input to randint, [09:03] zyga: still need to change it to a <= [09:03] but it's not :) [09:04] adding a test [09:05] tested, fixed, pushed [09:05] * zyga looks at http://radio.garden [09:05] Chipaca: thank you! [09:06] Chipaca: ideally we would simply not allow windows smaller than 30min [09:06] Chipaca: ? [09:07] pedronis: look at the logs zyga pasted (with a double mutex lock panic) [09:07] that's refresh.schedule stuff [09:07] pedronis: good morning :-) [09:07] pedronis: sorry, i thought they were all the same things [09:07] ? [09:07] pedronis: but the one that's for you is the mutex double lock one [09:07] let me get the right one for you [09:08] pedronis: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-zesty-snappy-dev-image/zesty/amd64/s/snapd/20170511_000322_edb35@/log.gz === JanC is now known as Guest55043 === JanC_ is now known as JanC [09:08] not lock, unlock [09:08] w/e :-) [09:09] Chipaca: well we have some codes that can hit that [09:09] is anybody else getting a "los glaciares national park" google doodle, or is google being extra creepy with me? [09:09] ? [09:09] Chipaca: no [09:09] Chipaca: on google.co.uk? [09:10] yes [09:10] (also in the chrome startup page) [09:10] Chipaca: check out that radio thing, it's amazing :) [09:11] mvo: so just make the schedule parser return an error? [09:11] zyga, morphis http://paste.ubuntu.com/24553660/ It seems that /proc/1/ns/mnt is not a link, but looking at my local machine it seems it should be... [09:11] abeato_: aha, I know what's going on [09:11] Chipaca: either that or just enlarge it to 30min [09:11] abeato_: you found a bug :) [09:11] Chipaca: but I guess for now this fine [09:11] lol [09:11] abeato_: on older kernels it was not a link [09:11] abeato_: hmm hmm hmm [09:12] Chipaca: we can do a followup [09:12] abeato_: let me wake up and think about this [09:12] abeato_: interesting [09:12] Chipaca: I want 2.26 out :) so followup [09:12] abeato_: but if you can give me a way to run this locally to experimen [09:12] abeato_: I would appreciate that [09:12] abeato_: as a quick work-around do this: [09:12] zyga, hmm... maybe I can give you remote access to the board [09:13] abeato_: comment-out the call to sc_reassociate_with_pid1_mount_ns in snap-confine.c [09:13] abeato_: that's good too [09:13] abeato_: perhaps we can discuss this on a private channel [09:13] Chipaca: what's the question, the test does Unlock, and will not relock under an unexpected panic [09:13] zyga: you have any reference to resources who talk about ns/mnt being changed to a symlink= [09:13] zyga: this really means we're still missing patches [09:13] Chipaca: I mean around Ensure [09:13] morphis: no, it's just changed in a future kernel version [09:14] morphis: it's even documented in namespaces(7) [09:14] pedronis: i guess the question is "can this be fixed so it doesn't fail at random", with a side of "is this a bad test or can this actually happen" [09:15] Chipaca: it's a test trying to not get too fussy [09:15] Chipaca: there is nothing deep going on here [09:15] just read the code [09:21] PR snapd#3300 opened: cmd/snap-confine: don't fail on pre 3.8 kernel [09:23] mvo: should i fix the --channel one for you? [09:24] mvo: or do we bump it [09:24] Chipaca: isn't that fixed, I thought I pushed a fix [09:24] ah maybe i need to refresh [09:25] Chipaca: short story, we should in theory never use lock/unlock pairs without defer, in practice we trade that for readability sometimes under the assumption that what is enclosed shouldn't panic or we are in a test [09:25] mvo: doesn't look fixed [09:25] mvo: only one commit [09:26] ohhhhh [09:27] pedronis: this might actually be the same bug then :-) [09:27] pedronis: i mean, this panic happens because the ensure panics [09:27] and the defer then kicks in and panics again? [09:27] Chipaca: yes [09:27] and the panic is inside rand, called from timeutil/schedule.go [09:27] so it _is_ the same thing :-) [09:28] Chipaca: we lock defer unlock then unlock then panic, the deferred unlock is not pleased [09:28] whee [09:28] pedronis: then it's fixed already :-) (not on master yet but soon) [09:28] pedronis: thank you [09:29] Chipaca: anyway it's a panic on panic as you noticed, and at least with Unlock/Lock it will not deadlock [09:39] Chipaca: hrm, test failure in snap auto mount test, looks like a flaky test, I have a look [09:40] mvo: _did_ you push a fix to 3290? [09:40] mvo: (no you didn't :-) ) [09:40] Chipaca: can you tell me why this failed perhaps? https://travis-ci.org/snapcore/snapd/builds/231080836?utm_source=github_status&utm_medium=notification [09:40] * Chipaca looks [09:41] Chipaca: the non-debug output is short and lacks data, the debug output is enormous and full of store stuff [09:42] zyga: I don't know, but I do know that if that used MATCH instead of grep, we'd know :-) [09:42] now trolling the debug output [09:42] Chipaca: ups, sorry, forgoten push [09:42] mvo: :-) [09:45] zyga: I approved 3300 but it appears like there are still issues [09:45] thank you [09:45] I'm looking at that now [09:45] zyga: aha, I see you are on it already [09:45] zyga: thanks again [09:45] zyga: mvo: wrt snapd#3299, I think it's flaky and restarting the test would be ok for now [09:45] PR snapd#3299: timeutil: avoid panicing when the window is very small [09:45] Chipaca: go for it! [09:45] i also think the test is badly written, and will push a fix [09:45] but that fix can wait for post-2.26 [09:48] Chipaca: thank you - what do you have in mind to improve it (just curious) [09:49] mvo: for now, just switch it to use MATCH [09:49] so we know why it failed :-) [09:49] the debug output looks very wrong, like something else was going on in parallel [09:49] what should be the last thing in the log is way at the top [09:50] (the GET /v2/assertions/account-key) [09:50] Chipaca: heh, very good point [09:51] Chipaca: and agreed, the prepare is also doing much and the output of prepare is completly lost so +1 for improving the test [09:54] Chipaca: also thnaks for the note about the test for the "/" in the shortcut branch, I will add this once 2.26 is out, this branch is not really needed for 2.26 I think [09:54] mvo: Chipaca: fwiw I agree we should have a minimal spread [09:55] for refreshes [09:55] s/minimal/minimum/ [09:55] +1 [10:28] mvo, so did you have a chance to read through https://forum.snapcraft.io/t/allow-disabling-system-services-on-ubuntu-core/531 ? (i dont want to upload http://paste.ubuntu.com/24549394/ withough your approval) [10:28] *without [10:28] mvo: so I think the issue is solved [10:38] ogra_: not yet, I will do 2.26 first and then have a look, I think its probably best to do this change after that [10:39] zyga: oh, nice. [10:39] mvo, ok [10:39] zyga: so no fchdir() - do you still want to fix that? [10:39] zyga: if so, I can wait a little bit longer, if that is the remaining blocker for this kernel [10:42] mvo: not sure yet, I think this may be a bigger issue as I never tested this on a kernel this old [10:42] abeato_: ^ [10:42] abeato_: do you want to cherry pick a fix into your kernel [10:42] abeato_: or would you see this as something that needs to change in snap-confine [10:42] mvo: I need to do a survey of what else is failing on 3.4 hybrid [10:42] zyga: ok [10:44] zyga, if a cherry pick for the kernel fixes it, that is perfectly fne [10:45] abeato_: not sure how large the cherry pick is :)" [10:45] abeato_: who maintains your kernel? [10:45] hehe, yeah, that i typically the issue [10:45] zyga, shrirang I guess [10:47] PR snapd#3299 closed: timeutil: avoid panicking when the window is very small [10:48] abeato_: ok, I'll refrain from changing anything more until you give me a ping [10:48] ok [10:52] * zyga lunch [11:20] pstolowski: snapd#3212 has two +1 but the tests failed/are failing [11:20] PR snapd#3212: api, ifacestate: resolve disconnect early [11:23] ppisati, argh ... http://paste.ubuntu.com/24554186/ [11:28] fgimenez, hmm ... did you revert (or have someone revert) the pi2-kernel in edge ? i released rev30 (same as in beta) yesterday to edge ... [11:28] mvo: is 2.26 tagged now? :) [11:28] but ... [11:28] ogra@pi3:~$ snap info pi2-kernel | grep edge [11:28] latest/edge: 4.4.0-1048-55 (28) 100MB - [11:28] ogra@pi3:~$ [11:28] oh, wow ... the store UI shows rev30 in edge ... [11:29] Chipaca: ^^ [11:29] ah, wait === chihchun is now known as chihchun_afk [11:30] my browser has myapps.d.u.c open ... [11:30] and thats also what i used to release it ... [11:30] might be a bug in the old UI [11:30] zyga: sorry, what? [11:31] dashboard.snapcraft.io shows the samer the board shows on snap info [11:31] Chipaca: discrepancy between snap info and store, I thought you might be interested [11:31] zyga, well, the old UI is broken ... works fine when i release via dashboard.s.io [11:32] we should force-redirect people [11:32] (half my open browser tabs point to old myapps.* urls) [11:32] looks like i don't have store access to pi2-kernel [11:33] ogra_: zyga: I don't know what'd happen if you used myapps to push snaps now [11:33] hopefully nothing disastrous, but I don't know [11:33] Facu: do you? [11:33] zyga: in any case, "discrepancy between snap info and store" makes no sense to my addled brain [11:34] zyga: you mean SCA and CPI are inconsistent? [11:34] * zyga has no idea [11:34] did I mention I didn't sleep long last night [11:35] ogra_: can you pastebin the output of 'snapcraft list-revisions --arch armhf pi2-kernel' ? [11:35] hola Chipaca [11:35] * Facu reads [11:35] ogra_: and the output of 'snap info pi2-kernel' as well [11:35] Chipaca, its a UI issue ... [11:35] writing a forum topic now [11:36] ogra_: brother UI, UI, UI ♫ [11:36] * zyga wants to hand out beer to anyone that wants to review https://github.com/snapcore/snapd/pull/3295/files [11:36] PR snapd#3295: interfaces/builtin: make all interfaces private [11:36] hehe [11:37] zyga: i'm working through that [11:37] * zyga hugs Chipaca and offers to haul some booze to portugal [11:37] zyga: and licorea.es delivers to my house [11:37] :-) [11:37] :D [11:37] * zyga looks [11:37] or was it .com [11:37] zyga: .com [11:37] Chipaca: what do you prefer? [11:38] zyga: i was j/k [11:38] pedronis, oh, this failure looks a bit worrying, and unrelated to my change [11:41] pstolowski: which failure? [11:41] Chipaca, https://travis-ci.org/snapcore/snapd/builds/231089319?utm_source=github_status&utm_medium=notification [11:42] panic after retry, sync: unlock of unlocked mutex [11:43] nice [11:43] and not related to rand :-) [11:43] (so it's not the one i fixed) [11:43] Chipaca, Facu https://forum.snapcraft.io/t/myapps-developer-ubuntu-com-vs-dashboard-snaopcraft-io/549 [11:44] ogra_: when you say myapps, do you mean dashboard.snapcraft.io? [11:44] ogra_: or do you actually mean myapps? [11:44] Chipaca, no, i mean https://myapps.developer.ubuntu.com/dev/click-apps/5573 [11:44] ah [11:44] (thats the pi2-kernel snap) [11:45] right [11:45] ogra_: sorry i hadn't finished reading :-) [11:46] ogra_: in myapps, what series is the pi2-kernel snap? [11:46] * ogra_ waits for the UI to reload [11:46] bah [11:47] it redirected me now :P [11:47] seems the "overview" like actually does a redirect ... but just reloading or going into one of the versions does not [11:47] s/like/link [11:48] ogra_: in the list of all your packages in myapps, it lists the series of the snap. what does it show for pi2-kernel? [11:49] Chit doesnt show it at all [11:49] Chipaca, ^^ [11:49] "Ubuntu Touch clicks and snaps for 15.04" [11:49] ogra_: screenshot or it didn't happen [11:50] because i'm seeing the series for everything, there [11:50] it shows all 15.04 packages i own ... [11:50] and says at the bottom "Your series 16 snaps can now be found at https://dashboard.snapcraft.io." [11:51] ogra_: http://imgur.com/a/RQFnG [11:51] ogra_: in the list of revisions [11:51] so i guess the frontpage as well the the package overview are fine ... (since that actually redirects me) ... but when i'm on the old page and click on a version on myapps it does not redirect [11:51] ogra_, do you see pi2-kernel in myapps? [11:51] ogra_: it shows you the series [11:51] ogra_: my question is, in that list of the pi2-kernel, what does it show [11:51] Facu, not on the frontpage ... but in the myapps pages i have open i can still navigate around myapps [11:52] ogra_: myapps is still active and functional for clicks and 15.04 snaps [11:52] Facu, i guess there is simply no redirect on pages that are deeper down the tree [11:53] Chit doesnt show the pi2.-kernel in that list ... but it doesnt redirect me if i'm on an old myapps site and click some version to set the checkmark on a channel [11:53] Chipaca, ^^ [11:53] (geez ... cant get used to type three chars for tab completion ) [11:53] ogra_: how did you get to the old myapps site? [11:53] ogra_, so, the scenario is that you had a page open showing a snap in myapps from a month ago, and now you go back to using it and it shows the snap info? [11:53] Chipaca, it is open in my broiwser [11:54] ogra_: you must have a terabyte of ram :-) [11:54] but ok [11:54] Facu: over to you :-) [11:54] pstolowski: seems there's a codepaht in retryPostRequestDecodeJSON that returns nil, nil ? [11:54] Facu, it had it open and clicked on one of the versions ... did set a checkmark on a channel and went back to the overview [11:54] Facu, so the version links should simply redirect me too ... seems the "overview" one already does [11:55] ogra_, or at least give some error [11:55] right [11:55] ogra_, not leaving you with the impression "it worked" [11:55] yeah [11:56] Facu: do myapps and the dashboard share a backend database? [11:56] Chipaca, not sure [11:59] * ogra_ adds a followup to the forum [11:59] pedronis, checking [12:00] pstolowski: the traceback seems to say we explode on auth.go:306 [12:02] * Chipaca poddles off to investigate lunch [12:03] Chipaca: do it [12:03] Chipaca: but beware [12:03] after lunch all I want is sleep [12:03] and I think I will just do it [12:03] i see no problem [12:03] I may miss standup if I succeed [12:04] if I do, I'll wake up and look at PRs and update-ns [12:04] I think release is in good hands [12:04] and apart from panick on unlock I think it's okay [12:05] zyga: I'm about to finalize the release [12:12] ogra_: what did you do to get that? [12:12] ppisati, obviously running 4.4.0-1048-55 pi2 ... thats outrdated though, i guess you can ignore it [12:13] ogra_: oh ok [12:13] i only noticed later that the kernel was old .... i'tt shout if i see it with a newer one again [12:13] *i'll [12:13] ogra_: ack [12:13] * Chipaca hugs mvo for being awesome (and because of read -r) [12:14] it's the missing bit that makes in-snap tab completion purrfect [12:14] i was dreading digging through it to figure this one out :-) [12:22] pedronis, i'm going to create a test to try reproduce [12:26] ugh... why doesn't "snapcraft clean -t " work? [12:44] pstolowski: I'm not sure at all how it happens, but reading the traceback it would seem resp == nil (or I'm missing something something), that's the thing we read on 306 [12:50] Hello all [12:50] How's spread behaving this morning? [12:50] fgimenez: ^ [12:51] hey niemeyer all good, the execution times have reduced to ~30min [12:51] fgimenez: Cool.. slightly over or slightly under? [12:52] niemeyer: about 10min lower [12:52] fgimenez: Sorry, I mean, slightly over 30 or sightly under 30 [12:53] pedronis, i thought the same, but it's strange, we should be remembering and returning the most recent error [12:53] niemeyer: ah :) under, 28 or so, i hope to have proper metrics soon [12:54] fgimenez: Okay, that's great! [12:54] fgimenez: That means we can probably hit the 20 mins mark with another bump today [12:55] niemeyer: yep, the remaining 50% should put the build close to 20min [12:55] fgimenez: Can you please push another PR with that change? [12:55] niemeyer: sure on it [12:55] fgimenez: I'll keep an eye on resource utilization today and see whether we need more and how many [12:56] Actually, we can probably guess the right number of machines from the Travis concurrency limit [12:57] Correct me if i'm wrong, but is there a way to mount your snap from PWD instead of building the squashfs image? I'd like to debug my config hook and interactively execute some bits to test a script. I dont feel like i can do that reliably in the squashfs image... its read only in that context. [12:57] i thought i recalled hearing about a path to do that, but i'm at a loss for finding it in the docs on snapcraft.io [12:57] lazyPower: "snap try" [12:57] aha! ty [12:57] np [12:58] so many mups! [12:58] Uh? [12:58] mupvasion! [12:58] niemeyer: one on ipv4, one on ipv6 [12:59] Ah.. that explains it [12:59] Network is probably not so happy === mup_ is now known as mup [13:00] network mupocalypse! [13:04] PR snapd#3301 opened: spread.yaml: increase the number of linode workers by 1 [13:10] morphis: Standup? [13:26] PR snapd#3302 opened: release: releasing package snapd version 2.26 [13:47] mvo: in the second answer to that sd wear levelling question there's a link to bunnie pointing out that adding a wear levelling controller is cheaper than doing QA, so zyga's probably right in practice except for the most cheapestest cards (that don't do QA either way) [13:48] Chipaca: yeah, that is my understanding of how this works too [13:48] ok [13:48] Chipaca: the controller lies to you but thats ok [13:48] s/you/us/ [13:50] ogra_: thanks, I'll add that to the list [13:54] PR snapd#3300 closed: cmd/snap-confine: don't fail on pre 3.8 kernel [13:55] https://github.com/snapcore/snapd/pull/3289 needs a 2nd review [13:55] PR snapd#3289: daemon: do not allow to install ubuntu-core anymore [13:59] pedronis, got a test which reproduced the panic; it's enough to have a host name for the store server that doesn't resolve [14:00] ! [14:00] wow [14:02] and I think I've a fix. and I think (but need to verify) this problem is unique to this single case of retry [14:03] the problem is err got shadowed [14:08] pstolowski: don't we have a static analyzer that looks for variables that are assigned to but not used? [14:08] pstolowski: ah, the NewRequest line has := [14:08] :/ [14:09] is that something we want to fix for 2.26 ? [14:09] pedronis, yeah... [14:10] pstolowski: := creates all new variables [14:10] zyga, it is used.. the func is defined as func(..) (err error, resp Response) [14:10] pedronis, yeah I know. oversight. [14:11] pstolowski: was this code new in 2.25 ? [14:11] zyga: mvo: we might need a 2.25.1 [14:12] pstolowski: so we were missing tests, for exiting on timeout of retries ? [14:12] pedronis, I need to check this still [14:13] pstolowski: the code in store.go does have this problem it seems, only auth.go [14:13] pedronis, yes I think so, but I'll add a test to store too [14:17] pstolowski: code seems to have been already there in 2.23 at least [14:18] pedronis, yes, commits are from Jan 27 [14:18] it's not a regression but if I understand correctly it's also not very nice [14:18] yes it's pretty bad actually [14:19] pstolowski: I let you and mvo decide what to do [14:20] if you ask me, I'd include the fix in this release... now sure how much hassle that is for mvo [14:41] PR snapd#3303 opened: store: fix panic error in auth [14:41] pedronis, mvo ^ [14:42] pstolowski: cool, looking [14:43] pstolowski, pedronis: a 2.26.1 works for me, let me check the fix [14:46] pstolowski: woah, how does this happen? [14:47] mvo: this looks like a bug I fixed in the interface code a few months ago [14:47] mvo: the same pattern [14:48] mvo: we are getting this error in prepare https://travis-ci.org/snapcore/snapd/builds/231151352#L1235 it seems that there's a new version of ubuntu-image, could you please take a look when you have a moment? [14:48] mvo, err got shadowed... the test panics the same way without the fix [14:48] niemeyer: sorry, was out around that time today, told zyga yesterday [14:48] pstolowski: ohhh, shadowing. that makes sense [14:49] fgimenez: sure, I have a look now [14:50] fgimenez: could we simply switch --dvmode to --classic in the test to fix the error? [14:50] mvo: i think so, let me check [14:50] fgimenez: thank you [14:57] fgimenez: we need to do 2.26.1 anyway now if all our tests are broken [14:57] fgimenez: which is slightly annoying because the older spread-cron runs will also break now, no? [14:58] fgimenez: so maybe we need to ask foundations to revert this [14:58] mvo: np for spread-cron, most of the executions have finished but yes, with errors [14:59] mvo, sorry for adding more work with .1 :( [14:59] hey sil2100, good afternoon [14:59] Hey o/ [14:59] sil2100: quick question, it looks like ubuntu-image has changed to classic confinement recently? [15:00] mvo: yes, after some discussions with various people barry thought that it's more fitting for this confinement [15:00] sil2100: this is currently breaking tests on our side and I wonder what the best way forward is. maybe just us fixing the tests but it means ubuntu-imgae can not be used on a ubuntu-core system anymore which is slightly odd [15:01] fgimenez: can we fix spread-cron easily to use --classic when we generate the images? [15:01] https://bugs.launchpad.net/ubuntu-image/+bug/1638645 [15:01] Bug #1638645: Make ubuntu-image a classic snap [15:01] This is the relevant bug [15:01] sil2100: thank you. let me read it [15:02] mvo: sure np, we also need to fix snapd's prepare https://github.com/snapcore/snapd/blob/master/tests/lib/prepare.sh#L177 [15:04] sil2100: thanks, I'm not sure this is the best decision but I think we can fix it on our side. I may come back to you and ask for !classic at some point mostly because it seems like it should also work on core systems. but I think for now we are ok. thanks for pointing me to the relevant bug [15:04] fgimenez: yeah, I will do that now [15:04] mvo: great thanks! [15:04] fgimenez: it breaks all branches currently [15:05] fgimenez: and our spread-cron and other tests use a different prepare than the one in our snapd git, right? [15:07] Pharaoh_Atem: ping [15:07] PR snapd#3304 opened: tests: the new ubuntu-image snap needs classic confinement, adjust tests [15:07] morphis: pong [15:07] mvo: usually not, the suite is the same only tweaked setting the appropriate environment variables, there are cases where it is different, like the nightly or nested suites, ubuntu-image would affect only the nested suite i think, where we need to create and boot an instance [15:08] Pharaoh_Atem: you saw my comments on bodhi? [15:08] mvo: ok, no problem! I guess we're open to suggestions regarding that [15:09] pstolowski: no worries, this is a reason we need 2.26.1 anyway I think so all is good [15:09] morphis: yeah, I'm going to fix it asap and push a new build [15:09] pstolowski: this being the uubntu-image fallout [15:10] ok [15:10] morphis: what files are created by snapd to manage things? [15:10] Pharaoh_Atem: thanks! [15:10] I can add them as %ghost files so that rpm deletes them correctly [15:10] mvo: I think we just looked and saw classic to fit our case the best (as it's a tool like that) and it fixed our problems with /tmp [15:11] morphis: is it just /var/lib/snapd/state.json, or are there other things? [15:11] Pharaoh_Atem: other things too [15:11] sil2100: yeah, the /tmp being a tmpfs is certainly annoying for the u-i use-case [15:11] morphis: do you have a list? [15:11] Pharaoh_Atem: it looks like even the directories the rpm ships aren't cleared [15:11] sil2100, that makes it pretty much impossible to use ubuntu-image natively in some kind of ubuntu-core installer (where you would boot an ubuntu-core and run ubuntu-image to create a fresh image tailored for a target device), there is no support for classic interfaces on core [15:11] Pharaoh_Atem: there is no "purge" option for dnf, right? [15:11] apt's purge comes from dpkg, so no [15:11] ok [15:11] Pharaoh_Atem: I can give you a list later, currently [15:12] that'd be helpful [15:12] my system is loaded :-) [15:12] I can `%ghost` all the files that snapd itself creates so that on final uninstall, rpm clears them [15:14] morphis: No worries! [15:16] Pharaoh_Atem: ok, let me give you the list and we can fix that [15:16] excellent [15:16] Pharaoh_Atem: otherwise the script works well on suse too so we should generalize it a bit more and push to the repo so all distros can use it [15:19] morphis: that's the plan :) [15:19] Pharaoh_Atem: great :-) [15:19] I'd like to minimze what this script does as much as possible because I want the package manager to be as aware as possible [15:19] mvo, ogra_: could anyone of you open a bug for it for discussion? [15:23] ogra_: did you ever try to boot one of our armhf core images in qemu? [15:24] morphis, well, on what HW emulation ? [15:24] does our qemu have any Pi or dragonboard emulation ? [15:24] ogra_: just did a first attempt to boot a pi3 image [15:25] ogra_: good question, was looking which could be used [15:25] i dont think there is [15:25] there is something for an early beagleboard (not bone) [15:26] hm [15:26] but thats srtill omap i think [15:26] -M vexpress-a9 -cpu cortex-a9 might be a start but not for the pi images [15:27] we would need a more common kernel snap [15:28] sil2100, mvo i opened https://bugs.launchpad.net/ubuntu-image/+bug/1690170 ... mvo might be good if you could also add soemthing [15:28] Bug #1690170: classic confinement makes running ubuntu-image inside UbuntuCore images impossible [15:28] ogra_: thanks [15:29] ogra_: https://wiki.ubuntu.com/Kernel/Dev/QemuARMVexpress suggests the lpae kernel should do the job [15:29] morphis, well ... vexpress [15:29] you'd need a kernel and gadget for that [15:29] right [15:29] and it will crawl [15:29] hm [15:30] not sure thats worth the effort (unless it improved massively since i used it last ... which is admittedly a while ago) [15:31] oh my [15:31] just wondering if using real hardware is the best approach these days to support our spread testing for armhf only snaps or if we can use qemu for a few things too [15:31] so my DNS test fails differently on travis than locally :/ [15:31] morphis: i did something about qemu and pi2 but it didn't manage to boot https://github.com/fgimenez/pi2-qemu if you want to have a look [15:31] you should be able to us4e kvm on arm64 ... [15:31] error string = "cannot query the store for updates: got unexpected HTTP status code 503 via POST to \"http://nonexistingserver909123.com/updates/\"" [15:31] but i'm not sure how the armhf emulation on top of that is [15:31] ogra_: we get armhf only binaries delivered we have to use [15:31] fgimenez: nice! will have a look [15:31] instead of ""Post http://nonexistingserver909123.com/updates/: dial tcp: lookup nonexistingserver909123.com on .*: no such host" locally [15:32] morphis, yes, i meant an armhf kvm on top of an arm64 server [15:32] ah [15:32] Chipaca, hey, do you have any idea why this could be? ^ [15:32] morphis, i know we use kvm for the arm64 buildds ... perhaps wgrant knows if it is possible to use armhf machines on that [15:32] fgimenez, ogra_: http://blog.3mdeb.com/2015/12/30/emulate-rapberry-pi-2-in-qemu/ [15:33] ah, a patch :) [15:33] fgimenez: see you're using -M raspi2, were you using this tree for qemu? [15:34] pedronis: On it [15:34] niemeyer: thx, sorry for wrong channel [15:34] pedronis: np, I didn't realize I was replying in a different channel, sorry [15:34] pstolowski: what do you mean? [15:34] it's not resolving [15:34] ¯\_(ツ)_/¯ [15:34] pedronis: (read in the pop up) [15:35] morphis: nope, qemu from the archive, afaik the (partial) support is available from 2.6? need to check [15:35] ooh ! [15:35] now thats cool [15:35] fgimenez: but you didn't used xenial, right? [15:35] didn't saw a raspi machine on the xenial qemu [15:35] Chipaca, it's not resolving when run locally, but gives 503 on travis (?!) [15:36] pstolowski: because there's a proxy setup [15:36] Chipaca, see my comment to https://github.com/snapcore/snapd/pull/3303 [15:36] PR snapd#3303: store: fix panic error in auth [15:36] ahh [15:36] morphis: no, yakkety [15:36] fgimenez: ah [15:36] pstolowski: so you get the 503 (from the proxy) [15:36] right [15:37] in that case I've no better idea than to dumb the check to only see if err != nil [15:37] pedronis: Done [15:38] ogra_: ok, current git tree of qemu has the raspi machine [15:38] make a snap ;) [15:39] pstolowski: I'm going to ahead and guess that there's an http proxy that 503s when it can't resolve [15:39] ogra_: you can read my mind :-) [15:39] (when using an http proxy the client isn't the one doing the dns lookup) [15:39] *g* [15:39] ah, what pedronis said [15:40] sorry for the latency :-) [15:40] pstolowski: does snapd#3120 needs a test rerun or a new merge with master? [15:40] PR snapd#3120: interfaces/hooks: expose attrs to the interface API, snapctl enhancements (step #4) [15:40] Chipaca, yep. thanks [15:43] pedronis, no, its spread test needs some work. I abused content interface there for a test, and what I did there needs changing [15:44] Lunch here [15:49] Pharaoh_Atem, zyga: 2017/05/11 17:47:26 Successful tasks: 89 [15:49] ? [15:49] Pharaoh_Atem, zyga: we're coming close to 100 working spread tests on Fedora :-) [15:49] ah [15:50] nice [15:51] morphis: very nice; I'd like to discuss how we are going to support testing that is cross distribution [15:51] morphis: I'd love to see your branches for that [15:51] morphis: we need something that is scalable [15:51] zyga: right [16:10] PR snapd#3304 closed: tests: the new ubuntu-image snap needs classic confinement, adjust tests [16:11] mvo: master is good again, we can merge it into failed PRs [16:34] zyga: Q: cat /var/lib/snapd/apparmor/profiles/snap.test-snapd-devmode.test-snapd-devmode | grep attach_disconnected | grep -v complain [16:34] zyga: you're wanting to check that nothing that has attach_disconnected has complain? [16:35] zyga: (also there's a bug in this test where apparmor is checked for @complain) [16:39] is there a store way to say that a given snap has been replaced by another (and have end-users automigrate)? === kenvandine_ is now known as kenvandine [16:40] * zyga tries to parse Chipaca's question [16:40] oh dear, store is taking a break [16:40] Chipaca: why would I want to check that nothing that has attach_disconnet has complain? [16:40] zyga: i dunno! you wrote the test :-) [16:41] ah, which test is that? [16:41] regression-jailmode-1641885 [16:41] so the first grep just gives us the right line [16:41] the second test is checking for the interesting part [16:41] * zyga looks [16:42] hmm [16:42] Facu: is CPI AWOL? [16:42] Chipaca: indeed, I see the bug [16:42] where is my channel info gone ? [16:42] http://paste.ubuntu.com/24555462/ [16:42] ogra_: CPI is not responding [16:43] ouch [16:43] * zyga drinks to CPI [16:43] oh, beer time! [16:43] zyga: thank you, just returned from dinner, checking out the sttaus now [16:44] mvo: the status may be ^^ bad [16:44] zyga: yeah, just noticed [16:44] jinxed again [16:44] sound like I can extend my dinner ;) [16:44] at least tests are pretty fast now [16:44] Chipaca: sorry for asking dumb question but what is about that test? [16:44] "i got fat because of bugs" [16:44] Chipaca: I get that the seccomp part is bogus [16:44] Chipaca: (fixed locally) [16:45] zyga: I'm in the middle of fixing a bunch of those, can do this in drive-by [16:45] zyga: it's just a s/apparmor/seccomp/ in te path, right? [16:45] Chipaca: the apparmor part is as you predicted, we want to check that the profile is not in complain mode [16:45] Chipaca: yes [16:45] Chipaca: if you fix that I can remove my branch now :) [16:45] yes [16:45] Chipaca: can you please also git mv the test to regression/ ? [16:45] it's already fixed here :-) [16:45] thanks! [16:46] * zyga would like to see PR count drop below 20 today [16:47] PR snapd#3302 closed: release: releasing package snapd version 2.26 [16:48] PR snapd#3305 opened: release: snapd 2.26 [16:50] PR snapd#3306 opened: tests/main: move a bunch of greps over to MATCH [16:50] zyga: ^ [16:51] * zyga nice, looking [16:51] http://status.snapcraft.io/ [16:51] LOL [16:51] mvo: ^ [16:51] mvo: look at that with umatrix [16:54] noise][, nessita I'm trying to refresh and getting this: "error: cannot refresh "nextcloud": cannot get refresh information for snap "nextcloud": Post https://search.apps.ubuntu.com/api/v1/snaps/metadata: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" [16:54] Are there known issues right now? [16:54] kyrofa: store is down [16:54] kyrofa: see status.snapcraft.io [16:54] Huh, so it is [16:54] Chipaca: apparently a lot of stuff down [16:55] noise][: yeah [16:55] bah [16:55] things like ubuntu.com :-) [16:55] psh [16:55] :-D [16:55] As soon as I post a call for testing! Hahaha [16:55] kyrofa: so it's *your* fault! [16:56] Chipaca, ubuntu.com isnt down ... i still get a proper 503 page :P [16:56] Hahaha [16:56] oh [16:56] someone tripped over the wrong cable? [16:57] or took it with him when leaving [16:59] Chipaca: grep -c, what does it count? [16:59] matches? [16:59] matching lines [17:00] echo aaa|grep -c a == 1 [17:00] ah, I see [17:01] equivalent to "grep | wc -l" [17:02] one day someone will write a shell that contains a static anaylzer that rewrites stuff like "grep | wc -l" into proper optimized code [17:02] all the core utilities have grown over time, to accumulate more and more options [17:02] as optimization for what we do [17:03] that's like saying that one day we'll sit down with the openbsd guys and unify everything [17:03] their 'morse' program is so much cooler than the one in ubuntu [17:04] Have we tweeted that we know the world is broken? [17:04] Chipaca: no, we would never do that [17:05] Chipaca: but a program might [17:05] kyrofa: my twitter is broken [17:05] zyga, THAT cable TOO? [17:05] ... -. .- .--. .--. -.-- [17:06] ogra_: https://www.freebsd.org/cgi/man.cgi?query=morse&sektion=6&manpath=FreeBSD+6.4-RELEASE [17:06] hah, cool [17:06] see? [17:06] :-) [17:06] is that in CVS? [17:07] actually nice :) [17:07] noise][, nessita: fyi, getting 503 going to https://dashboard.snapcraft.io/dev/snaps/reviewer/ [17:07] jdstrand, yeah everything is busted [17:07] ogra_: I especially like the bit in HISTORY [17:07] jdstrand, so better go to www.ubuntu.com then [17:07] :P [17:07] is there a morse-modem so I can connect my PCs with pc-speakers and microphones and setup IP over that? [17:07] ogra_: where people sign with their callsigns [17:07] jdstrand: it's broken [17:07] noise][, nessita: seems you probably already know that. ignore me [17:07] there's a major network outage affecting multiple services [17:07] jdstrand: status.snapcraft.io [17:08] ok [17:08] i posted to the forum as well [17:08] anyway, seeing as everything is down, I'm going to EOD right about now. [17:08] * zyga imagines IP over two 90's era text-to-speach and speach-to-text systems [17:08] farnsworth support ! [17:08] Chipaca: yeah :/ [17:08] Chipaca: I think that's the best to do [17:08] I'll finish with your PR and I'll call it a day [17:09] when the boat is on fire, you just take a swim and let others mend the fire ;) [17:09] zyga: teamwork \o/ [17:13] zyga: heh, funny indeed, let me whitelist some things [17:13] zyga: autsch, the status is slightly depressing [17:13] mvo: thank you! [17:14] mvo: on the upside, nobody will download the release anyway [17:14] zyga: enjoy, I will see if I can do 2.26.1 today, if not, well, tomorrow morning [17:14] zyga: hahahaa [17:14] :) [17:14] * zyga goes over some PRs [17:15] PR snapcraft#1310 closed: tests: use C.UTF-8 for the docker locale [17:18] drat, we have 26 PRs again [17:18] mvo: I think you can override-merge https://github.com/snapcore/snapd/pull/3301 [17:18] PR snapd#3301: spread.yaml: increase the number of linode workers by 1 [17:19] zyga: yeah, why not [17:19] wow, chipaca did review https://github.com/snapcore/snapd/pull/3295 :D [17:19] PR snapd#3295: interfaces/builtin: make all interfaces private [17:19] awesome! [17:19] PR snapd#3301 closed: spread.yaml: increase the number of linode workers by 1 [17:42] mvo: so it still doesn't work (in fact more services are down) [17:42] mvo: I pushed fixes to several branches, did some more code reviews [17:42] Need to step out for ~1h.. [17:42] mvo: and I think it's the best time to stop [17:42] in the evening I'll check back and push udpdate-ns as all-in-one [17:44] Are there any plans for the catkin plugin to use catkin build instead of catkin_make? If not, would this be a welcome change? [18:10] cratliff, yeah I like catkin build as well [18:10] cratliff, but it's not the standard-- I'm not sure what kind of ramifications moving to it would have [18:11] cratliff, would love to hear your thoughts [18:15] kyrofa: I'm fairly new to both ROS and snap, I just found out about catkin build today. Using catkin build reduces my build time by about 10 minutes. It seems to build in isolated by default so I don't think there would be a big change in that regard. The docs page has a list of make -> build translations. If treated as simply a parallelized catkin_make it doesn't look to onerous, but is seems to have alot of additional feature [18:15] is something terribly broken in master or with linode right now? got plenty of errors with my fix-panic branch [18:16] pstolowski, could they be related to the datacenter outage ? [18:16] cratliff, yeah it's a bit more reminiscent of rosbuild, back in the fuerte days [18:16] (seems to all be up again now, but it lasted quite a while and affected a lot of services including store) [18:17] ogra_, dunno, i wasn't aware of it [18:17] cratliff, there are some hacks in the catkin plugin that were necessary because of catkin, when I know the issues were fixed in catkin build. If you're interested in taking a crack at that migration I'd be happy to review/test it out [18:19] Would having it as a separate plugin be a bad move since it isn't considered standard? The news announcement for it on ros.org seems like they think well of it at least. [18:21] cratliff, might be easy to start that way. As an end user, what specifically would you notice? Just an increase in build speed? [18:24] cratliff, I think the best reason to keep it as a separate plugin is probably "This package was announced in March 2015 and is still in beta. See the GitHub Milestones for the current release schedule and roadmap." [18:24] If their API breaks, so does the plugin until we fix it [18:30] cratliff, but I think we can make it a beta plugin, or beta mode on the catkin plugin, for now. I'd love to see it in there [18:30] kyrofa: An increase in speed is probably the biggest thing that would be noticeable, being able to get use out of scaling up to more cores and seeing something for it is nice. It seems to have some more clean options. I wonder if those could be used to make the clean step more robust as well, right now I have to clean everything for a new build. [18:32] cratliff, indeed, that's something snapcraft needs to improve generally [18:33] (definitely on the roadmap) [18:36] cratliff, indeed, it looks like the migration from catkin_build_isolated is incredible straight-forward [18:36] cratliff, is that something you're interested in doing, then? [18:37] I'd be happy to help you learn the codebase/get tests running etc. [18:38] kyrofa, cool, I might be able to start on it next week depending on other responsibilities. That would be great. [18:38] cratliff, I'm in the PST timezone. Just ping me :) [18:39] kyrofa, sounds good. I'm in EST. [18:39] Easy then! I look forward to working with you [18:40] pedronis, can I use private snaps in a model assertion? [18:53] zyga, perhaps you know? ^^ [18:56] noise][, status.snapcraft.io is all green, but I still can't refresh (same error) [18:57] kyrofa: the api server is reachable but getting hammered right now, we're working on it [18:58] zyga: fyi, this was pointed out to me: https://tingping.github.io/2017/05/11/flatpak-theming.html [18:59] zyga: it has some grammatical issues, but the idea is interesting. flatpak has runtimes (eg, gnome2.34, gnome2.16, etc. so, you install a theme as a flatpak that targets the runtime, then every flatpak that targets that runtime gets that theme [19:01] zyga: so, you install arc flatpak theme for 2.34 and 2.16 runtimes, then all flatpaks that target those runtimes gets arc. install a flatpak that target 2.10 runtime and it doesn't (until you install the arc flatpak for 2.10) [19:02] zyga: it is an interesting idea. content snaps are roughly equivalent to flatpak runtimes, so it seems plausible to be able to extend a content snap with a theme snap [19:02] zyga: ok, going back to other work, but thought I'd pass that along :) [19:20] kyrofa: yessish, but it won't refresh unless you login on the device, we don't have atm ways to open a private snapd to devices vs users, we usually use branded stores to have device-limited snaps [19:21] pedronis, very good, makes sense, thank you :) [19:21] s/private snapd/private snap/ [19:43] PR snapd#3303 closed: store: fix panic error in auth [19:47] sergiusens_, elopio, reading this https://forum.snapcraft.io/t/in-progress-snapcraft-2-30/347 and wondering if it should mention something about https://bugs.launchpad.net/snapcraft/+bug/1670471 or https://bugs.launchpad.net/snapcraft/+bug/1686162 [19:47] Bug #1670471: Bad message after failed release [19:47] Bug #1686162: Support "branch"es in Store responses [19:49] Hey jdstrand, seeing these on an lxc host with a guest running the nextcloud snap. Are they of concern? http://pastebin.ubuntu.com/24556341/ [19:52] That's during an upgrade [19:53] jdstrand, and I'm hitting weird issues when upgrading (hook failures), so I'm wondering if that could be the cause [19:54] jdstrand, opened this topic: https://forum.snapcraft.io/t/cannot-update-to-revision-introducing-configure-hook/556 [19:55] This actually might explain why other snap updates have not gone so smoothly on lxc. I always had to reboot to get it up and running [20:01] kyrofa: the stdout is fixed in master and for sure in 2.26. /me checks 2.25 [20:02] kyrofa: yes, and 2.25 [20:02] jdstrand, would that explain the hook failure I'm seeing? [20:03] kyrofa: that denial should be harmless. the systemctl denial would cause things to fail I suspect. it is probably trying to manage its daemon's service [20:03] jdstrand, darn, so those are the weird log-missing denials I reported before, huh? So something else is happening on lxc with hooks [20:04] Something weird happens when snaps update on lxc. Not sure what, though [20:08] kyrofa: like I said, the stdout logging denial is fixed (that is what you reported before). but mysql.server in snap.nextcloud.mysql is clearly calling systemctl [20:08] and that's a no no [20:08] jdstrand, yeah I'm probably trying to stop it incorrectly, but it still seems to work fine, so also non-fatal [20:09] you might mention that in the forum, since I said it could be fatal [20:09] it depends on the snap, etc [20:11] kyrofa: ok, I responded again just now [20:43] sergiusens_, et al, do you know how to run snapcraft for it to show verbosely what is hitting in the server, and what the server is answering? [20:53] Facu, wireshark [20:53] (in seriousness, no, debug output doesn't include network exchanges) [20:53] kyrofa, the ultimate tool, but was searching for something simpler [20:53] kyrofa, thanks! [20:54] Facu, although if you up the urllib logging you might get some [20:54] Or... requests [20:56] Facu, yeah, look at snapcraft/internal/log.py [20:56] Facu, the requests lib was ratcheted down to INFO because it's so noisy [20:56] Modify that and you should see all sorts of stuff [20:58] kyrofa, thanks! [21:21] jdstrand: reading [21:21] jdstrand: interesting concept, thank you! [21:28] PR snapd#3305 closed: release: snapd 2.26 [21:52] PR snapd#3298 closed: interfaces/builtin: ensure we don't register interfaces twice [21:55] wtf [21:55] we're now on 2.26.1?! [21:57] Pharaoh_Atem: yep [21:57] welp [21:58] Pharaoh_Atem: we found a but that may end up in panic so mvo did another release [21:58] due to that datacenter outage, 2.25 never got pushed fast enough to be released [21:58] so I guess I'll just yank it for 2.26.1 once morphis gives me that list of things [22:01] Pharaoh_Atem: I don't know if the outage affected 2.25 [22:01] Pharaoh_Atem: I think we'll see 2.25.1 too [22:01] Pharaoh_Atem: as one of the issues we found was there since 2.23 [22:01] oh dear [22:01] that's not good [22:02] Pharaoh_Atem: (but tomorrow :) [22:02] soon :) [22:02] * zyga pushed update to https://github.com/snapcore/snapd/pull/3295/files [22:02] PR snapd#3295: interfaces/builtin: make all interfaces private [22:02] that's my scaries PR ever :) [22:02] * Pharaoh_Atem shrugs [22:02] it's not that bad [22:02] you're just rewriting all the calls to every interface ever [22:02] hahaha [22:03] and tests :) [22:03] that's implied :) [22:03] but the outcome is very positive [22:03] is it? [22:03] what does it mean? [22:03] I found some nastiness by doing that [22:03] I didn't finsh them today but I have some more cleanup piled up [22:03] so that tests are better and more uniform [22:03] I found, mostly, copy-pasted mistakes [22:28] PR snapcraft#1299 closed: asset-tracking: save the dependencies of build packages [23:09] PR snapd#3212 closed: api, ifacestate: resolve disconnect early [23:31] PR snapcraft#1311 opened: add missing VCS dependencies to HACKING.md [23:46] PR snapcraft#1303 closed: kernel plugin: slightly improve the messaging of check_config()