[00:56] PR snapcraft#2916 closed: status: implement using the new channel-map endpoint [01:53] PR snapcraft#2992 closed: [WIP] repo: ubuntu implementation refactoring with initial package-management [03:11] PR snapcraft#3006 closed: repo: always use host release and arch for Ubuntu [05:34] morning [06:13] mvo: hey [06:20] mborzecki: good morning [06:29] PR snapd#8410 closed: many: disentagle release and snapdenv from sandbox/* [06:31] PR snapd#8412 opened: httputil: increase httpclient timeout in TestRetryRequestTimeoutHandling [06:34] PR snapd#8404 closed: client: increase timeout in client tests to 100ms [07:03] morning [07:05] good morning pstolowski [07:05] good morning [07:05] hey mvo, [07:06] mvo: I noticed we have a small problem in debian [07:06] mvo: snapd doesn't build [07:06] dh_missing: warning: usr/bin/snap-preseed exists in debian/tmp but is not installed to anywhere [07:06] I think we have different ruleset there, and leftover binaries cause builds to fail [07:06] I'll see if I can use my shiny metal rights and actually help [07:07] Had another CI run hit Travis's 50 minute limit: https://travis-ci.org/github/snapcore/snapd/builds/670392870 [07:07] jamesh: I'll move travis jobs to actions today [07:07] I think it's time [07:14] good morning zyga [07:15] 8103 needs a second review, it's important for the encryption story and to unblock the TPM work [07:16] jamesh: thanks for letting us know, once we are slightly less busy we move to gh actions to get rid of this [07:17] jamesh: also thanks for your review on 8406, I really have no better idea unfortunately how to make this better, maybe we could increase the sleep to 100ms to have a bigger "window" of time to look at. yeah, over-committed CI systems are very annyoing [07:18] (fwiw 8103 is not very long, hopefully quick review) [07:24] PR snapd#8413 opened: interfaces: don't use the owner modifier for files shared via document portal [07:27] jamesh: if 8406 looks ok enough please approve, if you feel it makes the test useless I could close and we just need to live with the errors [07:28] mvo: I think the change looks good. When run on an unloaded system, it should still verify that the timeout has been extended [07:29] zyga: session-tool fails on master https://api.travis-ci.org/v3/job/670441262/log.txt - could you please ahve a look? [07:31] Yes [07:44] PR snapd#8406 closed: usersession: extend timerange in TestExitOnIdle [07:45] pedronis_: I think the extra spread test I added covers what you wanted in my user daemons PR === pedronis_ is now known as pedronis [07:46] jamesh: thanks [08:17] pedronis: thank you for the move yesterday! [08:41] PR snapd#8414 opened: o/configstate: core config handler for persistent journal [08:41] ogra: hi, this might be interesting for you ^ (feedback is welcome) [08:54] nice ! [08:54] pstolowski, you are aware that etc/systemd/journald.conf.d/ is complete nonsense ? [08:55] ogra: heh, not, why? [08:55] pstolowski, all you need to do is to create the dir ... [08:55] ogra: you mean /var/log/journal ? [08:55] the builtin defaults are completely fine, if the dir exists journald writes the journal to disk ... if not it uses the ringbuffer ... there is no need to change the config [08:56] yeah [08:56] huh [08:56] i'D just make the code call a mkdir and be done ;) [08:56] mhm [08:57] (and rmdir if the option is unset) [08:57] ondra: is this consistent across systemd versions (core16, core18...)? [08:57] sorry, ogra ^ [08:57] notsure what ondra thinks ... but it surely is for 16 and 18 [08:57] :) [08:58] might be that 20 changed it though ... better test there .... for 16 and 18 it was always sufficient to just create the dir [08:58] * ondra agrees with anything ogra says, as long as it's not about partitions! [08:58] ! [08:59] ogra: ok, that's interesting, thank you! [09:00] thank *you* for implementing it !! [09:00] :D [09:03] ogra: ah, i read the manualy again. so it appears that "auto" is the default behavior, the existense of /var/log/journal controls the behavior [09:03] yep :) [09:04] ogra: thanks again for the enlightenment ;) [09:17] pstolowski, ogra: related review https://github.com/snapcore/snapd/pull/8414#pullrequestreview-387089711 [09:17] PR #8414: o/configstate: core config handler for persistent journal <⛔ Blocked> [09:18] zyga: thanks. we might not need the conf file at all, i'm going to verify this [09:18] thanks [09:18] ping me for a re-review please [09:36] PR snapd#8415 opened: cmd/snap-recovery-chooser: tweaks [09:45] mborzecki: I nitpicked a bit in #8415 [09:45] PR #8415: cmd/snap-recovery-chooser: tweaks [09:51] mborzecki: https://github.com/snapcore/snapd/pull/8415#pullrequestreview-387112832 [09:51] PR #8415: cmd/snap-recovery-chooser: tweaks [09:52] pedronis: zyga: thanks [09:53] I'll be back shortly, it's quite cold in the office and ought to make some warm tea [10:00] mborzecki: unit tests failed on that PR [10:00] waat? [10:00] https://www.irccloud.com/pastebin/NkNEOsNj/ [10:00] not yours but meh [10:00] mvo: ^ [10:00] is that another thing to adjust? [10:01] weird, that timeout is longer already [10:01] maybe a bug in the test/code? [10:02] zyga, mborzecki I thought I did push something there? [10:02] ah, perhaps maciek's branch is simply older [10:02] https://github.com/snapcore/snapd/pull/8412 [10:02] PR #8412: httputil: increase httpclient timeout in TestRetryRequestTimeoutHandling [10:02] mvo: yes, https://github.com/snapcore/snapd/pull/8404 has landed already [10:02] PR #8404: client: increase timeout in client tests to 100ms [10:03] mborzecki: this one is different, no? that's what 8412 is for [10:03] mborzecki: or am I misreading this? [10:03] pstolowski: mvo: i think there's a problem with persistent logs, /etc/machine-id isn't mounted from writable (at least on core20) so after reboot you get a new machine-id and a new journal [10:03] oh, w8, it is [10:03] so why did i get a new machine-id again? [10:03] mborzecki: works as expected on core18 [10:04] (i rebooted) [10:05] hmmmm ├─/etc/machine-id tmpfs[/machine-id] tmpfs ro,size=203112k,mode=75 [10:05] yeah [10:05] pstolowski: mvo: ^^ [10:05] why do we have machine-id on a tmpfs [10:05] mborzecki: we noticed this a while ago [10:05] in the review of mount-ns data [10:05] I guess we forgot to act [10:06] pstolowski: do you hav a core18 vm? can you check `findmnt /etc/machine-id` ? [10:06] mborzecki: yep, 1 sec [10:06] mborzecki: I do [10:07] /etc/machine-id /dev/sda3[/system-data/etc/machine-id] ext4 rw,relatime,data=o [10:07] so that's weird [10:08] mborzecki: from pi4 /etc/machine-id /dev/mmcblk0p2[/system-data/etc/machine-id] ext4 rw,relatime [10:08] mystery [10:08] hm it's not listed in writable-paths, what sets it up? [10:08] maybe that's our test specific setup [10:09] zyga: anything in /etc/fstab or /run/image.fstab? [10:10] zyga: i see /etc/machine-id /dev/sda3[/system-data/etc/machine-id] ext4 as well [10:10] what is /run/image.fstab? [10:10] where are writable paths set up [10:10] I mean [10:10] the list [10:11] zyga: and pi3 with core16 is the same as yours [10:11] I checked pi4 with core18 [10:11] no clue [10:11] zyga: iirc it's from our initrframfs hooks [10:11] mborzecki: hm, this is all confusing, it looks like /etc/machine-id is not in the writable-path [10:11] zyga: https://github.com/snapcore/core20/blob/master/static/etc/system-image/writable-paths [10:12] hmm - +0:+0 /system-data/etc/machine-id /etc/machine-id rw,relatime shared:+1 - ext4 /dev/sda3 rw,data=ordered [10:12] that's from our own test data [10:12] wat? [10:12] check this out [10:12] https://www.irccloud.com/pastebin/0OxSdK9y/ [10:12] mborzecki: so I remember that /var/lib/dbus/machine-id was the persistent place and an /etc/machine-id would make systemd fallback to the /var/lib/dbus/machine-id, maybe that changed? or maybe I misremember? [10:12] core 20 [10:13] it's good on core16 and core18 [10:13] mount-ns test is a bit like the os-release-zoo [10:13] anyway [10:13] brb [10:13] I'm so cold today [10:13] need to make that tea for real [10:13] core20 has different initramfs tho? [10:14] yeah [10:15] so in core build i see this: [10:15] 318: mount -o bind "${rootmnt}/writable/system-data/etc/machine-id" "${rootmnt}/etc/machine-id" [10:16] mborzecki: right, I think we need to add the machine-id to the writable-path, I wonder if that will work, i.e. if systemd will be able to commit when it can't write it atomitcally [10:16] but it's not used in core20 world anymore right? it's only ubuntu-core-initramfs now? [10:17] mborzecki: but the man-page for machine-id talks about bind-mounting it, so *hopefully* that will work [10:18] mborzecki: I think that's right, sounds like we need to sync with dimitri with it. but maybe it's enough to just add it to the writble-path? [10:24] back [10:24] much better :) [10:25] shall I report this just in case we don't fix it today? [10:26] I need a 2nd review on https://github.com/snapcore/snapd/pull/8403 to make progress please [10:26] PR #8403: sandbox/cgroup: avoid making arrays we don't use [10:26] I will adjust the comment on the next pass, this is green now [10:26] mborzecki: simple-session tool improvement https://github.com/snapcore/snapd/pull/8416 [10:26] PR #8416: tests/session-tool: reset failed session-tool units [10:27] this avoids the need to use property only available on future systemd versions [10:27] and solves accumulation of leftovers [10:27] PR snapd#8416 opened: tests/session-tool: reset failed session-tool units [10:27] mvo: Ubuntu strategy for machine-id is to be an empty file. Onboot, systemd maintains one in /run and eventually commits it to disk. So, yes it should be writable. And like Core20 snap must have it as an empty file. [10:27] mvo: bug report please. [10:28] xnox: on core20? [10:29] zyga i don't understand your question. the systemd behaviour has been like that since the dawn of time in the ubuntu timeline. [10:29] xnox: "do you want me to report a bug on core20" [10:30] zyga: yes [10:30] on it [10:31] xnox: https://github.com/snapcore/core20/issues/32 [10:31] Issue core20#32 opened: The machine-id file should be writable [10:32] tah [10:34] unit tests fail left and right, I guess travis containers are just as busy as launchpad lately [10:38] xnox: I can give you a PR if you want? or are you already on it? [10:38] mvo: no, i'm not on anything. not serving interrupts, but doing things as they were queued up for me. [10:42] ok [10:42] PR core20#33 opened: writable-path: make /etc/machine-id writable [10:46] mvo: let me try to build a core20 snap and see if it works as expected [10:52] mborzecki: \o/ [10:58] PR snapd#8412 closed: httputil: increase httpclient timeout in TestRetryRequestTimeoutHandling [11:03] hmm [11:03] /etc/machine-id /dev/mapper/ubuntu-data[/system-data/etc/machine-id] ext4 rw,relatime [11:03] /etc/machine-id tmpfs[/machine-id] tmpfs ro,size=203112k,mode=755 [11:03] why 2 mounts tho? [11:03] mvo: I opened 7700 for a review [11:04] mvo: can you please look at what we could do for the upcoming sprint to be in the green [11:04] mvo: it's a RFC, not a final solution, I could use advise on where to go next [11:04] ok, on the first boot i had 2 mounts, but now after another reboot there's just one [11:05] oh, wait, I pushed without commiting [11:06] anyway, it doesn't change much [11:06] I've restarted the CLA check a few times and it's failing [11:06] https://travis-ci.org/github/snapcore/snapd/builds/669948734 [11:07] yeah, looking good now [11:07] pstolowski: the persistent journal works now too [11:08] mborzecki: good, thanks. fwtw there is another issue with all this that I just described in my PR [11:08] mvo: ^ (sorry, I revoked your review) [11:09] pstolowski: hmm System Journal (/var/log/journal/bbac1383d2c640b3853c9f08d14e4116) is 32.0M, max 294.3M, 262.3M free, iirc he default is 10% of given block device size? [11:10] mborzecki: right, seems to match https://gist.github.com/JPvRiel/b7c185833da32631fa6ce65b40836887 [11:10] I believe reviewing https://github.com/snapcore/snapd/pull/8416 helps, I cannot explain how though [11:10] PR #8416: tests/session-tool: reset failed session-tool units [11:11] apart from having fewer units after this test [11:15] https://github.com/systemd/systemd/issues/8672 is related [11:15] zyga: it looks reasonable [11:15] mvo: what should we do to take next steps? [11:16] pstolowski: what does that mean, should I review the pr again? [11:17] zyga: what is needed, can we just open this PR as is? I think samuele had a question in there but otherwise I think I'm ok with this as a first step for the UI [11:17] mvo: the PR is open, I addressed that question now [11:17] zyga: cool [11:17] mvo: ok, I'll pursue this a little more then [11:17] zyga: has the prereq landed? [11:17] zyga: if so we could target it for 2.45 [11:17] mvo: close to it, if I can grab jamie for a moment today [11:18] mvo: I need to merge master after samuele's fixes again [11:18] nice [11:18] (the reorg) [11:18] mvo: no, please see the comment [11:18] mvo: we need to agree on what to do [11:19] pstolowski: I see now, thank you [11:20] pstolowski: this sounds to me like we want "yes/no/unset" and that maps to "persisent/disabled/auto", does that make sense? [11:20] (we want this as the possible config options?) [11:21] auto does not make that much sense on uc20 anymore though because something outside of the confinement would have to create it directly under /writable which is strange [11:21] otoh it's nice on the other releases :) [11:25] mvo: more less yes, maybe. but I fear this will be confusing. because if you say "unset" and it maps to "auto", that means that if it was "persisent" before it will still log into /var/log/journal (unless we or the user removes the dir). [11:26] pstolowski: good point [11:28] mvo: maybe we should simply override the default with persistent|none as soon as the option is ever set. but never remove /var/log/journal ? [11:29] * pstolowski lunch [11:29] mvo: pstolowski: let's chat later [11:31] PR snapcraft#3010 closed: cli: add progressive releases support to the release command [11:31] mvo: this fixes the cron issue with session-tool https://github.com/snapcore/snapd/pull/8417 [11:31] PR #8417: tests/session-tool: kill leaking closing session [11:31] PR snapd#8417 opened: tests/session-tool: kill leaking closing session [11:31] mborzecki: is [ ! -e /proc/$pid ]; a good way to check if a process exists? [11:45] thanks zyga [11:48] zyga: in shell? hmm why not, kill -0 probably doesn't work [11:48] kill 0 ofc [12:11] I've seen this error a lot this week [12:11] 2020-04-03 12:01:56 Error executing google:ubuntu-core-16-64:tests/core/reboot (apr031118-002068) : kill-timeout reached after apr031118-002068 (google:ubuntu-core-16-64:tests/core/reboot) reboot request [12:11] reboot test fails [12:12] I wonder if that's something else impacting or is that something broken for real [12:15] zyga: I re-reviewed #8123, not urgent by I left some questions and a remark there [12:15] looking [12:15] PR #8123: interfaces/network-control: bring /var/lib/dhcp from host (approach b) [12:16] pedronis: the hostfs change is not required because we reversed course on the ability to create directories that are absent on the host in response to interface connection [12:16] pedronis: so we will not create /var/lib/dhcp via hostfs [12:16] so no permissions or related cahnges [12:17] ah, makes sense [12:17] I'll see for the comment in a moment [12:17] wrapping up some branches and I'd like to break before the call [12:17] thank you for the review, I think this will land soon :) [12:20] * zyga afk for some time, see you at the standup [12:37] cachio: I'm trying to run the encryption test on the nested backend, but got a git archive error, did you see this before? [12:40] ijohnson: good morning [12:40] ijohnson: I have a question about InitramfsUbuntuDataDir and friends [12:42] ijohnson: I see you moved the definitions from dirs to boot, but I need to reference the mountpoints from the target system and not initramfs. They're using the same path but they could potentially be different, so my feeling is that I should define UbuntuDataDir in dirs again [12:47] cachio: never mind, it was a local problem [12:47] hey cmatsuoka [12:48] cmatsuoka: for now it's probably fine to just use boot.InitramfsUbuntuDataDir from wherever you need it, even if it's not during the initramfs [12:48] cmatsuoka: we had this same issue with pedronis and mborzecki for the code that reboots into a particular system for the chooser [12:48] cmatsuoka: so the variable may get renamed eventually but for now it's fine to use it [12:48] hm hm? [12:48] ijohnson: right, that's how I implemented it so I'll leave it as is for now, thanks [12:48] hey mborzecki [12:48] ah right [12:49] crazy idea, hm maybe we could have automount units for that? [12:54] mborzecki: for what? [12:54] /run/mnt/ubuntu-{seed,boot,data} [12:55] I am a bit missing how that would help? [12:56] pedronis: the mounts wouldn't need to be present all the time, we wouldn't need to call mount if we decide to mount them on deman [12:56] cmatsuoka: looks like 8103 is super close :) do you think you could address the remaining comments from maciej and chris? I think then it's ready to land [12:57] mborzecki: well we need them during initrams [12:57] the question is what happens later [12:57] pedronis: right, but we don't need them all the time later [12:57] mborzecki: who would write the units? [12:57] mvo: sure, working on that! [12:57] later == after switching the root [12:57] there's no main partition after a while [12:57] *after a while [12:57] for a while [12:58] pedronis: iirc xnox had code that generates mount units for those in ubuntu-core-initramfs [12:58] cmatsuoka: thanks! [12:59] mborzecki: there are issues, if they can come and go, any checks we do on them is problematic [12:59] yeah, that's true as well [13:00] anyway at this point is all things to think about after beta [14:13] * zyga breaks to stretch a little [14:13] back hurts [14:13] ouch :( [14:16] ijohnson: I'm not sure I understand your comment about the switch [14:16] I'm missing something [14:16] uh [14:17] pedronis: how can the caller set something on bsmark? what I did just now is have the caller pass in bsmark to the select function [14:17] here let me show you [14:17] ijohnson: we return bsmark [14:17] no? [14:18] yes, so how would the caller set properties on bsmark before calling the function ? [14:18] without passing in bsmark to the choose function ? [14:18] pedronis: https://pastebin.ubuntu.com/p/pDTXqbBsc4/ [14:18] it can set after [14:19] the info is not really used inside the function [14:19] afaict [14:19] it's used in commit later I suppose [14:20] pedronis: the issue that all of this refactor is about is preventing us from loading bootenv multiple times i.e. calling ebl.Kernel() multiple times during a single instance of boot.MarkBootSuccessful [14:20] we only want to call loadBootenv once for boot.MarkBootSuccessful [14:20] ijohnson: I understand, but maybe at this point is just easier for me to try what I have mind [14:20] and see if it works [14:20] I'm failing to explain myself it seems [14:21] yes, sorry I don't understand your suggestion [14:21] it's very simple actually [14:21] but maybe doesn't work [14:21] let me see [14:25] ijohnson: it works afaict [14:26] pedronis: can you show your code ? [14:26] at least the tests still pass [14:28] ijohnson: just this: https://paste.ubuntu.com/p/shzz4xgN3w/ [14:30] ah okay sure that works fine [14:31] sorry I didn't understand that your suggestion was to do it after the choose* function [14:32] well, I said it on irc, but not in the comment, it's actually the only way to make it work simply [14:32] but as I commented the doc comment of the helper needs to clarify that it's possible/makes sense [14:34] yes that's fine [14:36] PR snapd#8368 closed: github: goodbye travis [14:40] PR snapd#8418 opened: github: move static checks and spread over [14:47] ijohnson: the problem with non managers_test.go tests is that they don't check the logic triggered by ensureBootOk and the rest of the refresh undo [14:48] but maybe you have thoughts about that? [14:48] pedronis: what other logic do we need to check in ensureBootOk ? [14:48] ijohnson: we trigger a revert that will do a SetNextBoot , same with the undo [14:48] that's where things intersect [14:49] mmm [14:49] this is slightly depressing that we need so many permutations of this kind of test now across 3 different packages :-/ [14:50] ijohnson: I'm open to think this through just saying that the chain of boot state changes [14:50] ends with a SetNextBoot in the undo code [14:50] yes you're right there are more cases like that [14:50] in some cases [14:51] that's I think why we thought some cases would take care by themselves [14:51] btw [14:51] this logic on the undo path [14:51] of a refresh [14:53] yes [14:57] ijohnson: related to that the other important moving part is: snapstate.WaitRestart [14:59] PR core20#33 closed: writable-path: make /etc/machine-id writable [15:00] mborzecki: I will push up what I have on writing grub.cfg on ubuntu-boot from snapd so you can pick it up on monday if you have time [15:00] pedronis: yes indeed it's unclear where all we are currently covering the calls to boot from WaitRestart [15:01] ijohnson: some of the managers_test should reach that [15:01] degville: [offtopic] did you finish the game? [15:02] pedronis: yes but I don't know if we have enough coverage of it is my point [15:02] ijohnson: going out now, please ping in the review [15:02] mborzecki: ack [15:02] have a nice weekend [15:02] ijohnson: thanks, you too! [15:02] zyga: no, not yet. I've really been taking it slow, and playing it only on difficult, because I know it's not long. [15:03] degville: I'm very curious what's at the end [15:03] HL3 confirmed or what :D ? [15:03] but don't tell me [15:03] just tell me if it's worth that 1000 _once you know the ending_ [15:03] zyga: yeah, I've tried to skip all discussions about it so I don't know either. [15:05] ijohnson: it's main API, is GetCurrentBoot so maybe related to looking more at state, what we need is all the state about this boot env state transitions to end up checking what that does return [15:05] [off topic, cont.] I don't think there's any way it can warrant 1000 on its own. Despite being very good, it's an experiment in immersion more than anything. Which I think is the best VR can offer at the moment. But it is seeing City 17 from your own eyes, and totally convincing. [15:08] PR snapd#8416 closed: tests/session-tool: reset failed session-tool units [15:10] PR snapd#8419 opened: Add libnvidia-rtcore as Nvidia library [15:10] ijohnson: the main chain I think is always something like: SetNextBoot -> bootloader cfg -> initramfs -> MarkBootSuccessful -> GetCurrentBoot (-> undo or revert SetNextBoot) [15:11] ijohnson: that should be coverable from boot mostly, with a few managers_test on top to check actual integration [15:12] brb [15:15] ijohnson: so maybe the first step is actually to add checks for GetCurrentBoot results in the significant places in all the TestHappy in boot_test.go [15:18] PR snapd#8420 opened: httputil: increase testRetryStrategy max timelimit to 5s [15:27] re [15:35] can someone do a second review for 8103 please? [15:36] mvo: I'm on it [15:36] mid way [15:36] zyga: \o/ [15:36] zyga: thank you [15:38] PR snapd#8419 closed: Add libnvidia-rtcore as Nvidia library [15:44] PR snapd#8329 closed: interfaces: allow raw access to USB printers [15:46] PR snapcraft#2987 closed: spread tests: set appropriate default base in snapcraft.yamls [15:53] 7/9 files [15:55] https://github.com/snapcore/snapd/pull/8103#pullrequestreview-387367998 [15:55] PR #8103: snap-bootstrap: store encrypted partition recovery key [15:55] I can +1 if somone will follow up [15:56] would +1 except for https://github.com/snapcore/snapd/pull/8103#discussion_r403103510 [15:56] mvo: ^ === hggdh is now known as hggdh_ === hggdh_ is now known as hggdh__ === hggdh__ is now known as hggdh-msft [16:05] pedronis: sorry was in meetings [16:05] pedronis: how much of these additional tests do you want in the open PR? [16:06] ijohnson: should we have a quick HO? [16:06] pedronis: sure [16:06] SU? [16:06] yes [16:07] cool I'm there === facubatista is now known as Teclado === Teclado is now known as facubatista [16:08] zyga: addressing that [16:08] thanks [16:08] I can +1 if you do [16:12] zyga: test "$(stat --printf='%u %a' /var/lib/snapd/device/fde/recovery-key)" = "0 600" [16:12] on focal this is my path [16:12] /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/var/lib/snapd/snap/bin [16:12] note the duplicate /snap/bin [16:12] and the non-ubuntu /var/lib/snapd/snap/bin [16:12] can anyone confirm? [16:22] zyga: I have the same [16:22] thanks [16:22] probably one-too-many helpers [16:23] to be clear, I have the duplicated /snap/bin and non-ubuntu /var/lib/snapd/snap/bin too [16:23] ack [16:23] it's the same on bionic fwiw [16:25] fun [16:25] we must have done that earlier [16:25] I'll look on Monday [16:25] or maybe earlier [16:25] in our job interviews we should only have one question [16:26] How do you add one item to PATH [16:26] that will filter out everyone, including us [16:26] ;) [16:26] hooray [16:33] filed it just in case [16:39] mvo, cmatsuoka: https://github.com/snapcore/snapd/pull/8103#pullrequestreview-387413837 [16:39] PR #8103: snap-bootstrap: store encrypted partition recovery key [16:49] zyga: fixed as suggested, thanks [16:57] https://github.com/snapcore/snapd/pull/8418/checks#step:8:9 [16:57] PR #8418: github: move static checks and spread over [16:57] govendor cannot build on go from xenial? [17:05] mvo: do you remember why we depend on 1.9 and not 1.10? [17:10] zyga: centos 7 iirc [17:10] I see [17:10] oh well [17:10] I'll do something [17:10] I solved the silly go in azure [17:11] they pre populate GIGs of software into the image [17:11] zyga: if we run a spread unittest task everywhere I think we are also good [17:11] including go 1.11+ [17:11] I think we don't but I'll check [17:11] zyga, cmatsuoka thanks for working on 8103, looks like it's ready to go once tests have run [17:11] zyga: thanks! [17:12] heh [17:12] xenial cannot run our static checks [17:12] it's like moving in a maze [17:12] without lights [17:12] and knowing there are turds everywhere [17:12] zyga: xenial cannot run our static checks? why not? [17:12] https://github.com/snapcore/snapd/pull/8418/checks#step:10:18 [17:13] PR #8418: github: move static checks and spread over [17:13] because shellcheck in xenial is too old [17:13] we never noticed [17:15] zyga: woah, interessting [17:15] zyga: and sad [17:15] zyga: I thought travis would run those in xenial too - apparently not [17:15] everyone does custom shit [17:15] at least [17:16] and I really have to give them credit [17:16] github has excellent docs on what they do [17:16] and what's custom [17:17] * mvo nods [17:17] I wonder... [17:18] (insert harry potter mystery music) [17:19] mvo: check out https://github.com/snapcore/snapd/pull/8418/checks [17:19] PR #8418: github: move static checks and spread over [17:19] wow :) [17:20] PR snapcraft#3011 opened: repo: introduce install_source() and install_gpg_key() to Ubuntu [17:20] mvo: snapd work in azure [17:20] zyga: nice [17:20] *snaps [17:20] zyga: looking [17:20] so shellcheck snap [17:20] zyga: yay [17:20] zyga: is it still a problem where "/" is owned by the vsts user or something [17:21] ? [17:21] vsts? [17:21] test [17:21] yes [17:21] snap-confine will refuse to work [17:21] :-( [17:21] but I found someone to talk to about that on MS side [17:21] can I help? [17:22] I can CC you on my email [17:22] the problem before was that we couldn't find anyone to talk to about who manages this on the github/microsoft side [17:24] zyga: fun (not!) - the travis run for 8103 has not even started yet [17:25] heh [17:33] I pushed a comment there, might need formatting in a follow up [17:33] it seems master is broken [17:33] https://api.travis-ci.org/v3/job/670608294/log.txt [17:33] - google:ubuntu-core-20-64:tests/core/writablepaths [17:33] https://github.com/snapcore/snapd/pull/8103/files#diff-13724d8f1f88168c790f24aafb4d2d13R137 [17:33] PR #8103: snap-bootstrap: store encrypted partition recovery key [17:33] https://www.irccloud.com/pastebin/5FyicYVN/ [17:36] PR snapd#8421 opened: tests: enable unit tests on debian-sid again [17:39] cachio: could you please review https://github.com/snapcore/snapd/pull/8418 [17:39] PR #8418: github: move static checks and spread over [17:40] zyga, sure [17:40] thanks! [17:40] this will unlock more chance to improve things [17:40] accelerate team-wide feedback [17:41] and get rid of the 50 minute limit [17:47] zyga, where are these going to run? [17:47] your box? [17:47] no [17:47] those run in azure [17:47] in the normal gh runners [17:47] ahh [17:47] btw, mvo: I got 16GB of ram into my box so we could easily run those 32 runners for extra overflow capacity [17:48] there's some cruft to shed [17:48] mainly to make it faster [17:48] but that's all _after_ this one [18:08] PR snapcraft#3012 opened: plugins: install required apt sources and keys to system [18:13] zyga, left you some questions in the PR [18:14] and closed it by mistake [18:14] then I reopened it [18:16] cachio: :D [18:16] cachio: I replied [18:18] cachio: remember that this is a long term game: [18:18] cachio: we get instant responsiveness [18:18] cachio: we get faster end-to-end [18:18] cachio: we get lower costs [18:18] cachio: if we cut rebuilds this is even faster [18:18] cachio: essentially boot into a system and start away [18:19] I think it is ok with this new workflow and if someone complains in the future we can revert to the run all the systems+ in parallel [18:19] yeah [18:19] I think this will be faster than old workflow already [18:19] the good part is that if some system fails, we just restart this one [18:19] we... [18:19] not yet [18:19] github has this but it's not released yet [18:20] ahh [18:20] well in the future well save that money too [18:21] +1 [18:21] thanks! [18:21] let's improve it together [18:23] so far it worked very well [18:23] that's really possitive [18:28] PR snapd#8422 opened: tests: skip "/etc/machine-id" in "writablepaths" test <⚠ Critical> [18:29] zyga: ^- this will unbreak master [18:29] ta [18:29] looking [18:29] PR snapd#8417 closed: tests/session-tool: kill leaking closing session [18:30] hmm [18:31] core20 tests [18:31] when do we run them [18:31] in first boot? [18:34] zyga: we run core20 tests during run mode after we reboot [18:35] mvo: ^ [18:35] is this consistent with your patch? [18:37] zyga: yes "first boot" for uc20 -> first boot run mode [18:37] ahhh [18:37] there's also install mode, which is technically the "first" boot, but we don't call it that [18:37] install mode boot is more like the zeroth boot [18:40] zyga: yes [18:40] zyga: it's what maciej also saw, next reboot is fine for strange reasons [18:41] zyga: I think it happens when the /etc/machine-id is empty, then systemd gets confused somehow [18:41] systemd does have a first boot concept [18:41] not confuse [18:41] it's just a mode we never see in ubuntu [18:41] it's been normally used in fedora for a while IIRC [18:41] zyga: right, sorry, my wording was too strong [18:41] well [18:41] until now :) [18:43] https://www.freedesktop.org/software/systemd/man/systemd-firstboot.html [18:43] zyga: for 8418 I think we should try to also run go-latest unit tests in a GH runner and then remove the unit tests from travis entirely. but that is followup material it seems [18:43] go-latest? snap? [18:44] zyga: yes [18:44] zyga: sorry for being cryptic [18:44] sure thing [18:45] please don't apologize for anything :) [18:45] zyga: sorry [18:45] haha :) [18:45] :P [18:45] couldn't resist :) [18:45] After the machine ID is established, systemd(1) will attempt to save it to /etc/machine-id. If this fails, it will attempt to bind-mount a temporary file over /etc/machine-id. It is an error if the file system is read-only and does not contain a (possibly empty) /etc/machine-id file. [18:45] systemd-machine-id-commit.service(8) will attempt to write the machine ID to the file system if /etc/machine-id or /etc are read-only during early boot but become writable later on. [18:46] zyga: yeah, I think systemd is still a bit confused because it should be possible to save /etc/machine-id (unless it tries a save-and-atmoic-move [18:46] it may try too early perhaps? [18:46] I don't know [18:46] zyga: it still procceeds to the bind-mount step it seems [18:46] zyga: yeah, it's not clear from the docs, I am too lazy to look at the source [18:46] * mvo should probably do that still :( [18:46] maye not today [18:47] I think it's okay to EOD at 9PM on Friday [18:50] maybe, I still want a) master green b) recovery-key PR on master c) GH actions on master d) icecream! [18:52] mvo: e) pony [18:52] or pony ice cream, as you wish [18:52] zyga: nay, I'm vegetarian [18:53] it's like eating a very large lump of grass anyway [18:53] zyga: hahaha [19:12] I think gnome software is leaking [19:12] it's using more memory than FF does [19:12] the background service I don't even see [19:47] PR snapcraft#3011 closed: repo: introduce install_source() and install_gpg_key() to Ubuntu [20:07] zyga: I think travis defeated me for today, still no test run finished of my list of things I want so I will check back in my morning. have a good weekend [20:07] * mvo waves [20:07] o/ [20:42] PR snapd#8420 closed: httputil: increase testRetryStrategy max timelimit to 5s [20:43] PR snapd#8103 closed: snap-bootstrap: store encrypted partition recovery key [20:44] kyrofa: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XNKHAJAKFEJKMO46HJBSHPGMSUQLCWU5/ [20:50] King_InuYasha, yeah I saw it. That's what I get for waiting to respond I suppose [20:51] I actually resolved the needinfo ping before he sent that email, as you can see from the activity log he provided in the email :P [20:52] King_InuYasha, I wasn't going to respond to the email though, unless I should [20:53] kyrofa: you probably should, just be cordial and explain what's going on ;) [20:53] So I need to respond in multiple places? Not the most efficient of processes [20:54] kyrofa: nah, just respond in the main email and close out the bugs accordingly [20:57] the main email is to let the rest of the community know you're alive :) [21:11] PR snapd#8423 opened: tests: uc20 nested suite part II [21:41] PR snapd#8422 closed: tests: skip "/etc/machine-id" in "writablepaths" test <⚠ Critical> === tai271828_ is now known as tai271828 [23:51] PR snapd#8424 opened: cmd/snap-bootstrap/initramfs-mounts: cross-check partitions when mounting