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

mborzeckimorning05:56
pstolowskimorning07:09
mborzeckipstolowski: hey07:12
mborzeckipstolowski: any prs that need reviews?07:14
pstolowskimborzecki: hey, #10169 please07:15
mupBug #10169: typo in gucharmap's About <gucharmap (Ubuntu):Fix Released by seb128> <https://launchpad.net/bugs/10169>07:15
mupPR #10169: o/snapstate: helper for creating gate-auto-refresh hooks <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10169>07:15
mborzeckipstolowski: will do07:15
pstolowskity07:15
mvopedronis: I think we can merge 9043 and also 10122, yes? both got enough reviews07:32
mvohey zyga, good morning!07:32
pedronismvo: yes, we just need to decide when is a good time07:32
zygagood morning guys :)07:32
* zyga is setting up a 2nd display07:33
pstolowskihey zyga!07:35
=== alan_g_ is now known as alan_g
mborzeckihm bootloadertest zoo, need a mix of TrustedAssets and RecoveryAware bootloaders08:33
pedronismborzecki: hi, you said we need to chat about something today?08:55
mborzeckipedronis: it's fine for now, i think i've figured out how to make use of seedtest.SeedSnaps properly so that assertions seem to match the files, i may have some questions when i do unasserted snaps, but i'll ping you then08:56
pedronisok, good08:57
pedronisthx08:57
mborzeckipedronis: thanks for asking :)08:58
mupPR snapcraft#3509 opened: extensions: don't expose host system fontconfig cache <Created by jhenstridge> <https://github.com/snapcore/snapcraft/pull/3509>09:17
mupPR snapd#10179 opened: bootloader/bootloadertest: provide interface implementation as mixins, provide a mock for recovery-aware-trusted-asses bootloader <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10179>09:30
mborzeckipedronis: adding one more to bootloadertest zoo, hopefully it's a bit cleaner now ^^09:31
mborzeckimvo: can you use your powers and land https://github.com/snapcore/snapd/pull/10178 ?09:34
mupPR #10178: tests/lib/nested: do not compress images, return early when restored from pristine image <Run nested> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10178>09:34
pedronismborzecki: done09:59
mupPR snapd#10178 closed: tests/lib/nested: do not compress images, return early when restored from pristine image <Run nested> <Simple 😃> <Created by bboozzoo> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/10178>10:00
mborzeckipedronis: thanks10:01
mvomborzecki: sure10:20
mvoheh, too late again!10:20
* mvo hugs mborzecki and pedronis 10:20
mborzeckihmmm testutil.FileEquals behaves silly, returns that files are not equal when they seem to be, at least sha3sum indicates so10:35
mborzeckiuhh nvm10:36
mupPR snapd#10180 opened: testutil: support reference files in FileEquals checker <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10180>11:05
mupPR snapcraft#3508 closed: storeapi: add binding for validations-sets <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3508>12:03
=== zyga_ is now known as zyga
* cachio__ afk12:15
mupPR snapd#10181 opened: overlord/devicestate: add helper for creating recovery systems at runtime <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10181>12:35
mupPR snapd#10182 opened: o/snapstate: autorefresh phase1 for refresh-control <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10182>12:46
pedronismborzecki: I made a suggestions in https://github.com/snapcore/snapd/pull/1018013:27
mupPR #10180: testutil: support reference files in FileEquals checker <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10180>13:27
mborzeckipedronis: thanks13:30
mupPR snapd#10179 closed: bootloader/bootloadertest: provide interface implementation as mixins, provide a mock for recovery-aware-trusted-asses bootloader <Simple 😃> <Skip spread> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/10179>13:51
ijohnsonhmm does google:ubuntu-18.04-64:tests/main/prepare-image-uboot-uc20 need to be updated now that the pi kernel dtb things are landing ?13:52
ijohnsonhttps://pastebin.ubuntu.com/p/Td3GsfTpWY/13:52
mvoijohnson: yes, we need a matching kernel in edge13:53
ijohnsonmvo: so we don't yet have a matching kernel in edge yet ?13:53
mvoijohnson: correct13:53
mvoijohnson: once we have this will work, I can force merge until this is fixed13:54
mvoijohnson: in a meeting so a bit terse13:54
ijohnsonno worries, thanks for responding clarifying 🙂13:54
mvoijohnson: I asked the kernel team fwiw, so hopefully soon13:55
ijohnsonnice13:56
ijohnsonmvo: pedronis : so can we land https://github.com/snapcore/snapd/pull/10164 ? the only thing from mvo there is to add some whitespace and the only failure there is for the prepare-image-uboot-uc20 test so I think it is ready to go (and remember it needs to be squash merged)14:05
mupPR #10164: o/servicestate/servicemgr.go: add ensure loop for snap service units <Bug> <Squash-merge> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10164>14:05
mvoijohnson: yeah, ignore the whitespace, happy to land it if pedronis  agrees14:08
ijohnsongreat, yeah it sounded like it was ready from our conversation in the SU, but I will let pedronis confirm before moving ahead14:08
mborzeckihmm need a fresh mind to look at luks2 in secboot again14:12
mvomborzecki: look at my fde PR instead then ;)14:12
mvomborzecki: 10168 ;)14:12
pedronisijohnson: mvo: I can merge it in a little bit14:13
mborzeckimvo: 10168? ah ok, i was keeping tack of the changes and with the last bit of cleanup from pedronis it lgtm14:13
ijohnsongreat thank you pedronis !14:13
mvomborzecki: yeah, I think it "just" needs a +1 from you, then I have another look and then I can do the next round14:14
mborzeckistill, wonder if that large disclaimer in fde-setup-hook is enough of a discouragement ;)14:15
mborzeckimvo: already gave my +114:16
mvomborzecki: do you have ideas what else we could do?14:16
mvomborzecki: great!14:16
mvomborzecki: thanks, sorry, only have 10% of my brain, in a meeting14:16
pedronispstolowski: I commented on https://github.com/snapcore/snapd/pull/1017214:30
mupPR #10172: o/hookstate: add "refresh" command to snapctl (hidden, not complete yet) <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10172>14:30
pedronisthx14:30
pstolowskipedronis: thanls14:33
pstolowski*thanks14:33
pedronisijohnson: done, also thanks for answer my question about console-conf-start14:33
pedronis*answering14:33
ijohnsongreat, I will push the spread tests to your branch then14:33
ijohnsonthanks pedronis !14:33
mborzeckiyay14:33
mupPR snapd#10164 closed: o/servicestate/servicemgr.go: add ensure loop for snap service units <Bug> <Squash-merge> <Created by anonymouse64> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/10164>14:36
mvoI cherry pick now14:36
mupPR snapd#10183 opened:  wrappers/services.go: introduce EnsureSnapServices() (2.50) <Created by mvo5> <https://github.com/snapcore/snapd/pull/10183>14:41
ijohnsonhmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm14:42
* ijohnson < https://matrix.org/_matrix/media/r0/download/matrix.org/FQMnxJdobWFarBmfhEbwCBGr/message.txt >14:42
* ijohnson < https://matrix.org/_matrix/media/r0/download/matrix.org/vmTtqgwMlScKbbIARMYtUfEo/message.txt >14:42
ijohnsongah formatting14:42
ijohnsonhttps://pastebin.ubuntu.com/p/nrfz3XrznS/14:42
ijohnsonthis is erm also not good14:42
ijohnsonif the refresh from 2.49.2 -> 2.50 fails, we might not be able to successfully revert :-/14:43
ijohnsonbecause now reverting snapd depends on successfully stopping the things which depend on usr-lib-snapd.mount .... which is now all snap services ☚ī¸14:43
mupPR snapd#10184 opened: tests: moving the snaps which are not locally built to the store directory <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10184>14:46
pstolowskipedronis: updated 1017214:46
pedronisdegville: hi, could you give a look at the new help in  https://github.com/snapcore/snapd/pull/1017214:48
mupPR #10172: o/hookstate: add "refresh" command to snapctl (hidden, not complete yet) <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10172>14:48
* cachio__ lunch14:49
ijohnsonpedronis: thoughts on ^ ?14:52
pedronisijohnson: can you tell me more?14:55
ijohnsonpedronis: I don't that there's anything we can do about it, but while working more on the spread tests, I noticed that due to the Requires=usr-lib-snapd.mount dependency, when we try to revert snapd, it will fail to revert if the services can't be stopped as part of `systemctl stop usr-lib-snapd.mount`14:55
pedronisbut 2.50 puts Wants, not requires, is this a different revert?14:56
ijohnsonpedronis: right what I'm saying is that right now if a user has 2.49.2 installed they can't revert snapd if they have services which fail to stop properly14:57
ijohnsonand also that if we have issues with the refresh from 2.49.2 -> 2.50, and specifically we have to revert _before_ we have updated the service unit dependencies, then reverting snapd will fail14:58
pedronisI agree, but unless we replace 2.49.2 and the units in the world by other means I'm not sure there is much we can do about that14:58
ijohnsonyes I know there's not much we can do about it14:58
ijohnsonI just wanted to raise it as an additional risk we have with the 2.49.2 -> 2.50 rollout14:59
pedronismborzecki: I looked at https://github.com/snapcore/snapd/pull/10181, it looks reasonable, this is for the capture runtime case right? not remodel?15:04
mupPR #10181: overlord/devicestate: add helper for creating recovery systems at runtime <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10181>15:04
pedronismborzecki: some comments15:04
degvillepedronis: looking now!15:08
pedronisijohnson: anyway it shows that this idea of calling something early in the new snapd before doing more of snap linking would be good15:09
ijohnsonyes, agreed15:10
pstolowskimvo: hey, could you land #10167 and #10169? there are some unrelated failures (e.g. uboot and grub on 18.04)15:53
mupBug #10167: Should it be deprecated??? <trashapplet (Ubuntu):Fix Released by seb128> <https://launchpad.net/bugs/10167>15:53
mupPR #10167: o/snapstate: store refresh-candidates in the state <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10167>15:53
mupBug #10169: typo in gucharmap's About <gucharmap (Ubuntu):Fix Released by seb128> <https://launchpad.net/bugs/10169>15:53
mupPR #10169: o/snapstate: helper for creating gate-auto-refresh hooks <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10169>15:53
mvoijohnson: I played a bit with "snap revert snapd" and at least it seems working ok under most situations16:16
mborzeckipedronis: thank you, it should work eventually for both cases with some tweaking16:16
mborzeckiright now it works with runtime case though16:16
ijohnsonmvo: did you try with Requires=usr-lib-snapd.mount and a unit which fails to be stopped ?16:16
mupPR snapd#10167 closed: o/snapstate: store refresh-candidates in the state <Needs Samuele review> <Refresh control> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10167>16:16
mupPR snapd#10169 closed: o/snapstate: helper for creating gate-auto-refresh hooks <Needs Samuele review> <Refresh control> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10169>16:16
ijohnsonif so maybe my failure here is from something else16:16
mvoijohnson: I did not had a unit that fails to get stopped, let me try this again, I used test-snapd-service  which iirc has no unit that is trying hard to not get stopped16:31
mvoijohnson: I'm sure it's real it just not super common it seems16:31
ijohnsonmvo: yes that is the specific case where a snap service refuses to stop in time, i.e. with a stop-command that just does `sleep infinity`16:32
mvosil2100: congrats for the release \o/17:21
ograhappy hippo to everyone !17:32
=== popey8 is now known as popey
=== the-mentor36 is now known as the-mentor3
mupPR snapcraft#3510 opened: cli: introduce list-validation-sets <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3510>18:08
mupPR snapcraft#3509 closed: extensions: don't expose host system fontconfig cache <Created by jhenstridge> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3509>18:28
=== tomreyn_ is now known as tomreyn

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