/srv/irclogs.ubuntu.com/2020/04/27/#snappy.txt

mborzeckimorning05:50
zygamborzecki: good morning06:19
mborzeckizyga: hey06:21
mborzeckideconflicted https://github.com/snapcore/snapd/pull/846406:39
mupPR #8464: cmd/snap-boostrap, boot: use /run/mnt/data instead of ubuntu-data <UC20> <⛔ Blocked> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8464>06:39
mborzeckiotherwise out doing errands, i'll be back for sprint meetings06:39
mborzeckioh and install/re(install)/recover worked with pc_98.snapm, pc-kernel_473.snap and snapd from edge06:41
zygaGood luck and see you later mborzecki06:41
pstolowskimorning07:02
zygahey pawel07:02
zygathis will be a quiet morning07:03
pstolowskiyep07:09
mupPR snapd#8436 closed: configcore,tests: use daemon-reexec to apply watchdog config <Squash-merge> <⛔ Blocked> <Created by pedronis> <Closed by pedronis> <https://github.com/snapcore/snapd/pull/8436>07:16
mupPR snapd#8436 opened: configcore,tests: use daemon-reexec to apply watchdog config <Squash-merge> <⛔ Blocked> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8436>07:17
zygapedronis: good morning07:32
zygapedronis: I will write the details of the inhibit lock idea and share the link with you07:32
pedronisok07:34
mupPR snapd#8562 opened: store: implement DownloadAssertions <Created by pedronis> <https://github.com/snapcore/snapd/pull/8562>07:36
zygapedronis: https://forum.snapcraft.io/t/wip-refresh-app-awareness/10736/3308:09
* zyga AFK for some time08:09
zygaactually no08:13
zygastore is still responding with 429 - too many requests - sometimes08:16
mupPR snapd#8563 opened: asserts/internal: introduce Grouping and Groupings <Bulk assert refresh :scroll::scroll::scroll:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8563>08:26
mupPR snapd#8564 opened: asserts: introduce Pool <Bulk assert refresh :scroll::scroll::scroll:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8564>08:29
pedronislots of red again afaict09:13
mvopedronis: do you have an example of a recent run with reds?09:16
mvopedronis: what PR should I look at?09:16
pedronismvo: here for example: https://github.com/snapcore/snapd/pull/8436  I suppose it's the store but haven't looked at the logs09:17
mupPR #8436: configcore,tests: use daemon-reexec to apply watchdog config <Squash-merge> <⛔ Blocked> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8436>09:17
mvopedronis: yeah, anything that fetches core runs into timeouts it seems09:18
zygaI saw store returning errors09:19
zyga42909:19
mupPR snapd#8565 opened: osutil: expand FileLock to support shared locks and more <Created by zyga> <https://github.com/snapcore/snapd/pull/8565>09:22
mborzeckire (kind of)09:32
mborzeckimvo: pedronis: any high priority 2.45 PRs that need reviews/fixes?09:46
mupPR snapd#8566 opened: cmd/cmdutil: add run inhibition operations <Created by zyga> <https://github.com/snapcore/snapd/pull/8566>10:05
pstolowskisil2100: hey! do you have a moment to take a look at https://github.com/snapcore/core-build/pull/59 ?10:12
mupPR core-build#59: initramfs: add new handle_writable_defaults() <Created by mvo5> <https://github.com/snapcore/core-build/pull/59>10:12
sil2100pstolowski: hey! Is this the same as for core20?10:13
pstolowskisil2100: no, core20 is separate (https://github.com/snapcore/core20/pull/46, which you commented on)10:15
mupPR core20#46: static: add new handle_writable_defaults() to handle-writable-paths <Created by mvo5> <https://github.com/snapcore/core20/pull/46>10:15
mupPR snapd#8567 opened: o/devicestate: core20 early config from gadget defaults <Created by stolowski> <https://github.com/snapcore/snapd/pull/8567>10:29
=== msalvatore_ is now known as msalvatore
sil2100pstolowski: yeah, I guess I'll have the same weird question here, since the code is the same - can someone explain the meaning of the -L check in that particular conditional?11:32
mvosil2100: I replied in the PR, this is to ensure that broken symlinks will still get created11:39
mvosil2100: as -e will follow the symlink target and return false if there is a symlink but it point's to the void11:40
mvosil2100: hence we need -L in addition, there is a "unit" test for this as well11:40
mupPR core#112 opened: Fix English in comment around usage of spellcheck <Created by ykoehler> <https://github.com/snapcore/core/pull/112>11:44
mupPR snapd#8568 opened: asserts: rest of the Pool API <Bulk assert refresh :scroll::scroll::scroll:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8568>11:54
mupPR snapd#8569 opened: o/assertstate,asserts: use bulk refresh to refresh snap-declartions <Bulk assert refresh :scroll::scroll::scroll:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8569>11:56
mupPR core#112 closed: Fix English in comment around usage of spellcheck <Created by ykoehler> <Merged by mvo5> <https://github.com/snapcore/core/pull/112>12:14
ijohnsonzyga: is there no SU today?13:01
zygahey13:02
zygaI don't think so13:02
zygabut we can meet if you have something to share13:02
zygapstolowski: ^ ?13:02
zygaI have some cool stuff13:02
ijohnsonmy update is just UC20 UC20 UC2013:02
zygahttps://meet.google.com/rni-xhsz-uqt13:02
zyga:)13:02
pstolowskizyga: ijohnson hi, i'm in the opening plenary13:03
zygapstolowski: can you share the link in private?13:03
pstolowskiperhaps when it's over?13:03
zygaijohnson: join and I can share some fun stuff13:03
ijohnsonsure13:04
pstolowskizyga: i can, it's from the calendar you gave me in the morning ;)13:04
mupPR snapd#8570 opened: many: allow using ~/.snapdata instead of ~/snap <Created by zyga> <https://github.com/snapcore/snapd/pull/8570>13:11
GargoyleIs it necessary for every snap app to spam the journal with these messages:- Apr 27 14:11:21 zion2 audit[359771]: AVC apparmor="DENIED" operation="connect" profile="snap.mysql-workbench-community.mysql-workbench-community" name="/run/uuidd/request" pid=359771 comm="mysql-workbench" requested_mask="w" denied_mask="w" fsuid=1000 ouid=013:13
mborzeckiGargoyle: thanks for reproting, afaik access to /run/uuidd/request was part of one specific interface, but since 2.45 (to be released soon) is aprt of the base template13:16
GargoyleSeems every snap I've installed (clean install of 20.04 a few days ago) is reporting the same message over and over.13:17
ograthe next snapd update will fix this as mborzecki said ...13:18
pstolowskizyga, ijohnson standup?13:18
ijohnsonpstolowski: we are in zyga link above13:18
GargoyleAhh. OK13:19
mborzeckiGargoyle: yeah, seems like a popular way to obtain uuids (idk why /proc/sys/kernel/random/uuid isn't as popular and does not require a separate daemon)13:19
zygapstolowski: can you join?13:20
pstolowskiijohnson, zyga 4 people are in regular standup HO13:20
zygaoh13:20
zygaI didn't get the link13:20
ograyou guys are entertaining today !13:21
cmatsuokaijohnson, pstolowski, cachio: I just ran another test here and it works well before the refresh, but it fails at the-tool in the post-refresh boot13:59
cmatsuokaI'll try it non-encrypted to be able to see what's going on13:59
ijohnsoncmatsuoka: I assume that's with edge everything and remastered kernel snap ?13:59
cmatsuokaijohnson: it's core20 602, gadget 96, remastered kernel 47014:00
cmatsuokaijohnson: did something important change in core20 or gadget?14:01
cmatsuokaI mean, core20 or kernel?14:01
ijohnsonwell the kernel was revved over the weekend, I see rev 473 on edge now14:01
cachiocmatsuoka, here it is still running14:01
* cmatsuoka updates kernel14:02
* zyga -> lunch14:05
pstolowskicmatsuoka: what about nested/basic core20 test? does it work14:05
cachiopstolowski, I am running these tests now14:10
cachioI'll tell you14:10
pstolowskicachio: ok, ty14:10
cachiopstolowski, I'll let you know14:11
cmatsuokastore is very, very slow right now14:15
cachiolast run I got kill timeout downloing the kernel snap14:16
zygare14:24
zygacmatsuoka: yes, painfully slow :/14:24
mborzeckirelease effect stilll?14:28
zygamborzecki: compound effect, more than one issue14:30
zygaI've updated https://github.com/snapcore/snapd/pull/8570 with some more expectations14:38
mupPR #8570: many: allow using ~/.snapdata instead of ~/snap <Created by zyga> <https://github.com/snapcore/snapd/pull/8570>14:38
cmatsuokaijohnson: apparently the problem was caused by a local change that I thought it would be totally harmless14:43
ijohnsoncmatsuoka: good to know, what was the change?14:44
cmatsuokaijohnson: experimentations moving the snap-bootstrap bootstrap and partition packages to gadget14:44
ijohnsonah I see14:45
pedroniscmatsuoka: that needs a bit of design btw, it's not just mechanical14:48
pedronisthere is some semi-duplication between bits of gadget and partition14:49
pedronisthat is not super clear what to do about14:49
cmatsuokapedronis: yes, I noticed that it wouldn't be a simple move14:49
pedroniscmatsuoka: maybe you can have a chat with mborzecki, he might have input on that14:50
pedronisthere's an unclear relation between the bits that existed for snap-image14:51
pedronisand the stuff for snap-bootstrap14:51
cmatsuokapedronis: the other thing I was going to examine was to integrate the new helpers from secboot14:51
cmatsuokapedronis: perhaps that would be a more productive thing to do right now?14:51
pedroniscmatsuoka: it might be easier,  if you look at that my comments on the measure model PRs, there are a couple of helper in snap-boostrap14:52
pedronisthat belong in secboot I think14:52
pedroniscmatsuoka: a question is a bit whether we want them as functions or we want some kind of wrapper around a tpm connection14:53
pedronisthat can be set up even if there's no tpm14:53
cmatsuokapedronis: I'll have a look14:53
pedronisbut then the functionaliy/some functionality becomes NOPs14:53
=== xnox is now known as xnox|sessions
cachiopstolowski, tests are failing15:09
cachiopstolowski, can't validate the fix15:09
pstolowskicachio: kill timeouts? or store?15:10
cachiopstolowski, the store15:10
cachiogetting kill timeout but downloading snaps15:10
ijohnsoncachio: downloading snaps for me is incredibly slow right now15:12
roadmrhaving slow snap downloads? kill it then restart. Also wait a bit, things are being tweaked right now15:13
ijohnsonroadmr: I've killed it at least 5 times now and keep getting 503s eventually15:15
roadmrthen please wait a bit, things are being tweaked right now :)15:15
ijohnsonsure15:15
cachioijohnson, yes15:17
cachioijohnson, it is making all the tests fail15:18
zygais anyone upgrading to groovy yet?15:40
ijohnsonhah15:45
ijohnsona15:45
zygathat's it, I'm moving to groovy ;)15:46
roadmrthe name conflicting with groovy is slightly unfortunate heh15:47
roadmr"why do you move to groovy! it's java deep down inside,argh"15:48
roadmrcachio, ijohnson : are things  happier for you folks now?15:57
ijohnsonroadmr: let me check now15:57
cachioroadmr, running tests, I'll let you know in few minutes15:59
cachioroadmr, thanks15:59
roadmrwell "snap download whatever" and if it doesn't 503 or be dog-slow then you're ok :)15:59
ijohnsonroadmr: much much much much much much much better now16:00
ijohnsonthank you!16:00
roadmrI did nothing :)16:00
ijohnson(and the whole snapstore team in general too :-) )16:00
roadmrthanks !16:00
cachioroadmr, seems to be working much better now16:06
roadmrthanks for confirming cachio :)16:06
zygadegville: hey, not sure if you look at github notifications16:16
zygadegville: I've opened a small PR with two paragraphs of text16:17
zygadegville: I think the text I've used is terrible and I need some help16:17
zygahttps://github.com/snapcore/snapd/pull/857116:17
mupPR #8571: overlord/snapstate: warn of refresh/postpone events <Created by zyga> <https://github.com/snapcore/snapd/pull/8571>16:17
zygathe text is right up front in the diff16:17
mupPR snapd#8571 opened: overlord/snapstate: warn of refresh/postpone events <Created by zyga> <https://github.com/snapcore/snapd/pull/8571>16:17
zygain the tests below you can see how it would look like at runtime: https://github.com/snapcore/snapd/pull/8571/files#diff-5a74ab37983225c1b7fd74b7f20746e0R67016:17
degvillezyga: thanks for letting me know! I'll take a look (I do try to keep on top of GH notifications)16:18
zygaif you have a moment I would love to get some better sentences instead16:18
zygasuper, thank you :)16:18
mupPR snapd#8572 opened: packaging: add the inhibit directory <Created by zyga> <https://github.com/snapcore/snapd/pull/8572>16:23
mupPR snapd#8573 opened: overlord/snapstate: inhibit startup while unlinked <Created by zyga> <https://github.com/snapcore/snapd/pull/8573>16:34
* zyga EODs16:42
mupPR snapd#8560 closed: tests: disable "searching" test <⚠ Critical> <⛔ Blocked> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/8560>16:49
=== ergiusenss is now known as sergiusens
cmatsuokaijohnson: have you seen this error before? https://pasteboard.co/J5Mjrds.png17:40
ijohnsoncmatsuoka: no sorry I don't have time to debug it right now17:40
ijohnsonand also to be clear I haven't seen that error17:41
cmatsuokathanks, just checking17:41
cachiocmatsuoka, still I see the smae issue https://paste.ubuntu.com/p/3C8Xg6WjcZ/18:25
cachiocmatsuoka, at some point the message Press enter to configure. should appear18:26
cachiocmatsuoka, right?18:26
cachioI am runnign without the -cpu host18:26
cachiobecause it make qemu fail on google18:26
cachiocmatsuoka, should I try to find an alternative?18:26
cachiofor -cpu host18:27
pedronisI suspect yes,  the default has other problems18:27
cmatsuokacachio: checking the log...18:31
cachioI see this error. qemu-system-x86_64[62220]: qemu-system-x86_64: /build/qemu-74sXTC/qemu-4.2/target/i386/kvm.c:2680: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.18:31
cachiowhen I use -cpu host18:32
cmatsuokacachio: it's a bit unclear to me what could be happening there, I'm researching a little bit18:41
cachiothanks18:43
Saviqjdstrand: hey, when you get a chance, could you please add `interface: home; read-all: true` to auto-connections for Multipass?18:44
jdstrandSaviq: why is that needed? (I need to document this)18:45
Saviqjdstrand: to allow launching images coming from user's homes18:45
Saviqjdstrand: we may avoid it long-term by amending our own profile runtime18:46
Saviqto allow access to that one file (which could be outside of /home at that point)18:46
jdstrandSaviq: ok, thanks18:47
cmatsuokacachio: debugging msr failures seems to be hard: https://bugs.launchpad.net/qemu/+bug/166138618:48
mupBug #1661386: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed <QEMU:Fix Released> <https://launchpad.net/bugs/1661386>18:48
Saviqcachio, cmatsuoka: zyga came to us yesterday with a strangely similar issue, is this nested on VMWare Fusion? If not, please ignore :)18:50
cmatsuokaSaviq: it's nested but on gce18:51
cmatsuokaSaviq: I'm googling for similar reports and they're quite weird18:52
cmatsuokaSaviq: I think gce uses kvm18:53
Saviqthe last update to qemu on bionic was in February, so unlikely for that to be related http://changelogs.ubuntu.com/changelogs/pool/main/q/qemu/qemu_2.11+dfsg-1ubuntu7.23/changelog18:54
zygaSaviq: could you rebase on core 20?18:55
zygaI suspect is is the same security they paper over18:56
cmatsuokaSaviq: what we actually need is a qemu cpu with rdrand so we're using -cpu host, and doing that triggered the msr problem cachio reported18:56
zygaThis is the same as I debugged18:57
zygaDropping -cpu host fixes it for me18:57
cmatsuokahmm, I see that vmware rejects pmu msr accesses18:58
cmatsuokazyga: is your problem related to pmu?18:58
cmatsuokazyga: if so -cpu host,pmu=off might help18:59
zygaI did not use pmu19:00
cmatsuokacachio: I don't have any good idea on how to address that, I think it's better to open a bug for kernel reporting it and see if anyone suggests a flag to use or a workaround19:55
cmatsuokacachio: I see similar problems reported for azure and other nested cases, but not this problem exactly19:55
cmatsuokacachio: I mean, for qemu19:57
cmatsuokacachio: not kernel19:59
cachiocmatsuoka, it is weird because it was working 2 weeks ago20:01
cachiothen a change made that it didnt work any more20:01
cmatsuokacachio: oh really? hmm, what could have changed?20:02
cachiocmatsuoka, not sure20:03
cachiolast week I started to see that new behaviour20:03
cmatsuokacachio: can we try an older image to see if it still works?20:06
cachiono20:09
cachiocmatsuoka, we build the image in the test20:09
cachioI cant re-create an old image20:10
cachiobut I could use snapd from beta20:10
cachiodoes it make sense?20:10
pedronisbut the bug is in qemu20:10
pedronisso it's about the host20:10
pedronisnot the uc image20:10
cachiopedronis, there are 2 things20:11
pedronisunless is the kernel in the uc image triggering something20:11
cachioa bug in qemu and also this issue that I see that the first boot does not finish20:12
cachioinstall mode goes well20:12
cachiothen in run mode it does not finish20:12
cachioand it was working 2 weeks ago with the same qemu/kvm20:12
cachiopedronis, I'll try with an older kernel and older snapd to see what happens20:13
roadmrhey who knows a bit about spread? :) Cannot allocate lxd:ubuntu-18.04: cannot list lxd remotes: exec: "lxc": executable file not found in $PATH20:29
mupPR snapcraft#3090 closed: ci: move staging store tests to spread <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3090>20:57
roadmrsergiusens: maybe you know about that error I got above? lxc/d is installed, though from deb, not snap20:58
roadmrsergiusens: btw this looks much easier to set up / run than the old way :) thanks20:58
mupBug #1875493 opened: [core] log rotation doesn't properly restart rsyslogd <Snappy:New> <https://launchpad.net/bugs/1875493>21:13
ijohnsonroadmr: are you using spread via the snap ?21:53
ijohnsonoh well nvm21:53
diddledanjdstrand, if you're about, is the gnome session manager dbus api (for uses other than screen-inhibit-control) omitted from the desktop or desktop-legacy plugs because we're expecting snaps to define their use via a custom plug?22:44
diddledanspecifically it's on the session bus at endpoint org.gnome.SessionManager member RegisterClient22:44
diddledanpossibly also an UnregisterClinet?22:45
diddledanfor an example snap that is trying to use the api:: https://forum.snapcraft.io/t/openaudible-bounty/16835/822:46

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