/srv/irclogs.ubuntu.com/2020/11/16/#snappy.txt

jameshamurray: if you're happy with https://github.com/snapcore/snapd/pull/8943, could you mark your review as approved?03:26
mupPR #8943: wrappers: generate D-Bus service activation files <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/8943>03:26
mupPR snapd#9647 opened: vendor: upgrade to godbus v5.0.3 <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/9647>04:22
mborzeckimorning06:52
zygagood morning07:21
mborzeckizyga: hey07:28
pstolowskimorning08:08
mvohey pstolowski08:09
mborzeckimvo: pstolowski: hey08:24
pstolowskio/08:27
mvogood morning mborzecki !08:28
mvomborzecki: anything I should review urgently?08:28
mborzeckimvo: not really, nothing urgent to review08:28
mupPR snapd#9645 closed: bootloader/grub: replace old reference to Managed...Blr... with Trusted...Blr <Simple 😃> <Skip spread> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9645>09:03
mvomborzecki: I removed "blocked" from 7614 but it does need a security review, yes?09:05
mvozyga: 9384 has some conflicts now, should I merge master and de-conflict?09:06
mborzeckimvo: it was reviewed by amurray, or you mean we need another pass before landing?09:08
mvomborzecki: oh, I did not see his +109:09
mvomborzecki: the discussion is long, if it did got a security review I will remove the label. I guess it means we can merge this now, yes?09:10
mborzeckimvo: yes09:11
mvocool09:13
mupPR snapd#7614 closed: cmd/snap-confine: implement snap-device-helper internally <Needs security review> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7614>09:18
zygamvo: wooooooooot09:18
mborzeckiis the store flaky again? tests are failing randomly09:55
pedronismborzecki: it's possible10:06
mupPR snapd#9648 opened: spread: UC20 no longer needs 2GB of mem <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9648>10:18
mupPR snapd#9649 opened: seed: make a shared seed system label validation helper <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9649>10:38
mupPR snapd#9648 closed: spread: UC20 no longer needs 2GB of mem <Simple 😃> <Skip spread> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9648>11:03
pstolowskimborzecki: one remark re #964911:22
mupPR #9649: seed: make a shared seed system label validation helper <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9649>11:22
mupPR snapd#9650 opened: tests: skip boot state test on arm devices <Simple 😃> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9650>12:39
mborzeckilooks like f33 switched to systemd-resolved completely12:55
mupPR snapd#9643 closed:  bootloader: use ForGadget when installing boot config  <Run nested> <UC20> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9643>12:59
pedronismborzecki: I commented on https://github.com/snapcore/snapd/pull/964913:05
mupPR #9649: seed: make a shared seed system label validation helper <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9649>13:05
mborzeckipedronis: thanks, you mean `^[a-zA-Z0-9](?:-?[a-zA-Z0-9])*$` then?13:19
mborzeckihm `^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$` a model name maybe by model-like-names separated with dashes13:23
pedronismborzecki: look again, sorry, formatting issues13:26
pedronismborzecki: also I remembered something, this might need a tweak, a different tweak :/13:27
pedronismvo: I reviewed #955513:41
mupPR #9555: asserts: implement "storage-safety" in uc20 model assertion <Needs Samuele review> <Skip spread> <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9555>13:41
pedronismborzecki: can you join the standup a bit earlier to talk about labels?13:42
mborzeckipedronis: sure13:42
ijohnsonmorning folks13:42
zyga_ijohnson: hey13:44
ijohnsonhey zyga_13:44
=== zyga_ is now known as zyga-x240
mupPR snapd#9651 opened: tests: fix basic20 test on arm devices <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9651>13:59
mupPR core20#95 opened: Rpi kernel names <Created by xnox> <https://github.com/snapcore/core20/pull/95>14:48
xnoxwaveform:  https://github.com/snapcore/core20/pull/95/files this seems to work, and do the right thing on rpi2, 3, 4 did a subset of models.14:48
mupPR core20#95: Rpi kernel names <Created by xnox> <https://github.com/snapcore/core20/pull/95>14:48
xnoxwaveform:  will build that into a core20 image and will attempt deployment via testflinger, if that is good, will merge that.14:49
pstolowskihmmm lxd-services-smoke failed in https://github.com/snapcore/snapd/pull/9556 too14:52
mupPR #9556: tests: testing new fedora 33 image <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9556>14:52
cachiomvo, hi14:55
cachiomvo, I see this https://paste.ubuntu.com/p/RkNGtbMFYc/14:55
cachioin pi414:55
cachiomborzecki, ~14:57
cachiono more info in dmesg and journal logs14:57
mvocachio: oh, interessting. I have not seen this one yet14:59
cachiomvo, not sure where else I could check14:59
mvocachio: not sure either, have a meeting now unfortunately15:00
cachiomvo, ok, np, I'll continue the research15:00
cachiotx15:00
* cachio lunch16:11
pstolowskiaaah i see the bug in services16:13
pstolowskidoServiceControl keeps state locked when calling wrappers16:19
* zyga EODed his day job16:38
zygawell,  a while ago, now fixed wifi16:38
zygapedronis did you have the time to look at export manager patches?16:38
pedroniszyga: not today16:39
zygathat's okay, if you can make a review pass by EOW I can spend some time on it this weekend16:39
zygaI think it's close, the "cork" patch, and the rest should be easier to work with16:39
mvopstolowski: I updated 8929 (install-mode: disable), I think it needs some more tests but a quick check if it looks sane (it's short) woudl be great16:54
mvopstolowski: no rush, does not have to be today of course16:54
pstolowskimvo: ok16:55
mupPR snapd#9625 closed: snap: add new "fde-setup" hooktype <Simple 😃> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9625>16:55
pedronispstolowski: I reviewed #958017:04
mupPR #9580: store: download timeout <Bug> <Needs Samuele review> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9580>17:04
pstolowskipedronis: ty17:04
mupPR snapd#9652 opened: o/servicestate: unlock state before calling wrappers in doServiceControl <Bug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9652>17:10
pedronispstolowski: ^ I left something there too17:18
pstolowskipedronis: good point, thanks17:18
=== ijohnson is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
ijohnsoncachio: when you get a chance could you take a look at https://github.com/snapcore/snapd/pull/9646 too ?20:30
mupPR #9646: tests/many: enable some uc20 tests, delete old unneeded tests or TODOs <Precious Logs> <Run nested> <Test Robustness> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9646>20:30
ijohnsonI just reviewed #9651 for you, I think you can borrow some of the checks I wrote there20:30
mupPR #9651: tests: fix basic20 test on arm devices <Simple 😃> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9651>20:30
cachioijohnson, sure20:44
ijohnsonthanks20:44
cachioijohnson, left a comment20:49
cachiolet see if the results20:49
cachiotests are apssing20:50
cachiopassing20:50
cachiothere is a weir error building arch20:51
cachioit is not related to this change20:52
ijohnsoncachio thanks I responded20:54
ijohnsonYeah I'm looking into the other errors there they are all unrelated afaict20:55
cachiotoday I was working with the test core/fsck-on-book20:56
cachioijohnson, for uc20 on arm6420:57
cachioIt is trying to umount umount /run/mnt/ubuntu-seed/systems/*/snaps/snapd_*.snap but it doesnt exist20:57
cachioI update that to umount /run/mnt/ubuntu-seed/snaps/snapd_*.snap instead20:57
cachioon arm20:57
cachiobut still the appearing the text "Volume was not properly unmounted" after reboot20:58
cachioij do you have any idea about how to make he umount on arm?20:58
cachioijohnson,20:58
ijohnsoncachio: hmm that's interesting21:04
ijohnsoncachio: on such a system what is `snap list` and `cat /var/lib/snapd/modeenv` ?21:05
cachioijohnson, let me reserve one21:16
cachiobecause I dont have a pi4 here21:16
ijohnsoncachio: ok, I imagine that what is probably happening is that /run/mnt/snapd is only mounted on the very first boot, and on subsequent boots it is not mounted at all21:17
ijohnsonthe logic should be smart enough to avoid that but it might not be21:17
cachioijohnson, the test has this comment21:19
cachio# FAT uses a specific byte to effectively indicate that the file system is21:19
cachio      # dirty. The precise details as to how this byte is used by each system vary,21:19
cachio      # but Linux sets it on a non-read-only mount, and clears it on unmount. We21:19
cachio      # can set it manually, verify it when the image is mounted and observe fsck21:19
cachio      # clearing it. Note that larger block devices use FAT32 and the offset21:19
cachio      # differs. FAT12 and FAT16 uses 37 while FAT32 uses 65.21:19
cachioso it does the umount and reboot21:19
cachiobut next time the dirty byte seems to be set again21:19
cachiobut that works fine on amd6421:20
ijohnsonwell if the umount fails then the dirty byte will be set21:20
cachiothe umount does not fail21:20
cachioI fixed that21:20
cachiothe umount is done correctly21:20
cachioso21:21
cachioit is a bug or I am not umounting correctly21:21
cachionot sure which one21:21
ijohnsonhmm21:22
ijohnsonlet me look at the test again21:22
ijohnsoncachio: ah I see the problem21:23
ijohnsoncachio: the test does this:21:23
ijohnson      dd if=one of=/dev/sda2 seek=65 bs=1 count=1 conv=notrunc21:23
ijohnson /dev/sda2 is wrong there on arm devices, the actual partition that it should be using is ubuntu-seed, which on a pi using an SD card is probably /dev/mmcblk0p121:24
ijohnsoncachio: probably you should instead just do the easy thing and instead change that line to something like21:24
ijohnson      dd if=one of=/dev/disk/by-label/ubuntu-seed seek=65 bs=1 count=1 conv=notrunc21:24
ijohnsoncachio: same for the line below it too21:25
ijohnson      dd if=/dev/sda2 of=dirty skip=65 bs=1 count=1 conv=notrunc21:25
ijohnsonthat should become21:25
ijohnson      dd if=/dev/disk/by-label/ubuntu-seed of=dirty skip=65 bs=1 count=1 conv=notrunc21:25
cachionice, I'll try that21:26
cachioijohnson, thanks21:26
cachioijohnson, is this the same for all the arm devices right?21:29
cachiopi2 pi3 on uc16 and uc18?21:29
ijohnsoncachio: if you use the /dev/disk/by-label/ubuntu-seed, that location will be correct for all uc20 devices, amd64 or arm64 or armhf, etc.21:29
ijohnsoncachio: for uc16 and uc18 it would be a different label21:29
ijohnsoncachio: for uc16 and uc18 you would need to use something like this:21:29
ijohnsondd if=/dev/disk/by-label/system-boot ...21:30
ijohnsonbecause the vfat partition on uc16 / uc18 is with the label system-boot21:30
cachioijohnson, nice, thanks21:31

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