/srv/irclogs.ubuntu.com/2018/06/15/#snappy.txt

=== Guest41378 is now known as jero
mborzeckimorning05:17
mupPR snapcraft#2161 closed: many: automatically detect dependency changes <Created by kyrofa> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/pull/2161>05:51
zygahey everyone06:38
zygaI will have an unusual Friday with some school stuff interfering today06:38
zygaI will attempt to minimise it though06:38
mvozyga: good morning06:38
zygahey06:39
zygaI'm sorry, I collapsed yesterday, I was sleeping since ~~19:0006:39
mvozyga: no worries06:39
zygaI saw your ping about managing to run apps on top of your PR, that's fantastic06:39
zygaI will share what I have on system slots06:39
zygathough it's not fully working yet (tests)06:40
zyga(tests are still choppy)06:40
mvozyga: thanks, its small steps on my part but it is nice to see (some) things coming together06:40
mvozyga: and thanks for working on the interfaces part!06:41
mborzeckizyga: restarted the build in 532506:43
zygaI noticed someone did, thank you06:44
zygathat branch is cursed :)06:44
mvohey mborzecki, good morning06:46
mborzeckimvo: hey06:46
mborzeckii'll restart the build in 5293 a couple of times, just to rule out the luck factor06:47
mborzecki#529306:47
mupPR #5293: tests: fix interfaces-calendar-service test when gvfsd-metadata loks the xdg dirctory <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5293>06:47
mborzeckiif that's green, then we're down to just one notoriously flaky test - econnreset :P i'm sure pstolowski|afk  is super happy about that06:48
=== pstolowski|afk is now known as pstolowski
pstolowskimornings07:09
pstolowskimborzecki: i'm tempted to relax retry check in econnreset test to just for retry on either download or assertions, instead of expecting retries on download only07:11
pstolowski*to just check*07:11
mupPR snapd#5325 closed: interfaces: add Repository.AllInterfaces <Simple> <Created by zyga> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/5325>07:22
zygamvo: I struggle with the number of places that need to know about "system",07:47
zygaI need to take my dog out but after that let's chat07:47
mborzeckihm that slack carshing xwayland is so weird08:15
mborzeckithere's a backtrace posted in the forums, given that slack is classic, it's probably doing some LD_* magic08:15
mborzeckibut none of the symbols seem to point back to /var/lib/snapd/snap/..08:16
mborzeckiunless the backtrace is wrong, or at least the library locations08:16
mvozyga: sounds good, just ping me when you are back and have time (I was in a different meeting just now)08:20
mupPR snapd#5330 opened: snapstate: support restarting snapd from the snapd snap on core18 <Created by mvo5> <https://github.com/snapcore/snapd/pull/5330>08:25
zygamvo: re,08:28
zygamvo: so I'm pondering this08:30
zygathe interface repository aspect itself is clean08:30
zygabut overlord is more subtle,08:30
pedronismvo: hi, I remembered something about setup-profiles phase2 for core that we need to consider I think08:30
zygawe can either teach all of interface manager to skip/ignore system snap08:30
zygaand risk leaks to other managers perhaps08:30
zygaor return virtual system snap from snap manager's APIs08:31
zygamvo: I was also considering actually installing a real snap that shows up in /snap but I think that is more complex actually (e.g. revert is messy now)08:32
mvopedronis: oh, what is that?08:32
pedronismvo: that it was also stopping going forward until we were restarted, that has relevance to autoconnect for example08:32
mupPR core18#27 opened: run-snapd-from-snap: start snapd after seeding <Created by mvo5> <https://github.com/snapcore/core18/pull/27>08:33
pedronismvo: zyga:  we even the question of when we run autoconnect for things in system, either that needs to happen in the new snapd08:33
pedronis*either way08:34
mvozyga: hm, would it help if snapstate would have a fake system snap?08:34
zygathat's a good point08:34
zygapedronis: could it run.. twice?08:34
pedronisit doens't need to run twice08:34
pedronisis already in the right place08:34
zygamvo: yes, it would, I'm doing that now08:34
pedronisis the waiting for restart that is missing now08:34
zygamvo: that part actually works now, I'm just moving things around to have only one instance of snap.Info in memory08:34
zygaand to coordinate the implicit interfaces there08:34
pedronismvo: zyga: are we going to filter it out of snap list ?08:35
pedronisor not08:35
mvopedronis: aha, ok. I remember (vaguely). should we do that in link-snap now?08:35
zygapedronis: currently it doesn't show up in snap list08:35
zygait's only virtually returned by Get08:35
pedroniszyga: by hacking ?08:35
zygaand ignored by Set08:35
pedronisinteresting08:35
zygathat is, it is only a snap you can get the "state" of but it's not really anywhere else08:35
pedronisbit unclear how that works with reloading profiles though08:36
zygareloading profiles?08:36
zygaon startup with system key changes?08:36
pedronisyes08:36
zygathe interface manager has explicit code to load the virtual system snap08:37
zygaso that works ok08:37
zygaanyway, it's not fully baked yet08:37
pedronisyou can cheat in  snapsWithSecurityProfiles08:37
zygaso we may abandon that totally08:37
zygaoh, yes, that's a good idea08:37
zygaI could remove the special code from interface manager then08:37
pedroniszyga: it sounds messy though overall from afar08:37
pedronistbh08:37
zygapedronis: I agree08:37
zygapedronis: it's an experiment still, we may end up doing something totally different08:37
pedronismvo: where we put depends exactly when we run autoconnect logic for "system" interfaces08:38
pedronisin theory it should happen in autoconnect for "core" or "snapd"08:38
* mvo nods08:39
pedronismvo: we can add waiting to link-snap (but is annoying if I remember) or auto-connect or yet something else (but then it's hard across upgrade)08:39
pedronismvo: I think we need in auto-connect itself because upgrades, if it's in link-snap is the old snapd that needs to wait there08:40
pedronisand it will not08:40
pedronismmh, well, not it will still wait in setup-profiles08:41
pedronisso maybe doing something different is ok08:41
pedronisbut we need to think08:41
mvopedronis: right. my gut feeling is that waiting in auto-connect - because that is close to why its needed. but I have not thought deeply about it yet08:41
pedronismvo: which brings back the annoying part of that story that is about detecting rollbacks or missing reboots08:44
pedronis(I hoped we could live without but seems not)08:44
pedronismvo: ah, but now we don't need to wait for a reboot, just a restart08:45
pedronisbit easier08:45
mvopedronis: yeah, let me have a quick look08:48
pedronismvo: to notice the issue, you need to do something like install a snap that needs a new auto-connected system interface, notice that is not connect, refresh snapd to one that has it, if snapd doesn't do auto-connect with the right new version, the connection is still not there08:49
mvosil2100: hey, sorry that I didn't get to #24 for core18 earlier. I added some thoughts, hope they are helpful08:49
pedronismvo: admittedly all a bit of a corner case08:49
mupPR #24: Renamed .bzrignore to .gitignore. Added .coverage. Removed the ./ in front of ignored paths <Created by elopio> <Closed by elopio> <https://github.com/snapcore/snapd/pull/24>08:49
pedronismvo: which also reminds that we need to teach about the "snapd" snap to snapstate.go byKind08:51
pedronisit should sort first08:51
mvopedronis: I guess http://paste.ubuntu.com/p/YbV92FPgd8/ is too naive for the wait?08:54
mvopedronis: let me look at the sorting08:54
pedronismvo: it's not unreasonable,  the issue is more  the rollback checks,  we don't need them for snapd, but we need them for core08:55
pedronisthat one still fully reboots08:55
pedronisI mean  core as base08:56
mvopedronis: aha, so we need all of GuardCoreSetupProfilesPhase2 back it seems08:56
pedronissome parts of it08:56
pedronisyes, sorry08:56
mvopedronis: and teach it about bases08:56
mvopedronis: thank you08:56
pedronismvo: really only core08:57
pedronisas a base08:57
pedronisfor now08:57
pedronisundering the assumption that base themselves08:57
pedronisdon't have slots08:57
pedronis(we might change that at some point, but don't think we want to go there now)08:57
mvopedronis: +108:58
mupPR snapd#5331 opened: snapstate: sort "snapd" first <Created by mvo5> <https://github.com/snapcore/snapd/pull/5331>09:03
zygamvo: ok, I have something that vaguely works09:22
zygaI can share it now, let me commit09:22
zygait still doesn't pass unit tests09:23
mvozyga: ok09:26
mupPR snapd#5332 opened: tests: relax check for download start, match either download or assertion retry attempt <Created by stolowski> <https://github.com/snapcore/snapd/pull/5332>09:31
mborzeckipedronis: do you think #5314 is close to landing now?09:36
mupPR #5314: many: rename snap.Info.Name() to snap.Info.InstanceName(), leave parallel-install TODOs <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5314>09:37
zygamvo: ok let me get rid of junk from history and push it09:37
pedronismborzecki: probably, but I need to look at it again09:38
pedronisChipaca: +1 to #5326 with some final nitpicks09:38
mborzeckipedronis: ok, take your time, better catch all the places now09:38
mupPR #5326: api/snapctl: allow -h and --help for regular users <Created by stolowski> <https://github.com/snapcore/snapd/pull/5326>09:39
pedronissorry09:39
pedronisChipaca: I meant #532709:39
mupPR #5327: store: switch store.SnapInfo to use the new v2/info endpoint <Created by chipaca> <https://github.com/snapcore/snapd/pull/5327>09:39
pedronismborzecki: of course we have some pending PRs adding more Name() and RealName uses09:39
zygamvo: I have one idea I lijke09:41
zyga"snap info system"09:41
zygacould do what "snap version" says, e.g. synthesise nice description, summary,09:41
zygause os-release09:41
zygaetc09:41
zygait sounds nice and would be ... cool :)09:42
mborzeckipedronis: i guess i could nag people to add a todo note while they're at it, otoh wouldn't want to disrupt PRs too much, i can always merge this locally, since it's a rename the the code will fail to build (well maybe aside from RealName, this may easily fall under the radar)09:44
pedronismborzecki: any further tought btw whether we should put InstanceKey in Info/SnapState/SnapSetup or SideInfo ?09:45
zygamvo: command-not-found broke in bionic09:46
zygait's broken, but not as you know it https://www.irccloud.com/pastebin/Za3Og5z0/09:46
zygaalso, I wonder why it used "sudo snap install" twice09:46
mvozyga: hm, hm, what version of snapd do you have? edge?09:49
zygaI'm running master09:49
zyga+ my magic changes09:49
mvozyga: this indicats some mismatch between snapd and snap09:52
mborzeckipedronis: i'm leaning towards side-info, other option i looked at is keeping it in snapstate as a separate field, but i'm not convinced, feels like it's shifting the cost of tracking it to other places, besides we already repeat a bunch of data in side-info for every revision, instance keys are relatively short (at least for now) so there wouldn't be that much overhead09:52
zygamvo: ah, that's possible09:53
zygaI only have ./snap09:53
mborzeckiheh formatting heredoc in task.yaml is awkward, especially if it's nested in some for loop/if block09:53
pedronismborzecki: it still feels a bit dirty, because everything so far in SideInfo is revision/store related10:05
Chipacaerror: e-book-client-error-quark[2] Conflicting UIDs found in added contacts10:08
Chipacawtf10:08
zygamvo: https://github.com/snapcore/snapd/compare/master...zyga:rfc/virtual-system-snap?expand=110:13
zygamvo: pull this and have a look10:13
zygaI will now look at what tests are unhappy10:13
zygatowards making it unit test happy10:13
zygaand then looking at spread happy10:13
mborzeckipedronis: fair point, let's assume then that it's in SnapState (and thus in Info & SnapSetup), a bit more work but will probably pay off in the long run10:13
zygaall suggestions welcome10:14
pedronismborzecki: given that we have Name() in at least a couple of those it should be well hidden, the question is how many fuctions take SideInfo directly, which is something I'm looking into10:14
pedronisnow10:15
mborzecki#5293 is green for the 5th time now, killing gvfsd seems to work, needs a 2nd review and we could land it10:15
mupPR #5293: tests: fix interfaces-calendar-service test when gvfsd-metadata loks the xdg dirctory <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5293>10:15
mvo_zyga: thanks, I check after lunch10:16
pedronismborzecki: not a tone, some Mock functions but we have options tehre10:16
mborzeckipedronis: heh, at least a couple of apis in snapstate will need adjustments, eg InstallPath which I touched recently10:16
pedronismborzecki: I know,  I couple functions taking  *SideInfo,  will really need to take  *SideInfo, instanceKey string10:16
mborzeckipedronis: those apis which take a name should be fine though10:16
mborzeckiname as in snap name10:17
pedronisyep10:17
pedronismborzecki: the ReadInfo ones  are the mostly annoying, though usually we call them through other helpers10:18
pedronismborzecki: also not sure the one that opens  the file (vs deals with an installed snap) needs the instance key10:18
mborzeckipedronis: iirc readinfo takes a name, it should be fine then10:19
pedronisah, yes10:19
pedronismborzecki: so maybe you could quickly check how many places doing  ReadInfoFromSnapFile  will need to stick a instanceKey in the result10:19
pedronisthat seems the biggest sticking point10:19
mborzeckipedronis: yeah, i'm already setting it explicitly https://github.com/bboozzoo/snapd/blob/bboozzoo/parallel-snap-install-from-snap/snap/info.go#L933 so a simple adjustment10:21
pedronismborzecki: ?, I'm talking about *SnapFile10:23
pedronisunderstood about just ReadInfo10:23
pedronisit's used not a lot10:24
pedroniswe should be able to survice10:24
pedronissurvive10:24
mborzeckiyup, a handfull of places10:25
pedronissame OpenSnapFile10:25
pedroniswith the latter we have a name or SnapSetup around10:25
pedronismborzecki: so, yes I would try  to add InstanceKey to Info SnapState and SnapSetup and see how it goes10:26
pedronisseems cleaner long term10:26
zygapedronis: what's the revert plan for instances10:26
zygaCE will test reverting core / snapd10:26
pedroniszyga ?10:26
zygahow do we plan that after installing instanced snaps revert won't cause issues on the system10:26
pedronisit's kind of hard10:27
zygaright but we need _a_ plan10:27
zygaCE has a test that shows that revert must work10:27
pedroniswell on core devices nothing should do that10:27
zygawe've been burned by that before10:27
mborzeckiwith the former we seem to have the name in the caller (or don't care as in case of snap try)10:27
pedronisunless is done explciitly10:27
zygapedronis: as long as they don't use instances (I doubt they do) it would work, right?10:27
pedronisyes10:27
zygaperfect10:27
zygawe should coordinate with CE to let them know in case10:27
pedronisit might also make sense10:28
pedronisto have as experimental feature for a while10:28
pedroniswhich means you really need to opt in10:28
zygaI agree10:28
pedronisto play with it10:28
mborzeckiexperimental.parallel-installation10:28
mborzeckior somesuch10:29
zygamaybe use the word "instance" somehow10:29
zygapeople will get LL vs L wrong10:29
zygaand instance is the word we use in various messages10:29
zygamvo_: so one thing I was worried about yesterday10:29
zygathat I mentioned at the standup10:29
zygabut then it slipped my mind10:29
zygawas core transition with system in place10:30
pedronismborzecki: I will do another pass over InstanceName after lunch at this point10:30
zygawe need to do something about it10:30
mborzeckipedronis: great, thanks10:30
zygawe also need to look at the core snap and the existing real core-support plug there10:30
zygaI will park this branch and look after other work now, let's sync when you are back10:30
mborzeckimeanwhile, i'm updating wife's laptop to f28 to check that xwayland thing, can't believe is coming down like this10:31
mborzeckithat guy on arch, for whom the build failed had this in makepkg.conf LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,now", notice how it's missing -z before now10:33
mborzeckizyga: that kill -9 gvfsd -> https://i.imgur.com/Iu0soAq.jpg10:38
pstolowskipedronis: disconnect hooks conflict are more fun than autoconnect.. do you have a moment for HO?10:40
pedronispstolowski: nowish11:11
pstolowskipedronis: ok11:11
pstolowskipedronis: in the standup ho11:12
* Chipaca lunches11:14
popeyChipaca: https://raymii.org/s/blog/snap_install_mosaic_the_first_graphical_webbrowser_on_Ubuntu.html11:28
popey:)11:28
Chipacapopey: :)11:30
Chipacaah drat i was going to have lunch11:37
* Chipaca is having one of those days11:37
* Chipaca goes11:37
=== pstolowski is now known as pstolowski|lunch
niemeyermborzecki: Sent some notes on #5314.. have a morning full of meetings from now on, so won't be able to complete it before my afternoon11:46
mupPR #5314: many: rename snap.Info.Name() to snap.Info.InstanceName(), leave parallel-install TODOs <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5314>11:46
mborzeckiniemeyer: thanks, want to chat about this before/after the standup?11:53
niemeyermborzecki: Sure, but can't before my afternoon.. have 4 meetings in sequence now11:54
pedronismborzecki: niemeyer: I should  probably be there too, otherwise we might start to push in different directions just because of misaligments/misunderstanding11:59
abeatomvo_, niemeyer https://github.com/snapcore/snapd/pull/5309 is ready for another round11:59
mupPR #5309: overlord/configstate: add watchdog options <Created by alfonsosanchezbeato> <https://github.com/snapcore/snapd/pull/5309>11:59
zygamvo_: do you want to sync before the standup?12:03
zygaI will be absent later today for school stuff12:03
mvo_zyga: sure we can sync12:03
mborzeckipedronis: fwiw, we can go down the introduce StoreName() (and make it the same as InstanceName()) route, either having TODOs and introducing the change later, or adding it right now works for me12:03
mvo_zyga: when you want12:03
zygaok, let's jump into the hangout12:03
mvo_zyga: ok, I need one minute or so for tea12:04
pedronismborzecki: I'm fine with a do nothing StoreName personally12:04
pedronismborzecki: it seems also safer in the sense that new PRs might need to add places that need it actually12:05
mborzeckipedronis: ok, let do this then, i'll put aside the spread and snapstate stuff now and will focus on this12:07
Nafallohi! what's the best way of using Ubuntu Core for an organisation. create a dummy user and add everyone's keys, or is there a way of registering an SSO account to a group with members? :-)12:15
Chipacapedronis: I've pushed a slightly more channel-y test12:38
Chipacapedronis: this'll all fall apart when we stop passing architecture to the store though :)12:39
=== pstolowski|lunch is now known as pstolowski
ChipacaNafallo: create a user for the project, have it register the name of the snaps, and give devs developer access to the snap12:40
ChipacaNafallo: then as the team evolves it's easier to manage than if you  added the keys like you propose12:40
pedronisChipaca: thanks,  this and the old one still miss the HasLen check though12:40
Chipacapedronis: i'll just change the check to do a big deepequals12:41
Chipacabah12:41
Chipacabetter errors this way12:41
Chipacahmm12:41
* Chipaca fixes12:42
Chipacapedronis: done12:43
pedronisChipaca: thanks, just need to be green now12:44
=== mup_ is now known as mup
NafalloChipaca: I'm not sure we'll be doing snaps, rather than using Ubuntu Core for container hosts. last step in registration requires an Ubuntu SSO e-mail to grab the SSH keys etc... :-)12:54
ChipacaNafallo: ah! I'd misunderstood sorry12:56
mupPR snapd#5332 closed: tests: econnreset - relax check for download start, match either download or assertion retry attempt <Created by stolowski> <Closed by stolowski> <https://github.com/snapcore/snapd/pull/5332>13:12
ChipacaNafallo: if i were in your place I'd check with mwhudson13:12
ChipacaNafallo: but it's something like 1am for him so probably not on irc13:13
Nafalloalright. thanks for hilighting him :-)13:18
mupPR snapd#5327 closed: store: switch store.SnapInfo to use the new v2/info endpoint <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/5327>13:44
Chipacapedronis: ^13:44
pedronis\o/13:45
* zyga goes to school13:47
mvo_Chipaca: nice!13:49
mupPR snapd#5333 opened: tests: show status of the partial test-snapd-huge snap in econnreset test <Created by mvo5> <https://github.com/snapcore/snapd/pull/5333>13:49
mvo_cachio: ^- not sure if this is helpful but it might13:49
mvo_cachio: or did you had a chance to look at this already via some debug shell?13:50
cachiomvo_, yes I did13:50
cachiomvo_, I reproduced the error with this https://github.com/snapcore/snapd/pull/5329/files13:51
mupPR #5329: DON'T REVIEW: tests: Adding debug information to know why econnreset is failing <Blocked> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5329>13:51
cachioand the file was empty13:51
cachiothe partial13:52
cachiozyga, do you think we can merge this one #5293 ?13:56
mupPR #5293: tests: fix interfaces-calendar-service test when gvfsd-metadata loks the xdg dirctory <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5293>13:56
mvo_cachio: oh, interessting, it was empty, hm, hm, I though we had code that errors if the file is empty13:58
mborzeckipedronis: niemeyer: pushed StoreName to #531413:58
mupPR #5314: many: rename snap.Info.Name() to snap.Info.InstanceName(), leave parallel-install TODOs <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5314>13:58
mvo_cachio: aha, nice, I see your branch already has most of the info I also am keen to see. let me check the log13:59
mvo_cachio: if you have a log captured from the run from 5329 I would love to have a look. if not I will just wait for it to fail in spread :)14:01
cachiomvo_, let me check14:05
cachiomvo_, https://paste.ubuntu.com/p/Bq8Z2H7X7G/14:09
cachiothis is hte last one which I could reproduce from my machine14:09
cachiothere is a reboot message at the end14:09
cachioniemeyer, today morning I run spread -gc and deleted 465 machines14:43
niemeyerWow.. what was that about?14:43
cachioall of them created this morning14:43
niemeyerThat sounds suspect14:44
cachiomost of them created at 4am my time14:44
cachioniemeyer, I realized the number when I saw the log after all of them were deleted14:45
niemeyercachio: What's the cause?  Did you check what those machines were doing?14:46
cachioniemeyer, no, when I realized the big number all the machines were already deleted14:46
niemeyercachio: Can you have a pass through Travis and see why that huge number was left behind?14:47
cachioniemeyer, sure14:47
niemeyercachio: Thanks!14:48
niemeyercachio: We just need to make sure we're not missing anything.. that high number of machines going past 2h definitely means something14:48
cachioniemeyer, yes, it could be caused with aprox 8 builds canceled14:50
cachioniemeyer, I launch 54 machines on each build14:50
cachiowe launch14:51
mvo_cachio: *cough* I think I found the reason for the econnect issue - the network ist just too fast. the debug log from my latest pr shows the test-snapd-huge.snap is there (no partial). so I think it got all downloaded in the time it took the script to do the iptable --block commmand14:54
cachiomvo_, yes, that could be a reason, but I tested and it takes like 5/10 seconds to download14:56
mvo_I wonder what we should do: a) make test-snapd-huge bigger b) retry the test if its too fast c) add artificial throttling into snapd via some config option (I like (c))14:56
mvo_cachio: the log indicates its the case but let me double check, maybe we need to log slightly more (i.e. when a download finished)14:57
zygaThrottle vía Linux14:58
* zyga sends regards from school14:58
mvo_cachio: hm, you are right, someting is fishy14:58
mvo_cachio: after 1s it had downloaded 33Mb which is fast but not fast enough unless it picks up speed very quickly afterwards14:59
cachiomvo_, yesterday I tested the same because I had the same theory14:59
zygaWhat is inside the snap?14:59
cachioso I made many downloads and allways it was taking like 10 secdonds to complete the downlaod15:00
mvo_cachio: yeah, then maybe the blocking is not working correctly15:00
zygaas in, what takes up the space15:00
mvo_cachio: because the debug output indicates that the file is fully there15:01
cachiomvo_, mmmm15:01
cachiomvo_, this explains why it is not retrying15:02
mvo_cachio: exactly15:02
mvo_cachio: so I think we should add code that checks if the file is fully there15:03
cachio-rw-r--r--   1 test test     0 Jun 15 04:00 test-snapd-huge_1.snap.partial15:03
cachiobut after the test we see this15:03
Chipacamvo_: wouldn't chaning the sleep 1 to sleep .01 or sth be enough?15:04
mvo_Chipaca: yeah, that might be worth a shoot15:04
Chipacaalso that task should have a debug entry that cats the error log15:04
ChipacaI'm adding logging to store/Download fwiw15:04
Chipacaas i was looking into this as well right now15:05
mvo_Chipaca: cool, let me update my PR to shorten the sleep and to give better errors15:05
pstolowskifwtw, I tried sleep = .1 in my PR (the one i talked about in the standup) and it didn't help15:05
ChipacaI think checking quicker is the right approach; my worry is that throttling will bite us in nasty ways15:06
mvo_pstolowski: it seems to be baby steps, maybe it just takes too long for the kernel to apply the rule15:06
mvo_pstolowski: its definitely confusing though15:07
pstolowskitell me ;)15:07
cachio:)15:07
pstolowskican we rule our caching out? I think that's the one thing i haven't investigated15:08
Chipacamvo_: another thing we can do is add a rate limiter to store/download, for use in tests15:08
cachiomvo_, Chipaca something weird is that it is just happening in some systems15:09
cachionot in all of them15:09
mvo_Chipaca: yeah, I was thinking about this15:10
Chipacacachio: 'snap instal bofh' <- know the TRUE reasons for things15:10
Chipacafor example, the errors you are seeing are because.... We had to turn off that service to comply with the CDA Bill.15:10
Chipacamvo_: first, logs :)15:10
Chipacaotherwise it's all guesswork15:11
mvo_Chipaca: I added some more bits in the tests but yeah, probably debug logs++15:12
cachioChipaca, hehe15:12
mvo_Chipaca: I added some more debug and an explicit check if the download finished with dates, lets see what the outcome is15:12
pstolowskipedronis: i think i need to bring installTask back into checkConnectConflicts, it seems to be the only way to be able to reason about and avoid self-conflicts15:13
pstolowskipedronis: (for disconnect-interfaces)15:13
pedronispstolowski: why would you have self conflicts ?15:14
pedronisI'm missing something15:14
pedronispstolowski: what are you conflicting on?15:14
pedronispstolowski: you probably need to add a flag like "auto" to the disconnects you create15:15
pedronisthough15:15
pedronismaybe that's the missing bit15:15
pstolowskipedronis: for auto-connect we don't have them because we consider auto-connect after we linked the snap; but as I examine all non ready tasks in disconnected-interfaces i encounter own tasks for unlink-snap for example, as they are pending15:15
pedronisah15:15
pedronismmh15:16
pedronisno, don't understand15:17
pedronispstolowski: I see, the problem is that the old code was naive15:18
pstolowskipedronis: we consider snap-removal, so we have disconnect-interfaces in the tasks and unlink-snap as well, we find conflict with ourselves15:19
pedronisthough it might work because of the other conflict logic15:19
pedronispstolowski: I see, you need to pass in your snapName  (no point passing in a task)15:20
pstolowskiyes, or that15:20
pedronispstolowski: yea, pleas pass just a name15:20
pstolowskiok15:21
pedronisand then just before the last if k == "unlink-snap" ....15:21
pedronisyou need to check   if snapName is that name and continue?15:22
pstolowskiyes that's the idea15:22
pedronispstolowski: call it disconnectingSnap ?15:24
pstolowskisounds good15:25
pedronismborzecki: did the last pass over #531415:34
mupPR #5314: many: rename snap.Info.Name() to snap.Info.InstanceName(), leave parallel-install TODOs <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5314>15:34
cachioniemeyer, well15:35
cachiofor each build errored we leave 54 machines alive15:35
pedronismborzecki: mostly that we don't need some todos, a we could use StoreName even a bit less... otoh I have  a question about app name shortcuts... also couple of places the todo is deeper than what to pick I think15:36
cachioand for each cancelled too15:36
cachioniemeyer, in the last 4 hours we left 108 machines15:36
cachiobecause build error15:37
mborzeckipedronis: thanks, i'll take a look15:38
cachioniemeyer, I don't have so much information about the executions on this morning because most of the builds were executed again and the logs are gone15:38
pedronismborzecki: also there's a conflict with John merge I think15:39
Chipaca*shocked*15:44
* cachio lunch15:47
niemeyercachio: Ack, thanks15:51
niemeyerLunch as well15:51
Chipacamvo_: cachio: pushed some more debug to #533316:09
mupPR #5333: tests: show status of the partial test-snapd-huge snap in econnreset test <Created by mvo5> <https://github.com/snapcore/snapd/pull/5333>16:09
cachioChipaca, nice, thanks16:09
mvo_Chipaca: *hug* thank you16:10
Chipacamvo_: :-)16:10
mvo_a review for 5324 would be really nice16:10
Chipacamvo_: on it16:10
mvo_Chipaca: thank you again!16:11
* Chipaca thinks popeycore is a genre of music, played by bands that dress up as pirates and out-nerd each other on performing authentic interpretations of sea shanties16:31
Chipacaeither that, or really small popes16:32
* Chipaca agrees16:32
=== pstolowski is now known as pstolowski|afk
mupPR core18#28 opened: Fix the UID/GID mapping <Created by sil2100> <https://github.com/snapcore/core18/pull/28>16:50
* mvo_ hugs sil2100 16:50
zygare17:22
* zyga wonders how things are17:27
mborzeckizyga: things are 30 minutes till the match starts :)17:28
zygamborzecki: I'm not a football fan rctually17:29
* sil2100 hugs mvo_ back17:31
sil2100mvo_: I looked at your PR and I still need to test it, guess I'm too burned out today to not miss anything important17:31
sil2100So I'll review it properly on Monday morning17:31
sil2100o/17:31
mupPR snapd#5293 closed: tests: fix interfaces-calendar-service test when gvfsd-metadata loks the xdg dirctory <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5293>17:36
Chipacamvo_: hm17:37
Chipacamvo_: [ "filename" -gt 1 ] does not seem like a good test for 'was the file downloaded'17:37
* Chipaca lets the test go ahead just in case he's missing something17:39
* Chipaca expects to see a 'integer expression expected' error17:39
cachioChipaca, I also added your debug info to the other branch17:39
Chipacacachio: heh, ok17:39
cachioso if I can reproduce the error it will help17:39
Chipacacachio: including the debug: entry in task.yaml?17:40
cachioChipaca, yes17:40
Chipacayes part of the problem with this thing is that it wasn't printing anything useful on error17:40
Chipacaso unless you were running with -debug you were SOL17:40
Chipacathis should help17:40
cachioyes agree17:40
cachiothe problem is that now it is not failing :)17:40
cachioit works properly when you add debug info17:41
Chipacambuahaha17:41
Chipacaproper heisenbug17:41
Chipacait'll be doing crystal meth next17:41
mvo_Chipaca: did I forgot a -count ?18:07
Chipacamvo_: what were you wanting that test to test18:08
Chipacamvo_: and what command takes -count18:08
mvo_Chipaca: checking if test-snapd-huge is actually there18:08
mvo_Chipaca: instead of .partial18:08
Chipacamvo_: I changed the test to [ -n "$(find ...)" ]18:08
mvo_Chipaca: aha, nice18:09
Chipacamvo_: I suspected you were thinking [ "$(find ... | wc -l)" -gt 0 ]18:09
Chipacabut that seemes contrived for the -gt 0 case :)18:09
Chipacaand you'd written -gt 1 which made it worse :)18:09
mvo_Chipaca: :(18:10
Chipacathat si: it was [ "$(find test-snapd-hug_*.snap)" -gt 1 ]18:10
Chipacawhich has a bug because bash would expand that * sometimes18:10
mvo_Chipaca: a clear sign I need to call it a week ;)18:10
Chipacai mean18:10
Chipacafind -name <that>18:10
Chipacaheh18:10
Chipacamvo_: yes :)18:11
mvo_Chipaca: thanks for fixing it18:11
Chipacamvo_: worse thing was that it was working18:11
Chipaca:)18:11
mvo_Chipaca: it was?18:11
Chipacabecause the [ was returning 2, but it was in an if, so the if was never true18:11
Chipaca2 == WTF18:11
mvo_uff18:12
Chipaca:)18:12
Chipacamvo_: gotta love shell18:12
Chipacaon fridays18:12
mvo_Chipaca: I do - with passion18:12
Chipacapost beer o'clock18:12
mvo_(and fire)18:12
Chipaca:-D18:12
mvo_Chipaca: :) beer o'clock - can't wait to see results from the PR18:12
Chipacamvo_: same18:14
Chipacamvo_: it failed before with errors in unrelated tests, of course18:15
Chipacaanyway, off to put pizzas in the oven18:15
Chipacafull friday mode here18:15
* zyga hugs Chipaca’s rational Friday mode19:10
zygaWell19:11
zygaI meant to say I hug chipaca because of the pizza really19:11
mupPR snapd#5334 opened: tests: show executed tests on current system when a test fails <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5334>19:35
mupPR snapd#5333 closed: tests: show status of the partial test-snapd-huge snap in econnreset test <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/5333>20:20

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