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

mupPR snapd#8592 opened: Add initial support for the hardware-control interface <Created by devec0> <https://github.com/snapcore/snapd/pull/8592>05:02
pstolowskimorning07:13
zygaHi07:25
BjornThi. i get this when trying to install a snap in a fresh ubuntu:20.04 lxd container: error: too early for operation, device not yet seeded or device model not acknowledged07:58
zygaHey BjornT07:59
zygaThis is a rather unfortunate part of our current implementation. After installing snapd there is a brief moment when snapd responds on the socket but is otherwise unable to do anything yet, as it is setting up some stuff08:00
zygaNormally it lasts a moment08:00
zygaDoes it still happen?08:00
BjornTzyga: yes, it doesn't seem to go away08:00
zygaCan you run “snap changes” please08:01
BjornTzyga: https://paste.ubuntu.com/p/XmmVZfjgNG/08:01
zygaI can you try doing what you wanted before again? It seems that initialization is now done08:02
BjornTzyga: ah, yes, now it works08:03
zygaCool08:04
klaasvakieHi, if I have a snap refresh timer set to our maintenance windows, is there a way to check if there is actually a new snap that's going to be installed during that time?08:13
zygaklaasvakie: I don't believe there is, we don't have "snap refresh --dry-mode"08:23
zygabut there's a chance you could guesstimate that by looking at snap info08:23
zygaand checking the revision numbers installed on your system08:23
zygaand the channel you are tracking08:23
zygaand checking if snap info reports a different revision in the channel that is being tracked08:23
zygaif so, "snap refresh" will pick that revision08:24
zygapstolowski: challenge for today, figure out what nukes some packages so that we don't have user-session services08:27
klaasvakieok, thanks zyga. I'll script something around this. It basically makes the difference whether I have to stay at work on Friday nights or if I get to go home :)08:27
zygathe tests/main/session-tool-support test picks it up08:27
zyganormally this test passes all the time but there's an interaction with another thet where /{,usr/}lib/systemd/user/dbus.socket goes away08:27
zygawe probably remove the package with --autoremove or something similar08:28
zygait's only occurring on deb-based systems so it may be using something hand-coded to apt-get remove stuff08:28
zygaklaasvakie: have you thought of using an enterprise proxy?08:28
zygait's a fantastic way to manage your fleet08:28
zygano need to worry about anything08:28
zygait lets you control the revisions your systems see08:28
zygahttps://docs.ubuntu.com/snap-store-proxy/en/08:29
zygait's super nice iMO08:29
klaasvakieI have read about it, but I only started playing with 20.04 and snapd recently so I still have lots to learn08:29
zygaklaasvakie: you install the proxy on your network and configure each device to use it08:30
zygaklaasvakie: and then the proxy acts both as a cache08:30
zygaand as a control point where you can pick which revisions are "current"08:30
zygalet's you manage upgrades this way08:30
klaasvakieI'll consider the enterprise proxy, thanks for pointing it out08:30
zygapstolowski: check this out please08:32
zygahttps://github.com/snapcore/snapd/pull/8592/checks?check_run_id=64179408108:32
mupPR #8592: Add initial support for the hardware-control interface <Created by devec0> <https://github.com/snapcore/snapd/pull/8592>08:32
zygapanic in overlord/ifacestate tests08:33
pstolowskizyga: oh, not good, will check08:34
pstolowskizyga: running ifacestate tests in a loop, no panic so far (will run hooktest too)09:06
zygais mvo off today?09:08
seb128zyga, yes, according to hr.c.c at least09:17
zygaah, thank you09:17
seb128np09:17
seb128he should be back tomorrow according to the calendar09:17
pstolowskizyga: i think they took a swap day for the sprint09:22
zygayeah09:22
zygawell deserved09:22
mupPR snapd#8593 opened: Stumb implementation of image.Prepare for darwin <Created by stolowski> <https://github.com/snapcore/snapd/pull/8593>10:22
pstolowskizyga: ^10:25
zygaoh :)10:25
pstolowskizyga: it's fine as is in master but fails on my other PR, so making it a prerequisite to reduce diff there10:26
zygaok10:26
pstolowskii've tweaked the description10:28
zyga+110:28
pstolowskity10:29
zygaso, what's the most broken thing on master today11:23
zygaactually the preseed test11:24
zygapstolowski: is the test fixed?11:24
zygapstolowski: IIRC you sent updates11:24
zygais it just unlucky, can it land now?11:25
pstolowskilet me check11:25
zygathank you11:25
pstolowskiah no, it landed. where is it failing?11:26
pstolowskizyga: ^11:26
zygaah, great11:26
zygaI just need to rebase then11:26
zygaolder branch from last week11:26
pstolowskiok11:26
pstolowskizyga: i see tests/main/interfaces-audio-playback-record failure11:33
zygayeah11:33
pstolowskiit's interesting11:33
pstolowski+ rm -rf /run/user/12345 /home/test/.config/pulse11:33
pstolowski147611:33
pstolowskirm: cannot remove '/run/user/12345/doc': Is a directory11:33
zygahttps://github.com/snapcore/snapd/pull/858111:33
zyga:|11:33
zygamaybe I could merge all the fix branches11:34
mupPR #8581: tests: port pulseaudio test to session-tool <Created by zyga> <https://github.com/snapcore/snapd/pull/8581>11:34
zygaand just merge them together11:34
pstolowskiah, that, right..11:39
zygaI guess11:44
zygawith some luck11:44
zygawe can land them11:44
zygajust reduce the failure ratio one by one11:45
zygapstolowski: https://github.com/snapcore/snapd/pull/8578 is rather simple if you want to look11:46
mupPR #8578: interfaces: add host-docs interface <Created by zyga> <https://github.com/snapcore/snapd/pull/8578>11:46
pstolowskizyga: right, i'll11:46
oSoMoNforum.snapcraft.io appears to be down12:10
slyonhey #snappy! What is the best way to build a snap, which uses "base:core20"? The "core20" release does not yet seem to be available inside multipass, which makes my build fail...12:12
zygaslyon: that's a great question, I don't actually know12:13
mupPR snapcraft#3096 closed: pluginhandler: export SNAPCRAFT_BUILD_BASE to build environment <Created by cjp256> <Closed by cjp256> <https://github.com/snapcore/snapcraft/pull/3096>12:13
zygaslyon: core20 beta will be released soon,12:13
zygaslyon: I suspect it will be generally available after that12:13
oSoMoNjdstrand, when you have a chance, can you comment on bug #1876442, please?12:16
mupBug #1876442: [snap] chromium causing many audit messages in syslog <snap> <chromium-browser (Ubuntu):New> <https://launchpad.net/bugs/1876442>12:16
slyonzyga, hmm... thanks for the reply, anyway!12:17
cjp256slyon: you should be able to use core20 if using snapcraft from candidate/edge channels.  there are rough edges still, so it's not yet in the stable channel.12:17
zygajamesh: hey12:21
zygajamesh: it's kind of late, are you around by any chance?12:22
ijohnsonmorning folks12:36
zygahey Ian12:36
zygaroses are red12:36
zygaand so is master12:36
zygathere is no rhyme12:36
zygait's a disaster12:36
ijohnsonjust like there is no green12:36
zyga# just made up on the spot12:36
zyga:D12:36
ijohnsonis it just you and pstolowski today?12:37
zygaso far12:37
pstolowskihi ijohnson !12:37
ijohnsono/ pstolowski12:37
ijohnsonI think Claudio said it was a public holiday there, not sure about Sergio12:37
pstolowskiijohnson: one tiny nitpick to our lxd test PR, i'm happy to approve12:37
ijohnsonsure, let me look now12:37
zygapstolowski: thanks for spotting that, I missed it!12:38
zygamy back hurts, I would like to exercise a little12:38
zygamaybe after standup12:38
ijohnsonzyga: so what's all red, is it many things?12:40
ijohnsonzyga: is it anything related to the session-tool stuff we landed last week?12:40
zygaijohnson: random stuff we fixed last week that we couldn't land because $(other_thing)12:40
ijohnsonah12:40
zygaijohnson: nothing new AFAIK12:40
zygaijohnson: I think we can push it all in with some luck in sequencing12:40
zygaijohnson: I'd love to land the pulse test first as it fails most often12:40
zygaijohnson: there _is_ something new, something picked up by one of the new tests (session-tool-support)12:41
zygaijohnson: something removes a debian package in during execution12:41
zygaand that breaks all session tests as systemd --user has no service definitions for dbus anymore12:41
ijohnsonah right I remember you talking with Maciej about this a bit last week12:41
zygathat's the dbus-user-session package12:41
zygaI'm trying to find it but no luck yet (though I was distracted with general catch-up and the shutdown bug from Alex)12:41
zygaijohnson: if all else fails let's "apt-get install" it in per-test prepare12:42
zyga or flag its absence in restore12:42
ijohnsonzyga: re the shutdown bug, did you see my notes on that in the SU doc?12:42
zygaI'll try to get to that later today but if you beat me to it I'd love to12:42
zygaoh, no12:42
zygalet me look12:42
zygareading12:42
zygaMy gut feeling was12:43
zygait's the same bug we fixed recently in the context of lxd-in-classic12:43
zygait's a core system so perhaps this is a false trail12:43
zygabut perhaps it's a "snap stop ..." command that runs in ExecStop=12:44
zygaand the sequence is that core18 unmounted snapd12:44
zygabut we have core12:44
zygaand now there's a skew12:44
zygaI wonder what happens on a core system12:44
zygawhere get core18 + snapd12:44
ijohnsonzyga: let's discuss the bug in the internal channel12:44
zygaand core12:44
zygaok12:44
ijohnsonzyga: SU?13:01
zygajoining13:01
cachiopstolowski, https://travis-ci.org/github/snapcore/spread-cron/builds/682751904#L379913:42
cachioerror in the preseed test13:42
cachiocmatsuoka, https://travis-ci.org/github/snapcore/spread-cron/builds/682751904#L403113:43
cachioerror in encript test13:43
pstolowskicachio: thanks, i'll investigate13:45
cachiopstolowski, thanks13:45
zygapstolowski: so journal test failed again13:45
zygamakes me wonder about something you said recently13:46
zygathat restarting journal restarts snapd13:46
zygado I remember that correctly?13:46
pstolowskizyga: yes13:46
zygapstolowski: on core or on classic as well?13:46
pstolowskizyga: but now i'm sending sigusr1. i added some debug to the test13:46
pstolowskizyga: it's core-only config, i didn't check classic13:47
zygaI tried various things on my system and journal restarts fine13:47
zygaand snapd does *not* restart13:47
zygaI wonder why it would behave differently on core13:47
pstolowskizyga: i think it was only on core 1613:47
pstolowskizyga: do you have a log from this failure?13:48
zygapstolowski: yeah,13:48
zygaI just restarted journal on core16 - no snapd impact13:49
pstolowskihmm13:49
* ijohnson -> quick break13:50
zygapstolowski: the failure was on13:50
zygahttps://github.com/snapcore/snapd/runs/64267095013:50
zygaI need a break to stretch my back13:50
zygabut I will look next13:50
zygadon't worry :)13:50
pstolowskizyga: my debug there shows: Process: 21744 ExecStart=/usr/lib/snapd/snapd (code=killed, signal=PIPE)13:58
zygaoh :)13:58
zygahahah13:58
zygafunny13:58
zygasigpipe is ignored in systemd in the future13:59
zygaI bet we just need a small tweak13:59
zygalet me check this, this is great hint!13:59
pstolowskizyga: but why is this?13:59
zygapstolowski: I will explain in a sec, just need to check it13:59
zygapstolowski: stdout/stderr are piped to journald14:00
zygapstolowski: https://github.com/cybozu-go/well/issues/1314:00
pstolowskizyga: aaaah14:00
pstolowskizyga: that's annoying, becuase we tell journald to just reload config :/14:01
pstolowskinot to restart14:01
zygasoftware14:01
pstolowskisigusr114:01
zygamust be broken somehow :)14:02
zygait may just to that, it's still closing the pipe apparently14:02
zygaI wonder though14:02
zygaif that leaves us without any logging14:02
zygabecause if we ignore it14:02
zyga...14:02
zygado we log anywhere?!14:02
zygahttps://bugs.freedesktop.org/show_bug.cgi?id=8492314:03
pstolowskiheh, indeed14:03
zygaoh my god14:03
zygathis is so bad14:03
zygaI mean14:03
zygait's just literally killing snapd at _arbitrary_ point due to snap set14:03
zygawell14:03
zygafirst thing is first14:03
zygalet's fix the test not to break14:03
zygathen let's figure out what needs to be done14:03
pstolowskiit's worse, it's killing it while in configure hook14:04
pstolowskithe test cannot be fixed really afaiu, snapd simply gets killed as snap set is being executed14:05
zygapstolowski: https://bugs.freedesktop.org/show_bug.cgi?id=84923#c914:06
zygathis is the killer14:06
zygapstolowski: essentially on core16 we cannot have this feature14:06
zygapstolowski: OR14:06
zygapstolowski: we need to architect it so that snapd saves state and organizes a controlled "semi shutdown", anticipating SIGPIPE14:06
zygapstolowski: we should escalate this14:07
pstolowskiyes14:09
pstolowskii can prepare a PR that disables the feature & test for now (but not reverts it, just disables)14:10
pstolowskiand then we can think14:10
pstolowskiah, we can disabled it just on core1614:14
pstolowski*disable14:14
pstolowskizyga: thanks for finding these bug reports!14:15
zygapstolowski: https://github.com/snapcore/snapd/pull/859414:17
mupPR #8594: tests: work around journald bug in core16 <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8594>14:17
zygapstolowski: I think we should consider disabling this *feature* on core1614:17
zygaor consider a backport of journald fix - if feasable - from foundations14:17
mupPR snapd#8594 opened: tests: work around journald bug in core16 <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8594>14:18
pstolowskizyga: giving that core16 will eventually *cough* go away...14:21
zygapstolowski: in 2016 ;)14:21
pstolowskizyga: thank you for the PR, looks great, i wonder if we shouldn't make retry conditional on core16 though, so we don't hide potential issue on other cores14:22
zygayeah, I thought about that for a sec14:22
zygait's testing now, if it passes I'll send a tweak14:22
pstolowskisounds good14:22
zygapstolowski: ohh14:25
zygahttps://www.theverge.com/2020/5/4/21245940/macbook-pro-13-inch-apple-new-magic-keyboard-price-release-date14:25
zygaijohnson, pstolowski, cmatsuoka: please review https://github.com/snapcore/snapd/pull/8594 - mvo can merge this later today if it's +214:30
mupPR #8594: tests: work around journald bug in core16 <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8594>14:30
ijohnsonzyga: looking14:31
cmatsuokazyga: ack, checking it14:31
zygato clarify, retry-tool there just gives us more chances14:31
zygasnapd still restarts14:31
zygabut snap the client, may get a chance to talk to it after reconnection more often14:31
zygaand may eventually work14:31
zygathat's all14:31
zygathis test fails in master randomly but often enough to be annoying14:32
pstolowskiyeah, my only remark is to make retry conditional on core1614:32
ijohnsonzyga: reading backlog, IMHO I think this needs to be escalated to foundations for a core16 backport14:39
ijohnsonzyga: this feature was originally slated for a uc16 customer IIRC14:39
ijohnsonso we can't just not have this feature on uc16 I think14:39
ijohnsonalso I agree with pstolowski I think we should only do this on uc1614:41
zygaI agree on both14:45
zygaAfk because back pain14:46
mupPR snapcraft#3104 opened: packaging: use git-based versioning for python package <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3104>14:59
* cachio lunch15:03
zygaI made the modifications and will push after round of local testing15:07
zygapushed now15:29
zygapstolowski, ijohnson: the relevant systemd commit is 13790add4bf648fed816361794d8277a7525341015:31
zygaI will look if we can have a backport15:31
ijohnsonthanks for digging into that zyga, a LP bug is probably a good place to co-ordinate with foundations?15:32
zygayeah, I will file one today15:32
ijohnsoncool15:32
pstolowskizyga: \o/15:32
zygaugggh15:36
zygaijohnson: it's hopeless15:36
zygawe are on 21915:36
zygawe need at least 23615:36
ijohnsondamn15:36
zygathe infrastructure to support it is substantial15:36
zygajournald passes a bunch of FDs to save to systemd15:37
zygarestartes15:37
zyga*restarts15:37
zygaand gets them back15:37
zygathere's no other way15:37
zygaso I guess ... SOL15:37
zygaI need to rest again, my back is killing me today :/15:37
zygaif I forget, please escalate this tomorrow to mvo15:37
ijohnsonof course15:37
ijohnsonI will put some thoughts into the SU doc so we don't forget15:38
zygathank you!15:38
ijohnsonpstolowski: so when we go to change the persistence of journald, can we change a config file and then just reboot the whole system ?15:46
ijohnsonit wouldn't be  great that we have to restart the system just to change logging but it's certainly better than having things all randomly die15:46
* ijohnson goes to read the implementation in snapd15:47
pstolowskiijohnson: reboot is not needed, it's a problem only with core1615:47
ijohnsonpstolowski: no I mean for core16 could we reboot?15:48
pstolowskiijohnson: ah, i see. well, yes we could i suppose15:48
ijohnsonpstolowski: because afaict the issue is that when we reload journald it kills everything which is bad, so maybe instead of reloading journald we just change some config file behind journald's back and then reboot the system so upon boot it would be fixed15:48
ijohnsonI presume that journald is not inotify'ing the config files, etc.15:49
pstolowskiijohnson: heh, there is no config file15:49
ijohnsonpstolowski: so there's just the dir that's created in /var/log/journal?15:49
pstolowskiijohnson: you just create /var/log/journal15:49
pstolowskiijohnson: and reboot15:49
ijohnsonpstolowski: hmm maybe worth a try15:50
pstolowskiijohnson: normally you send sigusr1 to notify journald about change15:50
ijohnsonright, so on uc16, instead of sending sigusr1, we would just request a restart15:51
pstolowskiijohnson: yes15:52
ijohnsonpstolowski: would we need some kind of special code to make the change/tasks associated with this work, or could I just try putting in handleJournalConfiguration a call to restart snapd ?15:52
ijohnsonhmm although that's probably not the level we want to restart things15:53
ijohnsonerr I mean reboot the system15:53
pstolowskiijohnson: that's a fair point15:54
ijohnsonalright well I'll just leave this idea in the SU docs for folks to think about, I have a bit too much on my plate to dig more deeply on this15:55
ijohnsonpstolowski: did you see I assigned you a bug on Friday related to hotplug and auto-connect?16:08
ijohnsonhttps://bugs.launchpad.net/snapd/+bug/187635616:08
mupBug #1876356: greedy auto-connect doesn't work with hotplug <snapd:Confirmed for stolowski> <https://launchpad.net/bugs/1876356>16:08
ijohnsonjust curious if you have any thoughts on why that doesn't "just work"16:08
pstolowskiijohnson: ah, no, i didn't16:08
ijohnsonno worries, I think it's a lowish priority thing16:08
pstolowskiijohnson: thanks for all the details in the report, i'll see if there is anything obvious16:10
pstolowskimissing16:10
mupBug #1876478 changed: Automatic snap refreshes changes state of service from stopped to running <Snappy:Invalid> <https://launchpad.net/bugs/1876478>16:20
mupPR snapcraft#3105 opened: build provider: clean incompatible build-environments <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3105>16:41
zygait seems the portal test is leaking stuff17:11
zyga| |-/run/user/12345                   tmpfs                                                                                    tmpfs      rw,nosuid,nodev,relatime,size=377196k,mode=700,uid=12345,gid=12345                                   shared17:11
zyga| | `-/run/user/12345/doc             /dev/fuse                                                                                fuse       rw,nosuid,nodev,relatime,user_id=12345,group_id=12345                                                shared17:11
zygaoh well17:11
zygaanother test to fix17:11
ijohnsonzyga: could we just do `[ -d $XDG_RUNTIME_DIR/doc ] && umount $XDG_RUNTIME_DIR/doc` ?17:14
ijohnsonat the end of teardown_portals ?17:14
zygaijohnson: perhaps but I doubt that is the problem17:16
zygathe problem is more comple17:16
zyga*complex17:16
zygawe *activate* portals each time we invoke a program that seems to have a desktop plug (at all)17:16
zygaso any test using snap run may trigger it17:16
ijohnsonHmm really?17:16
zygayeah17:16
zygaI suspect we run a program via su -u test17:17
zygaand that runs the portal outside of the session17:17
zygaso just happily in the space17:17
zygaI'll add a small check and run all the tests17:17
zygawhat we really need is proper session teradown17:17
zygawe may need to change session-tool --restore to wait for linger shutdown as well, I need t ocheck17:18
zygabut first, need to find that test that leaks this17:18
zygasaving the log archive17:18
zygawe ran this before: 2020-05-04T16:33:35.0630508Z 2020-05-04 16:33:35 Preparing google:ubuntu-19.10-64:tests/main/interfaces-desktop-document-portal (may041608-600544)...17:21
zygahttps://www.irccloud.com/pastebin/y3YiWMAY/17:24
zygait's one of those tests for sure :)17:24
zygaijohnson: oh my17:25
zygathat test *badly* need session-tool17:25
zygawhy is that test using snap-try?17:27
zygaijohnson: session-tool beats su not because of any technical choices but simply becaues it puts the damn username before the damn command17:28
ijohnsonHahaha17:28
ijohnsonYeah I will look into this some more after lunch if you haven't figured it out17:29
* ijohnson -> lunch 17:29
zygadone17:32
zygaijohnson: I'll send a PR shortly17:32
zygaijohnson: I wonder if I should grep for "su" in the code17:36
ijohnsonyou might be afraid of what you find17:36
mupPR snapd#8595 opened: o/ifacestate/handlers.go: fix typo <Simple 😃> <Skip spread> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8595>17:37
mupPR snapd#8589 closed: tests: port user-session-env to session-tool <Test Robustness> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8589>17:39
mupPR snapd#8594 closed: tests: work around journald bug in core16 <Test Robustness> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8594>17:39
zygawooooot17:39
mupPR snapd#8581 closed: tests: port pulseaudio test to session-tool <Test Robustness> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8581>17:40
mupPR snapd#8587 closed: tests: session-tool allows preparing/restoring for many users <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8587>17:40
ijohnsonyay mvo for the win17:47
zygainteresting stuff I find17:55
zygaI wonder if 19.10 specific17:55
zygamaybe some fluke of bugs interacting17:55
zygaso on 19.10 session-tool -u test --prepare17:56
zygaseems to ... not make a session17:56
ijohnsonthat's the only reason snaps work at all sometimes is that bugs interact and cancel each other out17:56
zyga??!17:56
zygahahaha17:56
ijohnsonso session-tool has become the-tool17:56
zygaisn't that like half of current physics theories ;)17:56
ijohnsonon 19.10 at least17:56
zygaall the infinities cancel each outher ;)17:56
ijohnsonyep!17:56
zygaijohnson: totally off-topic, over weekend I got an i2c DS 1307 RTC add-on to my raspberry pi18:01
zygamaybe next weekend I'll have a snap that manages time18:01
ijohnsonvery nice18:01
zygathough not perfectly (late boot)18:01
zygaI wonder if there would be a way to run some super-special things earlier via snapd18:01
ijohnsonI have an RTC board too ... somewhere in my collection of random add-on things18:01
zyga(with appropriate interfaces)18:01
zygacool18:01
ijohnsontrue, it would be most useful to have a RTC available during early boot18:02
zygaI wonder if it uses the same chip, I heard DS 1307 is popular18:02
zygaijohnson: sadly it's not a /dev/rtc kind of thing18:02
zygamaybe it could be if device tree said something18:02
ijohnsonyeah most rpi things seem to not be quite as simple plug and play like that18:02
zygabut I don't know how to do that18:02
ijohnsonyeah I haven't looked into that at all either18:02
zygahttps://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt <- it seems to be supported18:03
ijohnsonnice so I bet with your own pi gadget it would probably just work18:06
zygaI don't know how to use DBTs though :)18:07
zygamore to learn18:07
zygadigging deeper18:36
zygabut I will EOD soon18:36
zygareally not well today18:37
zygaand it's late18:37
mupPR snapd#8595 closed: o/ifacestate/handlers.go: fix typo <Simple 😃> <Skip spread> <Created by anonymouse64> <Merged by zyga> <https://github.com/snapcore/snapd/pull/8595>18:38
zygadrat18:48
zygamy daughter turned off my laptop18:48
zygaI see a pattern now, I wonder what's the cause19:21
zygabut I also have a solution19:21
zygajust cannot justify it apart from "it seems to work"19:22
zygaI guess some systemd sources are to be read19:22
mupPR snapcraft#3106 opened: sources: enable git, local, and tar handlers for all platforms <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3106>19:38
mupBug #1875543 changed: Ubuntu 20.04 "A stop job is running for Snappy Daemon" during shutdown <20.04> <ubuntu> <Snappy:New> <https://launchpad.net/bugs/1875543>19:39
mupBug #1876478 opened: snap stop does not explain that automatic snap refreshes starts stopped, enabled svcs <Snappy:Confirmed for morrisong> <https://launchpad.net/bugs/1876478>19:42
zygaijohnson: around? :)19:46
ijohnsonyep19:46
zygaijohnson: so here's what I learned: on 19.10 loginctl disable-linger leaves user@12345.service in user-12345.slice19:47
zygawhy? I don't know yet19:47
zygastopping the slice reliably stops everything and /run/user/12345 goes away19:47
zygaon 20.04 I don't see it19:48
ijohnsonhuh19:48
zygaI wonder if there's an interplay with some workarounds19:48
ijohnsonthat feels like a bug to me19:48
zygaso I patched session-tool to add the stops and the extra check for /run/user/12345 (for the test user obviously)19:48
ijohnsonin systemd that is19:48
ijohnsonwait but shouldn't the systemd version be basically the same between 19.10 and 20.04 ?19:48
zygaand I'm running a pass to see how it affects the "fleet" of systems running user-mounts test19:49
zygaijohnson: 242 vs 24519:49
zygaijohnson: we have a logind workaround for 242 (fixed in ... wait for it ... 243!)19:49
zygaijohnson: so maybe more bugs bugs bugs19:49
zygaijohnson: I've yet to look at logind source but that's my next plan19:49
zygaI kind of want core 20 now19:50
zygaat least so many systemd bugs are gone there19:50
ijohnsonhaha19:50
zygaijohnson: with the change user-mounts with trivial restore (session-tool -u test --restore) leaves no junk behind19:51
zygaand I bet this improves interplay with other tests19:51
zygabut why? :D19:51
zygabeats me19:51
ijohnsonbugs that's why19:51
zygait's super late and my wife looks at me with that very clear "STOP WORKING" eyesight19:52
zygaso I'll defer that19:52
ijohnsonttyl zyga :-)19:52
zygabut I'll send the patch for user-mounts in today still19:52
zyganow suppe r:)19:52
zygaijohnson: session-tool patch https://github.com/snapcore/snapd/pull/859620:44
mupPR #8596: tests: session-tool --restore -u stops user-$UID.slice <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8596>20:44
mupPR snapd#8596 opened: tests: session-tool --restore -u stops user-$UID.slice <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8596>20:44
ijohnsonNice20:44
zygait's not perfect because "Unknown reasons" but it's progress20:45
zygaI also suspect this could have some impact on other tests, as they were effectively leaking more bits20:46
zygaplus this is a PR for master after mvo landed all the good fixes20:47
zygaso with a bit of hope it won't fail20:47
zygaijohnson: and this is the user-mounts test20:52
zygahttps://github.com/snapcore/snapd/pull/859720:52
mupPR #8597: tests: port user-mounts test to session-tool <Created by zyga> <https://github.com/snapcore/snapd/pull/8597>20:52
zygaand some typo fixes20:52
mupPR snapd#8597 opened: tests: port user-mounts test to session-tool <Created by zyga> <https://github.com/snapcore/snapd/pull/8597>20:53
zygaI'll break for an hour and walk the dog20:53
ijohnsonzyga approved the session-tool one and commented on the other one21:05
* ijohnson EODs21:05
mupPR snapcraft#3106 closed: sources: enable git, local, and tar handlers for all platforms <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3106>22:20
=== diddledan7 is now known as diddledan

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