/srv/irclogs.ubuntu.com/2019/10/21/#snappy.txt

mborzeckimorning05:12
mvohey mborzecki05:18
mupPR snapd#7443 closed: timeutil: fix schedules with ambiguous nth weekday spans <Bug> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7443>05:21
zygahey05:31
zygamvo: this is the bug fix from Friday https://github.com/snapcore/snapd/pull/763205:34
mupPR #7632: interfaces/apparmor: avoid excessive repetition of snap-update-ns mount rules <Bug> <Created by zyga> <https://github.com/snapcore/snapd/pull/7632>05:34
zygamvo: at least the first patch can be reviewed and landed in separation05:34
zygamvo: namely https://github.com/snapcore/snapd/pull/7632/commits/02ba1f863776d4d4c27bcfc3edccfebe30a11ef205:35
zygaI'll iterate on https://github.com/snapcore/snapd/pull/754705:37
mvozyga: cool, thank you. I have a look05:37
mvozyga: just making a cup of tea :)05:37
mupPR #7547: many: use a dedicated named cgroup hierarchy for tracking <Created by zyga> <https://github.com/snapcore/snapd/pull/7547>05:37
zygauh05:58
zygamy dog needs help05:58
mborzeckimvo: https://github.com/snapcore/snapd/pull/7613#discussion_r336850453 does sfdisk poke kernel to rescan the partition table too?06:17
mupPR #7613: snap-recovery: add minimal binary so that we can use spread on it <Created by mvo5> <https://github.com/snapcore/snapd/pull/7613>06:17
mborzeckihm actually wonder what blockdev does, whether it creates the nodes itself or what06:20
mborzeckimvo:  looked a bit at blockdev, looks like it's a single ioctl actually, even if sfdisk doesn't call it, and we don't want a dependency on blockdev, we can issue it ourselves from snap-recovery06:27
mvomborzecki: sfdisk does, I think the code comment referes to the line in the code even06:33
mborzeckimvo: ah, good then06:33
mvomborzecki: yeah, its a single ioctl, let me quickly check06:33
mvomborzecki: disk-utils/sfdisk.c:write_changes()06:34
mborzeckimvo: thanks, see that now06:35
mborzeckimvo: we should be good then06:35
mvomborzecki: great, that runs fdisk_reread_partition_table which runs                 i = ioctl(cxt->dev_fd, BLKRRPART);06:35
mvo which is AIUI all that is needed06:35
mvomborzecki: its also smart enough to not call it on a non-blockdev (unlike blockdev :)06:36
mvomborzecki: fwiw,  Iremoved the blockdev call because it apparently raced with udev, I got an error that BLKRRPART failed because the deivce was already in use which seems to indicate that blockdev and udev tried to to the same thing (this happend in the spread test)06:37
mborzeckimvo: duh, /o\06:43
mvomborzecki: no, its fine, it only happens with blockdev which we don't really need, was just a bit annoying to find it but spread tests ftw!06:43
zygare06:59
zygadog back home, got steroids, need to observe06:59
zygasorry, need to focus on coding again07:02
=== pstolowski|afk is now known as pstolowski
pstolowskimorning07:03
mborzeckipstolowski: hey07:04
mupPR snapd#7509 closed: gadget, snap/pack: perform extended validation of gadget metadata and contents <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7509>07:42
mvozyga: 7613 is rady for a second review, should address all the points you raied in the other review07:42
zygamvo: ack07:43
zygamvo: note: it has conflicts07:45
mvozyga: aha, I did not notice, fixing now07:47
zygaLost power07:47
zygaChecking07:47
zygaExternal fault07:48
zygaChecking outdoors07:49
zygaon phone thether07:52
zygawell, that thing07:52
zygaanyway07:52
zygalast thing I heard before silence was neighbors drilling07:52
zygapro tip: one way to check if you lost power or if street lost power: check how many APs are around07:54
zygaif there are none it's not just you07:54
pstolowskizyga: smart07:57
zygait's not that I have a noisy environment07:59
zygabut when power goes out07:59
zygaeverything is so silent it is almost uncomfortable07:59
mborzeckizyga: zombie apocalypse?08:00
zygamborzecki: that's when hordes of mindless users look for open wifi?08:00
mborzeckizyga: yeah, zombie walk with your phone looking for wifi :P08:00
pstolowskipedronis: hey, will you have a moment to talk about system-key today?08:55
zygamborzecki: still no power08:55
pedronispstolowski: I have a meeting now, seems more likely that we should chat tomorrow morning08:57
pstolowskizyga: btw, if you are with ENEA, then on https://www.wylaczenia-eneaoperator.pl you can subscribe to be notified about outages in your region08:58
pstolowskipedronis: okay, sure (btw i'm off this afternoon)08:58
pedronispstolowski: yes, saw that, that's why I said tomorrow08:58
pstolowskipedronis: good, ty08:58
mborzeckimvo: can you take a look at #7630?09:25
mupPR #7630: overlord/devicestate: check snap handler for gadget remodel compatibility <Remodel :train:> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7630>09:25
mvomborzecki: aha, yes, sorry, I have one more meeting and then we are good09:25
=== ricab is now known as ricab|bbl
mvomborzecki: now!09:42
mborzeckihah09:42
zygamvo: btw a question came up in a pull request, 14.04 support10:37
pstolowskizyga: a few comments to  #763210:37
zygamvo: is 14.04 maintained?10:37
mupPR #7632: interfaces/apparmor: avoid excessive repetition of snap-update-ns mount rules <Bug> <Created by zyga> <https://github.com/snapcore/snapd/pull/7632>10:37
jameshChipaca: in your comment on https://github.com/snapcore/snapd/pull/7589, was there any particular reason you thought individual subcommands should also be hidden?10:38
mupPR #7589: cmd/snap: add ability to register "snap internal" commands <⛔ Blocked> <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/7589>10:38
Chipacajamesh: because otherwise they're not actually hidden?10:38
jameshChipaca: they won't show up in the "snap --help" output.10:39
jameshwhat is the benefit of hiding commands in "snap debug --help" or "snap internal --help" output?10:39
Chipacajamesh: we hide commands that aren't meant for human consumption10:40
Chipacajamesh: and all 'internal' commands are like this, aren't they?10:41
Chipacajamesh: all internal commands right now are hidden, in particular10:41
Chipacajamesh: why would you make 'internal' commands _not_ hidden?10:42
zygapstolowski: thank you, replied to each one10:42
jameshChipaca: I understand preventing them from being discovered from "snap --help".  But if you're specifically asking for information about debug or internal commands, why wouldn't you show them?10:42
zygapstolowski: please let me know how you feel about Index10:43
zygaer10:43
zygaabout Items10:43
zygaI'll gladly make the change10:43
zygafolks, I have 11% of battery left, there's something wonky in the wiring outside my house, I can flip on a switch and I get power for a second but then fuses back home pop10:43
zygaI tried fiddling with it for a while but something new must be shorting the circuit10:44
zygaI need to either debug it or go and find another place to work and debug it later10:44
zygaif I don't respond it's likely that my laptop has discharged or that I'm in the fuse box in the basement10:44
zygaplease telegram me for thing that need my attention10:44
zygamacos builds are failing on timeouts?10:46
mborzeckizyga: yup, since friday i think10:49
mborzeckiit's random though10:49
Chipacamborzecki, zyga, do you have logs?10:50
zygayes10:50
zygaone sec10:50
zygahttps://travis-ci.org/snapcore/snapd/builds/60066728910:51
mborzeckiChipaca: https://travis-ci.org/snapcore/snapd/jobs/600643173 ;)10:51
mborzeckiwould't call them logs tbf10:51
Chipacaah, not us10:52
Chipacajamesh: I don't have a good answer, I'd raise it with the team later10:54
mborzeckibrb quick errand10:56
mvozyga: re 14.04> we keep it alive11:01
mborzeckire, heh, quicker than i thought11:08
mupPR snapd#7613 closed: snap-recovery: add minimal binary so that we can use spread on it <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7613>11:17
zygapstolowski: https://github.com/snapcore/snapd/pull/7632 updated and responded11:22
mupPR #7632: interfaces/apparmor: avoid excessive repetition of snap-update-ns mount rules <Bug> <Created by zyga> <https://github.com/snapcore/snapd/pull/7632>11:22
zygapower is back :)11:22
zygaamurray: hey11:23
zygaamurray: are you able to do some reviews for us this week?11:23
zygaamurray: ideally before Jamie is back later this week11:23
pstolowskizyga: ty11:29
=== pstolowski is now known as pstolowski|afk
zygamvo: small remark about snap-recovery here v11:52
zygahttps://github.com/snapcore/snapd/pull/7629#pullrequestreview-30450389011:52
mupPR #7629: snap-recovery: create filesystems as defined in the gadget <Created by mvo5> <https://github.com/snapcore/snapd/pull/7629>11:52
zygamvo: about this part, https://github.com/snapcore/snapd/pull/7629#discussion_r336617913 -- do you know what I meant about that comment - I'm fine if you just don't want to do it but I wanted to make sure we understand each other11:53
mupPR #7629: snap-recovery: create filesystems as defined in the gadget <Created by mvo5> <https://github.com/snapcore/snapd/pull/7629>11:53
pedronismvo: this line seems wrong:  https://github.com/snapcore/snapd/blob/master/overlord/managers_test.go#L3625 shouldn't that brand-kernel12:42
pedronis*that be12:43
=== ricab|bbl is now known as ricab
ijohnsonmorning y'all12:56
zygahello ijohnson :)12:57
ograzyga, the correct answer to "y'all" is "howdy" ;)12:59
ograijohnson, howdy12:59
ijohnsonogra is well versed in american responses13:00
mvothanks zyga and mborzecki for 7629 review13:00
ograhaha13:00
zygaijohnson, cachio, mvo: another spread PR https://github.com/snapcore/spread/pull/9013:08
mupPR spread#90: runner: remove filterDir, default include to "." <Created by zyga> <https://github.com/snapcore/spread/pull/90>13:08
ijohnsonzyga ack will look today13:09
zygathank you :)13:09
zygaEighth_Doctor: ack, I'll look13:13
=== ricab is now known as ricab|lunch
mvomborzecki: how much work will it to get golang.org/x/xerrors from 31 to f30? we may need it for 7622   (looks like we go with xerrors eventually)13:20
mborzeckimvo: looked rather easy last time i checked13:21
zygaEighth_Doctor: hmm, that's valgrind13:25
zygaEighth_Doctor: perhaps we should just not use valgrind on ppc64el13:26
zygathat single arch that nobody ever needed13:26
zygaEighth_Doctor: if it persists we should file a bug on valgrind and remove the check on ppc64el13:26
zygaEighth_Doctor: let me know if that works for you13:27
zygashould I break out OrderedSet out of https://github.com/snapcore/snapd/pull/763213:31
mupPR #7632: interfaces/apparmor: avoid excessive repetition of snap-update-ns mount rules <Bug> <Created by zyga> <https://github.com/snapcore/snapd/pull/7632>13:32
zygait's totally standalone and could land separately13:32
Chipacazyga: yes :)13:42
zygaChipaca: sure, one moment13:42
Chipacazyga: then i can ask silly questions about it without feeling like i'm stalling _important_ work13:42
zygahaha13:42
Chipacazyga: :-p13:42
zygaas long as you review it :)13:42
mupPR snapd#7633 opened: strutil: add OrderedSet <Created by zyga> <https://github.com/snapcore/snapd/pull/7633>13:43
zygaChipaca: please ask away :)13:43
=== charles_ is now known as charles
mvozyga: I updated 7629 based on your suggestions (and maciej)13:55
zygamvo: looking13:56
zygamvo: reviewed13:58
ijohnsonzyga: Chipaca beat me to submitting a review but I think I won because I found a bug13:58
Chipacaijohnson: totes13:59
ijohnsonisn't that how this works? whenever you find a bug you win?13:59
Chipacaijohnson: yes13:59
* ijohnson waits for my trophy14:00
Chipacaijohnson: you can now take the day off, find a fair, and ride a rollercoaster14:00
ijohnsonweeeeeee14:00
Chipacaijohnson: also, you can expense up to 3 candy apples14:00
Chipacato zyga14:00
Chipacahe wrote the bug, he pays the candy apples14:00
Eighth_Doctorit's just weird, since this has worked for literally years on ppc64le...14:03
=== ricab|lunch is now known as ricab
zygathank you for the review guys14:05
zygaijohnson: you win14:05
ijohnsonyou're welcome zyga14:06
* ijohnson goes back to foruming up a forum post14:07
Chipacazyga: silly question: do you actually delete things, in your use of this?14:07
zyganope14:07
Chipacazyga: then don't offer a Del() at all14:08
Chipacaeasy enough to add (maybe leave a comment so we don't write the bug again)14:08
zygayeah14:08
Chipacaless code -> less bugs14:09
* Chipaca deletes all of overlord/14:09
Chipaca\o/14:09
ijohnsonI found a bug and Chipaca deleted the overlord, and the rise of skywalker tickets go on sale tonight! feels like the start to a great day already :-)14:12
Chipacaas long as you aren't runing ppc64le, apparently14:13
zygaijohnson, Chipaca: updated https://github.com/snapcore/snapd/pull/763314:15
mupPR #7633: strutil: add OrderedSet <Created by zyga> <https://github.com/snapcore/snapd/pull/7633>14:15
mupPR snapd#6666 closed: Change file names that are breaking go modules <Created by slimjim777> <Closed by slimjim777> <https://github.com/snapcore/snapd/pull/6666>14:15
mupPR pc-amd64-gadget#21 opened: Xnox closing uc20 branch <Created by xnox> <https://github.com/snapcore/pc-amd64-gadget/pull/21>14:24
zygathank you guys14:29
zygaI'll brak for lunch now14:29
zygaand be back after that14:29
Chipacadon't brak too hard tho14:30
mupPR snapd#7634 opened: Add empty go.mod file to ignore directories <Created by slimjim777> <https://github.com/snapcore/snapd/pull/7634>14:31
Chipacaawww, #6666 was an awesome PR number14:31
mupPR #6666: Change file names that are breaking go modules <Created by slimjim777> <Closed by slimjim777> <https://github.com/snapcore/snapd/pull/6666>14:31
ijohnsonzyga: reviewed #7632, I'm a bit concerned about the de-duplication by just splitting by newlines since apparmor does support some multi-line rules AFAICT14:51
mupPR #7632: interfaces/apparmor: avoid excessive repetition of snap-update-ns mount rules <Bug> <Created by zyga> <https://github.com/snapcore/snapd/pull/7632>14:51
zygaijohnson: yes but there are no rules that are multi-line there14:53
zygaijohnson: in any case, I can remove the split entirely, along with the buffer14:53
zygaijohnson: it's just verbose14:53
zygaijohnson: as the patch will affect more code14:54
ijohnsonzyga: but what I'm concerned about is if we are de-duping based on newlines, then we need to be sure this de-dup code doesn't ever get run on anything other than s-u-n completely auto-generated code14:54
zygaijohnson: I replied in the PR,14:57
ijohnsonlooking14:57
zygaijohnson: your concern is based in truth but it's not immediately affecting this branch; we can remove the buffer and the split but it will make the diff somewhat larger as it's spanning more areas14:57
zygaijohnson: but we can totally do that14:57
zygaijohnson: it's just a cheap-way out of the bug for now, so that tests can be understood14:57
zygaijohnson: I can look at that as the ordered set lands and we can again focus on the essence of the bug14:58
ijohnsonzyga: do we get the same performance gains if we don't split and de-dup based on the strings passed in directly?14:58
zygaijohnson: no, because we really add huge chunks that contain unique comments14:59
zygaijohnson: just look at what the buffer contains14:59
zygaijohnson: it used to be one add before14:59
zygaijohnson: I was thinking about changing this some more, as follows14:59
zygaijohnson: keep an ordered set of rules like now14:59
zygaijohnson: and separately, a set of comments that go along with each rule14:59
zygaijohnson: the comments will refer to where this is used15:00
zygaijohnson: we de-duplicate the rules but collect the comments15:00
zygaijohnson: and when we emit the profiles we see short code and longer usage explanation15:00
ijohnsonhmm that could work15:04
ijohnsonanother option is that when we go to de-dup the rules, we just replace a rule with a comment that says "// duplicated" - this would keep it simple to understand and still de-dup real rules, just keep the profile at 17k lines or whatever15:05
* ijohnson quick coffee break15:05
zygaijohnson: I proposed that but it was NACKed by jdstrand15:07
zygaI'll ponder some on ordered set while having tea15:08
kjackal_v2hi jdstrand would it be possible to get a review on https://dashboard.snapcraft.io/snaps/microk8s/revisions/988/ and https://dashboard.snapcraft.io/snaps/microk8s/revisions/992/ to get the work I have on microk8s strict confinemnt so far into a branch?15:09
kjackal_v2thanks15:10
zygakjackal_v2: jdstrand is off until Wed15:11
kjackal_v2zyga: any chance someone else can give a +1 in the review queue15:13
zygaI don’t know15:14
kjackal_v2zyga: who is normally reviewing snaps that need manual reviews?15:16
kjackal_v2There must be a process somewhere documented15:16
ijohnsonroadmr: do you still do revision review, etc.? see kjackal_v2's request: ^15:17
mupPR snapcraft#2757 opened: Drop build_base check from make plugin. It is universal <Created by xnox> <https://github.com/snapcore/snapcraft/pull/2757>15:19
roadmrjacekn: let's see15:29
roadmrsorry ijohnson I mean you15:29
ijohnsonthanks roadmr15:30
roadmrijohnson, kjackal_v2 : do you need manual approval of these two revs only, or would you need allowance of personal-files use?15:33
kjackal_v2roadmr: with "personal-files use" you mean autoconnecting the home interface? For now I am interested in just getting the snap on the latest/edge/strict channel branch, nothing more15:36
kjackal_v2I am ok with manualy connecting the interfaces15:37
roadmrkjackal_v2: right, I can just approve these two revisions so you can publish them; subsequent ones would still need manual approval and manual connection15:37
kjackal_v2That is fine roadmr, we will need a few iterations before we consider this ready for releasing to the users15:38
roadmrok15:38
kjackal_v2thank you15:38
roadmrkjackal_v2: 988 is approved, 992 is waiting for auto-review, I'll approve as well if done15:39
roadmrkjackal_v2: I need to afk for a bit, will look at any stuck revisions when I'm back15:41
* cachio lunch15:42
Chipacadegville, pedronis: do we still not have seed.yaml (or seeding as a process) documentation?15:51
pedronisChipaca: we don't, seed.yaml is still an internal details btw (abuses and uses not with standing), also it will not exist in core2015:52
ijohnsonpedronis, Chipaca: do we support seeding with a developer's credentials i.e. from `snapcraft export-login`? I've never seed a core image with credentials like that15:52
pedronisijohnson: you mean building an image? or actual seeding?15:53
ijohnsonpedronis: yes building an image, can you put the credentials in the image/seed such that it will automatically login and refresh private snaps when booted up and running15:54
ijohnsonor maybe this already happens, I haven't ever tried this15:54
pedronisijohnson: that is officially not supported15:54
pedronisit's an anti-pattern15:54
ijohnsonpedronis: ack, that makes sense15:54
ijohnsonjust curious as it seems like that's what this user is requesting if Chipaca is referring to https://forum.snapcraft.io/t/snap-login-without-password-prompt/13762/615:55
pedronisprivate snaps exists mainly to support private early development of snaps15:58
pedronisChipaca: to be clear we do need life cycle docs, just not sure how much seed.yaml details are important16:00
roadmrkjackal_v2: hey, all available microk8s revisions are now approved, let me know if anything else is needed16:11
kjackal_v2awesome roadmr, thank you16:22
zygamvo: thank you for review on the ordered set18:26
zygamvo: I pushed the extra test changes and simplified some of the code as pointed out :)18:27
zygamvo: I'll merge when green but if there is something more to change I'm happy to do so in a follow up18:27
zygacachio: are spread tests for spread expected to pass? I got a failure in the ad-hoc test18:29
zygacachio: specifically on https://github.com/snapcore/spread/pull/90 (restarted since)18:29
zygaijohnson: ^ replied there, thank you for the review\18:29
mupPR spread#90: runner: remove filterDir, default include to "." <Created by zyga> <https://github.com/snapcore/spread/pull/90>18:29
cachiozyga, let me take a lok18:29
cachiolook18:30
zygacachio: no, sorry, no more logs18:30
cachiozyga, this one started failing a time ago18:30
zygacachio: just wanted to ask you if you know some tests are known broken18:30
zygacachio: can we fix or disable it18:30
cachiozyga, I'yes18:30
cachioi'll fix it18:30
cachioit is in my todo18:31
zygacachio: súper, thank you18:33
cachiozyga, the problem is this + ADHOC_ADDRESS='10.214.87.19718:33
cachiolocalhost:59387'18:33
ijohnsonzyga: cool, thanks for clarifying18:36
roadmrhey folks, is core considered a "base" snap technically?19:24
mupPR snapcraft#2758 opened: Appstream desktop suffix <Created by galgalesh> <https://github.com/snapcore/snapcraft/pull/2758>19:31
zygaroadmr: no, not yet19:33
zygaroadmr: core is special19:33
zygaroadmr: it's a base but it's not of type base19:33
roadmrinteresting :) ok zyga thanks19:33
roadmrwhich are the most common/used bases at this point?19:34
cachiozyga, adhoc test fixed19:40
cachioPR 9119:40
zygacachio: cool, looking19:40
mupPR #91: [15.04] Default to SocketMode=0660 if no socket mode option is given <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/91>19:40
zygacachio: how can we land it?19:41
cachiozyga, you cant19:41
cachiozyga, niemeyer is the only one19:41
zygaI know, I mean what can we do to get it merged?19:41
cachiojust ping him19:41
niemeyerYeah, that should work19:42
zygahey :)19:42
zyganiemeyer: you are sometimes hard to find :)19:42
niemeyerEven more if that's done during working hours instead of at sleep time ;D19:42
zygacachio fixed a bug in a test, do you think you could have a look?19:43
niemeyerzyga: Yeah, sorry.. I haven't managed to not sleep yet19:43
zygadoesn't have to be now :)19:43
zygatomorrow is a good day to do more work19:43
niemeyerYes, I'm just non-ironically saying that I don't think you've been pinging me during working hours19:44
niemeyerSo "hard to find" is.. hmm.. strange? for a remote team19:44
niemeyerI'm here if you need.. just ping19:45
zyganiemeyer: I meant that usually you are extremely busy so we plan our sync bursts with you carefully19:45
niemeyerHave you actually been trying to talk to me?19:46
zyganiemeyer: not today, no19:47
=== sergiusens_ is now known as sergiusens
zyganiemeyer: if you have some time tomorrow I have a PR for spread as well but I think it would be best to discuss that during your working hours19:48
niemeyerNot today, not recently.. I got one ping from you recently I think, and that was very late at night19:48
niemeyerI'm just saying, don't use my busyness (?) as an excuse to not talk to me :)19:48
zyganiemeyer: noted :)19:48
niemeyerThanks for your interest.. I can only help if I'm in the loop19:48
mupPR snapd#7633 closed: strutil: add OrderedSet <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7633>20:28
mupPR snapcraft#2759 opened: remote-build: rebase on master and include https token support <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2759>20:34
amurrayzyga: sure (re reviews) - I have had a couple on my list to do already but have been sidetracked with other things - since Jamie is out I am also taking the load of store reviews etc too - but please tag me (@alexmurray) and I will do my best22:57

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