=== AmarokNelg_ is now known as AmarokNelg | ||
mborzecki | morning | 06:09 |
---|---|---|
zyga | o. | 07:21 |
zyga | o/ | 07:21 |
zyga | good morning everyone | 07:22 |
mborzecki | zyga: hey | 07:23 |
kalikiana | o/ | 07:59 |
kalikiana | morning, zyga | 07:59 |
zyga | hey pawel | 08:07 |
zyga | sorry for being absent earlier, my son is ill and I'm trying to get him ready for a visit at the doctor's | 08:08 |
zyga | so 2.30 is out, any hiccups on your machines? | 08:08 |
zyga | mborzecki, pstolowski: can you check snap changes for any failures? | 08:08 |
pstolowski | zyga, looks sane here | 08:09 |
mup | PR snapd#4432 opened: cmd/snap, tests/main/classic-confinement: fix snap-exec path when running under classic confinement <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4432> | 08:09 |
zyga | thank you mborzecki, looking :) | 08:12 |
mborzecki | zyga: also reenabled one of the classic confinements tests on fedora now ;) | 08:12 |
zyga | sweet | 08:14 |
zyga | mborzecki: approved | 08:15 |
mborzecki | great | 08:15 |
zyga | mborzecki: I was thinking about the fedora symlink, perhaps we could enable that in prepare.sh globally | 08:15 |
zyga | not a big deal and perhaps a risk in itsel | 08:15 |
zyga | let's see if more tests start to need that | 08:16 |
mborzecki | hm better talk to Son_Goku first | 08:16 |
mborzecki | uhh, you're talking about tests | 08:16 |
zyga | yes, just tests | 08:16 |
zyga | pstolowski: can you please review https://github.com/snapcore/snapd/pull/4315 | 08:21 |
mup | PR #4315: cmd/snap-update-ns: add execWritableMimic <Created by zyga> <https://github.com/snapcore/snapd/pull/4315> | 08:21 |
zyga | it has one +1 and I want to land it | 08:21 |
zyga | it's from november :'( | 08:21 |
mborzecki | looks like there's just a handfull of 'classic' confiment tests, we could enable fedora in those explicitly | 08:21 |
zyga | mborzecki, pstolowski: in case you need to do it, this is how to release the core snap: https://new.zygoon.pl/post/core-snap-release-mechanics/ | 08:23 |
mborzecki | zyga: good i'm not the only one finding arch/revision combination confusing | 08:25 |
mborzecki | anyone wants to take a look at #4313? it's already been approved by niemeyer and needs a second review and perhaps comments on the syntax | 08:27 |
mup | PR #4313: timeutil: refresh timer take 2 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4313> | 08:27 |
zyga | mborzecki: I'll do it next, looking at error in 4426 | 08:29 |
mborzecki | thanks | 08:29 |
pstolowski | zyga, will review. is mvo off today? | 08:29 |
zyga | pstolowski: I don't think he is but perhaps he feels worse than yesterday and is just not around yet | 08:30 |
zyga | mborzecki: reviewing now | 08:31 |
mborzecki | btw. any ide what's the status of fedora 27 in spread? | 08:45 |
zyga | mborzecki: no, is it broken? | 08:49 |
mborzecki | zyga: see #4336, there's a comment from niemeyer about rawhide, and it has been addressed already | 08:56 |
mup | PR #4336: spread.yaml: add fedora 27 <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/4336> | 08:56 |
pstolowski | zyga, reviewed 4315, mostly a few questions | 09:02 |
mborzecki | mvo: hey, feeling better today? | 09:02 |
zyga | pstolowski: thanks, I'll check soon | 09:02 |
mvo | mborzecki: hey, good morning! yeah, still a bit weak but better | 09:03 |
mvo | and good morning pstolowski and zyga ! | 09:03 |
pstolowski | hey mvo! how are you feeling today? | 09:03 |
zyga | welcome back mvo! | 09:03 |
kalikiana | mvo: o/ | 09:04 |
mvo | hey kalikiana | 09:04 |
* mvo makes a cup of tea and starts looking at open PRs after that | 09:05 | |
mup | PR snapd#4432 closed: cmd/snap, tests/main/classic-confinement: fix snap-exec path when running under classic confinement <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4432> | 09:24 |
zyga | mborzecki: booted my arch system, wish we had the binary package for snapd :/ | 09:46 |
mborzecki | zyga: pacaur and makepkg are your friends :) | 09:48 |
mup | PR snapd#4433 opened: interfaces: allow socket "shutdown" syscall in default profile <Created by mvo5> <https://github.com/snapcore/snapd/pull/4433> | 09:48 |
zyga | mborzecki: while that's probably very arch of it it's not very snapd of it :) | 09:48 |
zyga | mborzecki: I wish we could fix the package in the archive | 09:48 |
=== d_ed is now known as d__ed | ||
mborzecki | one more classic confinement tests that can be enabled on fedora now | 09:58 |
mup | PR snapd#4434 opened: tests/main/confinement-classic: enable the test on Fedora <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4434> | 09:58 |
zyga | mborzecki: hmm | 09:59 |
zyga | mborzecki: that test is special-ish | 09:59 |
zyga | mborzecki: think about what happens | 09:59 |
zyga | mborzecki: to really properly test that you need to use fedora base snap | 09:59 |
zyga | mborzecki: NAK unless you want to take it to the store and enable a pure binary built test (execution) on fedora | 09:59 |
zyga | mborzecki: sent more feedback in the PR | 10:02 |
mborzecki | zyga: doesn't that apply to all distros? | 10:02 |
zyga | and small break | 10:02 |
zyga | mborzecki: tests don't build C programs (most of the time) | 10:02 |
zyga | see my feedback and let's talk here | 10:02 |
Chipaca | mvo: mborzecki: dunno if you saw my Q yesterday about #4394 | 10:10 |
mup | PR #4394: snap: give the snap.Container interface a Walk method <Created by chipaca> <https://github.com/snapcore/snapd/pull/4394> | 10:10 |
mborzecki | zyga: i'm looking at the makefile, looks like it's a least pain path without involving the store | 10:11 |
pedronis | Chipaca: hi, did you see my asking for reviews yesterday? :) | 10:12 |
Chipaca | pedronis: i did not | 10:12 |
Chipaca | pedronis: 'appropriate creds'? | 10:12 |
pedronis | yes | 10:12 |
pedronis | and #4389 (which is small) | 10:12 |
mup | PR #4389: overlord/snapstate: override Snapstate.UserID in refresh if the installing user is gone <Created by pedronis> <https://github.com/snapcore/snapd/pull/4389> | 10:12 |
zyga | oooh | 10:17 |
zyga | shit | 10:17 |
zyga | ^H | 10:17 |
zyga | badbadbad | 10:17 |
pstolowski | zyga, ? | 10:18 |
zyga | one sec | 10:18 |
mvo | Chipaca: oh, yes, I saw and forgot, I open the pR now | 10:18 |
mvo | Chipaca: so that I don't forget again | 10:19 |
zyga | uff | 10:21 |
zyga | the bug is just in my branch | 10:21 |
zyga | fire over | 10:21 |
zyga | and now it should work :) | 10:21 |
mvo | zyga: heh | 10:23 |
* mvo hugs zyga | 10:23 | |
zyga | I fixed the base snap stale thing | 10:23 |
Chipaca | zyga: I love bugs that are only in your branches :-D | 10:24 |
mvo | zyga: neato! | 10:25 |
* kalikiana coffee break | 10:27 | |
zyga | mvo: I was checking if I'm on classic on the inside of the mount ns :'-(( | 10:28 |
zyga | woooooot | 10:29 |
zyga | pushed, I'll let travis deal with it now | 10:30 |
mborzecki | zyga: about that test, it tries very hard to make sure that the binary works with ld.so and libs from the core snap, not sure why it should not run on non-ubuntu (btw. it's already enabled for suse and debian) | 10:31 |
zyga | mborzecki: it should be only built on ubuntu and should run everywhere | 10:34 |
zyga | mborzecki: suse is a bug here, it's equally meaningless | 10:34 |
zyga | mborzecki: the point is that it must match the core snap, not the distro | 10:35 |
zyga | mborzecki: to illustrate that any distro with the core snap can run correctly built classic snaps | 10:35 |
zyga | pstolowski: updated 4315 and responded to your feedback, thanks | 10:49 |
pstolowski | zyga, thanks, looking | 10:49 |
mborzecki | zyga: ok, i'll try to rework the test to have the snap installed from the store, probably will need some help in the process :) | 10:50 |
zyga | mborzecki: thank you, I'll gladly help | 10:50 |
mup | PR snapd#4431 closed: snap: make `snap info invalid-snap` output more user friendly <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4431> | 10:56 |
mup | PR snapd#4435 opened: snap: do not leak internal network errors to the user <Created by mvo5> <https://github.com/snapcore/snapd/pull/4435> | 11:12 |
zyga | mvo: +1 | 11:16 |
mvo | zyga: heh, nice one! | 11:17 |
pedronis | Chipaca: thanks | 11:20 |
Son_Goku | mborzecki: yeah, no symlink is going into the real stuff | 11:47 |
Son_Goku | and the only way I'm accepting classic confinement for real is when you guys finally fix the /snap thing | 11:48 |
Son_Goku | so that /snap isn't the barrier to classic confinement | 11:48 |
zyga | Son_Goku: that's impossible | 11:49 |
Son_Goku | no it isn't | 11:49 |
zyga | Son_Goku: you know it, I know it | 11:49 |
Son_Goku | I've actually talked to niemeyer about it before | 11:49 |
Son_Goku | there is a way... it's just very difficult | 11:49 |
zyga | Son_Goku: such as? | 11:49 |
Son_Goku | I'd have to dig out old chat logs for that | 11:49 |
Son_Goku | which I don't have on hand atm | 11:49 |
zyga | Son_Goku: when you have a moment please share, I'm curiou | 11:50 |
Son_Goku | will do | 11:50 |
* Chipaca -> lunchmaking | 11:50 | |
Chipaca | ogra_: ondra: are you both on holidays still? | 11:52 |
mborzecki | Son_Goku: https://github.com/snapcore/snapd/commit/563795fd8d628c64da4019aee3f5c6a845eb0fe7 might be worth cherry picking to Fedora package as it addresses an issue that broke running classic snaps (should the user do a /snap symlink first of course) | 11:53 |
Son_Goku | mborzecki won't work | 11:53 |
Son_Goku | re-exec is disabled in Fedora | 11:53 |
zyga | Son_Goku: that's unrelated | 11:53 |
mborzecki | Son_Goku: it's not related to reexec | 11:53 |
Son_Goku | oh snapexec | 11:53 |
zyga | Son_Goku: it's a correct bugfix | 11:53 |
mborzecki | we were using the icnorrect path to snap-exec | 11:53 |
Son_Goku | yeah, I'll cherry pick it | 11:53 |
ogra_ | Chipaca, back tomorrow | 11:54 |
mborzecki | Son_Goku: great, thanks | 11:54 |
mup | PR snapd#4436 opened: snap: do not leak internal errors on install/refresh etc <Created by mvo5> <https://github.com/snapcore/snapd/pull/4436> | 11:54 |
zyga | Son_Goku: I updated my f27 yesterday | 11:54 |
Son_Goku | it's not in 2.30 either, so I'll pull it when I rebase to 2.30 | 11:54 |
zyga | Son_Goku: oddly it picked the updates in gnome-software but not in dnf? maybe I was still sleepy | 11:54 |
Son_Goku | try "dnf --refresh upgrade" | 11:54 |
zyga | Son_Goku: I'll try next time, it's up-to-date now | 11:55 |
Son_Goku | zyga, kalikiana: I just got DNF into OpenSUSE Leap 15.0 | 12:14 |
zyga | Son_Goku: will it replace zypper? | 12:15 |
Son_Goku | no | 12:15 |
zyga | Son_Goku: what's the use case? | 12:15 |
Son_Goku | python3-dnf | 12:15 |
Son_Goku | for snapcraft | 12:16 |
zyga | aah | 12:16 |
Son_Goku | also, kiwi can produce images for Fedora/CentOS with it | 12:16 |
kalikiana | Son_Goku: woot, awesome | 12:16 |
Son_Goku | the goal here is to have a single backend for rpm stuff | 12:16 |
Son_Goku | and pretty much all distributions that aren't SUSE are gradually converging on DNF | 12:17 |
Son_Goku | SUSE has Zypper, which for all practical purposes works identically to DNF | 12:17 |
Son_Goku | since they use the same resolver | 12:17 |
mborzecki | fwiw, even yocto also integrated dnf some time ago | 12:20 |
Son_Goku | yeah | 12:22 |
Son_Goku | I helped out kanavin with that last year | 12:22 |
zyga | mborzecki: https://github.com/snapcore/snapd/pull/4337/files | 12:25 |
mup | PR #4337: cmd/snap: use snap-exec from core with a classic snap when reexecing <Created by mwhudson> <https://github.com/snapcore/snapd/pull/4337> | 12:25 |
zyga | mborzecki: ^_^ i forgot about this | 12:26 |
zyga | mborzecki: maybe you want to review it | 12:28 |
mborzecki | i've added a comment there | 12:28 |
zyga | ohh | 12:33 |
zyga | I have green :) | 12:33 |
zyga | everyone: please review this and let's have it in 2.31 | 12:34 |
zyga | https://github.com/snapcore/snapd/pull/4329 | 12:34 |
mup | PR #4329: cmd/snap-confine: discard stale mount namespaces (v2) <Created by zyga> <https://github.com/snapcore/snapd/pull/4329> | 12:34 |
mup | PR snapd#4315 closed: cmd/snap-update-ns: add execWritableMimic <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4315> | 12:34 |
zyga | mvo: 2.29 and 2.30 milestones on GH have no due date and are open | 12:34 |
zyga | mvo: (thank you for opening 2.31) | 12:34 |
zyga | jdstrand: ^ | 12:36 |
pedronis | given that 2.30 is stable now we can close 2.29 | 12:37 |
zyga | I agree | 12:37 |
mborzecki | hmm i'm trying `snapcraft cleanbuild` with the test snap, but it fails both on arch (running from snaps) and on xenial (installed from repos) | 12:39 |
mborzecki | on arch it's trying to push an assert file to the container, looks like it's confused about the path where the assert file is, maybe something with snap mount dir being different than /snap | 12:40 |
mup | PR snapd#4437 opened: tests: add test that ensures we never parse versions as numbers <Created by mvo5> <https://github.com/snapcore/snapd/pull/4437> | 12:40 |
zyga | mborzecki: just build it manually | 12:40 |
zyga | mborzecki: upload to the store | 12:40 |
ondra | Chipaca no back working | 12:40 |
zyga | mborzecki: and share it with mvo | 12:40 |
ondra | Chipaca what's up? | 12:40 |
zyga | mborzecki: it's a special test IMO | 12:41 |
mborzecki | on xenial, the container is started, i see it gets updated, but then i get `Temporary failure resolving 'archive.ubuntu.com'` when trying to install gcc as build-package | 12:41 |
zyga | mborzecki: request: please use test-snapd- prefix | 12:41 |
Chipaca | ondra: https://forum.snapcraft.io/t/best-practice-for-reporting-ubuntu-core-system-kernel-issues/3382 | 12:41 |
zyga | mborzecki: the dns issue you see is interesting and probably worth looking into, could be lxd specific, could be general /etc mess bug | 12:41 |
Chipaca | ondra: i thought maybe you had input there (otherwise ogra_ will get to it tomorrow i guess :-) ) | 12:41 |
mborzecki | zyga: i added --debug to cleanbuld, it dropped me to the shell and i can apt-get install gcc just fine :/ | 12:42 |
zyga | aha | 12:42 |
zyga | good then | 12:42 |
zyga | mborzecki: really just build it and push to the store | 12:42 |
ondra | Chipaca let me check | 12:44 |
ogra_ | "rainbow" (in the bug) sounds wrong all over ... | 12:49 |
ogra_ | would be somethig to verify ... | 12:50 |
ogra_ | regarding the bug filing i think using "Snappy" for image issues is fine as a catch all project | 12:50 |
Chipaca | ogra_: agreed. now get out of here. | 12:51 |
ogra_ | :) | 12:51 |
Chipaca | :-) | 12:51 |
mup | PR snapcraft#1842 opened: lxd: Change "Terminating" message to debug level <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1842> | 12:55 |
mborzecki | zyga: just to be sure, snapcraft register test-snapd-hello-classic && snapcraft push --release=edge test-snapd-hello-classic_*.snap ? | 13:01 |
zyga | mborzecki: looks right (I think) | 13:02 |
mborzecki | mvo: pushed it to the store, the name is test-snapd-hello-classic | 13:05 |
sergiusens | morning | 13:15 |
kalikiana | sergiusens: good morning! | 13:16 |
sergiusens | kalikiana hey, mind looking at what mborzecki is talking about? | 13:17 |
sergiusens | zyga I m not sure, but it would be nice to have an API to retrieve the snap-declaration/revision assertion from snapd :-) | 13:17 |
kalikiana | mborzecki: can you paste your log somewhere? | 13:20 |
mborzecki | kalikiana: https://paste.ubuntu.com/26312927/ snapcraft from snaps, trying cleanbuild on arch, lxd seems to work just fine | 13:22 |
kalikiana | mborzecki: I notice `error: open /var/lib/snapd/hostfs/` are you using the lxd snap from edge? | 13:26 |
pedronis | mvo: this is the PR I mentioned: #4392 | 13:26 |
mup | PR #4392: many: refresh with appropriate creds <Created by pedronis> <https://github.com/snapcore/snapd/pull/4392> | 13:26 |
kalikiana | mborzecki: the snap broke just before xmas | 13:26 |
zyga | sergiusens: I think you can already, via the snap known API | 13:27 |
zyga | sergiusens: or are you talking about getting them from the store for snaps snapd doesn't know about? | 13:27 |
mborzecki | kalikiana: https://paste.ubuntu.com/26312943/ and this is snapcraft on xenial, from packages, when i get dropped to debug shell i can successfuly install required packages, not sure why it's hitting a timeout there :/ | 13:28 |
mvo | pedronis: thanks | 13:29 |
mborzecki | mvo: the PR with the snap is #4434 | 13:31 |
mup | PR #4434: tests/main/confinement-classic: enable the test on Fedora <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4434> | 13:31 |
kalikiana | mborzecki: Broken DNS would be my guess. It seems to work and then fails later on. Did you do `lxd init`and go through the terminal UX to set up the network? | 13:31 |
zyga | kalikiana, mborzecki: look at /etc/nsswitch.conf please, see if it's fishy | 13:32 |
zyga | we could use a DNS-test-snap (spread test) | 13:32 |
zyga | that exercises glibc API and maybe systemd-specific new API | 13:32 |
mborzecki | kalikiana: cleanbuild --debug drops me to the shell in the container right? | 13:33 |
kalikiana | mborzecki: Yes | 13:33 |
sergiusens | zyga for snaps installed, kalikiana are you using that? | 13:34 |
mvo | mborzecki: please run "snapcraft release test-snapd-hello-classic 1 edge" | 13:34 |
mvo | mborzecki: and your snap should be availabe, then we need to transfer your snap | 13:34 |
mborzecki | kalikiana: when i'm dropped to the shell, i can install gcc just fine | 13:35 |
mborzecki | mvo: done | 13:36 |
kalikiana | sergiusens: zyga for locally installed snaps, we have code in snapcraft to get assertions via the snaps endpoint (https://github.com/snapcore/snapd/wiki/REST-API#get-v2snapsname) . If that's what you're looking for, checkout this code https://github.com/snapcore/snapcraft/blob/master/snapcraft/internal/lxd/_containerbuild.py#L236 | 13:37 |
kalikiana | mborzecki: I can believe that. And unfortunately it doesn't contradict what I said | 13:37 |
kalikiana | that's what broken DNS does | 13:38 |
mvo | mborzecki: cool, now fire away, your test hopefully works now | 13:38 |
zyga | my keyboard seems to have issues when I do backups over wifi :/ | 13:38 |
zyga | sergiusens: I mean whatever fuels "snap known", not sure what that is | 13:39 |
mborzecki | mvo: thx, started the test just now :) | 13:39 |
mborzecki | zyga: tried switching the wifi to 5ghz band? | 13:39 |
zyga | mborzecki: I am using it | 13:39 |
zyga | mborzecki: (ah, no) | 13:39 |
zyga | perhaps it's not | 13:39 |
kalikiana | mborzecki: You can also check `ifconfig` and `/etc/resolv.conf` if there's a proper IP and ns respectively | 13:40 |
zyga | my backup is to a "home" network that uses a mixture of 2.4 and 5 | 13:40 |
mborzecki | kalikiana: fyi, it's also runnign in a vm :), so it's qemu -> xenial -> lxd in this case :) | 13:41 |
kalikiana | mborzecki: that's generally fine. I'd try `sudo dpkg-reconfigure lxd` suspecting you didn't configure it before | 13:43 |
kalikiana | in the xenial running in the vm | 13:44 |
kalikiana | mborzecki: I'm heading out for lunch now. If that doesn't do the trick I'll try to think of what else to debug there | 13:46 |
mborzecki | kalikiana: thanks, i've reconfigured lxd and trying a cleanbuild now | 13:46 |
mborzecki | kalikiana: seems to work now :) thanks again | 13:47 |
kalikiana | mborzecki: Sweet! Glad it worked! | 13:49 |
* kalikiana now trying to leave the house without being blown away by the wind | 13:49 | |
mborzecki | still got some spread tests running, but i'm wrapping it up for today | 14:15 |
pedronis | mvo: seems we changed something about test-snapd-toosl release status, and now test snap-info failes | 14:33 |
pedronis | test-snapd-tools.channels.beta expected '↑', got '2.10 (7) 12kB -' | 14:33 |
pedronis | beta was closed and now it has a different release | 14:34 |
mvo | pedronis: uh, I can fix this | 14:35 |
mvo | pedronis: fixed, sorry for the trouble | 14:36 |
pedronis | mvo: is the new version needed for some work in progress? | 14:37 |
mvo | pedronis: yes for my latest PR but I can use a different snap or adjust the tests in my PR, I don't want to break the world with that | 14:39 |
pedronis | ok, thank you | 14:39 |
kalikiana | re | 14:46 |
elopio | good morning! :D | 14:55 |
kalikiana | hey elopio | 15:05 |
kalikiana | elopio: whilst preparing snapcraft#1842 I noticed we seem to have no way to test if log messages use the expected level (debug, info). might be nice to consider what we could do about it in the future | 15:08 |
mup | PR snapcraft#1842: lxd: Change "Terminating" message to debug level <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1842> | 15:08 |
elopio | kalikiana: yeah, we have pending a complete redesign of logs, info messages and errors. Currently we have a mix of prints, logs and exceptions | 15:09 |
kalikiana | elopio: I'm referring to existing uses of `logger`. There's no way to test that they use the correct level | 15:10 |
kyrofa | kalikiana, you can make a fake logger that grabs a specific level | 15:12 |
kalikiana | kyrofa: Hmmm do we have an example of this? | 15:16 |
kyrofa | Yeah let me find one | 15:16 |
kalikiana | Thanks! | 15:17 |
kyrofa | kalikiana, look at test_yaml_missing_confinement_must_log in unit/project_loader/test_config.py | 15:21 |
kyrofa | It's the FakeLogger fixture. It grabs whatever logging level you define as well as more critical levels | 15:21 |
kyrofa | Perhaps that latter point makes it less useful for your case, I'm not sure | 15:22 |
kalikiana | kyrofa: Hm... I think I need sort of the opposite. Assuming info would be 'more critical' I'd get the message, whether it's info or debug | 15:24 |
kyrofa | kalikiana, are you trying to verify a message is debug, or info? | 15:25 |
kalikiana | kyrofa: I'm changing the message from info to debug. I'd like to verify it's debug only. | 15:25 |
kyrofa | kalikiana, you can change the log format in that fixture to include the log level | 15:28 |
kyrofa | Kinda hacky, but then you could match the log level | 15:28 |
kalikiana | Hmmm I'll give that a go. Thanks! | 15:33 |
mup | PR snapcraft#1843 opened: elf: warn if primed files will not work with the base's linker <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1843> | 15:56 |
sergiusens | kyrofa elopio ^ | 15:59 |
* sergiusens is not a fan of checking for existence or lack of messages logged in tests | 16:00 | |
kalikiana | sergiusens: kyrofa: elopio This is what I came up with https://github.com/snapcore/snapcraft/pull/1842/commits/535cefbabbdb69481a4a6cc73ed3998e551d1f82 I'm not checking existence here, but rather that the level is correct | 16:03 |
mup | PR snapcraft#1842: lxd: Change "Terminating" message to debug level <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1842> | 16:03 |
elopio | sergiusens: checking... | 16:13 |
elopio | kalikiana: I don't think that test is really necessary, mainly because as I said, we need to rethink our logger. I'm happy with tests that set the fake logger to debug, and check if the debug message is there | 16:17 |
elopio | even if that will miss the specific level of the message. But your test looks correct too, I don't see a problem to land it. | 16:18 |
=== Tribaal is now known as tribaal | ||
kalikiana | elopio: A test that checks if the message is there won't fail without my change | 16:24 |
elopio | I know, I'm saying I don't mind that that line is not fully covered. But it's ok if you care about it, of course. | 16:26 |
mup | PR snapcraft#1832 closed: cmake plugin: update plugin details <codein> <Created by konrad11901> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1832> | 16:35 |
kalikiana | sergiusens: FYI I was certain there was a bug for this but couldn't find it... so I filed a new one in any case https://bugs.launchpad.net/snapcraft/+bug/1741082 This is for the permission issues with staged packages in conjunction with sshfs | 16:37 |
mup | Bug #1741082: sshfs breaks with serving user files to root in LXD <Snapcraft:Confirmed for kalikiana> <https://launchpad.net/bugs/1741082> | 16:37 |
kalikiana | elopio: I can also back it out and we plan for a better solution. This was a pretty quick hack anyway. I just feel a bit... uneasy committing untested code | 16:50 |
elopio | +1 | 16:50 |
* kalikiana wrapping up for the day shortly - will have to push the sshfs PR in the morning since the tests aren't ready | 16:51 | |
mup | PR snapcraft#1844 opened: Included fix for error messages <Created by Tanesh1701> <https://github.com/snapcore/snapcraft/pull/1844> | 16:59 |
sparkiegeek | hi snappy-devs! I'm a bit green when it comes to Golang coding, but am trying to just run the tests before making any changes and am hitting https://paste.ubuntu.com/26313885/ | 17:04 |
sparkiegeek | any clues? | 17:05 |
Chipaca | sparkiegeek: your vet is newer or older than ours :-) | 17:06 |
sparkiegeek | Chipaca: ⟫ go version | 17:06 |
sparkiegeek | go version go1.8.3 linux/amd64 | 17:06 |
sparkiegeek | Chipaca: which one do I want? | 17:06 |
Chipaca | sparkiegeek: actually, i just checked and 1.6 and 1.9 are both happy with that file | 17:07 |
pedronis | Chipaca: it's interesting though that afaict Plug and Slot don't have a String | 17:07 |
pedronis | so that might be ok but not ideal | 17:07 |
pedronis | maybe pstolowski should look at that | 17:08 |
mup | PR snapd#4438 opened: snap: add new `snap advice-command` skeleton <Created by mvo5> <https://github.com/snapcore/snapd/pull/4438> | 17:08 |
sparkiegeek | ok, so in the meantime... should I just ignore it? or should i use a different go version? | 17:09 |
sparkiegeek | I can't see anything in HACKING.md about what the supported Go version is | 17:09 |
mvo | sparkiegeek: just ignore the bet errors while we investigate, just run ./run-checks --unit in the meantime | 17:09 |
mvo | sparkiegeek: we support *all* (kidding, we should add go1.6+) | 17:10 |
mvo | sparkiegeek: a PR with the fix for the HACKING.md would be welcome :-D go1.6+ is what we support | 17:11 |
pstolowski | sparkiegeek, pedronis, will fix the code | 17:12 |
pedronis | Chipaca: afaict %s doesn't produce anything sane with a struct without String that doesn't have all fields that are strings | 17:13 |
pstolowski | although | 17:14 |
pstolowski | PlugInfo and SlotInfo do have String() | 17:14 |
sparkiegeek | mvo: on it | 17:14 |
zyga | re | 17:14 |
* zyga is more awake now, sorry for being absent earlier | 17:14 | |
pstolowski | ah, it's Plug/Slot | 17:14 |
zyga | I was writing (but not code) | 17:14 |
zyga | about sanpd | 17:14 |
zyga | snapd | 17:14 |
mvo | sparkiegeek: \o/ | 17:15 |
pedronis | Chipaca: otoh golang.org at the moment doesn't let me share my example | 17:15 |
pedronis | :/ | 17:15 |
sparkiegeek | mvo: https://github.com/snapcore/snapd/pull/4439 | 17:17 |
mup | PR #4439: Add documentation for supported Go versions <Created by sparkiegeek> <https://github.com/snapcore/snapd/pull/4439> | 17:17 |
pstolowski | pedronis, is it possible vet got confused? i'm looking at these lines and they are dealing with PlugInfo and SlotInfo (and these have String()), not interfaces.Plug/Slot as indicated by vet | 17:17 |
mup | PR snapd#4439 opened: Add documentation for supported Go versions <Created by sparkiegeek> <https://github.com/snapcore/snapd/pull/4439> | 17:17 |
pedronis | pstolowski: ah | 17:17 |
pedronis | interesting or sparkiegeek doesn't have master ?? | 17:17 |
pstolowski | or that... | 17:18 |
zyga | pstolowski: I looked at that once and it looks like vet bug | 17:19 |
zyga | pstolowski: it's meaningless (the error) | 17:19 |
sparkiegeek | I'm running 55648cb8358825a18c6f926c38416703b48edd1f afaics | 17:19 |
sparkiegeek | but I'd definitely suspect PEBKAC if it's not reproducible? I'm just using Go from Artful | 17:21 |
pstolowski | sparkiegeek, ok, that's the latest | 17:21 |
pstolowski | sparkiegeek, looks more like a vet bug as zyga says. the error mentions wrong type, it's not the one used in the code | 17:22 |
sparkiegeek | pstolowski: I mean, I might well have screwed things up, I find myself battling $GOPATH quite often :) | 17:22 |
mup | PR snapd#4426 closed: snap: print friendly message if `snap keys` is empty <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4426> | 17:55 |
mup | PR snapd#4433 closed: interfaces: allow socket "shutdown" syscall in default profile <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4433> | 17:55 |
sparkiegeek | weird, now I've made my changes I don't get the vet complaint :/ | 17:58 |
sparkiegeek | of course, now I have a newer version of shellcheck complaining about other things! | 17:59 |
mborzecki | iirc vet (and some other static analysis tools) may depend on whether the package archive files (*.a) are up to date with the code | 18:01 |
sparkiegeek | mborzecki: ah, that might explain it. Last time I built snapd was many months ago | 18:02 |
pmatulis | 'snap search' outputs a short list of snaps. why? | 18:03 |
zyga | pmatulis: those are 'curated chices' to show some snaps, akin to "browse the store" | 18:03 |
zyga | pmatulis: just very early version of that concept | 18:03 |
mvo | pmatulis: quite a few people are confused by this, we have https://github.com/snapcore/snapd/pull/4382 to help with that | 18:04 |
mup | PR #4382: snap: show header/footer when `snap find` is used without arguments <Created by mvo5> <https://github.com/snapcore/snapd/pull/4382> | 18:04 |
sparkiegeek | right see #1700560 | 18:05 |
mup | Bug #1700560: “snap find” returns confusing results <Snappy:In Progress> <Snap Store:Invalid> <https://launchpad.net/bugs/1700560> | 18:05 |
mborzecki | sparkiegeek: more info about vet - https://github.com/golang/go/issues/20514 and https://github.com/golang/go/issues/16086 | 18:15 |
mup | PR snapcraft#1845 opened: cli: implement help <command> <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1845> | 18:26 |
sergiusens | elopio kyrofa ^ | 18:26 |
mvo | pedronis: you have a review for the private refresh PR, I love the level of testing, great work! | 18:39 |
pmatulis | zyga, thanks. it's true that it's incredibly confusing. it can lead people to believe those are the *only* snaps available | 18:44 |
sparkiegeek | sergiusens: 😍 @ snapcraft help <command> | 18:46 |
mvo | pmatulis: *cough* thanks for the feedback, we aim the fix for 2.31 | 18:49 |
mvo | s/aim/target/ | 18:49 |
sergiusens | sparkiegeek oh yeah | 18:51 |
sparkiegeek | sergiusens: best Xmas 🎁 yet :) | 18:52 |
noise][ | sergiusens: what's the timeline for next stable release? | 19:10 |
sergiusens | elopio fixed | 19:18 |
sergiusens | noise][ as a snap, during CPT; as a deb, I'll need to do some bribing to avoid backporting new dependencies | 19:19 |
noise][ | sergiusens: cool, i'm just eager to get the metadata editing stuff out the door, thanks! | 19:20 |
sergiusens | noise][ it sort of is already, most of are users are running from `edge` | 19:20 |
noise][ | ~ 1/4-ish from stats | 19:21 |
sergiusens | ooh, they have changed. I'll need to take a look again | 19:22 |
sergiusens | noise][ so, elopio will be doing sanity checking of what is in beta and with that data we will have early data to promote to stable. These numbers make me want to have the current beta (2.38) in candidate sooner to have it go to stable even | 19:23 |
elopio | sergiusens: you didn't update the docstring. | 19:31 |
sergiusens | oh | 19:31 |
sergiusens | elopio done now | 19:34 |
pedronis | mvo: thanks, will look in my morning | 19:38 |
mup | PR snapd#4389 closed: overlord/snapstate: override Snapstate.UserID in refresh if the installing user is gone <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/4389> | 19:58 |
mup | PR snapd#4337 closed: cmd/snap: use snap-exec from core with a classic snap when reexecing <Created by mwhudson> <Closed by mwhudson> <https://github.com/snapcore/snapd/pull/4337> | 20:10 |
* zyga waves at mwhudson | 20:10 | |
mwhudson | zyga: morning | 20:10 |
sergiusens | kyrofa pushed fixes | 20:17 |
mup | PR snapcraft#1840 closed: docker: instructions to build from the snap <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1840> | 21:06 |
pmatulis | mvo, ty | 21:27 |
mup | Issue snapcraft#1699 closed: snapcraft <help> command <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1699> | 22:00 |
mup | PR snapcraft#1845 closed: cli: implement help <command> <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1845> | 22:00 |
mup | Issue snapcraft#1700 closed: snapcraft help <plugin>|<sources> <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1700> | 22:03 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!