[01:45] <mup> PR snapcraft#2638 closed: remote-build rebased on 3.7 <Created by cjp256> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/2638>
[04:44] <mup> PR snapd#7149 opened: cmd: add snap model command; daemon: add /v2/model, /v2/model/serial REST APIs <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/7149>
[05:16] <mborzecki> morning
[05:49] <mborzecki> zyga: mount-ns test failed in pedronis' #7147, i've restarted the job, but in case you want to inspect the log it's here: https://paste.ubuntu.com/p/VYHQhc6zhQ/
[05:49] <mup> PR #7147: client,cmd/snap: stop depending on status/status-code in the JSON responses in client <Created by pedronis> <https://github.com/snapcore/snapd/pull/7147>
[06:14] <mborzecki> rawhide daily cloud compose doesn't even boot on GCE :/
[06:24] <mborzecki> zyga: nvm, i looked at the log and it's /run/netns leaking which should already be fixed in master
[06:34] <zyga> good morning
[06:34] <zyga> mborzecki: I saw a failure last night, something leaks another mounted core
[06:35] <zyga> looking at the log now
[06:35] <zyga> mborzecki: hmm, odd, it is netns
[06:35] <zyga> I'll look
[06:35] <mborzecki> zyga: btw. that's how rawhide compose boots on GCE: https://paste.ubuntu.com/p/kKMwb6zgFW/
[06:36] <zyga> mborzecki: quickly :D
[06:36] <mborzecki> zyga: haha
[06:41] <zyga> I have an idea on how to find broken tests
[06:41] <zyga> But let me get coffee first
[06:44] <zyga> We can use something like HOST.txt to ensure the mount table is not corrupted at each step
[06:44] <zyga> I wish diff had a “first like difference” more
[06:44] <zyga> mode*
[06:58]  * zyga runs a quick test to look for leaky netns
[07:02] <zyga> hey pedronis, mvo
[07:06] <pedronis> zyga: here mount-ns failed: https://api.travis-ci.org/v3/job/562563021/log.txt  need to merge master?
[07:06] <mvo> hey zyga
[07:06] <zyga> pedronis: I'm debugging that, I assumed master _was_ merged and that some other test is leaking netns
[07:06] <zyga> pedronis: which PR is this?
[07:07] <zyga> pedronis: (that as in I got pinged by mborzecki earlier today and I'm running a scan of all the tests for netns leaking)
[07:07] <pedronis> completely innocent one, the ones that does make(chan error, 1)
[07:07] <zyga> ah, I remember it
[07:07] <zyga> give me 30 minutes please
[07:09] <pedronis> we have various red (many for different reasons)
[07:12] <zyga> brb
[07:17] <zyga> re
[07:45] <zyga> hmm, I ran a pass through all tests on Xenial, nothing leaked netns
[07:45]  * zyga checks the logic
[07:45] <zyga> pedronis: your PR must have the netns unmount patch landed before the mount-ns test landed
[07:46] <zyga> so I must be missing something
[07:46] <pedronis> I can try to merge master in it again, if that might help
[07:47] <pedronis> zyga: another one failed on mount-ns
[07:47] <pedronis> https://api.travis-ci.org/v3/job/562748283/log.txt
[07:48] <pedronis> also recent
[07:49] <zyga> oh, that's odd
[07:49] <zyga> something remounted /dev/pts
[07:50] <zyga> different mode, different gid
[07:50] <zyga> oh boy :)
[07:50] <zyga> our tests are doing interesting stuff
[07:51] <pedronis> I know snap-confine does things with dev/pts
[07:51] <pedronis> I don't see it mentioned in the yaml
[07:51] <zyga> not on the host
[07:51] <zyga> this is the HOST filesystem
[07:52] <zyga> nothing should change that
[07:52] <mvo> zyga: 7148 also fails in mount-s
[07:53] <mvo> zyga: mount-ns with the unified cgroup being "nsdelegate"
[07:53] <zyga> hmmm, perhaps I should switch it to manual
[07:53] <zyga> it seems there are lot of tests that leak here and there
[07:53] <zyga> and running the test dozens of times before was not enough
[07:53] <zyga> ideally I'd run a sequence of (a, mount-ns) for a in all tests
[07:53] <mvo> and fails on ubuntu-core-16 with a bigger diff
[07:54] <pedronis> yea, seems premature to have it on
[07:57] <zyga> https://github.com/snapcore/snapd/pull/7150
[07:57] <mup> PR #7150: tests: switch mount-ns test to manual <Created by zyga> <https://github.com/snapcore/snapd/pull/7150>
[07:57] <zyga> please merge it
[07:58] <mup> PR snapd#7150 opened: tests: switch mount-ns test to manual <Created by zyga> <https://github.com/snapcore/snapd/pull/7150>
[08:02] <mborzecki> at least it's good that we're catching things
[08:04] <ogra> mvo, pedronis do we have a way to use the force-reboot in snapd for non-snap upgrades ... it just struck me that we allow "snap set system someconfigtxt-option foo" on RPi which should theoretically always use a reboot to make the bootloader config change active
[08:05] <pedronis> ogra: only upgrades of core or kernels reboot atm
[08:05] <mborzecki> jdstrand: worked on the idea from your blog post about preparing images for local spread, came up with this cloud init config https://gist.github.com/bboozzoo/f14302d4fc3418200fe28a2d547d3780
[08:05] <ogra> right, but is it a function that could easily be used here ?
[08:05] <pedronis> not without some thinking/design
[08:06] <pedronis> it strange to schedule a reboot from just a set
[08:06] <ogra> ah. k
[08:06] <ogra> sure, but in this case it is a bootloader config you are changing
[08:07] <zyga> mvo: you mentioned that Sergio had a branch of spread that can run a sequence without randomised fuss?
[08:08] <pedronis> zyga: yes, he spoke about it, you probably can ask him were it lives, don't know if there's PR
[08:08] <pedronis> or it's just local to him
[08:31] <Chipaca> mvo: gentle reminder about #7142
[08:31] <mup> PR #7142: boot, o/snapst, o/devicest: limit knowledge of boot vars to boot <Created by chipaca> <https://github.com/snapcore/snapd/pull/7142>
[08:31] <Chipaca> ubuntulog2: ubuntulog3: WAT
[08:31] <zyga> jamesh: ack, I'll look
[08:31] <mborzecki> zyga: finally running the whole suite locally with fedora rawhide image
[08:31] <jamesh> thanks
[08:31] <zyga> jamesh: thank you :)
[08:32] <jamesh> zyga: I've updated the icon theme PR now that EnsureTreeState is merged.  Once it passes CI, it is probably ready for a real review.
[08:32] <zyga> jamesh: super
[08:32] <zyga> mvo: https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=snapd :-(
[08:33] <pedronis> jamesh: thanks
[08:33] <zyga> jamesh: I see what happened there, it's my fault, sorry; I'll re-trigger it after the new test is disabled
[08:37] <zyga> two more buggy tests found
[08:45] <mup> PR snapd#7151 opened: tests: remove local revision of core <Created by zyga> <https://github.com/snapcore/snapd/pull/7151>
[08:45] <mup> PR snapd#7152 opened: tests: unmount leftover /run/netns <Created by zyga> <https://github.com/snapcore/snapd/pull/7152>
[08:46] <zyga> Chipaca, pedronis: ^ those are the two leakers
[08:47]  * zyga looks for more
[08:59] <mborzecki> ehh, why does spread not include -smp <some-reasonable-number> in qemu command line
[09:01] <zyga> mborzecki: I patched my local build but yeah
[09:01] <zyga> mborzecki: also "kvm" is a debian specific thing, I don't have it on suse
[09:01] <mborzecki> zyga: heh, have a wrapper :P
[09:55] <mup> PR snapd#7150 closed: tests: switch mount-ns test to manual <Created by zyga> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/7150>
[10:01] <mup> PR snapd#7153 opened: gadget: select the right updater for given structure <Gadget update> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7153>
[10:04] <zyga> Chipaca: https://github.com/snapcore/snapd/pull/7151/files updated
[10:04] <mup> PR #7151: tests: remove local revision of core <Created by zyga> <https://github.com/snapcore/snapd/pull/7151>
[10:05] <zyga> found two more leaky tests
[10:10] <Chipaca> zyga: what happens if you force the mount-ns test to run after everything else?
[10:10] <zyga> Chipaca: how do I force it?
[10:10] <zyga> Chipaca: I didn't try but I'm working around the issue by running a variant of that test in prepare/restore logic
[10:10] <zyga> it triggers instantly on flaky tests
[10:11] <zyga> I'm expanding how much I measure so that I can fix issues one by one rather than see a wall of tests to look at
[10:11] <Chipaca> zyga: priority: 1 or something?
[10:11] <zyga> Chipaca: uh?
[10:11] <Chipaca> ah
[10:11] <zyga> no idea
[10:11] <Chipaca> zyga: priority: -100
[10:11] <Chipaca> zyga: default priority is 0
[10:11] <Chipaca> zyga: bigger numbers → runs earlier
[10:11] <zyga> I can try
[10:11] <Chipaca> zyga: negative numbers are supported
[10:12] <zyga> thanks for the idea :)
[10:12] <Chipaca> this is backwards from what i'd expect of a priority, but it's documented :-)
[10:12] <Chipaca> zyga: https://github.com/snapcore/spread/#ordering-tasks
[10:16] <mup> PR snapd#7154 opened: packaging/debian-sid: merge debian upload changes back into master <Created by mvo5> <https://github.com/snapcore/snapd/pull/7154>
[10:28] <mup> PR snapcraft#2637 closed: unit tests: make lifecycle tests more robust <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2637>
[10:30] <mup> PR snapd#7152 closed: tests: unmount leftover /run/netns <Created by zyga> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7152>
[10:31] <mup> PR snapcraft#2539 closed: errors: Add InvalidAppCommand errors for non-existent and not-found <Created by clobrano> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2539>
[10:32] <clobrano> \0/
[11:07] <mborzecki> hm gadget updates is down to 2-3 patches at most now (not counting snap-image)
[11:09] <mup> PR snapd#7155 opened: tests: remove locally installed core in more tests <Created by zyga> <https://github.com/snapcore/snapd/pull/7155>
[11:15] <mborzecki> pedronis: https://github.com/snapcore/snapd/pull/7147 is green, merge?
[11:15] <mup> PR #7147: client,cmd/snap: stop depending on status/status-code in the JSON responses in client <Created by pedronis> <https://github.com/snapcore/snapd/pull/7147>
[11:16] <pedronis> mborzecki: yes, please
[11:16] <mup> PR snapd#7147 closed: client,cmd/snap: stop depending on status/status-code in the JSON responses in client <Created by pedronis> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7147>
[11:25] <pedronis> thx
[11:26] <Chipaca> 1hr18min travis run
[11:26] <Chipaca> go, worker, go!
[11:26]  * Chipaca ⇝ lunch
[12:06] <mborzecki> anyone seen this? https://paste.ubuntu.com/p/4KyGXgvXpy/ initialize-device failing on f31 in some weird way
[12:08] <ogra> why would f31 (assuming classic) do initialize-device at all ?
[12:08] <pedronis> ogra: ?
[12:09] <ogra> isnt that a core thing ?
[12:09] <pedronis> no, it's classic too
[12:09] <ogra> oh, i'm mixing it up ...
[12:09] <ogra> sorry
[12:09] <pedronis> both seeding and registration exist both on classic and core
[12:10] <ogra> yeah
[12:13] <zyga> mborzecki, pedronis: is that sensitive to gpg on the system?
[12:13] <mup> PR snapcraft#2639 opened: deprecations: add deprecation notice for version-script (dn10) <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2639>
[12:14] <pedronis> zyga: no, we don't use gpg on prod system, only the development tooling
[12:14] <pedronis> uses it
[12:14] <pedronis> we use ssh-keygen though
[12:14] <pedronis> I think
[12:15] <zyga> aha
[12:17] <pedronis> a 2nd review of #7128 would be great (it's small but might need somebody that looked at remodeling code before)
[12:17] <mup> PR #7128: overlord: DeviceCtx must find the remodel context for a remodel change <Remodel :train:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/7128>
[12:24] <mup> PR # closed: snapd#7142, snapd#7143, snapd#7145, snapd#7148
[12:31] <mup> PR snapcraft#2640 opened: cli: improve help for push-metadata <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2640>
[12:34] <mup> PR snapcraft#2641 opened: ant plugin: correct default channel and improve help <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2641>
[12:53] <ijohnson> pedronis: thanks for the review on 7149
[12:54] <ijohnson> pedronis: do you have any recommendations on how to test actually remodelling? is there an easy way to do so on classic, or should I build my own core image with a self signed model assertion and then update the model assertion?
[12:55] <pedronis> ijohnson: it's complicated in both cases, we don't let remodel devices that don't have a serial
[12:57] <pedronis> well that might be overstating it, but interesting kind of remodeling probably don't work or shouldn't without a serial
[13:01] <pedronis> ijohnson: btw regarding output of snap commands, Chipaca is probably the best person to discuss things with
[13:01] <pedronis> (related to my yaml-like output comments)
[13:01] <ijohnson> ack, thanks
[13:04] <jdstrand> mvo: hey, could you (assign someone to?) respond to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932815
[13:04] <jdstrand> not sure why buster wasn't updated for a newer snapd 2.38 and don't know the plans, otherwise I would've
[13:04] <jdstrand> s/a newer/the newer/
[13:09] <Chipaca> mvo: btw, wdyt? https://bugs.launchpad.net/snapd/+bug/1837460
[13:09] <Chipaca> mvo: (post-standup)
[13:09] <mup> Bug #1837460: snap refresh slows down computer dramatically <snapd:New> <https://launchpad.net/bugs/1837460>
[13:11] <jdstrand> ackk: I haven't circled back around to https://launchpad.net/bugs/1831473, but should today
[13:12] <mup> Bug #1831473: Can't run /usr/bin/systemd-detect-virt from inside snap <maas> <snapd:New for jdstrand> <https://launchpad.net/bugs/1831473>
[13:12] <ackk> jdstrand, hi, thanks!
[13:13] <ackk> jdstrand, btw is there a way to strace a process run from a "snap run --shell" ?
[13:13] <ackk> jdstrand, I've resorted to creating a shell script that basically prints the pid, calls "read" and then execs the actual command, so I can attach with strace, but it's a bit cluncky :)
[13:19] <Chipaca> ackk: no
[13:19] <Chipaca> ackk: because by the time you're in the shell inside you can't strace
[13:26] <mup> PR snapd#7154 closed: packaging/debian-sid: merge debian upload changes back into master <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7154>
[13:41] <mvo> jdstrand: I uploaded 2.40 to unstable now
[13:41] <mvo> jdstrand: but that does not help, does it?
[13:42] <mvo> Chipaca: oh, interessting
[13:42] <mup> PR snapd#7156 opened: packaging/debian: use correct version for apparmor Depends <Created by jdstrand> <https://github.com/snapcore/snapd/pull/7156>
[13:47] <mup> PR snapd#7156 closed: packaging/debian: use correct version for apparmor Depends <Created by jdstrand> <Closed by jdstrand> <https://github.com/snapcore/snapd/pull/7156>
[13:51] <jdstrand> mvo: it doesn't help buster, no
[13:51] <mup> PR snapd#7157 opened: packaging/debian-sid: use correct apparmor Depends for Debian <Simple 😃> <Created by jdstrand> <https://github.com/snapcore/snapd/pull/7157>
[13:51] <jdstrand> mvo: fyi, https://github.com/snapcore/snapd/pull/7157
[13:51] <mup> PR #7157: packaging/debian-sid: use correct apparmor Depends for Debian <Simple 😃> <Created by jdstrand> <https://github.com/snapcore/snapd/pull/7157>
[13:51] <zyga> brb
[13:52] <jdstrand> mvo: (unrelated to that Debian bug. just something I noticed was incorrect
[13:52] <jdstrand> )
[13:52] <mvo> jdstrand: nice
[13:53] <cachio> zyga to use the spread I sent you just use
[13:54] <cachio> do -> spread -order <test list>
[13:54] <cachio> this will execute the tests following the order in the order list
[13:54] <cachio> also you should use -workers 1
[13:55] <cachio> this will make to use 1 worker so you don't need to update hte spread.yaml
[13:55] <cachio> please, tell me if you have any problem
[13:59] <ackk> Chipaca, I see so I guess the script trick is the only way
[14:07] <zyga> re
[14:07] <zyga> cachio: thanks! is your patch close to being merged usptream?
[14:07] <cachio> zyga, no
[14:08] <zyga> oh, why not?
[14:08] <cachio> zyga, need reviews
[14:08] <cachio> there are 2 PR related to this
[14:08] <zyga> understood
[14:08] <cachio> 1 for the order
[14:08] <cachio> 1 for setting the number of workers
[14:09] <cachio> also you can use -show-output if you want to see the output on real time
[14:10] <cachio> zyga, once we are able to run spread tests on google on any PR it will be really easy to add tests for all these features and make sure they work well
[14:11] <zyga> cachio: ping us for reviews
[14:11] <zyga> I'm sure both me and mborzecki would happily review that
[14:12] <cachio> zyga, ok, once I add the tests for validating those features I'll ping you for a review for sure
[14:12] <cachio> mvo, any news about the spread tests on gce?
[14:12] <cachio> is the key enabled?
[14:22]  * zyga takes a break while tests run
[14:25] <mup> PR snapd#7088 closed: tests: manually stop the gvfsd-metadata process <Created by sergiocazzolato> <Closed by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7088>
[14:28] <mborzecki> zyga: running test 72/353
[14:31] <zyga> 7/350
[14:34] <ogra> =0.02
[15:17] <mup> PR snapd#7146 closed: UC20: cmd/snap-verify: sketch of snap-verify <Created by pedronis> <Closed by pedronis> <https://github.com/snapcore/snapd/pull/7146>
[15:23] <mup> PR snapd#7146 opened: UC20: cmd/snap-verify: sketch of snap-verify <Created by pedronis> <https://github.com/snapcore/snapd/pull/7146>
[15:24] <Chipaca> did we ever get back to #6679
[15:24] <Chipaca> ?
[15:24] <mup> PR #6679: many: implement user removal <Created by cmatsuoka> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/6679>
[15:29] <mup> PR snapd#7158 opened: tests: part5 making tests work on ubuntu-core-18 <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7158>
[15:30]  * cachio lunch
[15:48] <ogra> ARGH !
[15:48] <ogra> so multipass eats 100% CPU after a reboot of my laptop ... since i dont use it anyway (i did a few times though and there are a few GB of images apparently) i thought i'D remove it ...
[15:49] <ogra> ogra@acheron:~$ snap remove multipass
[15:49] <ogra> Save data of snap "multipass" in automatic snapshot set #1                                                    \error: cannot perform the following tasks:
[15:49] <ogra> - Save data of snap "multipass" in automatic snapshot set #1 (tar failed: context canceled)
[15:49] <ogra> ogra@acheron:~$ snap remove --purge multipass
[15:49] <ogra> error: unknown flag `purge'
[15:49] <ogra> (indeed i ctrl-C'ed the first command)
[15:49] <ogra> how do i proceed to get it gone ?
[16:09] <cmatsuoka> Chipaca: not yet, it was preempted by core20
[16:10] <ijohnson> ogra: refresh core snap to edge
[16:10] <ijohnson> then you have --purge
[16:10] <ijohnson> otherwise you can set the core config option to never save snapshots
[16:11] <ijohnson> snap set system snapshots.automatic.retention=no
[16:13] <ogra> ijohnson, ah, thanks ...
[16:14]  * ogra does the latter
[16:25]  * zyga runs some more tests with more checks 
[17:11]  * zyga is upset a bit 
[17:11] <zyga> checking again
[17:11] <mup> PR snapcraft#2642 opened: remote-build: detect early build errors <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2642>
[17:59] <zyga> yess
[17:59] <zyga> finally
[18:00] <mup> PR snapd#7157 closed: packaging/debian-sid: use correct apparmor Depends for Debian <Simple 😃> <Created by jdstrand> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7157>
[18:40] <zyga> mborzecki: making good progress here :)
[18:41] <zyga> mborzecki: cannot wait to see this pass everything
[18:41] <mborzecki> zyga: hm? hm?
[18:41] <zyga> mborzecki: iterating on the dirty test detector, got it in the right spot now, fixing tests as I go :)
[18:41] <zyga> mborzecki: even the diff it produces is super readable
[18:41] <mborzecki> zyga: aah
[18:42] <mborzecki> zyga: btw. looking at spread logs, lxd seems to have problems with cgroupsv2
[18:43] <zyga> mborzecki: would be worth asking stgraber
[18:44] <mborzecki> zyga: https://paste.ubuntu.com/p/Cz7qszmxPD/
[18:45] <zyga> IO error
[18:45] <zyga> could be anything
[18:45] <zyga> but yeah, worth looking
[18:52] <cachio> zyga, hey, do you know any way to do iptables on core?
[18:52] <cachio> is there a snap for that?
[18:52] <zyga> cachio: I don't know, perhap with one of the newer tools
[18:52] <zyga> but I haven't used any for a very long time
[18:53] <zyga> nftables? not sure
[18:54] <cachio> zyga, I'll try that
[18:54] <cachio> thanks
[18:59] <mup> PR snapcraft#2641 closed: ant plugin: correct default channel and improve help <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2641>
[20:00] <mvo> cyphermox:  quick question about "semaphoreci", I pushed pr#93 to netplan but it needs a new build-dependency - can I add this somehow myself (i.e. is there something equivalent to .travis.yml)
[20:17] <mup> PR snapcraft#2640 closed: cli: improve help for push-metadata <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2640>
[20:50] <zyga> 419/426
[20:50] <zyga> all passed
[20:54]  * zyga tweaks the detector to be more strict and re-runs
[20:54] <zyga> I think now all tests are 100% good in not leaking mounts
[20:54] <zyga> but we'll see
[21:21] <mup> PR snapd#7159 opened: tests: add functions to make an abstraction for the snaps <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7159>
[22:51] <mup> PR snapcraft#2643 opened: project, cli: clean up snap asset messages <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2643>