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

=== the-mentor7 is now known as the-mentor
=== oerheks1 is now known as oerheks
zygagood morning07:04
mborzeckimorning07:14
mborzeckichilly morning, -25C07:14
pstolowskimorning08:07
mborzeckimvo: pstolowski: hey08:15
mvogood morning mborzecki and pstolowski08:15
mborzeckipstolowski: was it equally cold in your area in the morning?08:16
pstolowskimborzecki: -18C atm08:16
pstolowskiis that cold enough? ;)08:16
mborzeckipstolowski: haha ;) nice, was -25C in the morning, couldn't open my car08:20
pstolowskioh wow08:21
pstolowskifwtw i thinking it's going to be >0 again this week08:22
pstolowski*i think08:22
mupPR snapd#9777 closed: gadget: add gadget.ResolveContentPaths() <Skip spread> <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9777>08:23
mborzeckipstolowski: yeah, back to normal :)08:24
mborzeckimvo: do you have a log with failure of https://github.com/snapcore/snapd/pull/9844/commits/a0bda4cce16da09fed44d70c1eaa5e56516024fa ?08:24
mupPR #9844: cmd: make string/error code more robust against errno leaking <Created by mvo5> <https://github.com/snapcore/snapd/pull/9844>08:24
mvomborzecki: yes, need to dig but should be able to find it08:24
mvomborzecki: https://buildd.debian.org/status/fetch.php?pkg=snapd&arch=i386&ver=2.48.2-2&stamp=1610734191&raw=008:25
mvomborzecki: does what I write in my PR make sense?08:26
mborzeckimvo: thanks, let me see08:26
mvomborzecki: pretty sure it's test related stuff leaking but it highlights our code is buggy, a strquote will never have errno set so we need to clear it08:26
mvomborzecki: but yeah, thanks for looking into this, I'm not sure what exactly in the tests is causing this leaking08:27
mvomborzecki: also a bit hard to reproduce, I had to setup a i386 sid vm08:27
mvomborzecki: but there it failed without sbuild irrc, just by running latest gcc/i38608:27
mborzeckimvo: it built on amd64 though?08:27
mvomborzecki: correct08:28
mvomborzecki: here is the full build status https://buildd.debian.org/status/package.php?p=snapd&suite=sid08:29
mvomborzecki: it also has issues on mips it seems08:29
mborzeckimvo: and riscv go does not support pie08:29
mvomborzecki: but afaict we don't have to worry about mips*08:29
mborzeckiyeah, unlikely one is going to run snapd on their mips router :P08:30
mvomborzecki: +108:32
mborzeckimvo: hm, so i'm trying debian i386 in podman which i upgraded to sid08:56
mvomborzecki: and no luck with the error?09:03
mborzeckiheh, network is down in the container after updating to sid ;)09:07
mupPR snapd#9845 opened: osutil: update go-udev package <Created by stolowski> <https://github.com/snapcore/snapd/pull/9845>09:23
pstolowskiwoot, cla-check fails with PermissionError: [Errno 13] Permission denied: '/home/ubuntu/.launchpadlib'09:24
pstolowskii wonder if it's going to like subtree of other repository nowadays... it wasn't an issue 2 years ago09:25
mvomborzecki, pstolowski, degville  I accidently deleted the standup today, feel free to still have it from tomorrow on everything in the calendar is normal09:35
pstolowskimvo: ack09:35
mborzeckimvo: i can't reproduce the build failure in a container09:37
mborzeckimvo: all unit tests are passing09:37
mborzeckioh w8, but silly me tried the master branch09:37
mborzeckiunit tests are happy on 2.48 too, what gives?09:39
mborzeckiheh, what's not to hate about implicit errno10:16
mborzeckizyga: hi, you like C, do you have any ideas about improving the errno mess in https://github.com/snapcore/snapd/pull/9844 ?10:18
mupPR #9844: cmd: make string/error code more robust against errno leaking <Created by mvo5> <https://github.com/snapcore/snapd/pull/9844>10:18
mborzeckimvo: were you able to reproduce it in a vm too?10:19
mvomborzecki: I think I was, it was friday evening, it's a bit of a blur but I can reboot this vm10:22
mvomborzecki: trying it now, should have results in a few min10:23
mvomborzecki: worst case is that it's sbuild (which definitely does a lot of strange things)10:24
mvomborzecki: yes, i386 qemu based vm is enough for me to reproduce10:28
mvomborzecki: do you need anything? gcc ver? kernel ver?10:28
mvomborzecki: I don't think all sid updates are applied I could try with that10:28
zygamborzecki, I'll get back to you in a moment10:29
zygamborzecki, interesting10:30
zygamborzecki, I have some ideas, I did run into this earlier but I didn't fix there10:31
mborzeckimvo: so the only difference is the kernel then, the continer is using my host's kernel, while you have the kernel from sid10:32
zygamborzecki, my feeling around the _right_ solution is to drift away from global errno10:33
zygamborzecki, deprecate die() that uses implicit errno10:33
zygamborzecki, add die_just_because and die_because_errno10:34
zygamborzecki, then those no longer have the problem that we are papering over10:34
mvomborzecki: I was using 4.19, let me try a newer one10:34
mborzeckimvo: sid on 4.19?10:35
zygamborzecki, then we go one by one and convert those to the new API10:35
mvomborzecki: ha! fun, yes, with 5.10 I don't get the error10:35
zygamborzecki, this is also nicely in line with the trend to avoid using global errno and start using errno _values_ but not the variable10:35
mborzeckizyga: yeah, thought about just adding a parameter to die(), but maybe a new die_<something>() would be better10:36
zygamborzecki, I think it's better to be explicit, especially that in all the cases I can think of, it will be clear that we want to die_with_errno() and pass the errno10:36
zygaor die just because but ignore errno, even if there is some non-zero value there10:36
zygahow does that sound to you?10:36
mborzeckisound lines something we should have done a while ago :) maybe now's the time10:38
zygamborzecki, I think it was always strangled by the feeling that touching C is bad and reviews never materialized10:40
zygamborzecki, if that is not true anymore I'd love to see some progress on this10:40
zygamborzecki, and I can help with review or coding if you want10:40
zygaCC mvo ^10:41
mupPR snapd#9846 opened: [RFC] systemd, many: no reload when enabling or disabling services <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9846>11:19
mborzeckisilly gofmt11:32
pstolowskipedronis: hi, i'm unclear about max-format=.. argument for v2/assertions/validation-sets/...; it's not mentioned in the spec so probably not applicable there? or is it something implicitly supported by all assertion endpoints, and should be passed too?11:39
zygapstolowski, IIRC max-format was for the case where an old device wakes up and talks to the store and is not confused by assertion format it cannot parse11:43
zygapstolowski, so it was meant to be for all assertions11:43
zygabut I'm not sure if that's true11:44
mupPR snapd#9847 opened: cgroup-support.c: fix link to CGROUP DELEGATION <Created by jonasdn> <https://github.com/snapcore/snapd/pull/9847>11:44
zygaijohnson, hey11:46
ijohnsonhey zyga11:46
mupPR snapd#9848 opened: overlord/devicestate, sysconfig: do nothing when cloud-init is not present <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9848>12:09
=== pedronis_ is now known as pedronis
mupPR snapd#9838 closed: asserts: sort by revision with Sort interface <validation-sets :white_check_mark:> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/9838>12:14
pedronispstolowski: it should be supported everywhere, double check with suligap12:15
pstolowskipedronis: sure, thanks12:15
mborzeckiijohnson: thanks for the review https://github.com/snapcore/snapd/pull/984812:23
mupPR #9848: overlord/devicestate, sysconfig: do nothing when cloud-init is not present <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9848>12:23
ijohnsonmborzecki: you're welcome :-)12:23
mborzeckiijohnson: is this more less what you had in mind? https://paste.ubuntu.com/p/dvGMDwT832/12:45
ijohnsonmborzecki: yes thank you12:45
mborzeckicool, thanks for taking a look12:45
ijohnsoncmatsuoka: hey do you still have that spread-runner worker online? it doesn't seem to be running cla check properly, anymore: https://pastebin.ubuntu.com/p/pngjxpRWbz/13:15
pstolowskiijohnson: i retried #9845 5 times and it fails every time on cla check, do you think i should keep trying some more?14:34
mupPR #9845: osutil: update go-udev package <Created by stolowski> <https://github.com/snapcore/snapd/pull/9845>14:34
ijohnsonpstolowski: I tried like 3 times and it worked, but check the very start of the raw log from the github runner to see which runner got allocated14:34
pstolowskiijohnson: right, good idea14:34
ijohnsoncause afaik it's random as to which runners get allocated14:35
pstolowskiijohnson: Machine name: 'claudio-spread-1'....14:35
ijohnsonyeah that's the broken one right now14:35
pstolowskiunfortunately it seems it's also the one that really wants to run over my PR right now ;)14:36
ijohnsonhaha it's very attached14:37
pstolowskiok, it picked a different one finally.. but failed checking one of the contributors of go-udev upstream :(14:40
mupPR snapd#9849 opened: tests/main/snap-network-errors: disable dns-caching on centos-7 <Simple 😃> <Test Robustness> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9849>14:45
ijohnson:-(14:45
pstolowskinot sure what to do about that... it doesn't make sense to chase radom people of 3rd party project about signing cla for us, obviously14:49
pstolowskii could --squash, but that sucks14:49
mvopstolowski, ijohnson sorry a bit distracted but should I remove a runner (claudios?)14:51
ijohnsonmvo: yeah if you have perms to do so, that would make cla-checks less likely to fail until cmatsuoka can fix the runner14:51
pstolowski+114:51
mvoforced remove it14:57
pstolowskity14:58
dariballis there a py-lib to use snap from within python ? haven't found one yet, just looking at the wrong spots?14:59
zygadariball, use in which sense?15:00
zygadariball, drive snap operations or manage a snap system?15:00
dariballI would like to check if there is a new version of a snap, refresh it, restart, stop15:01
zygadariball, snapd is doing that work internally15:10
zygadariball, there are REST apis for that as well, those can be scripted15:11
zygabut they only complement the internal refresh check15:11
zygadariball, there are Glib bindings that I know of15:11
zygadariball, I don't know if there are python bindings yet15:11
dariballoh, rest api sounds very good, just found it via unix-socket, perfect! thank you this is what I was looking for ...15:13
pstolowskidariball: https://snapcraft.io/docs/snapd-api may help15:18
dariballjap exactly what I was looking for, nice15:20
mupPR snapd#9815 closed: {,sec}boot: pass "key-name" to the FDE hooks <Needs Samuele review> <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9815>15:45
jdstrandmvo: hey, would it make sense for me to be a collaborator on the snappy-debug snap? I was dropped from snappy-dev so can't commit to it any more. I can do MPs and hand off to emitorino. honestly, it would probably be best if it was converted to git and moved to github under the snapcore umbrella (perhaps with a rename to snap-debug). that all requires various bits of work. I'd be happy to continue to16:49
jdstrandcontribute to the project though16:49
jdstrandmvo: let me know how you'd like me to do that16:50
mvojdstrand: in a meeting but I want to absolutely add you as collaborator, can you please /msg me the email I should use for this?16:54
jdstrandmvo: so there is both collaborating on the snap and committing to the tree16:55
mupPR snapcraft#3420 opened: plainbox spread tests: set tasks to manual <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3420>17:00
jdstrandmvo: in other news, it looks like I am still part of the snapcore and ubuntu-core organizations in github. I think I'll leave that as is for now unless you want me to change it17:02
mupPR snapd#9850 opened: store: method for fetching validation set assertion <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9850>17:05
pstolowskipedronis_: ^17:06
pstolowskipedronis_: some dillemas here re primary key and potential reuse (after tweaks) of asserts.HeadersFromPrimaryKey17:06
pstolowskiand it's based on the PR that switches to v2 api17:07
zygahttps://twitter.com/zygoon/status/1351215032475004942/photo/1 :)17:09
zyganiemeyer, ^17:09
zygahey jdstrand17:09
* zyga hugs jdstrand for being here17:10
jdstrandhey zyga :)17:11
zygamvo, is cachio off / sprinting this week?17:21
ijohnsonzyga: cachio is moving to a new house this week, I think he will be back on like wed or thurs17:45
zygaijohnson, oh, that's quite a big change17:47
zygacool, thanks for letting me know17:47
ijohnsonnp17:47
ijohnsonbtw nice logo for spread, I like it17:47
zygaijohnson, :)17:52
zygaI like it because it's so logo-like it's just lines spreaing outwards17:53
=== ijohnson is now known as ijohnsonlunch
=== ijohnsonlunch is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
=== tianon is now known as tianon--
=== tianon- is now known as tianon

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