/srv/irclogs.ubuntu.com/2020/07/30/#snappy.txt

mupPR snapd#9073 closed: release: 2.45.3.1 <Created by pedronis> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/9073>00:07
mborzeckimorning05:57
mupPR snapd#9075 closed: daemon/api: use pointers to time.Time for debug seeding aspect <Preseeding 🍞> <Simple 😃> <Created by anonymouse64> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9075>07:23
pedronishello07:28
pedronisgah07:32
mborzeckipedronis: hey07:33
pedronismborzecki: hi, can we chat after the desktop meeting?07:47
mborzeckipedronis: yes07:47
mborzeckipedronis: that unit test failure is only when building debs?07:48
mborzeckipedronis: i don't see it locally07:48
mupPR snapd#9076 opened: interfaces: make the unmarshal test match more the comment <Created by pedronis> <https://github.com/snapcore/snapd/pull/9076>07:48
pedronismborzecki: I opened this ^07:49
pedronisto tweaks the test because it wasn't actually testing what it said, but also add more debugging07:49
mborzeckipedronis: interesting, spread tests don't complain either, do you have more of a log where the failure occurred?08:00
pedronismborzecki: there's only false,08:01
pedronisthat's why I did we need more debugging08:01
pedronissee my PR08:01
pedronis*I think08:01
mupPR snapd#9076 closed: interfaces: make the unmarshal test match more the comment <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9076>09:19
mupPR snapd#9077 opened: boot: add current recovery systems to modeenv <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9077>10:34
mborzeckipedronis: ^^10:45
mupPR snapd#9078 opened: [RFC] boot: fancy marshaller for modeenv values <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9078>11:19
pedronismborzecki: thx, finishing lunch break and then I will look11:24
pedronismborzecki: I reviewed #9074 , I dismissed Ian's review though becuase it has changed in some significative ways12:08
mupPR #9074: bootloader: extend managed assets bootloader interface to compose a candidate command line <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9074>12:08
mborzeckidamn gofmt12:22
mborzeckipedronis: thanks for the review, i'll poke ijohnson or cmatsuoka when they are online12:28
mborzeckipedronis: #9077 should hopefully be easy12:28
mupPR #9077: boot: add current recovery systems to modeenv <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9077>12:28
pedronisyes, I will look at it next12:29
mborzeckicmatsuoka: hey, do you have the script for booting in secure mode? something does not work in my setup and i'm not sure why12:49
cmatsuokamborzecki: sure, just a sec12:49
mborzeckiit's clearly doing something because the vm is significantly slower and getting stuck on low entropy occasionally12:50
cmatsuokamborzecki: https://paste.ubuntu.com/p/mRHs9rx5QM/12:50
cmatsuokamborzecki: don't forget to re-sign shim with the snakeoil key12:54
cmatsuokamborzecki: this is Ian's script to do that: https://paste.ubuntu.com/p/4CczzWSHzR/12:54
mborzeckicmatsuoka: thanks!12:54
mborzeckicmatsuoka: which ovmf do you use?12:59
mborzecki(i mean version)12:59
cmatsuokamborzecki: the one from the focal archive12:59
mborzeckicmatsuoka: hmm so it should be the same, idk i'm getting dropped to efi shell now12:59
cmatsuokamborzecki: I'll check my steps here after the SU13:00
mupPR snapcraft#3237 opened: spread: use host pip <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3237>13:35
=== ijohnson|lunch is now known as ijohnson
ijohnsonseems I forgot to leave lunch mode yesterday haha13:42
cmatsuokamborzecki: dropping to efi shell happened to me if I didn't re-sign shim IIRC13:47
mborzeckicmatsuoka: ok, that would make sense, another question then, where do i get that snakeoil cert/key? or do you have a scipt to generate a custom one13:48
cmatsuokamborzecki: it's in the ovmf package13:48
mborzeckiijohnson: can you take a look at https://github.com/snapcore/snapd/pull/9077 ?13:49
mupPR #9077: boot: add current recovery systems to modeenv <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9077>13:49
ijohnsonmborzecki: sure13:49
ijohnsonmborzecki: you can also get that snakeoil cert/key from the gadget snap repo in snapcore/pc-amd64-gadget13:50
mborzeckiijohnson: cmatsuoka: thanks, i see it in the ovmf package13:51
mborzeckiheh funny how that package ships usr/share/OVMF and usr/share/ovmf13:51
mborzeckiofc both directories have differnt content13:52
mborzeckiand a key with a password13:53
cmatsuokait's "snakeoil"13:53
mborzeckiyup, found that in docs13:54
mborzeckihmm still getting dropped to efi shell13:57
mborzeckibtw. there's a problem with lxd tests, they reach kill timeouts, no matter the host (ubuntu, fedora etc)13:58
mborzeckiyay, works with secure boot now14:01
cmatsuoka\o/14:02
mborzeckicmatsuoka: i didn't have unit=0, unit=1 for the CODE/VARS entries, although code was listed first14:03
mborzeckihmmm Retrieving image: rootfs: 1% (99.00kB/s)14:11
cmatsuokamborzecki: what's the thing about gofmt 1.9 in the Modeenv struct initialization?14:14
cmatsuokaI mean, what does it complain about?14:14
mborzeckicmatsuoka: gofmt changed the maximum line length around 1.9/10 iirc, so 1.n+1 formatting is different from earlier versions14:15
cmatsuokaah ok14:15
mborzeckicmatsuoka: or not the max line length, but the maximum empty whitespace run, something like that14:15
mborzeckiwow, gcp is also getting same downlaod speeds of lxd images: Retrieving image: rootfs: 3% (95.97kB/s)14:17
mborzeckiwasn't there like a different remote rpeo we could use to get the images?14:17
cmatsuokamborzecki: I had this kind of download rate with snaps some time ago, and it possibly triggered that write loop issue14:19
zyga-x240mborzecki: yes but it has different images14:20
zyga-x240mborzecki: ubuntu/foo14:21
zyga-x240mborzecki: vs foo IIRC14:21
zyga-x240mborzecki: those images don't have snapd and have other tweaaks14:21
zyga-x240*tweaks14:21
mborzeckizyga-x240: hm well, the ubuntu repo is super slow atm, tests are failing14:21
zyga-x240try lxc remote list14:21
zyga-x240there are images/ubuntu-abc14:22
zyga-x240and there's ubuntu/foo14:22
zyga-x240and ubuntu-daily/foo14:22
zyga-x240IIRC images is very fast14:22
mborzeckizyga-x240: it is, but our tests don't use that ;)14:23
zyga-x240they could but they would need to be adjusted to cope with the different environment14:23
cachiocmatsuoka, about the reboots14:24
cachiocmatsuoka, could be possible we are rebooting the instace because of a race?14:24
cachiocmatsuoka, is it possible to track that?14:24
mborzeckiwonder what's causing the load on cloud-images.ubuntu.com, boothole updates?14:25
cmatsuokacachio: in our side? I don't think we're doing it14:25
zyga-x240mborzecki: IIRC it was never fast14:26
cmatsuokacachio: otherwise it would log something, there it looks like the VM is simply "power-cycled"14:26
zyga-x240it was just some what okay14:26
cachiocmatsuoka, yes, makes sense14:32
cachiotrying a new configuration now, I had 1 run without any reboot14:32
cachiobut perhaps it was just lucky14:32
cachioI was14:32
ogra_jdstrand, so it looks like we wont need any specific pcscd interface at all ... just an approved content interface (i.e. https://forum.snapcraft.io/t/auto-connections-for-pcsc-daemon/19170 ) should be enough ...15:17
mborzeckierrands, bbl15:25
ogra_jdstrand, also https://forum.snapcraft.io/t/module-blacklisting-interface/19171 ...15:31
ogra_as requested 🙂15:31
ogra_(and i know you are busy with grub fixing ... so feel free to ignore as needed 😉 )15:32
* cachio lunch15:49
ijohnsoncachio: I think 9027 is probably ready to be merged when it's green15:56
ijohnsonI responded to your comment there15:56
mborzeckiijohnson: meh, hardly anything is green now16:10
ijohnsonhaha yeah probably16:10
ijohnsonmborzecki: your fancy modeenv marshalling/unmarshalling looks good to me16:11
ijohnsonmborzecki: I am going to do another pass on 9074 just so I can understand, but feel free to merge without my +116:11
mborzeckiijohnson: thanks, i think it'll be easier to put more complex things there16:11
ijohnsonyeah16:11
mupPR snapd#9074 closed: bootloader: extend managed assets bootloader interface to compose a candidate command line <UC20> <Created by bboozzoo> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/9074>17:11
mupPR snapd#9079 opened: gadget/install: retrieve command lines from bootloader <Simple 😃> <UC20> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/9079>17:21
* cachio afk17:37
mupPR core20#79 opened: Add secureboot-db package, try #2 <Created by xnox> <https://github.com/snapcore/core20/pull/79>18:24
mupPR snapd#9077 closed: boot: add current recovery systems to modeenv <Simple 😃> <UC20> <Created by bboozzoo> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/9077>18:36
mupPR snapcraft#3237 closed: spread: use host pip <maintenance> <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3237>19:01
cachiocmatsuoka, hey19:01
cachioI see this error: https://paste.ubuntu.com/p/pFMF5NJdDn/19:01
cachiorelated to tpm19:02
cachiois it something expected?19:02
cmatsuokalet me see...19:03
cmatsuokacachio: this is strange indeed19:05
mupPR snapcraft#3236 closed: snap: use python3-apt stage-package <maintenance> <Created by cjp256> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/3236>19:06
cmatsuokacachio: was it a normal installation run, or did you do something unusual in this test?19:11
cmatsuoka(like not clearing the tpm or something like that)19:11
cachioI am manually running19:11
cachiocmatsuoka, this is the full log https://paste.ubuntu.com/p/MVQCNz4RF3/19:13
cmatsuokacachio: the two error messages are different, so it failed twice?19:16
cmatsuokacachio: the second one suggests that the tpm was not cleared before installing19:18
cachiosorry, the second was my fault19:19
cmatsuokathe first one is not something i've seen before19:19
cmatsuokais it reproducible?19:19
cachiocmatsuoka, https://paste.ubuntu.com/p/zg3gKVQN5C/19:21
cachioI am trying again19:21
cmatsuokacachio: the last paste is a tail -f command :)19:21
cachiofew lines before it is the error19:22
cachiothis is the full log for that error19:22
cmatsuokacachio: I mean, there's only a tail command in the paste19:23
cmatsuokagoogle-nested:ubuntu-20.04-64 .../tests/nested/core20/tpm# tail -f /tmp/work-dir/serial-log.txt19:23
cachiocmatsuoka, perhaps hte error was caused because a reboot19:23
cachiohttps://paste.ubuntu.com/p/zg3gKVQN5C/19:23
cachioI see the full log there19:23
cachioline 298219:23
cachiocmatsuoka,19:23
cmatsuokacachio: ah ok I got it, sorry19:24
cmatsuokathere's a lot of empty lines there19:24
cmatsuokalet me see where the reboots happened...19:25
cmatsuokacachio: yes, maybe the crashes placed the tpm in some inconsistent state?19:27
cmatsuokabut that shouldn't happen, it's strange19:27
cachiocmatsuoka, how should I clean tpm19:28
cachioforgot that19:28
cmatsuokayou can delete the "permall" file in /var/snap/swtpm-mvo/current19:29
cachiothanks19:30
cmatsuokatpm2-00.permall, but I think the number may change if you have more instances19:30
=== Aavar_ is now known as Aavar
mupPR snapcraft#3235 closed: tests: fix assert ordering for error format tests <maintenance> <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3235>20:36
cmatsuokacachio: did you reproduce that error?21:01
cachiono21:03
cachiocmatsuoka, I was running the whole afternoon and didnt see that error again21:04
cmatsuokahm interesting, ok, let me know if that ever happens again21:04
cmatsuokain this case it seems that it was caused by the random reboots, which is also strange but...21:05
mupPR snapd#9080 opened: osutil/disks: use xerrors to indicate a fs label wasn't found <Simple 😃> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9080>21:47
mupPR snapd#9081 opened:  secboot,cmd/snap-bootstrap: cross-check partitions before unlocking, mounting <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9081>22:22
mupPR snapd#9082 opened: interfaces/system-key: in WriteSystemKey during tests, don't call ParserFeatures <Bug> <Simple 😃> <Test Robustness> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9082>22:47

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