/srv/irclogs.ubuntu.com/2018/05/08/#snappy.txt

mborzeckimorning05:02
mupPR snapd#5138 closed: cmd/libsnap: fix compile error on more restrictive gcc <Critical> <Simple> <Squash-merge> <Created by zyga> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5138>05:18
mupPR snapd#5139 opened: cmd/libsnap: fix compile error on more restrictive gcc (2.32) <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5139>05:23
mborzeckimvo: morning05:36
Son_Gokumborzecki, mvo: do we have fedora 28 CI live now?05:36
mborzeckimvo: i've merged 5138 and opened a followup for 2.32 -> #513905:36
mupPR #5139: cmd/libsnap: fix compile error on more restrictive gcc (2.32) <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5139>05:36
Son_Gokuand maybe even rawhide CI?05:36
mborzeckiSon_Goku: don't know if cachio has added f28 image yet05:37
Son_Gokuwell, unfortunately I'm a bit unable to test much of anything on hotel wifi :/05:37
Son_Gokuso I was hoping that'd be up by now to be sure that the compilation errors are all fixed05:37
mvomborzecki: thank you! and good morning05:39
mvoSon_Goku: I will followup with cachio on that today05:40
Son_Gokumvo, zyga, I'm in San Francisco for Red Hat Summit this week05:40
Son_Gokuso among other things, I intend to talk to Fedora folks on a wide array of topics05:40
Son_Gokuwhich is why I was hoping zyga would have ironed out the issues that prevented a working fedora base snap05:41
Son_Gokuand created an app snap that uses a fedora base to demo the concept05:41
mvoSon_Goku: woah, cool!05:42
mvoSon_Goku: he was working on this, but this sounds great, lets catch up with him once he is online and see the status, it would be great to give you something to demo there05:43
mborzeckiSon_Goku: great news05:43
mborzeckihe mentioned he did play with fedora base on friday (?) last week and he had some progress05:43
mborzeckiafk for ~30 minutes06:11
mupPR snapd#5139 closed: cmd/libsnap: fix compile error on more restrictive gcc (2.32) <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5139>06:13
zygaHey06:16
zygaSon_Goku: i have something close that you can show06:16
zygaI will share it soon06:16
zygaI have a bit of a hectic day06:16
zygaNeed to go with my mom to a hospital06:17
zygaBut I will work most of the time06:17
Son_Gokuok06:18
* zyga commutes to the hospital06:53
mborzeckire07:07
=== pstolowski|afk is now known as pstolowski
pstolowskimorning07:10
mborzeckipstolowski: hey07:10
mborzeckipushed an update to arch package with gcc build fixes patch07:37
mvomborzecki: ta07:40
zygare08:01
zygamvo: how are we doing for .7?08:03
zygahow can I help08:03
mvozyga: need an ACK from niemeyer for .7 on naming and approach (forum post is https://forum.snapcraft.io/t/snapd-seeded-target-and-how-to-order-after-it/5310)08:04
mvozyga: I'm looking at the screenly issue right now08:04
zygamvo: at the lower vs UPPER thing?08:05
zygamvo: do you think that we could use my suggestion on mounting fat in a specific way?08:05
zygamvo: I added one more option on the #5132 naming thing08:06
mupPR #5132: snap,wrappers: allow "external:{snapd,snapd.seeded}" for snap apps <Critical> <Squash-merge> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5132>08:06
mvozyga: yeah, the corruption thing, I wrote up https://forum.snapcraft.io/t/snapd-causes-corruption-on-upgrade/5253/2008:06
mvozyga: which includes all the details what goes wrong, I have the sd card and looking right now if I can find anything to help with the situation08:07
zygamvo: canyou check if mounting it with that option helps08:07
zygait should be a simple tweak to fstab08:07
mvozyga: I did, I still see two lower-case uboot.env files and cat gives me the wrong one08:07
zygabummer!08:08
zygaan fsck?08:08
mvozyga: but let me try to write it08:08
zygadoes fscking fixes anything?08:08
mvozyga: fsck.vfat is clean :/08:08
zygawell, at this stage I think linux is broken there :/08:09
mborzeckiwell, how did they end up with both?08:11
mvomborzecki: thats the big question - uboot writes it, it contains snap_mode=trying08:12
zygamborzecki: FAT is apparently still hard08:12
mvomborzecki: however its unclear why it does it, in most cases it writes the right file08:12
mvozyga: here is something funny, if I mount with -o shortname=win95 I can see the two files with different filenames - but cat gives me the same output for both08:13
zygamaybe magic sd card controller groking fat?08:13
mvothis also works when I don't use a sd card but just the plain image08:13
mborzeckiwhich one was written by fw_setenv?08:13
mvoand fatcat shows me the right "cluster"08:14
mvomborzecki: none08:14
mvomborzecki: the uboot binary writes with its own code (which may be reused in fw_setenv, I don't know)08:14
mborzeckiso it's the uboot script that wrote it?08:14
mvomborzecki: and we write using our own code08:14
mvomborzecki: correct08:14
mvomborzecki: one sec, I can paste it08:14
mborzeckimvo: if you do fatls in uboot does it show both files?08:15
mvomborzecki: https://paste.ubuntu.com/p/7zCCzgh76j/ <- output sucks08:15
mvomborzecki: I think it does, let me double check, I played with fatls and fatload and md and could only get uboot to read the "wrong" UBOOT.ENV file. but it seems when it writes it always writes the "uboot.env" (lower-case) file08:15
mvomborzecki: https://paste.ubuntu.com/p/psgTgfwFz5/ - it shows both files08:16
zygamvo: what is the relationship of uboot.env to uboot.bin?08:17
zygathere's only one .bin08:17
zygamaybe (apart from .env being duplicated) the issue is really in .bin?08:17
mvomborzecki: doing fatload mmc 0 9999999 UBOOT.ENV gives me the same conent for upper and lower case08:18
mvozyga: we don't write anything on this sd except UBOOT.ENV08:19
zygamvo: how are you testing this? using a raspberry pi?08:19
Chipacamoin moin08:20
zygahey Chipaca!08:20
mborzeckizyga: uboot.bin is the actual uboot, it's loaded by one of the start*.elf binaries08:20
zygahow are you doing?08:20
zygamborzecki: ah, thanks08:20
mborzeckiChipaca: hey08:20
Chipaca'm hot =)08:20
Chipacahow're you guys?08:20
mvozyga: yes, I got the corrupted image and wrote it to a sd card and play with it on my pi08:20
zygamvo: what happens if you use uboot08:21
zygaand write some new variable08:21
zygaand save that08:21
zygadid you perform such an experiment?08:21
zygafrozbonicator=schnibble08:21
zygasaveenv or whatever that was08:21
zygaand see what's on FAT08:21
mvozyga: it happens implicitly because snap_mode=try triggers snap_mode=trying and saveenv. I did not try explicitly though, can do08:22
zygaI wonder where it will go08:22
mvozyga: pretty sur eit will go to uboot.env (lower) but I can try08:23
Chipacazyga: from snapd's pov that's a file mounted on a vfat fs, yes?08:23
zygaChipaca: yes08:23
Chipacazyga: why vfat and not msdos?08:23
zygaChipaca: mvo tried mounting it in a few ways08:23
zygaChipaca: ha, perhaps good question08:23
zygavfat implies long file names08:24
zygamaybe uboot doesn't do that08:24
zygathough msdos is AFAIK a variant of fvat with different options08:24
zygait would be good if we could reproduce this though08:24
zygamvo: question08:24
zygaha08:24
zygamaybe a good one actually :D08:24
zygamvo: how do we write that file from snapd08:24
zygaare we ... by any chance.. use atomic renames?08:24
zygawrite a new _long_ random file name a rename?08:24
zygacould it be that by doing that our file lives in the LFS domain?08:25
zygaand uboot just says "meh, don't grok"08:25
zygaand writes a new file08:26
zygathen stuff goes south08:26
zygathough this doesn't explain why it only happens once in blue moon08:26
zygamaybe the random pattern (if that part is random) needs to be special to trigger this08:26
mvozyga: we write the file in place iirc, never change the size. this is to avoid it ever moving on disk which seems to cause corruption easily (iirc)08:26
zygaaha, so that's out the door then08:27
zygahmmmm08:27
* zyga looks at the code08:27
mborzeckithis is what writes the env to a file: https://git.denx.de/?p=u-boot.git;a=blob;f=fs/fat/fat_write.c;h=3b77557b3ede57951c4e35e0d5d753fda845e903;hb=HEAD#l90208:27
zygamborzecki: thanks08:28
zygamydata->fatsize08:28
zygaI wonder if it would help if we mounted it as fat1608:28
zygais it fat16 or fat32?08:28
mvomborzecki: yeah, I remember looking at this file a while ago08:28
zygaor fat12, I forgot the variants08:28
mvoI think fat3208:28
mvobut not 100% certain08:28
zyga 980         downcase(l_filename, INT_MAX);08:29
mvothings are more myserious - now I tried to remove uboot.env from linux, that worked and ls from linux does not show any uboot.env anymore. *but* fatcat still shows *both* and uboot happily show both and load the UBOOT.ENV one08:30
mborzeckimvo: can you try mounting it with check=s ?08:30
zygaso it's essentially using lower case for lookup08:31
mvomborzecki: done, no change afaict08:31
mborzeckihm wonder what they set ENV_FAT_FILE to08:31
Chipacaaugh, laptop is suspend-cycling08:32
zygahmm08:32
Chipacawtf08:32
zygamvo: since both are lower case is there a chance that there's a space or something like that there?08:32
mvozyga: I can't see spaces with the tools I have, I can write some code though, let me see08:33
zygacan you fatcat | od -t c08:33
zygafrom linux08:33
zygathat should show invisibles08:33
mvozyga: it uses spaces all over the place, "f 18/4/2018 15:44:16  UBOOT.BIN                      c=11801 s=361144 (352.68K)08:34
mvo"08:34
zygadrat :/08:34
mvozyga: how would I know if the space is a space or part of the filename?08:34
zygayeah08:34
zygasucks08:34
mvoit does08:34
zygaFAT uses one table or two?08:35
mvotwo afaik08:35
mvofwiw, filesystem is FAT3208:35
zygamvo: does fatcat -o show anything?08:36
zygamvo: and what does fatcat -i say?08:36
mvozyga: https://paste.ubuntu.com/p/ZmShHTXkYY/08:37
mborzeckihmm https://git.denx.de/?p=u-boot.git;a=commit;h=2c33b0c7d8deca7e9a907365a59fcbcde531c70d08:37
mvozyga: https://paste.ubuntu.com/p/HqzptYhJ9C/08:37
zyga"exactly equals" ;-)08:37
zygahmmmm08:37
zygaman, this is a curious issue :)08:38
zygathank you mvo08:38
mvomborzecki: interessting, worth checking if they have this in their tree08:38
zygamborzecki: do we have that patch in our uboot08:38
zygamborzecki: and how does it explain the random aspect08:39
mborzeckizyga: 'our' uboot? where is that?08:39
mvomborzecki: they use https://github.com/Screenly/u-boot08:39
zygacould it be uninitialized memory08:39
zygamborzecki: not sure, let me look at pi3 gadget08:39
zygauboot is fairly (totally?) deterministic08:39
zygabut maybe something on reboot is not cleaned08:39
zygaand uninitialized memory could make some memcmp fial08:39
zyga*fail08:39
mborzeckimvo: can you grab the welcome banner when uboot starts?08:40
mvomborzecki: sure, one sec08:40
mvomborzecki: U-Boot 2017.05-dirty (Mar 12 2018 - 09:55:39 +0000)08:40
mvomborzecki: I guess that is the answer08:41
zygawoah08:41
zygadirty!08:41
mvomborzecki: definitely worth investigating08:41
mborzeckihaha ;)08:41
mborzeckiat least it's not some random chinese manufacturer :)08:41
mvoI am still super puzzled that uboot happily loads uboot.env which I deleted from linux and is no longer visible in linux. apparently fat is hard08:42
zygamvo: fat is easy, bound checks are hard ;)08:42
zygamvo: at this stage I'd get back to screenly for their dirty uboot tree08:42
zygathis is a goose chase until we know what they are booting08:42
zygamvo: would their patched uboot work on a vanilla pi?08:42
zygamvo: maybe worth trying with that?08:43
Chipacazyga: is that their uboot, or is it just the regular rpi uboot that's dirty?08:43
zygaChipaca: good question08:43
zygaand if my pi had a serial port connected08:43
mvozyga: we have the branch they build from on github08:43
zygaI would check08:43
zygamvo: who uploaded the gadget?08:43
mvozyga: their uboot works with my pi2, is that the question?08:43
mvozyga: I think they do that08:43
zygamvo: maybe the branch is not the thing that is really uploaed08:43
zygasome dev hacked a little thing and built that08:44
zygaand never commited08:44
mvopossible, but they build from snapcraft.yaml I would give them the benefit of the doubt for now :)08:44
mvothat they don't do crazy stuff08:44
zygamvo: I don't disagree that they use snapcraft.yaml now, just that the initial build was dirty :)08:45
zygamvo: can you swap to our pi SD card08:45
zygamvo: and see if we show the same dirty string08:45
zyga(and if it builds and boots, ship it)08:45
mvozyga: I can't do this easily right now (would need to reflash the image)08:46
mvozyga: but iirc we are also dirty08:46
zygaah08:46
* zyga wonders where is ogra 08:46
mvozyga: I only have one fast sd card :)08:46
zygaanyone with a pi handy?08:46
mvozyga: maybe washing ;)08:46
zygamvo: do you have a pi image for vanilla pi?08:46
zygamaybe strings | grep dirty08:46
* zyga needs to move closer to the hospital, ttyl08:47
mvozyga: good luck08:48
pbekthank you popey, I now closed those channels for qownnotes08:56
popeyyay08:56
pedronispstolowski: hi, so another reason not to do too big PRs seems github performance, I'm still struggling to open your PR :/09:03
pstolowskipedronis: :(09:03
pstolowskipedronis: pulling my branch and looking at latest commits might be faster?09:04
pedronismaybe but ideally I need to look at the comments too09:05
pstolowskiright09:05
pedronisseems to have opened in a different browser09:06
=== chihchun_afk is now known as chihchun
zygare09:20
* zyga waits at the hospital, focuses on existing branches09:20
pstolowskipedronis: thanks for the NoOption comment, pushed09:22
pstolowskizyga: commented on 510709:22
zygapstolowski: thanks, looking09:22
popeycjwatson: is there some way to get an rss feed from b.s.i builds in lp. feeds.launchpad.net/~build.snapcraft.io/snaps.atom  kind of thing?09:25
popey(I couldn't find it)09:25
zygapstolowski: replied09:27
cjwatsonpopey: no09:28
pstolowskizyga: thanks!09:28
=== Caelum_ is now known as Caelum
pedronispstolowski: lgtm09:30
pstolowskipedronis: ty, merge then? i'd squash-merge it..09:31
pedronispstolowski: yes, squash merge because there's so many commits09:31
pedronisneeds to be green first09:31
pstolowskisure09:31
mborzeckimvo: hm the rspi image from cdimage.ubuntu.com has U-Boot 2016.03-rc3-00013-gf135e8f-dirty09:33
mborzeckilet me check if i can build something more recent09:33
zygamvo: I would check with ogra if we actually use the uboot from snapcraft.yaml09:34
zygaolder gadget unpacked something from a tarball09:34
zygawhich may have been made manually09:34
ogra_that is long dead09:34
zygaogra_: hey09:34
zygaogra_: do you know what may have caused the "dirty" flag there?09:34
ogra_sorry, my IRC proxy wendt down unnoticed ...09:35
ogra_*wnt09:35
ogra_bah09:35
zygano worries :)09:35
ogra_zyga, in stable we still use the old stuff, but screenly never used that09:35
zygaI don't understand09:35
ogra_we switched to build-uboot-from-source ages ago but couldnt uzpgrade the gadget ... so stable still has the very first tries that used local builds from a tarball09:36
mborzeckii'm building from upstream09:37
zygaogra_: which version shows the string "dirty"09:37
ogra_zyga, the very first gadget we built09:37
zygaogra_: screenly's gadget shows that too09:38
zygaogra_: and mborzecki checked that rspi image on cdimage shows this too09:38
zygais that expected?09:38
nodemanhttp://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-pi3.img.xz09:38
ogra_i dont have a serial attached pi atm ... perhaps newer ones show it too, not sure (after alkl we have to patch it )09:38
mborzeckizyga: it's probably due to patching of rspi default env09:39
nodemanI'm having trouble getting this image working on the latest RPi, the model B+. Is it not supported?09:39
mborzeckizyga: hopefully only this09:39
ogra_zyga, sorry, i got confused ... the one in stable was built from master-tip when pi was initially added to uboot (there was no other branch for pi back then) and was used from a local binary build ... the newer ones come from a stable tag in the upstream u-boot branch and are built dynamically ...09:40
ogra_zyga, since we patch it to handle the config in a way snapd understands i belive they both get the dirty tag, but one comes from a stable source and the other from an "initial commit for this HW"09:41
zygaI see09:41
zygathanks09:41
ogra_zyga, sorry, i mixed up source and binary09:41
zygamvo: I think #5132 would pass now if master is merged, shall I do that?09:43
mupPR #5132: snap,wrappers: allow "external:{snapd,snapd.seeded}" for snap apps <Critical> <Squash-merge> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5132>09:43
mborzeckizyga: i think it should be enough to restart the build09:44
zygamborzecki: not sure, I can just merge09:44
zygamborzecki: I don't think we re-merge09:44
zyga(on gh side)09:45
mvozyga: sure, go for it09:45
Chipacanodeman: the raspberry 1 B+ is not supported, no09:45
zygadone09:45
Chipacanodeman: you need rpi 2 or 309:45
zyganodeman: there's a preview image I think09:45
zyganodeman: it's on the forum09:46
zygaahhh09:46
Chipacazyga: armel?09:46
zyga109:46
zygano no sorry09:46
Chipacaright09:46
zygaI confused that with 3B+09:46
Chipacawrong architecture09:46
zygasorry about that, pi 1 is not going to be supported due to CPU incompatibility09:46
Chipacanodeman: if by 'latest b+' you mean the 3 b+, then it can work as zyga says09:46
nodemanI mean RPi3 B+, getting a rainbow screen every time I boot up.09:47
Chipacazyga: nodeman didn't specify :-) i started my answer with a question09:47
nodemanSorry, for not specifying the 3 Chipaca .09:47
Chipacanodeman: yep, the image from cdimage will not work09:47
Chipacanodeman: i think it's the wrong bootloader or something; there's a preview image09:48
Chipacalet me find that for you09:48
nodemanChipaca: thanks, I appreciate it.09:48
Chipacanodeman: https://forum.snapcraft.io/t/support-for-raspberry-pi-3-model-b/4509/18?u=chipaca09:48
Chipacanodeman: read the caveats there =)09:48
* Chipaca takes a break09:49
zygaanyone wants to have a 3rd look at https://github.com/snapcore/snapd/pull/512609:51
mupPR #5126: cmd/snap-update-ns: add support for ignoring mounts with missing source/target <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/5126>09:51
zygait's +2 and green09:51
* Chipaca really breaks09:52
nodemanChipaca: thanks again.09:54
pstolowskiabout to merge interface hooks... if anyone wants to say something, now is the last chance... merging in 3...2...1..10:01
mupPR snapd#4358 closed: interfaces: interface hooks implementation <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/4358>10:06
pstolowski\o/10:07
pedronispstolowski: :)   almostlunch but once you have merged master into the follow ups, let me know which one I should look at first10:10
pstolowskipedronis: thanks, just re-merging them, will let you know10:10
=== Faults_ is now known as Faults
pstolowskii started getting 'Cannot allocate google:ubuntu-16.04-64: google: could not find default credentials.' from spread without changing anything on my side afaict.. did anything change?10:19
zygahmm?10:22
zygano, feels like a bug10:22
pstolowskizyga: does it work for you?10:24
zygapstolowski: let me try10:27
* zyga installs spread from a snap10:28
zygaweird10:28
zygaI'm sure I had it but maybe I broke something10:28
zygacould not find credentials10:28
zygawhaat?10:28
* zyga wonders10:28
zygapstolowski: which spread?10:29
zygapstolowski: it works now (I think)10:29
pstolowskizyga: i've spread from snap10:30
zygapstolowski: it works10:30
pstolowskizyga: ok, thanks for checking!10:30
zygapstolowski: spread from snap doesn't work10:31
zyganot sure where the key comes from?10:31
zygabut $SPREAD_GOOGLE_KEY is empty for me?10:31
zygano idea why10:31
* zyga goes out of the hospital, ttyl10:36
pstolowskizyga: ok, got it working, not sure what happened, but i switched to non-snap based spread and also re-initialized my gcloud config10:37
zygapstolowski: weird, right?10:48
zygawait10:48
zygawhere's the google auth data storeD?10:48
pstolowskizyga: in ~/.config/gcloud afaict10:48
mborzeckiplayed around with u-boot from our rpi3 image, could not get it to create duplicate files with lowercase/uppercase names10:49
mborzeckibuilding upstream u-boot for rpi is somewhat silly though, none of the linaro toolchains i usually use work, did some extra steps, doesn't work either, i'm downloading official rpi toolchain10:51
mborzeckistill amazed why people use it10:52
zygafun10:52
zygaI spawnet some google machines10:53
zygaclosed my laptop10:53
zygamoved out of the hospital10:53
zygaopened my laptop and re-connected to LTE10:53
zygaand I see those machines roll on :)10:53
zygamborzecki: ouch!10:53
zygamborzecki: and the bare armhf toolchain from ubuntu archive?10:53
zygamborzecki: it's the linaro toolchain10:53
mborzeckii'm doing this on arch, besides official rpi toolchain is almost there10:54
zygamborzecki: does lxd work on arch?10:56
zygajust curious10:56
zygahow portable the snap is10:56
mborzeckimborzecki: last time i used it it worked just fine10:59
zyganice10:59
zygaChipaca: should help say "command foo will print yada" or rather "command foo prints yada"?11:00
Chipacazyga: wat11:01
zygaChipaca: long help of snap commands11:01
zygawhat's the preferred wording?11:01
Chipacazyga: The foo command does x, y, and z11:02
zygammm,thanks11:02
zygasnap debug confinement doesn't follow that11:02
zygabut I will change it separately11:02
zygathank you11:02
Chipacazyga: ah, i haven't looked at the debug commands, I don't think11:03
Chipacaas they're hidden and not promised stable11:03
zygaI think they should do the same thing11:03
zygaas in, should be worded the same way11:03
Chipacaagreed, would be good11:03
zygaconsistently11:03
zygajust nobody noticed :)11:04
zygabecause <emoji>11:04
Chipacayep, as i say i didn't look at them in my last consistency pass11:04
mborzeckipff what a joke, 'Your GCC is older than 6.0 and is not supported', obviously the official one is 4.7.111:05
zygamborzecki: whaat? pi uses 4.7?11:15
zygais that the new 2.96?11:16
mborzeckibuilt it now with linaro toolchain, gcc 7.111:16
pstolowskipedronis: the next hooks PRs are #5120, #4767 and #4510, but the last two are not green now and i'm deconflicting them (5120 is ready for review and green)11:20
mupPR #5120: interfaces:interface-hooks for refresh <Critical> <Created by stolowski> <https://github.com/snapcore/snapd/pull/5120>11:20
mupPR #4767: interfaces: disconnect hooks <Critical> <Created by stolowski> <https://github.com/snapcore/snapd/pull/4767>11:20
mupPR #4510: asserts: use Attrer in policy checks <Blocked> <Created by stolowski> <https://github.com/snapcore/snapd/pull/4510>11:20
=== pstolowski is now known as pstolowski|lunch
=== tai271828 is now known as tai271828_
=== tai271828_ is now known as tai271828
* Chipaca ~> lunchy chunch11:37
ogra_chipunch11:40
ogra_...11:41
niemeyerHellos!11:50
zygahey11:59
mupPR snapd#5141 opened: tests: shellchecks, part 1 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5141>12:05
jdstrandnoise][ (cc wgrant, sparkiegeek since natalia and roadmr aren't here): hey, I've been getting 504s on https://dashboard.snapcraft.io/reviewer/ubuntu/ yesterday, today and last friday and have been unable to review the store queue12:19
jdstrandnoise][: https://status.snapcraft.io/ still looks ok12:20
zygawoah12:21
jdstrandcprov: fyi, ^12:22
cprovjdstrand: ack, let me figure something out for you quickly12:25
jdstrandcprov: thanks! (wgrant, sparkiegeek - fyi, cprov is on it)12:25
cprovjdstrand: it loads for me, with a large number of snaps pending review12:26
jdstrandhmm12:26
cprovnot really large, 27 new and 2 updated12:27
jdstrandcprov: https://dashboard.snapcraft.io loads for me, and clicking ono random things loads for me. but if navigate to that url, I get a 50412:27
wgranthttps://oops.canonical.com/oops/?oopsid=OOPS-8bc2e0c613f245e2969f321efeb6a431 has 15s of SQL time12:28
jdstrandcprov: most of those are kernel/gadgets that kyleN is a backlog that others are working through12:28
zygavim crashed while editing api_test.go12:28
jdstrands/that kyleN//12:28
jdstrandkyleN: (sorry for the noise)12:29
cprovjdstrand: yup, times out frequently here too12:29
jdstrandkyleN: I tried to leave you out of it. I guess my backspace key was broken :)12:29
jdstrandcprov: ah, so you got lucky12:29
cprovjdstrand: exactly12:30
jdstrandI mean, I can keep reloading the page (I had a few times today, yesterday and friday already)12:30
jdstrandah, I got ucky12:30
jdstrandlucky even12:30
jdstrandyeah, 4 of those need to be looked at by me12:31
jdstrandcprov, wgrant: for the moment, shall I just keep retrying and you'll (get someone) to look into the timeouts?12:31
=== pstolowski|lunch is now known as pstolowski
jdstrandzyga: what is up with hello-classic? is this a test snap? it was uploaded under your account, not the shared one12:33
zygathis is a demonstration snap that people can install and explore12:34
zygaI got a PR for it lately so I thought it should be published12:34
cprovjdstrand: I'd say so, it's not something we can fix instantly, but we should be able to improve things until EOD12:34
pedronisjdstrand: our official test snaps should all start with test-snapd- now12:34
zygaI can add it to a shared account but I don't know the process12:34
jdstrandzyga: did you do a forum request?12:34
jdstrandpedronis: yeah, that is what I thought12:34
zygajdstrand: no, I'll do one shortly12:36
jdstrandcprov: thanks!12:37
Son_GokuO.o12:38
Son_Gokutoday I just learned that subiquity's engine can install CentOS?112:38
Son_Gokusabdfl, ^ ?!12:38
pedronisSon_Goku: you mean 'curtin' ?12:45
Son_Gokuyes12:45
Son_GokuI mean, it's kinda dumb in some ways (based on how I read the logic in there), but I'm more surprised it can do it at all12:46
ogra_whats the logic ? dd ?12:46
ogra_or tar xf ?12:46
ogra_:)12:46
pedronisI think its scope has grown a bit driven by maas use cases12:46
Son_Gokuit can _sort of_ detect that it's targeting a CentOS system12:49
ogra_AI !!!12:49
Son_Gokuand write ifcfg network files12:49
Son_Gokuand maybe write halfway correct yum repo files12:49
zygajdstrand: https://forum.snapcraft.io/t/request-for-classic-confinement-hello-classic/532112:53
zygajdstrand: I made an RFC branch that you may be interested in #514212:57
mupPR #5142: many: add "snap debug sandbox" and needed bits <Created by zyga> <https://github.com/snapcore/snapd/pull/5142>12:57
mupPR snapd#5142 opened: many: add "snap debug sandbox" and needed bits <Created by zyga> <https://github.com/snapcore/snapd/pull/5142>12:57
zygamvo: I would look at linux fs/fat/namei_*.c13:31
mupPR snapd#5056 closed: cmd/snap: make confinement mode part of `snap version` output <Created by bboozzoo> <Closed by bboozzoo> <https://github.com/snapcore/snapd/pull/5056>13:33
zygait's very interesting13:33
* ogra_ would probably rather describe it as painful over "interesting" :)13:34
zygamborzecki: hey, how to check what a given shellcheck disable does?13:41
mborzeckizyga: pick the error and visit https://github.com/koalaman/shellcheck/wiki/SC2164 (change the number as required)13:47
zyganice, thanks!13:47
zygaI'll review your PR soon13:47
Chipacamborzecki: zyga: http://www.scp-wiki.net/scp-216413:48
diddledandang, #2120 didn't make 2.42 :-(13:48
mupPR #2120: Fix installed-size not being set in GET v2/snaps <Created by robert-ancell> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2120>13:48
diddledanerr13:48
diddledannot 212013:49
Chipacasnapcraft#2120 ?13:49
mupPR snapcraft#2120: many: dedup environment entries <Created by sergiusens> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2120>13:49
diddledanyeah that one13:49
sergiusensdiddledan: well, 2.42 is tagged and bagged, 2.43 or 2.42.1 from the looks of it, will come forward this week13:50
diddledanin related news, though, `snap install --candidate gimp`13:50
sergiusensbut SRUing (which is what you want for build.snapcraft.io, takes at least a week of testing)13:50
Chipacazyga: https://pastebin.ubuntu.com/p/Dmv6qgQcd8/13:53
=== chihchun is now known as chihchun_afk
* zyga drives his mother home13:57
* diddledan drives his mother crazy14:01
zygaOoooh14:02
zygaChipaca: i love that14:02
zygaCan we do an Easter egg where we snap install and run a dungeon snap14:03
zygaOr one of those old zork emulators14:03
diddledanwhat about some colossal cave quotes/actions?14:04
diddledansnap look: you are in a maze of twisty passages all alike14:05
diddledansnap xyzzy: nothing happens.14:06
kyrofaHey mvo, if/when you have a minute, I'd appreciate your eyes on https://github.com/snapcore/snapcraft/pull/211914:15
mupPR snapcraft#2119: repo: automatically prune unneeded stage-packages <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2119>14:15
kyrofamvo, the apt API wasn't quite doing what I thought it was doing14:16
Chipacazyga: the easter egg can be "snap debug looks for snap-debug-xyzzy when you try snap debug xyzzy", a la git14:19
zygaChipaca: oh14:40
zygathat's nasty :)14:40
zygain a good way14:40
mborzeckisize-wise very nasty14:40
* zyga looks at lwn and notices that https://lwn.net/Articles/753646/ has escallated quickly 14:40
mborzeckizyga: glibc joke?14:41
zygaaha14:41
mborzeckimid age drama :)14:42
mupPR snapd#5132 closed: snap,wrappers: allow "external:{snapd,snapd.seeded}" for snap apps <Critical> <Squash-merge> <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/5132>14:42
zygamvo: closed?14:42
zyga$ snap debug sandbox  https://www.irccloud.com/pastebin/h9EwxAUO/14:43
zygaChipaca: ^ any suggestions on output?14:43
zygaI was wondering if I should prefix all seccomp/apparmor features with something like "kernel-"14:43
mborzeckizyga: hacker news got agitated too https://news.ycombinator.com/item?id=1701564414:44
Chipacazyga: what would kernel- add?14:50
zygaChipaca: allow us to define our own flags14:50
Chipacazyga: i didn't follow14:51
zygain case we want to say "kernel-dbus" and "we-do-something"14:51
zygaChipaca: to namespace things14:51
Chipacazyga: these flag names come from the kernel itself?14:51
zygaChipaca: the list for apparmor and seccomp is coming from the kernel14:51
zygaChipaca: for the rest it's a hard-coded constant14:51
zygaChipaca: in case we want to have some constants and some kernel derived data14:51
zygajust a thought14:51
zygamborzecki: https://github.com/snapcore/snapd/pull/5141/files#r18675680314:54
mupPR #5141: tests: shellchecks, part 1 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5141>14:54
zygamborzecki: all the 1117s feel like a bug on our end14:55
mborzeckizyga: afaict we want the explicit "\n"14:57
zygamborzecki: my understanding is that it says "\n" works by accident and wants us to use "\\n" which works explicitly14:57
zygas/accident/fallback/14:57
mborzeckizyga: hmm, but we do not want a newline ("\\n"), but an actual "\n" because this is passed to grep14:59
zygathen we can use ' '14:59
zygahmm14:59
zygaactually14:59
zygamborzecki: echo "\n" and echo "\\n"14:59
mborzeckiheh :) shell quoting14:59
zygathis is what you want14:59
zyga\\n is what we want IMO14:59
zygawithout -e "\n" is nothin gspecial15:00
zyga*nothing special15:00
zygamborzecki: does it make sense?15:01
Chipacazyga: then yes I'd namespace them, or group them15:02
zygaChipaca: kernel:foo or kernel<foo> or kernel-foo15:02
zygaChipaca: what do you think we should use?15:02
mvozyga: yes, I will summarize in the forum but create a separate PR with the before= fix15:02
zyga: is kind of nice15:02
zygamvo: ack15:02
zygathank you :)15:02
mvozyga: its doing more than we most likley need (and is a bit of a can of worms)15:02
zygamborzecki: https://github.com/snapcore/snapd/pull/5141/files#r18675988615:06
mupPR #5141: tests: shellchecks, part 1 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5141>15:06
mborzeckizyga: in this particular case neither exit nor true makes sense probably15:11
Chipacazyga: kernel:foo to distinguish it from kernel-foo15:13
mborzeckii bet this was refactored from install && exit 1 || true  to the current variant with MATCH15:13
Chipacazyga: ie explicitly namespaced15:13
zygaChipaca: thanks, I'll tweak that15:13
Chipacazyga: that way we can have kernel-foo and kernel:foo and they be different (although we should try not to :-) )15:13
mborzeckiChipaca: if you feel like doing some reviews, can you take a look at 5141? specifically the places where SC1117 is disabled need shell-expert-in-quoting level input15:15
Chipacaheh15:18
Chipacamborzecki: looking15:18
Chipacamborzecki: any reason not to instead double up on the \s we do mean?15:21
ChipacaI mean, to give shellcheck credit, in "\d foo \"bar\" meep" it isn't immediately obvious that you want one, and not three, backslashes in the output15:22
Chipacamborzecki: should i just ask in the pr :-)15:22
cjwatsonzyga: you want printf - echo is unportable across different shells as soon as backslashes are involved, basically15:22
ogra_+115:23
* Chipaca thinks about mentioning $'' quotes, but decides against it15:24
ogra_shellcheck -s sh ... usually even tells you15:24
Chipacaogra_: to be fair, spread checks are defined to be bash15:24
Chipacaso bashisms are ok (and encouraged when they help legibility)15:24
ogra_thats insane15:24
cjwatsonhttp://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html#tag_20_37_16 describes the unportability more precisely but it's basically the above15:24
mborzeckiand shellcheck is run with -s bash by the helper15:24
ogra_but we had this discussion ( niemeyer and I) and  I lost back then15:24
cjwatsonIMO printf is more legible than remembering when to use echo -e, in any case :)15:25
mborzeckicjwatson: definitely agree!15:25
zygacjwatson: ack, good suggestion15:32
zygamuch nicer "snap debug sandbox" https://www.irccloud.com/pastebin/7juy1qfc/15:33
zygaChipaca: ^ :-)15:34
Chipacayou say that, but i might disagree15:35
Chipacai mean, it's impossibly wide now15:35
ChipacaOTOH it's a debug tool15:35
Chipacaeh15:35
Chipacazyga: what are the commas adding?15:36
zygaChipaca: nothing, just a list delimiter15:36
Chipacazyga: I'd drop them unless you expect a space in the identifiers15:37
Chipacazyga: either way it's good to go15:37
zygaChipaca: I can drop them, sure15:37
zygathat's client side15:37
zygathe API just gives you a list15:37
zygaChipaca: done now15:46
zygajdstrand: hey15:47
zygajdstrand: I'd like to query your TODO list, when do you think you can spare time to do a review of https://github.com/snapcore/snapd/pull/508115:47
mupPR #5081: interfaces/apparmor: add chopTree <Created by zyga> <https://github.com/snapcore/snapd/pull/5081>15:47
zygaI would like to plan subsequent work based on that15:47
jdstrandzyga: planning on it today15:48
zygawoot, perfect, thank you!15:51
zyga:-)15:51
zygaSon_Goku: about my fedora-derivative15:51
zygaSon_Goku: I called it "folded hat" as it referes to origami style of snapcraft logo and to the hat reference to fedora15:51
zygaSon_Goku: gustavo suggested a more catchy name in case it sticks longer15:52
zygaSon_Goku: do you have any suggestions or preferences?15:52
niemeyerzyga: How about fcore28?15:55
zygahmm, I don't personally like that, it's not a nice word15:56
zygamaybe just f2815:56
zygawould calling it f28 be okay Pharaoh_Atem?15:56
zygaas long as we call f "folded hat" inside15:56
zygaand can rename to fedora once it is approved15:56
zygaf28 would be really short and nice15:56
niemeyerShort, but not quite nice16:18
Chipacaniemeyer: well, the f28 is a fokker16:18
Chipacaso that's nice16:18
pedronisit sounds a fortran version16:19
* pedronis ducks16:19
niemeyerfedcore2816:20
mvoI declare victory over understanding the vfat uboot.env/UBOOT.ENV and get dinner16:20
Chipacamvo: congrats!16:21
mvoChipaca: thank you!16:24
Chipacamvo: I see some reference to FSCK0000.000 from people complaining about gparted, fwiw16:24
Chipacamvo: aha! dosfstools creates those files16:27
zygamvo: what's the root cause?16:27
Chipacamvo: (dosfstools is where fsck.fat lives … so it's probably not news to you :-|)16:29
zyganiemeyer: I would say that fedcore is too close to fedora that we should not use it without getting this acked by the fedora trademark owners; I honestly think the temporary name I originally selected was okay and it's just for one demo; perhaps I can just send the snap to neal instead of uploading it to the store16:29
niemeyerzyga: The goal is for it to be too close to Fedora, I believe16:29
zyganot really, it's based on fedora but doesn't use the name16:29
niemeyerzyga: We don't need acknoledgement from anyone for the use of the prefix "fed".. I'm pretty sure there's even prior art here ;)16:30
zygaonce we can we should just call it what it is, fedora16:30
zyganiemeyer: I don't want it to live on as fedcore, I'm sure fedora would not want that either (they would like to pick the name as they would maintain and publish the snap)16:30
=== tai271828 is now known as tai271828_
zygaagain, this is a demo16:30
zygathe real name will belong to fedora server team16:30
niemeyerzyga: That's a pretty awkward rationale.. you're trying to find something that specifically doesn't sound like it's related to Fedora for something whose only point is being related to Fedora16:31
niemeyerzyga: anti-goal16:31
=== tai271828_ is now known as tai271828
zygaI can call it zygonix, it's just a demo based on fedora without the trademark16:31
niemeyerzyga: That's not a competition for awkward names16:32
niemeyerzyga: fedcore has no trademark16:32
zygaI'm not a lawyer16:32
zygaI didn't want to use a prefix of the real name16:32
niemeyerzyga: Exactly16:32
zygait's a _temporary_ name as the real snap will be published by fedora if they choose to pursue this16:33
zygaif not we can remove it from the store16:33
niemeyerzyga: That's what we're talking about16:33
pstolowskipedronis: thanks for the review!16:34
pedronisnp16:35
pedronisit was mostly already reviewed in the previous one16:35
pedronisbefore the splitting out16:35
pedronissorry it took me a bit, we had long chat after the HO and also my internet connection has been giving me troubles today a couple of times since standup16:36
pstolowskinp!16:42
* zyga needs to head home16:50
=== pstolowski is now known as pstolowski|afk
* Chipaca calls it a day17:00
mupPR snapcraft#2126 opened: packaging: load the correct libraries on armhf <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2126>17:27
mupPR snapd#5143 opened: tests: speed up save/restore snapd state for all-snap systems suring tests execution <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5143>17:48
mvoniemeyer: I replied to 5124 (just fyi) happy to implement either approach18:26
pedronismvo: at the start we are not seeded nor there's a seed change, so just looking for the change or no change at all is fragile18:30
pedronisI commented in the PR about this as well18:30
niemeyermvo: I think it would make sense in general for the command to have an option to say "wait for the change to exist, if it's not there yet"18:32
pedroniswell that doesn't work after the change is done but pruned18:33
pedronisit will never show up18:33
pedronisI fear if we want to reuse watch  we need to add some custom code for these kind of  changes18:33
pedronisor we don't prune suceeded seed or become-operational changes (but that doesn't cover preexisting systems)18:35
mupPR snapd#5144 opened: tests: update bionic release image on gce <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5144>18:40
mupPR core-build#29 opened: ubuntu-core-rootfs: deal with leftover fsck files <Created by mvo5> <https://github.com/snapcore/core-build/pull/29>18:41
mvopedronis: good point(s)18:43
pedronistbh there is some argument to keep the last  seed and become-operational forever (for transparency) but wouldn't help for systems already out there since a bit18:44
zygaIm home now18:52
zygaHad to walk a bit because all the bikes were gone18:52
=== blackboxsw is now known as blackboxs
=== blackboxs is now known as blackboxsw
mupPR snapcraft#2127 opened: delta: properly search for in-snap xdelta3 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2127>19:09
* cachio_ afk19:40
mupPR snapcraft#2126 closed: packaging: load the correct libraries on armhf <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2126>20:22
mwhudsonis there a way to make snap dump out the api requests it's making to snapd?22:07

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