/srv/irclogs.ubuntu.com/2019/05/09/#snappy.txt

mborzeckimorning05:07
zygaHey hey05:08
zygaWill you have a moment to look at my reasoning today?05:09
zygaAs soon as the kids go to school we could have a quick call05:09
mborzeckizyga: hey05:10
mborzeckizyga: sure, ping me05:10
zygaAlso https://github.com/snapcore/snapd/pull/6796 is simple and I have more later :/05:10
mupPR #6796: cmd/snap-update-ns: add no-op load/save current user profile logic <Created by zyga> <https://github.com/snapcore/snapd/pull/6796>05:10
zygaok, both kids are handled now05:51
zygamborzecki: https://meet.google.com/rug-kzid-ewz?authuser=005:52
mborzeckizyga: ok, let me get some coffee05:57
zygasure, thank you05:58
mupPR snapd#6829 closed: devicestate: use deviceCtx in checkGadgetOrKernel <Remodel :train:> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6829>06:46
zygahttps://github.com/zyga/hello-cuda06:47
pedronismvo: hi, #6833 is the next one in the series, is actually the refactoring about creating models in tests I started Friday (that derailed me a bit)06:53
mupPR #6833: many: introduce assertstest.SigningAccounts and AddMany test helpers <Remodel :train:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/6833>06:53
pedronismvo: I'm going to merge 6776, it will be turned into calls to remodel ctx methods soon06:58
mvopedronis: ok, I will check 6833 hopefully this morning06:59
=== pstolowski|afk is now known as pstolowski
pstolowskimorning06:59
mupPR snapd#6776 closed: devicestate: set "new-model" on the remodel change <Remodel :train:> <Simple πŸ˜ƒ> <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/6776>06:59
mvopedronis: about 6776> sounds good, will you work on the rmeodel ctx method transition or shall I?07:00
mvopedronis: having it will make the kernel-remodel PR much smaller, so thats nice07:00
zygamvo: we fixed it07:02
zygamvo: wooooot07:02
zygathe bug is real, it's easy to fix and it's well understood now07:02
mvozyga: \o/07:02
mvozyga: is it a kernel bug?07:02
zygano, my bug :)07:02
zygabut very elusive, you'll see soon07:03
* zyga is euphoric 07:03
zygaI'll chop the fixes up and start sending it right away07:04
zygakenvandine: I've fixed a massive bug relating to layouts, content and magic-it-is-broken-bugs07:04
zygathat explains a lot of things not working :D07:04
mvozyga: is this a 2.39.1?07:04
zygamvo: yes, we should07:04
zygait will help everyone on the desktop07:04
zygamvo: the fix is small07:04
zygaso should be fine, I'll start preparing branches07:04
zygamvo: it's really this:07:04
zygawhen we mount tmpfs we don't set propagation so it stays private07:05
zygathat's all :)07:05
zygathis applies to layout tmpfs and mimic tmpfs07:05
zygamborzecki and me just spent last hour debugging it in a live pair programming session07:05
zygamborzecki thank you so much for helping :)07:05
mborzeckimvo: hey07:05
mborzeckizyga: not sure i helped much though :)07:06
zygamvo: so the nvidia state is not only great but also working reliably now :)07:06
mborzeckipstolowski: hey to you too :)07:06
pstolowskio/07:06
mvozyga: cool07:08
mvohey mborzecki and pstolowski07:08
mvozyga: can we spread test this somehow?07:08
zygaYes07:09
mvozyga: excellent07:10
pedronismvo: sorry, I will work on the remodel methods translation, my next task is actuall implementing brand store switch for real07:10
mvopedronis: excellent, thanks07:10
mvopedronis: just wanted to double check if I can help you in this specific task07:10
zygamvo: though with some loopholes because of per user mount namespaces07:10
zygamvo: but yes; we can test this07:10
mvopstolowski: I reviewed 6793 - do you think a unit test cmd_debug_timings_test.go for a followup would be hard? just something simple?07:11
mvozyga: cool!07:11
pedronismvo: we need a follow up anyway because of the discussion about having an artificial line to make the ensure bits more like the change bits07:12
pstolowskimvo: yes, i was thinking about that, some rudimentgary unit tests would be good to have, will do in a followup07:12
pedronispstolowski: but with the branch we can gather data on the pis which would be great07:13
pstolowskiyes07:14
mvopstolowski: great! I +1 as not having this test is not a regression and we can fix in a followup :)07:19
pstolowskity07:19
zygaSaviq: hey07:22
zygaSaviq: I think I also fixed the bug that was affecting mir07:22
zygathe one you asked me about a few weeks ago07:22
zygathis is the bug of the month for me :)07:23
* zyga reports bugs to begin working on regression tests to begin chopping fixes into patches07:23
Saviqzyga: got a bug#? :)07:23
zygaSaviq: I'm reporting it now07:23
zygaSaviq: but this is when you wanted to share mir backend drivers with mir and then share mir stack + backend driver to apps07:24
zygaI know why this is broken now07:24
SaviqOh07:24
zygayeah :)07:24
zygait's getting fixed today07:24
SaviqThat'd be awesome :)07:24
zygathis single bug explains LOADS of mysteriously incorrect behavior07:24
zygakenvandine: ^ this is the bug that was breaking themes and gnome platform snap and all kinds of "connected but not connected" bugs07:26
zygamvo: ^ you can see why I'm so happy now07:26
mvozyga: \o/07:28
pedroniszyga: great, is it easy to add tests about it?07:35
zygapedronis: not every easy but 100% doable, the bug is extremely elusive and two of the components of the bug would make a simple spread test not catch it07:36
zygapedronis: I'm describing the bug in detail07:36
zygapedronis: and I know how to write a spread test for it07:36
zygapedronis: none of our current tests doing content or layout would capture it07:36
pedronisok, just wondering because we didn't catch it so far07:36
zygait's a tricky bastard :)07:36
pedronisbut good if we can have a spread test07:36
zygayes, that's 2nd step after reporting the bug :)07:36
zygawrite a test and show it fail :)07:36
pedronismvo: I'm going to cleanup managers_test.go a little bit as a drive-by, mostly ms -> s, and using testutil AddCleanup07:37
mvopedronis: \o/07:38
mupPR snapd#6844 opened: interfaces: special-case "snapd" in sanitizeSlotReservedForOS* helpers <Simple πŸ˜ƒ> <⚠ Critical> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6844>07:40
pstolowskimvo, pedronis ^ so this fixes hotplug on core18+snapd, tested manually on pi307:41
pstolowskiand i'll prep proper followup (touching 80+ files) as discussed yesterday07:41
mvopstolowski: nice07:42
mvopstolowski: this is also 2.39.1 I suppose?07:42
pstolowskimvo: yes07:42
mvota07:42
zygamborzecki, mvo, pedronis, Saviq: https://bugs.launchpad.net/snapd/+bug/182835407:44
mupBug #1828354: mount event propagation on snapd-mounted tmpfs is incorrect <snapd:In Progress by zyga> <https://launchpad.net/bugs/1828354>07:44
zygaI will start writing the spread test07:44
zygain case I get hit by a bus mborzecki knows how to fix it too :)07:44
mborzeckihahah07:44
zygalet me know if the bug description is unclear07:45
pstolowskii'll also think about spread test for core18+snapd & hotplug, need to talk to Sergio about that07:46
Saviqzyga: any news on https://bugs.launchpad.net/snapd/+bug/1819875 ?07:54
mupBug #1819875: base core16->core18 migration <snapd:In Progress by zyga> <https://launchpad.net/bugs/1819875>07:54
zygaSaviq: it's stalled, I know what to do, will attack it after Lyon07:56
zygaSaviq: the initial patch was ANACked, I started working on v2 and have close-but-not-quite code for that07:56
zygamborzecki, mvo: I also reported https://bugs.launchpad.net/snapd/+bug/182835707:56
mupBug #1828357: snap-update-ns incorrectly sorts mount profile entries <snapd:New> <https://launchpad.net/bugs/1828357>07:56
zygaSaviq: there are several more bugs in core->core18 migration07:57
zygaSaviq: one is that snapd tools go stale07:57
zygaSaviq: there are several other bugs affecting core18, I don't think they are all reported07:58
Saviqso "not yet" :)07:58
zygano, apart from Lyon-driven work it is close to the top of my queue07:59
zyga(no as in: "no, not yet")07:59
pstolowskimborzecki: replied to your comment in https://github.com/snapcore/snapd/pull/6793 ; can you re-review?08:02
mupPR #6793: cmd/snap: support for --ensure argument for snap debug timings <Created by stolowski> <https://github.com/snapcore/snapd/pull/6793>08:02
mborzeckipstolowski: thanks, it was more like an open question, nothing to be done in that PR anyway08:03
mvopedronis: should I add switching gadgets (with the caveat that we cannot do asset upadates yet) or do you think thats premature?08:06
pedronismvo: that is more delicate, we really need to do the right thing with GadgetInfo08:07
pedronisit's used much more than KernelInfo08:07
* mvo nods08:09
mvoa second review of 6835 would be great - its small08:12
pedronismborzecki: I tried to answer your question, bit confused by the 2nd because that's the central point of the PR, though it might be sutble08:13
mvo6751 has two +1 but I added the unit test - so a second review from someone who is not me would be great08:15
mvoits pretty small and should be simple to review08:15
pedronismborzecki: I changed the description of 6822, made that should makes thing clear. It also go outdated at some point.08:16
pedroniss/made/maybe/08:17
pedronismvo: I can look in a little bit08:17
mborzeckipedronis: what i meant in the 2nd question is cosmetic mostly, whether to embed *DeviceManger or have it as a field like `manager *DeviceManger`08:20
pedronismborzecki: ah, I didn't understand that way08:21
mborzeckipedronis: sorry, should have made it more clear in the comment08:21
pedronismborzecki: no, you are right, the wrapper implements all the interface methods08:23
pedronisso it could be a field08:23
pedronisthis changed a bit over the history of the branch08:23
pedronisor I could remove .DeviceManager08:24
pedronisand keep it this way08:24
pedronisbut as it is is all a bit silly08:24
mborzeckipedronis: i mean it's not a problem, we could clean it up later on, or keep it like this, either way the code works08:25
Chipacapstolowski: o/08:26
pedronismborzecki: yea, for context,  at some point DeviceManager had Device08:26
pedronisbut now that is hidden08:26
pstolowskihey Chipaca08:26
Chipacapstolowski: hiya. I've got a question about hooks :-)08:27
* pstolowski is hiding08:27
pstolowskishoot08:27
Chipacapstolowski: I'm getting 'cannot find hook' when trying to install (of a hook i've added), from snap-exec, but in snap-exec I print info.Hooks and the hook is right there, but the snap-exec does not seem to be the one from /usr/lib/snapd … is it always from core or sth?08:28
pstolowskiChipaca: what hook?08:29
Chipacapstolowski: I've just answered myself by doing a bind-mount, and yes it's the one from core08:29
Chipaca(i got a different panic now \o/ )08:29
Chipacapstolowski: check-health08:30
pstolowskiChipaca: you'll need to whitelist a new hook in supportedHooks (and possibly in one other place, but not sure from top of my head). but you probably already found that out08:32
Chipacapstolowski: yep :-)08:33
Chipacapstolowski: I just got the whole thing working \o/08:33
pstolowskinice! \o/08:34
mupPR snapd#6796 closed: cmd/snap-update-ns: add no-op load/save current user profile logic <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6796>08:37
Chipacapedronis: can we talk about storage for a bit?08:38
Chipacapedronis: actually, i'll just write out my question and you answer when you have time08:39
Chipacapedronis: some decisions need to be done on 'edge', ie when transitioning from good to bad or vice versa, and I wonder if what we actually want is a log of all the runs (or the last N)08:41
mupPR snapd#6845 opened: cmd/snap-update-ns: move apply{Profile,{User,System}Fstab} to same file <Created by zyga> <https://github.com/snapcore/snapd/pull/6845>08:41
Chipacapedronis: so the question is: should I make it an in-state thing that keeps the current result and the previous one, or the current result and the previous status, or should it be on disk with a log of everything?08:42
zygapstolowski: asked a question in https://github.com/snapcore/snapd/pull/684408:42
mupPR #6844: interfaces: special-case "snapd" in sanitizeSlotReservedForOS* helpers <Simple πŸ˜ƒ> <⚠ Critical> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6844>08:42
Chipacapedronis: are actions going to be taken in-hook-handler, looking at current and previous result only, or are they going to be run from outside and look at all history, or...?08:43
pedronisChipaca: which decisions need to be made on edge ? I don't remeber that08:44
Chipacapedronis: when it was ok but suddenly isn't08:44
Chipacapedronis: warning the user? alerting the backend?08:45
Chipacanot sure (it's not part of this round of work)08:45
Chipacabut there was some action we wanted to do when a snap had been fine and then started being broken08:45
pedroniswe want to check more often when is broken08:46
pedronisbut that itsn't about the edge08:46
pedroniswe do need to know what the status was before a refresh and after08:46
pedronisChipaca: atm I would expect to take "actions" from check-rerefresh08:46
pedronisChipaca: I mean, we always discussed needing to run the hook both at the start and during a refresh08:47
Chipacapedronis: and then take actions based on the difference, right?08:48
pedronispossibly yes08:48
Chipacaie bad->good vs good->bad08:48
pedronisbut that info could be kept on the change/task in the change08:48
pedronisanyway if you think we should keep the last two different values08:49
pedronisthat's fine08:49
pedronisI would put this in the state08:49
Chipacaok08:49
pedronisChipaca: we need to remember for which revision they are though? though the idea is that health itself is not for a revision08:50
zygabrb, coffee08:50
pedronisChipaca: I mean, is not clear to me whether we should just stick the last value in the change , or we keep always two, but we haven't dug deep into all the things we might want to do with this08:52
Chipacapedronis: I'll make it a map[instance]HealthState; we can always have HealthState have a Previous HealthState08:54
Chipacapedronis: I'll add Revision to HealthState: like the timestamp, it's not that the health is 'for' a timestamp or revision, but that when the health was this, these were the timestamp and revision08:55
Chipacawill help with debugging / auditing / developing at the least08:55
pedronisyes08:56
Chipacapedronis: initial PR will just run the hook at the end of install08:56
Chipacafwiw08:56
pedronisyea, that's fine08:56
pedronisChipaca: you mean install/refresh, or only install?08:57
Chipacapedronis: doInstall :-) install/refresh/try/revert08:57
pedronisok08:57
pstolowskizyga: replied08:58
zygapstolowski: thanks, looking08:58
zygapstolowski: +108:59
pstolowskizyga: ty09:00
pstolowskizyga: i'm preparing a followup to remove these helpers from all interfaces. that means reservedForOS in common.go will go away09:00
zygapstolowski: why?09:01
pstolowskizyga: because base declaration do the same09:01
zygapstolowski: but base declaration is *not* considered when doing snap install --dangerous09:01
zygaor am I mistaken?09:01
pstolowskizyga: oh09:01
zygait will give people false impressions when developing snaps09:01
zygaperhaps we should run the base policy checker but just print a warning on install when --dangerous is used09:02
pstolowskizyga: fair point if this is the case09:02
zygathen I think this is sensible09:02
zygaand far less code too09:02
mvopedronis: do you want to tweak 6822 further or can it go in ? it has two +1 but there is this discussion about initialRegistrationContext09:12
mupPR snapd#6846 opened: cmd/snap-confine: unshare per-user mount ns once <Created by zyga> <https://github.com/snapcore/snapd/pull/6846>09:13
zygamborzecki: https://github.com/snapcore/snapd/pull/684609:13
mupPR #6846: cmd/snap-confine: unshare per-user mount ns once <Created by zyga> <https://github.com/snapcore/snapd/pull/6846>09:13
pedronismvo: I can change it a bit in a follow up09:14
pedronisit can go in09:14
mupPR snapd#6822 closed: overlord/devicestate: introduce registrationContext <Remodel :train:> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6822>09:15
Chipacapstolowski: why is hookstate.Context's SnapRevision "unset", when the revision is something like -4?09:15
mvopedronis: it can I think - I'm inclined to merge 6833 as well or do you think this needs further reviews (all tests/test-helpers)09:15
Chipacaooohhh hooksetup09:16
* Chipaca looks into it09:16
pedroniswe never set the revision I think09:16
pedronisactually09:16
pedronisthere was a lot of back and forth on that09:16
pstolowskiChipaca: this predates the time i started working on snapd.. i think Gustavo and Kyle worked on this, i don't know the background09:17
pedronismvo: I don't know about 6833 , it's all tests but it's big09:18
pedronisalso maybe people have opinions on names09:19
pedronisI don't know09:19
pedronispstolowski: I answered your question in 682209:21
pstolowskity09:22
mvopedronis: I think its a thing of beauty so maybe someone more reviews are actually good :)09:23
pstolowskimvo: updated #684409:24
mupPR #6844: interfaces: special-case "snapd" in sanitizeSlotReservedForOS* helpers <Simple πŸ˜ƒ> <⚠ Critical> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6844>09:24
mvopstolowski: \o/09:24
zygamvo: replied on that unshare bug09:24
zygalet me know if you want me to pursue the test, I personally think it's not worth it09:25
mupBug #1828374 opened: Unable to install qabro <Snappy:New> <https://launchpad.net/bugs/1828374>09:25
mvozyga: thank you09:26
zygamvo: we could write a test that would use trace but it would be super tricky because this code only runs when *not* root but we'd need to run snap-confine via sudo + strace and then somehow drop back to user while running under strace already09:26
zygaCE has reported a bug related to seeding09:27
zygahttps://bugs.launchpad.net/snappy/+bug/182837409:27
mupBug #1828374: Unable to install qabro <Snappy:New> <https://launchpad.net/bugs/1828374>09:27
zygathere's one change, seeding, it is stuck for two days09:27
zygathe Doing task is Doing 2 days ago, at 04:16 EDT - Ensure prerequisites for "gnome-calculator" are available09:27
zygais this the ordering bug09:27
mvozyga: hm,hm and there is nothing else with propagation (or lakc thereof) that is easy(ish) to observe?09:27
zygawhere bases must be before snaps?09:27
zygamvo: correct09:27
mvozyga: is this 2.39 material?09:28
zygamvo: yes, but only because I would like to test this together with the 2nd bug fix and not without09:28
zygamvo: and if it passes and nobody spots any hole in reviews it is a clear bug to get rid of09:28
mvozyga: ok, we should probably have a quick call on it if it goes into 2.39 without some sort of test09:29
zygamvo: what would we discuss?09:29
mvozyga: a bit later though, I will wait for the second PR09:29
zygamvo: ok09:29
zygamvo: I can write the allocation test09:29
mvozyga: not sure thats worth it09:29
zygait'd be a bit fugly but if you strognly one one09:29
mvozyga: maybe I'm too cautious09:29
pedroniszyga: yes, that seems and ordering bug09:29
pedronisor missing base09:29
zygapedronis: is the ordering documented somewhere that I can point CE to?09:29
mvozyga: anyway, please focus on the second PR and then we can talk a bit more09:30
zygamvo: ok09:30
zygadoing that now09:30
mvozyga: thank you!09:30
pedroniszyga: we really shouldn't have ordering bugs actually, but missing stuff is an issue09:30
zygapedronis: I agree, I would add that snapd should bail if it detects a missing base and not just stall for dayts09:31
pedronisthe more focuses we are on the big things the more is likely we can do something about the small ones09:32
zygapedronis: yeah, agreed09:34
niemeyerMornings09:34
niemeyermvo, pedronis_: Do you have a moment for a quick call?09:34
mvoniemeyer: yes, can be there in 1min09:35
niemeyerSweet09:36
niemeyerLet's use the standup link09:36
Chipacapstolowski: question about something I'm finding hard to follow: I'm getting my hook run even for snaps that don't have the hook. Where does the decision not to run hooks that aren't present happen? the (to me) obvious place, hookmgr's runHook, knows there isn't a hook and carries on09:45
Chipacabah09:46
Chipacait's not the (non-existent) hook that's run, it's the handler09:46
Chipacathe Done() thing09:46
Chipacapstolowski: so i change my question: how can the Done handler know whether the hook was run?09:47
Chipacapstolowski: or, why doesn't runHook just return nil when it knows there isn't a hook to run?09:54
pstolowskiChipaca: it seems it's always called even if hook doesn't exist. and the only case when it's not run is when error occurs and IgnoreError is not set09:55
zygaFailed for "golang.org/x/crypto/cast5" (failed to clone repo): exit status 12809:56
pstolowskiChipaca: i think we have never relied on Done() so far09:56
mborzeckihmm ubuntu-image is full of surprises09:56
mborzeckicalculated = ceil(farthest_offset / 1024 + 17) * 102409:56
Chipacapstolowski: grmbl09:56
mborzeckithat's how image size is calculated befire it's actually built09:56
zygathere's more from godbus :/09:56
Chipacapedronis: looking at blame maybe i should've asked you the above :-) or maybe kyrofa09:56
pstolowskiChipaca: again.. this is old code, almost untouched since initial impl09:56
pstolowskiChipaca: what you're saying sounds reasonable to do imho09:57
mborzeckiand a TODO note too: # TODO: Hard-codes last 34 512-byte sectors for backup GPT, empirically derived from sgdisk behavior.09:57
* pstolowski lunch10:27
* zyga is hungry too10:27
kenvandinezyga: great!10:35
* kenvandine high fives zyga 10:36
zygakenvandine: I'm totally crazy happy about this bug finally coming out of the shadows :)10:50
zygakenvandine: this is https://bugs.launchpad.net/snapd/+bug/1828354 if you want to track10:51
mupBug #1828354: mount event propagation on snapd-mounted tmpfs is incorrect <snapd:In Progress by zyga> <https://launchpad.net/bugs/1828354>10:51
zygaI'll fix it today10:51
zygabut first, I need to take the dog out, he's looking at me and asks for it :)10:51
mupPR snapd#6845 closed: cmd/snap-update-ns: move apply{Profile,{User,System}Fstab} to same file <Simple πŸ˜ƒ> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6845>11:08
mupPR snapd#6847 opened: cmd/snap-update-ns: make apply{User,System}Fstab identical <Created by zyga> <https://github.com/snapcore/snapd/pull/6847>11:16
mupPR snapd#6848 opened: First pass at healthstate (no tests yet) <Created by chipaca> <https://github.com/snapcore/snapd/pull/6848>11:25
Chipacapedronis: ^^ draft PR (working on adding tests)11:25
Chipacapedronis: will probably drop the IsCtrl thing until later, as it's not essential and clutters the pr11:25
pedronisChipaca: thx11:25
Chipacapedronis: but thought you might want an early look11:26
mborzeckido we have some code already that escapes runes into \x.. hex encoding like systemd-escape?11:30
pedronisChipaca: is SnapRevision actually set? doesn't need to be set in CheckHealth ?11:30
Chipacamborzecki: systemd.Escape ?11:30
Chipacamborzecki: systemd.EscapeUnitNamePath11:31
Chipacapedronis: it is set11:31
mborzeckiChipaca: thanks!11:31
Chipacapedronis: it's always "unset" for local revisions11:31
Chipacapedronis: it is set for store revisions11:31
Chipacapedronis: so that's probably good enough11:31
pedronisChipaca: ok, bit puzzled by that11:31
Chipacame three11:31
Chipaca:)11:31
pedronisI don't remember it being that way11:32
mvowoah, this "draft" feature is cool11:32
Chipacapedronis: you can try it locally, becaues Done is always called so health is always set to something11:32
* mvo hugs Chipaca for learning something new11:32
pedronisChipaca: the other question, not immediate, if it will always want to write directly to the health state, or sometimes we'll need to keep the health pending somewhere11:32
* Chipaca hugs mvo for the attitude11:32
pedronisbut we should have ways to add that indirection if needed11:32
Chipacapedronis: yep11:33
pedronismvo: 6751 looks good but I have a comment about lack of comments :)11:41
mvopedronis: thanks, will fix11:42
ograDownload snap "motion-ogra" (16) from channel "edge"                                                                                       0% 17.2kB/s 63.3m11:58
ograhmpf !11:58
mborzeckioff to pick up the kids12:06
zygaback from lunch and walk12:13
zygamvo: can you revise your review on https://github.com/snapcore/snapd/pull/675112:16
mupPR #6751: overlord/snapstate: perform hard refresh check <Created by zyga> <https://github.com/snapcore/snapd/pull/6751>12:16
cwayneogra: heya! Youve got a pi 3b+ yeah?12:23
mvozyga: sure, checking12:26
zygamvo: I think the PR needs a comment12:26
zygabut perhaps one can be added via github directly12:26
ogracwayne, who hasnt ? (its the default you get since 1.5y if you order one :P )12:26
mvozyga: yeah, I have a meeting now will see when I can add it12:28
zygamvo: I can add the comment, just need your review change12:28
mvozyga: +112:28
zygathanks!12:28
=== ricab is now known as ricab|lunch
cwayneogra: :) was just curious if you've seen any wifi issues with the latest core/snapd12:35
ogracwayne, not on core 16 and 18 is still too immature for daily use IMHO12:36
cwayneogra: with every snap on stable? Just curious as we're seeing wifi issues on ours in the lab but only one of them12:47
ogracwayne, with core and kernel on stable (i mostly use my own gadgets for my in-house images that run sensible stuff)12:48
cwayneHm ok so it's not a kernel issue then, that's good12:49
cwayneI think our pi may just be flaky12:49
ograor there is some freequency distortionn/noise ... the wlan isnt very good through walls either12:50
cwayneDoesn't go through any walls iirc, but could be lots of things12:55
cwayneJust weird that it happened so suddenly12:55
mupPR snapd#6798 closed: gadget: introduce checkers for sanitizing structure updates <Gadget update> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/6798>13:31
mupPR snapd#6849 opened: many: introduce a gadget helper for locating device matching given structure <Gadget update> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6849>13:44
=== ricab|lunch is now known as ricab
mupPR snapd#6850 opened: gadget: add volume level update checks <Gadget update> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6850>13:55
pedronisa 2nd review for 6833 , it's a tests refactor13:58
pedroniswould be great13:58
popey_where should I file a crasher bug against the snap command line tool?14:08
Chipacapopey_: oooh14:09
Chipacapopey_: tell me more14:09
popey_https://paste.ubuntu.com/p/zZwqpZ2N2w/14:09
popey_snap info qtencodegui14:09
popey_run that14:09
Chipacapopey_: https://bugs.launchpad.net/snapd/+filebug?field.title=snapd+went+boom14:10
popey_:)14:11
Chipacas/snapd\+/snap+/ but that14:11
Chipacafffantastic14:11
popey_https://bugs.launchpad.net/snapd/+bug/182842514:12
mupBug #1828425: snap went boom <snapd:New> <https://launchpad.net/bugs/1828425>14:12
ChipacaWTheck14:27
Chipacagrahrrr14:29
* Chipaca hates self14:29
roadmrgreat bug description :)14:30
zygadinner14:31
Chipacamvo: we've got a snap crasher, and a fix for it coming up, what should i target it to?14:38
Chipacamvo: (this is not a regression)14:39
Chipacamvo: (this is not a drill either)14:39
mvoChipaca: 2.3914:39
mvoChipaca: we need to do  a 2.39.114:39
Chipacamvo: tagging is enough?14:39
mvoChipaca: yes14:39
Chipacak14:39
Chipacamvo: thanks14:39
mupPR snapd#6851 opened: cmd/snap: mangle descriptions that have indent > terminal width <Simple πŸ˜ƒ> <⚠ Critical> <Created by chipaca> <https://github.com/snapcore/snapd/pull/6851>14:40
Chipacamvo: popey_: ^^ tadaa14:40
Chipacapopey_: and before you go "i set my terminal to 1000 columns wide and it still crashes", snap caps the terminal width to ~100 so paragraphs are legible14:41
kenvandinejdstrand: if i want USN notifications to be sent to a list for a bunch of snaps, do i have to add the list as a collaborator?14:54
* kenvandine hopes not14:55
jdstrandkenvandine: no. just tell me and I'll adjust14:55
jdstrandkenvandine: it needs to be an open list14:55
kenvandinecool14:56
jdstrandotherwise you'll need to moderate the emails14:56
mupPR snapd#6847 closed: cmd/snap-update-ns: make apply{User,System}Fstab identical <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6847>15:07
cachioChipaca, niemeyer hey, when you have time, could you please take a look to those PRs on spread project https://github.com/snapcore/spread/pull/70 and https://github.com/snapcore/spread/pull/75 ?15:09
cachiothanks15:09
mupPR spread#70: Close ssh connection when reboot is stuck <Created by sergiocazzolato> <https://github.com/snapcore/spread/pull/70>15:09
mupPR spread#75: Make spread tests for spread project run on google backend <Created by sergiocazzolato> <https://github.com/snapcore/spread/pull/75>15:09
mupPR snapd#6852 opened: cmd/snap-update-ns: merge apply functions <Created by zyga> <https://github.com/snapcore/snapd/pull/6852>15:09
Chipacacachio: yes15:10
mupPR snapd#6844 closed: interfaces: special-case "snapd" in sanitizeSlotReservedForOS* helpers <Simple πŸ˜ƒ> <Squash-merge> <⚠ Critical> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6844>15:12
mupPR snapd#6853 opened: interfaces: special-case "snapd" in sanitizeSlotReservedForOS* helper… <⚠ Critical> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6853>15:18
pedronismvo: going to merge 6833 at this point, happy to get later feedback15:28
zygathanks for all the review guys! that's the best day for this feature for a looooong time15:28
mupPR snapd#6833 closed: many: introduce assertstest.SigningAccounts and AddMany test helpers <Remodel :train:> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/6833>15:28
mvopedronis: +115:30
pedronisnow the next one is real code and it has turned out bigger than I expected (mostly because of unit tests), I might have to split it, #683815:40
mupPR #6838: overlord/devicestate: introduce remodel kinds and contexts <Remodel :train:> <β›” Blocked> <Created by pedronis> <https://github.com/snapcore/snapd/pull/6838>15:40
zygamvo: I need to break and run an errand but I experimented a bit more and I have good feeling about the propagation bug tests15:48
zygamvo: perhaps tomorrow we can attempt to do .1 and put it into beta?15:49
zygamvo: though not sure if that's super required15:50
* cachio lunch15:56
Chipacacachio: what about spread#73?15:56
mvozyga: I will see what I can do15:56
mupPR spread#73: Run tests on travis <Created by sergiocazzolato> <https://github.com/snapcore/spread/pull/73>15:56
popey_Chipaca: i actually was running snap info in a terminal, so no idea what it thinks the terminal width is15:56
zygamvo: let's talk tomorrow15:56
zygamvo: thank you for everything today!15:56
popey_s/terminal/script/15:56
mvozyga: thank you!15:57
Chipacapopey_: https://imgflip.com/i/30jols15:58
popey_that'll do :)15:59
zygaChipaca: buhahaha, that's too funny :)15:59
Chipacazyga: :)16:01
Chipacazyga: "A bug reference, if one exists, would be nice to add as a comment." i'm not sure what you mean, given the link in the description16:01
zygaI mean the comment :)16:01
zygathe // giving up one16:01
Chipacazyga: ohhh16:02
Chipacazyga: I'll add it if I need to bump spread16:02
Chipaca:)16:02
zyga+116:02
ChipacaOTOH it's only just started16:02
Chipacai could cancel the whole thing16:02
* Chipaca goes for it16:02
mupPR pc-amd64-gadget#10 closed: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/10>16:04
mupPR pc-amd64-gadget#11 closed: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/11>16:04
mupPR pc-amd64-gadget#10 opened: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/10>16:05
mupPR pc-amd64-gadget#11 opened: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/11>16:05
Chipacazyga: like so?16:06
zygavery nice16:06
zygathank you!16:06
Chipacahuzzah16:06
kenvandineChipaca: some snaps with contact urls set aren't showing them in the output of snap info16:09
kenvandineChipaca: any idea why?16:09
Chipacakenvandine: impossible :-p16:10
kenvandine:)16:10
kenvandineChipaca: look at libreoffice and gnome-system-monitor16:10
kenvandinethe latter doesn't have contact at all16:10
Chipacakenvandine: it does if you don't have it installed16:10
kenvandineoh16:11
kenvandinethat seems like a bug :)16:11
Chipacacontact:   https://bugs.launchpad.net/ubuntu/+source/gnome-system-monitor/+bugs?field.tag=snap16:11
Chipaca^ that's what i get16:11
kenvandineok, that's what it should be16:11
kenvandineweird you don't have it installed, that's a seeded snap :)16:11
Chipacakenvandine: so, the snap does _not_ have contact info16:11
Chipacakenvandine: I'm on 16.0416:11
kenvandineah16:11
Chipacakenvandine: some fields, if the store has edited versions, get pulled down16:12
Chipacakenvandine: contact is not one of those fields16:12
Chipacakenvandine: that is16:12
Chipacakenvandine: some fields are per snap, some fields are per revision16:12
Chipacakenvandine: if they're per snap, they should be fetched from the store on install, etc, like description does16:13
Chipacatoday only title, summary, and description get this treatment16:13
kenvandinei think contact would be very interesting info for installed snaps16:14
kenvandinemakes it easier to file bugs for snaps you have installed16:14
* kenvandine files bug16:15
Chipacakenvandine: if the snap has contact info it will be shown16:15
Chipacahmmm16:16
ChipacaOTOH sideinfo has contact16:16
Chipacahmm16:16
Chipacasomething's wrong16:16
Chipacakenvandine: maybe i lied, let me test this16:17
popey_:)16:17
kenvandine:)16:17
Chipacasudo jq '.data.snaps."gnome-system-monitor".sequence[0].contact' /var/lib/snapd/state.json16:19
Chipacakenvandine: ^ what does that say?16:19
kenvandineChipaca: null16:19
kenvandinecould it be that when i installed the snap there wasn't contact info?16:19
Chipacakenvandine: and if you change the [0] to []| ?16:20
kenvandinenull null null16:20
Chipacakenvandine: so, i was wrong, and we do fetch the contact on install / refresh16:21
Chipacakenvandine: (i was confused because i'm easily confused)16:21
=== pstolowski is now known as pstolowski|afk
kenvandine:)16:21
Chipacakenvandine: if you were to remove it and reinstall it you should get your contact info (in both info and in that jq)16:22
* Chipaca tries to remember if doing it with a cached snap will still ping the store, and hopes it does16:22
kenvandineChipaca: indeed that works16:24
Chipacak16:24
kenvandineshould it work after refresh too?16:24
Chipacakenvandine: after a refresh that fetches a new snap, yes16:24
kenvandineok16:24
Chipacakenvandine: it should also work after a refresh that doesn't refresh the snap, but that's unplanned work16:24
Chipaca(the store does actually tell us all this info just to say "no refreshes dude")16:25
kenvandineso basically this won't really help users until i publish updates for all the snaps16:25
Chipaca(granted it tells us because we ask for it)16:25
kenvandinealthough, i've refreshed most of my snaps since updating the contact fields16:25
kenvandinerefreshed == rebuilt16:26
kenvandineso shouldn't be too bad16:26
Chipacakenvandine: yes (and a bug about refreshing the fields on refresh would be useful)16:26
Chipacanot that there's any hope of slipping this in before 204016:27
Chipacaor is that 20.416:27
Chipaca:)16:27
kenvandine21 years, not bad :)16:27
* Chipaca meant 20.04 but Β―\_(ツ)_/Β― 16:27
Chipacakenvandine: I might even have saved up enough for a deposit on a house by then! woo16:28
kenvandine:)16:28
Chipacaanyway, HTH, sorry it couldn't be entirely good news16:29
kenvandineno worries16:29
Chipacakenvandine: could you add "double-check contact fields" to the getting-snaps-ready-for-seeding checklist?16:29
kenvandinein a bug report?16:30
Chipacakenvandine: I have no idea -- this was a mythical checklist i imagined was used to vet snaps before they landed on the iso16:30
kenvandinelol16:31
kenvandineok16:31
kenvandinei see what you mena16:31
kenvandinemean16:31
kenvandinethis time i was confused16:31
Chipacaoh no16:31
Chipacait's contagious16:31
Chipacarun16:31
kenvandine:)16:31
zygaoh16:37
zygapedronis: is this expected? https://www.irccloud.com/pastebin/KcYvl1zT/16:37
zygathere's some more odd stuff16:38
zyga- Download snap "snapd" (3028) from channel "stable" (Get https://api.snapcraft.io/api/v1/snaps/download/PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4_3028.snap: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "Let's Encrypt Authority X3"))16:38
pedronisthat's SSL issues16:39
pedronisworth poking the store people if it persists16:39
zygaOK16:39
zygaPharaoh_Atem: hey, did you recently fix this https://bugzilla.redhat.com/show_bug.cgi?id=1707422 ?16:42
Chipacacachio: is snapd#6541 still a thing we want?16:55
mupPR #6541: tests: change how xdg-desktop-portal is prepared and restored for desktop-portal-* tests <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6541>16:56
cachioChipaca, yes, I am testing a fic for the document-portal-activation test17:14
cachiobecause it is failing since I am installing the xdg-desktop-portal package on the prepare17:15
cachioI'll push a fix today17:16
Chipacacachio: k17:27
mupPR snapd#6852 closed: cmd/snap-update-ns: merge apply functions <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6852>19:26
mupPR snapd#6854 opened: cmd/snap-update-ns: rename applyFstab to executeMountProfileUpdate <Simple πŸ˜ƒ> <Created by zyga> <https://github.com/snapcore/snapd/pull/6854>19:29
mupPR snapd#6842 closed: tests: fix how the base snap are deleted when there are multiple to deleted on reset <Simple πŸ˜ƒ> <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6842>19:37
mupPR snapcraft#2561 opened: Promote branches fix <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2561>19:54
zygajdstrand: hey, can you please look at (3 line) https://github.com/snapcore/snapd/pull/684619:58
mupPR #6846: cmd/snap-confine: unshare per-user mount ns once <Bug> <Simple πŸ˜ƒ> <Created by zyga> <https://github.com/snapcore/snapd/pull/6846>19:58
zygajdstrand: oh, and perhaps if you are curious, we've solved the issue I showed to you that other evening19:59
zygajdstrand: it's all described here https://bugs.launchpad.net/snapd/+bug/182835419:59
zygajdstrand: I'm working on fixing that with tests for all the variants now19:59
mupBug #1828354: mount event propagation on snapd-mounted tmpfs is incorrect <snapd:In Progress by zyga> <https://launchpad.net/bugs/1828354>19:59
jdstrandzyga: nice20:25
mupPR snapd#6855 opened: overlord: implement store switch remodeling  <Created by pedronis> <https://github.com/snapcore/snapd/pull/6855>20:28

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