/srv/irclogs.ubuntu.com/2020/07/23/#snappy.txt

mupBug #1888600 opened: snap run should autocomplete <Snappy:New> <https://launchpad.net/bugs/1888600>03:28
mborzeckimorning05:13
mupPR snapd#9042 closed: interfaces: optimize rules of multiple connected iio/i2c/spi plugs (2.45) <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9042>05:25
mborzeckiso weird, some ci jobs appear stuck for no clear reason, and restarting the workflow makes those previously stuck jobs run immediately05:56
mupPR snapd#9050 opened: Avoid exit when nested type var is not defined  (2.45) <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9050>06:01
mupPR snapd#9047 closed: cmd/snap-preseed: backport fixes (2.45) <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9047>06:11
jameshyeah.  I had the ubuntu-nested-* jobs all waiting to start for a run I set going last night.06:20
mborzeckijamesh: which PR? can you restart the workflow (instead of closing and reopening the PR)?06:33
jameshmborzecki: I restarted it, and the missing jobs ran06:33
jameshmborzecki: it was this one: https://github.com/snapcore/snapd/pull/886106:33
mupPR #8861: data,packaging,wrappers: extend D-Bus service activation search path <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/8861>06:34
mborzeckijamesh: cool06:34
mborzeckijamesh: it's funny cause you can restart the workflow if it's seemingly stuck and it runs06:34
jameshI'd like to merge it, but the ubuntu-20.10 job is failing on the preseed and pulseaudio tests.06:34
jameshmborzecki: maybe the communication link with the self hosted runners got confused?06:35
mborzeckijamesh: that's fine, preseed is known (the groovy images are preseeded now and that confuses the test)06:35
* jamesh hits merge then.06:35
mupPR snapd#8861 closed: data,packaging,wrappers: extend D-Bus service activation search path <Created by jhenstridge> <Merged by jhenstridge> <https://github.com/snapcore/snapd/pull/8861>06:36
mborzeckijamesh: pulseaudio is a known thing to, i'll do some digging today but if i fail to uncover anything useful we may need to poke someone frm the desktop team06:37
jameshmborzecki: I'm looking into this bug report from my end: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1886854 -- it doesn't obviously tie in with the spread failure though.06:38
mupBug #1886854: Race in load-module snap policy check in classic confinement <focal> <rls-ff-incoming> <pulseaudio (Ubuntu):New for jamesh> <https://launchpad.net/bugs/1886854>06:38
mborzeckijamesh: interesting, i'll try to debug the test today, i'll let you know if it's related (though i suspect it's rather something about our user session setup)06:41
=== tinwood is now known as tinwood-afk
mupPR snapd#9030 closed: bootloader/assets: helpers for registering per-edition snippets, register snippets for grub <UC20> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9030>06:56
mupPR snapd#9026 closed: tests/nested/manual: add spread tests for cloud-init vuln <Run nested> <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9026>07:21
mborzeckipedronis: hey, i've opened one more cherry-pick for 2.45 https://github.com/snapcore/snapd/pull/905007:37
mupPR #9050: tests: avoid exit when nested type var is not defined  (2.45) <Run nested> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9050>07:37
pedronismborzecki: I saw it, trying to run it with nested tests on07:37
pedronismborzecki: I merged master into #9013 which is now small, it needs a re-review07:38
mupPR #9013: many: merge 2.45.2 fixes back into master <⛔ Blocked> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9013>07:38
mborzeckipedronis: ok, will do07:38
pedronisthx07:39
zygao/07:58
zyga2AM schedule is not fun07:58
=== tinwood-afk is now known as tinwood
mupPR snapd#8973 closed: tests: moving journalctl.sh to a new journal-state tool <Created by sergiocazzolato> <Merged by zyga> <https://github.com/snapcore/snapd/pull/8973>08:41
mborzeckipedronis: i've updated #900608:47
mupPR #9006: bootloader: compose command line with mode and extra arguments <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9006>08:47
pedronismborzecki: can we do the "go generate" thing?  looking at scripts changes in the middle of go changes is not great08:52
mupPR snapd#9050 closed: tests: avoid exit when nested type var is not defined  (2.45) <Run nested> <Simple 😃> <Created by bboozzoo> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9050>08:56
zygabrb coffee09:05
mborzeckipedronis: i'll drop that commit bumping the edition and force push09:08
mborzeckijamesh: https://paste.ubuntu.com/p/NRkvhFfVQZ/ hm interestingly haven't seen it before09:54
* jamesh looks09:56
jameshmborzecki: That is from today's landing.  I wonder why it didn't show up before?09:59
jameshmborzecki: I don't think we patched core to make /etc/dbus-1/session.d writable because I thought the core18 code didn't run there10:01
pedronisjamesh: no, but we have some tests that try the core -> snapd/core18 transition10:02
pedronisand that code will get involved10:02
jameshpedronis: right.  I'm wondering why it didn't show up in spread test runs for my PR10:02
jameshI realise we probably need to add the extra writable path10:03
mborzeckijamesh: that would be core16, so /etc/dbus-1/ is not writable10:03
mborzeckiduh, dbus-1/session.d10:03
mborzecki(dbus-1/systemd.d is)10:03
pedronisanyway we need either a quick fix or to revert something temporarly10:04
pedronisI fear10:04
jameshIt is a one line change to the core snap build script.  Could that be landed fast enough?10:05
jameshpedronis: here is a PR if that is acceptable: https://github.com/snapcore/core/pull/11410:12
mupPR core#114: writable-paths: make /etc/dbus-1/session.d writable <Created by jhenstridge> <https://github.com/snapcore/core/pull/114>10:12
zygaI wonder if this will affect any tests back in snapd10:13
zygaoh well10:13
zygaI'm okay with the ping pong if that's what it takes10:13
jameshI'm still not sure why the test didn't fail in my own PR10:14
mupPR core#114 opened: writable-paths: make /etc/dbus-1/session.d writable <Created by jhenstridge> <https://github.com/snapcore/core/pull/114>10:15
mborzeckimaybe the restore of tests doing remodel 16 -> 18 is not cleaning up all of the state properly?10:16
mupPR snapd#9051 opened: tests/main/interfaces-pulseaudio: enable debug logging in pulseaudio <Precious Logs> <Test Robustness> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9051>10:17
zygamborzecki: possibly10:18
zygamborzecki: could we write an invariant check somehow?10:18
zygabrb10:19
pedronisjamesh: the change in itself seems fine10:48
zygaI've updated https://github.com/snapcore/snapd/pull/897711:26
mupPR #8977: cmd/snap: track started apps and hooks <Created by zyga> <https://github.com/snapcore/snapd/pull/8977>11:26
pedroniszyga: I have put it back into my queue11:37
zygathanks!11:37
ijohnsonmorning folks12:05
zygaijohnson: hey :)12:16
zygabrb12:16
ijohnsonhey zyga feeling better today ?12:16
ijohnsonalso the github actions stuff is really exciting, I didn't realize globs work, and there's even a download artifact action too12:16
ijohnsonstill a bit unclear how we feed things from the github actions into spread, but I don't have time to work on that anyways12:16
zygaijohnson: yeah12:23
zygaijohnson: the tests today don't require any special precautions so I'm my normal dose of painkillers12:24
zygaijohnson: but the surgery is so close I cannot wait!12:24
ijohnsonthat's good to hear12:24
zygaijohnson: I may be able to stand at the tgif next week :)12:24
ijohnsonnice!12:24
zygaI won't be able to sit for a while but that's really minor12:24
ijohnsonbut certainly take it as slow as you need to12:24
zygaafter all the stuff heals it will be amazing12:24
zygaijohnson: as for actions, yeah they come in pairs12:24
zygaijohnson: we could even build snapd on a dedicated fast machine, with deps, with preserved go cache12:25
zygaijohnson: and just upload the artefacts for spread cloud12:25
zygaijohnson: so many options12:25
zygaactions have great design12:25
ijohnsonmy initial poc idea for how to feed that into spread would be to download the actions into the repo filesystem, so that when we build the tarball of the repo to send to the workers, they already have all the artifacts in them12:25
zygathey are different from random CI solutions but the benefits are really nicw12:25
zygayeah12:26
zygaexactly12:26
ijohnsonthat would have increased network costs though12:26
zygayou need the token to fetch that12:26
ijohnsonright so that avoids the token problem12:26
zygaso it must be done by the action runner we host12:26
zygawell, 16MB is not much12:26
zygathose machines stream a *LOT* of uncompressed traffic12:26
ijohnsonwell but if we really wanted to save time, we'd build the rpm, debs, etc.12:26
zyga16MB is like a drop in an ocean12:26
zygayeah, we could build remaining packages12:26
zygawe could even build deb and use that to build the snap12:27
zygaI think that's the way forward12:27
ijohnsonright, cause actually the snapd snap isn't really used anywhere in the tests right now12:27
zygaand I think this will cut build time by about 20 minutes12:27
ijohnsonin fact the places we need to use the snapd snap for UC18 and UC20, we just stuff the snapd deb into the snapd snap :-)12:27
zygahaha, right!12:27
zygaso I think there are options to explore12:27
ijohnsonoh also I was going to ask you, for hosting a runner, what kind of network usage do you see ?12:27
zygabut even having a .deb and a .rpm and a .snap on a PR is great12:28
zygait's easy to pick up and explore12:28
zygaijohnson: let me pull the stats12:28
zyganetwork is pretty heavy12:28
zygaconstant ram + spiky ram and CPU on startup (a lot actually) and then loads of network12:28
zygago ssh does't implement any compression12:28
zygaso we pay a lot for traffic that's silly12:28
zygait's easily in the megabit a sec for worker range12:28
ijohnsonI have some machines I could dedicate to runners, but I'm concerned about network performance, my network is fast, but it goes down quickly when there are lots of outgoing network connections, like my ISP seems to think that I am DDOS'ing the world when I try to run a full spread suite and my network entirely disappears12:29
ijohnsonbut as soon as I kill that spread run, network comes right back12:29
zygaI think running a few is probably okay12:29
zygabut it adds up12:29
zygaI used my TB quota that month when I hosted 32 workers at home12:29
zyga(but it overflowed my other house usage, not a TB by itself)12:29
zygaI think one major improvement would be to implement ssh compression12:30
zygabut there's a bug for that for a few years12:30
zygaand nobody touched that12:30
zygawe send lots of text back and forth12:30
zygaand that adds up12:30
zygahttps://github.com/golang/go/issues/3136912:31
zygaijohnson: another possibility might be to shell-out to real ssh12:32
zygaah, drat, I don't have the other laptop12:32
zygaI'll ask my wife to bring it later if that's okay12:32
ijohnsonmmm12:32
zygaI can then give you precise network usage figures12:32
ijohnsonsure no rush, just curious12:33
zygaha12:40
zygaI was about to ask if we should merge that12:40
zyga:D12:40
zygapedronis: can we trigger a core build faster?12:40
mupPR core#114 closed: writable-paths: make /etc/dbus-1/session.d writable <Created by jhenstridge> <Merged by pedronis> <https://github.com/snapcore/core/pull/114>12:41
pedroniszyga: maybe, but first the code needs to get to LP12:46
zygaah, via imporyt12:46
pedroniszyga: yes12:50
=== jamesh_ is now known as jamesh
zyga-x240lost network, trying to rejoin13:07
mborzeckitrying to run pulseaudio tests with a fix now13:49
pedronishttps://github.com/snapcore/snapd/blob/master/cmd/snap-bootstrap/cmd_initramfs_mounts.go#L31413:50
mupPR core18#164 opened: Core18 next <Created by xnox> <https://github.com/snapcore/core18/pull/164>13:51
mupPR core18#165 opened: Cleanup /run in the core <Created by xnox> <https://github.com/snapcore/core18/pull/165>13:51
mborzeckipushed a tweak to https://github.com/snapcore/snapd/pull/9051 let's see if the pulseaudio tests are happy this time14:08
mupPR #9051: tests/main/interfaces-pulseaudio: enable debug logging in pulseaudio <Precious Logs> <Test Robustness> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9051>14:08
mupPR snapd#9048 closed: .github/workflows/snap-build.yaml: build the snapd snap via GH Actions too <Simple 😃> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9048>14:18
ijohnsonmborzecki: I just noticed a pulseaudio and audio-playback failure on focal, have you seen that before ?14:22
ijohnsonmborzecki: logs are here https://pastebin.ubuntu.com/p/zxTZtQnVmf/14:24
mborzeckiijohnson: hm looks similar14:27
ijohnsonpedronis: btw looks like #9013 is ready14:29
mupPR #9013: many: merge 2.45.2 fixes back into master <Created by mvo5> <https://github.com/snapcore/snapd/pull/9013>14:29
ijohnson(but needs sudo git merge perms)14:30
mborzeckiijohnson: do you have a debian-10 vm?14:45
ijohnsonmborzecki: not handy no14:45
ijohnsonmborzecki: I think jdstrand has some instructions on his blog on how to easily get a cloud image VM14:45
mborzeckihm seems like the preset on sid is enabled for both snapd.socket and .service14:46
mborzeckiso i'm not sure how op in https://forum.snapcraft.io/t/snapd-not-start-automatic/19039/ got both in 'disabled'14:46
mupPR snapd#9052 opened: release/2.45: backport writable_defaults dir changes <Run nested> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9052>14:48
mborzeckianyways, time to start packing for a drive back home14:48
jdstrandI do! https://blog.strandboge.com/2019/04/16/cloud-images-qemu-cloud-init-and-snapd-spread-tests/14:48
ijohnsonah 3 seconds too late!14:49
jdstrandah bummer :)14:49
* jdstrand hopes that page is useful to others. I certainly have found it handy14:49
ijohnsonpedronis: I opened https://github.com/snapcore/snapd/pull/9049 with the manually ported patch from master for that bit we talked about14:52
mupPR #9049: release/2.45: backport of uc20 PR's <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9049>14:52
ijohnsonoh whoops wrong PR number14:52
ijohnson#9052 is the right PR14:53
mupPR #9052: release/2.45: backport writable_defaults dir changes <Run nested> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9052>14:53
pedronisthx14:54
mupPR core20#76 closed: hooks/001-extra-packages.chroot: add gdbserver <Created by anonymouse64> <Merged by xnox> <https://github.com/snapcore/core20/pull/76>15:12
mupPR core20#77 opened: Drop console-conf hack, fixed in subiquity. core18 pr#148 <Created by xnox> <https://github.com/snapcore/core20/pull/77>15:17
mupPR snapd#9013 closed: many: merge 2.45.2 fixes back into master <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9013>16:03
pedronisijohnson: I merged that ^ and reviewed #904916:05
mupPR #9049: release/2.45: backport of uc20 PR's <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9049>16:05
ijohnsonthanks pedronis, looking now16:09
=== alvesadrian is now known as adrian-gluu
mupPR snapcraft#3225 opened: specifications: default tracks <specification> <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3225>20:29
mupPR snapd#9053 opened: many/tests/preseed: reset the preseeded images before preseeding them <Bug> <Preseeding 🍞> <Test Robustness> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9053>20:30
mupPR snapd#9029 closed: api: seeding debug api (2/N) <Needs Samuele review> <Preseeding 🍞> <Created by stolowski> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9029>21:30
mupPR snapcraft#3226 opened: extensions: kde-neon: use gtk3 platform theme on gtk-based DE's <Created by galgalesh> <https://github.com/snapcore/snapcraft/pull/3226>23:20

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