/srv/irclogs.ubuntu.com/2021/09/03/#snappy.txt

mborzeckimorning05:08
mardymborzecki, zyga-mbp: hi!05:50
zyga-mbpgood morning, happy Friday and apparently, happy first day of pretty cold mornings :E05:51
zyga-mbpI was just outside and I can smell the cold again05:51
mborzeckimardy: zyga-mbp hey05:53
mborzeckiyeah, it is cold in the morning05:53
mborzeckinot really amused about that :/05:54
zyga-mbpmborzecki yeah, sucky year05:55
pstolowskimorning06:03
mardy'morning pstolowski 06:05
mardyfinally someone not complaining about the cold! Must be pretty warm in there ;-)06:05
zyga-mbpgood morning pstolowski :)06:05
mborzeckipstolowski: hey06:06
mborzeckianother nested test is broken? https://paste.ubuntu.com/p/QYyCqMMQD3/06:08
mborzeckihmm looking at the test, afaiu it's not possible to for it to pass at this point06:10
mardybtw, it's still not clear to me the difference between nested tests and normal tests06:18
pstolowskimardy: in nested tests we create a VM and control it from the test, do checks with nested_exec (which executes ssh -c ... against that vm)06:23
pstolowskimardy: we use that for tests that wouldn't be possible the normal way; nested have a separate test suite as they need different setup and more powerful hosts to run VM inside06:24
zyga-mbpmardy in the nested case the system allocated by spread runs another system inside, with a lot more control over what that looks like exactly06:32
zyga-mbpmardy importantly nested lets you play with TPMs06:32
zyga-mbpnowadays perhaps more, I'm out of touch06:32
pstolowskiyeah we use them to also test things like seeding a new image and booting it, or simulating usb device plugging/unplugging for hotplug06:34
pstolowskis/seeding/preseeding/06:34
mborzeckia trivial fix in https://github.com/snapcore/snapd/pull/1072706:40
mupPR #10727: tests/nested/core/extra-snaps-assertions: fix the match pattern <Simple 😃> <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10727>06:40
mupPR snapd#10727 opened: tests/nested/core/extra-snaps-assertions: fix the match pattern <Simple 😃> <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10727>06:42
pstolowskiwhere do we update base declaration for new interfaces? a snap using the new snap-refresh-control interface is rejected by the store07:06
mvopstolowski: can you request manual rview?07:07
mvopstolowski: otherwise I think ian can help (I think I can also in theory but I'm a bit reluctant)07:07
pstolowskimvo: not for this rejection it seems07:07
mvopstolowski: what is the snap called?07:10
mvo test-snapd-refresh-control ?07:10
pstolowskimvo: yes07:10
mvoamurray: is the reject "07:11
mvointerface 'snap-refresh-control' not found in base declaration declaration-snap-v2_plug_known (snap-refresh-control, snap-refresh-control)07:11
mvo" and "07:11
mvounknown interface 'snap-refresh-control' lint-snap-v2_plugs (snap-refresh-control, snap-refresh-control)07:11
mvo" something you can help pstolowski  with ? for the test-snapd-refresh-control snap?07:11
pstolowskiamurray: it's for the new interface we landed in snapd recently. https://github.com/snapcore/snapd/pull/1070207:12
mupPR #10702: interfaces: introduce snap-refresh-control interface <Needs Samuele review> <Refresh control> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10702>07:12
pstolowski(it's an interface with no actual permissions, so wasn't tagged for you to review)07:14
mborzeckimvo: hi, can you land https://github.com/snapcore/snapd/pull/10722 ?07:16
mupPR #10722: tests/nested/manual/refresh-revert-fundamentals: fix variable use <Simple 😃> <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10722>07:16
amurraymvo pstolowski: hey, yep sure I can help - review-tools needs to be updated to know about this interface... I've just manually approved it for now07:42
zyga-mbphey amurray :)07:43
amurrayhey zyga-mbp :)07:43
pstolowskiamurray: awesome, thank you!07:48
mvothanks amurray !07:49
pstolowskimvo:  do you know the PR# that reverted time sync change?07:57
mborzeckimv07:58
mborzeckimvo: can you take a look at https://github.com/snapcore/snapd/pull/10661 ?07:58
mupPR #10661: cmd/libsnap-confine-private: device cgroup v2 support <Complex> <Security-High> <Needs security review> <cgroupv2> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10661>07:58
mborzeckiit's probab a bit more complex than the usual stuff, but it'd be great to have another review form our team before amurray does a pass07:58
mborzeckialso it's better if more people are even remotely familiar with this stuff, you know, bus factor and all07:59
zyga-mbpmborzecki I'll have a look as well07:59
zyga-mbpbut please allow for one day over weekend07:59
zyga-mbpso that I really read and look at the details08:00
zyga-mbpit's not something I can promise today08:00
amurraymborzecki: I was looking at that a bit earlier today :) - sorry I haven't had time yet to really dig into it - I want to give it a decent look to make sure I understand the BPF filter etc too08:00
amurrayhopefully early/mid next week though I should get to it proper08:00
mborzeckiamurray: that's great, let me know if you have any questions or would like to discuss the PR08:02
amurraymvo pstolowski: I have granted the snap declaration for use of snap-refresh-control to test-snapd-refresh-control - and once https://code.launchpad.net/~alexmurray/review-tools/+git/review-tools/+merge/408065 lands and review-tools on the store is updated then it should pass review automatically08:04
* amurray is reminded again how getting some CI setup to warn on missing snapd interfaces in review-tools would be very useful...08:05
pstolowskiamurray: thank you!08:06
amurraypstolowski: should snap-refresh-control be auto-connected as well for test-snapd-refresh-control?08:11
pstolowskiamurray: no, it's fine as is08:17
amurrayok no worries08:21
mborzeckimvo: can you land https://github.com/snapcore/snapd/pull/10727 ?08:23
mupPR #10727: tests/nested/core/extra-snaps-assertions: fix the match pattern <Simple 😃> <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10727>08:23
mvomborzecki: sure, let me do that08:29
mupPR snapd#10727 closed: tests/nested/core/extra-snaps-assertions: fix the match pattern <Simple 😃> <Run nested> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10727>08:32
pstolowskihttps://github.com/snapcore/snapd/pull/10725 is now ready for review and should pass with the updated test-snap-refresh-control snaps in the store08:48
mupPR #10725: o/hookstate: require snap-refresh-control interface for snapctl refresh --proceed <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10725>08:48
mupPR snapd#10728 opened: ifacestate: undo repository connection if doConnect fails <Created by mvo5> <https://github.com/snapcore/snapd/pull/10728>08:53
pstolowskimvo:  do you know the PR# that reverted time sync change?08:54
mvopstolowski: #110 iirc09:01
mupPR #110: introduce AccountKey, support decoding it and validation <Created by pedronis> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/110>09:01
mvopstolowski: https://github.com/snapcore/core20/pull/110 to be precise09:18
mupPR core20#110: hooks: revert PR#105 - it seems to  <Created by mvo5> <Merged by xnox> <https://github.com/snapcore/core20/pull/110>09:18
mborzeckihm wonder why `mknod /dev/fb0 c 29 0` sometimes fails with EPERM10:13
zyga-mbpmborzecki sometimes?10:24
zyga-mbpis that in CI?10:24
mborzeckizyga-mbp: yeah10:24
zyga-mbphmm, that's weird10:24
zyga-mbpdoes sleep 5 help?10:24
zyga-mbpI wonder if you are racing with something like udev10:29
mborzeckizyga-mbp: it's mknod, so the error may come from devtmpfs, but why? it's not like it's checking for actual device support, I can mknod /dev/nvidiactl with the right major:minor and it does not error even though i don't have nvidia card10:38
zyga-mbphmm10:38
zyga-mbpI'd look at the source at this stage10:38
mborzeckizyga-mbp: i'll probably will, but remodel first, our code for generating tasks for remodel is real hairy :/10:41
* zyga-mbp hugs mborzecki 10:41
zyga-mbpbetter put off the yak shaving for spring 10:41
mupPR snapd#10729 opened: codecov: fix files pathnames <Created by mardy> <https://github.com/snapcore/snapd/pull/10729>11:48
mardyhere's a super-easy one to review ^ :-)12:16
zyga-mbpmardy approved13:23
mborzeckimardy: fyi there's a 'skip spread' label that you can add to a PR so that spread tests will not be executed13:34
mborzeckimiguelpires: ^^ also :)13:35
miguelpiresthanks :)13:47
mardymborzecki: ah, right, but I guess it's too late now14:05
mupPR snapd#10726 closed: systemd: add mock systemd helper <Squash-merge> <Created by mardy> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10726>14:29
mupPR snapd#10729 closed: codecov: fix files pathnames <Simple 😃> <Created by mardy> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10729>14:29
mupPR snapd#10730 opened: strutil: add Intersection() <Simple 😃> <UC20> <Skip spread> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10730>15:54
mupPR snapd#10731 opened: sysconfig/cloudinit: add cloudDatasourcesInUseForDir <Needs Samuele review> <UC20> <Skip spread> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10731>15:59
mupPR snapd#10732 opened: tests/lib/nested.sh: split out additional helper for adding files to VM imgs <Simple 😃> <Run nested> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10732>16:19
mupPR core20#112 closed: doc: add instructions on enabling bootcharts <Created by alfonsosanchezbeato> <Merged by alfonsosanchezbeato> <https://github.com/snapcore/core20/pull/112>16:28
LedHedgood morning,  I'm new to Ubuntu Core, wondering how I can check if Full Disk Encryption is enabled?  I ran: snap model --verbose and the grade came back as "signed".  My understanding is that "signed" means Encrypted (if its on supported hardware) and unencrypted otherwise.  How can I confirm whether the device has 'hardware support'?16:37
LedHedOr even better would be a command to show the FDE status?16:38
ijohnson[m]LedHed: one easy way to check if you have a shell on the device is to do `ls /dev/disk/by-partlabel/ | grep enc` if that shows you some files then your device is encrypted successfully16:57
ijohnson[m]but yeah we really have been meaning to add some command to check this easily but haven't done it quite yet16:57
LedHedijohnson[m], thanks that worked.  Or at lease I think it did,  no files returned so safe to assume no encryption.17:20
LedHedIs there a way to enable encryption for unsupported hardware? maybe by creating a custom image or hardware assertion?17:21
LedHedThe hardware appears to have everything necessary to be supported,  Secure Boot, and TPM17:22
mupPR snapd#10670 closed: tests:  new snapd-state tool <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10670>18:39
mupPR snapd#10580 closed: interface/builtin: add qualcomm-ipc-router interface for AF_QIPCRTR socket protocol <Squash-merge> <Needs Samuele review> <Created by tsunghanliu> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10580>19:24
mupPR snapd#10723 closed: o/ifacestate: special-case system-files and force refreshing its static attributes <Squash-merge> <Bug> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10723>19:24
mupPR snapd#10721 closed: interface/builtin: add qualcomm-ipc-router interface for AF_QIPCRTR socket protocol (2.52) <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/10721>19:29
mupPR snapd#10733 opened: interface/builtin: add qualcomm-ipc-router interface for AF_QIPCRTR socket protocol (2.52) <Created by mvo5> <https://github.com/snapcore/snapd/pull/10733>19:29
ijohnson[m]hey cachio (or cachio_ ) have you seen this before ? https://pastebin.ubuntu.com/p/GMpz86YFFp/19:52
cachioijohnson[m], yes, I think maciej fixed it19:53
ijohnson[m]or this one: https://pastebin.ubuntu.com/p/FCtxpq8Xbd/ ?19:53
ijohnson[m]cachio: nice19:54
cachiothere was a pr for that 19:54
ijohnson[m]I think the second one has something to do with not stopping fakedevicesvc in some other test19:54
cachioit should be on master19:54
ijohnson[m]hmm, I saw it here on master: https://github.com/snapcore/snapd/pull/1073219:54
mupPR #10732: tests/lib/nested.sh: split out additional helper for adding files to VM imgs <Simple 😃> <Run nested> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10732>19:54
mupPR snapd#10733 closed: interface/builtin: add qualcomm-ipc-router interface for AF_QIPCRTR socket protocol (2.52) <Created by mvo5> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/10733>20:55
mupPR snapd#10734 opened: release: 2.52 <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10734>21:10
mupPR snapd#10734 closed: release: 2.52 <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/10734>23:15

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