/srv/irclogs.ubuntu.com/2019/01/18/#snappy.txt

Chipacamwhudson: o/00:51
mwhudsonChipaca: hello00:51
Chipacamwhudson: question about snapd on debian00:52
Chipacamwhudson: in 'man snap', if you look for the entry for 'info', is it indented too much compared to the other commands?00:52
mwhudsonChipaca: let's see00:53
Chipacaif so, that's the main bug we revved go-flags for00:53
Chipacathere are others around it using too much space needlessly, but those are less ugly00:53
Chipacain any case it's not something critical :-)00:54
mwhudsonha this chroot doesn't have man00:54
ChipacaI'd make fun of your chroot, but UC doesn't have man either00:55
mwhudsonChipaca: man page looks like this https://paste.ubuntu.com/p/Qq7KPtZrQq/00:56
mwhudsonwhich is pretty bad (what are those Help Options about?) but doesn't sound like what you are saying00:56
Chipacawhoa00:56
Chipacamwhudson: well, maybe00:56
Chipacamwhudson: we "hid" the help options00:56
Chipacamwhudson: which starts showing off the other bug, where it doesn't de-dent if a command only has hidden options00:57
mwhudsonthis is 2.3000:57
mwhudsonah ok00:57
Chipacaso then we fixed go-flags00:57
mwhudsonis the fix upstream?00:57
Chipacayes00:57
mwhudsoni guess i can rev it in debian and see what falls out there00:57
Chipacathe fix is https://github.com/jessevdk/go-flags/commit/14b8957836290f46f473f39b104761889b2f0af001:00
Chipacabut there are a bunch more fixes that are nice to have so if you can rev it, all the better01:00
mwhudsonbah not in latest release01:01
Chipacapsh, "releases", who uses those01:02
Chipacaanyway, I should go do that "sleep" thing that seems popular around here01:02
Chipacajust out of FOMO01:02
mwhudsonChipaca: good night01:02
Chipaca\o01:02
mwhudsonheh https://github.com/jessevdk/go-flags/issues/28801:02
Chipacayeah what he said01:03
* Chipaca ⇝ zzzz01:03
mupPR snapd#6398 opened: tests: update systems for google sru backend <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6398>02:02
mborzeckimorning06:20
mvohey mborzecki06:20
mborzeckiwow amdgpu-pro driver is a mess, no wonder nobody uses it06:23
mvomborzecki: meh! on fridays I only want good news ;)06:24
mborzeckimvo: good news: today is friday :P06:25
mvomborzecki: heh :)06:29
mborzeckiheh no way that driver is going to work on arch, it's super outdated and i'd have to downgrade xorg and the kernel :/06:55
mupPR snapd#6398 closed: tests: update systems for google sru backend <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6398>07:55
zygahey ho07:59
zygamvo: I'm back to work from yesterday08:00
zygamy two multipass machines lost their disks, I fortunately pushed everything out08:01
mborzeckizyga: mvo: left some comments in the debian packaging pr08:06
zygamborzecki: thank you08:06
zygamborzecki: I think my focus today is to do the downstream package release08:07
zygait still fails to build correctly08:07
zygaunit tests fail in sbuild08:07
zygabut pass in the same machine running debian 10 normally08:07
zygasome a bit mysteriously08:07
mborzeckioh, sbuild is just chrot?08:07
mborzeckichroot08:07
mvomborzecki: thanks!08:08
mvozyga: I had the "smoke" suite passing and the main ones are running but of course that is not inside sbuild08:10
mvozyga: also its still a snapshot, would love to try a 2.37.1 package build from a git tag too08:10
zygamvo: yeah,08:10
zygaideas on why it would fail in sbuild appreciated08:10
zygaI'm rebuilding my environment08:10
mvozyga: let me try to run the import-debian-salsa-no-history .dsc in sbuild08:14
mvo(this will take a bit to setup the env)08:14
zygaimport-debian-salsa-no-history?08:15
zygathat's a branch?08:15
zygaI haven't look at git much yet08:15
zygaah08:15
zygamvo: do let me know if you have any unit test failures08:15
mupPR snapcraft#2443 closed: schema: allow before and after <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2443>08:16
mupPR snapd#6399 opened: packaging: make sure that /var/lib/snapd/lib/glvnd is accounted for <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6399>08:23
mborzeckizyga: ^^ no rush, you can look at it when you get back08:25
zygamborzecki, mvo: shall we merge the opensuse packaging branch08:25
zygaand then separately have someone look at bcond/with part of it08:25
zygabecause I think we are paying the price for the divergence way too often08:26
zygaand that is managed there08:26
mborzeckizyga: sounds good to me08:26
zygamborzecki: +1 on your branch but I'd rather work on reusing that for arch/debian than just keep whack-a-mole08:26
zygamvo: if you agree then let's please land the opensuse PR08:26
zygaand if we do a .1 I would have an easier life for suse release too08:27
=== pstolowski|afk is now known as pstolowski
pstolowskimornings08:28
mborzeckipstolowski: hey08:28
zygahey pawel08:28
zygaoh, btw, I will be off on monday08:28
mborzeckizyga: i can later look into bcond_with thing, hopefully my opensuse installation is still working08:30
zygamborzecki: thank you08:31
zygaactually08:31
mvozyga: I need to look at this again, I'm slightly wary that it might lead us to a tangent that makes the debian release slower, but I really need to look first08:33
zygamvo: it's not affecting debian08:34
zygamvo: it's an opt-in08:34
zygaonly suse uses it now08:34
zygaany work to enable it for more distros is explicit08:34
zygabut08:34
zygait's a reference list to look at08:34
mvozyga: ok, I check it out in a wee bit, just need to do one more remodel thing08:35
zygathank you!08:35
zygait's not urgent but I'd love to improve upon that08:35
zygaand not stay in the current split model where we pay the price for each distro/release08:36
mupPR snapcraft#2444 opened: snap: move to core18 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2444>08:37
zygamvo: any luck with sbuild and tests?08:52
zygahey Chipaca :)09:01
Chipacamoin moin09:02
zygaChipaca: https://github.com/snapcore/snapd/pull/6395#pullrequestreview-193983092 :)09:02
mupPR #6395: cmd/snap: use a fake user for 'run' tests <Simple 😃> <Created by chipaca> <https://github.com/snapcore/snapd/pull/6395>09:02
Chipaca:-)09:03
mupPR snapd#6395 closed: cmd/snap: use a fake user for 'run' tests <Simple 😃> <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/6395>09:03
zygathank you sir :)09:07
zygabtw, I know this is a bit big but I'd love have some quick pass on the design in https://github.com/snapcore/snapd/pull/636009:09
mupPR #6360: cmd/snap-update-ns: refactor of profile application <Per-user mount ns  🐎> <Created by zyga> <https://github.com/snapcore/snapd/pull/6360>09:09
zygaI think it's sufficient if one reads one function there09:09
zygathe rest is plumbing into that idea09:09
zygaspecifically this one https://github.com/snapcore/snapd/pull/6360/files#diff-d5f861571a1e368f7c7f933b29316750R3709:10
zygathe whole PR is about allowing that function to exist09:10
zygaand the fuction is a generalization of the existing algorithm (that part is unchanged)09:10
zygabut the details of system vs user profile are abstracted behind the interface09:11
zygaso reuse, easier testing and less code (the tests cover more code now so there's more +es than -es)09:11
mborzeckione interesting spread failure: https://paste.ubuntu.com/p/Tz4JCptgPb/ pstolowski something you may want to look at09:26
mborzeckipstolowski: on a second look, doesn't seem to be related to hotplug09:27
pstolowskimborzecki: hmm something went terribly wrong with reboot?09:28
pstolowskilocalhost.localdomain systemd[1]: etc-shadow.mount: Failed to check directory /etc/shadow: Not a directory09:29
pstolowskietc09:29
mborzeckipstolowski: ah, watchdog timeout09:30
mvozyga: re sbuild> running but slow, hopefully finishing soon09:31
mborzeckipstolowski: actually itnersting, snapd was waiting for system reboot, and got killed by systemd because of watchdog timeout09:32
mvozyga: hrm, I'm confused, it fails in sbuild early but works in pbuilder, need to look closer09:37
mvozyga: I get errors in sbuild using an ubuntu kernel I think you had this too, trying on pure debian noe09:51
mvonow09:51
mvozyga: TestSetupSnapConfineGeneratedPolicyError bits09:52
zygamvo: iterating on sbuild09:54
zygamvo: oh!09:54
zygathat's interesting09:54
zygamvo: I'll pastebin my errors09:54
zygawe can compare09:54
zygamvo: note, I got errors on both kernels09:54
zygamvo: both ubuntu and debian-1009:55
mvozyga: interessting, my debian-sid sbuild is still building09:56
zygaI had to spend a moment to add caching to my setup as otherwise iteration was mostly network bound09:58
zyganow it should be quite a lot faster09:59
* Chipaca ⇝ break10:02
zygamvo: FYI: https://salsa.debian.org/debian/snapd/merge_requests/110:07
zygamvo: that's just last evening state10:07
mvozyga: nice10:08
mvozyga: yeah, same errors in debian too10:18
mvozyga: http://paste.ubuntu.com/p/5D3dggjbvM/ full log10:20
zygathat's the same that I see10:20
zygaok10:20
zygaI think you can put this on hold now10:20
zygalet's attack it tomorrow in master10:20
zygaI'll work on packaging only10:20
zygaunless you see a point I think we should not both spend time on it today10:21
mvozyga: its fine, I try to minimize the time on this10:22
mvozyga: working mostly on remodel now10:22
Chipacapedronis: if-and-when you have a chance, a short glance at #6400 would be good10:35
mupPR #6400: overlord/snapstate: use an ad-hoc error when no results <Created by chipaca> <https://github.com/snapcore/snapd/pull/6400>10:35
mupPR snapd#6400 opened: overlord/snapstate: use an ad-hoc error when no results <Created by chipaca> <https://github.com/snapcore/snapd/pull/6400>10:35
Chipacapedronis: it's +30-7, so should be quick10:35
Chipacathis is to block the "yeah sure switch to non-existent channel"10:36
Chipacabut, it has more consequences, because of course it does :-)10:36
mvomborzecki: nice catch (6317)10:42
mvoChipaca: do you have a moment for me? I was wondering where the api of remodel should life: /v2/remodel? or /v2/model/ and a GET to get the current and a POST to post a new one?10:49
Chipacamvo: where is the model kept?10:49
mvoChipaca: in the state10:53
Chipacamvo: what would you GET?10:54
mvoChipaca: the currently get model10:56
mvoChipaca: I implemented this for testing already as part of debug but was wondering if it should be more official10:56
mvoChipaca: hence my wondering10:56
mvoChipaca: the important use case for this endpoint is to post a new model :)10:57
Chipacamvo: I think /v2/model would be fine11:13
Chipacamvo: how is it used?11:13
mvoChipaca: thanks, I think that makes sense11:14
mvoChipaca: we will provide it via an api endpoint mostly11:14
mvoChipaca: but I think there will also be a "snap remodel" command11:14
Chipacamvo: ah, no 'snap model --re11:14
Chipaca'11:14
Chipacaoh11:14
mvoChipaca: interessting, maybe `snap model {get,set}`?11:14
mvoChipaca: we have not talked much about the cli yet11:15
zygamvo: I like snap model get11:29
zygathough I very much like "snap remodel"11:29
zygait spells out explicitly this is an operation that can change things more than "assign a value"11:29
mvozyga: yeah11:33
mvozyga: I did "snap debug get-model" for now, not sure if we need something on the cli, will talk with samuele11:33
zygamvo: I like that11:42
mborzeckiamdgpu-pro is so much fun, i'm typing something in the terminal, suddengly gnome-session fails and the whole Xorg goes down :/11:56
mborzeckiand it's mind boggling qt wants to compile shaders to display a piece of text from qml12:04
mupPR snapd#6401 opened: many: add /v2/model API, `snap remodel` CLI and spread test <Created by mvo5> <https://github.com/snapcore/snapd/pull/6401>12:20
pstolowskimborzecki: i don't think it's unique to amdgpu ;)12:44
mborzeckipstolowski: frankly the windows drivers aren't much better, i've deliverately skipped the last 3 updates :P12:45
pstolowski:)12:50
greybackmborzecki: qml's text renderer uses distance field rendering technique, good for UIs where text can change size a lot (especially animated) to avoid lots of cpu-bound rasterisation. Yep it needs shaders, but why not? :)13:41
* greyback puts https://github.com/snapcore/snapd/pull/6361 out there13:41
mupPR #6361: kvm: load required kernel modules if necessary <Created by gerboland> <https://github.com/snapcore/snapd/pull/6361>13:41
mborzeckigreyback: interesting, sounds like i should search qt blog archives for the details :P13:47
cachiomvo, my internet connection is breaking up14:05
cachiocan't connect ot the hangouts14:05
mupPR snapd#6361 closed: kvm: load required kernel modules if necessary <Created by gerboland> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6361>14:58
mborzeckimvo: https://github.com/snapcore/snapd/pull/6399 super simple review14:58
mupPR #6399: packaging: make sure that /var/lib/snapd/lib/glvnd is accounted for <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6399>14:58
mupPR snapd#6317 closed: overlord/snapstate/backend: call fontconfig helpers from the new 'current' <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6317>14:59
mborzeckimvo: thanks!15:00
mupPR snapd#6399 closed: packaging: make sure that /var/lib/snapd/lib/glvnd is accounted for <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6399>15:00
mvomborzecki: thanks, merged and I cherry picked it into 2.37 in case we do anohter release of that15:01
mupPR snapd#6397 closed: tests: Use backend: [autopkgtest] for smoke test suite <Created by sergiocazzolato> <Closed by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6397>15:16
Chipacabooo, multiple progress bars doesn't work :-(15:26
* Chipaca takes a breaks15:26
=== phoenix_firebrd is now known as murthy
=== murthy is now known as phoenix_firebrd_
=== phoenix_firebrd_ is now known as murthy
* cachio lunch16:37
pstolowskimvo: hey, do you have a moment for https://github.com/snapcore/snapd/pull/6379 ?16:43
mupPR #6379: ifacestate/tests: extra test for hotplug-connect handler <Hotplug 🔌> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6379>16:43
mvopstolowski: do you need a review?16:44
pstolowskimvo: yes, 2nd review16:44
pstolowskiit's just a test16:44
mvopstolowski: sure, looking16:44
pstolowskithanks!16:44
ChipacaI'm off to the gym. Will bbl, but if I don't see y'all, have a good weekend!17:00
mupPR snapd#6379 closed: ifacestate/tests: extra test for hotplug-connect handler <Hotplug 🔌> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6379>17:01
pstolowskimvo: ty!17:02
=== pstolowski is now known as pstolowski|afk
=== murthy is now known as phoenix_firebrd_
=== phoenix_firebrd_ is now known as murthy
=== murthy is now known as phoenix_firebrd_
=== phoenix_firebrd_ is now known as murthy
=== murthy is now known as phoenix_firebrd_
=== phoenix_firebrd_ is now known as murthy
=== murthy is now known as phoenix_firebrd_
=== phoenix_firebrd_ is now known as murthy
=== Luke is now known as bitnomial
=== bitnomial is now known as Luke
Croephaso, I have added wget in a stage-packages list, but that command isnt found when I try to run it from a shell script inside the snap... am I missing something?23:00

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