/srv/irclogs.ubuntu.com/2021/06/18/#snappy.txt

mborzeckimorning04:25
mardymborzecki: hi! I guess you too are not used to having this much sunshine in the room in the morning... :-)04:39
mborzeckimardy: hey, yes, it's already bit warm too04:39
mborzeckiis github down again?06:07
mborzeckiheh pushing doesn't work06:09
zyga-mbpgood morning06:20
zyga-mbpit's already hot and it's just morning, uff06:20
mborzeckizyga-mbp: hey, well prefer that to it being cold all the time06:21
zyga-mbpmborzecki: I think you are at no risk of cold this week :)06:21
mborzeckii actually need to leave a tad earlier for my covid shot, so bbiab06:48
zyga-mbpo/06:49
pstolowskimorning07:13
mvogood morning pstolowski 07:18
pstolowskimvo: hey, could you please merge https://github.com/snapcore/snapd/pull/10385 ?07:19
zyga-mbpmvo good morning07:30
mardycan some with more experience than me with snapcraft please advice on the best way to use a modified version of a part? https://github.com/ubuntu/microk8s/pull/2346/files07:43
mardyI've made the changes in my own fork or runc, but I wonder if it wouldn't be better to include the patches in the snap, and apply them on top of the upstream runc07:44
zyga-mbpmardy sorry, I never learned snapcraft much07:47
zyga-mbpmost snaps I made were either test snaps or snaps where snapcraft was just so easy I didn't look deeper07:47
mardyzyga-mbp: no worries, thanks anyway :-)07:47
pedronispstolowski: hi, I merged a couple of your PRs that were ready, there's also https://github.com/snapcore/snapd/pull/10413 but there is a conflict there now08:04
pstolowskipedronis: thanks08:05
pedronisthank you08:06
mardymborzecki: you got some test failures on https://github.com/snapcore/snapd/pull/10423 (otherwise looks good to me)08:06
pedronispstolowski: retry as usual are confusing:  https://github.com/snapcore/snapd/pull/10215#issuecomment-86387825008:57
mborzeckire09:06
mborzeckiso far so good, the arm didn't fall of09:07
pstolowskipedronis: yes they are, thanks for the example. 09:10
mborzeckimardy: thanks, hmm the failure looks weird, filepwaht.walk is supposed to be deterministic09:12
mborzeckiheh filepath.Walk changed slighly in go 1.10+09:31
mborzeckimvo: hi, can you take a look at https://github.com/snapcore/snapd/pull/10421 ?09:35
mvomborzecki: sure, sorry, had meetings all morning but will look now10:04
mborzeckithanks!10:04
mborzeckianyne else finds the quoting chnges in https://github.com/snapcore/snapd/pull/10409 confusing?10:13
mardymborzecki: I do, indeed10:31
mardymborzecki: I'm now doing some tests, I think it should be possible to get rid of the extra quoting even without using external helper tools10:40
mardyI'm just not sure how to run these tests: spread -debug google:ubuntu-20.04-64:tests/nested/classic/hotplug10:42
mardyerror: nothing matches provider filter10:42
pstolowskimardy: you need to used google-nested:...10:47
pstolowskimardy: it has special machines and setup for running nested VMs10:48
mborzeckimardy: i think cachio replied that the nested ' and " were being confused when using "$@"10:49
mborzeckiperhaps that should have used $@ without "", so that no splitting occurs10:49
mardypstolowski: mmm... I still don't find that test: spread -debug -list google-nested:ubuntu-20.04-64:tests/ | grep hotplug10:52
mardymborzecki: yes, I saw the comment, but I suspect that there must be some error in quoting, "$@" usually works just fine (and the "" are needed)10:53
pstolowskimardy: try spread -debug -list google-nested:ubuntu-18.04-64:tests/nested/core/10:54
pstolowskimardy: and spread -debug -list google-nested:ubuntu-20.04-64:tests/nested/classic/10:54
pstolowskimardy: we might not be running it on all systems10:55
mardypstolowski: oh, thanks, that did the trick10:56
* pstolowski lunch10:57
mardymborzecki: I think I got it, one just needs to quote the '|' (and maybe other special characters): https://github.com/snapcore/snapd/pull/10409#discussion_r65436640311:49
mardythough I'm not sure why | needs to be quoted11:49
mborzeckimardy: otherwise it becomes part of the current command?11:51
mborzeckimardy: what i mean is that `echo foo | bar` will echo foo and pipe that to bar, but `echo foo \| bar` will print `foo | bar`11:52
mborzeckiconfusing as hell nonetheless11:52
jameshpstolowski: I've posted https://forum.snapcraft.io/t/a-desktop-notifications-client-api-for-snapd/2506312:04
mardymborzecki: I'm still looking into it, but I start suspecting that the problem is in our retry python program12:04
mborzeckimardy: if you need to pass a | there, then the only way is to do `retry sh -c 'some | shell | script'`12:05
pstolowskijamesh: thank you, i'll be sure to check it out12:05
mardymborzecki: I'm a bit lost, it's not clear to me why we need to quote the '|' in the spread; locally everything things to work fine without it (even the retry script seems ok)12:09
cachioijohnson[m], hi, I see this error in some  tests12:10
cachiogoogle:ubuntu-20.04-64 .../tests/main/snap-user-service-restart-on-upgrade# "$TESTSTOOLS"/snaps-state install-local test-snapd-user-service12:10
cachioerror: cannot perform the following tasks:12:10
cachio- Make snap "test-snapd-user-service" (unset) available to the system (Post http://0/v1/service-control: dial unix /run/user/0/snapd-session-agent.socket: connect: connection refused)12:10
cachioany idea what we need to do to restore correctly to avoid that ?12:10
zyga-mbpcachio my guess is: you have a .socket and .service that are out of touch with what's in memory13:08
zyga-mbpwe had this before13:08
zyga-mbpwhen you drop a .socket file and systemd creates the socket13:08
zyga-mbpediting the .socket file can have this result until the .socket or .service file (I don't recall which here) is reloaded13:08
zyga-mbpand we don't clean up systemd --user state between tests everywhere IIRC13:09
zyga-mbpI recall writing something related to that but I don't remember if we auto-restart everything everywhere13:09
zyga-mbpwe hit this in pulseudio tests as well13:09
zyga-mbpwhen depending on prior tests, we could have a pulseaudio socket that didn't really work13:09
zyga-mbpand a pulseaudio.servie that started but had no socket13:09
cachiozyga-mbp, ah, nice13:41
cachiothanks for the explanation13:41
cachioI'll try to fix that test and then do something more generic to make sure the cleanup is done always it is needed13:42
zyga-mbpcool :)13:52
mvocachio: I promoted core 2.51.1 to beta now14:08
cachiomvo, nice, thanks14:08
mvocachio: unless I misread 2.51 is not in stable on all arches?14:09
cachiomvo, right I need to push to stable the other arches14:10
cachioI'll do it now14:10
mvocachio: thank you14:10
ijohnson[m]cachio: yeah can't say I know more than zyga-mbp on that one, I have seen it but I would need to dig in and have other things to look at at the moment unfortunately14:17
cachioijohnson[m], np, I'll try to fix it 14:17
ijohnson[m]mardy: how goes adjusting the quota group bits to check for disabled services? I'm updating one of my prs which conflicts with master now and it would be easy for me to fix that if you haven't already done so14:23
ijohnson[m]that's in https://github.com/snapcore/snapd/pull/10410 btw14:23
mardyijohnson[m]: https://github.com/snapcore/snapd/pull/1043014:28
mardy(sorry, I saw your message just now)14:28
ijohnson[m]mardy: no worries let me review that now14:28
* cachio lunch15:22
pedronisijohnson[m]: should I remove quotaCreateImpl in 10429, or should we do it in a follow up?15:50
ijohnson[m]pedronis: probably fine to do in a followup15:51
ijohnson[m]pedronis: we have a bit of a problem that too many PR's are changing the same bits of code all at once so it's hard to land things without creating conflicts but oh well15:52
pedronisijohnson[m]: what do you want me to do? can I help with this somehow?15:54
ijohnson[m]not sure tbh, but I think the problem should go down a bit now that mardy 's PR has landed, the next one though will have conflicts: https://github.com/snapcore/snapd/pull/10430 however15:55
pedronisijohnson[m]: what's your preference, should we land that first or 1034615:57
ijohnson[m]pedronis: did you mean 10340 ?15:58
ijohnson[m]uh15:58
ijohnson[m]well in any case I would like to see mardy 's PR here landed first https://github.com/snapcore/snapd/pull/1043015:59
ijohnson[m]then I think your PR with servicestatetest / internal stuff can go in, then the next one after those is https://github.com/snapcore/snapd/pull/10410, but that doesn't have any reviews yet15:59
ijohnson[m]ah wait no, 10346 is a thing16:00
ijohnson[m]🤦‍♂️ ok, let me just make a pastebin with the right ordering I think16:00
pedronisijohnson[m]: no, I really meant https://github.com/snapcore/snapd/pull/1034616:00
pedronis10340 is old and merged16:01
ijohnson[m]yeah sorry I got confused16:02
ijohnson[m]this is the order I think I would prefer: https://pastebin.ubuntu.com/p/rKKgK2mJZ6/16:02
pedronisok16:03
pedronisijohnson[m]: what about https://github.com/snapcore/snapd/pull/10425?16:03
pedronisijohnson[m]: btw do you have a moment to chat what is left to do in this area?16:04
ijohnson[m]pedronis: I asked mvo to setup a meeting on monday to discuss, I think it would be best if all 3 of us were there, does the timeslot on Monday after SU work for you?16:05
pedronisyes, but I don't think it works for me, well it depends I suppose what we mean by after, there's pi-dtb meeting16:05
pedronissorry16:06
pedronisfor mvo16:06
ijohnson[m]pedronis: it should be 4 PM your time if I am doing the timezone math correctly, mvo already blocked off the time for 1-1 with me16:06
ijohnson[m]pedronis: also regarding 10425, my hope is that doesn't conflict with anything else open right now, though I suppose it may conflict with 10346 sadly16:07
pedronisyes, after as in 4pm should work16:08
ijohnson[m]cool16:10
pedronishopefully we can land a few of these still today and a few Monday morning16:12
pedronis(my morning)16:12
ijohnson[m]yeah agreed16:12
ijohnson[m]my personal hopes are for 10430 and 10346 to be landed today16:13
ijohnson[m]10430 is ready to land now, all green17:01
pedronisijohnson[m]: landed, no obvious conflicts with https://github.com/snapcore/snapd/pull/1034617:15
ijohnson[m]pedronis nice thank you, it looks like the spread tests there are almost all happy too, just waiting on a couple ubuntus it seems 17:29
pedronisijohnson[m]: I merged 10346 and updated https://github.com/snapcore/snapd/pull/1042918:33
ijohnson[m]pedronis: great thanks so much for this18:41
* ijohnson[m] EOWs21:21
=== mwhudson_ is now known as mwhudson

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