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

StupidDanboI got it working. Thanks.01:23
mupPR snapd#10151 opened: wrappers/services.go: refactor helper lambda function to separate function <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10151>01:24
mupPR snapd#10152 opened:  quota: new package for managing resource groups  <Needs Samuele review> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10152>02:24
mupPR snapd#10153 opened: [RFC] wrappers, quota: implement quota groups slice generation <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10153>02:40
mborzeckimorning05:51
pstolowskimorning07:01
mborzeckipstolowski: hey07:06
mborzeckihmm hmm dropped console=ttyS0 from cmdline.full and spent a while wondering why my qemu serial is so silent07:30
mupPR snapd#10154 opened: cmd/snap, boot: add snapd_full_cmdline_args to dumped boot vars <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10154>07:35
zygamborzecki uh oh07:39
zygamborzecki approved07:40
mborzeckithx08:21
mupPR snapd#10151 closed: wrappers/services.go: refactor helper lambda function to separate function <Simple 😃> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10151>09:11
mupPR snapd#10154 closed: cmd/snap, boot: add snapd_full_cmdline_args to dumped boot vars <Simple 😃> <Skip spread> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/10154>09:16
ograzyga, omg, krakow is attacked by the french ?!?! https://www.todayonline.com/world/is-it-bird-is-it-iguana-no-its-croissant09:22
mupPR snapd#10155 opened: [RFC] o/snapstate: handle refresh hints <Refresh control> <Skip spread> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10155>09:26
zygaogra I'm wearing a krakow t-shirt today ;-)09:32
ogradoes it have a croissant on it ?09:32
zygaogra only if we have some left upstairs09:32
zyga(I'm afraid not)09:33
mborzeckiand runing a spread test with cmdline.full & secure boot09:35
mborzeckihm when running nested tests we compress the images using xz -k0 <image-path>09:46
mborzeckiwonder if using bzip/gz/zstd would speed this up a bit09:46
mborzeckialso when we repack the kernel snap, we use xz again, we could use zstd there right?09:47
mborzeckiduh, s/zstd/lzo/ for the snap09:48
mborzeckihuh, how is that possible? ` Mount snap "snapd" (11588) (snap is unusable due to missing files; contact developer)`09:51
mvomborzecki: gzip is probably fastest09:51
mvomborzecki: uh, I never saw this message09:51
mborzeckimvo: that's from Adio's log09:51
mvomborzecki: there should be more details from snap.ValidateContainer for this error09:53
mvomborzecki: I have a meeting in 5 unfortunately, what PR fails like this?09:54
mborzeckimvo: that's not from a PR09:55
mborzeckiAdio: can you `snap changes` and paste the output to some pastebin?09:56
mvomborzecki: aha, sorry, missed that because I joined late09:58
mborzeckiAdio: can you collec the output of `snap tasks 6` ?10:02
pstolowskipedronis: hi, i've proposed #10155 for early feedback re the direction taken10:03
mupBug #10155: System reboots after halt <linux-source-2.6.15 (Ubuntu):Fix Released by fabbione> <https://launchpad.net/bugs/10155>10:03
mupPR #10155: [RFC] o/snapstate: handle refresh hints <Refresh control> <Skip spread> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10155>10:03
mborzeckiAdio: hm interesting, can you collect the journal? `sudo journalctl -u snapd --since 15:36`10:04
mborzeckithanks10:11
mborzeckiAdio: does /snap/snapd exist in your system? if so what does /snap/snapd/current point to (`ls -l /snap/snapd` will show that)10:11
pedronispstolowski: I'll try to look at it after lunch, I have few older PRs still in my review queue10:16
pedronispstolowski: thanks10:17
mborzeckihm no clue what's happening, it's as if the snapd snap file is corrupted? but that would probably give a different error10:17
pstolowskipedronis: sure. as i said naming TBD, tests are missing and existing tests will fail atm10:17
mborzeckiAdio: can you try running `snap install --beta snapd` ?10:29
mborzeckiAdio: what system is it anwyay? what does `snap version` show?10:29
mborzeckiAdio: hm probably something changed in unsquashfs, what's the old and the new version?10:55
mborzeckiAdio: thanks, does the new version even work at all? can you try `unsquashfs -l /var/lib/snapd/snaps/snapd_<some-rev>.snap`?11:23
mupPR snapd#10156 opened: boot, bootloader, bootloader/assets: support for full command line override from gadget <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10156>11:51
cachio_mborzecki, hi11:56
mborzeckicachio_: hey11:56
cachio_any idea if this is a new error? https://github.com/snapcore/snapd/pull/10135#issuecomment-81995582911:56
mupPR #10135: tests/lib/nested: proper status return for tpm/secure boot checks <Run nested> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10135>11:56
cachio_it is failing because of memory problems11:57
cachio_this is the only test failing11:57
mborzeckicachio_: not really, that's the minimal test in https://github.com/snapcore/snapd/pull/10135 which means we were not executing that test with secure boot enabled, and maybe it jsut doesn't work with 384MB of ram12:00
mupPR #10135: tests/lib/nested: proper status return for tpm/secure boot checks <Run nested> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10135>12:00
mborzeckimvo: ^^ that's probably interesting to note too12:00
mvomborzecki: in a meeting will have a look12:01
mborzeckilet me add that to the standup notes so that we don't forget12:01
cachio_mborzecki, but we were not using secure boot during the last 20 days12:03
cachio_after we merged core and core20 suites12:04
cachio_before we were using it12:04
cachio_not sure if any change we did lastly could affect that test12:05
mborzeckicachio_: afaiu the change in 10135 and your last commit there, make it used by default now on ubuntu-20.0412:05
cachio_mborzecki, you are  right12:06
cachio_manual tests were not using sec boot12:06
cachio_mborzecki, should that test run with sec boot?12:07
cachio_or it is ok to run without?12:07
cachio_mborzecki, I can add environment:12:11
cachio_    NESTED_ENABLE_TPM: false12:11
cachio_    NESTED_ENABLE_SECURE_BOOT: false12:11
cachio_to the test12:11
mborzeckicachio_: that's a good question and the answer depends on what we promise ;), let's discuss it during the standup12:11
cachio_mborzecki, sure12:11
pedronispstolowski: thanks for https://github.com/snapcore/snapd/pull/10155 , left a bunch of comments and some worries, let me know12:55
mupPR #10155: [RFC] o/snapstate: handle refresh hints <Refresh control> <Skip spread> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10155>12:55
cachio_mborzecki, I have tested minimal smoke with 512MB and works14:12
mborzeckicachio_: with secure boot enabled right?14:12
cachio_yes14:12
mborzeckicachio_: can you also try to run it with 384MB like before, but with disabled tpm/secure boot?14:13
cachio_sure14:13
mborzeckieventually maybe we should keep both variants of the test14:13
mborzeckimvo: ^^14:13
mvomborzecki: +1 (but in a meeting right now)14:14
ijohnsonpedronis: sorry I think I forgot to look at the frankfurt notes to see that it was decided to _not_ allow having different quota groups for services in a single snap, that does simplify things I suppose, but to be clear that's the implementation we want for now ?14:19
ijohnsonto have a single group for all services in a snap ?14:19
pedronisyes14:20
ijohnsonthat does go a bit against our recommendation that we give to customers to bundle services into a single snap, since now all the services in a single snap would be subject to the same resource quota14:20
cachio_mborzecki, you mean to run with 384 and not secboot and with 512 and secboot right?14:21
mborzeckicachio_: yeah14:21
cachio_mborzecki, I can try that14:21
pedronisijohnson: I was not even aware of this reccommendation14:24
pedronisis that just because then it's easier to make them talk to each other?14:24
ijohnsonpedronis yes, at least that's what was the recommendation when I was on the field team14:25
ijohnsonThe other reason is due to refreshes etc and keeping different services in sync14:25
pedroniseither way, we can't start doing services as first step, it gets pretty convoluted quickly state wise14:27
ijohnsonok, I thought it was fairly straight forward to just put a quota on an appinfo like I showed, but as mentioned I have not finished plumbing everything together14:29
pedronisijohnson: but we don't really keep app infos around like that14:29
pedronisthat's why as I said there's need some thinking about what we actually stick into the state14:29
ijohnsonoh I see, I didn't realize we don't serialize app-infos like that14:30
pedronisijohnson: SnapState doesn't contain a snap.Info nor snap.AppInfos14:30
pedroniswe read them always from disk combined with SideInfo data from SnapState14:30
ijohnsonmmm right14:31
pedronisso not even clear that putting the group in snap.Info is useful or confusing14:31
ijohnsonOkay, I'll have a look today14:32
pedronisat the wrappers level it could come via SnapServicesOptions14:32
pedronisbut not sure14:32
pedronisthere is more than one way to do this, but ultimately we need to keep what we did/need to do in state14:33
ijohnsonRight14:33
mborzeckipedronis: ijohnson: i've updated #1014814:46
mupBug #10148: xfree86: new changes from Debian require merging <Ubuntu:Invalid by fabbione> <https://launchpad.net/bugs/10148>14:46
mupPR #10148: overlord/devicestate, overlord/snapstate: add task for updating kernel command lines from gadget <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10148>14:46
ijohnsonack14:53
pedronismborzecki: I re-reviewed it, I'm looking at the full one next. OTOH that one probably can use as many eyes as possible15:29
pedronisI mean the task one15:29
mborzeckipedronis: understood, thanks for the review15:30
mupPR snapd#10157 opened: o/snapstate: remove unused DeviceCtx argument of ensureInstallPreconditions <Simple 😃> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10157>15:57
* cachio_ lunch15:59
zygamborzecki around?16:20
pedronisI reviewed https://github.com/snapcore/snapd/pull/10156 thanks16:20
mupPR #10156: boot, bootloader, bootloader/assets: support for full command line override from gadget <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10156>16:20
mupPR snapd#10158 opened: packaging: build without dwarf debugging data <Created by zyga> <https://github.com/snapcore/snapd/pull/10158>16:32
=== popey8 is now known as popey
mupPR snapd#10135 closed: tests/lib/nested: proper status return for tpm/secure boot checks <Run nested> <Simple 😃> <Created by bboozzoo> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10135>18:17
* cachio_ afk18:28
mupPR snapcraft#3503 opened: deb: do not filter python3 packages on core20 <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3503>19:10
mupPR snapd#10159 opened: secboot: use secboot.{ActivateVolumeWithKeyData,SnapModelChecker} <Run nested> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10159>19:37
mupPR snapcraft#3495 closed: conda v2 plugin: support for more architectures <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3495>23:15

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