/srv/irclogs.ubuntu.com/2019/09/24/#snappy.txt

=== arnatious_ is now known as arnatious
mupPR snapd#7496 opened: tests: move "centos-7" to unstable systems <Created by mvo5> <https://github.com/snapcore/snapd/pull/7496>04:43
mborzeckimorning05:06
mborzeckimvo: hi, can you take a look at https://github.com/snapcore/snapd/pull/7475 ?05:18
mupPR #7475: sandbox/cgroup, usersession/userd: move cgroup related helper to a dedicated package <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7475>05:18
mvomborzecki: sure05:18
mvomborzecki: I pushed a PR to move centos-7 to unstable05:18
mvomborzecki: if we do it we need to add a trello card too to re-enable it when we can05:18
mborzeckimvo: saw that and approved :) thank you!05:18
mborzeckimvo: we're not the only ones observing this problem: https://bugs.centos.org/view.php?id=16441#c3520205:19
mvomborzecki: nice05:19
mvomborzecki: if its between ystemd-219-67.el7_7.1 -> systemd-219-67.el7)  it should be easy to debug hopefully05:20
mborzeckimvo: well, they just import the latest source dump from rhel in a single commit https://git.centos.org/rpms/systemd/c/9ab0c50975feeee399ced5d356cc79b9c1a9ce69?branch=c7 :/05:23
mvomborzecki: uh, ok05:25
mvomborzecki: still, "just" 15ish patches, should be easy to bisect05:25
mvomborzecki: for them, not for us :)05:25
mborzeckimhm05:26
mborzeckimvo: centos 8 should be coming out today :)05:27
=== juergh_ is now known as juergh
zygahey guys06:07
zygasmall update, I'm going to take the swap day today06:07
mborzeckizyga: hey06:07
zygalucy has a fever and I think I'm getting one too06:07
mvohey zyga06:07
mvozyga: uh, get well!06:08
zygaI'll talk to Gosia and get back to you soon06:08
mvozyga: ok - quick Q did we get an update on the not-quite rebooting pi :/ ?06:11
zygamvo: we only know fractions, it doesn't die all the time, the journalctl --list-boots showed it booting up several times a day (though we don't know if timestamps are true), I have a journal to go through and AFAIK it's still on older version of core18 and snapd06:12
zygamvo: about fsck, there's some more information on https://forum.snapcraft.io/t/core18-shortcoming-missing-fsck-vfat-for-boot-fat-partition/1327606:13
zygamvo: at this point I'd like to clone the entire pi (I have the same model available now)06:13
zygarogpeppe: ^^^ could you consider cloning the SD card of your pi for analysis? If so we can craft a script that will DD the card out while briefly re-mounting / to ro06:15
rogpeppezyga: sure, np06:15
* mvo hugs rogpeppe 06:15
mvozyga, rogpeppe THANK YOU so much06:16
zygamvo: I'll craft the script and share it with rogpeppe, testing it on my devices locally06:16
zygamvo: depending on how I feel today that may be my "swap day"06:16
rogpeppezyga: it might take a while to fetch it though, as it's behind a crappy net connection06:16
zygarogpeppe: I'll make sure to include compression :)06:16
rogpeppezyga: good plan. xz probably isn't worth it though, given the h/w :)06:17
mvozyga: thanks, yeah, if you feel unwell, take time off :)06:17
mupPR snapd#7464 closed: snapstate: add missing tests for checkGadgetOrKernel <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7464>06:52
mborzeckimvo: i'm looking into why snap-run test sometimes works or gets stuck on arch, and it's really weird07:04
mborzeckimvo: /usr/lib/snapd/snap-exec test-snapd-tools.echo hello appears to be stuck07:05
mborzeckimvo:  can't connect strace/perf trace nor gdb, /proc/<pid>/status shows it's stuck in D state07:05
mborzeckimvo: afaik it's uninterruptible sleep on the kernel side07:06
mvomborzecki: uh, so its a real issue? probably just manifests itself when we attach strace?07:07
mborzeckimvo: probably, wodnering if i can tigger kernel side task dump without bringing down the whole system07:08
mvomborzecki: IDK, sry :/07:08
mvomborzecki: different topic, there was  a "snap run --explain" mockup during the sprint. was this a gdoc and if so, do you have the link?07:10
mborzeckimvo: i think zyga added it in the sprint notes07:10
mborzeckimvo: https://paste.ubuntu.com/p/8nVzj8Sqfq/ kernel dump of blocked tasks, only strace and snap-exec, and have a bunch of those07:12
mvomborzecki: right, what I see there is less detailed than what I remember seeing on the screen. *but* I was in some different meeting so I may be wrong07:12
mborzeckimvo: notice how snap exec with pid 245937 is stuck in do_execve.../load_elf_binary07:13
mvomborzecki: interessting flush_old_exec seems to be a bit of a pattern07:13
pstolowskimorning!07:16
zygamvo: it was in the sprint notes07:21
zygamvo: you probably remember the "EX:" prefix07:21
zygamvo: it was later removed after review07:21
zygamvo: it starts on page 1907:22
mborzeckipstolowski: hey07:30
mborzeckizyga: look at the kernel task dump i pasted above ^^07:31
mborzeckimvo: so i tried bind mounting /bin/true from the host over snap-exec in the core snap, and wasn't able to reproduuce this anymore, similarly no luch when i bind mounted true from the core snap07:31
zygamborzecki: I'm out of sync, can you refresh my memory please07:33
mborzeckizyga: on arch, when running snap run --strace it'd sometimes get stuck, similarly snap run --trace-exec would not list snap-exec in theoutput07:34
mborzeckizyga: so i tried running the same command as we use in tests in a loop, and was able to see it getting stuck, apparently, in the process tree, snap-exec ends up in D state07:34
zygaD as in IOWAIT07:35
mborzeckiyeah07:35
mvozyga: aha, thanks, thats fine. I was wondering where the EX went to :)07:37
zygamvo: it was removed during the review07:40
mvozyga: thats fine, thanks for the explaination07:42
mborzeckihttps://lore.kernel.org/patchwork/patch/719314/08:07
mborzeckistrace lockup when tracing exec in go08:07
mborzeckiheh, and tracing that trivial Go program gets stuck08:13
* pstolowski quick errand, bbiab08:14
Chipacamborzecki: that's why the recommended strace has a bunch of exceptions08:16
Chipacamborzecki: the "-e !select,pselect6,_newselect,clock_gettime,sigaltstack,gettid,gettimeofday,nanosleep" thing is not just laziness :-)08:16
mborzeckiChipaca: strace -f -e execve gets stuck too08:19
Chipacapoor strace08:19
mupPR snapd#7497 opened: tests: listing test, make accepted snapd/core versions consistent <Created by pedronis> <https://github.com/snapcore/snapd/pull/7497>08:27
mvomborzecki: nice, it even has a kernel patch - except its from 2016 :/08:30
mborzeckimvo: yeah, i'll just skip the strace related parts of the test on arch, no need to break the whole spread run08:31
mvomborzecki: did the patch got applied and we just happen to hit a new issue?08:31
mborzeckimvo: afaik, the patch was not applied08:31
mborzeckimvo: and don't really feel like debugging this any further is useful :/08:32
mvomborzecki: yeah, thats fine. I wonder if we could point our kernel people to the diff08:33
mvoI mean, if its really fixing the problem might be worthwhile to upstream it08:34
mvomborzecki: our strace is only working because we do a bunch of !excludes08:34
mvomborzecki: but not high priority I guess, but given that arch is usually ahead a bit we might seen it soon on ubuntu too :/08:34
mborzeckimvo: unless it's magically patched, reading the lkml thread, there's some confusion about which change fixed or masked the problem, so the issue is probably more complex than it seems08:35
mvomborzecki: ok, I did not read the full thread so yeah, lets ignore it for now :(08:36
=== pedronis_ is now known as pedronis
pedronismvo: (repeating in case, I got disconnected) well if it's in the end is a kernel problem and it hits ubuntu we would need to involve the kernel team08:38
mborzeckipedronis: eoan is on 5.3?08:40
mupPR snapd#7498 opened: tests/main/snap-run: disable strace test cases on Arch <Simple 😃> <Test Robustness> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7498>08:40
mvopedronis: yes08:40
mborzeckii'll do a quick run and check if it hapens on eoan too, if so i'll file a bug in PL08:42
mborzeckiLP08:42
mborzeckiin the meantime, 7498 should help with the failures08:42
mupPR snapd#7496 closed: tests: move "centos-7" to unstable systems <Created by mvo5> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7496>08:49
mborzeckipedronis: mvo: there's no going to be pre2.1 right? :D08:50
mvomborzecki: unlikely - Samuele says NO :)08:50
mborzeckihaha ok08:50
mupPR snapd#7475 closed: sandbox/cgroup, usersession/userd: move cgroup related helper to a dedicated package <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7475>08:51
Chipacapedronis: your input would be appreciated on https://forum.snapcraft.io/t/feature-request-extend-length-of-version-string/13335?u=chipaca08:55
=== pedronis_ is now known as pedronis
pedronisChipaca: I put in my queue, there's no easy answer though09:02
pedronismvo: still red travis ?09:18
mborzeckipedronis: try merging master, the pr moving centos to unstable has landed09:18
Chipacawoo, parliament woo09:40
* Chipaca watching the news09:40
ChipacaI think I need a drink, that was intense09:46
* Chipaca gets a glass of water09:46
zygaChipaca: what happened?09:49
* zyga checks the guardian09:49
popeyProrogation ruled unlawful, it never happened09:50
Chipacazyga: 11 judges, unanimously, told the gov'mnt to stuff it09:50
zygaholly smokes09:50
Chipacaikr09:51
zygawell, it's like adding anti-matter to a fire09:51
zygait's helping to put it out, in a way09:51
Chipacalooks like a GE or a 2nd ref, with odds heavily on a GE09:55
mborzeckimvo: good news (?), strace gets stuck on eoan too09:57
Chipacamborzecki: https://media.giphy.com/media/3o7abA4a0QCXtSxGN2/giphy.mp409:58
mborzeckihaha :P09:58
mvomborzecki: oh no10:13
mvomborzecki: or yes10:13
mborzeckimvo:  filed https://bugs.launchpad.net/ubuntu/+source/linux/+bug/184518010:17
mupBug #1845180: strace deadlock when tracing a trivial Go program <linux (Ubuntu):New> <https://launchpad.net/bugs/1845180>10:17
ograppisati, here is one for you ... https://forum.snapcraft.io/t/watchdog-soft-lockup/1337510:23
ogra(has an lp bug at the end)10:23
mborzeckihmm https://media.ccc.de/v/ASG2019-145-distributing-freedesktop-sdk-applications-to-flatpak-snapd-and-docker10:23
mborzeckiisn't that they guy who posted about freedesktop base snap in the forums?10:24
Chipacasergiusens: is having the manifest the default in snapcraft now, or does it need a flag?10:26
popeyyes10:26
Chipacaogra: I took <thing> and did <three things that are all impossible to do with thing>, and now <event that has no causal connection to the thing>! fix it!10:30
* Chipaca stops forum'ing10:31
ograChipaca, haha10:38
pstolowskiSaviq: woah @multipass on mac :). also, seems to be running fine alongside vmware fusion10:40
=== pfsmorigo_ is now known as pfsmorigo
mupPR pc-amd64-gadget#10 closed: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/10>11:17
mupPR # closed: core-build#11, core-build#22, core-build#26, core-build#37, core-build#48, core-build#5111:17
mupPR pc-amd64-gadget#11 opened: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/11>11:19
mupPR # opened: core-build#11, core-build#22, core-build#26, core-build#37, core-build#48, core-build#5111:19
mupPR # closed: snapd#5822, snapd#6108, snapd#6174, snapd#6258, snapd#6436, snapd#6666, snapd#6708, snapd#7079, snapd#7092, snapd#7129, snapd#7146, snapd#7166, snapd#7168, snapd#7193, snapd#7197, snapd#7205, snapd#7222, snapd#7228, snapd#7233, snapd#7238, snapd#7256, snapd#7261, snapd#7266,11:19
mupsnapd#7277, snapd#7286, snapd#7302, snapd#7320, snapd#7348, snapd#7355, snapd#7366, snapd#7367, snapd#7377, snapd#7402, snapd#7414, snapd#7416, snapd#7417, snapd#7421, snapd#7424, snapd#7430, snapd#7431, snapd#7434, snapd#7436, snapd#7437, snapd#7438, snapd#7441, snapd#7443, snapd#7445, snapd#7447,11:19
mupsnapd#7454, snapd#7456, snapd#7462, snapd#7467, snapd#7468, snapd#7469, snapd#7470, snapd#7484, snapd#7486, snapd#7490, snapd#7495, snapd#7497, snapd#749811:19
mupIssue # closed: core18#56, core18#86, core18#89, core18#117, core18#129, core18#13711:19
mupPR # closed: core18#43, core18#72, core18#90, core18#98, core18#126, core18#13411:19
mupPR core#83 closed: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>11:20
mupPR # opened: snapd#5822, snapd#6108, snapd#6174, snapd#6258, snapd#6436, snapd#6666, snapd#6708, snapd#7079, snapd#7092, snapd#7129, snapd#7146, snapd#7166, snapd#7168, snapd#7193, snapd#7197, snapd#7205, snapd#7222, snapd#7228, snapd#7233, snapd#7238, snapd#7256, snapd#7261, snapd#7266,11:20
mupsnapd#7277, snapd#7286, snapd#7302, snapd#7320, snapd#7348, snapd#7355, snapd#7366, snapd#7367, snapd#7377, snapd#7402, snapd#7414, snapd#7416, snapd#7417, snapd#7421, snapd#7424, snapd#7430, snapd#7431, snapd#7434, snapd#7436, snapd#7437, snapd#7438, snapd#7441, snapd#7443, snapd#7445, snapd#7447,11:20
mupsnapd#7454, snapd#7456, snapd#7462, snapd#7467, snapd#7468, snapd#7469, snapd#7470, snapd#7484, snapd#7486, snapd#7490, snapd#7495, snapd#7497, snapd#749811:20
mupIssue # opened: core18#56, core18#86, core18#89, core18#117, core18#129, core18#13711:20
mupPR # opened: core18#43, core18#72, core18#90, core18#98, core18#126, core18#13411:20
mupPR snapd#7416 closed: seed/seedwriter: start of Writer and internal policy16/tree16 <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7416>11:23
mupPR # closed: snapd#5822, snapd#6108, snapd#6174, snapd#6258, snapd#6436, snapd#6666, snapd#6708, snapd#7079, snapd#7092, snapd#7129, snapd#7146, snapd#7166, snapd#7168, snapd#7193, snapd#7197, snapd#7205, snapd#7222, snapd#7228, snapd#7233, snapd#7238, snapd#7256, snapd#7261, snapd#7266,11:24
mupsnapd#7277, snapd#7286, snapd#7302, snapd#7320, snapd#7348, snapd#7355, snapd#7366, snapd#7367, snapd#7377, snapd#7402, snapd#7414, snapd#7417, snapd#7421, snapd#7424, snapd#7430, snapd#7431, snapd#7434, snapd#7436, snapd#7437, snapd#7438, snapd#7441, snapd#7443, snapd#7445, snapd#7447, snapd#7454,11:24
mupsnapd#7456, snapd#7462, snapd#7467, snapd#7468, snapd#7469, snapd#7470, snapd#7484, snapd#7486, snapd#7490, snapd#7495, snapd#7497, snapd#749811:24
mupIssue # closed: core18#56, core18#86, core18#89, core18#117, core18#129, core18#13711:24
mupPR # closed: core18#43, core18#72, core18#90, core18#98, core18#126, core18#13411:24
mupPR # closed: snapcraft#2229, snapcraft#2239, snapcraft#2413, snapcraft#2518, snapcraft#2544, snapcraft#2658, snapcraft#2672, snapcraft#2673, snapcraft#2677, snapcraft#2678, snapcraft#2696, snapcraft#2697, snapcraft#2699, snapcraft#2707, snapcraft#2709, snapcraft#2710, snapcraft#2727, snapcraft#272911:25
mupPR # opened: snapd#5822, snapd#6108, snapd#6174, snapd#6258, snapd#6436, snapd#6666, snapd#6708, snapd#7079, snapd#7092, snapd#7129, snapd#7146, snapd#7166, snapd#7168, snapd#7193, snapd#7197, snapd#7205, snapd#7222, snapd#7228, snapd#7233, snapd#7238, snapd#7256, snapd#7261, snapd#7266,11:25
mupsnapd#7277, snapd#7286, snapd#7302, snapd#7320, snapd#7348, snapd#7355, snapd#7366, snapd#7367, snapd#7377, snapd#7402, snapd#7414, snapd#7417, snapd#7421, snapd#7424, snapd#7430, snapd#7431, snapd#7434, snapd#7436, snapd#7437, snapd#7438, snapd#7441, snapd#7443, snapd#7445, snapd#7447, snapd#7454,11:25
mupsnapd#7456, snapd#7462, snapd#7467, snapd#7468, snapd#7469, snapd#7470, snapd#7484, snapd#7486, snapd#7490, snapd#7495, snapd#7497, snapd#749811:25
mupIssue # opened: core18#56, core18#86, core18#89, core18#117, core18#129, core18#13711:25
mupPR # opened: core18#43, core18#72, core18#90, core18#98, core18#126, core18#13411:25
mupPR # closed: core-build#11, core-build#22, core-build#26, core-build#37, core-build#48, core-build#5111:26
mupPR pc-amd64-gadget#10 opened: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/10>11:27
mupPR pc-amd64-gadget#11 opened: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/11>11:27
mupPR core#83 closed: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>11:27
mupPR # closed: snapd#5822, snapd#6108, snapd#6174, snapd#6258, snapd#6436, snapd#6666, snapd#6708, snapd#7079, snapd#7092, snapd#7129, snapd#7146, snapd#7166, snapd#7168, snapd#7193, snapd#7197, snapd#7205, snapd#7222, snapd#7228, snapd#7233, snapd#7238, snapd#7256, snapd#7261, snapd#7266,11:27
mupsnapd#7277, snapd#7286, snapd#7302, snapd#7320, snapd#7348, snapd#7355, snapd#7366, snapd#7367, snapd#7377, snapd#7402, snapd#7414, snapd#7417, snapd#7421, snapd#7424, snapd#7430, snapd#7431, snapd#7434, snapd#7436, snapd#7437, snapd#7438, snapd#7441, snapd#7443, snapd#7445, snapd#7447, snapd#7454,11:27
mupsnapd#7456, snapd#7462, snapd#7467, snapd#7468, snapd#7469, snapd#7470, snapd#7484, snapd#7486, snapd#7490, snapd#7495, snapd#7497, snapd#749811:27
mupPR pc-amd64-gadget#10 closed: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/10>11:28
mupPR # opened: snapcraft#2229, snapcraft#2239, snapcraft#2413, snapcraft#2518, snapcraft#2544, snapcraft#2658, snapcraft#2672, snapcraft#2673, snapcraft#2677, snapcraft#2678, snapcraft#2696, snapcraft#2697, snapcraft#2699, snapcraft#2707, snapcraft#2709, snapcraft#2710, snapcraft#2727, snapcraft#272911:28
mupPR # opened: core-build#11, core-build#22, core-build#26, core-build#37, core-build#48, core-build#5111:28
mupPR # opened: snapd#5822, snapd#6108, snapd#6174, snapd#6258, snapd#6436, snapd#6666, snapd#6708, snapd#7079, snapd#7092, snapd#7129, snapd#7146, snapd#7166, snapd#7168, snapd#7193, snapd#7197, snapd#7205, snapd#7222, snapd#7228, snapd#7233, snapd#7238, snapd#7256, snapd#7261, snapd#7266,11:28
mupsnapd#7277, snapd#7286, snapd#7302, snapd#7320, snapd#7348, snapd#7355, snapd#7366, snapd#7367, snapd#7377, snapd#7402, snapd#7414, snapd#7417, snapd#7421, snapd#7424, snapd#7430, snapd#7431, snapd#7434, snapd#7436, snapd#7437, snapd#7438, snapd#7441, snapd#7443, snapd#7445, snapd#7447, snapd#7454,11:28
mupsnapd#7456, snapd#7462, snapd#7467, snapd#7468, snapd#7469, snapd#7470, snapd#7484, snapd#7486, snapd#7490, snapd#7495, snapd#7497, snapd#749811:28
mupPR pc-amd64-gadget#11 opened: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/11>11:29
mupPR core#38 opened: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>11:29
mupPR core#83 opened: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>11:29
ogramupping ...11:33
Chipacamvo, pedronis, what was the conclusion WRT rebasing? is it now the Right Way?11:38
pedronisChipaca: I don't think there was a conclusion11:38
pedronistbh11:38
mvoChipaca: I though we agreed to try the "merge-with-rebase" from GH?11:38
mvopedronis: -^11:38
mvoi.e. the automatic on click option ?11:39
Chipacaso, no force-pushing, but merge-with-rebase11:39
Chipaca?11:39
Chipacasgtm fwiw11:39
pedronisdo we know what happens when it doesn't work?11:39
pedronisI expect it will not always work11:39
Chipacapedronis: I'd expect github to block it if it doesn't work11:41
Chipacabut I don't know why a merge would work and a rebase-then-merge wouldn't11:41
pedronisChipaca: I'm just not sure what happens to the tweaks you need a merge to make the merge work along the way11:42
pedronisdo they get turned into extra commits? do they make the thing fail again?11:43
Chipacanot sure i understood your question11:43
Chipacaseem to have too many merges in it11:43
pedronisChipaca: usually you fix conflicts and that fix goes into the merge commit11:43
pedronisChipaca: I mean from experience rebase don't always work locally, so not sure why they would work on merge11:44
pedronisI mean work without intervention11:44
pedronisI'm sure I will learn soon enough11:45
Chipacapedronis: https://github.com/isaacs/github/issues/114311:45
Chipacafwiw11:45
Chipacai'm going to have lunch and stick my head in a jar of git sand, like a git ostrich of some sort11:46
pedronisChipaca: mvo: anyway my point is that we'll see but when it will not work we will decide what to do11:48
=== ricab is now known as ricab|lunch
pedronismvo: #7434 should be ready for review11:51
mupPR #7434: seed/seedwriter:  implement WriteMeta and tree16 corresponding code <Created by pedronis> <https://github.com/snapcore/snapd/pull/7434>11:51
pedronismvo: also notice that "rebase and merge" says not enabled for this repository11:54
mupPR snapd#7499 opened: many: move AppArmor probing code under sandbox/apparmor <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7499>12:05
mborzeckizyga: ^^ something for you12:05
zygathx12:06
mborzeckizyga: release/selinux*.go are mostly stubs now since we have the sandbox/selinux package, so they are next in line to be dropped12:06
zygareviewed12:11
ijohnsonmorning folks12:11
ijohnsonpedronis, Chipaca (and others) where should I put my unit tests for SetTaskSnapSetup? the function is defined in handlers.go, but it's not clear which handlers_*_test.go I should put my tests in12:12
ijohnsonI could create a new "generic" handlers_test.go for this function which isn't specific to any kind of handler12:13
ijohnsonthis is my update to #7430 btw12:13
mupPR #7430: overlord/snapstate: set snap-setup-task for first task in change <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/7430>12:13
pedronisijohnson: that seems ok12:14
ijohnsonpedronis: handlers_test.go seems okay?12:14
pedronisyes12:15
ijohnsonack, thanks12:15
pedronismvo: so I looked a bit, I'm not sure how switching to rebase will help, it will make the commits contiguous but not anchored, we would need to work hard on the quality of the messages of our single commits for it to make sense12:25
pedronisor allow rebases on PRs12:25
ijohnsonok, #7430 is ready for re-review Chipaca and pedronis if y'all could review that would be great12:26
mupPR #7430: overlord/snapstate: set snap-setup-task for first task in change <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/7430>12:26
ijohnsonpedronis, what do you mean the commits wouldn't be anchored? do you mean you can't find the PR a commit was merged in?12:26
pedronisijohnson: where would a overall description fit in that case?12:27
pedronisI'm not even sure how to make a changelog in that mode (maybe I'm missing something)12:27
ijohnsonah you mean rebase when you merge to master12:27
ijohnsonyes agreed there's nowhere to describe the overall "here's what all these commits did" when you rebase instead of doing a merge commit I suppose12:28
pedronisyea, so I don't see how it can fit our current style of PRs12:29
pedronisthere's probably something we could do to our PRs12:29
pedronisto make it fit12:29
pedronisbut I think it would involve allowing some rebase in them12:29
Chipacai fear for the rebase approach we'd have to move to rebasing everywhere, to keep things tidy12:29
Chipacaor do the squash thing12:29
pedronisChipaca: I still think that either squash or merge would fit our approach better12:30
pedronisbut still seems like we would need a bot to do either12:30
pedronisbecause we are not very good at driving either12:30
pedronison average12:30
pedronisanyway I don't think we have a conclusion here12:31
ijohnsonI would be +1 to squashing and/or having a bot do the squash and/or regular merge to keep things consistent12:33
ijohnsonthere may already be github bot plugins to do this, the multipass team uses https://github.com/apps/bors12:35
Chipacain view of recent developments, I'm wary of saying we give a bot commit12:37
Chipaca:)12:37
mupPR snapd#7497 closed: tests: listing test, make accepted snapd/core versions consistent <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7497>12:37
ijohnsonfair :-)12:39
mvopedronis: just read backlog and indeed, that seems like we have no solution yet :/12:51
mvoChipaca: yeah, I don't like the bot idea12:51
mborzeckistore throwing 503?12:58
Chipacamborzecki: pr'aps; line is stopped over there13:00
=== ricab|lunch is now known as ricab
ijohnsonChipaca: cool if I make a couple suggestions to your welcome.md gdoc thing?13:36
ijohnson(not edits, just suggestions)13:36
ijohnsonI can also wait til you're done if you're still working on it13:36
Chipacaijohnson: go for it13:37
ijohnsonack13:37
Chipacamvo: in the bug triage policy, could you make the links say what they're to? (you can have the link text be different than the link target)13:41
Chipacamvo: click the link, then the pencil, and you get to change things13:42
Chipacamvo: or highlight text, ctrl+k → set a target13:42
Chipacamvo: fwiw i did it for the last link which was easier to guess at :)13:48
mvoChipaca: updated13:54
ijohnsonanyone see a kill-timeout from a spread reboot request before like this ? https://pastebin.ubuntu.com/p/sGDkb43zrx/15:27
mupPR snapd#7498 closed: tests/main/snap-run: disable strace test cases on Arch <Simple 😃> <Test Robustness> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7498>15:32
* cachio lunch15:33
mupPR snapd#7500 opened: api,timings: report duration via Doing column for ensure/startup <Created by stolowski> <https://github.com/snapcore/snapd/pull/7500>15:46
pstolowskipedronis: ^ was actually simple, but i got slightly confused initially15:47
pedronispstolowski: +1 with small comment15:57
pstolowskipedronis: for the auto-connect & mark-seeded order issue, it's because we don't sort tasks in snap debug timings, it's whatever order change.Tasks() reported. will fix15:59
pstolowskipedronis: ty15:59
Chipacahuh16:05
Chipacahttps://travis-ci.org/snapcore/snapd/jobs/589008368#L6315 ← huh16:05
ograhttps://www.youtube.com/watch?v=j08nLrO_T8416:06
Chipacain what case would snap-run --trace-exec print info about snap-exec and not snap-confine?16:10
zygaChipaca: IIRC there is that raw thing16:18
zygaFor strace16:18
Chipacazyga: ?16:18
zygaBut perhaps I misremember or misunderstand16:18
Chipacazyga: https://api.travis-ci.org/v3/job/589008368/log.txt16:18
Chipacazyga: look for 'error executing'16:18
Chipacazyga: it's looking at the output of 'snap run --trace-exec'16:19
zygasnap run —strace=raw16:19
zygaMmmmm16:19
Chipacaand it's a wee urd16:19
zygaI didn’t remember that one16:19
zygaI won’t be able to look from the phone now. I’ll make some tea and open the laptop again but this will take some time16:20
zygaTomorrow ish16:20
pedronispstolowski: ah, so Tasks is in creation order, I suppose here we want start times order?16:22
pstolowskipedronis: yes. fwtw 'snap changes' orders them by spawn time, perhaps we should be consistent with that16:22
pstolowskiso yeah16:23
pedronispstolowski: spawn time is not start time16:23
pedronisto be clear16:23
pedronisindeed snap changes tends also to be confusing from this POV16:23
pstolowskiah ok16:23
pedronispstolowski: basically with spawn times all dynamically created tasks ends up after the static ones16:24
pedronisbecause spawn time is when NewTask happens16:24
pstolowskipedronis: indeed16:24
pedronisbut in timings we have actualy start times, no?16:24
Chipacazyga: no worries, the log isn't going away (i think?)16:24
pedronispstolowski: we might need to think a bit though because sorting by start time is not useful for things that are parallel (usually different lanes)16:26
pstolowskipedronis: snap debug timings hits v2/changes/<id>, i think we just need to sort those on the client side16:35
pedronispstolowski: we don't return lanes anywhere atm16:42
pedronis(it's kind of an internal detail)16:42
pedroniswe don't return start time (vs spawn time) anywhere either atm16:43
Chipacapedronis: wrt lanes we might want to start returning them16:45
Chipacaemphasis on might16:45
Chipacapedronis: it's unclear whether we can build a good multi-progress bar without them, and we want to do that16:46
pedronisChipaca: mmh, I see16:46
Chipacapedronis: (because when a snap pulls in another snap, currently the UX sucks)16:46
pedroniswe need a bit to think that through16:46
Chipacaexplicitly installing multiple snaps also sucks, but less :)16:47
pedronisanyway here we might just return something extra in the debug endpoints16:47
pedronisfor pstolowski stuff16:47
Chipacak k16:47
Chipacait's not like we have a timeline for the other thing :)16:48
pedronispstolowski: so my thinking was to sort by (min(lanes), start-time, task id), except lane 0 might need to be treated specially16:48
pstolowskipedronis: sounds good. i need to digest this and continue tomorrow morning16:50
pedronisnp, need/want to step away from keyboard as well16:51
=== pstolowski is now known as pstolowski|afk
* Chipaca EODs17:17
mupPR snapd#7501 opened: interfaces/kubernetes-support: allow use of /run/flannel <Created by jdstrand> <https://github.com/snapcore/snapd/pull/7501>18:12
mupPR snapd#7502 opened: interfaces/kubernetes-support: allow use of /run/flannel - 2.42 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/7502>18:14
jdstranddegville: hey, I'd like to document system-usernames. I was thinking inserting it in some strategic location in the forum and linking out to a separate topic. I thought the name of the linked to topic would be 'system-usernames'. thoughts on this name and also where to link from?18:21
degvillejdstrand: I think to start with, the top-level system-username doc might be best linked to from one of the snapcraft.yaml pages (https://snapcraft.io/docs/snapcraft-format). But it also sounds like it may become important enough to have it's own top-level page - maybe mirroring something like your original `Multiple users' post under the docs category. But we can obviously change all this easily. Otherwise, I18:29
degvillethink the name is good - thanks for doing this!18:29
jdstranddegville: I'll create https://forum.snapcraft.io/s/system-usernames in the forum under the 'doc' category, then come up with a blurb to insert into a snapcraft.yaml page and circle back to you. sound ok?18:32
degvillejdstrand: perfect, thank you!18:45
* cachio afk19:05
om26erroadmr Hi! Can you take a look at https://forum.snapcraft.io/t/auto-connection-request-for-deskconnd/13364 ? I am the maintainer of both snaps albeit from two different orgs19:56
roadmrO_o19:56
roadmrom26er: em suuuure but cross-publisher auto-connects are tricky :/19:57
om26er^ that applies to https://forum.snapcraft.io/t/auto-connection-request-for-piconn/13368 and https://forum.snapcraft.io/t/auto-connection-request-for-deskconn/13367 as well :-)19:57
om26erroadmr tricket as in "conflict of interest" ?19:58
om26er*tricky19:58
roadmrom26er: no, as in it needs somewhat complex assertion wrangling19:58
roadmrom26er: if they come from the same publisher, it's easier19:58
roadmrom26er: interest-wise, as long as both publishers are OK with it (and you're both in this case) it should be OK19:59
om26erhmm the provider comes from a snap that I publish for my employer and the peer snaps are my personal projects19:59
om26erroadmr need your eyes on the two other similar requests as well ^20:00
roadmrom26er: sure, I'll have a look in a bit - but I can't really action them unilaterally, need eyes from other reviewers20:01
roadmrbut at least it'll get the ball rolling :) thanks for your patience20:01
om26erroadmr indeed, thanks for looking into this, I hope Jamie will get around to reviewing that soon as well ;-)20:03
roadmrindeed20:04
mupPR snapd#7266 closed:  recovery: update run mode variable name <Created by cmatsuoka> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/7266>20:29
mupPR snapd#7503 opened: tests: restart the journald service while preparing the test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7503>21:06
* cachio EOD21:07
* ijohnson relocates to coffee shop21:42
Chipacamwhudson: out of curiosity, how hard would it be to snap older go versions? https://www.reddit.com/r/golang/comments/d8rrd6/install_really_old_golang_versions/22:05
mwhudsonwhere did he go22:54
=== epod is now known as luk3yx

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