/srv/irclogs.ubuntu.com/2021/01/19/#snappy.txt

mborzeckimorning07:08
pstolowskimorning08:10
mvogood morning pstolowski08:11
mborzeckipstolowski: mvo: morning guys08:14
mvogood morning mborzecki08:14
pstolowskimvo: hey, i saw you approved https://github.com/snapcore/snapd/pull/9845 but there is a problem with cla check there and i don't know how and if we can solve it08:18
mupPR #9845: osutil: update go-udev package <Created by stolowski> <https://github.com/snapcore/snapd/pull/9845>08:18
mvopstolowski: well, in an ideal world the cla checker would skip git submodules08:19
mvopstolowski: it's not quite clear to me why it is not already doing that but I don't know enough about subtrees08:19
mvopstolowski: so if we can fix it somehow that would be good otherwise we need to force-merge I think08:19
pstolowskimvo: right, i see. i will take a look, not familiar with details either08:20
mupPR snapd#9843 closed: packaging: fix arch-indep build on debian-sid <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9843>08:20
zygagood morning09:03
pstolowskigpg error again... i think it's has been happening more often recently09:05
pstolowskihey zyga09:05
zygapstolowski, yeah, Ian said he can reporduce that on his laptop09:06
zygajust by running the test in a loop09:06
zygabut was unsure how to debug further09:06
pstolowskiyeah i know he has been looking into it09:06
pstolowskimvo: nb, on git submodules... it's not really submodule in this case, it's subtree, they are different beasts. subtree literally imports another project as a subtree09:09
mvopstolowski: hm, ok09:34
mvohm, I get LP build errors right now:09:35
mvo=== RUN   TestSnapManager09:35
mvofatal error: sync: unlock of unlocked mutex09:35
pstolowskimvo: no other details?09:36
mvopstolowski: lots of details :) https://launchpadlibrarian.net/518145718/buildlog_ubuntu-xenial-i386.snapd_2.48.2+git2653.2672657e~ubuntu16.04.1_BUILDING.txt.gz09:36
pedronismvo: that error is probably hinding something else09:36
mvopstolowski: strange enough I cannot reproduce on my laptop with master so might be timing09:36
mvopedronis: yeah :(09:36
pstolowskimvo: afaiu assert on s.settle(c) fails so we don't restore the lock with s.state.Lock() and 'defer s.state.Unlock()' kicks in on failure (sorry if i'm stating the obvious)09:44
pstolowskiand settle uses testutil.HostScaledTimeout(5 * time.Second) so maybe it is indeed timing?09:45
mvopstolowski: I wonder if we can tweak the code so that we still get the real error. and yeah, timing seems likely but what was unusual is that I got this error from many different LP arches09:46
mvopstolowski: but given that I don't get it here locally I strongly suspect timing09:46
mvopstolowski: I wish there was a systemd-run --use-cpu-cgroup-to-make-things-really-slow :)09:47
mvopstolowski: to run the tests under09:47
zygamvo, maybe there is :)09:48
mvozyga: I bet there is, I'm just not finding it :)09:48
zygamvo, look at systemd.resource-control and look for CPUShares09:51
zygathere's a lot of options there, like CPUQuota09:52
zygayou can pass those options to systemd run as well (as properties)09:52
zygaI'd try with CPUQuota=1%09:53
zygaand see what happens09:53
pedronismvo: pstolowski: we should always pair Lock with defer Unlock etc even in tests, but historically we haven't done that because is a bit annoying/hard to remember09:55
zygahey pedronis, how are you :)09:55
pstolowskioh, duplicated snapshots import logic has a bug, returns empty list of snap names for duplicated import. i think the fix will be slightly annoying10:28
pstolowskiunit tests weren't good enough to catch this10:28
pedroniszyga: hi, it's mid-cycle week10:28
zygapstolowski, oh, super busy times10:28
zygaer10:29
* zyga is bad at tab completion10:29
zygapedronis, good luck with that10:29
pedronisthx10:39
pstolowskibbiab11:26
mupPR snapd#9851 opened: o/snapshotstate: fix returning of snap names when duplicated snapshot is detected <Bug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9851>13:18
mupPR snapcraft#3421 opened: cli: remove experimental notice for compression <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3421>14:02
mupPR snapcraft#3419 closed: Include SDK snap paths in ACLOCAL_PATH <Created by kenvandine> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3419>15:52
mupPR snapcraft#3420 closed: plainbox spread tests: set tasks to manual <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3420>15:52
mupPR snapcraft#3422 opened: Revert "cli: allow validation assertions to be revoked (#3417)" <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3422>16:02
pstolowskimvo: i cannot  find anything magical to help with cla-check in #9845, i suggest we force-merge it, updates to go-udev are extremely rare anyway16:17
mupPR #9845: osutil: update go-udev package <Created by stolowski> <https://github.com/snapcore/snapd/pull/9845>16:17
mvopstolowski: thanks, I will force merge16:17
pstolowskity16:19
mupPR snapd#9845 closed: osutil: update go-udev package <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9845>16:24
=== azubieta5 is now known as azubieta
mupPR snapcraft#3422 closed: Revert "cli: allow validation assertions to be revoked (#3417)" <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3422>19:43
mupPR snapcraft#3423 opened: WIP: gnome-3-38 is no longer experimental <Created by kenvandine> <https://github.com/snapcore/snapcraft/pull/3423>20:38
=== Aavar_ is now known as Aavar
mupPR snapcraft#3424 opened: Ensure PYTHONPATH is appropriate for building packages with gnome-3-38 <Created by kenvandine> <https://github.com/snapcore/snapcraft/pull/3424>22:03

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