/srv/irclogs.ubuntu.com/2020/08/05/#snappy.txt

mborzeckimorning05:33
mborzeckimvo: hey06:50
mvohey mborzecki06:51
mborzeckimvo: an interesting bug https://bugs.launchpad.net/snapd/+bug/189004606:52
mupBug #1890046: Handle SOURCE_DATE_EPOCH for SquashFS <Snapcraft:Triaged> <snapd:Triaged> <https://launchpad.net/bugs/1890046>06:52
mvomborzecki: uh, looking06:55
mvomborzecki: hm, doing this for the snapd snap should be easy, core is a bit harder. i wonder if we should just sru squashfs-tools06:56
pstolowskimorning07:01
mborzeckipstolowski: hey07:02
mvogood morning pstolowski07:03
mborzeckimvo: there's probably some concerns about the review-tools/store side of things?07:03
mvomborzecki: yeah, probably something to talk to jamie about07:05
mvomborzecki: hm, the bug report talks about reproducible builds, this is exactly what we want too I guess07:09
mborzeckimvo: right, common goals may make sru'ing squashfs-tools a bit easier ;)07:11
mvo:)07:11
mborzeckineed to go and drop some paperwokr at my accountant07:12
mborzeckire08:17
pedronismvo: pstolowski: hi, have we prepared backports for snap debug seeding stuff ?08:39
pstolowskipedronis: afaiu mvo was going to look at the commits yesterday so i haven't do anything about that. i'm happy to take this over if not started yet08:44
pedronispstolowski: it seems like we need to add preseed code to all interfaces backends no?08:45
mvopstolowski: I have not started yet, if you have capacity for this, that would be great08:45
pstolowskipedronis: nb, we may have an issue with udev though, see mattermost chat08:45
pstolowskipedronis: yep, udev backend08:46
pedronispstolowski: yes, that's why my comment about interfaces backends08:46
pedronispstolowski: well, we need to look at all backends and see which one can trigger external programs/services08:46
pstolowskipedronis: yes08:46
pedronisand see which one don't work in a chroot08:46
pedronisand see what to do08:47
pstolowskimvo, pedronis i've doctor appointment in 15, shouldn't take long, will be back on this afterwards08:47
pedronisok08:47
mvopstolowski: not super urgent, no worries. see you08:48
* pstolowski bbiab08:52
zygagood morning08:59
* zyga came to check if 2.45.3.1 built fine for suse08:59
mborzeckizyga: hey, how are you feeling today?09:05
zygamborzecki: much  better09:15
zygastronger than before09:15
mborzeckizyga: yay, that's great09:15
mborzeckizyga: koza sends regards ;)09:15
zygaoh cool09:15
zygaI wonder how he is doing09:15
pstolowskiback09:21
pstolowskihey zyga!09:21
zygahey Pawel!09:22
zygalast day off09:23
zygaI can walk more each day09:23
zygaI think tomorrow I could do two hour standing sessions interspaced with one hour in-bed sessions09:23
zygaand intermixed with prescribed exercise09:23
mborzeckimvo: can you take a look at https://github.com/snapcore/snapd/pull/9078 ?09:56
mupPR #9078: [RFC] boot: fancy marshaller for modeenv values <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9078>09:56
mborzeckimvo: and i'll poke ijohnson too when he's online, it'd be nice to land it soonish09:57
mvomborzecki: yes10:01
mborzeckimvo: thanks!10:01
zygahey mvo10:21
zygaI was just chatting with Pawel10:22
zygaI will take a break now, I'll come back later10:22
pstolowskipedronis: do you have a moment for #9088 ?10:34
mupPR #9088: cmd/snap-preseed: use snapd from the deb if newer than from seeds <Preseeding 🍞> <Run nested> <Squash-merge> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9088>10:34
pedronispstolowski: do you have a question? or do you need a review?10:51
pstolowskipedronis: review10:52
pedronisah, no, I confused it with a different PR10:52
pedronisI put it in my queue (having lunch break atm)10:52
pstolowskithanks, enjoy10:52
mupPR snapd#9090 closed: cmd/snap/debug/seeding: use unicode for proper yaml <Preseeding 🍞> <Simple 😃> <⚠ Critical> <Created by anonymouse64> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9090>11:18
pedronismvo: ^ I forced merged that one, we have a problem with debian-sid atm, it will need a backport11:18
mvopedronis: ok11:43
pedronispstolowski: reviewed, made some maybe slightly annoying comments, and also a very different suggestion in: https://github.com/snapcore/snapd/pull/9088#discussion_r46566639011:43
mupPR #9088: cmd/snap-preseed: use snapd from the deb if newer than from seeds <Preseeding 🍞> <Run nested> <Squash-merge> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9088>11:43
=== benfrancis0 is now known as benfrancis
pstolowskipedronis: thanks, will take a look11:54
pedronispstolowski: I think the suggestion is simpler than either current or what I suggested, if a bit less clean, but probably clean enough11:55
mborzeckimoving back home12:03
ijohnsonmorning folks12:15
pedronismvo: I did a pass on #8982, looks good, left some comments. It needs new reviews though because it has changed quite a bit12:16
mupPR #8982: snapshots: export of snapshots <Needs Samuele review> <Created by slimjim777> <https://github.com/snapcore/snapd/pull/8982>12:16
mvopedronis: thank you so much12:17
mupPR snapd#9092 opened: interfaces/udev: Do not reload udevadm rules when preseeding <Bug> <Preseeding 🍞> <Squash-merge> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9092>12:18
pstolowski^ i need to check other backends, will address them separately if needed12:18
pstolowskiouch https://www.engadget.com/honda-recalls-608000-minivans-and-suvs-with-fault-software-issues-121511778.html12:27
pstolowskishoud have auto-refresh enabled ;)12:27
pedronispstolowski: I reviewed that12:30
pstolowskity12:32
ijohnsonwhat's the situation with the udev backend and preseeding ?12:32
mvopedronis: 8946 got a review from Graham, he +1 but also mentioend to add a period at the end of each sentence. I guess I will just add the "." and push and once tests are good merge ? or do you think the extra spread run is not needed?12:33
pstolowskiijohnson: I got past the mount issue on xenial, but then it failed as apparently udevadm was triggered by some interface in the seeded snaps (see my standup notes)12:35
* ijohnson looks12:35
pedronismvo: not, needed but the tool needs changes12:36
pedronisas well12:36
pedronismvo: I can also look into that today12:37
pedronismvo: doing cherry-picks for 2.45 is probably more urgent12:37
ijohnsonpstolowski: interesting, perhaps we should try seeding other snaps which have other interfaces12:38
ijohnsonerr preseeding12:38
pedronisijohnson: I asked to look at all backends12:38
pstolowskiijohnson: i'm going to check other backends12:38
ijohnsonsorry I just meant as a spread test12:38
ijohnsonsince we may change things over time in the backends setup12:38
pedronisyes12:38
pedronisbut a bit unclear how to do that, we mostly need to cover backends more than interfaces, but backends might vary. We have a snap with all possible interfaces12:39
pedronisbut not sure it would play well with preseeding12:39
ijohnsonalso the issue is that snap with all possible interfaces doesn't have store decls, does it ?12:40
pedronisexactly12:40
ijohnsonwe would need store assertions for the backends to actually run when interfaces are connected12:40
pedronisalso connecting them doesn't always make sense12:40
ijohnsonmmm12:40
pedronisI mean, with things like some of the support interfaces it gets messy12:41
pedronisI mean I don't think is sensible to have such set of store declarations12:41
pedronisI think we need just enough to cover our bases12:41
ijohnsonagreed12:41
pedronissensibly12:41
pedronismaybe there's a why to write backends that would make this kind of issue easier to track12:42
pedronismvo: I'll take care of 8946 today12:43
mvopedronis: thank you12:46
pedronismvo: pushed, please double check my last changes when you have a moment12:52
pstolowskikmod backend needs the same treatment12:53
pedronispstolowski: systemd as well I think12:55
pstolowskipedronis: just looking at it.. yes12:55
pstolowskii forgot about all these corners12:58
mborzeckiijohnson: can you take a look at https://github.com/snapcore/snapd/pull/9078 later today?13:40
mupPR #9078: [RFC] boot: fancy marshaller for modeenv values <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9078>13:40
ijohnsonsure13:41
mborzeckiijohnson: thanks, it'd be nice to land it to unblock the horrors in modeenv13:41
* ijohnson read it as "unlock the horrors" and I imagine it's not actually too far off13:41
mborzeckihm damn build tags13:58
mupPR snapd#9093 opened: interfaces/kmod: don't load kernel modules in kmod backend when preseeding <Bug> <Preseeding 🍞> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9093>14:23
pstolowskishould #9041 be tagged for 2.45 as well?14:27
mupPR #9041: osutil/group.go: treat all non-nil errs from user.Lookup{Group,} as Unknown* <Bug> <Needs security review> <Preseeding 🍞> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9041>14:27
ijohnsonpstolowski: no not necessary for 2.45, as it's blocked on security14:28
pstolowskiack14:29
* cachio lunch14:46
pedronispstolowski: I just landed #909115:07
mupPR #9091: cmd/snap: display the error in snap debug seeding if seeding is in error <Preseeding 🍞> <Squash-merge> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9091>15:07
pstolowskiack, ty15:08
mupPR snapd#9091 closed: cmd/snap: display the error in snap debug seeding if seeding is in error <Preseeding 🍞> <Squash-merge> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9091>15:09
pedronispstolowski: so I think with that all the debug seeding PR are on master15:09
pstolowskipedronis: yes; i'll look at backporting now15:12
pedronisthank you15:12
mupPR snapd#8946 closed: client: move all error kinds into errors.go and add doc strings <Needs Samuele review> <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/8946>15:24
pedronisdegville: mvo: I did the merge: https://github.com/snapcore/snapd/commit/a777978c1102ea95f0a820e174ee066e6efcbcb415:25
mvopedronis: thank you!15:25
degvillepedronis: thanks! I'll update the API page accordingly.15:27
pedronisthank you15:27
mupPR snapd#9094 opened: corecfg: add "system.hostname" setting to the system settings <Created by mvo5> <https://github.com/snapcore/snapd/pull/9094>15:39
pstolowskiso everything re seeding debug backported cleanly, except for spread tests & their helper scripts :}, a bit of a mess there16:01
mupPR snapcraft#3197 closed: experimental extension support <enhancement> <specification> <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3197>16:22
mupPR snapd#9083 closed: tests: new parameters for nested execution <Run nested> <Simple 😃> <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9083>16:44
mupPR snapcraft#3239 opened: lxd: update connectivity check url <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3239>17:12
cachioijohnson, cmatsuoka hi, someone could please take a quick look to this one? #894217:26
mupPR #8942: tests: support different images on nested execution <Run nested> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8942>17:26
cachioit needs a second review17:27
cachioI need that merged to start pushing a new set of improvements for nested17:27
cachiothanks17:27
ijohnsoncachio: sure I can take a look17:38
cachioijohnson, tx+17:46
ijohnsoncachio: did you try that branch with the cloud-init nested spread tests ?18:19
cachioall the tests are executed with cloud init18:20
ijohnsoncachio: no I mean did you run the specific tests/nested/manual/cloud-init-* spread tests with this branch ?18:20
cachioijohnson, not sure if I am understanding whe question18:20
ijohnsonI imagine those tests would fail with your change18:20
ijohnsonbecause now when we call start_nested_vm_unit the image file modifications previously done in those tests/nested/manual/cloud-init-* tests would be undone and thus cause those tests to break18:21
cachiowell, they are going to be executed as part of the github actions tests18:22
cachiolet me check the results18:22
ijohnsonok, but I still think that bit of changes would break those tests18:23
cachioI'll make a review now to see18:23
ijohnsonif those tests still pass then perhaps the tests are written poorly18:23
ijohnsonthank you18:23
cachioij18:23
cachioijohnson, it should work18:24
cachiobecause in this pr after the manual test we clean the images18:24
cachioso it is not a problem18:24
cachioyour concern if fixed in the following one, because the manual tests haev a specific name in the images18:24
cachioand the images are not cleaned anymore18:25
cachioso they can be reused18:25
cachiodoes it make sense?18:25
ijohnsoncachio: no what I mean is that in the tests/nested/manual/cloud-init-nocloud-not-vuln test, we manually call `start_nested_core_vm_unit`18:25
cachioyes, all the manual tests do that18:26
ijohnsonso now when that is called on line 150 of that task.yaml, your code will overwrite the image file that was used earlier in the test when we called start_nested_core_vm on line 4018:26
ijohnsoncachio: sorry I think the point I'm trying to make is that we have tests where start_nestec_core_vm_unit is called multiple times during one test18:26
cachioah, ok, got it, let me see18:26
cachioijohnson, so the problem is that we do18:29
cachiocp "$IMAGE_DIR/$IMAGE_NAME" "$CURRENT_IMAGE"18:29
ijohnsonyes that will overwrite the CURRENT_IMAGE used earlier in the test18:29
cachiowhen we start ther image and this overwrite the image right?18:30
ijohnsonyes18:30
cachioijohnson, ok, good point, I can fix that18:30
ijohnsonthanks18:30
cachiothakns for the review!!!18:31
ijohnsonnp18:32
cachioijohnson, I think it should be fised18:37
cachiofixed18:37
cachiolet see the test results18:40
cachioijohnson, I am going to the kinesiologist now18:40
cachioI'll be back in 1 hour18:40
cachiothanks for the review18:40
ijohnsoncachio: ack I'll take a look at the test results when it's done18:40
cachioI had to leave the copy in the function start_nested_core_vm_unit because now the same of the image changes18:45
* cachio afk -> kinesiologist18:49
mupPR snapcraft#3239 closed: lxd: update connectivity check url <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3239>20:37
mupPR snapd#9085 closed: daemon,many: switch to use client.ErrorKind and drop the local errorKind <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9085>21:35
mupPR snapd#9095 opened: boot/bootstate20: unify commit method impls, rm bootState20MarkSuccessful <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9095>21:45
mupPR snapd#9096 opened: strutil: add ListsSame helper <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9096>21:45
mupPR snapd#9097 opened: boot/modeenv: add m.deepEquals, m.Origin helpers to simplify bootstate20 refactor <Simple 😃> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9097>21:45

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