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

mupPR snapcraft#3115 closed: build providers: ignore missing LXD instance when cleaning project <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3115>00:50
mpontillo(I ended up just purging `snapd` and reinstalling it as suggested here - https://forum.snapcraft.io/t/download-snap-core-invalid-credentials/15253/17 - that worked.)01:00
mupPR snapd#8645 closed: secboot: append uuid to ubuntu-data when decrypting <UC20> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/8645>01:19
mupPR snapcraft#3116 opened: cli: fix following hints in channel status <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3116>02:29
mupBug #1878131 opened: snapd caused problems in WSL <Snappy:New> <https://launchpad.net/bugs/1878131>03:52
mupPR # closed: snapd#6258, snapd#7129, snapd#7168, snapd#7205, snapd#7414, snapd#7417, snapd#7436, snapd#7570, snapd#7586, snapd#7590, snapd#7603, snapd#7614, snapd#7700, snapd#7728, snapd#7825, snapd#7869, snapd#7900, snapd#7927, snapd#7982, snapd#8079, snapd#8123, snapd#8143, snapd#8247,05:11
mupsnapd#8271, snapd#8301, snapd#8317, snapd#8340, snapd#8351, snapd#8352, snapd#8366, snapd#8395, snapd#8398, snapd#8400, snapd#8455, snapd#8499, snapd#8508, snapd#8519, snapd#8520, snapd#8521, snapd#8532, snapd#8533, snapd#8551, snapd#8558, snapd#8564, snapd#8566, snapd#8567, snapd#8568, snapd#8569,05:11
mupsnapd#8570, snapd#8573, snapd#8576, snapd#8578, snapd#8591, snapd#8592, snapd#8604, snapd#8608, snapd#8609, snapd#8612, snapd#8620, snapd#8631, snapd#8632, snapd#8633, snapd#8635, snapd#8639, snapd#8640, snapd#8643, snapd#864405:11
mborzeckimorning05:11
mupPR # opened: snapd#6258, snapd#7129, snapd#7168, snapd#7205, snapd#7414, snapd#7417, snapd#7436, snapd#7570, snapd#7586, snapd#7590, snapd#7603, snapd#7614, snapd#7700, snapd#7728, snapd#7825, snapd#7869, snapd#7900, snapd#7927, snapd#7982, snapd#8079, snapd#8123, snapd#8143, snapd#8247,05:12
mupsnapd#8271, snapd#8301, snapd#8317, snapd#8340, snapd#8351, snapd#8352, snapd#8366, snapd#8395, snapd#8398, snapd#8400, snapd#8455, snapd#8499, snapd#8508, snapd#8519, snapd#8520, snapd#8521, snapd#8532, snapd#8533, snapd#8551, snapd#8558, snapd#8564, snapd#8566, snapd#8567, snapd#8568, snapd#8569,05:12
mupsnapd#8570, snapd#8573, snapd#8576, snapd#8578, snapd#8591, snapd#8592, snapd#8604, snapd#8608, snapd#8609, snapd#8612, snapd#8620, snapd#8631, snapd#8632, snapd#8633, snapd#8635, snapd#8639, snapd#8640, snapd#8643, snapd#864405:12
mborzeckimvo: hey06:14
mvomborzecki: good morning!06:14
mupPR snapd#8644 closed: cmd/snap-bootstrap/initramfs-mounts: append uuid to ubuntu-data when decrypting <UC20> <โš  Critical> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8644>06:16
mborzeckimvo: heh, i was wondering yesterday evening how that that problem fixed by ian's PR came up06:18
mupPR snapd#8646 opened:  tests: not fail when boot dir cannot be determined (2.45) <Created by mvo5> <https://github.com/snapcore/snapd/pull/8646>06:18
mvomborzecki: could you please check 8632 ? should be trivial :)06:19
mborzeckiso weird, i can trigger the chooser trigger in recovery initrd, but not in other initrd modes for some reason06:37
mborzeckisomehow it triggers after 2s instead of 1006:38
=== jamesh_ is now known as jamesh
mborzeckiuh, i'm stupid :/06:56
zygaHey07:01
zygaWinter is back!07:02
pstolowskimorning07:02
mborzeckizyga: hopefully a couple of days only07:04
mborzeckizyga: pstolowski: hey ;)07:04
zygaYeah :-)07:11
zygaHey Paweล‚, any snow?07:11
mupPR snapd#8647 opened: cmd/snap-bootstrap: tweak recovery trigger log messages <Simple ๐Ÿ˜ƒ> <Skip spread> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8647>07:12
mupPR snapd#8632 closed: configcore: only reload journald if systemd is new enough (2.45) <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8632>07:15
mupPR snapd#8646 closed:  tests: not fail when boot dir cannot be determined (2.45) <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8646>07:15
pstolowskizyga: snow??07:25
pstolowskizyga: no, it's nice and sunny, albeit only 8 C07:25
pedronishello, can somebody double check my commits from yesterday here: https://github.com/snapcore/snapd/pull/712907:27
mupPR #7129: userd: allow setting default-url-scheme-handler <Needs Samuele review> <Created by jwheare> <https://github.com/snapcore/snapd/pull/7129>07:27
zygapedronis: looking07:39
zygapedronis: only one question, but this is not something you changed, just stood out in the new test code07:44
pedronisI found slightly odd, but then it's preexisting, always this messages are anyway completely different from the xdg-settings ones07:45
pedronishehe07:45
pedronisI also found it slightly odd, but then it's preexisting, also these message are anyway completely different from the xdg-settings ones07:45
zygayeah, let's land it07:45
zygaI'll fix the session agent service cleanup problem and carry on with usual stuf07:46
pedronisanyway I plan to do a follow up because of the slightly confusing join/split07:47
pedroniszyga: mborzecki: fwiw xdg-settings prints its entire help if you give it an invalid setting07:48
mborzeckithat too07:48
mborzeckidesktop weirdness07:48
mborzeckiiirc it's a shell script anyway :P07:48
zygaat least it's not inventing a new IPC along the way (see new things now usnig varlink insteadof dbus or other stuff)07:49
mborzeckiif anyone wants to read up more: https://varlink.org/07:52
mborzeckii'm sure we'll go full circle back to corba & orbit at some point07:53
zygamborzecki: hahahah07:57
zygamy first non-uni job was corba07:57
zygaC++ corba DRM server for a VOD service07:57
mborzeckipedronis: wdyt about including the mode in systems response for the current system?08:51
mborzeckipedronis: we also have system-info endpoint, where the mode could live too probably08:52
pedronismborzecki: what's the use case?08:53
mborzeckipedronis: find out the current mode (specifically adding a spread test that goes through run -> recovery -> run)08:54
pedronisah08:56
mborzeckipedronis: btw. can you take a look at https://github.com/snapcore/snapd/pull/8635 ?08:57
mupPR #8635: o/devicestate: support doing system action reboots from recover mode <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8635>08:57
pedronismborzecki: system-info seems the right place08:58
mborzeckipedronis: cool, i'll add it there then08:58
pedronismborzecki: system-mode probably08:58
mborzeckipedronis: ok09:00
mborzeckizyga: google:ubuntu-core-16-64:tests/main/snap-user-service-socket-activation is something you were debugging yesterday?09:17
mupPR snapd#7129 closed: userd: allow setting default-url-scheme-handler <Needs Samuele review> <Created by jwheare> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7129>09:18
zygayes, it's debugged, just feeling some back pain so paused working09:18
zygaI'll fix it in a few hours09:18
mborzeckiwe should ask Chipaca to update the http snap to core1809:19
pedronismborzecki: yes, I will look at that asap, I was in meeting and have some more09:20
pedronispstolowski: thanks for updating/merging master in the early config PRs, I will look at them as well09:21
mborzeckihmm we don't have grub-editenv in core18/core2009:22
pstolowskipedronis: sure, ty. i'm  looking at adding a spread test for core20 defaults (now that mvo's initramfs changes landed)09:22
pstolowskipedronis: but will likely make a separate PR09:22
pstolowskipedronis: nb core18 PR is bound to fail atm, new pc-kernel snap is not yet available and I've just removed my hack from the test09:24
zygait's snowing here09:43
pedronismborzecki: no, that's related to why we added snap debug boot-vars09:43
pedronisI think09:43
mborzeckierrand, back in 1h or so09:56
pstolowskii still have no luck with tests/nested/core20/basic, does anyone know if it is expected to work? fails on ssh after mutiple retries10:11
pstolowskiafair Sergio was working on it and fixedit,  and an initrd change that was causing an issue with nested tests for core20 landed as well10:13
mborzeckire10:34
mupPR snapd#8648 opened: vendor: update to latest secboot <Created by mvo5> <https://github.com/snapcore/snapd/pull/8648>10:35
ogramvo, is there an ETA for https://github.com/snapcore/snapd/pull/8329 ? (i guess 2.45 ? )10:41
mupPR #8329: interfaces: allow raw access to USB printers <Created by ogra1> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8329>10:41
mvoogra: correct, roughtly 2 weeks away10:41
mvoogra: to hit stable, available in beta already10:42
ogragreat, thanks !10:42
mvopedronis: are the changes in 8635 good now?10:43
pedronismvo: I haven't looked again, I will in a little bit (finishing lunch)10:43
mvopedronis: no rush, more stuff is pending still :)10:46
mvo(but not that much!)10:46
* mvo also considers lunch10:47
mborzeckiit'd be so cool to learn spread about making qemu snapshots and be able to save/restore snapshot at a relevant test stage10:49
mborzeckis/learn/teach/10:50
mborzeckiiterating on uc20 tests is so annoying10:50
pedronismborzecki: mvo: done11:06
mborzeckipedronis: thanks11:10
pedronismborzecki: reviewed #864711:18
mupPR #8647: cmd/snap-bootstrap: tweak recovery trigger log messages <Simple ๐Ÿ˜ƒ> <Skip spread> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8647>11:18
ograhrm ... my core18 VM just rebooted in the middle of me running through console-conf ... do we do upgrades in the background even though console-conf is up ?11:32
ograGRRRR !11:33
ograand again ... shutdown while creating user (a proper shutdown, not a crash)11:33
ogratird time works now but this is a super annoying user experience11:34
pedronispstolowski: I reviewed #853311:56
mupPR #8533: image, tests: core18 early config <Created by stolowski> <https://github.com/snapcore/snapd/pull/8533>11:56
cmatsuokamborzecki: is it expected/by design that we can't run the chooser if unseal fails?11:58
mborzeckicmatsuoka: imo it's not designed to that extent yet, when unsealing fails nothing really happens atm right?11:59
mborzeckicmatsuoka: i would expect to reboot to recovery mode and take actions from there12:00
cmatsuokamborzecki: I would expect to be able to drop to a shell in recover mode without host/ubuntu-data mounted12:00
cmatsuokamborzecki: yes, today you stop at the recovery key prompt12:00
mborzeckicmatsuoka: yes, so we need changes in initrd and the recovery chooser in recover mode12:00
mborzeckinone of which is there atm :)12:00
cmatsuokaok, just checking :)12:01
pedroniswe need to move more responsability to snap-bootstrap to control that12:01
pedronisIan is working on that, but is all post best stuff12:01
pedroniss/best/beta/12:01
cmatsuokaalso the latest beta image is a bit confused about which certificates to use12:03
pedroniscmatsuoka: is #8591 ready for review?12:03
mupPR #8591: secboot,cmd/snap-bootstrap: add tpm sealing support to secboot <UC20> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/8591>12:03
cmatsuokapedronis: there's a conflict there, I still didn't merge Ian's uuid change12:04
cmatsuokapedronis: will do that now12:04
mborzeckicmatsuoka: about the trigger, i'm stupid really ;) totally forgot that the time you need to hold the key is 2s only (we previously had concerns about even hitting taht long wait in iniramfs)12:05
cmatsuokamborzecki: so the log is reporting what's expected?12:06
cmatsuokamborzecki: and everything is consistent12:06
mborzeckicmatsuoka: yes, i think the cause is how long it takes to mount the snaps, and in recover mode your only chance of triggering it is in initramfs, because later when we seed snapd, we never start the trigger monitor service12:07
cmatsuokahmmm12:09
mborzeckicmatsuoka: also for recovery mode, there sould be either a respective chooser with a bunch of actions, or something from the command line12:10
mborzeckii mean a dedicated thing that does not need to be triggered, because it's already a recovery mode12:10
cmatsuokapedronis: merged and pushed12:12
pstolowskipedronis: thank you12:16
pstolowskicachio: hey, is tests/nested/core20/basic expected to work or are you working on it?12:16
pedroniscmatsuoka: I have a question about the input12:17
pedroniscommented in the PR12:18
cmatsuokapedronis: thanks, I'll check12:18
pedronissorry, I just updated it, was missing a not12:18
cachiopstolowski, hi, let me check12:22
cmatsuokapedronis: yes, I think remodeling is still not ingrained in my mind -- we'll need a different approach there12:22
cachiopstolowski, It wotks in my branch, I think it fails in master because the change pushed to fix random generation issues12:24
cachiopstolowski, if you could take a quick loook should be great https://github.com/snapcore/snapd/pull/855812:24
pedroniscmatsuoka: can't we fix it now?12:24
mupPR #8558: tests: make the nested library usable independently of spread <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8558>12:24
cmatsuokapedronis: working on that12:25
pedroniscmatsuoka: it probably need a more complicated input struct12:25
pedronisalso Chris will need to review this (hopefully more closely)12:25
cmatsuokapedronis: I'm considering having model params containing model, load chains and cmdlines, and having a slice of those inside the seal params12:26
pedronissounds reasonable12:26
mupPR snapd#8648 closed: vendor: update to latest secboot <Simple ๐Ÿ˜ƒ> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8648>12:28
mvoijohnson: can I squash merge 8635?12:29
pstolowskicachio: wasn't random generator fix supposed to fix this problem?12:34
pstolowskicachio: i'll look at your PR12:34
cachiopstolowski, no12:34
cachiopstolowski, it broke the nested run12:34
pstolowskicachio: ah12:35
cachiopstolowski, In my branch I fixed all the issues12:35
mborzeckishall we land https://github.com/snapcore/snapd/pull/8635 ?12:36
mupPR #8635: o/devicestate: support doing system action reboots from recover mode <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8635>12:36
mvomborzecki: yeah, I want to squash it though12:36
mvomborzecki: but yeah, lets do it, it's the last 2.45 PR :)12:36
mvomborzecki: so yeah, let me land it12:37
mborzeckimvo: mghm, needs your superpowers12:37
mborzeckimvo: failed tests are unrelated12:38
mvomborzecki: thanks, will merge12:38
mvodone and cherry-picked12:38
mvoyay12:38
mupPR snapd#8635 closed: o/devicestate: support doing system action reboots from recover mode <Squash-merge> <UC20> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8635>12:38
mupPR snapcraft#3116 closed: cli: fix following hints in channel status <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3116>13:09
mborzeckicachio: can you take a look at the console of machine may121345-800144 for me?14:07
cachiomb sure14:07
cachiomborzecki, ~14:07
cachiomborzecki, https://paste.ubuntu.com/p/PsxkPmwcvy/14:08
mborzeckicachio: thx, looks like it's in recover mode now14:10
cachioyes14:10
cachioit finished14:10
cachiomborzecki, you can't connect after that?14:11
mborzeckicachio: it rebooted again?14:11
cachiomborzecki, no14:12
mborzeckicachio: mvo: somehow in the spread test i cannot log into the gcp node with root/password used by spread :/14:20
mborzecki(when in recovery014:20
mborzeckitbh spread should probably be better at reporting such errors14:21
ackkhi, is there a way to get the "prime/" dir on the host when building with --use-lxd?14:21
ijohnsonackk: use `snapcraft try`14:21
zygare14:22
* zyga is back with coffee 14:22
ijohnsonmborzecki: I bet it's because the hacks we apply to the image to get install mode to add the right user login bits to work don't get applied in such a way they work for install mode14:22
zygastanding desk helps but I had a bad back day :|14:22
* ijohnson goes to look at that code14:22
ackkijohnson, so, build with --use-lxd, then snapcraft try? or just the latter to build and try?14:23
ijohnsonackk: `snapcraft try --use-lxd` or `snapcraft --use-lxd try` I can't remember the correct order of options14:23
ackkijohnson, ah I see, thanks14:23
ijohnson(and snapcraft is especially picky about such options for some reason)14:23
cachiomborzecki, let me try connecting through serial14:23
ijohnsonmborzecki: cachio: see https://github.com/snapcore/snapd/blob/master/tests/lib/prepare.sh#L378-L38014:24
mborzeckiehh14:25
cachioijohnson, ahhhh14:25
mborzeckiijohnson: let's see if i can tweak it :P14:25
ijohnsonI'm wondering if actually an easier way to do this is just to hack the core20 snap instead14:25
ijohnsonjust stick our spread user/pw into the /etc/passwd that's in the core20 snap, then we can get rid of all this nonsense14:25
cachioijohnson, nice find14:26
ijohnsonor actually perhaps more realistically stick the spread user/pw into the var/lib/extrausers/passwd14:26
ijohnson(in the core20 snap)14:26
ijohnsonthough note that if you go the route of just sticking the user into the core20 snap, you still need a way to block spread from connecting via ssh during install mode14:26
ijohnsonperhaps another hack script which runs during install mode and turns off ssh until run mode14:27
mvomborzecki: in a meeting, let's talk about this in a wee bit, I have an idea14:27
mvomborzecki: I think the problem is that in ephemeral mode we don't have https://github.com/snapcore/snapd/blob/master/tests/lib/prepare.sh#L342 i.e. snapd.spread-tests-run-mode-tweaks.service which overlays the root user14:50
mborzeckimvo: yeah, ijohnson suggested the same, i've tweaked it a little to see what will happen now14:51
mupPR snapd#8649 opened: usersession,tests: clean ups for userd/settings.go and move xdgopenproxy under usersession <Created by pedronis> <https://github.com/snapcore/snapd/pull/8649>14:52
pedronisthat's not urgent but small ^14:55
pedronismvo: it's not easy to place a service in the ephemeral modes though, I suppose we can via hacking the initrd somehow14:56
mvopedronis: yeah14:57
pedronisbut it seems we have code trying to do this but failing ?14:58
pedronisor maybe being confused about how things work?14:58
mborzeckiand it works, yay15:01
mupPR snapcraft#3117 opened: ci: setup release-drafter <project-health> <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3117>15:28
pedronispstolowski: related to your naming comments, is this clearer https://github.com/pedronis/snappy/commit/959f89056cb2c5b6903fbdf30ef2159efa56a504 or worse?15:32
pstolowskilooking15:32
pstolowskipedronis: yeah, it's great15:34
pstolowskithank you15:34
pedronispstolowski: ok, I'll propose an actual PR then15:34
pedronisthx15:34
pedronisonce the prereq is merged15:35
* cachio lunch15:37
pstolowskiok15:38
mupPR snapd#8650 opened: daemon, tests: indicate system mode, test switching to recovery and back to run <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8650>15:42
mborzeckiijohnson: mvo: ^^15:42
ijohnsonnice15:42
mborzeckicachio: ^^ also includes a tweak for restoring the seed in uc20 if that's what you had a problem with15:42
mvomborzecki: nice15:45
mvomborzecki: how did you fix the issue of the root login?15:46
mupPR snapd#8651 opened: release: 2.45 <Created by mvo5> <https://github.com/snapcore/snapd/pull/8651>15:48
mborzeckimvo: the special sauce is applied in run and recovery modes15:49
mborzeckimvo: https://github.com/snapcore/snapd/pull/8650/commits/a52172b01bfa470cc10b2687baa6aa8408ba3cc215:49
mupPR #8650: daemon, tests: indicate system mode, test switching to recovery and back to run <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8650>15:49
mborzeckiijohnson: haha, thanks for spotting15:50
ijohnsongrr typo, meant systems: [ubuntu-core-20-*]15:50
mvomborzecki: oh, nice!15:50
ijohnsonhopefully I edited it in time15:50
ijohnsonmborzecki: also what was the problem you found with the http snap ?15:50
ijohnsonit was sending a POST when it shouldn't have been?15:51
mborzeckiijohnson: idk, switched to curl, i could see this in the logs:15:51
mborzeckiMay 12 10:00:26 ubuntu snapd[3346]: daemon.go:313: DEBUG: pid=3407;uid=0;socket=/run/snapd.socket; GET /v2/snaps?snaps=http%2Cjq 901.548ยตs 20015:51
mborzeckiMay 12 10:00:28 ubuntu snapd[3346]: daemon.go:313: DEBUG: pid=3645;uid=0;socket=/run/snapd.socket; POST /v2/systems 93.149ยตs 40515:51
mborzeckithen the actual response was 405 method not allow and some error from our api15:51
ijohnsonmborzecki: what `http` command?15:52
mborzeckiijohnson: `http snapd:///v2/systems`15:52
mborzeckisame when i used `snap run http ..`15:52
ijohnsonhmm15:53
zygasigh15:53
zygaour restore is insufficient15:54
mborzeckiafk for now15:55
mupPR snapcraft#3118 opened: plugins: add support for local v2 plugins (core20) <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3118>16:07
mupPR snapd#8651 closed: release: 2.45 <Simple ๐Ÿ˜ƒ> <Skip spread> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8651>16:30
zygamvo: the fix for the leaking units is coming along but I need to run some tests to ensure no other tasks are causing this16:54
mvozyga: sure16:54
zygaI fixed the management script, packaging and some restore logic16:54
zygabut it's easy to trigger and we have many tests that use snapd as a snap16:55
=== diddledan8 is now known as diddledan
mupPR snapcraft#3114 closed: npm v2 plugin: update doc string <documentation> <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3114>17:34
mupPR snapcraft#3117 closed: ci: setup release-drafter <project-health> <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3117>17:34
cmatsuokapedronis: changed the structure of seal key data to allow different sets of cmdline and load chains for different models17:35
benfrancisHas anyone else experienced Ubuntu Core suddenly prompting for a password after previously authenticating with SSH using keys?18:19
mupPR snapd#8564 closed: asserts: introduce Pool <Bulk assert refresh :scroll::scroll::scroll:> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/8564>18:19
ograbenfrancis, disk full or some such ?18:28
benfrancisorga: I don't think so, it is otherwise operating normally18:29
ograwell, if the key is in place it should never ask for a password18:30
ograespecially since we never set one by default in core (on purpose)18:30
ijohnsonbenfrancis: are you sure you didn't type the username wrong? I've done that before and gotten quite confused18:31
ogratypoing "ian" ? :)18:33
mupPR snapd#8652 opened: cmd/snap-bootstrap/initramfs-mounts: copy auth.json and macaroon-key in recover <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8652>18:33
benfrancisijohnson: Hah! Genius. I forgot this box has a different username to all the others. Thanks for saving my sanity.18:42
benfrancisogra: lol18:42
ijohnsonhey it's a lot of letters18:42
ijohnson3 > 0 hence there's a non-zero change I type it wrong18:42
ijohnsonthat and my sso username isn't as short as ian :-)18:42
ogra:)18:45
mupPR snapd#8653 opened: asserts: make clearer that with label we mean a serialized label <Bulk assert refresh :scroll::scroll::scroll:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8653>18:56
* zyga commits some more fixes18:57
mupPR snapd#8654 opened: tests: test registration with serial-authority: [generic] <Created by pedronis> <https://github.com/snapcore/snapd/pull/8654>19:03
zygapedronis: quick review https://github.com/snapcore/snapd/pull/8654#pullrequestreview-41033943419:08
mupPR #8654: tests: test registration with serial-authority: [generic] <Created by pedronis> <https://github.com/snapcore/snapd/pull/8654>19:08
pedroniszyga: it's derived from similar preexisting tests, maybe we should modernize them all19:10
zygayeah, we used this style quite a lot19:10
zygaif you suggest good values for --wait and -n I can do a pss19:11
zyga*pass19:11
pedroniswe --maxmins nowadays19:13
pedronisas well19:13
pedronisanyway probably something for the next days19:13
mupPR snapd#8655 opened: tests: remove generated session-agent units <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8655>19:17
zyga--maxmins?19:17
zygapedronis: https://github.com/snapcore/snapd/pull/8655 those are all the tests that needed fixing for the session agent bug19:17
mupPR #8655: tests: remove generated session-agent units <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8655>19:17
zygaI have follow ups to improve the packaging19:18
zygaand I have some more for test restore but I won't propose is as it needs some more work19:18
zygathis is the other part of it19:19
zygahttps://github.com/snapcore/snapd/pull/865619:19
mupPR #8656: snap-mgmt: perform cleanup of user services <Created by zyga> <https://github.com/snapcore/snapd/pull/8656>19:19
zygathe rest needs more work and some discussion19:19
zygahttps://github.com/snapcore/snapd/pull/8655/files is rather mechanical and mundane but will get us a lot fewer failing tests19:20
mupPR snapd#8656 opened: snap-mgmt: perform cleanup of user services <Created by zyga> <https://github.com/snapcore/snapd/pull/8656>19:20
mupPR #8655: tests: remove generated session-agent units <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8655>19:20
zygacachio: hey, about that mount-ns test19:24
zygacachio: I don't know if you noticed my comment during the standup19:24
zygacachio: but it would be best if you push a change to use the new image and disables the mount-ns test on ubuntu 18.0419:24
zygacachio: and I can follow-up with a change that re-enables the test19:24
cachiozyga, sure19:25
zygacachio: thanks, if you push that I can follow up tomorrow19:25
cachioI'll create the pr to disable mount-ns right now19:25
cachiozyga, #865719:29
zygathanks!19:29
mupPR #8657: tests: disable mount-ns test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8657>19:29
mupPR snapd#8657 opened: tests: disable mount-ns test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8657>19:29
cachioI'll merge it once tests pass and then I will promote the new bionic image19:29
cachiozyga, thanks f19:29
zygaok19:29
zygaijohnson: could you spare a moment to look at pawel's comment on https://github.com/snapcore/snapd/pull/8633 -- specifically this one: https://github.com/snapcore/snapd/pull/8633#discussion_r42313448619:42
mupPR #8633: tests: detect and report root-owned files in /home <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8633>19:42
ijohnsonzyga: sure let me quick look19:43
zygaI'd love to get this merged so that detecting issues (of more than just this kind) os easier19:43
ijohnsonzyga: the separate PR comment you mean?19:43
zygabut perhaps I picked the unlucky first problem :)19:43
zygayes19:43
ijohnsonmmm19:43
zygaI mean, I wonder what to do with /home/ubuntu - I'd be happy to park that for now and focus on more pressing problems19:43
zygabut perhaps pawel is right and we should explicitly discuss this19:44
ijohnsonI guess I'm kinda leaning towards doing this in a separate PR, but that's only if you are not about to immediately work on debugging what is creating those things19:44
ijohnsonif you are going to work on debugging that very soon, then I'd say let's just merge it and you can debug in a followup19:45
zygaI spent some time on it and my best theory is that it's cloud init as it happens in GCE but not in qemu19:45
ijohnsonah19:45
ijohnsoninterresting19:45
zygaI think the real bug is that /home/ubuntu is root-owned19:45
zygait's late so I'll EOD anyway but I want to attack this early tomorrow and make progress19:46
pedronisI'm a bit confused, why I said ignore ubuntu I meant ignore it, not override it19:46
zygapedronis: ignore as in exclude?19:47
pedroniswell, I asked whether it matters, you said no19:47
pedronisso yes, excelude19:47
pedronisunless it matters19:47
pedronisfor actual tests19:47
ijohnsonactually I agree with pedronis just excluding that dir from the check I think is best for now19:47
zyganot for actual tests (at least not yet)19:48
zygaok, I'll do that then19:48
zygaI think it only matters to the extent that we should understand our stack and what's going on19:48
pedronisalso at some point we should really rename some of the *-tool because I really don't expect a thing called invariant-tool to anything but check them19:50
zygahappy to sit down and discuss names when you have a moment19:51
mupPR snapd#8658 opened: cmd/snap-bootstrap/initramfs-mounts: cosmetic changes in prep for future work <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8658>20:38
mupPR snapd#8659 opened: cmd/snap-bootstrap/initramfs-mounts: use booted kernel partition uuid if available <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8659>20:56
mupPR snapcraft#3119 opened: elf: fix string format for debug log <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3119>21:04
tewardany way to disable snap autoupdates for a specific snap?21:09
TheCowboyIs there any straightforward workaround to giving a snap app access to a NFS mount? I've tried mounting under /home/$USER without any luck21:17
oerheksteward, i find no such option, for a single snap21:24
tewardany way to do it globally then for all snaps on a given snapd instance?21:24
oerheksTheCowboy, see softwarecenter > installed > snapname > settings ?21:24
oerhekselse reinstall the snap with the --classic option, to escape confinement21:25
TheCowboy--classic didn't work, --classic --edge didn't work21:26
TheCowboyi don't see it installed in the software center but i installed it via commandline21:34
TheCowboyMight this work? https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/166255222:01
mupBug #1662552: snaps don't work with NFS home <snapd:Fix Released by zyga> <snapd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1662552>22:01
oerheksinteresting; " If a user logs in and snapd is restart, NFS support is then enabled." https://forum.snapcraft.io/t/snaps-and-nfs-home/438/2322:05
oerheksmarq 1922:05
=== jdstrand_ is now known as jdstrand
ijohnsonoerheks: that does not work, you cannot install a strictly confined snap in classic mode23:00
ijohnsonoerheks: the --classic option is just ignored for strict snaps, it does not let you escape confinement23:01
oerhekscorrect, confinement is not the right word, i meant access to the /home folder23:01
oerheksand not knowing which snap.23:02

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