/srv/irclogs.ubuntu.com/2017/05/11/#snappy.txt

newbsieChipaca: 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:00
Chipacanewbsie: how long does reimaging take?00:03
zygaok00:04
zygaI think I'm done for tonight00:04
newbsieJust done, the big moment00:06
zygaChipaca: 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.gz00:06
zyga... Panic: sync: unlock of unlocked mutex (PC=0x45BDAC)00:06
zygathis looks rather bad00:07
newbsiezyga00:07
newbsiezyga: sorry, what is known_hosts?00:07
zygayes?00:07
zyganewbsie: it's a file where ssh remembers the hosts it saw and their keys00:07
Chipacazyga: that one's for pedronis :-)00:08
zygaChipaca: also here https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-snappy-dev-image/xenial/i386/s/snapd/20170511_000455_63ba2@/log.gz00:08
newbsieI'm now getting "Host key verification failed"00:08
newbsieYes, yes, yes!00:08
zyganewbsie: becausethey ip you are sshing had changed identity00:09
Chipacanewbsie: you reimaged, so the host key changed00:09
newbsieIt's working now.00:09
Chipacanewbsie: wooo00:09
newbsieThat 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. XD00:09
Chipaca*that's* why i'm so sore!00:10
zygawe ran out of machines00:10
Chipacanewbsie: let's make it suck less. Looking forward to the forum post.00:10
newbsieChipaca: I'm not that heavy. Although I do like burgers, steak and fatty food in general.00:10
Chipacazyga: la la la can't hear you i'm already asleep00:10
zygaChipaca: yes, good idea00:11
* zyga afk00:11
newbsiezyga: I'm going to log off too, but I really appreciate your help earlier. Will definitely make that post on the snapcraft forum.00:26
=== chihchun_afk is now known as chihchun
mupPR snapcraft#1309 opened: meta: read and write the desktop file with utf-8 encoding <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1309>05:45
mupPR snapcraft#1310 opened: tests: use C.UTF-8 for the docker locale <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1310>05:51
mupPR snapd#3293 closed: spread.yaml: increase linode workers by 50% <Created by fgimenez> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3293>06:27
mupPR snapd#2869 closed: interfaces/builtin: add online-accounts-service interface <Created by mardy> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2869>06:28
morphiszyga: ping07:04
morphiszyga: is https://paste.ubuntu.com/24553247/ expected?07:05
morphisthat is with 2.25 on suse07:05
pstolowskimorning07:14
fgimenezgood 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
mupBug #1689332: internal error with any command using ubuntu-core snap on classic <snapd:In Progress by zyga> <https://launchpad.net/bugs/1689332>07:14
fgimenezhey pstolowski07:14
mvofgimenez: good morning. yes, I think so, we just freeze ubuntu-core from now07:14
mupPR snapd#2941 closed: interfaces/builtin: add network-status interface <Created by xavi-garcia-mena> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2941>07:15
fgimenezmvo: ok, shall i put a comment in the sru bug and mark it as verification-done? we only found this issue07:16
mvofgimenez: yes, please do, I will revert beta ubuntu-core to stable so this issue will be gone07:16
fgimenezmvo: ok thanks!07:17
mvofgimenez: hm, actually it won't be gone :/ we need to land 3289 first07:17
morphismvo: 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-devmode07:19
fgimenezmvo: 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:19
mupPR snapd#3296 opened: image: fix go vet issue <Created by mvo5> <https://github.com/snapcore/snapd/pull/3296>07:21
mvomorphis: 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
mvofgimenez: correct, for 2.25 we can do little without quite a bit of extra effort (doing a point release, re-doing the verifications)07:21
fgimenezmvo: ack thanks07:22
mvomorphis: the message also looks slightly odd, lets wait for zyga07:22
mvo3289 needs a second review fwiw, but I guess its a bit early still07:23
fgimenezmvo: 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 something07:43
mupPR snapd#3289: daemon: do not allow to install ubuntu-core anymore <Created by mvo5> <https://github.com/snapcore/snapd/pull/3289>07:43
zygamorphis: known issue, thank you for reminding me07:48
zygapstolowski: hey, just a reminder, you didn't add the pre-attribute definers to the test07:49
zygapstolowski: I added them already but I thought you would in your attribute branch07:49
morphiszyga: actually feels bad to have that, something we can easily fix for 2.25?07:49
zygamorphis: yes07:49
zygamorphis: the patch will remove two lines07:49
zygaI will be back shortly, I worked too late last night07:50
mvofgimenez: lets try :)07:51
mvozyga: if you have a fix in mind, would be great to get it for 2.2607:51
mvozyga: please ping when you are back so that we can talk details07:51
morphiszyga: 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:52
mvofgimenez: you are right, things work fine with ubuntu-core from stable it seems07:56
mvofgimenez: so no blocker, all good. thanks for this info!07:59
pstolowskizyga, sorry about that, it didn't occur to me07:59
fgimenezmvo: np thank you! i've double checked that installing 1797 (current stable) from edge works fine too08:00
Chipacamorning all08:02
zygare08:02
mvohey Chipaca, good morning08:02
fgimenezmvo: 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
fgimenezhey Chipaca08:03
zygapstolowski: 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 place08:03
mvoChipaca: maybe interessting for you - shellcheck in zesty gives me the following output  http://paste.ubuntu.com/24553330/08:03
zygamvo: yes, I'll prepare one shortly08:03
mvofgimenez: yes08:03
Chipacaoooohhh08:04
Chipacaoooooooooohhhh08:04
Chipacaoh08:04
Chipacasigh08:04
Chipacaread *with* -r misbehaves on 14.0408:04
mvozyga: 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
mvoChipaca: meh, then we can just turn this warning off :)08:04
Chipacaor was that only when combined with a timeout08:04
Chipacamvo: no, this might be the reason for a bug we've got :-)08:04
mvoChipaca: ohhhh08:04
mvoChipaca: interessting08:05
Chipacathat's what I said :-)08:05
mvolol08:05
* mvo hugs Chipaca08:05
* Chipaca hugs mvo right back08:05
mvozyga: and very excited that you have a fix almost ready, great news :)08:05
Chipacaif my memory serves (for once), it only misbehaves when combined with a timeout08:05
Chipacaand we don't do that, so this should be good08:05
ChipacaI'll give it a try08:05
Chipacamvo: thanks!08:05
Chipacamvo: wrt the last two warnings, I'll add a disably thing08:06
mvopstolowski: wooooh, 3119 landed! great job08:06
mvoChipaca: thank you08:07
pstolowskimvo, yeah :}08:07
mvopedronis: and good news for you as well, the new number of machines increased and a PR takes currently 30min for a full test run08:07
mvo(down from ~48min)08:07
zygamvo: doing that now08:08
zygamvo: https://github.com/snapcore/snapd/pull/329708:11
mupPR snapd#3297: overlord/ifacestate: don't spam logs with harmless auto-connect messages <Created by zyga> <https://github.com/snapcore/snapd/pull/3297>08:11
morphisSon_Goku: did you test if the removal of the snapd package on fedora removes everything from /var/lib/snapd?08:11
mupPR snapd#3297 opened: overlord/ifacestate: don't spam logs with harmless auto-connect messages <Created by zyga> <https://github.com/snapcore/snapd/pull/3297>08:11
mupPR snapd#3298 opened: interfaces/builtin: ensure we don't register interfaces twice <Created by zyga> <https://github.com/snapcore/snapd/pull/3298>08:11
Chipacamvo: I might be wrong, but I blocked snapd#329008:11
mupPR snapd#3290: add support for `snap install foo --channel=3.4` <Created by mvo5> <https://github.com/snapcore/snapd/pull/3290>08:11
Chipacamvo: just 'cause i'm ornery08:12
mvoChipaca: meh, branches08:12
zygamvo: can you consider https://github.com/snapcore/snapd/pull/3282 as well?08:12
mupPR snapd#3282: hooks: default timeout <Created by stolowski> <https://github.com/snapcore/snapd/pull/3282>08:12
Chipacamvo: basically missing a “and !strings.ContainsWotsit(mx.Channel, '/')”08:13
mvoChipaca: I have a look after 2.26, maybe its not so un-ambigious as the doc made me believe08:13
mvoChipaca: aha, ok08:13
Chipacapedronis: did you see those panics? (are you awake? :-) )08:13
zygapedronis: did you see08:13
zygaPANIC: snapstate_test.go:4416: snapmgrTestSuite.TestEnsureRefreshesAlreadyRanInThisInterval08:13
mvoChipaca: yeah, that is making sense08:14
zyga... Panic: sync: unlock of unlocked mutex (PC=0x809A45A)08:14
Chipacazyga: HAH! beat you to it08:14
zygamvo: ^^ (I'd also recommend to hold the release until we know what that is)08:14
mvozyga, Chipaca: where are those?08:14
=== arubislander1 is now known as arubislander
zygamvo: in tests, randomly, very often08:14
zygamvo: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-snappy-dev-image/xenial/i386/s/snapd/20170511_000455_63ba2@/log.gz08:14
=== arubislander is now known as Guest22573
zygafor instance here: https://github.com/snapcore/snapd/pull/305108:14
mupPR snapd#3051: interfaces: add consoles interface <Blocked> <Created by femdom> <https://github.com/snapcore/snapd/pull/3051>08:14
zygaChipaca: did you talk to pedronis already?08:15
zygaah08:15
zygaI see :D08:15
Chipaca:)08:15
* zyga is not awake yet08:15
* Chipaca offers some really nice coffee08:15
zygaChipaca: yes, I should get some08:16
zygaChipaca: after working late I could not sleep08:16
Chipacazyga: happens08:16
zygaChipaca: so I went on reading, then my son woke up because he wasn't feeling well08:16
zygaChipaca: so more stuff at 3AM08:16
* zyga is in Z state today08:16
didrocks(but as we saw with the ubuntu release name, after Z, there A)08:17
Chipacamvo: wrt the channel, i think it's unambiguous wrt lack of /08:17
mvoChipaca: cool08:17
abeato_zyga, hey, where can I find a list of what should be enabled in the kernel for UC?08:23
zygamvo: sorry for spamming here but:08:23
zyga/usr/lib/go-1.6/src/runtime/panic.go:44308:23
zyga  in gopanic08:23
zyga/usr/lib/go-1.6/src/math/rand/rand.go:6408:23
zyga  in Rand.Int63n08:23
zyga/usr/lib/go-1.6/src/math/rand/rand.go:20308:23
zyga  in Int63n08:24
zyga/tmp/autopkgtest.odhoEa/build.iw1/snapd/_build/src/github.com/snapcore/snapd/timeutil/schedule.go:10608:24
zyga  in randDur08:24
zygamvo: does that say that Rand.Int63n panics?08:24
zygaabeato_: no idea08:24
zygaabeato_: sorry :/08:24
zygaabeato_: I don't think anyone maintains a list08:24
zygaabeato_: we only have "clues"08:24
abeato_zyga, nw, the thing is that I remember having seen some sort of "bits" files that gave some clues08:24
Chipacazyga: DEBUG: host arch (kernel) is '1073741864'08:25
zygaChipaca: yes?08:25
zygaChipaca: that's seccomp's way of describing architectures08:25
Chipacazyga: is that a pointer getting printed as a string?08:25
zyga(yuck but expected)08:25
zygano, that's an opaque thing08:26
Chipacayuck08:26
zygayep08:26
zygaChipaca: I think there are some flags inside there too08:26
zygaanyway08:26
zygaChipaca: any insight into that trace above?08:26
zygaaha08:27
zyga    if n <= 0 {08:27
zyga        panic("invalid argument to Int63n")08:27
zyga    }08:27
zygaso rand *can* panic08:27
zygamvo: I think this is the bug:08:27
abeato_zyga, of these which should be included? : http://paste.ubuntu.com/24553511/08:27
zygafunc randDur(dur time.Duration) time.Duration {08:27
zyga    return time.Duration(rand.Int63n(int64(dur)))08:27
zyga}08:27
zygamvo: you convert this to int64 which is signed08:27
zygaabeato_: I really don't know08:27
Chipacazyga: the panics very much say it's about locking something twice08:27
zygaChipaca: locking is another issue (perhaps)08:28
abeato_zyga, ok ok :)08:28
zygaChipaca: but this is IMO wrong too08:28
Chipacaah08:28
Chipacasorry08:28
Chipacawhere's that coffee i talked about08:28
zygamvo: and then this:08:30
zyga    when := a.Sub(now) + randDur(b.Add(-5*time.Minute).Sub(a))08:30
zygahere we can call randDur with a negative duration08:30
zygawhen this happens we panic08:30
* zyga -> coffee08:30
Chipacalooks like that needs to be b-a-5m only if b-a>5m08:31
morphisSon_Goku: ok, remoable doesn't really work for me with your snapd package in testing08:32
Chipacamvo: zyga: i'll fix this :)08:32
zygathank you!08:32
* zyga thinks that with snapd architecture growing we could consider some better error resilience,08:33
zygalike not crashing the whole damn thing at once08:33
morphismvo: 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.xz08:40
morphismvo: is that intentional?08:40
mvomorphis: 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 same08:42
mvozyga, Chipaca: thank you08:42
mvoa second review for 3297 would be great08:43
* zyga looks08:43
zygaaww, drat08:43
zygaI cannot review my code08:43
zygapstolowski: ^^08:43
zygamvo: something you suggested https://github.com/snapcore/snapd/pull/3298/files08:44
mupPR snapd#3298: interfaces/builtin: ensure we don't register interfaces twice <Created by zyga> <https://github.com/snapcore/snapd/pull/3298>08:44
morphismvo: great, I am fine with both names, just wondered that is has changed with 2.2508:47
mvozyga: thank you!08:51
mvomorphis: ok, I will leave the 2.25 name then08:51
ogra_rharper, a safe bet is snap_core or snap_kernel from /proc/cmdline08:52
abeato_morphis, zyga I think you have seen this before: http://paste.ubuntu.com/24553598/ . Was there a kernel patch for this?08:52
morphisabeato_: possible08:55
abeato_it appeass here: https://bugs.launchpad.net/apparmor/+bug/165612108:55
mupBug #1656121: unexpected errno=13 and disconnected path when trying to open /proc/1/ns/mnt from a unshared mount namespace <verification-done-xenial> <verification-done-yakkety>08:55
mup<AppArmor:Confirmed> <linux (Ubuntu):Incomplete> <linux (Ubuntu Xenial):Fix Released> <linux (Ubuntu Yakkety):Fix Released> <https://launchpad.net/bugs/1656121>08:55
mupPR snapd#3297 closed: overlord/ifacestate: don't spam logs with harmless auto-connect messages <Created by zyga> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/3297>08:55
morphisabeato_: 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 that08:56
abeato_morphis, hmm, I see08:57
mupPR snapd#3299 opened: timeutil: avoid panicing when the window is very small <Created by chipaca> <https://github.com/snapcore/snapd/pull/3299>08:58
Chipacazyga: mvo: ^08:58
Chipacamvo: what're you up to?08:59
Chipacamvo: (want me to fix snapd/#3290 for you?)08:59
Chipacasnapd/329008:59
Chipacasnapd/#329008:59
Chipacamup: OI!08:59
mupChipaca: Unknown commands are unknown.08:59
Chipacasnapd#329008:59
mupPR snapd#3290: add support for `snap install foo --channel=3.4` <Created by mvo5> <https://github.com/snapcore/snapd/pull/3290>08:59
Chipacasigh...08:59
Chipacait's going to be a long day08:59
mupPR snapd#3296 closed: image: fix go vet issue <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3296>09:00
zygaChipaca: looking!09:00
mvoChipaca: yay, thank you!09:01
zygaabeato_: that probably tells you that /proc/1/ns/mnt does not exist09:01
zygaabeato_: is this a pre 3.8 kernel?09:01
zygaChipaca: we should really practice commit messages09:01
zygaChipaca: you cannot return 0 AFAIR09:01
Chipacazyga: why not?09:02
zygaChipaca: that function panics on zero too09:02
Chipacawhich function09:02
Chipacaah, rand.Int64n09:02
zygaChipaca: /usr/share/go-1.6/src/math/rand/rand.go on line 6409:02
Chipaca63n09:02
Chipaca*09:02
zygayp09:02
zygayep09:02
Chipaca<= then?09:02
zygarandom of 0 is pretty non random :D09:02
abeato_zyga, it does exist, it is 3.4 + ns patch, but maybe we miss something still09:03
Chipacafo sho09:03
zygawell, you cannot return 0 :)09:03
Chipacazyga: why can't i return 0?09:03
zygaabeato_: try stracing09:03
zygaChipaca: ahh09:03
Chipacazyga: the rand call is in the function i'm returning from09:03
zygaChipaca: sorry, I misread that09:03
zygaChipaca: yes, that's ok09:03
zygaChipaca: I thought this returns the input to randint,09:03
Chipacazyga: still need to change it to a <=09:03
zygabut it's not :)09:03
Chipacaadding a test09:04
Chipacatested, fixed, pushed09:05
* zyga looks at http://radio.garden09:05
zygaChipaca: thank you!09:05
mvoChipaca: ideally we would simply not allow windows smaller than 30min09:06
pedronisChipaca: ?09:06
Chipacapedronis: look at the logs zyga pasted (with a double mutex lock panic)09:07
pedronisthat's refresh.schedule stuff09:07
Chipacapedronis: good morning :-)09:07
Chipacapedronis: sorry, i thought they were all the same things09:07
pedronis?09:07
Chipacapedronis: but the one that's for you is the mutex double lock one09:07
Chipacalet me get the right one for you09:07
Chipacapedronis: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-zesty-snappy-dev-image/zesty/amd64/s/snapd/20170511_000322_edb35@/log.gz09:08
=== JanC is now known as Guest55043
=== JanC_ is now known as JanC
Chipacanot lock, unlock09:08
Chipacaw/e :-)09:08
pedronisChipaca: well we have some codes that can hit that09:09
Chipacais anybody else getting a "los glaciares national park" google doodle, or is google being extra creepy with me?09:09
zyga?09:09
zygaChipaca: no09:09
zygaChipaca: on google.co.uk?09:09
Chipacayes09:10
Chipaca(also in the chrome startup page)09:10
zygaChipaca: check out that radio thing, it's amazing :)09:10
Chipacamvo: so just make the schedule parser return an error?09:11
abeato_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
zygaabeato_: aha, I know what's going on09:11
mvoChipaca: either that or just enlarge it to 30min09:11
zygaabeato_: you found a bug :)09:11
mvoChipaca: but I guess for now this fine09:11
abeato_lol09:11
zygaabeato_: on older kernels it was not a link09:11
zygaabeato_: hmm hmm hmm09:11
mvoChipaca: we can do a followup09:12
zygaabeato_: let me wake up and think about this09:12
morphisabeato_: interesting09:12
mvoChipaca: I want 2.26 out :) so followup09:12
zygaabeato_: but if you can give me a way to run this locally to experimen09:12
zygaabeato_: I would appreciate that09:12
zygaabeato_: as a quick work-around do this:09:12
abeato_zyga, hmm... maybe I can give you remote access to the board09:12
zygaabeato_: comment-out the call to sc_reassociate_with_pid1_mount_ns in snap-confine.c09:13
zygaabeato_: that's good too09:13
zygaabeato_: perhaps we can discuss this on a private channel09:13
pedronisChipaca: what's the question,  the test does Unlock,  and will not relock under an unexpected panic09:13
morphiszyga: you have any reference to resources who talk about ns/mnt being changed to a symlink=09:13
morphiszyga: this really means we're still missing patches09:13
pedronisChipaca: I mean around Ensure09:13
zygamorphis: no, it's just changed in a future kernel version09:13
zygamorphis: it's even documented in namespaces(7)09:14
Chipacapedronis: 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:14
pedronisChipaca: it's a test trying to not get too fussy09:15
pedronisChipaca: there is nothing deep going on here09:15
pedronisjust read the code09:15
mupPR snapd#3300 opened: cmd/snap-confine: don't fail on pre 3.8 kernel <Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/3300>09:21
Chipacamvo: should i fix the --channel one for you?09:23
Chipacamvo: or do we bump it09:24
mvoChipaca: isn't that fixed, I thought I pushed a fix09:24
Chipacaah maybe i need to refresh09:24
pedronisChipaca: 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 test09:25
Chipacamvo: doesn't look fixed09:25
Chipacamvo: only one commit09:25
Chipacaohhhhh09:26
Chipacapedronis: this might actually be the same bug then :-)09:27
Chipacapedronis: i mean, this panic happens because the ensure panics09:27
Chipacaand the defer then kicks in and panics again?09:27
pedronisChipaca: yes09:27
Chipacaand the panic is inside rand, called from timeutil/schedule.go09:27
Chipacaso it _is_ the same thing :-)09:27
pedronisChipaca:  we lock defer unlock  then unlock then panic, the deferred unlock is not pleased09:28
Chipacawhee09:28
Chipacapedronis: then it's fixed already :-) (not on master yet but soon)09:28
Chipacapedronis: thank you09:28
pedronisChipaca: anyway it's a panic on panic as you noticed,  and at least with Unlock/Lock it will not deadlock09:29
mvoChipaca: hrm, test failure in snap auto mount test, looks like a flaky test, I have a look09:39
Chipacamvo: _did_ you push a fix to 3290?09:40
Chipacamvo: (no you didn't :-) )09:40
zygaChipaca: can you tell me why this failed perhaps? https://travis-ci.org/snapcore/snapd/builds/231080836?utm_source=github_status&utm_medium=notification09:40
* Chipaca looks09:40
zygaChipaca: the non-debug output is short and lacks data, the debug output is enormous and full of store stuff09:41
Chipacazyga: I don't know, but I do know that if that used MATCH instead of grep, we'd know :-)09:42
Chipacanow trolling the debug output09:42
mvoChipaca: ups, sorry, forgoten push09:42
Chipacamvo: :-)09:42
mvozyga: I approved 3300 but it appears like there are still issues09:45
zygathank you09:45
zygaI'm looking at that now09:45
mvozyga: aha, I see you are on it already09:45
mvozyga: thanks again09:45
Chipacazyga: mvo: wrt snapd#3299, I think it's flaky and restarting the test would be ok for now09:45
mupPR snapd#3299: timeutil: avoid panicing when the window is very small <Critical> <Created by chipaca> <https://github.com/snapcore/snapd/pull/3299>09:45
zygaChipaca: go for it!09:45
Chipacai also think the test is badly written, and will push a fix09:45
Chipacabut that fix can wait for post-2.2609:45
mvoChipaca: thank you - what do you have in mind to improve it (just curious)09:48
Chipacamvo: for now, just switch it to use MATCH09:49
Chipacaso we know why it failed :-)09:49
Chipacathe debug output looks very wrong, like something else was going on in parallel09:49
Chipacawhat should be the last thing in the log is way at the top09:49
Chipaca(the GET /v2/assertions/account-key)09:50
mvoChipaca: heh, very good point09:50
mvoChipaca: and agreed, the prepare is also doing much and the output of prepare is completly lost so +1 for improving the test09:51
mvoChipaca: 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 think09:54
pedronismvo: Chipaca: fwiw I agree we should have a minimal spread09:54
pedronisfor refreshes09:55
pedroniss/minimal/minimum/09:55
mvo+109:55
ogra_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
ogra_*without10:28
zygamvo: so I think the issue is solved10:28
mvoogra_: not yet, I will do 2.26 first and then have a look, I think its probably best to do this change after that10:38
mvozyga: oh, nice.10:39
ogra_mvo, ok10:39
mvozyga: so no fchdir() - do you still want to fix that?10:39
mvozyga: if so, I can wait a little bit longer, if that is the remaining blocker for this kernel10:39
zygamvo: not sure yet, I think this may be a bigger issue as I never tested this on a kernel this old10:42
zygaabeato_: ^10:42
zygaabeato_: do you want to cherry pick a fix into your kernel10:42
zygaabeato_: or would you see this as something that needs to change in snap-confine10:42
zygamvo: I need to do a survey of what else is failing on 3.4 hybrid10:42
mvozyga: ok10:42
abeato_zyga, if a cherry pick for the kernel fixes it, that is perfectly fne10:44
zygaabeato_: not sure how large the cherry pick is :)"10:45
zygaabeato_: who maintains your kernel?10:45
abeato_hehe, yeah, that i typically the issue10:45
abeato_zyga, shrirang I guess10:45
mupPR snapd#3299 closed: timeutil: avoid panicking when the window is very small <Critical> <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3299>10:47
zygaabeato_: ok, I'll refrain from changing anything more until you give me a ping10:48
abeato_ok10:48
* zyga lunch10:52
pedronispstolowski: snapd#3212 has two +1 but the tests failed/are failing11:20
mupPR snapd#3212: api, ifacestate: resolve disconnect early <Created by stolowski> <https://github.com/snapcore/snapd/pull/3212>11:20
ogra_ppisati, argh ... http://paste.ubuntu.com/24554186/11:23
ogra_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
zygamvo: is 2.26 tagged now? :)11:28
ogra_but ...11:28
ogra_ogra@pi3:~$ snap info pi2-kernel | grep edge11:28
ogra_  latest/edge:      4.4.0-1048-55 (28) 100MB -11:28
ogra_ogra@pi3:~$11:28
ogra_oh, wow ... the store UI shows rev30 in edge ...11:28
zygaChipaca: ^^11:29
ogra_ah, wait11:29
=== chihchun is now known as chihchun_afk
ogra_my browser has myapps.d.u.c open ...11:30
ogra_and thats also what i used to release it ...11:30
ogra_might be a bug in the old UI11:30
Chipacazyga: sorry, what?11:30
ogra_dashboard.snapcraft.io shows the samer the board shows on snap info11:31
zygaChipaca: discrepancy between snap info and store, I thought you might be interested11:31
ogra_zyga, well, the old UI is broken ... works fine when i release via dashboard.s.io11:31
ogra_we should force-redirect people11:32
ogra_(half my open browser tabs point to old myapps.* urls)11:32
Chipacalooks like i don't have store access to pi2-kernel11:32
Chipacaogra_: zyga: I don't know what'd happen if you used myapps to push snaps now11:33
Chipacahopefully nothing disastrous, but I don't know11:33
ChipacaFacu: do you?11:33
Chipacazyga: in any case, "discrepancy between snap info and store" makes no sense to my addled brain11:33
Chipacazyga: you mean SCA and CPI are inconsistent?11:34
* zyga has no idea11:34
zygadid I mention I didn't sleep long last night11:34
Chipacaogra_: can you pastebin the output of 'snapcraft list-revisions --arch armhf pi2-kernel' ?11:35
Facuhola Chipaca11:35
* Facu reads11:35
Chipacaogra_: and the output of 'snap info pi2-kernel' as well11:35
ogra_Chipaca, its a UI issue ...11:35
ogra_writing a forum topic now11:35
Chipacaogra_: 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/files11:36
mupPR snapd#3295: interfaces/builtin: make all interfaces private <Created by zyga> <https://github.com/snapcore/snapd/pull/3295>11:36
ogra_hehe11:36
Chipacazyga: i'm working through that11:37
* zyga hugs Chipaca and offers to haul some booze to portugal11:37
Chipacazyga: and licorea.es delivers to my house11:37
Chipaca:-)11:37
zyga:D11:37
* zyga looks11:37
Chipacaor was it .com11:37
Chipacazyga: .com11:37
zygaChipaca: what do you prefer?11:37
Chipacazyga: i was j/k11:38
pstolowskipedronis, oh, this failure looks a bit worrying, and unrelated to my change11:38
Chipacapstolowski: which failure?11:41
pstolowskiChipaca, https://travis-ci.org/snapcore/snapd/builds/231089319?utm_source=github_status&utm_medium=notification11:41
pstolowskipanic after retry, sync: unlock of unlocked mutex11:42
Chipacanice11:43
Chipacaand not related to rand :-)11:43
Chipaca(so it's not the one i fixed)11:43
ogra_Chipaca, Facu https://forum.snapcraft.io/t/myapps-developer-ubuntu-com-vs-dashboard-snaopcraft-io/54911:43
Chipacaogra_: when you say myapps, do you mean dashboard.snapcraft.io?11:44
Chipacaogra_: or do you actually mean myapps?11:44
ogra_Chipaca, no, i mean https://myapps.developer.ubuntu.com/dev/click-apps/557311:44
Chipacaah11:44
ogra_(thats the pi2-kernel snap)11:44
Chipacaright11:45
Chipacaogra_: sorry i hadn't finished reading :-)11:45
Chipacaogra_: in myapps, what series is the pi2-kernel snap?11:46
* ogra_ waits for the UI to reload 11:46
ogra_bah11:46
ogra_it redirected me now :P11:47
ogra_seems the "overview" like actually does a redirect ... but just reloading or going into one of the versions does not11:47
ogra_s/like/link11:47
Chipacaogra_: in the list of all your packages in myapps, it lists the series of the snap. what does it show for pi2-kernel?11:48
ogra_Chit doesnt show it at all11:49
ogra_Chipaca, ^^11:49
ogra_"Ubuntu Touch clicks and snaps for 15.04"11:49
Chipacaogra_: screenshot or it didn't happen11:49
Chipacabecause i'm seeing the series for everything, there11:50
ogra_it shows all 15.04 packages i own ...11:50
ogra_and says at the bottom "Your series 16 snaps can now be found at https://dashboard.snapcraft.io."11:50
Chipacaogra_: http://imgur.com/a/RQFnG11:51
Chipacaogra_: in the list of revisions11:51
ogra_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 redirect11:51
Facuogra_, do you see pi2-kernel in myapps?11:51
Chipacaogra_: it shows you the series11:51
Chipacaogra_: my question is, in that list of the pi2-kernel, what does it show11:51
ogra_Facu, not on the frontpage ... but in the myapps pages i have open i can still navigate around myapps11:51
Chipacaogra_: myapps is still active and functional for clicks and 15.04 snaps11:52
ogra_Facu, i guess there is simply no redirect on pages that are deeper down the tree11:52
ogra_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 channel11:53
ogra_Chipaca, ^^11:53
ogra_(geez ... cant get used to type three chars for tab completion )11:53
Chipacaogra_: how did you get to the old myapps site?11:53
Facuogra_, 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
ogra_Chipaca, it is open in my broiwser11:53
Chipacaogra_: you must have a terabyte of ram :-)11:54
Chipacabut ok11:54
ChipacaFacu: over to you :-)11:54
pedronispstolowski: seems there's a codepaht in retryPostRequestDecodeJSON that returns nil, nil ?11:54
ogra_Facu, it had it open and clicked on one of the versions ... did set a checkmark on a channel and went back to the overview11:54
ogra_Facu, so the version links should simply redirect me too ... seems the "overview" one already does11:54
Facuogra_, or at least give some error11:55
ogra_right11:55
Facuogra_, not leaving you with the impression "it worked"11:55
ogra_yeah11:55
ChipacaFacu: do myapps and the dashboard share a backend database?11:56
FacuChipaca, not sure11:56
* ogra_ adds a followup to the forum11:59
pstolowskipedronis, checking11:59
pedronispstolowski: the traceback seems to say we explode on auth.go:30612:00
* Chipaca poddles off to investigate lunch12:02
zygaChipaca: do it12:03
zygaChipaca: but beware12:03
zygaafter lunch all I want is sleep12:03
zygaand I think I will just do it12:03
Chipacai see no problem12:03
zygaI may miss standup if I succeed12:03
zygaif I do, I'll wake up and look at PRs and update-ns12:04
zygaI think release is in good hands12:04
zygaand apart from panick on unlock I think it's okay12:04
mvozyga: I'm about to finalize the release12:05
ppisatiogra_: what did you do to get that?12:12
ogra_ppisati, obviously running 4.4.0-1048-55  pi2 ... thats outrdated though, i guess you can ignore it12:12
ppisatiogra_: oh ok12:13
ogra_i only noticed later that the kernel was old .... i'tt shout if i see it with a newer one again12:13
ogra_*i'll12:13
ppisatiogra_: ack12:13
* Chipaca hugs mvo for being awesome (and because of read -r)12:13
Chipacait's the missing bit that makes in-snap tab completion purrfect12:14
Chipacai was dreading digging through it to figure this one out :-)12:14
pstolowskipedronis, i'm going to create a test to try reproduce12:22
ali1234ugh... why doesn't "snapcraft clean <part> -t <step>" work?12:26
pedronispstolowski: 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 30612:44
niemeyerHello all12:50
niemeyerHow's spread behaving this morning?12:50
niemeyerfgimenez: ^12:50
fgimenezhey niemeyer all good, the execution times have reduced to ~30min12:51
niemeyerfgimenez: Cool..  slightly over or slightly under?12:51
fgimenezniemeyer: about 10min lower12:52
niemeyerfgimenez: Sorry, I mean, slightly over 30 or sightly under 3012:52
pstolowskipedronis, i thought the same, but it's strange, we should be remembering and returning the most recent error12:53
fgimenezniemeyer: ah :) under, 28 or so, i hope to have proper metrics soon12:53
niemeyerfgimenez: Okay, that's great!12:54
niemeyerfgimenez: That means we can probably hit the 20 mins mark with another bump today12:54
fgimenezniemeyer: yep, the remaining 50% should put the build close to 20min12:55
niemeyerfgimenez: Can you please push another PR with that change?12:55
fgimenezniemeyer: sure on it12:55
niemeyerfgimenez: I'll keep an eye on resource utilization today and see whether we need more and how many12:55
niemeyerActually, we can probably guess the right number of machines from the Travis concurrency limit12:56
lazyPowerCorrect 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
lazyPoweri thought i recalled hearing about a path to do that, but i'm at a loss for finding it in the docs on snapcraft.io12:57
ChipacalazyPower: "snap try"12:57
lazyPoweraha! ty12:57
Chipacanp12:57
Chipacaso many mups!12:58
niemeyerUh?12:58
ogra_mupvasion!12:58
Chipacaniemeyer: one on ipv4, one on ipv612:58
niemeyerAh.. that explains it12:59
niemeyerNetwork is probably not so happy12:59
=== mup_ is now known as mup
ogra_network mupocalypse!13:00
mupPR snapd#3301 opened: spread.yaml: increase the number of linode workers by 1 <Created by fgimenez> <https://github.com/snapcore/snapd/pull/3301>13:04
niemeyermorphis: Standup?13:10
mupPR snapd#3302 opened: release: releasing package snapd version 2.26 <Created by mvo5> <https://github.com/snapcore/snapd/pull/3302>13:26
Chipacamvo: 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:47
mvoChipaca: yeah, that is my understanding of how this works too13:48
Chipacaok13:48
mvoChipaca: the controller lies to you but thats ok13:48
mvos/you/us/13:48
rharperogra_: thanks, I'll add that to the list13:50
mupPR snapd#3300 closed: cmd/snap-confine: don't fail on pre 3.8 kernel <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3300>13:54
zygahttps://github.com/snapcore/snapd/pull/3289 needs a 2nd review13:55
mupPR snapd#3289: daemon: do not allow to install ubuntu-core anymore <Created by mvo5> <https://github.com/snapcore/snapd/pull/3289>13:55
pstolowskipedronis, got a test which reproduced the panic; it's enough to have a host name for the store server that doesn't resolve13:59
zyga!14:00
zygawow14:00
pstolowskiand I think I've a fix. and I think (but need to verify) this problem is unique to this single case of retry14:02
pstolowskithe problem is err got shadowed14:03
zygapstolowski: don't we have a static analyzer that looks for variables that are assigned to but not used?14:08
pedronispstolowski: ah, the NewRequest line has :=14:08
pedronis:/14:08
zygais that something we want to fix for 2.26 ?14:09
pstolowskipedronis, yeah...14:09
pedronispstolowski: := creates all new variables14:10
pstolowskizyga, it is used.. the func is defined as func(..) (err error, resp Response)14:10
pstolowskipedronis, yeah I know. oversight.14:10
pedronispstolowski: was this code new in 2.25 ?14:11
pedroniszyga: mvo: we might need a 2.25.114:11
pedronispstolowski: so we were missing tests, for exiting on timeout of retries ?14:12
pstolowskipedronis, I need to check this still14:12
pedronispstolowski: the code in store.go does have this problem it seems, only auth.go14:13
pstolowskipedronis, yes I think so, but I'll add a test to store too14:13
pedronispstolowski: code seems to have been already there in 2.23 at least14:17
pstolowskipedronis, yes, commits are from Jan 2714:18
pedronisit's not a regression but if I understand correctly it's also not very nice14:18
pstolowskiyes it's pretty bad actually14:18
pedronispstolowski: I let you and mvo decide what to do14:19
pstolowskiif you ask me, I'd include the fix in this release... now sure how much hassle that is for mvo14:20
mupPR snapd#3303 opened: store: fix panic error in auth <Created by stolowski> <https://github.com/snapcore/snapd/pull/3303>14:41
pstolowskipedronis, mvo ^14:41
mvopstolowski: cool, looking14:42
mvopstolowski, pedronis: a 2.26.1 works for me, let me check the fix14:43
mvopstolowski: woah, how does this happen?14:46
zygamvo: this looks like a bug I fixed in the interface code a few months ago14:47
zygamvo: the same pattern14:47
fgimenezmvo: 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
pstolowskimvo, err got shadowed... the test panics the same way without the fix14:48
morphisniemeyer: sorry, was out around that time today, told zyga yesterday14:48
mvopstolowski: ohhh, shadowing. that makes sense14:48
mvofgimenez: sure, I have a look now14:49
mvofgimenez: could we simply switch --dvmode to --classic in the test to fix the error?14:50
fgimenezmvo: i think so, let me check14:50
mvofgimenez: thank you14:50
mvofgimenez: we need to do 2.26.1 anyway now if all our tests are broken14:57
mvofgimenez: which is slightly annoying because the older spread-cron runs will also break now, no?14:57
mvofgimenez: so maybe we need to ask foundations to revert this14:58
fgimenezmvo: np for spread-cron, most of the executions have finished but yes, with errors14:58
pstolowskimvo, sorry for adding more work with .1 :(14:59
mvohey sil2100, good afternoon14:59
sil2100Hey o/14:59
mvosil2100: quick question, it looks like ubuntu-image has changed to classic confinement recently?14:59
sil2100mvo: yes, after some discussions with various people barry thought that it's more fitting for this confinement15:00
mvosil2100: 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 odd15:00
mvofgimenez: can we fix spread-cron easily to use --classic when we generate the images?15:01
sil2100https://bugs.launchpad.net/ubuntu-image/+bug/163864515:01
mupBug #1638645: Make ubuntu-image a classic snap <Ubuntu Image:Fix Released by barry> <https://launchpad.net/bugs/1638645>15:01
sil2100This is the relevant bug15:01
mvosil2100: thank you. let me read it15:01
fgimenezmvo: sure np, we also need to fix snapd's prepare https://github.com/snapcore/snapd/blob/master/tests/lib/prepare.sh#L17715:02
mvosil2100: 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 bug15:04
mvofgimenez: yeah, I will do that now15:04
fgimenezmvo: great thanks!15:04
mvofgimenez: it breaks all branches currently15:04
mvofgimenez: and our spread-cron and other tests use a different prepare than the one in our snapd git, right?15:05
morphisPharaoh_Atem: ping15:07
mupPR snapd#3304 opened: tests: the new ubuntu-image snap needs classic confinement, adjust tests <Created by mvo5> <https://github.com/snapcore/snapd/pull/3304>15:07
Pharaoh_Atemmorphis: pong15:07
fgimenezmvo: 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 instance15:07
morphisPharaoh_Atem: you saw my comments on bodhi?15:08
sil2100mvo: ok, no problem! I guess we're open to suggestions regarding that15:08
mvopstolowski: no worries, this is a reason we need 2.26.1 anyway I think so all is good15:09
Pharaoh_Atemmorphis: yeah, I'm going to fix it asap and push a new build15:09
mvopstolowski: this being the uubntu-image fallout15:09
pstolowskiok15:10
Pharaoh_Atemmorphis: what files are created by snapd to manage things?15:10
morphisPharaoh_Atem: thanks!15:10
Pharaoh_AtemI can add them as %ghost files so that rpm deletes them correctly15:10
sil2100mvo: 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 /tmp15:10
Pharaoh_Atemmorphis: is it just /var/lib/snapd/state.json, or are there other things?15:11
morphisPharaoh_Atem: other things too15:11
mvosil2100: yeah, the /tmp being a tmpfs is certainly annoying for the u-i use-case15:11
Pharaoh_Atemmorphis: do you have a list?15:11
morphisPharaoh_Atem: it looks like even the directories the rpm ships aren't cleared15:11
ogra_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 core15:11
morphisPharaoh_Atem: there is no "purge" option for dnf, right?15:11
Pharaoh_Atemapt's purge comes from dpkg, so no15:11
morphisok15:11
morphisPharaoh_Atem: I can give you a list later, currently15:11
Pharaoh_Atemthat'd be helpful15:12
morphismy system is loaded :-)15:12
Pharaoh_AtemI can `%ghost` all the files that snapd itself creates so that on final uninstall, rpm clears them15:12
niemeyermorphis: No worries!15:14
morphisPharaoh_Atem: ok, let me give you the list and we can fix that15:16
Pharaoh_Atemexcellent15:16
morphisPharaoh_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 it15:16
Pharaoh_Atemmorphis: that's the plan :)15:19
morphisPharaoh_Atem: great :-)15:19
Pharaoh_AtemI'd like to minimze what this script does as much as possible because I want the package manager to be as aware as possible15:19
sil2100mvo, ogra_: could anyone of you open a bug for it for discussion?15:19
morphisogra_: did you ever try to boot one of our armhf core images in qemu?15:23
ogra_morphis, well, on what HW emulation ?15:24
ogra_does our qemu have any Pi or dragonboard emulation ?15:24
morphisogra_: just did a first attempt to boot a pi3 image15:24
morphisogra_: good question, was looking which could be used15:25
ogra_i dont think there is15:25
ogra_there is something for an early beagleboard (not bone)15:25
morphishm15:26
ogra_but thats srtill omap i think15:26
morphis-M vexpress-a9 -cpu cortex-a9 might be a start but not for the pi images15:26
morphiswe would need a more common kernel snap15:27
ogra_sil2100, mvo i opened https://bugs.launchpad.net/ubuntu-image/+bug/1690170 ... mvo might be good if you could also add soemthing15:28
mupBug #1690170: classic confinement makes running ubuntu-image inside UbuntuCore images impossible <Ubuntu Image:New> <https://launchpad.net/bugs/1690170>15:28
sil2100ogra_: thanks15:28
morphisogra_: https://wiki.ubuntu.com/Kernel/Dev/QemuARMVexpress suggests the lpae kernel should do the job15:29
ogra_morphis, well ... vexpress15:29
ogra_you'd need a kernel and gadget for that15:29
morphisright15:29
ogra_and it will crawl15:29
morphishm15:29
ogra_not sure thats worth the effort (unless it improved massively since i used it last ... which is admittedly a while ago)15:30
pstolowskioh my15:31
morphisjust 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 too15:31
pstolowskiso my DNS test fails differently on travis than locally :/15:31
fgimenezmorphis: 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 look15:31
ogra_you should be able to us4e kvm on arm64 ...15:31
pstolowskierror string = "cannot query the store for updates: got unexpected HTTP status code 503 via POST to \"http://nonexistingserver909123.com/updates/\""15:31
ogra_but i'm not sure how the armhf emulation on top of that is15:31
morphisogra_: we get armhf only binaries delivered we have to use15:31
morphisfgimenez: nice! will have a look15:31
pstolowskiinstead of ""Post http://nonexistingserver909123.com/updates/: dial tcp: lookup nonexistingserver909123.com on .*: no such host" locally15:31
ogra_morphis, yes, i meant an armhf kvm on top of an arm64 server15:32
morphisah15:32
pstolowskiChipaca, hey, do you have any idea why this could be? ^15:32
ogra_morphis, i know we use kvm for the arm64 buildds ... perhaps wgrant knows if it is possible to use armhf machines on that15:32
morphisfgimenez, ogra_: http://blog.3mdeb.com/2015/12/30/emulate-rapberry-pi-2-in-qemu/15:32
ogra_ah, a patch :)15:33
morphisfgimenez: see you're using -M raspi2, were you using this tree for qemu?15:33
niemeyerpedronis: On it15:34
pedronisniemeyer: thx, sorry for wrong channel15:34
niemeyerpedronis: np, I didn't realize I was replying in a different channel, sorry15:34
Chipacapstolowski: what do you mean?15:34
Chipacait's not resolving15:34
Chipaca¯\_(ツ)_/¯15:34
niemeyerpedronis: (read in the pop up)15:34
fgimenezmorphis: nope, qemu from the archive, afaik the (partial) support is available from 2.6? need to check15:35
ogra_ooh !15:35
ogra_now thats cool15:35
morphisfgimenez: but you didn't used xenial, right?15:35
morphisdidn't saw a raspi machine on the xenial qemu15:35
pstolowskiChipaca, it's not resolving when run locally, but gives 503 on travis (?!)15:35
pedronispstolowski: because there's a proxy setup15:36
pstolowskiChipaca, see my comment to https://github.com/snapcore/snapd/pull/330315:36
mupPR snapd#3303: store: fix panic error in auth <Created by stolowski> <https://github.com/snapcore/snapd/pull/3303>15:36
pstolowskiahh15:36
fgimenezmorphis: no, yakkety15:36
morphisfgimenez: ah15:36
pedronispstolowski: so you get the 503 (from the proxy)15:36
pstolowskiright15:36
pstolowskiin that case I've no better idea than to dumb the check to only see if err != nil15:37
niemeyerpedronis: Done15:37
morphisogra_: ok, current git tree of qemu has the raspi machine15:38
ogra_make a snap ;)15:38
Chipacapstolowski: I'm going to ahead and guess that there's an http proxy that 503s when it can't resolve15:39
morphisogra_: you can read my mind :-)15:39
Chipaca(when using an http proxy the client isn't the one doing the dns lookup)15:39
ogra_*g*15:39
Chipacaah, what pedronis said15:39
Chipacasorry for the latency :-)15:40
pedronispstolowski: does snapd#3120 needs a test rerun or a new merge with master?15:40
mupPR snapd#3120: interfaces/hooks: expose attrs to the interface API, snapctl enhancements (step #4) <Created by stolowski> <https://github.com/snapcore/snapd/pull/3120>15:40
pstolowskiChipaca, yep. thanks15:40
pstolowskipedronis, no, its spread test needs some work. I abused content interface there for a test, and what I did there needs changing15:43
niemeyerLunch here15:44
morphisPharaoh_Atem, zyga: 2017/05/11 17:47:26 Successful tasks: 8915:49
Pharaoh_Atem?15:49
morphisPharaoh_Atem, zyga: we're coming close to 100 working spread tests on Fedora :-)15:49
Pharaoh_Atemah15:49
Pharaoh_Atemnice15:50
zygamorphis: very nice; I'd like to discuss how we are going to support testing that is cross distribution15:51
zygamorphis: I'd love to see your branches for that15:51
zygamorphis: we need something that is scalable15:51
morphiszyga: right15:51
mupPR snapd#3304 closed: tests: the new ubuntu-image snap needs classic confinement, adjust tests <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3304>16:10
zygamvo: master is good again, we can merge it into failed PRs16:11
Chipacazyga: Q:    cat /var/lib/snapd/apparmor/profiles/snap.test-snapd-devmode.test-snapd-devmode | grep attach_disconnected | grep -v complain16:34
Chipacazyga: you're wanting to check that nothing that has attach_disconnected has complain?16:34
Chipacazyga: (also there's a bug in this test where apparmor is checked for @complain)16:35
naccis there a store way to say that a given snap has been replaced by another (and have end-users automigrate)?16:39
=== kenvandine_ is now known as kenvandine
* zyga tries to parse Chipaca's question16:40
Chipacaoh dear, store is taking a break16:40
zygaChipaca: why would I want to check that nothing that has attach_disconnet has complain?16:40
Chipacazyga: i dunno! you wrote the test :-)16:40
zygaah, which test is that?16:41
Chipacaregression-jailmode-164188516:41
zygaso the first grep just gives us the right line16:41
zygathe second test is checking for the interesting part16:41
* zyga looks 16:41
ogra_hmm16:42
ChipacaFacu: is CPI AWOL?16:42
zygaChipaca: indeed, I see the bug16:42
ogra_where is my channel info gone ?16:42
ogra_http://paste.ubuntu.com/24555462/16:42
Chipacaogra_: CPI is not responding16:42
ogra_ouch16:43
* zyga drinks to CPI16:43
ogra_oh, beer time!16:43
mvozyga: thank you, just returned from dinner, checking out the sttaus now16:43
zygamvo: the status may be ^^ bad16:44
mvozyga: yeah, just noticed16:44
mvojinxed again16:44
mvosound like I can extend my dinner ;)16:44
mvoat least tests are pretty fast now16:44
zygaChipaca: sorry for asking dumb question but what is about that test?16:44
ogra_"i got fat because of bugs"16:44
zygaChipaca: I get that the seccomp part is bogus16:44
zygaChipaca: (fixed locally)16:44
Chipacazyga: I'm in the middle of fixing a bunch of those, can do this in drive-by16:45
Chipacazyga: it's just a s/apparmor/seccomp/ in te path, right?16:45
zygaChipaca: the apparmor part is as you predicted, we want to check that the profile is not in complain mode16:45
zygaChipaca: yes16:45
zygaChipaca: if you fix that I can remove my branch now :)16:45
Chipacayes16:45
zygaChipaca: can you please also git mv the test to regression/ ?16:45
Chipacait's already fixed here :-)16:45
zygathanks!16:45
* zyga would like to see PR count drop below 20 today16:46
mupPR snapd#3302 closed: release: releasing package snapd version 2.26 <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/3302>16:47
mupPR snapd#3305 opened: release: snapd 2.26 <Created by mvo5> <https://github.com/snapcore/snapd/pull/3305>16:48
mupPR snapd#3306 opened: tests/main: move a bunch of greps over to MATCH <Created by chipaca> <https://github.com/snapcore/snapd/pull/3306>16:50
Chipacazyga: ^16:50
* zyga nice, looking16:51
Chipacahttp://status.snapcraft.io/16:51
zygaLOL16:51
zygamvo: ^16:51
zygamvo: look at that with umatrix16:51
kyrofanoise][, 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
kyrofaAre there known issues right now?16:54
Chipacakyrofa: store is down16:54
Chipacakyrofa: see status.snapcraft.io16:54
kyrofaHuh, so it is16:54
noise][Chipaca: apparently a lot of stuff down16:54
Chipacanoise][: yeah16:55
Chipacabah16:55
Chipacathings like ubuntu.com :-)16:55
Chipacapsh16:55
Chipaca:-D16:55
kyrofaAs soon as I post a call for testing! Hahaha16:55
Chipacakyrofa: so it's *your* fault!16:55
ogra_Chipaca, ubuntu.com isnt down ... i still get a proper 503 page :P16:56
kyrofaHahaha16:56
zygaoh16:56
zygasomeone tripped over the wrong cable?16:56
ogra_or took it with him when leaving16:57
zygaChipaca: grep -c, what does it count?16:59
zygamatches?16:59
Chipacamatching lines16:59
Chipacaecho aaa|grep -c a == 117:00
zygaah, I see17:00
ogra_equivalent to "grep | wc -l"17:01
zygaone day someone will write a shell that contains a static anaylzer that rewrites stuff like "grep | wc -l" into proper optimized code17:02
zygaall the core utilities have grown over time, to accumulate more and more options17:02
zygaas optimization for what we do17:02
Chipacathat's like saying that one day we'll sit down with the openbsd guys and unify everything17:03
Chipacatheir 'morse' program is so much cooler than the one in ubuntu17:03
kyrofaHave we tweeted that we know the world is broken?17:04
zygaChipaca: no, we would never do that17:04
zygaChipaca: but a program might17:05
zygakyrofa: my twitter is broken17:05
kyrofazyga, THAT cable TOO?17:05
ogra_... -. .- .--. .--. -.--17:05
Chipacaogra_: https://www.freebsd.org/cgi/man.cgi?query=morse&sektion=6&manpath=FreeBSD+6.4-RELEASE17:06
ogra_hah, cool17:06
Chipacasee?17:06
Chipaca:-)17:06
zygais that in CVS?17:06
zygaactually nice :)17:07
jdstrandnoise][, nessita: fyi, getting 503 going to https://dashboard.snapcraft.io/dev/snaps/reviewer/17:07
kyrofajdstrand, yeah everything is busted17:07
Chipacaogra_: I especially like the bit in HISTORY17:07
ogra_jdstrand, so better go to www.ubuntu.com then17:07
ogra_:P17:07
zygais there a morse-modem so I can connect my PCs with pc-speakers and microphones and setup IP over that?17:07
Chipacaogra_: where people sign with their callsigns17:07
zygajdstrand: it's broken17:07
jdstrandnoise][, nessita: seems you probably already know that. ignore me17:07
noise][there's a major network outage affecting multiple services17:07
zygajdstrand: status.snapcraft.io17:07
jdstrandok17:08
noise][i posted to the forum as well17:08
Chipacaanyway, 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 systems17:08
ogra_farnsworth support !17:08
zygaChipaca: yeah :/17:08
zygaChipaca: I think that's the best to do17:08
zygaI'll finish with your PR and I'll call it a day17:08
zygawhen the boat is on fire, you just take a swim and let others mend the fire ;)17:09
Chipacazyga: teamwork \o/17:09
mvozyga: heh, funny indeed, let me whitelist some things17:13
mvozyga: autsch, the status is slightly depressing17:13
zygamvo: thank you!17:13
zygamvo: on the upside, nobody will download the release anyway17:14
mvozyga: enjoy, I will see if I can do 2.26.1 today, if not, well, tomorrow morning17:14
mvozyga: hahahaa17:14
zyga:)17:14
* zyga goes over some PRs17:14
mupPR snapcraft#1310 closed: tests: use C.UTF-8 for the docker locale <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1310>17:15
zygadrat, we have 26 PRs again17:18
zygamvo: I think you can override-merge https://github.com/snapcore/snapd/pull/330117:18
mupPR snapd#3301: spread.yaml: increase the number of linode workers by 1 <Created by fgimenez> <https://github.com/snapcore/snapd/pull/3301>17:18
mvozyga: yeah, why not17:19
zygawow, chipaca did review https://github.com/snapcore/snapd/pull/3295 :D17:19
mupPR snapd#3295: interfaces/builtin: make all interfaces private <Created by zyga> <https://github.com/snapcore/snapd/pull/3295>17:19
zygaawesome!17:19
mupPR snapd#3301 closed: spread.yaml: increase the number of linode workers by 1 <Created by fgimenez> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3301>17:19
zygamvo: so it still doesn't work (in fact more services are down)17:42
zygamvo: I pushed fixes to several branches, did some more code reviews17:42
niemeyerNeed to step out for ~1h..17:42
zygamvo: and I think it's the best time to stop17:42
zygain the evening I'll check back and push udpdate-ns as all-in-one17:42
cratliffAre there any plans for the catkin plugin to use catkin build instead of catkin_make?  If not, would this be a welcome change?17:44
kyrofacratliff, yeah I like catkin build as well18:10
kyrofacratliff, but it's not the standard-- I'm not sure what kind of ramifications moving to it would have18:10
kyrofacratliff, would love to hear your thoughts18:11
cratliffkyrofa:  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 feature18:15
pstolowskiis something terribly broken in master or with linode right now? got plenty of errors with my fix-panic branch18:15
ogra_pstolowski, could they be related to the datacenter outage ?18:16
kyrofacratliff, yeah it's a bit more reminiscent of rosbuild, back in the fuerte days18:16
ogra_(seems to all be up again now, but it lasted quite a while and affected a lot of services including store)18:16
pstolowskiogra_, dunno, i wasn't aware of it18:17
kyrofacratliff, 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 out18:17
cratliffWould 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:19
kyrofacratliff, might be easy to start that way. As an end user, what specifically would you notice? Just an increase in build speed?18:21
kyrofacratliff, 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
kyrofaIf their API breaks, so does the plugin until we fix it18:24
kyrofacratliff, 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 there18:30
cratliffkyrofa: 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:30
kyrofacratliff, indeed, that's something snapcraft needs to improve generally18:32
kyrofa(definitely on the roadmap)18:33
kyrofacratliff, indeed, it looks like the migration from catkin_build_isolated is incredible straight-forward18:36
kyrofacratliff, is that something you're interested in doing, then?18:36
kyrofaI'd be happy to help you learn the codebase/get tests running etc.18:37
cratliffkyrofa, cool, I might be able to start on it next week depending on other responsibilities.  That would be great.18:38
kyrofacratliff, I'm in the PST timezone. Just ping me :)18:38
cratliffkyrofa, sounds good. I'm in EST.18:39
kyrofaEasy then! I look forward to working with you18:39
kyrofapedronis, can I use private snaps in a model assertion?18:40
kyrofazyga, perhaps you know? ^^18:53
kyrofanoise][, status.snapcraft.io is all green, but I still can't refresh (same error)18:56
noise][kyrofa: the api server is reachable but getting hammered right now, we're working on it18:57
jdstrandzyga: fyi, this was pointed out to me: https://tingping.github.io/2017/05/11/flatpak-theming.html18:58
jdstrandzyga: 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 theme18:59
jdstrandzyga: 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:01
jdstrandzyga: 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 snap19:02
jdstrandzyga: ok, going back to other work, but thought I'd pass that along :)19:02
pedroniskyrofa: 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 snaps19:20
kyrofapedronis, very good, makes sense, thank you :)19:21
pedroniss/private snapd/private snap/19:21
mupPR snapd#3303 closed: store: fix panic error in auth <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3303>19:43
Facusergiusens_, 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/168616219:47
mupBug #1670471: Bad message after failed release <Snapcraft:Fix Committed by facundo> <https://launchpad.net/bugs/1670471>19:47
mupBug #1686162: Support "branch"es in Store responses <Snapcraft:Fix Committed by facundo> <https://launchpad.net/bugs/1686162>19:47
kyrofaHey jdstrand, seeing these on an lxc host with a guest running the nextcloud snap. Are they of concern? http://pastebin.ubuntu.com/24556341/19:49
kyrofaThat's during an upgrade19:52
kyrofajdstrand, and I'm hitting weird issues when upgrading (hook failures), so I'm wondering if that could be the cause19:53
kyrofajdstrand, opened this topic: https://forum.snapcraft.io/t/cannot-update-to-revision-introducing-configure-hook/55619:54
kyrofaThis actually might explain why other snap updates have not gone so smoothly on lxc. I always had to reboot to get it up and running19:55
jdstrandkyrofa: the stdout is fixed in master and for sure in 2.26. /me checks 2.2520:01
jdstrandkyrofa: yes, and 2.2520:02
kyrofajdstrand, would that explain the hook failure I'm seeing?20:02
jdstrandkyrofa: that denial should be harmless. the systemctl denial would cause things to fail I suspect. it is probably trying to manage its daemon's service20:03
kyrofajdstrand, darn, so those are the weird log-missing denials I reported before, huh? So something else is happening on lxc with hooks20:03
kyrofaSomething weird happens when snaps update on lxc. Not sure what, though20:04
jdstrandkyrofa: 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 systemctl20:08
jdstrandand that's a no no20:08
kyrofajdstrand, yeah I'm probably trying to stop it incorrectly, but it still seems to work fine, so also non-fatal20:08
jdstrandyou might mention that in the forum, since I said it could be fatal20:09
jdstrandit depends on the snap, etc20:09
jdstrandkyrofa: ok, I responded again just now20:11
Facusergiusens_, 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:43
kyrofaFacu, wireshark20:53
kyrofa(in seriousness, no, debug output doesn't include network exchanges)20:53
Facukyrofa, the ultimate tool, but was searching for something simpler20:53
Facukyrofa, thanks!20:53
kyrofaFacu, although if you up the urllib logging you might get some20:54
kyrofaOr... requests20:54
kyrofaFacu, yeah, look at snapcraft/internal/log.py20:56
kyrofaFacu, the requests lib was ratcheted down to INFO because it's so noisy20:56
kyrofaModify that and you should see all sorts of stuff20:56
Facukyrofa, thanks!20:58
zygajdstrand: reading21:21
zygajdstrand: interesting concept, thank you!21:21
mupPR snapd#3305 closed: release: snapd 2.26 <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3305>21:28
mupPR snapd#3298 closed: interfaces/builtin: ensure we don't register interfaces twice <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3298>21:52
Pharaoh_Atemwtf21:55
Pharaoh_Atemwe're now on 2.26.1?!21:55
zygaPharaoh_Atem: yep21:57
Pharaoh_Atemwelp21:57
zygaPharaoh_Atem: we found a but that may end up in panic so mvo did another release21:58
Pharaoh_Atemdue to that datacenter outage, 2.25 never got pushed fast enough to be released21:58
Pharaoh_Atemso I guess I'll just yank it for 2.26.1 once morphis gives me that list of things21:58
zygaPharaoh_Atem: I don't know if the outage affected 2.2522:01
zygaPharaoh_Atem: I think we'll see 2.25.1 too22:01
zygaPharaoh_Atem: as one of the issues we found was there since 2.2322:01
Pharaoh_Atemoh dear22:01
Pharaoh_Atemthat's not good22:01
zygaPharaoh_Atem: (but tomorrow :)22:02
zygasoon :)22:02
* zyga pushed update to https://github.com/snapcore/snapd/pull/3295/files22:02
mupPR snapd#3295: interfaces/builtin: make all interfaces private <Created by zyga> <https://github.com/snapcore/snapd/pull/3295>22:02
zygathat's my scaries PR ever :)22:02
* Pharaoh_Atem shrugs22:02
Pharaoh_Atemit's not that bad22:02
Pharaoh_Atemyou're just rewriting all the calls to every interface ever22:02
zygahahaha22:02
zygaand tests :)22:03
Pharaoh_Atemthat's implied :)22:03
zygabut the outcome is very positive22:03
Pharaoh_Atemis it?22:03
Pharaoh_Atemwhat does it mean?22:03
zygaI found some nastiness by doing that22:03
zygaI didn't finsh them today but I have some more cleanup piled up22:03
zygaso that tests are better and more uniform22:03
zygaI found, mostly, copy-pasted mistakes22:03
mupPR snapcraft#1299 closed: asset-tracking: save the dependencies of build packages <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1299>22:28
mupPR snapd#3212 closed: api, ifacestate: resolve disconnect early <Created by stolowski> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3212>23:09
mupPR snapcraft#1311 opened: add missing VCS dependencies to HACKING.md <Created by felicianotech> <https://github.com/snapcore/snapcraft/pull/1311>23:31
mupPR snapcraft#1303 closed: kernel plugin: slightly improve the messaging of check_config() <Created by piso77> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1303>23:46

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