/srv/irclogs.ubuntu.com/2021/04/19/#snappy.txt

mupPR snapd#10165 closed: tests: start of tests about services vs snapd refreshes  <Created by pedronis> <https://github.com/snapcore/snapd/pull/10165>04:06
mupPR snapd#10165 opened: tests: start of tests about services vs snapd refreshes  <Created by pedronis> <https://github.com/snapcore/snapd/pull/10165>04:11
mborzeckimorning05:54
mupPR snapcraft#3504 opened: extensions/desktop: use fonts from $XDG_DATA_DIRS, and remove unnecessary includes <Created by jhenstridge> <https://github.com/snapcore/snapcraft/pull/3504>06:07
zygagood morning06:20
pstolowskimorning07:05
mvogood morning pstolowski07:15
mborzeckipstolowski: zyga mvo hey07:35
zygahey guys!07:36
mborzeckiehh what a mess mess with that Requires07:56
mvohey mborzecki and zyga !07:58
zyga:-)07:58
mvomborzecki: yeah, it's very annoying :/07:58
mborzeckipedronis: do you know why we can't update the wrappers code to do systemctl restart?08:04
pedronismborzecki: no, we could try to change it but it creates the problem but is not new08:05
pedronisit was always like that08:05
pedronisit's 2015, and the commit says "restart"08:05
mborzeckiyeah, i'm looking at it now08:06
mborzeckihm maybe that was something related to systemd on 14.04?08:07
pedronisnot sure, I think supporting 14.04 came after08:07
mvoI think we should try to move to restart being the real restart but given that it's a big change probably not for 2.50 anymore if we can avoid it, seems risky and should get some time to bake in edge08:08
mborzeckii can open a PR with systemctl restart and we'll see what parts of the test suite fail if any08:10
mborzeckihmm we also have systemd.RestartAll which isn't really called anywhere meaningful08:25
mupPR snapd#10110 closed: interfaces/builtin: introduce dsp interface <Needs Samuele review> <Squash-merge> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10110>08:37
=== pedronis_ is now known as pedronis
pedronispstolowski: hi, should I re-review https://github.com/snapcore/snapd/pull/10155 or not yet?08:44
mupPR #10155: [RFC] o/snapstate: handle refresh hints <Refresh control> <Skip spread> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10155>08:44
mborzeckihmm can we skip the gofmt check on 1.9 branch and instead run it on the latest go branch maybe?08:46
mupPR snapd#10166 opened: systemd: implement restart as a single systemctl restart call <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10166>08:47
pedronismborzecki: it sounds we had discussion before, anyway is a bit of bad moment to make such change, it sounds something we could do early next cycle, anyway we still want/plan to move to 1.13 at least everywhere08:57
mborzeckipedronis: sure, just wanted this topic to not be forgotten, it is a bit annoying that we sprinkle the tests code (as it's usually the tests) with random comments to keep old gofmt happy08:59
mborzeckimvo: can you take a look at https://github.com/snapcore/snapd/pull/10160 ?09:34
mupPR #10160: tests, overlord: extend unit tests, extend spread tests to cover full command line support <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10160>09:34
mvomborzecki: sure09:54
mborzeckithanks!09:57
pstolowskipedronis: not yet, i'm about to push a smaller PR10:08
mupPR snapd#10167 opened: o/snapstate: store refresh-candidates in the state <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10167>10:37
pedronismborzecki: I reviewed https://github.com/snapcore/snapd/pull/1016011:02
mupPR #10160: tests, overlord: extend unit tests, extend spread tests to cover full command line support <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10160>11:02
mborzeckipedronis: thanks11:03
mvoalso reviewed it11:16
mborzeckimvo: thank you, pushing some tweaks in a bit11:52
mborzeckianyone recalls managers level tests that inject panics into tasks?12:06
mvomborzecki: yes, "just" create an error task and add it to the change at the right point. but maybe so high-level that it's not helpful anymore :/12:32
mupPR snapcraft#3503 closed: deb: do not filter python3 packages on core20 <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3503>13:17
pstolowskimborzecki: look for "error-trigger" tasks13:46
pstolowskimborzecki: and runner.AddHandler("error-trigger", erroringHandler, nil) in ifacestate_test.go13:47
mborzeckipstolowski: hm not quite the thing, i had some code that calls panic() specifically in the ode that is execued in the task handler, thats suppose to mimic an unexpected reboot13:47
ijohnsonpedronis: mvo : is it okay to force push to 10164 ?14:18
mvoijohnson: sure14:18
ijohnsonack14:18
pedronisijohnson: right now, yes14:19
ijohnsonright that's what I meant is just for now14:19
ijohnsonpedronis: mvo : bboozzoo : I force pushed the systemctl impl to 10164, will take a break and work on unit tests in a bit14:50
=== stgraber_ is now known as stgraber
* cachio__ lunch15:16
pedronisijohnson: hopefully I answered your question in 10164 in a clearer way16:02
ijohnsonpedronis: yes that is clearer, thank you16:03
ijohnsonmeh this servicestatemgr.Ensure() keeps trying to write out the service units and daemon-reload for services which are mocked as existing in tests and end up confusing tests16:50
ijohnson(because the test expects the service to be mocked, not for it to actually be created)16:50
pedronisare there a lot of tests like that?16:58
ijohnsona good number in daemon weirdly enough, but it's not that big of a deal, I can work around it I think, just making all the daemon tests explicitly turn off the service ensuring16:59
mborzeckiijohnson|lunch: left a comment about InactiveEnterTimestamp, not sure it's useful at this point, as the system time should rather be stable when snapd is refreshing, whatever jumps there were, likely already happened during boot18:29
mupPR snapcraft#3505 opened: snaps: don't validate snaps before `SnapPackage.download()` <Created by Saviq> <https://github.com/snapcore/snapcraft/pull/3505>18:48
ijohnsonbboozzoo: thanks I responded, I think you may have misread the code ;-)19:03
mupPR snapd#10168 opened: boot: allow `fde-setup initial-setup` to return json <Created by mvo5> <https://github.com/snapcore/snapd/pull/10168>19:18
mupPR snapcraft#3505 closed: snaps: don't validate snaps before `SnapPackage.download()` <Created by Saviq> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3505>19:58
mupPR snapcraft#3506 opened: cli, repo: add support for UA tokens <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3506>20:58

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