/srv/irclogs.ubuntu.com/2017/10/16/#snappy.txt

Son_Gokusabdfl: so you're on this side of the pond now?02:47
=== ikey is now known as ikey|zzz
=== JoshStrobl is now known as JoshStrobl|zzz
zyga-ubuntugood morning06:14
* zyga-ubuntu does PR pass06:15
zyga-ubuntumvo: o/06:21
zyga-ubuntumvo: hey06:29
zyga-ubuntumvo: I'm willing to do a deep dive on https://github.com/snapcore/snapd/pull/403006:29
mupPR #4030: many: add internal squashfuse copy as "snapfuse" <Created by mvo5> <https://github.com/snapcore/snapd/pull/4030>06:29
zyga-ubuntumvo: unless you are already doing that06:29
Son_Gokuzyga-ubuntu06:31
Son_Gokuthat seems like a super-bad idea06:31
zyga-ubuntuSon_Goku: hey06:35
zyga-ubuntuSon_Goku: I know06:35
zyga-ubuntuSon_Goku: but if it's sufficient let's do it the best we can:06:35
zyga-ubuntuSon_Goku: I'd discard the generated files, discard uneeded code, integrate it into our build system, ete06:35
zyga-ubuntuSon_Goku: I haven't looked yet, maybe it is huge, maybe it will end up being a handful of files that we can just maintian06:35
zyga-ubuntu*maintain06:36
zyga-ubuntuSon_Goku: and good morning :)06:36
zyga-ubuntuSon_Goku: you're up early, it's barely sunrise here06:36
Son_GokuI'm about to pass out06:36
zyga-ubuntumy son is in a new school today06:36
zyga-ubuntuso I'm working from a coffee shop nearby06:36
Son_Gokuzyga-ubuntu: I think it's a really bad idea to do this at all06:36
zyga-ubuntuSon_Goku: sure but what is the alternative?06:36
zyga-ubuntuSon_Goku: if we have to do it, we have to do it06:37
zyga-ubuntuSon_Goku: we canont just change apt defaults overnight (even though I agree they are bad)06:37
zyga-ubuntuSon_Goku: those should have been changed years ago06:37
zyga-ubuntuSon_Goku: but I think that now it is too late for that06:37
Son_Gokuwell, if people are updating graphically or using `apt upgrade`, they'd get it06:37
Son_Gokujust fix apt-get upgrade's behavior06:38
zyga-ubuntuSon_Goku: yes but there is always a set that doesn't06:38
zyga-ubuntuSon_Goku: I think we've seen that already with snapd before (and we reverted a change that triggered that)06:38
zyga-ubuntuSon_Goku: it will also be a (I suspect) endless discussion in debian06:38
zyga-ubuntuSon_Goku: I think it's risky business to go and change that for snapd's sake06:38
zyga-ubuntuSon_Goku: (I'd still change it but on separate schedules)06:39
zyga-ubuntuSon_Goku: and once snapd can reliably depend on things, let's yank this06:39
Son_Gokuthen don't integrate it into the source tree06:39
Son_Gokujust carry it as a separate tarball bundle06:39
zyga-ubuntummm06:39
Son_Gokuthat way it's harder to be lazy about it06:39
zyga-ubuntuthat's interesting, perhaps that's a better idea indeed06:39
zyga-ubuntuSon_Goku: i'd require some tweaks to CI but yes, it's nicer this way06:40
Son_Gokuzyga-ubuntu: I wish you'd do this with a vendor overlay tarball too06:44
Son_Gokubasically, a tarball that only contains snapd-<version>/vendor/06:44
zyga-ubuntuSon_Goku: yes, I think that's a natural place to do this for releases06:45
zyga-ubuntuSon_Goku: I'll talk to mvo06:45
Son_Gokuthis would allow me to ship the snapd-<version>.tar.gz (or in debian parlance, snapd-<version>.orig.tar.gz) and snapd-<version>.vendor.tar.gz in distgit as sources while not using the vendor tarball on Fedora06:46
Son_Gokuwhich would open the door to adding an EPEL build06:47
Son_Goku(aka CentOS)06:47
mvozyga-ubuntu: a vendor tarball? we can do this easily06:47
Son_GokuI asked for this a year ago too, btw06:48
mvo:(06:48
mvosorry06:48
mvomust have forgoten06:48
Son_Gokuthe experimental CentOS builds are super-brittle :(06:48
Son_Gokuzyga-ubuntu: incidentally, for your amusement, with literally no expectation of anything working: https://copr.fedorainfracloud.org/coprs/ngompa/snapcore-el7/06:49
mvoSon_Goku: so snapd_2.28.5.{pristine,vendor}.tar.xz? a06:49
Son_Gokumvo: yep06:49
Son_Gokusounds fine with me :D06:49
mvook06:50
* mvo will update his release script06:50
Son_Gokumvo: basically, I need the base tarball to be closest to what git repo looks like, otherwise patches don't apply06:50
Son_Gokumvo: though you don't have to do weird underscores and whatnot :)06:51
Son_Gokuunlike debian, I don't have such restrictions :)06:51
mvoSon_Goku: heh, ok06:51
zyga-ubuntuo/06:52
Son_Gokuit can just be snapd-2.28.5.tar.xz and snapd-2.28.5.vendor.tar.xz06:52
mvoSon_Goku: ok, I may need to keep the current convention for people using our GH release page, so it might be snapd.vendor-only.tar.xz or I will just annouce the new format and assume that not a lot of people need to adjust their scripts06:53
Son_Gokusure06:54
Son_Gokuthat's fine06:54
Son_GokuI don't particularly care if you only just upload a vendor-only tarball06:54
Son_Gokuas I can just get the regular one from the GitHub link as I do now06:54
zyga-ubuntumvo: I think it's just a handful of people, we'll be fine06:54
Son_GokuI just need the vendor code in a separate tarball that I can extract06:54
mupPR snapd#4047 opened: snap-confine: init all arrays with `= {0,}` <Created by mvo5> <https://github.com/snapcore/snapd/pull/4047>06:56
zyga-ubuntumvo: .5 looks good so far07:08
* zyga-ubuntu tweaks details on https://github.com/snapcore/snapd/pull/400807:09
mupPR #4008: cmd/snap-update-ns: create missing mount points automatically <Created by zyga> <https://github.com/snapcore/snapd/pull/4008>07:09
Son_Gokuzyga-ubuntu: test and give karma for Fedora snapd updates07:12
Son_Gokuthey're on 2.28.5 now07:12
mvozyga-ubuntu: could you or pawel try to reproduce the error on the pi3 that sergio got? I'm still nervous about it. otoh I have no report other than from sergio about it and would love to get that confirmed07:12
zyga-ubuntumvo: I cannot do that today, sorry, I won't be home until after 1807:19
zyga-ubuntumvo: it seems the error cachio got was repeated on >1 SD card he had07:19
zyga-ubuntumaybe it's just bad luck but it does seem to indicate more than random issue07:20
zyga-ubuntuSon_Goku: only after I'm home, sorry :/07:20
zyga-ubuntumvo: though my pi3 is still up07:21
zyga-ubuntumvo: I could try to test something remotely07:21
zyga-ubuntupstolowski: hey07:23
zyga-ubuntupstolowski: is your pi3 operational?07:23
zyga-ubuntumvo: my pi3-1 is operational, though I cannot reflash it remotely07:24
pstolowskizyga-ubuntu, morning! yes, it is07:31
zyga-ubuntupstolowski: I think mvo needs a little bit of help and I'm not at my office today07:31
zyga-ubuntu09:12 < mvo> zyga-ubuntu: could you or pawel try to reproduce the error on the pi3 that sergio got? I'm still nervous about it. otoh I have no report other07:31
zyga-ubuntu             than from sergio about it and would love to get that confirmed07:31
zyga-ubuntupstolowski: I can only run spread tests on pre-installed remotely07:31
zyga-ubuntupstolowski: last week cachio ran into a bug where smoehing got corrupted in the boot process07:32
zyga-ubuntupstolowski: it might be related to the SD card he was using (he tried two)07:32
zyga-ubuntupstolowski: we need hands on testing to see if we can reproduce it07:32
pstolowskizyga-ubuntu, sure, happy to help. i need to reflash with latest edge image correct?07:35
zyga-ubuntupstolowski: I think so, ideally build the image as cachio did07:35
* zyga-ubuntu looks 07:35
zyga-ubuntupstolowski: look at this thread please: https://forum.snapcraft.io/t/snap-mode-try-on-raspberry-pi/245407:36
pstolowskizyga-ubuntu, k07:38
=== kira is now known as Guest92109
Guest92109hello got stuck in network configuration can any one please help07:41
zyga-ubuntuGuest92109: hey, can you please ask a more precise question?07:42
Guest92109zyga-ubuntu: Sure07:42
zyga-ubuntupstolowski: I commented on the thread with details of what I know07:42
pstolowskizyga-ubuntu, thanks07:42
Guest92109I got a machine with ubuntu core15.1007:42
Guest92109I need to configure eth007:43
Guest92109I teied to edit /etc/network/interfaces file but it gives system is read-only message please help07:43
zyga-ubuntuGuest92109: 15.10 you say07:46
zyga-ubuntuhmmm07:46
zyga-ubuntuGuest92109: may I ask if you really want to use 15.10 or can you consider updating to ubuntu core 16?07:46
pstolowskizyga-ubuntu, what are the steps to build an image?07:47
zyga-ubuntuGuest92109: I don't think we support 15.10 anymore (apart from commercial contracts) as it was an early version and ubuntu core 16 has received immense fixes, features and improvements since07:47
zyga-ubuntupstolowski: I think you need ubuntu-image and the pi3 model, one sec07:48
zyga-ubuntupstolowski: $ sudo ubuntu-image -c beta -O pi3-beta.img pi3.model07:48
Guest92109<zyga-ubuntu> - I am using dell edge gateway 5000 series which comes with preinstalled snappy core 15.10 and need to configure same07:48
zyga-ubuntuGuest92109: it used to ship with 15.10 with the desire to update to 16-series, new releases are only using 16; in any case let me try to find someone who can help you07:49
zyga-ubuntupstolowski: you need the pi3.model assertion07:50
zyga-ubuntupstolowski: cachio sent a link somewhere to a repo with test scripts but I cannot find it07:50
zyga-ubuntumvo: do you happen to remember how to fetch the pi3 model file07:50
zyga-ubuntuGuest92109: I've asked around but I don't know how soon I'll get an answer07:51
zyga-ubuntuGuest92109: may I suggest that you go to forum.snapcraft.io and ask your question there07:51
Guest92109zyga-ubuntu: thanks in advance would be a great help i am not getting any help onlien07:51
zyga-ubuntuGuest92109: please double check that you cannot upgrade your device to 16 series, then we can all help you easily07:52
zyga-ubuntuGuest92109: I think 15.10 is not supported anymore (apart from contractual obligations) and everyone is strongly encouraged to go to 1607:52
Guest92109zyga-ubuntu: Sure thanks but can u just answer is the read-only file system also persist in 16 series07:53
Guest92109While configuring /etc/network/interfaces file07:53
zyga-ubuntuGuest92109: yes although network configuration in 16 series is different and much much easier07:53
zyga-ubuntuGuest92109: apart from a menu-driven wizard we also use declarative YAML based nplan (netplan) configuration07:54
zyga-ubuntuGuest92109: while the system as a whole is read only the set of writable files is different07:54
zyga-ubuntuGuest92109: (between 16-series and 15.10)07:54
zyga-ubuntukissiel: ^07:55
zyga-ubuntukissiel: I think you are experienced with the dell gateways more than I am07:55
Guest92109zyga-ubuntu: Thanks can i get the steps of 16 series, i will get the idea regarding the configuration07:56
zyga-ubuntuGuest92109: it's a simple process you follow using the on-screen menu (also availale via serial port)07:57
zyga-ubuntuGuest92109: you can run "console-conf" after initial setup if you wish to change the configuration07:57
kissielGuest92109: I'd poke around network-manager snap07:57
zyga-ubuntukissiel: note, Guest92109 is using 15.10, I'm not sure we still ship that snap for 15.1007:57
mvozyga-ubuntu, pstolowski sorry, was distracted, do you still need the pi3 model assertion ? i07:57
mvopstolowski: "snap known --remote model series=16 brand-id=canonical model=pi3"07:58
kissielzyga-ubuntu: ah, right. maybe joc will know more, I'll ping him when he gets online07:58
zyga-ubuntumvo: thank you, I had a copy but I forgot how I got it07:59
zyga-ubuntuGuest92109: joc is in the UK timezone, he should be around soon07:59
Guest92109zyga-ubuntu: Thanks a lot for ur support one last thing how would i know if he comes online08:01
pstolowskimvo, zyga-ubuntu thanks! so, I'm going to rebuild the pi3 image, flash it, configure pi3, then add the assertion on it, then run ubuntu-core-upgrade spread test on it in a loop; did i miss anything?08:02
zyga-ubuntupstolowski: the assertion is needed to build the image08:03
pstolowskiah!08:03
zyga-ubuntupstolowski: you need to set up the pi for external backend08:03
pstolowskiok08:03
zyga-ubuntupstolowski: this is described in tests/external-backend.md08:03
zyga-ubuntupstolowski: have a look, you just flash & first-boot as usual08:04
zyga-ubuntupstolowski: then run a few scripts08:04
zyga-ubuntupstolowski: (from the tree)08:04
zyga-ubuntupstolowski: and then you are ready for testing08:04
zyga-ubuntupstolowski: ask if you need help, I did this on Friday08:04
pstolowskizyga-ubuntu, oh yeah, i know that, just unclear on building the image + assertion part08:05
mvopstolowski: yes, what zyga-ubuntu said and good luck08:06
__chip__morning peeps08:06
zyga-ubuntu__chip__: hello, good morning08:07
__chip__i'm on the road today -- doing admin stuff wrt the boys' schooling08:07
__chip__got my tablet with me (thus the nick)08:07
zyga-ubuntu__chip__: I'm on the road too, and my son changed school (well, maybe, trial week)08:07
zyga-ubuntu__chip__: fingers crossed for both of us :08:07
zyga-ubuntu:)08:07
__chip__zyga-ubuntu: hah. this is about changing schools also (looking into a different school)08:08
__chip__so, yeah, good luck to us08:08
pstolowskimvo, zyga-ubuntu ok, all clear, i see where the assertion is needed now, thanks08:08
zyga-ubuntumvo: if you want I can keep running that test on my pi3 but I think it depends on SD card model08:09
zyga-ubuntumvo: and some models corrput something08:09
zyga-ubuntumvo: otherwise why would it never fail vs always fail?08:09
pstolowskiok, got the image built, falshing08:10
mvozyga-ubuntu: did you build the image yourself when you did the test? or download a pre-made one? maybe its a specific combination of the ubuntu-image cmdline/kernel/gadget or something08:12
zyga-ubuntumvo: no, I ran the pre-made one08:13
zyga-ubuntumvo: ah, indeed08:14
zyga-ubuntumvo: could be!08:14
__chip__pedronis: are you working today?08:17
zyga-ubuntumorphis: Guest92109 here has a dell gateway with ubuntu 15.10 and need help, can you please try to render assistance?08:22
* zyga-ubuntu is on the move again, I'll be online in ~~ hour08:23
zyga-ubuntuttyl08:23
mupBug #1723881 opened: [Feature Request] Support pre-invoke and post-invoke commands as DPkg::Pre-Invoke and DPkg::Post-Invoke in APT <Snappy:New> <https://launchpad.net/bugs/1723881>08:25
jocGuest92109: hi, i see you had some questions about the 5000 series gateways08:48
pstolowskimvo, it failed for me, but with slightly different output http://pastebin.ubuntu.com/25751741/08:53
pstolowskiError: "snap_mode" not defined ?08:54
pstolowskimvo, it seems that re-running the test again after the above failure gives another unexpected failure, i assume the box is now in a bad shape and needs re-flashing before attempting tests again?09:05
mvopstolowski: looking09:06
mvopstolowski: could you please paste the other failure too?09:07
mvopstolowski: this is very different from what cachio got, it went much further09:07
pstolowskimvo, the other failure after I re-run the tests: http://pastebin.ubuntu.com/25751799/09:08
mvopstolowski: and a different error, I would love to compare the revisions of core/gadget/kernel you have and the revision of ubuntu-image to see where things are different09:08
pstolowskimvo, external:ubuntu-core-16-arm-32 .../tests/main/ubuntu-core-upgrade# snap list09:08
pstolowskiName        Version        Rev   Developer  Notes09:08
pstolowskicore        16-2.28.5      3214  canonical  core09:08
pstolowskipi2-kernel  4.4.0.1075.75  43    canonical  kernel09:08
pstolowskipi3         16.04-0.5      6     canonical  gadget09:08
mvopstolowski: maybe we can put it into sergios forum post? this way we can compare notes more easily09:09
pstolowskisure09:09
mvopstolowski: the followup looks indeed just like a test issue with a strange state, might be enough to just "rm curChg" in the debug shell and run again09:10
mvopstolowski: thank you, this looks promising, it does not fail in the omg-cant-explain-what-is-going on way at least (which is the case for sergios error, I can't make any sense of it)09:11
pstolowskimvo, I hope I didn't miss anything in the setup. will re-try from scratch in a while09:12
mvopstolowski: if you could rm curChg and run again, that would be nice09:13
mvopstolowski: miss something> well, if its really hard to reproduce it means its not wide-spread at least. i.e. we can't reproduce it with the pre-build images, we can't reproduce the same error with ubuntu-image, so it must be sometihng special09:14
mvopstolowski: well, hopefully09:14
kissielGuest92109: joc is online, you could consult him09:18
jamespageanyone else hitting https://bugs.launchpad.net/snapcraft/+bug/1723898 ?09:25
mupBug #1723898: Unable to build snaps using python plugin - pypi.debian.net no longer accessible <Snapcraft:New> <https://launchpad.net/bugs/1723898>09:25
jamespagefor the life of me I can't actually figure out where snapcraft is configured to use that09:25
mvohrm, hrm, interfaces-cups-control test is busted09:26
mvo(in debian-unstable)09:26
zyga-ubunture09:26
zyga-ubuntu(and right on time)09:26
mvozyga-ubuntu: heh :) debian-unstable cups control test is busted, that rings a bell, iirc we had artful broken as well recently. anyways, I'm debugging09:28
Guest92109kissiel: Thanks09:28
Guest92109joc: Hello I have a dell edge geteway with ubuntu 15.10 snappy core09:29
Guest92109I am having difficulty in configuring the network using the traditional ubuntu method in the interfaces file09:30
Guest92109as the system is read-only09:30
jocGuest92109: if i could first make a recommendation: if you are just beginning a project then zyga & kissiel were correct in urging you to update to Series 16 Ubuntu Core, we have been working with Dell to transition customers for serveral months to Series 1609:33
jocGuest92109: in addition I believe Dell announced that your version of Ubuntu Core would go End Of Life on September 30th so you will not receive further security updates09:34
zyga-ubuntumvo: ack09:35
zyga-ubuntumvo: let me know if I can help in some way09:35
zyga-ubuntumvo: I'm updating my branches09:35
jocGuest92109: in the meantime the supported method for configuring the network is to use network-manager which should come preinstalled on your system09:36
mvozyga-ubuntu: yeah, I keep you updated, waiting for a debug shell right now. a cheap way would be to simply disable the test09:36
mvozyga-ubuntu: on debian09:36
zyga-ubuntumvo: is there a thread?09:36
mvozyga-ubuntu: otoh, it will probably come back to use for artful+109:36
mvozyga-ubuntu: not yet, I just noticed with my most recent PR that it fails09:36
* zyga-ubuntu was reading something while stuck in transit and is a bit freaked out about this: 09:36
zyga-ubuntuok09:36
zyga-ubuntuhttp://papers.mathyvanhoef.com/ccs2017.pdf09:37
zyga-ubuntumvo: note, our spread image differs for linode and qemu09:37
zyga-ubuntumvo: qemu uses, I believe, real sid, while linode is using stretch09:37
zyga-ubuntumvo: I wanted to fix this a while ago but I wans't sure how09:37
mvozyga-ubuntu: yeah, I'm running against linode just to be sure09:37
mvozyga-ubuntu: however there was a new upstream release of cups to unstable yesterday so most likely fallout from that09:38
Guest92109joc: thanks for your valuable information09:38
Guest92109Will contact them and do the same09:38
Guest92109Can i get a doc where complete step is mentioned how to open network manager and configure09:39
zyga-ubuntumvo: aha09:39
zyga-ubuntumvo: that paper I linked to looks like a massive security issue that affects everything using wifi, expect surge of updates everywhere :/09:40
Guest92109I am new to core and tried various commands using snappy but could not get the setting . Thanks in advance09:40
zyga-ubuntumorphis: I think you need to update hostapd09:40
jocGuest92109: configuration should be via the "nmcli" command09:43
zyga-ubuntupstolowski: can you try the test a few more times?09:44
Guest92109joc: sure will check and let u know :)09:44
jocGuest92109: there should be plenty of documentation for that in mangpages and on the internet, I would have to check with our Dell liasons whether there is some official docs for customers09:44
Guest92109joc: Thanks a lot would be a great help09:46
mupPR snapd#4048 opened: tests: fix interfaces-cups-control test for cups-2.2.5 <Created by mvo5> <https://github.com/snapcore/snapd/pull/4048>10:11
zyga-ubuntumvo: +1 :)10:12
mvozyga-ubuntu: ta10:12
mvozyga-ubuntu: silly idea - could we simply govendor the squashfuse binary :) ?10:12
mvozyga-ubuntu: it looks like govendor does not care if the git repo is go10:13
zyga-ubuntumvo: mmm, dunno, how do you envision that? a go binary linking to something that is squashfuse itself or just a "govendor sync" repo that keeps all of squashfuse code but is unrelated to go10:13
mvozyga-ubuntu: the later, just to have the git checkout and we do the building ourselfs10:14
zyga-ubuntuI like that much more than the PR10:14
* kalikiana coffee10:14
mvozyga-ubuntu: its slightly crazy but maybe a nicer option than the massive embedding10:15
zyga-ubuntumvo: yes, certainly nicer10:16
zyga-ubuntu*certainly10:16
ogra_mvo, urgh ... i think i found your reason for the upgrade test issues ...10:33
ogra_mvo, https://dashboard.snapcraft.io/dev/snaps/5596/configurations/10:33
ogra_candidate and beta use the stable gadget (ancient firmware and uboot)10:34
ogra_if you dont start from edge this wil most likely always fail with newer kernels10:34
ogra_pstolowski's last comment on the thread helped a great deal ...10:35
ogra_mvo, if you dont mind, i'll switch beta and candidate to the latest edge gadget10:36
pstolowskiogra_, oh, the versions?10:37
ogra_pstolowski, yeah, your pi3 is the stable one10:37
ogra_(pi3 snap)10:37
mvoogra_: lets not change it just yet, lets see if cachio can refresh to edge gadget to make the issue go away10:38
mvoogra_: but it sounds great10:38
mvoogra_: I mean, great in the sense that it sounds like a plausible theory10:38
mvoogra_: and also would explain all the oddness around the issue10:38
ogra_mvo, well, he'Äd have to build an edge image and then downgrade kerne/coe to the espective target channels he wants to test10:39
ogra_mvo, what doesnt go well with that theory is that it only started recently10:39
mvoogra_: yeah, he says it started recently, hm, hm10:39
ogra_there must be another aspect to it since the gadget channel setup has never changed after the first stable one10:40
ogra_but it is defintely one of the issues10:40
pstolowskiogra_, hmm, ok all the rpi3 stuff is new to me, so please bear with me... I didn't miss any setup test, did I?10:41
ogra_pstolowski, well, if i wanted to test beta i'*d also just builld a beta image, the issue is on ou side, not on yours10:42
ogra_*our10:42
pstolowskiok10:42
pstolowskiogra_, interestingly, i re-flashed and testing again, it a 3rd run of the test and so far so good10:43
pstolowski*it's a 3rd10:43
mvopstolowski: ha!10:43
ogra_and pi3 is still at rev 6 ?10:43
mvopstolowski: so you and cachio need to compare notes what is different10:43
pstolowskiogra_, yes, rev 6 still10:44
ogra_++ fw_printenv snap_mode10:44
ogra_## Error: "snap_mode" not defined10:44
mvoogra_: lets try to find what this other factor is, then we need to fix the gadget to match the beta kernel. but lets try to get to the bottom of this first10:44
ogra_thats the thing that made me curious ...10:44
ogra_the stable gadget has still all the old variablle names10:44
ogra_the test should fail exactly there ...10:45
ogra_(from http://pastebin.ubuntu.com/25751741/)10:45
zyga-ubuntugithub feature idea: mark a PR as "unbreaks master" and stop testing and landing all other PRs10:45
zyga-ubuntucould help us with cases like the one today10:45
zyga-ubuntudo we have any friends there?10:46
mvoogra_: hm, things should be ok if snap_mode is not definied at all (unless I miss something). when it needs to get set, snapd will set it. in what line in http://pastebin.ubuntu.com/25751741/ should it fail you mean?10:47
ogra_mvo, sure, the point is that snap__mode doesnt even exist ... which is true for the ancient gadget but not true for all newer ones10:47
ogra_mvo, in the old gadget only "snappy_mode" is set10:48
zyga-ubuntuthe price of renaming10:48
ogra_mvo, indeed just the missing variable isnt an issue but an indicator that yoou run old and incompatible binary bllobs and uboot10:49
zyga-ubuntuis eternal backwards compatibilty support code10:49
mvoogra_: aha, yes10:49
zyga-ubuntu(said with the voice of malcom mcdowell)10:49
zyga-ubuntu*malcolm*10:49
pstolowskimvo, ogra_ ah, no, it eventually failed again http://pastebin.ubuntu.com/2575217610:51
mupPR snapd#4030 closed: many: add internal squashfuse copy as "snapfuse" <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/4030>10:51
zyga-ubuntuRead error on /boot/uboot/uboot.env: Success10:51
zyga-ubuntusomething is not setting errno10:51
mvopstolowski: if you hexdump -C /boot/uboot/uboot.env - what happens?10:52
ogra_mvo, note that this can actuallly be a eal corruption issue due to the ancient uboot vfat version in stable (vs very new kernel in beta and candidate)10:53
pstolowskimvo, I exited the spread test shell, is it still useful if I do that after spread restored the stuff?10:53
ogra_pstolowski, just call fw_printenv alone10:54
zyga-ubuntupstolowski: I think so10:54
zyga-ubuntujust ssh into it10:54
mvopstolowski: I think so too10:54
ogra_the test proobably swallows output10:54
mvoogra_: yeah, corruption of the vfat would make a lot of sense. what version of uboot do we have there and in edge? might be worthwhile to do a quick scan of the uboot git log to see if anything related to vfat is there10:54
pstolowskiogra_, mvo, zyga-ubuntu fw_printenv output: http://pastebin.ubuntu.com/25752195/10:55
ogra_mvo, some 2015 version iirc, we neve properlly documented it and it isnt built fom source10:55
ogra_that onlly changed in edge when we switched to actual uboot source builds10:55
ogra_pstolowski, well, that doesnt look corrupt at all10:56
mvopstolowski: the first call looks very short10:56
ogra_mvo, seeing that i take back my vfat theory :P10:56
pstolowskimvo, yeah, ignore it, probably I made a mistake copying10:56
ogra_there must be some issue how the test uses fw_printenv instead10:56
mvoogra_: well: "+ fw_printenv10:57
mvoRead error on /boot/uboot/uboot.env: Success" is the error from the test10:57
mvopstolowski: anything in dmesg?10:57
mvopstolowski: related to read error or so?10:57
pstolowskimvo, snappy_mode in there?10:58
ogra_mvo, yes ... but nmanualy it woks10:58
ogra_pstolowski, yeah, eftover10:58
ogra_*left10:58
mvoogra_: yeah, still odd, how could the test use it incorrectly? also no errno set :/10:58
ogra_pstolowski, there should also be a snap_mode *if* you ae in any of try/trying ... it gets unset afterwards10:58
mupPR snapd#4048 closed: tests: fix interfaces-cups-control test for cups-2.2.5 <Critical> <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4048>10:59
ogra_mvo, well, i dont know, but manually running it obviously works ... perhaps missing env ? or does the test unmont snappy-boot at some point ?10:59
mvoogra_: I don't think it does11:00
pstolowskimvo, nothing stands out in dmesg.. except for [    6.989717] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities11:00
pstolowski[    7.004959] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities11:00
mvopstolowski: what ogra said, snappy_mode= can be ignored11:00
ogra_pstolowski, thats /writable ;) and normal noise from the ext4 driver looping over fs capabilities11:01
zyga-ubuntumvo: could it be (in any way) related to the fact that more recent ubuntu versions use incompatible feature set for ext411:01
ogra_(i whish we could just quieten that)11:01
zyga-ubuntucsum_metadata11:01
zyga-ubuntuchsum_metadata*11:01
ogra_zyga-ubuntu, wrong path :P we talk about a vfat ;)11:01
zyga-ubuntuogra_: p2 is vfat?11:02
zyga-ubuntuogra_: I thought p1 is11:02
ogra_zyga-ubuntu, system-boot is11:02
ogra_everywhere11:02
ogra_mvo, the original test ooutput has "mesg: ttyname failed: Inappropriate ioctl for device" https://paste.ubuntu.com/25728858/11:05
ogra_mvo, i wonder if that could inflluence fw_printenv functionality somehow11:05
mvoogra_: I think thats something from spread actually, but it might be, I am looking at fw_printenv from the uboot git now11:06
ogra_mvo, better look at the one fgrom the deb source11:06
ogra_thats what we use11:06
ogra_(and it might be far behind git)11:06
mvoogra_: the xenial one?11:06
ogra_yep11:06
ogra_2016.01+dfsg1-2ubuntu3 ... nearly 2y old11:08
zyga-ubuntuhow can 2016 be nearly two years old?11:08
zyga-ubuntuwell,11:08
zyga-ubuntunearly ok11:08
ogra_january 2016 ...11:08
ogra_(i could have said 22 months if you'd prefer that :P )11:09
pstolowskimy tests also had a couple of 'mesg: ttyname failed: Inappropriate ioctl for device' errors11:10
ogra_yeah11:10
ogra_must not be the issue but it might indicate that you tty is somewhat different to the one you have when running fw_printenv manually11:10
ogra_something is surelly with the env11:11
mvopstolowski, ogra_ http://git.denx.de/?p=u-boot.git;a=blob;f=tools/env/fw_env.c;h=ab06415898c2f718e8a926879379b1f8d74ca55d;hb=HEAD#l760 is the only place where this error is produced (looks the same in the 2016 version)11:16
zyga-ubuntutoo bad it doesn't display rc11:16
mvopstolowski: I would argue the code in there is incorrect11:17
zyga-ubuntuit may be just a partial read11:17
mvozyga-ubuntu: yeah, exactly11:17
zyga-ubuntu(truncated environment?)11:17
mvozyga-ubuntu: you mean something else truncated the uboot.env?11:17
zyga-ubuntumvo: last week we learned how error messages suck11:17
zyga-ubuntumvo: well, not sure if really truncated11:17
zyga-ubuntumvo: I didn't read the rest of the code11:17
zyga-ubuntumvo: I meant that if you have a fixed buffer11:17
zyga-ubuntumvo: and then read until EOF11:17
ogra_well, uboot.env isnt truncated if you manually run fw_printenv11:17
zyga-ubuntumvo: then eventually you will get a partially complete buffer11:18
mvozyga-ubuntu: there might be a signal11:18
zyga-ubuntumvo: unless there's some assumption about the alignment of the file11:18
zyga-ubuntumvo: "alignment" in blocks11:18
mvozyga-ubuntu: but yeah, I think the code in there is slightly naive11:18
zyga-ubuntumvo: might be but we don't know11:18
mvozyga-ubuntu: yeah, sadly it does not print rc which is the crucial bit11:18
mvos/is/would be/ :/11:18
zyga-ubuntumvo: maybe we just need to patch snapd to always write the environment in multiples of some block size11:18
ogra_mvo, zyga-ubuntu, but why does it work manually then ?11:18
zyga-ubuntumvo: and fill the rest with zeros11:18
zyga-ubuntuogra_: I don't suppose it is corrected by that process somewhere11:19
zyga-ubuntuogra_: maybe it fails, then gets fixed, and then is correct11:19
zyga-ubuntuogra_: we don't have snapshots of the file during the process to say11:19
ogra_well, you could stop the test before it calls fw_pintenv the first time i suppose11:19
ogra_and then manually run the command to see11:20
mvopstolowski: could you please rerun the test just to see if it fails in a similar way again? plus please update the forum post so that all the "evidence" is in a single place11:21
zyga-ubuntuogra_: it doesn't fail for me, I cannot reflash beta sadly (AFK)11:21
mvozyga-ubuntu: I still suspect a signal that might cause the short read, but what signal could it be? usually it would be something like SIGWINCH but that is probably not it on a spread run and no other signal springs to my mind11:22
zyga-ubuntuphone11:23
* mvo lunch11:23
zyga-ubunture11:25
zyga-ubuntumvo: so I was thinking that it could be a signal _but_ I'm somewhat skeptical; let me check something11:26
zyga-ubuntu       SIGWINCH    28,28,20    Ign     Window resize signal (4.3BSD, Sun)11:27
zyga-ubuntuSIGWINCH is ignored by default11:27
ogra_i guess we dont call out to fw_setenv when writing thhe file but use our own write finction ?11:27
ogra_*function11:27
ogra_(from snapd that is)11:28
zyga-ubuntu   Interruption of system calls and library functions by signal handlers11:28
zyga-ubuntu       If a signal handler is invoked while a system call or library11:28
zyga-ubuntu       function call is blocked, then either:11:28
zyga-ubuntu       * the call is automatically restarted after the signal handler11:28
zyga-ubuntu         returns; or11:28
zyga-ubuntu       * the call fails with the error EINTR.11:28
zyga-ubuntuogra_: I think so11:28
zyga-ubuntu       If a blocked call to one of the following interfaces is interrupted11:29
zyga-ubuntu       by a signal handler, then the call will be automatically restarted11:29
zyga-ubuntu       after the signal handler returns if the SA_RESTART flag was used;11:29
zyga-ubuntu       otherwise the call will fail with the error EINTR:11:29
zyga-ubuntu       * read(2), readv(2), write(2), writev(2), and ioctl(2) calls on11:29
zyga-ubuntu         "slow" devices.  A "slow" device is one where the I/O call may11:29
zyga-ubuntu         block for an indefinite time, for example, a terminal, pipe, or11:29
zyga-ubuntu         socket.  If an I/O call on a slow device has already transferred11:29
zyga-ubuntu         some data by the time it is interrupted by a signal handler, then11:29
zyga-ubuntu         the call will return a success status (normally, the number of11:29
zyga-ubuntu         bytes transferred).  Note that a (local) disk is not a slow device11:29
zyga-ubuntu         according to this definition; I/O operations on disk devices are11:29
zyga-ubuntu         not interrupted by signals.11:29
zyga-ubuntuso I think the C code for uboot env handling may not be setting SA_RESTART in any place11:32
* zyga-ubuntu looks11:32
pstolowskimvo, will do11:34
zyga-ubuntumvo: still no idea which signal it might be :/11:39
zyga-ubuntuideally we'd rebuild that old uboot11:39
zyga-ubuntuand set a breakpoint and see11:39
zyga-ubuntubut ...11:39
zyga-ubuntuwell11:39
zyga-ubuntumaybe we can?11:39
zyga-ubuntupstolowski: can you reproduce this?11:39
zyga-ubuntupstolowski: or does it happen only once?11:39
zyga-ubuntupstolowski: ideally we'd have a copy of the binary that has this problem and the file that causes it11:40
zyga-ubuntupstolowski: and then see what gdb tells us11:40
ogra_it prints the build date as very first line duing boot on serial11:40
zyga-ubuntuogra_: any chance we can grab debug symbols for that build somewhere/11:41
ogra_nly via re-building ... i thinbk it gets stripped by default (it is a bootloade optimized for size after all)11:41
zyga-ubuntuogra_: any -dbg package equivalent?11:42
ogra_noot reallly11:42
ogra_with the new setup it would be easy since we now build from upsteam tags ... stable was random local builds originally ... we need the string it prints, with lluck that had the commit in the version11:43
ogra_*has11:44
zyga-ubuntuaha11:44
zyga-ubuntuwell, that depends on if pstolowski can reproduce this :)11:44
zyga-ubuntuogra_: could you provide a build for pawel to try11:44
zyga-ubuntuogra_: just that command with debug symbols with ~~ similar version (as close as you can get it)11:44
ogra_https://www.denx.de/wiki/DULG/DebuggingUBoot11:45
ogra_seems it is actually not stripped (nothing theer says you need a debug build)11:46
zyga-ubuntupstolowski: can you run gdb and see if that build has symbols?11:47
ogra_https://www.denx.de/wiki/view/DULG/Debugging is a bit more informative and llinks to tips and tricks11:47
* zyga-ubuntu breaks, I'll probably miss standup but I may show up if lucky11:51
pstolowskijust re-flashed to retest11:58
zyga-ubunture12:16
zyga-ubuntuPharaoh_Atem: hey, can you remind me that repo sync issue in fedora/linode12:21
zyga-ubuntuPharaoh_Atem: linode operators are in #linode but on OFTC, not freenode12:21
zyga-ubuntuPharaoh_Atem: if you can give me those details again I'll collect everything and open a ticket12:22
mvozyga-ubuntu, pstolowski just finished reading backlog. lets see if it is reproducible and then we attack it12:26
pstolowskimvo, ... and i'm having issues now on 1st boot after flashing. it's taking forever on 'random: nonblocking pool is initialized'12:27
pstolowskinot sure if this is entropy issue or what. console-conf doesn't show up12:28
ogra_no, thats a red herring12:28
ogra_it is simply the last thing the kernel prints before switching consoles12:28
mvopstolowski: hm, is the network cable attached?12:28
pstolowskimvo, no12:28
ogra_that might then take 2min for the timeout12:29
pstolowskiogra_, i've been waiting much much longer already12:29
ogra_hmm12:29
ogra_mvo, i was actually wobndering if we should rip out the hardcoded DHCP default for eth0 that we add during build12:30
ogra_at least for physical images (probably cloud still needs it)12:30
zyga-ubuntumvo: I'll be away from home for at least three hours, after that I can spend any time debugging and exploring this with hands on12:31
zyga-ubuntumvo: I'll try to focus on coding but I can help pstolowski with gdb12:31
mvozyga-ubuntu: thanks, I think we are good for now, if pstolowski can reproduce that is good enough for now12:32
pstolowskiok, i reflashed and this time it didn't hang on boot. weird.12:48
zyga-ubuntupstolowski: does the uboot env CLI tool fail the same way?12:54
* zyga-ubuntu logs into ubuntu session, brb12:54
pstolowskizyga-ubuntu, not yet, the test is running12:56
zyga-ubuntuaha12:56
* zyga-ubuntu joins the standup12:56
mupPR snapcraft#1615 closed: schema: improve invalid app, hook, and part errors <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1615>13:14
jamespagesergiusens: hi - raised https://bugs.launchpad.net/snapcraft/+bug/1723945 based on the conversation we had last week13:16
mupBug #1723945: provide support for use of DEB_HOST_MULTIARCH in environment variables <Snapcraft:New> <https://launchpad.net/bugs/1723945>13:16
jamespagedoes that sounds about right?13:16
mupIssue snapcraft#1445 closed: ROS user oriented story <docs> <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1445>13:29
mupIssue snapcraft#1446 closed: MOOS user oriented story <docs> <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1446>13:29
mupPR snapcraft#1577 closed: lxd: don't inject local snaps on a different arch <bug> <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1577>13:29
mupPR snapcraft#1610 closed: tests: reenable the cleanbuild integration test <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1610>13:32
mupPR snapcraft#1609 closed: tests: remove the duplicate nodejs integration tests <bug> <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1609>13:35
sergiusensjamespage yeah, that should cover it13:44
jamespagesergiusens: also what would you think of https://bugs.launchpad.net/snapcraft/+bug/172395713:45
mupBug #1723957: cleanbuild: add PPA sources <Snapcraft:New> <https://launchpad.net/bugs/1723957>13:45
jamespageI'm using cleanbuild to produce test binaries; currently hacking in my ppa sources using cloud-init in lxd user.user-data config13:45
diddledanI don't understand this behaviour at all: https://forum.snapcraft.io/t/cleanbuild-remote-on-pi-grabs-wrong-arch-lxc-image/691/1713:51
diddledancleanbuild should not be forcing the version of snapd to anything EXCEPT "the latest" stable, unless the user specifically tells snapcraft otherwise13:52
diddledanand doing the forcing by injecting host-side snaps is just plain wrong13:53
diddledanIMO13:53
diddledanand no, that opinion is not humble in any way :-p13:53
mvopstolowski: how is that test going? the second run of the core-refresh testing?13:55
kalikianadiddledan: snapd? do you mean the core snap? snapcraft attempts to install the same version in the container that's being used on the host13:56
pstolowskimvo, well..13:57
diddledanyeah, core13:57
pstolowskimvo, http://pastebin.ubuntu.com/25753195/13:57
kalikianadiddledan: so if eg. you're using beta on the host to test something, the container will be using that, same goes for snapcraft itself13:57
pstolowskimvo, last failure unrelated, probably wifi dropped or something13:58
diddledanI think it's wrong to be injecting at all, foreign arch or not. Core should be updated using snap processes not by injecting random snaps. We should not be designing weird behaviour for the edge case of "I want to test something" by default13:58
diddledanan "I want to test something" should be an opt-in not a default13:59
mvopstolowski: do you have a monitor attached, i.e. can you actually see what is on screen when its in this "2017-10-16 15:41:20 Error debugging external:ubuntu-core-16-arm-32:tests/main/ubuntu-core-upgrade : EOF" state?13:59
diddledanthe whole point of cleanbuild is that the build is in a clean environment. The moment you start injecting stuff to match the host it is no-longer "clean"14:01
kalikianadiddledan: I wouldn't agree it's "random". If you're using snapcraft natively without a container, it uses whatever core you are running. The experience should as much as possible be the same14:01
kalikianaYou should of course be testing that your snap works with stable before you release it, in both cases14:03
pstolowskimvo, no, no monitor (but i've usb-serial). but hmm.. i cannot access this pi3 via wifi anymore14:03
diddledanmaybe if you think we should be doing this, the name "cleanbuild" is wrong. So let's rename it to "meh, frankenstein, YMMV"14:03
pstolowskimvo, if serial console doesn't lie, then the last thing that happened was systemd[1]: Started Journal Service14:03
mvopstolowski: hm, that looks harmless14:04
mvopstolowski: I wonder why it stops responding14:04
mvopstolowski: fwiw, cachio saw some of these errors too (EOF) but we never got to the bottom of it, might actually be multiple causes just showing the same error14:04
pstolowskimvo, wifi seems dead, no led blinking14:04
diddledanand let's change the documentation to say "this is not a clean environment. any attempt to get a system as close to build service is never going to work. We made it this way on purpose because we hate consistency"14:05
kalikianadiddledan: Can we take a step back and you tell me what your expectation of cleanbuild is? If this is your impression that's certainly not what anyone wants :-)14:07
pstolowskimvo, I just powered it again; on normal boot that Systemd Journal Service message is followed by brcmf initialization, which apparently didn't happen14:10
diddledanmy expectation is that cleanbuild builds in a clean environment. Is it wrong to assume that when the documentation says "cleanbuild       Create a snap using a clean environment..." that it will build using a clean environment?14:10
mvopstolowski: hm, do you think you could put it on a cable connection? to make tests more reliable?14:11
pstolowskimvo, yeah, that might be a good idea14:12
diddledanalso, when the documentation says "Create a snap using a pristine environment managed by lxd" I expect the environment to be unaltered14:13
diddledanI certainly do NOT expect for implementation in my host to "leak" through into the LXD container14:14
kalikianadiddledan: So even if you're doing, say, `snap install core --edge`, you wouldn't want the container to use the same channel?14:16
diddledanno14:16
kalikianadiddledan: Would you apply the same reasoning to persistent containers?14:16
diddledanif I did that then I would want a switch to tell snapcraft to change to using a different channel14:17
diddledanyes, I would14:17
kalikianadiddledan: One thing we could look into is a prompt like `You're using the "core" snap from the "edge" channel. Do you want to use  the same in the container?`14:18
diddledanmost people building snaps are NOT going to want to change the core snap to test things because they're not developing the core snap nor snapd nor snapcraft14:18
diddledanif they really need to test their snap builds against a different core then they will know that they want a specific core and should then be tasked with telling snapcraft that specifically14:19
kalikianadiddledan: Right. We have slightly different perspectives here. To my mind, the same core snap increases predictability. But I see the point you're making14:21
kalikianadiddledan: Would you mind opening a new forum topic for it?14:24
diddledanthe problem that you wrote the PR in the link above with core being injected to foreign arch snaps is a symptom, not the cause. the cause is that we're assuming the user wants to match their host with their build. Now your PR says "match the host EXCEPT on remote builds." where are these exceptions going to end? why not just allow the user to specify the core they want to use rather than guessing14:24
kalikianadiddledan: The PR applies to both the core and snapcraft. We have to do this anyway to be able to get the correct snapcraft version.14:25
kalikianaIf we decide to not push the core snap out of the box, that's a separate decision14:25
kalikianaOr maybe add a way to choose the channel explicitly etc.14:26
kalikianadiddledan: To be clear, we have to push snapcraft because it's calling itself.14:28
=== ikey|zzz is now known as ikey
diddledankalikiana: https://forum.snapcraft.io/t/dont-match-the-core-snap-to-the-host-in-cleanbuild-environments/248614:41
kalikianadiddledan: Thanks!14:42
kalikianaWill reply in a bit14:42
diddledannp14:42
sergiusenskalikiana just ensure it always comes from the stable channel14:43
kalikianasergiusens: Yeah, that we can do. To be clear, though, we still want snapcraft itself to be injected from the host or same channel, right?14:47
mupBug #1723974 opened: snap client doesn't work with Croatian language/characters <Snappy:New> <https://launchpad.net/bugs/1723974>14:48
diddledankalikiana: I must apologise if I may have seemed aggressive above, I was just frustrated at my inability to articulate why I felt cleanbuild was behaving wonky14:50
diddledangroup hug!14:50
diddledan:-p14:51
* kalikiana hugs diddledan 14:51
diddledanyey14:51
diddledanfor anyone who doesn't like hugs, as punishment I shall not hug you! :-D14:51
sergiusenskalikiana for persistent containers, most likely yes, for cleanbuild, only if it is in stable14:52
=== JoshStrobl|zzz is now known as JoshStrobl
kalikianaGood point. Will think about how we can do that14:56
pstolowskimvo, 5 runs of pi3 ubuntu-core-upgrade test passed when on ethernet15:20
ogra_heh15:21
ogra_yay ?15:21
mvopstolowski: interessting. so lets compare notes with cachio when he is back tomorrow and see what the differences are15:23
mvopstolowski: thanks a lot for your test!15:23
ogra_this is starting to get curious ...15:23
mvopstolowski: that gives me some peace of mind. this was an image produced with all bits from beta, right?15:23
mvoogra_: to me it already was last week :) but yeah, it is very inconclusive15:24
ogra_did you bump the gadget in beta ?15:24
ogra_we should really do that15:24
pstolowskimvo, sudo ubuntu-image -c beta -O pi3-beta.img pi3.model, that's how I created it15:24
mvopstolowski: great15:25
mvopstolowski: lets see what sergio did - maybe it makes a difference if it was created without sudo or something else, also the revision of ubuntu-image. I'm sure we can now track it down better15:27
pstolowskiogra_, ethernet may have nothing to do here, it was just a re-test for yet another failure I pasted above where on the last run I lost access to my pi3 over wifi15:27
mvoogra_: I did not touch the gadget15:27
mvoogra_: I would like to wait until we solved this mystery, lets cange as little as possible15:27
ogra_mvo, well, then it is interesting that this kernel boots at all, since the dtb will be incomplete15:27
ogra_(i assume half the devices you have with the edge gadget wont simply be there or only half working)15:28
mvoogra_: yeah, I think that is an interessting datapoint as well, the old dtb seems to be fine with most new kernels15:28
ogra_well15:28
ogra_the unstable wifi behavoiur might already be an indicator here15:29
ogra_(we only added the fully fixed wifi stuff after stable got released)15:29
ogra_it is like a lottery :)15:29
mvoogra_: yeah, not saying its great, but interessting how uch apparently worked15:29
ogra_yeah15:30
mvoogra_: yeah, maybe that is the answer, sergio just draw the short straw15:30
ogra_yep15:30
mupPR snapd#4049 opened: debian,vendor: import github.com/snapcore/squashfs and use <Created by mvo5> <https://github.com/snapcore/snapd/pull/4049>15:32
kyrofasergiusens, kalikiana, elopio: someone _banned_ me. Who hates me today?15:34
kyrofaI can't rejoin :P15:34
ogra_have you been rude ?15:34
ogra_:)15:34
elopiokyrofa: sorry15:34
kyrofaogra_, sometimes it slips15:34
ogra_haha15:34
kyrofaelopio, hahaha, was it you? Fess up15:35
Chipacanice, we have a bug in the croatian translation that causes snap to panic15:48
Chipacathat's #172397415:48
mupBug #1723974: snap client doesn't work with Croatian language/characters <Snappy:Confirmed> <https://launchpad.net/bugs/1723974>15:48
Chipacaalso: “Pokušajte "snap install hello-world".”15:55
ogra_i guess re-exec should better use C.UTF-8 ;)15:56
zyga-ubunture15:59
=== ShalokShalom_ is now known as ShalokShalom
Chipacamvo: do you know who I need to pester to fix a buggy translation?16:20
sergiusenselopio can we make that timing thing the default on tests or is that something you did manually?16:26
kalikianathis was a looong meeting :-D I need food now to re-ful16:27
elopiosergiusens: I added a timer in setup and teardown. It makes things verbose, and only the outliers are useful. As a second step after fixing the outliers, I was thinking to add a max time, and fail the tests that cross that line.16:31
elopiobut if you want, I can get it printed in travis.16:31
elopiokyrofa: the ros unit tests should not connect to the server, right? https://launchpadlibrarian.net/341066726/buildlog_ubuntu-artful-amd64.snapcraft_2.34-201710161334-d0be68b~ubuntu17.10.1_BUILDING.txt.gz16:36
kyrofaelopio, huh, looks like it is16:38
* kyrofa looks16:38
kyrofaelopio, indeed, it seems that it is16:45
kyrofaBut it shouldn't be...16:45
kyrofaOh oh, wrong test16:46
kyrofaelopio, fixing now16:47
mupPR snapd#4050 opened: cmd/snap: tell translators about arg names and descs req's <Created by chipaca> <https://github.com/snapcore/snapd/pull/4050>16:47
mark__Hey guys, could you help me out making a snap? https://askubuntu.com/questions/965455/how-do-i-create-an-opengles2-and-glfw3-snap16:49
mupPR snapcraft#1614 closed: apt repo: allow insecure repos <Created by kyrofa> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/pull/1614>16:50
Chipacamark__: hello16:55
mark__hi16:55
Chipacamark__: I think the most effective way forward for you will be to ask in the forum16:56
mark__I did16:56
Chipacamark__: ah! ok then you're set :-)16:57
mark__Thanks.16:57
kyrofaelopio, fixed17:03
elopiothank you!17:05
Chipacamark__: about your other issue though17:06
Chipacamark__: what distro are you on?17:07
mark__lubuntu17:07
sergiusenselopio I am not so confident about killing tests that take too long. It is an extra burden and in practice doesn't work really well (considering that we already get our runners killed for long running test executions anyways)17:07
Chipacamark__: what's the output of `which stopwatch`?17:08
Chipacamark__: which -a stopwatch, even17:08
mark__of both commands17:09
mark__the output is "/snap/bin/stopwatch"17:09
Chipacamark__: and if you run stopwatch, it complains about /usr/local/bin/stopwatch?17:10
mark__Actually it's fixed now. I don't know, maybe because after the question I make a new snap and installed/removed it multiple times.17:10
Chipacamark__: did you used to have it in /usr/local ?17:11
mark__So now" snap run stopwatch" and "stopwatch" produce the same results17:11
* Chipaca mangles the english language for fun & profit17:11
Chipacamark__: that error looks like at some point you had a /usr/local/bin/stopwatch, and bash cached it17:11
mark__yeah, I had it installed manually before17:12
mark__using custom install.sh and uninstall.sh scripts17:12
Chipacamark__: for what it's worth, when that happens, bash has a builtini "hash" that lets you tweak that cache17:12
Chipacahash -r, if memory serves, updated the entries in it17:12
Chipacaor maybe it reset it17:12
Chipacaone of those :-)17:12
mark__oh, so that's solved then...17:12
mark__thanks17:12
Chipacano problem17:12
Chipacaglad it was that :-)17:12
mark__I still can't load the graphics drivers though :(17:13
Chipacamark__: yep, that's something else (and you'll need a snapcrafter for it i reckon)17:14
elopiokyrofa: wait, that test hasn't landed in master?17:14
Chipacamark__: have you looked at one of the sample snaps that use opengl?17:15
Chipacamark__: (no idea, just trying to help)17:15
kyrofaelopio, ah, yes indeed it has17:15
kyrofaelopio, I can propose a quick PR to fix it rather than putting it in the ament PR if you like17:15
kyrofaIt's two lines17:15
kyrofaI suppose autopkgtest is barfing on it huh17:16
elopiokyrofa: is the PPA recipe. I'd appreciate if you make the PR, so I can move on with the PPA.17:17
kyrofaelopio, easy peasy. Two seconds17:17
mupPR snapcraft#1619 opened: tests: don't hit internet in ros2 units <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1619>17:20
kyrofaelopio, there you are ^^17:20
* sergiusens commutes to a location with something to eat lunch17:28
* zyga-ubuntu rests after a long day17:28
mupPR snapcraft#1620 opened: plugins: build-attributes is already in the state <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1620>17:53
diddledanpopey: can you review https://github.com/snapcrafters/corebird/pull/13 for me please? :-)18:07
mupPR snapcrafters/corebird#13: add wayland support for artful (17.10) <Created by diddledan> <https://github.com/snapcrafters/corebird/pull/13>18:07
mupPR snapcraft#1621 opened: integration tests: skip catkin test on non-xenial <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1621>18:08
kyrofaelopio, take a look at that ^^ one when you get a sec as well18:09
kyrofaHey elopio, I have another thought for our tests. What if we had a Docker container pre-configured with all our dependencies. That would save a lot of setup time, wouldn't it?18:28
kyrofaI mean, the static tests that take a few seconds on my machine take over 5 minutes in travis18:28
gouchihi19:41
gouchiI was wondering why we have to connect manually some interfaces with snap connect xxxx:home for example ?19:41
gouchiwhy it is not done automatically ?19:42
kalikianagouchi: some interfaces don't autoconnect for security reasons. Have a look at this wiki https://github.com/snapcore/snapd/wiki/Interfaces19:52
gouchikalikiana: thank you19:53
=== Pharaoh_Atem is now known as Conan_Kudo
=== Conan_Kudo is now known as Pharaoh_Atem
mupPR snapcraft#1620 closed: plugins: build-attributes is already in the state <bug> <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1620>20:27
Arthur_Dhi, noob question: how does Snapcraft interact with Github - if I give it access to my Github account, will it edit anything regarding the repo or Github presentation? For example create some sort of link to the Snap on the Snapcraft website21:21
sergiusensArthur_D it shouldn't, the scope is a bit broad, but it is I think the no brainer one that allows webhooks21:38
sergiusensinstructions on manually hooking it all up are being worked on to avoid this scenario, it would however require more manual interaction and setup21:39
Arthur_Dthe reason I ask is because I contribute a bit to a project but don't want to create some sort of official or official looking snap, mainly wanted to test21:42
mupPR snapcraft#1619 closed: tests: don't hit internet in ros2 units <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1619>21:57
mupPR snapcraft#1621 closed: integration tests: skip catkin test on non-xenial <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1621>21:57
mupPR snapcraft#1622 opened: schema: sync patterns with snapd <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1622>23:12

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