=== JanC is now known as Guest54043 === JanC_ is now known as JanC === JanC is now known as Guest26650 === JanC_ is now known as JanC [04:22] PR snapcraft#862 opened: Add powerpc (32bit big-endian) support [06:35] good morning [06:46] good morning. What is the best way to grab a .jar from a website (like a github release) and place it into a snap [07:08] PR snapd#2116 opened: add build-essential as classic dep for building on arm64 [07:28] PR snapd#2114 closed: tests: add readme about spread's external backend [07:28] PR snapd#2115 closed: tests: only stop a service if it is running or ok (eg. active (exited)) [07:36] Hi people ! [07:46] PR snapd#2116 closed: tests: add build-essential as classic dep for building on arm64 [07:47] I'm testing snappy on KVM but when I install a snap, I can't run it [07:50] I'm trying to create a snap of cromwell, a workflow management system https://github.com/broadinstitute/cromwell [07:50] but I'm guessing that's not possible, because as a snap, it can't run any of the programs or scripts that are required unless they are also in the same snap? [07:51] Hanonim: what can't run? the install or the snap itself === trijntje_ is now known as trijntje [07:53] trijntje: well for instance 'snappy install hello-world' works but then 'hello' doesn't (command not found) [07:54] what about /snap/bin/hello ? [07:54] there is not /snap [07:55] in /apps maybe ? [07:55] there are hello-world files in /apps/bin [07:56] but not /snap/bin/hello per say [07:57] What system are you on? On ubuntu 16.04 snaps get installed to /snap [07:58] I'm trying this example (KVM) [07:58] https://developer.ubuntu.com/en/snappy/start/#snappy-local [08:03] Hanonim: In that case I don't know, I'm sorry [08:03] trijntje: no worries [08:17] General question: I was thing about creating a snap for cromwell, a workflow management system https://github.com/broadinstitute/cromwell but I'm guessing that's not possible, because as a snap, it can't run any of the programs or scripts that are required unless they are also in the same snap? [08:36] PR snapd#2117 opened: snapstate: avoid reboots if nothing in the boot setup has changed [08:53] PR snapd#2108 closed: devicestate: merge overlord/boot into devicestate === LarreaMikel1 is now known as LarreaMikel === stokachu_ is now known as stokachu [08:55] PR snapd#2118 opened: overlord: merge overlord/boot pkg into overlord/devicestate === Ursinha_ is now known as Ursinha [08:56] PR snapd#2119 opened: tests: abort tests if an update process is scheduled [09:06] PR snapd#2120 opened: Fix installed-size not being set in GET v2/snaps [09:17] so I defined a new part at https://wiki.ubuntu.com/snapcraft/parts but snapcraft can't use it, are there other steps to be taken for it to be available? snapcraft update says already up to date (and once even did update but no change). [09:17] I didn't find documentation cloud parts yet at least, other than that wiki page [09:21] I don't think that wiki page would be used directly, otherwise anybody could just edit it an break snaps for everyone [09:28] fgimenez: ping === longsleep_ is now known as longsleep [09:32] hi rvr :) [09:37] fgimenez: Hey! [09:37] fgimenez: iahmad pointed me at a document with instructions about how to run spread tests, but it's not complete and couldn't get them running [09:38] fgimenez: So I need some help from you :) [09:39] rvr, sure! :) do you want to run them againsta a running ubuntu core instance? [09:39] fgimenez: I'm using the DragonBoard [09:42] rvr, ok, we have this document now https://github.com/snapcore/snapd/blob/master/tests/external-backend.md it explains the process to execute on an external instance [10:07] I've succesfully create a snap and build it on amd64, but do I have to manually build and upload a snap for every architecture? [10:10] I also noticed that nobody actually put the architecture in their snapcraft file in the snappy playpen https://github.com/ubuntu/snappy-playpen === om26er is now known as om26er_tst === om26er_tst is now known as om26er [10:31] mvo, seems the pi and dragonboard unconditionally switching to stable for was not a one time issue ... [10:31] mvo, see bug 1631791 [10:31] Bug #1631791: Pi 2 on ubuntu-core 424 no longer able to do anything [10:31] i guess this is quite serious [10:32] *for me [10:36] ok, now it works, thanks if someone did something ;) === tsimonq2alt is now known as tsimonq2 [10:58] ogra_: yes, this is defintiely super serious - a critical bug === hikiko is now known as hikiko|ln [11:15] Will it ever be possible to have something like a terminal snap? Since that would need to have access to any other command that is available on the system [11:37] trijntje: Check out bug 1618004 [11:37] Bug #1618004: Need a classic-bin interface to see classic binaries [11:40] kalikiana: that looks very interesting, thanks. I'll comment and add my own usercase there as well [11:46] *usecase [11:48] Hi guys. Was wondering if anyone knows if Snappy has been ported to AllWinner soc? [11:51] fgimenez: I did export SPREAD_EXTERNAL_ADDRESS=192.168.1.41:8022 (dragonboard IP) [11:52] fgimenez: Then ./tests/lib/external/prepare-ssh.sh === hikiko|ln is now known as hikiko [11:52] fgimenez: But the INSTANCE_IP=localhost [11:55] rvr in the call to prepare-ssh you should pass the instance ip and port as parameters [11:55] rvr, something like ./tests/lib/external/prepare-ssh.sh 192.168.1.41 22 [11:56] fgimenez: Yeah, I just was reading the source of the bash script [11:57] fgimenez: Then, where is the spread command? [12:01] rvr, for dragonboard "spread -v -reuse external:ubuntu-core-16-arm-64" should work [12:05] fgimenez: Yes, but, where is the spread command? [12:06] ppisati_, hmm, so i see morphis' uart oops on every boot here now ... using the last dailies [12:06] (on the pi3) [12:13] ogra_: i'm working on it [12:13] ogra_: what do you have attached to your board? [12:13] ppisati_, i know, just wanted you to know [12:13] * ppisati_ download the latest daily [12:13] HDMI old apple USB kbd [12:14] i couldnt get the wifi to connect, so later i also attached an ethernet cable [12:15] ogra_: is the daily built using the edge or beta channel? [12:15] edge [12:15] beta is the image on cdimage ... dailies (on people.u.c) are always edge [12:15] rvr, you mean spread itself, right? you can install it with "sudo snap install spread" [12:15] ogra_: i tried this morning rolling an image using edge, and i got a lot of errors because som,ething was trying to use the network while the network wasn't configured yet [12:15] neet to retry [12:16] mvo, just FYI, i switched the dailies to core on friday [12:16] ppisati_, yeah there seems to be an issue with the wifi ... wired works though [12:17] ogra_: one thing that i found, is that by disabling the fixed freq in config.txt, the serial oops disappear [12:17] well, i can surely drop that if it doesnt have other illl effects [12:18] ogra_: you would loose the serial, since the core freq will keep chaning, and the srial baud rate would change too [12:19] hmm [12:19] ogra_: but if you don't have a serial cable attached, it might make sense [12:19] yeah, but thats nota solution ... [12:19] ogra_: it's just a workaround for the moment, until i found the root problem [12:19] right [12:20] dr1337, i dont think seires 16 has yet ... but there were 15.04 images iirc (dont ask me for what boards though) [12:21] dr1337, if you have a borad that uses uboot and you have the ability to rebuild the uboot with the necessary config options enabled, it should be pretty straight forward though [12:24] mvo, as i understand the f2fs mount errors we see on boot comes from /dev/ram* devices, do we really need to check them when looking for assertions ? (i think we should just exclude ram devices) [12:25] *come [12:25] ogra_: no, this is a bug, I have a card to skip those in trello [12:25] ah, k [12:26] perhaps simply limiting it to removable devices would be enough [12:27] (there is a udev var for this) [12:29] ogra_: so, building an image using edge, on boot i get util.py first and url_helper.py [DEBUG] stuff flooding my console [12:30] they try to connect to a remote host [12:30] ppisati_, hmm, sounds like console-conf [12:30] oh, no [12:30] thats cloud-init i guess [12:31] you need a patched ubuntu-device-flash ... not sure if mvo has already pushed that as snap to the store yet [12:31] err [12:31] s/ubuntu-devlce-flash/ubuntu-image/ [12:31] they try to access a remote site but complain since the network is not available (and being the first boot, it's no surprise) [12:32] ogra_: what needs patching here? sorry, I miss some context [12:32] mvo: i ust built a new image using edge [12:32] mvo: and during boot, my console was spammed with [12:32] ppisati_, https://github.com/CanonicalLtd/ubuntu-image/pull/69 [12:32] PR CanonicalLtd/ubuntu-image#69: include etc/ as well [12:32] 'url_helper[DEBUG] can't connect http://..." [12:32] mvo, ^^ [12:33] else cloud-init stays enabled [12:33] mvo, (since you dropped the hook from livecd-rootfs) [12:34] ppisati_: oh, indeed, please ensure you have the latest ubuntu-image snap from edge [12:34] ubuntu-image 0.5+mvo8 15 canonical devmode [12:34] ppisati_: please run "sudo snap refresh --devmode ubuntu-image" [12:34] and 'snap refresh' says i've the latest and greatest [12:34] k [12:35] it lies :) [12:35] ppisati_: yeah, its a bit confusing for --devmode snaps [12:35] (due to missing --devmode i guess) [12:35] ubuntu-image 0.5+mvo13 20 canonical devmode [12:35] * ppisati_ rebuilds the image [12:35] fgimenez: This is running :) [12:35] we should really make that automatic ... after all snapd knows it uses devmode ... [12:36] so it could auto-apply the option for such snaps (and perhaps simply print a warning that devmode is on) [12:37] fgimenez: So, do these tests check snapd? [12:53] fgimenez: This is the output I got http://paste.ubuntu.com/23302958/ [12:59] rvr, it begins to look good :) some of the errors seem to be related to an outdated sorce code (ubuntu-create-user for instance) [13:39] is the directory for desktop file now "setup/gui" or "meta/gui"? I get conflicting docs / examples.. [13:42] ok, I guess setup [14:15] jdstrand: Do you have a moment for a call with pedronis and myself? [14:25] ogra_: how do you login to snapweb? [14:29] Mirv: awesome work on the qt 5.7 part! Does it pull source and build it, or does it use pre-build binaries? [14:31] davmor2, log in ? [14:31] ogra_: sorry access [14:31] i never had to .... does it have a login rfeature now ? [14:31] http://snapweb.local:4200/ [14:32] ogra_: cool I'll give that a try then thanks [14:32] or use the IP instead of snapweb.local [14:33] ogra_: success [14:33] good [14:34] ogra_: I'm just using usb rather than transfering to hdd [14:43] mhall119: so pull (upstream only source) and build it, my qt-ubuntu dream is still alive but requires someone to guide me how to make the content interface work for real, maybe next week :) [14:45] Mirv: I was talking to sitter the other day, and he suggested we could build our own binary tarballs of upstream's releases, and use those for the cloud part rather than re-building it for every apps [14:46] that would be somewhere between what you have now and your qt-ubuntu dream, and would allow apps that don't want to use the shared version to bundle their own [14:46] mhall119: sure, that could work too. that's why I suggested after: [qt57] to be only used in case the app developer absolutely requires newer Qt than what is available in Ubuntu, but if the use increases the part could be changed to that. [14:50] I'm seeing reports, which I don't fully have to hand, that some go binaries are not running on current snappy rpi images. is this a known issue? [14:50] JohnAgosta, ^ fyi [14:51] niemeyer: I'm on holiday today (and tomorrow), but saw this passing through. I can do it now if it is quick [14:51] given that snapd is go itself, these must be very specific go bits that dont work in your binaries then [14:51] hmm. the log message is: Oct 1 20:59:49 PiCloud snap[3346]: runtime: this CPU has no floating point hardware, so it cannot run [14:51] Oct 1 20:59:49 PiCloud snap[3346]: this GOARM=6 binary. Recompile using GOARM=5. [14:51] let me dig in to how that snap is produced [14:52] doea snap list work (or any other snap command) [14:52] I assume the platform is Pi2, but that's one of the things I don't have exactly, yet [14:52] yes [14:52] so I take your point that something odd is up [14:52] pi2 or 3 shouldnt make any difference [14:52] hmm [14:52] john-mcaleely: that is probably the snap-confine bug stripping out auxv. that was fixed a while ago. you should use updated images [14:52] the image is the same, only the uboot binary differs [14:53] jdstrand, aha. Got a bug # so I can read? [14:53] LOL [14:53] fwiw, the issue manifests after an update [14:54] * ogra_ just found how the wifiSd card does its firmware upgrades for the embedded OS [14:54] this is hilarious [14:55] ondra, catch-up: http://pastebin.ubuntu.com/23303463/ [14:56] john-mcaleely thanks! [14:56] john-mcaleely: https://bugs.launchpad.net/snap-confine/+bug/1621127 [14:56] Bug #1621127: snap-confine doesn't work with new snap-run/snap-exec flow [14:56] ondra, ^ [14:56] john-mcaleely: you need the snap-confine from xenial-proposed [14:56] ogra_ snap list works [14:57] should this be killing nextcloud boxes? [14:57] I don't know what is in the images [14:57] it appears to be [14:57] ogra_ snap install hello-world and then I get GOARM complain [14:57] ondra, yeah, then the issue is likely the snap confine bug, GO itself seems to be fine [14:57] but you can see if you have a fixed snap-confine by doing 'grep unsafe /etc/apparmor.d/usr.lib.snapd.snap-confine [14:57] john-mcaleely funny enough nextcloud is still running :) [14:57] it nothing comes back, you need an updated snap-confine/image [14:57] ogra_ what is confine bug? :) [14:58] ondra, this one https://bugs.launchpad.net/snap-confine/+bug/1621127 [14:58] Bug #1621127: snap-confine doesn't work with new snap-run/snap-exec flow [14:59] jdstrand grep unsafe gives me nothing [14:59] jdstrand I did run apt-get update && upgrade [14:59] jdstrand what else shall I update then? [14:59] ie, you're on a 16.04 system hosting snaps [15:00] ondra: you need xenial-proposed [15:00] jdstrand OK I have thant, I only updated snapd though [15:00] safe to run upgrade on all? [15:00] ondra: https://launchpad.net/ubuntu/+source/snap-confine/1.0.43-0ubuntu1~16.04.1 [15:01] ondra: I don't know everything in xenial-proposed. just grab those two debs and install [15:02] niemeyer, plars, http://paste.ubuntu.com/23303485/ [15:02] ;) [15:03] jdstrand OK snap-confine + snapd from xenial-proposed seems to do the trick for hello-world [15:03] hopefully snap-confine will get through SRU this week. ara is testing it [15:03] so why do users see broken-ness now on nextcloud boxes? [15:03] ok, I'm off today so wandering off unless niemeyer catches me soon [15:03] jdstrand, well, kind of, I am asking peopole to test some of the bugs [15:03] has something been released too early? [15:04] jdstrand: Hello [15:04] jdstrand, some of those are difficult to understand what needs to be tested [15:04] niemeyer: hey [15:04] jdstrand, so I am pinging the original reporters [15:04] jdstrand: We can do it here so I don't disturb your holidays too much [15:04] that's fine [15:05] jdstrand: Our goal is to have most of the hardcoded logic in our assertions dropped in favor of snap declarations by the end of the week [15:05] niemeyer: if this is about snap declarations, vyi I started the review tools stuff last week and roadmr is working on the store side [15:05] niemeyer: yes, I saw the email. I think that is doable [15:05] jdstrand: For that, we'll need the actual declaration in place [15:05] * jdstrand nods [15:06] jdstrand: One thing we can do is to have a short term plan for importing the actual declarations directly in the store server, and then go back to the review tools for finishing it the proper way [15:06] jdstrand: As long as the assertions are up there, maintaining the status quo we have in code, we should be good to go for the RC [15:06] niemeyer: roadmr and I synced last week and decided how the review tools and the store will interact. he should be unblocked for entering into the store and for snapd queries. I don't know the status of his work [15:07] jdstrand: So the challenge is building a list of all assertions we need, and burning it down until friday [15:07] I should be able to finish up the review tools on wed [15:07] In which project do I fill a bug for console-conf? [15:07] niemeyer, plars, so all we need now is a busybox for armv5l that has dd and wget enabled, some scriptery and we can directly flash images over wifi, independent of what the devel board we want to test currently does (as long as the wifiSD card has power), i tested with beagle, both pi's and the dragonboard, they can all boot fine from the wifiSD rootfs when you dd it to the SD part and use the SD->microSd adapter [15:07] (of course, that would not include a store rollout) [15:07] jdstrand: Yeah, I know there's some trickery around reviewing/store interactions [15:07] jdstrand: Which is why I'm proposing we side-step the initial loading so we're not blocked on that [15:07] niemeyer: there is, but we have the path forward and are unblocked on each other [15:07] jdstrand: As long as we have the assertion content itself, we should be able to move on in time for the RC [15:08] niemeyer: aiui the store has a form field for the payload for slots and plugs. but when roadmr and I last spoke, he said entering anything in there breaks things [15:09] ogra_: Interesting.. did you dd via wifi already? [15:09] jdstrand: Hmm.. things? [15:09] niemeyer, not yet, but i should have a working setup for all of tezh above during this week [15:10] after finding that hilarious autorun.sh thingie the rest is just finger training [15:10] niemeyer: I don't know the status of that-- but, it seems reasonable that, yes, if they can store the snap declaration for snapd to query on for lxd, docker and the kernel-module-control consumer, then the store can simply insert that payload in those form fields as if this was a subsequent run [15:10] jdstrand: Right [15:10] jdstrand: Cool, let's push that forward when you're back on Wed [15:10] that is all +1 from me [15:10] jdstrand: Have fun there! [15:11] but, importantly, I am working on the review tools, not the store side. please sync with roadmr for the store side status and storing of the snap declarations [15:11] (well, the review tools are store side, but I think you know what I mean) [15:12] jdstrand: Yeah, thanks [15:12] niemeyer: today is Candian thanksgiving so roadmr it off, but he should be back tomorrow [15:13] well, I'm assuming he is off [15:13] jdstrand: I think pedronis is in sync with him about that (or will be) [15:13] ok great [15:14] ogra_: Cool.. that's probably the trickiest part of it.. if we can get the wiif card to dd behind the device's back, the rest should work fine [15:16] niemeyer, shouldnt be any prob really ... just time and work :) [15:21] oh, whee ... wget is actually there already [15:21] just need dd [15:22] hmm, though /dev/mtdblock0 on the embedded linux only has 268K free ... we'll need to stream into dd from wget [15:23] and need the images uncompessed on the server since we cant unxz them [15:23] oh this is so much fun !!! [15:25] but it is astonishing how insecure these wifiSD cards are ... [15:33] on 16.04.1 LTS, is there any way to allow access to modifying contents of the /etc/ folder? [15:35] niemeyer, http://paste.ubuntu.com/23303624/ [15:35] :D [15:35] ogra_: hi, i flash new beta3 pi2 image and went through console-conf. After finish, I use ssh to login pi2 but it prompt password need input. Is it expected? [15:36] shuduo, did console-conf properly finish (i.e. telling you the ssh line you should use) [15:37] ogra_: yes. i have booted it and went through console-conf but did not finish. Second time I finished and ssh line told me what i need. [15:38] try a reboot then and file a bug that console-conf didnt finish [15:41] ogra_: let me re-dd and try again. if it can be reproduced i will file a bug. thanks. [15:43] i bet it can [15:49] ogra_: morphis: i've pushed out a new image containing a new kernel - with this image i cannot reproduce the serial oops anymore, if you can test it and comment that would be nice since i plan to push it out tomorrow [15:49] lp1630586 [15:50] bug1630586 [15:50] the bot is not collaborating... [15:56] bug 1630586 [15:56] Bug #1630586: Pi3 kernel crash and is unreliable [15:56] ppisati_, it is just picky [15:57] (needs the space) === mbriza is now known as mbriza|gone [16:56] ogra_: hi, i can reproduce the issue but i'm curious it happen only i gave a specific account (my colleague). but it works well with with my launchpad account [17:53] PR snapd#2121 opened: snapy: do not auot-import from loop or non-dev devices [18:12] JamesTait: ping [18:14] JamesTait: Have you proposed your ejabberd snap configs to upstream? [19:22] PR snapcraft#835 closed: Add the test upstream rules [19:55] PR snapcraft#860 closed: In the downloader demo test, use https [20:03] PR snapd#2122 opened: snappy: disable auto-import of assertions on classic [20:15] PR snapd#2123 opened: daemon: ensure `snap create-user --known` errors on classic (unless --force-managed is added) [20:15] Does anyone know how to specify which version of go is used to build a snap with the 'go' snapcraft plugin ? [20:16] ahh, it seems I'm hitting https://bugs.launchpad.net/snapcraft/+bug/1616985 [20:16] Bug #1616985: the go plugin doesn't support go 1.7 [20:19] PR snapcraft#862 closed: Add powerpc (32bit big-endian) support [20:22] PR snapcraft#849 closed: Bugfixes for gated and validate commands [20:26] ubuntu-core file system is read only and can't modify anything on the file system as root, is this normal? [20:48] PR snapd#2124 opened: daemon: add postCreateUserSuite test suite [21:16] PR snapcraft#859 closed: Set GOBIN in go plugin build environment [21:48] Bug #1632085 opened: Support "fudge factor" for file system sizing [21:54] Bug #1632124 opened: snapd pegging cpu at 100% [21:57] ogra_: Looks promising! [21:57] Hey guys do you know if canonical provides support to port to an unsupported ARM board? [22:00] jdstrand: I understand you're the person to talk to about click-reviewer-tools warnings? I'm trying to ship a snap that contains a shell script, and getting "Could not find compiled binaries for architecture 'amd64'". [22:01] jdstrand: I'm not sure what I should be doing differently though... === drizztbsd is now known as timothy [22:12] Bug #1632130 opened: Can't download snaps from ARM hardware running Classic [22:24] mhall119, I haven't. Two reasons: 1) It's not just a straight `snapcraft`, you have to `snapcraft prime; patch -p0 < README.md; snapcraft`. 2) When I mentioned my snap of one of the ejabberd releases on the public mailing list, it was met with hostility, which rather put me off. [22:26] mhall119, http://lists.jabber.ru/pipermail/ejabberd/2016-August/009066.html [22:49] Bug #1611078 changed: Support snaps inside of lxd containers