/srv/irclogs.ubuntu.com/2019/08/23/#snappy.txt

mupPR snapcraft#2670 closed: Plugin colcon: forward parallel build count <Created by artivis> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2670>02:51
mupPR snapcraft#2681 closed: spread: fix unbound variable error <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2681>02:54
mupPR snapcraft#2675 closed: docs: quick init for lxd in HACKING.md <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2675>03:03
mborzeckimorning05:09
mvomorning! so much red :/ has anyone looked for patterns yet?05:49
mborzeckimvo: morning, no haven't looked yet, i'm pushing golang-github-snapcore-gettext to fedora, but noticed that it was all red yesterday evening too06:09
mvomborzecki: ok, I have a look06:11
mupPR snapd#7317 opened:  httputil: rework protocol error detection  <Created by mvo5> <https://github.com/snapcore/snapd/pull/7317>06:15
mvolooks like fastly is very unhappy 503, protocl_errors etc06:17
mborzeckimvo: looked at 3 prs, 3 different errors :/06:18
mvomborzecki: I looked at the test update one from samuele and it was all protocol_errors06:18
mvomborzecki: another one a mix of protocol_errors and 50306:18
mvomborzecki: but yes, there is odd stuff in the mix in others too06:18
mvomborzecki: looks like the protocol_error detection is buggy :/06:18
mborzeckimvo: perhaps looking at the string was more reliable06:19
mvomborzecki: its funny, I think some of the ones failing use the old string detection so its something fishy, maybe the old code was buggy too and we were just lucky :(06:20
mvomborzecki: but yeah, pushed a PR with better string based detection and slightly improved debug06:21
mborzeckimvo: hm type assertion didn't work then?06:21
mvomborzecki: maybe or its something strange with the imports, the bundled golang h2_bundle.go does not have a StreamError06:22
mvomborzecki: so it might be some strange interplay between the bunblded http2 and the x/net/http206:22
mvomborzecki: I can dig some more, its just so time consuming :/06:23
mborzeckimvo: there's http2StreamError, iirc h2_bundle is x/net/http2 impoted and all funcs and types with http2 prefix06:23
mvomborzecki: yeah, this is the one my latest PR string matches on. its not an exported error unfortunately06:23
mborzeckimvo: //go:generate bundle -o h2_bundle.go -prefix http2 -underscore golang.org/x/net/http206:23
mvomborzecki: what is strange is that I had a tiny go example client running against a (c) http2 server that would produce stream errors and there I got the right errors06:24
mvomborzecki: anyway, I will investigate but it seems worthwhile to unblock ppl06:25
mvomborzecki: also 7312 would be good06:25
mvomborzecki: I saw some issues where the non-home user could not be deleteted because some process was still in use which I think this PR will fix (--force ftw!)06:25
mborzeckimvo: did you import x/net/http2 in that tiny go client?06:25
mvomborzecki: yeah, I have to for the error casting06:26
mvomborzecki: it is also imported in httputil06:27
mvomborzecki: http://paste.ubuntu.com/p/5m7nzf3yNZ/06:28
mborzeckimvo: ok, the docs on https://godoc.org/net/http say we'd need to use ConfigureTransport() or sth06:28
mvomborzecki: hm, I thought its doing this automatically06:28
mborzeckimvo: perhaps then it would always use the http client from imported lib06:28
mvomborzecki: let me try that06:29
mvomborzecki: and indeed06:29
mvomborzecki: my test code is doing this06:29
mvomborzecki: because I need to override the tls config :(06:29
mvomborzecki: if we override the default transport will it fall back to http1 automatically?06:30
mvomborzecki: also - I wonder if its worth it vs string detection :/06:30
mborzeckimvo: yeah, i'd assume that it falls back autmatically06:30
mborzeckimvo: quckly scanning the code, it sets up the handler of upgrading the protocol once h2 is seen in ALPN06:33
mborzeckimvo: so your client code would start with http.Transport{} and then call http2.ConigureTransport() on that06:34
mvomborzecki: let me play with this06:36
mupPR snapd#7307 closed: mkversion.sh: fix version from git checkouts <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7307>06:39
mupPR snapd#7273 closed: gadget, overlord/devicestate: rename Position/Layout <Gadget update> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7273>06:47
ackkhi, anyone has an idea on how to find out what's keeping loop devices busy in https://bugs.launchpad.net/snapd/+bug/1841137 ?06:55
mupBug #1841137: /dev/loopX devices left around for removed snap revisions <snapd:New> <https://launchpad.net/bugs/1841137>06:55
mvoChipaca: hey, good morning, you are around early :)06:57
mvohey pedronis ! still lots of reds but some progress in hopefully making things less red06:58
Chipacamvo: forgot to close irc before suspending the notebook yesterday, so it connected as soon as i opened it to catch up with the world over breakfast06:58
Chipacamvo: good morning =(06:58
Chipacaer, i meant =(06:58
Chipacawait06:58
Chipaca=)06:58
Chipacathere06:58
mvoChipaca: hahaha06:58
Chipacasilly half-asleep hands06:58
* mvo kicks Chipaca from irc again until he has tea/coffee06:59
mupPR snapd#7271 closed: many: generalize assertstate.Batch to asserts.Batch, have assertstate.AddBatch <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7271>06:59
* Chipaca disappears06:59
mborzeckiChipaca: hey, good morning07:05
mborzeckimvo: you're trying out wth ConfigureTransport then? in which case I'll stop going through 7317 ;)07:06
mvomborzecki: I'm looking into it but I think its not worth waiting07:07
mvomborzecki: I'm also more and more convinced that whatever we do we need a test :/07:07
=== pstolowski|afk is now known as pstolowski
pstolowskimorning07:07
mvomborzecki: which is annoying, I think I will snap my libevent-server hack from nghttp207:08
mvomborzecki: so that we have something we can test against - one issue with this is that http2 is tls so I need keys and for self-signed I need to alter the config which lead to the issue that my test client was not quite in the same state as the real one07:08
mvomborzecki: did I mention its annoying ;)07:09
mupPR snapd#7306 closed: overlord/configstate: sort patch keys to have deterministic order with snap set <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/7306>07:09
mvothanks pstolowski ! nice to see this one goingin07:10
pstolowskimvo: yeah, that was the last one07:11
pstolowskimvo: can you take another look at https://github.com/snapcore/snapd/pull/7219 ? it's close to landing07:12
mupPR #7219: devicestate/firstboot: check for missing bases early <Created by stolowski> <https://github.com/snapcore/snapd/pull/7219>07:12
mborzeckipstolowski: hey07:13
mvopstolowski: yes! fiddling a bit with tests then I'm ready07:13
mvoa review for 7312 would be great, it should eliminiate another relatively common test failure07:20
zygaGood morning07:21
mvohey zyga07:23
zygaSleeping with two kids and a dog on one bed07:27
zygaUgh07:27
zygaBrb07:27
mborzeckilooks like some redditors attended the london meetup https://www.reddit.com/r/linux/comments/ctxaff/rebootless_kernel_updates_by_canonical/07:34
mupPR snapd#7318 opened: many:  merging asserts.Batch Precheck with CommitTo and other clarifications <Created by pedronis> <https://github.com/snapcore/snapd/pull/7318>07:36
pedronismvo: ^ the follow to asserts.Batch PR07:36
mupPR snapd#7312 closed: tests: use user-tool to remove test user in the non-home test <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7312>07:46
mupPR snapd#7319 opened: spread.yaml: set centos-7-64 to manual <Created by mvo5> <https://github.com/snapcore/snapd/pull/7319>07:50
pedronisChipaca: have you have a moment, can you double check the last changes to https://github.com/snapcore/snapd/pull/714907:53
mupPR #7149: cmd: add snap model command; daemon: add /v2/model, /v2/model/serial REST APIs <Remodel :train:> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/7149>07:53
Chipacapedronis: sure, in a bit07:55
pstolowskipedronis: hey, on pi3 the aa_parser timings are indeed showing significant difference with multiple runs vs all-at-once, the later is 3x faster with just 11 snaps. i'm writing a summary07:58
pedronisthank you07:58
zygapstolowski: nice work08:02
mvopstolowski: nice!08:03
mborzeckimvo: have you seen this error /usr/sbin/deluser: `/sbin/userdel jim' returned error code 8. Exiting. ?08:03
mborzeckimvo: accroding to manapage, 8 means the user is logged in08:04
zygajim?08:04
mvomborzecki: yes08:04
mvomborzecki: this is what the Pr you most recently reviewed was about08:04
mvomborzecki: using the new "user-tool del" that uses deluser --force08:04
mborzeckimvo: wondering why userdel believes the user is logged in though08:06
mborzeckimvo: could that be somehow related to issues that zyga saw on arch08:06
mvomborzecki: I think it checks for processes that are owned by the user08:06
mvomborzecki: the issue from zyga was about systemd creating files or something?08:06
zygamvo: why did you add --remove to userdel?08:07
zygamvo: pam I think08:07
zygamvo: and why only to one branch of the code?08:07
mvozyga: it removes the homedir as well08:07
zygaaha, and should it run on core too?08:08
mvozyga: uh, you are right, the second one should also have it for completness08:08
zygamvo: I rebased https://github.com/snapcore/snapd/pull/7309/files08:08
mvozyga: the current master should fix the practical failure but it still should be consistent08:08
mvozyga: ta08:08
mupPR #7309: tests: re-implement user tool in python <Created by zyga> <https://github.com/snapcore/snapd/pull/7309>08:08
zygamvo: if you can review that I'll follow up with extra --remove in the core case08:09
zygaI'm looking at chipaca's PR08:09
mupPR snapd#7320 opened: snap/pack, cmd_pack: 'snap pack --check-skeleton' checks interfaces <Created by chipaca> <https://github.com/snapcore/snapd/pull/7320>08:24
* Chipaca curses at his trackpad08:25
Chipacazyga: thank you for looking at my pr08:26
Chipacaoh, drat, import cycle08:38
Chipacain tests08:39
Chipaca:-(08:39
mupPR snapd#7320 closed: snap/pack, cmd_pack: 'snap pack --check-skeleton' checks interfaces <Created by chipaca> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/7320>08:42
mborzeckiChipaca: :( and i was looking at it08:43
Chipacamborzecki: sorry :-( it shouldn't change too much, but import cycles are hard to fix08:43
Chipacamborzecki: need to shunt the code around08:43
mborzeckiChipaca: fwiw you could just call snap.SanitizePlugsSlots08:44
mborzeckior not :/ need to import interfaces/builtin08:44
Chipacapstolowski: question for you sir08:50
Chipacapstolowski: why is 'plug/slot sanitization not possible from snap command'?08:50
pstolowskiChipaca: because that would required all interfaces/ code to be imported, since they define BeforePrepare* methods08:56
Chipacapstolowski: and why is that bad?08:56
pstolowskiChipaca: i don't know, might be historical; at some point i was told it was bad ;). maybe pedronis / mvo / zyga remember08:59
mborzeckizyga: experimental.parallel-instances is set to true, shouldn't there be a feature file in /var/lib/snapd/features?08:59
zygaChipaca: as in statically?08:59
zygaChipaca: because some are only sanitized after connections I guess09:00
zygabut I think it'd be nice to have a pre-check09:00
zygamborzecki: not always, check for is-exported09:00
zygamborzecki: only exported flags have this09:00
pedronisChipaca: I'm not sure what's the question there?09:00
Chipaca1 sec09:01
Chipacapedronis: in cmd/snap/main.go we replace snap.SanitizePlugSlots with a nop09:02
mupPR snapd#7320 opened: snap/pack, cmd_pack: 'snap pack --check-skeleton' checks interfaces <Created by chipaca> <https://github.com/snapcore/snapd/pull/7320>09:02
Chipacapedronis: there's even a comment, // plug/slot sanitization not used nor possible from snap command, make it no-op09:03
pedronisChipaca: ah09:03
pedronisnot sure09:03
Chipacapedronis: but, for #1617302, I _want_ that code to be usable09:03
mupBug #1617302: Specifying a nonexistent plug does cause any errors <Snapcraft:Triaged> <Snappy:Triaged by chipaca> <https://launchpad.net/bugs/1617302>09:03
pedronisyou'll have to dig09:03
Chipacapedronis: so, I dropped that no-op'ing09:03
Chipacapedronis: and nothing broke :-)09:03
mborzeckizyga: hm maybe we should export all experimental flags by default09:03
pstolowskizyga: no, this is about BeforePreparePlug|Slot, so static09:04
zygamborzecki: we had that discussion09:04
zygamborzecki: and it was nacked09:04
pedronisChipaca: might be there is a size concern09:04
mborzeckizyga: duh, ok09:04
zygamborzecki: I think it's fine to export it if there is a purpose09:04
zygapstolowski: interesting, then I don't know09:04
Chipacapedronis: might be; locally snapd goes from 17 to 18 MBs with that import (from 10 to 11 stripped)09:04
mborzeckizyga: heh, so we're missing a bit that updates the feature files on startup :/09:07
zygamborzecki: hmm?09:07
mborzeckizyga: the feature files are created only when core config is updated09:08
pstolowskiChipaca: ok, i've an idea09:08
zygamborzecki: I thought we had that, because I kept looking at that code at the time and it was full of interesting avenues09:08
zygamborzecki: ah, because you exported it now and it is gone09:08
=== alan_g is now known as alan_g_
mborzeckizyga: s/gone/not added/09:08
zygayeah09:08
Chipacapstolowski: sounds dangerous09:09
pstolowskiChipaca: i think we did this because they were already validated on install, so you're not paying the penalty every time on snap run - execApp reads the yaml and calls Sanitize internally (and is noop atm)09:10
Chipacapstolowski: can you comment on the PR?09:11
Chipacapstolowski: it sounds like i need to do some trickery :-)09:11
* Chipaca is fine with trickery09:11
pstolowskisure09:14
mupPR snapd#7310 closed: devicestate: add missing test for remodeling possibly removing required flag <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7310>09:15
mupPR snapd#7318 closed: many:  merging asserts.Batch Precheck with CommitTo and other clarifications <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7318>09:17
pstolowskiChipaca: commented09:22
* pstolowski will learn one day the spelling of "negligible" after looking it up again in the dict09:24
pedronisreminder: #7135 needs a 2nd review09:25
mupPR #7135: image: support prepare-image --classic for snapd snap only images <Created by pedronis> <https://github.com/snapcore/snapd/pull/7135>09:25
zygaChipaca: https://github.com/snapcore/snapd/pull/7185#pullrequestreview-27886185009:34
mupPR #7185: boot, etc.: refactor boot to have a lookup with different imps <Created by chipaca> <https://github.com/snapcore/snapd/pull/7185>09:34
mupPR snapd#7314 closed: tests/main/mount-ns: account for clone_children in cpuset cgroup on 18.04 <Simple 😃> <Created by bboozzoo> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7314>09:42
Chipacazyga: I can't refactor all the things in a single PR :-/09:49
Chipacait'd be un-reviewable09:49
zygaChipaca: that's fine, that's why my general comment was "how do you want to proceed"09:49
Chipacazyga: "find a nice sandy riverbank and have a cookout"09:49
* Chipaca goes for coffee09:51
mupPR snapd#7135 closed: image: support prepare-image --classic for snapd snap only images <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7135>10:02
pstolowskipedronis: https://forum.snapcraft.io/t/apparmor-parser-performance-on-pi3/1290910:03
mupPR snapd#7311 closed: snap/naming: introduce SnapRef, Snap, and SnapSet <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7311>10:04
ograpstolowski, i wish you would test on actual low-end HW (imx6ull like rigado uses or a beaglebone/pocketbeagle) with actual single core CPU and respectively slow IO channels ... but it is awesome that this gets finally attacked at least :)10:13
ograpi's are way to powerful :)10:14
pstolowskiogra: haha, pi3 is the slowest hw i have :)10:14
zygapstolowski: boot with cpu=110:15
zygaor whatever the switch is10:15
mborzeckicpus iirc10:15
ograzyga, that doesnt help shpwing actual single core IO performance10:16
zygaIO performance?10:16
pstolowskii think the point of the test has already been proved10:16
ograyeah, the prob with real single core arm is that your IO is just something like a fifo ... if you take multi-core HW you still use the fast IO channels. even if you limite the number of cores10:17
ograyeah, it has10:17
pstolowskiand it obviously will be much worse on weaker specs10:17
ograbut it wont give you realistic numbers as we get them on real customer HW10:17
ograright10:17
mborzeckipstolowski: maxcpus https://elixir.bootlin.com/linux/latest/source/Documentation/admin-guide/kernel-parameters.txt#L2368 if you want to play with it10:17
* ogra points at 30min firstboot times :)10:17
pstolowskimborzecki: yeah i know, i used it for some other test the other day10:18
mborzeckipstolowski: each time we do an interation on performance :P10:18
mupPR snapd#7321 opened: tests: restore dpkg selections after upgrade-from-2.15 test <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7321>10:23
zygawhere did mvo go?10:26
mupPR snapd#7322 opened: tests: wait_for_service shows status after actual first minute <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7322>10:26
zygamborzecki: ^ two trivial PRs10:26
zygamborzecki: slightly longer but also simple https://github.com/snapcore/snapd/pull/730910:29
mupPR #7309: tests: re-implement user tool in python <Created by zyga> <https://github.com/snapcore/snapd/pull/7309>10:29
mupPR snapd#7323 opened: features, overlord: make parallel-installs exported, export flags on startup <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7323>10:35
mborzeckizyga: feature flag ^^10:35
zygalooking10:36
zygamborzecki: please also change cmd/libsnap-confine-private/feature.[ch]10:36
mborzeckiduh /o\10:37
zyga:D10:37
mborzeckiok, i can change that bit in the PR with C code10:38
zygamborzecki: add one liner test to TestControlFile as well please10:39
zygaand if you do roll the C changes to flags here as well10:39
zygaso that the other PR focuses only on the meat of the parallel installs for classic snaps10:39
zygad'oh10:40
zygaI found why interfaces-fuse_support misbehaved10:40
zygaI'll also rename the directory because it's silly10:41
zygahey mvo10:45
zygamvo: can you look at https://github.com/snapcore/snapd/pull/7319 - there's a question there10:45
mupPR #7319: spread.yaml: set centos-7-64 to manual <Created by mvo5> <https://github.com/snapcore/snapd/pull/7319>10:45
mupPR snapd#7319 closed: spread.yaml: set centos-7-64 to manual <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/7319>10:46
zygathanks!10:46
mvozyga: yes, already replied, the most recent run of another PR was green so it seems to be resolved already10:46
zygamvo: I think 7321 is something you want to look at as well10:46
mvozyga: I saw it on 2 PRs before hence the change but looks short-lived10:46
zyga(super simple)10:46
zygaand if you still want to after that, https://github.com/snapcore/snapd/pull/7309 to put the user-tool change to rest10:47
mupPR #7309: tests: re-implement user tool in python <Created by zyga> <https://github.com/snapcore/snapd/pull/7309>10:47
mvozyga: thanks, I will followup in this one10:47
mvozyga: on the 732110:47
mupPR snapd#7324 opened: image: improve/tweak some warning/error messages <Created by pedronis> <https://github.com/snapcore/snapd/pull/7324>10:48
pedronisChipaca: ^10:48
Chipacapedronis: thank you10:48
mupPR snapd#7325 opened: cmd/libsnap-confine-private: add checks for parallel instances feature flag <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7325>10:49
mborzeckizyga: ^^10:49
zyga+110:50
mupPR snapd#7225 closed: tests: don't repeat checks <â›” Blocked> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/7225>10:51
zygamborzecki: can you do a pass over the two simple PRs I sent10:51
zygaI'll grab coffee and be back soon10:51
mvozyga: I added a comment to 7321, might be best to have a quick HO so that we can chat about the intended result10:54
zygamvo: d'oh!11:02
zygaman so dpkg is not doing what I thought it would do11:02
mvozyga: no worries, its a common misconception11:03
mvozyga: this mechasnism is *really* old :)11:03
mupPR snapd#7299 closed: sanity: report proper errror when fuse is needed but not available <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7299>11:03
zygamvo: so are you saying there is no reliably way to save/restore actual packages installed on the system?11:03
mvozyga: is that what you want? checkpoint; do stuff; restore?11:03
zygayes11:03
zygaso that this test doesn't impact the set of installed packages that much11:04
mvozyga: ok, let me scratch my head about this a wee bit11:04
mvozyga: there is no trivial way I think11:04
zygamvo: also, to actually describe the snasphot11:05
zygaso that we can use the same thing for detection11:05
zyga(in other words, to produce a diff when test doesn't clean up)11:05
mborzeckizyga: sure, will do11:14
mvozyga: I add something in python-apt to tests/lib/bin11:14
zygamvo: super, thank you11:15
mvozyga: there is actually a tool called apt-clone which we might use but it won't remove stuff, should be easy to add though11:15
mvozyga: sry that this is so hard :/11:15
mupPR snapd#7326 opened: tests: unmount fuse connections only if not initially mounted <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7326>11:15
zygamvo: for context, I have an in-flight tool called "testbed-tool" that invokes helper tools to examine system state (it uses mountinfo-tool currently)11:15
zygamvo: if we do it right I can use your apt code once you have it11:15
zygamvo: please look at 7326 -- that's the last leak on classic11:16
zygait took me longer because I was blind and didn't see - vs + in the diff :)11:16
zygathis unblocks mount-ns test again11:16
zygawe still leak stuff on core, mainly in mysterious ways (mounts that are not accounted to any snaps)11:16
zygabut this is a major step towards not leaking anything anymore :)11:16
mupPR snapd#7321 closed: tests: restore dpkg selections after upgrade-from-2.15 test <Simple 😃> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/7321>11:17
zygamborzecki: I'll focus on re-enabling mount-ns test on classic only now11:18
mborzeckizyga: btw. parallel installs PR also broke socket activation under enforcing selinux, wonde if there's osmething wrong with the contexts after the bind mount11:18
mborzeckizyga: obviously nothing in the logs :P11:18
zygamborzecki: oh, that's odd11:18
zygahttps://www.irccloud.com/pastebin/6v7HDXvH/11:18
zygado you have the log?11:18
mborzeckizyga: no, need to try locally and probably disable noaudit11:19
zyga+111:19
zygaI'll spawn some tests and return to 721811:25
zygamvo: https://github.com/Originate/scriptkeeper11:26
pedronispstolowski: can #7219 be landed?11:31
mupPR #7219: devicestate/firstboot: check for missing bases early <Created by stolowski> <https://github.com/snapcore/snapd/pull/7219>11:31
mborzeckizyga: https://forum.snapcraft.io/t/cannot-use-gimp-snap-as-rawtherapee-external-editor/12908 heh /tmp11:37
mvozyga: I pushed something to your PR11:38
mvozyga: I am running a test locally now11:38
zygamvo: which one?11:39
mvozyga: the apt one11:39
zygaah, I closed it11:39
zygayou can reopen though11:39
mvozyga: yeah, once the local run is done I will11:39
zygamvo: what did you push, gh is not showing anything (because it is closeD)11:40
* zyga hugs mvo for not giving up :)11:40
* zyga just ran 1400 tests without leaking a single mount entry 11:40
zygaI'm _so_ happy we reached this stage11:40
zygacore is the next battleground but it is already in a saner state because many of the bugs were shared11:40
mvozyga: hm, it rejected my push with permission denied11:41
mvozyga: thats odd11:41
zygayeah because it's closed now11:41
zygalet me reopen11:41
zygamvo: try now please11:41
mvozyga: aha, interessting11:41
mvozyga: yeha, that works now11:41
mupPR snapd#7321 opened: tests: restore dpkg selections after upgrade-from-2.15 test <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7321>11:42
zygamvo: git add apt-tool11:42
zyga:D11:42
zygaand I *love* what we are doing to tests11:42
zyga2000 tests and no leaks11:43
mvozyga: yeah, I could have sworn I did a git add before, maybe typoed11:43
mvooh well11:43
mupPR snapcraft#2671 closed: docker: remove snapcraft-wrapper <Created by abitrolly> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2671>11:43
mborzeckiwow, systemctl restart bluetooth killed the whole shell11:43
mvopushed now11:43
zygaI wonder if core has a systemic problem or is it some systemic test that messes up there11:43
zygamborzecki: whaaat?11:43
zygamvo: mind if I improve on it? :D11:43
zygajust with CLI and types11:44
zygamvo: cli helps to detect bugs in the invocation form the hsell11:44
zyga*shell11:44
zygamvo: types help others and somewhat ourselves as we read the code11:44
mvozyga: lets wait to see if it actually works11:45
zygamvo: what happens when cache.commit() fails? is there a rollback or something?11:45
zygamvo: +111:45
mvozyga: no, then the world is on fire11:45
zygaheh11:45
zygathe good old world of classic packages11:45
mvozyga: yes11:45
mvozyga: I destroyed my chroot just now with some strange maintainer script11:46
mvooh well11:46
* Chipaca wanders off to ponder lunch11:46
mvozyga: I'm a mupett s/python/pytho3/ for a start, reruning the test11:48
zygamvo: try any-python if it is compatible with python2 and python311:48
mupPR snapd#7327 opened: snap/naming: simplify SnapSet somewhat <Created by pedronis> <https://github.com/snapcore/snapd/pull/7327>12:06
mupPR snapd#7322 closed: tests: wait_for_service shows status after actual first minute <Simple 😃> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7322>12:09
pedronispstolowski: could you merge master into #7207 ? #7129 has a conflict now12:10
mupPR #7207: snap: prevent duplicated snap name and snap files when parsing seed.yaml <Created by stolowski> <https://github.com/snapcore/snapd/pull/7207>12:10
mupPR #7129: userd: allow setting default-url-scheme-handler <Created by jwheare> <https://github.com/snapcore/snapd/pull/7129>12:10
pedroniswrong one12:11
pedronis#721912:11
mupPR #7219: devicestate/firstboot: check for missing bases early <Created by stolowski> <https://github.com/snapcore/snapd/pull/7219>12:11
pstolowskipedronis: yes, on it12:11
pstolowskiok, i hope i merged correctly.. it was slightly confusing12:31
pedronispstolowski: I can double check12:32
=== ricab is now known as ricab|lunch
mborzeckislightly larger review around configstate & configcore https://github.com/snapcore/snapd/pull/7323 if anyone's interested12:47
mupPR #7323: features, overlord: make parallel-installs exported, export flags on startup <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7323>12:47
mborzeckiand it's green :P12:47
zygamborzecki: one comment there still needs changes12:51
mborzeckihmmm12:52
mborzeckiw812:52
mborzeckidu, didn't force push :/12:52
zygamvo: what's the status of https://github.com/snapcore/snapd/pull/7321?12:57
mupPR #7321: tests: restore dpkg selections after upgrade-from-2.15 test <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7321>12:57
mvozyga: meetings, sry, need to look13:04
zygano worries13:04
mborzeckizyga: hm about dpkg selections, there's probably a quick'n'dirty way to do that with rpm, baiscally rpm -qa > state.before and later rpm -ev $(grep -f state.before -v state.after)13:22
mborzeckizyga: tbh, we could probably do the same with every package manager we support13:23
pedronispstolowski: this one I think needs a merge from master: https://github.com/snapcore/snapd/pull/720713:25
mupPR #7207: snap: prevent duplicated snap name and snap files when parsing seed.yaml <Created by stolowski> <https://github.com/snapcore/snapd/pull/7207>13:25
zygamborzecki: yeah, mvo started that for apt but we can explore generalizing it13:25
mupPR snapd#7325 closed: cmd/libsnap-confine-private: add checks for parallel instances feature flag <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7325>13:25
mborzeckizyga: and wow, rpm -e is sooo much faster than dnf erase zsh13:26
zygapython :)13:26
pstolowskipedronis: pushed13:26
pedronispstolowski: thanks, let's see how it goes13:27
* zyga runs a bunch of tests and breaks for a while13:41
zygaping me on TG for insta-back13:41
mupPR snapd#7324 closed: image: improve/tweak some warning/error messages <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7324>13:54
=== ricab|lunch is now known as ricab
mvozyga: the tool should finally be ok - sry for the slow going on this14:19
zygamvo: cool, I'm back now14:19
zygalooking14:19
zyga- Download snap "snapd-hacker-toolbelt" (22) from channel "stable" (stream error: stream ID 1; PROTOCOL_ERROR)14:20
zygabooo14:20
mvozyga: I have a PR for that :/14:30
mvozyga: which failed in system-usernames-missing-user cleanup on tumbleweed :(14:31
pedronispstolowski: did you do something different when pushing the last time:  https://travis-ci.org/snapcore/snapd/jobs/57580888414:39
pedronismvo ^14:39
zygamvo: do we have a deadlock in those PRs?14:39
zygaone fix blocking landing another14:40
mvozyga: I'm not sure why the tumbleweed one fails, I need to check, its strange14:40
mvozyga: I mean, I think we cleanup so I wonder how the snap_daemon can be there already14:41
zygamvo: userdel vs deluser?14:41
zygajust a guess14:41
zygamvo: https://github.com/snapcore/snapd/pull/7309 is green14:48
mupPR #7309: tests: re-implement user tool in python <Created by zyga> <https://github.com/snapcore/snapd/pull/7309>14:48
pstolowskipedronis: hmm i don't think so14:49
mvozyga: checking15:01
pedronispstolowski: there is something weird there: https://github.com/snapcore/snapd/pull/7219/commits see the butlast commit15:01
mupPR #7219: devicestate/firstboot: check for missing bases early <Created by stolowski> <https://github.com/snapcore/snapd/pull/7219>15:01
pedronispstolowski: I'm going to force push to it again15:02
mvozyga: merged now, sorry, my comment about shell was actually super silly15:03
mupPR snapd#7309 closed: tests: re-implement user tool in python <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7309>15:04
zygamvo: hah, no worries :)15:04
zygamvo: thank you, one less PR15:04
mvozyga: like this user-tool was using "not" which is so not-standard15:04
zyganot standard15:05
zygayeah15:05
zygajust less insanity15:05
pstolowskipedronis: hmmmmm i might have ctrl+c'ed git push upon realizing i did this from the vm, maybe something github got confused15:05
zygaI think some of the shell stuff could be removed too, python has user/group lookup15:05
mvozyga: I'm still super puzlled though, I got an error that "groupadd snap_daemon" already exists. however afaict we cleanup carefully where we add this group (and user)15:06
zygamvo: hmmm, did you investigate with -debug15:06
mvozyga: yeah, I added some quick comments15:06
zygaor with -shell-before15:06
mvozyga: I'm doing this now15:06
mvozyga: I suspect it depends on the order of tests so it will be tricky to reproduce15:06
mvobut its very annoying, I think we really want 731715:06
zygamvo: use this thing before my helpers are merged15:07
zygamvo: cat ../../runtime-state/runs | tr ' ' '\n'15:07
zygaofftopic15:07
zygaI just realized that the USB-C port on my GPU is really a generic USB-C port15:07
zygaso I just plugged an ethernet card into my GPU15:07
mvozyga: yeah, not reproducible anymore when running locally :/15:07
zygaand it worked15:07
zygathe future is indeed now15:07
mvozyga: wuut? woah15:07
zygahaha15:07
zygayeah15:07
zygamy reaction exactly15:07
mvozyga: where does the ethernet card show up? on your main system?15:08
pstolowskiheh15:08
zygamvo: on the usb bus, the GPU provides an USB-C controller that is connected to the host15:08
mvozyga: magic!15:08
zygamvo: ubuntu 18.04 doesn't work with RTX 2080super so I need to reinstall 19.10 to try15:08
zygaI just plugged an USB-C SSD15:08
zygaand it also worked15:08
zygalol15:08
zygathis is great15:09
zygathis is on a computer that has only 2.0 USB ports otherwise15:09
zyga(10 year old)15:09
zyga:D15:09
mvozyga: where in the testsuite do you hook into to "measure" stuff. I want to see what test leaves the snap_daemon user behind15:10
zygamvo: let me show you one sec15:10
zygamvo: look at v15:11
zygahttps://github.com/snapcore/snapd/pull/716815:11
mupPR #7168: tests: measure testbed for leaking mountinfo entries <Created by zyga> <https://github.com/snapcore/snapd/pull/7168>15:11
mvozyga: is it restore_project_each?15:11
zygalook closer15:11
mvozyga: looking15:11
zygabut ideally, just extend testbed-tool15:11
zygait's very easy15:11
zygathough this is the shell version, the python rewrite is the one I will propose, it's just half done because I was busy fixing actual bugs15:12
pedronispstolowski: I redid the merge and pushed again15:12
mvozyga: aha, estore_suite_each() ?15:12
zygamvo: not quite15:12
pstolowskipedronis: thank you15:12
zygamvo: because there are two things at play15:12
zygamvo: look where I put reset.sh --reuse-core call15:12
zygamvo: both need to be in place for the tool to be effective and precise15:12
zygamvo: please fork that and just hack testbed-tool15:13
zygaon core some tests reboot which actually affects the mount table15:14
zygabut that's fine, it's just a few of them15:14
mvozyga: my use-case is much simpler, I just need to check for getent passwd snap_daemon15:16
zygamvo: sure15:16
mvozyga: but I appreciate the hints where to look/hook into etc15:17
zyga:-)15:17
mvozyga: its probably something silly but I can't pinpoint it15:17
mvozyga: maybe your python rewrite is enough, could be some stupid shell side effect or whatnot15:17
* mvo shakes fist15:17
zygamvo: try it15:18
mvoyeah, doing a tumbleweed spread run now15:19
mvozyga: also I think I only saw this on tumbleweed so far so maybe something funny is going on there for real15:19
zygachasing bugs on Friday evening15:19
zygacould be15:19
zygaI'll make coffee and see how my tests are doing15:19
mvoyeah, not a great time, I will soon need to leave to play some hockey15:19
mvozyga: good luck!15:20
zygahttps://github.com/snapcore/snapd/pull/7326 failed again15:20
mupPR #7326: tests: unmount fuse connections only if not initially mounted <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7326>15:20
zygaI restarted it on xdg stuff and on some other junk before15:20
zygaslow transfers15:20
zygamvo: replied to your python comments15:22
zygaI'll shoot a follow up with a comment and extra --remove15:22
zygabut first, coffee!15:23
zygathat USB-C thing made me think15:24
zygaI could use one cable to connect everything I need for my PCc15:24
zygausb-c -> usb-c screen -> hub with mouse / keyboard network15:24
zygathe original motherboard would only have the power cord15:24
zygaso mac-like, gosh15:25
zyga:D15:25
zygaback to coffee15:25
* genii 's ears perk up for a second when he gets highlighted by "coffee"15:34
pstolowskipedronis: #7202 is green, we can merge15:51
mupPR #7202: tests: sync journal log before start the test <Simple 😃> <Created by sergiocazzolato> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/7202>15:51
pstolowskigrr i mean #720715:52
mupPR #7207: snap: prevent duplicated snap name and snap files when parsing seed.yaml <Created by stolowski> <https://github.com/snapcore/snapd/pull/7207>15:52
pstolowskimerged15:59
mupPR snapd#7207 closed: snap: prevent duplicated snap name and snap files when parsing seed.yaml <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/7207>16:00
zygare, sorry16:11
zygababy interrupt16:11
zygalucy was walking a little for the first time!16:11
pstolowskizyga: wooah!16:14
pstolowskipedronis: and #7219 is in a weird limbo state16:15
zygaone small interrupt and I'm back a16:15
mupPR #7219: devicestate/firstboot: check for missing bases early <Created by stolowski> <https://github.com/snapcore/snapd/pull/7219>16:15
pstolowskii've canceled & restarted the job16:17
zygaback16:18
zygastuff is annoyingly red16:18
zygajournal match failed16:19
pstolowski7219 stuck on https://usercontent.irccloud-cdn.com/file/yVpp7zaJ/Zrzut%20ekranu%202019-08-23%20o%2018.27.57.png16:28
zygapstolowski: I heard that travis has issues with google16:28
zygapstolowski: requesting a VM on gce can take multiple minutes16:28
zygapstolowski: that's why LXD is so hot for them16:28
pstolowskizyga: oh well, time for weekend i guess16:28
zygait's insta-up16:28
pstolowskio/16:29
=== pstolowski is now known as pstolowski|afk
zygapstolowski|afk: enjoy the summer!16:30
zygasee you on Monday16:30
mupPR snapd#7326 closed: tests: unmount fuse connections only if not initially mounted <Simple 😃> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7326>17:00
zygagoogle:ubuntu-core-16-64:tests/main/interfaces-account-control:accore18 needs fixes18:11
mupPR snapcraft#2683 opened: meta: move _errors to errors with related error classes <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2683>18:35
mupPR snapd#7328 opened: tests: pass --remove to userdel on core <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7328>19:52
mupPR snapcraft#2683 closed: meta: move _errors to errors with related error classes <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2683>22:12
mupPR snapcraft#2684 opened: meta: decouple DesktopFile logic <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2684>22:15
popey_ogra_: https://twitter.com/ABRStewart/status/116502989601339801622:36
popey_(nethack is outdated)22:37
popey_Words that I wouldn't have expected to say, with that meaning, in 201922:37
popey_jdstrand: you may have noticed, we're catching up with store requests.22:56

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