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

=== jamesh_ is now known as jamesh
mborzeckimorning07:00
mupPR snapd#10074 opened: daemon: fix signing key validity timestamp in unit tests <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10074>07:57
mborzeckimvo: hey08:02
mvogood morning mborzecki08:02
mborzeckimvo: i think that https://github.com/snapcore/snapd/pull/10074 should fix the model timestamp issue taht we occasionally see in the tests08:03
mupPR #10074: daemon: fix signing key validity timestamp in unit tests <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10074>08:03
mvomborzecki: niiiiiiiice!08:04
mvomborzecki: haha, nice catch08:05
mborzeckiafaiu the model gets signed by the key with some timestamp, but we generate user assertions and as a dependency set up the account key only in the next call08:06
mvoyeah, it akes sense08:09
mborzeckiif we used RFC3339Nano for the timestamps it would come up sooner ;)08:11
pstolowskimorning08:14
mvogood morning pstolowski08:25
mvomborzecki: haha, indeed08:25
mborzeckipstolowski: hey08:26
mborzeckimvo: i've restarted spread test job in https://github.com/snapcore/snapd/pull/10071 should we pull in the change that added 21.04 to spread.yaml too? (maybe in a separate pr?)08:28
mupPR #10071:  packaging: drop dh-systemd from build-depends on ubuntu-16.04+ (2.49) <âš  Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10071>08:28
mvomborzecki: a good question, probably08:30
mvomborzecki: yeah, makes sense, gives us more confidence for the unit tests this way08:30
mupPR snapd#10074 closed: daemon: fix signing key validity timestamp in unit tests <Simple 😃> <Skip spread> <Created by bboozzoo> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/10074>08:33
pedronisis prepare failing with: 2021-03-24T07:31:03.3664323Z rm: cannot remove '/var/lib/snapd': Directory not empty08:43
pedronis2021-03-24T07:31:03.3665576Z dpkg: error processing package snapd (--purge):08:43
pedronis2021-03-24T07:31:03.3666687Z  installed snapd package post-removal script subprocess returned error exit status 108:43
pedronis2021-03-24T07:31:03.3667583Z Errors were encountered while processing:08:43
pedronissomething new?08:43
pedronisI got it here: https://github.com/snapcore/snapd/pull/10040/checks?check_run_id=218213878908:43
mupPR #10040: daemon: switch api_test.go to daemon_test and various other cleanups <Cleanup :broom:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/10040>08:43
mborzeckipstolowski: can you take a look https://github.com/snapcore/snapd/pull/10059 ?08:44
mupPR #10059: cmd/snap: use less aggressive client timeouts in unit tests <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10059>08:44
pstolowskimborzecki: looking08:44
mborzeckithanks!08:45
mvothank you guys, you rock08:50
pedronismborzecki: hi, #10067 looks good, there are mostly question whether we are missing some tests perhaps, #10054 we still need to think what to do with the check08:51
mupBug #10067: jigit: new changes from Debian require merging <jigit (Ubuntu):Fix Released by pitti> <https://launchpad.net/bugs/10067>08:51
mupPR #10067: overlord/snapstate: make sure that snapd current symlink is not removed during refresh <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10067>08:51
mupBug #10054: gnome-gpg: new changes from Debian require merging <Ubuntu:Fix Released by cjwatson> <https://launchpad.net/bugs/10054>08:51
mupPR #10054: snapdtool, wrappers: add dependency on usr-lib-snapd.mount for services on core with snapd snap <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10054>08:51
pedronis#10068 needs 2nd reviews08:52
mupBug #10068: kbd-chooser: new changes from Debian require merging <kbd-chooser (Ubuntu):Fix Released by cjwatson> <https://launchpad.net/bugs/10068>08:52
mupPR #10068: o/configstate: don't pass --root=/ when masking/unmasking/enabling/disabling services <Run nested> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10068>08:52
mupPR snapd#10059 closed: cmd/snap: use less aggressive client timeouts in unit tests <Simple 😃> <Skip spread> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/10059>08:53
mborzeckipedronis: i'm taking a look at the questions in 10067, and i think we should land it before 1005408:54
pedronisok08:54
pedronis#10070 also needs a 2nd review, it's trivial08:55
mupBug #10070: kdegraphics: new changes from Debian require merging <Ubuntu:Fix Released by cjwatson> <https://launchpad.net/bugs/10070>08:55
mupPR #10070: tests/core/fsck-on-boot: unmount /run/mnt/snapd directly on uc20 <Simple 😃> <Test Robustness> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10070>08:55
mvolooking08:56
mupPR snapd#10037 closed: boot: export helper for clearing tried system state, add tests <Simple 😃> <Created by bboozzoo> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/10037>08:58
pedronismborzecki: ^ I merged that08:58
mborzeckipedronis: thanks!08:58
pedronismvo: #10035 is kind of ready to land, otoh maybe it should have run with nested ?08:59
mupPR #10035: o/devicestate: split off ensuring next boot goes to run mode into new task <Simple 😃> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10035>08:59
mupBug #10035: camlimages: new changes from Debian require merging <Ubuntu:Fix Released by cjwatson> <https://launchpad.net/bugs/10035>08:59
mvopedronis: let me look. what is your opinion on 10068 for 2.49? it seems safe enough but it also changes how we disable rsyslog09:02
mvopedronis: we could also pull it into 2.50 that would be okay still timeline wise (but 2.49 would be nicer from this POV)09:02
pedronismvo: we have spread tests for that I think, it doesn't seem very risky too me, but maybe pstolowski has input on this09:03
mvopedronis: I will run 10035 here nested locally09:03
mvopedronis: yeah, my feeling too09:03
* pedronis quick errands09:04
pstolowskimvo: yes i think 10068 should be fine for 2.4909:11
pstolowskiassuming spread nested is happy09:11
mupPR snapd#10069 closed: tests: fix cgroup-tracking test <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10069>09:13
mvopstolowski: thanks! can I squash merge 10048 ? or would you rather have the two commits? (would make backports easier)09:15
pstolowskimvo: it's fine to squash09:16
pstolowskimvo: nb i might have a fix for https://bugs.launchpad.net/snapd/+bug/1920773 today09:28
mupBug #1920773: Snapd crashes and fails to start when snap config dict and dict elememnts unset at the same time <snapd:Confirmed for stolowski> <https://launchpad.net/bugs/1920773>09:28
jameshalan_g: I think https://github.com/MirServer/snapd/pull/6 should resolve the remaining issues with the desktop-launch PR. There were a lot of unclosed review threads.09:28
mupPR MirServer/snapd#6: More fixes based on review feedback <Created by jhenstridge> <https://github.com/MirServer/snapd/pull/6>09:28
mvopstolowski: \o/ thank you09:30
alan_gjamesh, thanks. Will take a look this PM (my time)09:36
jameshalan_g: thanks.  No merges from master to confuse things this time09:36
mborzeckipedronis: i've updated #1006709:50
mupBug #10067: jigit: new changes from Debian require merging <jigit (Ubuntu):Fix Released by pitti> <https://launchpad.net/bugs/10067>09:50
mupPR #10067: overlord/snapstate: make sure that snapd current symlink is not removed during refresh <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10067>09:50
pedronispstolowski: I reviewed 100062 with a suggestion10:13
pstolowskipedronis: thanks! i didn't know that10:14
pstolowskioh well, i've a tentative fix for panic on nil map when unsetting the config, but when adding new tests i found another funny scenario where unsets followed by sets over same path don't give correct result at the end :(10:25
pedronispstolowski: sounds we have deeper problems?10:27
pedronisor we broke something recently?10:27
pstolowskipedronis: don't think we broke, must be something that dates back to introduction of unset/nils10:28
pedronis:/10:29
pstolowskireally an edge case i think, e.g. doc.x.a=1; commit; doc.x=nil doc.x.a=nil doc.x.a=1 -> doesn't set doc.x.a back, config remains nil (that's with my tentative fix as otherwise it would panic in the middle)10:32
pstolowskialso, this works fine if commited in between, so only an issue when unsetting and then setting over same path in same transaction10:32
pstolowskiand it's hard to comprehend what's going wrong :/10:33
pedronispstolowski: sounds like Transaction.changes is not quite the right representation or we are holding it wrong10:35
pstolowskipedronis: or PatchConfig logic gets something wrong10:35
pedronisyea, but at some if the code is hard to get right maybe the data structure is wrong10:37
pedronis*some point10:37
pstolowskipedronis: should we unhide snap validate command now?10:50
mborzeckiis the forum down?10:53
pedronisnot here, a bit slow10:57
pstolowskimborzecki: do you have a moment  to take a look at https://github.com/snapcore/snapd/pull/10062 ?11:00
mupPR #10062: tests: validation sets spread test <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10062>11:00
mborzeckipstolowski: sure11:00
pedronispstolowski: for 2.50? yes, enforce is hidden right?11:03
mborzeckipedronis: been thinking about https://github.com/snapcore/snapd/pull/10054#pullrequestreview-616530057 a bit, and what zyga proposed is probably the only way that works correctly with run-from-snapd-snap11:03
mupPR #10054: snapdtool, wrappers: add dependency on usr-lib-snapd.mount for services on core with snapd snap <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10054>11:03
pedronismborzecki: I fear that but it feels a bit strange11:04
mborzeckipedronis: it would probably involve stat() grab major:minor of the device, inpect /sys/dev/block/<maj:min>/loop/backing_file, not too hard but not simple either11:06
pedronismborzecki: we need this only for core18/20 right, though? not classic?11:07
pstolowskipedronis: yes, for 2.50. enforce is hidden but also entire command is hidden11:08
mborzeckiyes, it's for 10054 which is relevant to core only11:08
pedronisI mean the helper where is is now would need to be general, but our use case is core only11:08
pedronismborzecki: we can get the info from the model on core11:08
pedroniswe just need to pass it down somethow11:09
mborzeckipedronis: ah, so you mean rather than inspecting where snapd comes from, check whether the curernt model indicates core (or otherwise the need to usr-lib-snapd.mount)?11:10
mborzeckihm the services are written when linking the snap, so we could probably pass something down in LinkContext11:12
pedronismborzecki: another approach would be to check if usr-lib-snapd.mount exists11:25
pedronisperhaps?11:25
mborzeckilet me get you the diff, it's actually quite clean11:25
mborzeckipedronis: https://paste.centos.org/view/0c605d86 it's missing tests in snapstate11:28
mborzeckioh, and pastebinit does not work anymore (?), i'm getting `Failed to contact the server: HTTP Error 405: Method Not Allowed`11:28
pedronismborzecki: yes, it looks reasonable11:43
pedronismborzecki: we can discuss final naming in the PR11:45
mborzeckiyup11:45
mborzeckipedronis: i've updated https://github.com/snapcore/snapd/pull/1005412:13
mupPR #10054: overlord/snapstate, wrappers: add dependency on usr-lib-snapd.mount for services on core with snapd snap <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10054>12:13
mvopedronis: I updated 9981 as discussed12:14
mvopedronis: I could also chop it into smaller chunks (or try to), it grew over time :/12:14
pedronismvo: I'll look in a bit12:16
pedronismborzecki: thanks, I'll look in a bit12:16
mborzeckiback to that review i promised to pstolowski12:17
mvopedronis: thanks!12:18
pedronismvo: I reviewed it,  I think it needs re-reviews from the others too13:10
ijohnsonmorning13:53
mvopedronis: great, thanks13:58
jdstrandmvo: hi! I updated snappy-debug today for 2.49.1, but it is failing to upload: https://launchpad.net/~jdstrand/+snap/snappy-debug/+build/1347999 ('Cannot upload new revisions for name=snappy-debug'). I reauthorized store uploads, but it didn't work. I don't have any visibility into this. can you (or someone else) help/advise?15:40
jdstrandmvo: also https://launchpad.net/~jdstrand/+snap/snappy-debug/+build/1348000 (this is amd64, the other is i386, the others haven't built yet)15:42
zygahey jdstrand :)15:43
zygait's so nice to see You here15:43
jdstrandhey zyga :)15:43
jdstrandnice to see you too :)15:43
zygahow do you find time to work on Snappy bits? I'm swamped with work myself?15:43
jdstrandzyga: I don't really. I am attending a virtual conference today and it didn't start til 10am local so I did something bite size :)15:44
zygalinaro connect by any chance?15:45
zygano, that would be much earlier15:45
jdstrandno, it is a secure coding thing15:45
zygaoh, neat15:45
jdstrandI may find have some work time for some interface work to support some snaps at some point though15:46
jdstrands/find/find I/15:46
zygaI want to get back into _some_ snapd work that's actually aligned with my new day job15:46
* jdstrand nods15:47
pedronismborzecki: I reviewed #9940, thanks16:13
mupPR #9940:  boot: cmd/snap-bootstrap: handle a candidate recovery system v2 <Run nested> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9940>16:13
mvopedronis: fwiw, 9981 is updated again16:15
pedronismvo: re-reviewed16:18
mvopedronis: \o/ thank you16:18
mvomaybe ijohnson or mborzecki can do a second review of 9981 of the last few commits, great that it's finally ready :)16:21
mupPR snapcraft#3487 opened: cli: warn about migration if using core <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3487>16:29
ijohnsonmvo: sure I will add it to my queue16:47
mvota16:47
=== ijohnson is now known as ijohnson|lunch
mupPR snapcraft#3488 opened: cli, repo: add support for UA tokens <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3488>18:24
=== ijohnson|lunch is now known as ijohnson
mupPR snapd#10075 opened: udisks2 2.8.4 needs to also lock /run/mount/utab <Needs Samuele review> <Created by knitzsche> <https://github.com/snapcore/snapd/pull/10075>20:40

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