/srv/irclogs.ubuntu.com/2015/07/06/#snappy.txt

=== EllieGoulding is now known as plop_its_ellie
=== user is now known as Guest10540
Guest10540Has anyone managed to get OVA on VirtualBox working? (https://developer.ubuntu.com/en/snappy/start/#ova) I see many complaints about not being able to log in after cloud-init, ..., and I wasn't able to, either.06:29
dholbachgood morning07:00
fgimenezgood morning07:03
=== chihchun_afk is now known as chihchun
sturmflut2fgimenez: o/07:05
davidcalleMorning o/07:14
=== chihchun is now known as chihchun_afk
=== bigcat is now known as bigcat[brb]
=== bigcat[brb] is now known as bigcat
JamesTaitGood morning all; happy Monday, and happy Take Your Webmaster To Lunch Day! 😃09:17
=== chihchun_afk is now known as chihchun
ChipacaJamesTait: Just realized: I'm my own webmaster!09:24
* Chipaca will take himself to lunch09:24
JamesTaitChipaca, me too. :(09:24
ChipacaJamesTait: :(? \o/!09:25
JamesTaitChipaca, possibly. The benefit of someone else taking me to lunch is they'll pay. That may or may not be outweighed by the burden of their company, depending who they are.09:27
JamesTaitChipaca, also, happy Fried Chicken Day! Enjoy your solitary trip to KFC. 😉09:29
ChipacaJamesTait: was about to point out i had no kfc close enough, but i was wrong!09:30
Chipacabut there's a “kebabs & southern fried chicken” closer than that09:31
Chipacai'm not feeling brave enough for either tbh09:31
JamesTaitChipaca, so... happy fry your own chicken day?09:40
ChipacaJamesTait: happy leftovers day \o/ :)09:41
JamesTaitHah! You win!09:41
Chipacaneed to polish off some things before they go off09:41
Chipacaincluding a palta and a ball of bufala mozzarella09:42
Chipacaso dunno what it's going to be, but it's going to be awesome :)09:42
ChipacaJamesTait: are you not in .uy?09:45
JamesTaitChipaca, nope.09:46
ChipacaJamesTait: ah, ok then :)09:46
JamesTaitOff the top of my head I'm not sure who's over there, tbh.09:46
JamesTaitI don't think it's many though, IIUC it's at Martin's place.09:47
ChipacaJamesTait: here, one for you: http://www.whitevinyldesign.com/solarbeat/10:44
JamesTaitChipaca, that is beautiful. ☺10:47
vmayoral|pcgreetings10:50
vmayoral|pccan i have someone review a framework i submitted yesterday called "capes"?10:51
vmayoral|pcspent the weekend porting our packages from "binaries" to "services" and we'll need that framework in order to upload the apps10:51
=== chihchun is now known as chihchun_afk
rsalvetiogra_: sergiusens: for https://bugs.launchpad.net/snappy/+bug/1429749, what would be the proper fix?14:01
ubottuUbuntu bug 1429749 in Snappy trunk "Ubuntu Core updated but not switch to new version after reboot on Raspberry Pi 2" [Undecided,New]14:01
rsalvetinot allow update for ubuntu-core?14:02
ogra_yes, sergiusens added a warning to udf recently for that14:02
ogra_and i thought the plan was to not support that at all14:02
rsalvetiogra_: but this is on a running system?14:02
rsalvetis/?//g14:02
ogra_well, it does the download but wont switch partitions14:03
ogra_i understood that will be fixed on a snappy level so it wont attempt the download14:03
rsalvetiogra_: right, that's what I assumed as well, but don't know if we got anything for it yet14:18
rsalvetimaybe sergiusens knows more14:18
ogra_i thin that waits for the s-i dropping14:18
ogra_*think14:18
sergiusensogra_: rsalveti running systems won't be affected by the change, only new ones14:23
ogra_indeed, since running systems wouldnt use udf :)14:23
ogra_neither will people that use the stable image and dd it14:23
rsalvetisergiusens: right, they can flash new images, that's fine14:25
rsalvetisergiusens: but is there anything we can do in snappy itself to forbid such update?14:25
rsalvetior give a better error or such?14:25
sergiusensrsalveti: not without manual hacks14:26
rsalvetisergiusens: why manual hacks?14:26
rsalvetisergiusens: can't we check for the origin?14:26
ogra_right, we discussed that before ... which made me think we'll wait for the switch away from s-i14:26
sergiusensrsalveti: the origin feature only landed last week14:26
sergiusensinto rolling14:26
sergiusenstrunk14:26
sergiusensand origins for device tarballs is sort of complicated14:27
rsalvetisergiusens: sure, not necessarily for this week/release, just trying to understand what would be the proper solution14:27
sergiusensrsalveti: move to snaps14:27
sergiusensthat's the proper solution ;-)14:27
sergiusensfor stable though, anything we do will be a hack14:27
ogra_(on a sidenote it is trivial to hack around the issue currently ... by just hacking snappy-system.txt)14:28
sergiusensunless it's done during prov14:28
rsalvetiyeah, was wondering for stable14:28
sergiusensogra_: right, but that is a prov thing14:28
ogra_even if it would be supported, the RPi uboot cant handle it currently14:30
ogra_(on another sidenote :) )14:30
elopiogood morning14:40
elopiothey are fixing the plumbing in my apartment today, so I might be on and off during the morning.14:41
elopiofgimenez: have you seen any errors while doing the failover updates?14:42
rsalvetimterry: ogra_: sergiusens: about bug 1444049, should we just include libc6:i386?14:43
ubottubug 1444049 in Snappy trunk "Shipping libc6:i386 in the amd64 images would be useful" [Undecided,New] https://launchpad.net/bugs/144404914:43
rsalvetiI imagine this to be an issue soon14:43
rsalvetiand not a trivial one to let the user to fix himself14:43
fgimenezelopio, yes, with version #98 TestZeroSizeSystemd is failing14:43
ogra_hmm14:43
fgimenezelopio, this branch fixes it https://code.launchpad.net/~fgimenez/snappy/fix-zerosize-systemd-failover-test14:44
elopiofgimenez: I saw one grub error yesterday in that test, but didn't dig anything.14:44
ogra_rsalveti, can we do that without additional deps ?14:44
elopiocool, you already fixed it :)14:44
mterryrsalveti, ogra_: depends how much we want to cater to running x32 executables...  It is rather difficult right now14:44
rsalvetiwhat would be the additional deps?14:44
rsalvetithis is just libc14:44
rsalvetiogra_: one for you: https://bugs.launchpad.net/snappy/+bug/1456340 :-)14:45
fgimenezelopio, yep, just setting the same permissions to the empty file fixes it14:45
ubottuUbuntu bug 1456340 in Snappy trunk "Add gdbserver to snappy image" [Undecided,New]14:45
ogra_i understand the conveninece that adds ... but where do we draw the line ?14:45
elopiolet me give it a try.14:45
vmayoral|homehi everyone! any chance i can get my new framework reviewed? (it's called "capes")14:45
ogra_rsalveti, *yawn* ... always the same bugs everywhere ... thats boring14:45
rsalvetiogra_: I'd say just libc for now14:45
mterryrsalveti, ogra_: I think it pulls in libgcc1 too (but that's it)14:45
ogra_rsalveti, yes, but then there is this other compelling lib to add ... and a week later another one ....14:46
rsalvetiogra_: :-)14:46
rsalvetiogra_: well, don't think we'll add much14:46
ogra_i'm just a bit afraid that over time more and more sneaks into the image like this14:46
rsalvetijust that not having libc is kind of too much for someone to start14:47
ogra_yeah, lets add it then14:47
rsalvetiogra_: easy for rolling, how to add it for stable? :-)14:47
rsalvetiogra_: should we create a meta package for it?14:47
ogra_hmm, how did we handle stable til now ?14:47
rsalvetiand force that meta package in the livecd-rootfs script14:48
ogra_(given we dont have meta packages at all)14:48
rsalvetiogra_: in livecd-rootfs itself14:48
ogra_if we need to hack livecd-rootfs anyway i wouldnt add a meta .... just add libc there14:49
rsalvetiogra_: that's fine I guess, we don't plan to increase this much anyway14:49
ogra_(though i'm not sure if live-build is multiarch aware )14:49
rsalvetihm, right14:49
ogra_needs a test i guess14:49
rsalvetiogra_: and about gdbserver, should we add it as well?14:50
ogra_yeah14:50
rsalvetialright, adding both bugs to you then :-)14:50
ogra_:)14:51
ogra_gdbserver should eb a hard dep of libc :P then we dont need to seed it everywhere14:51
ogra_*be14:51
elopiofgimenez: with your filter branch, I started modifying the real update tests. Here's my idea:14:51
elopio- when there are no available updates, we make the tests to fake one, as we discussed last week. So we flash the latest image, and run everything in there.14:51
elopio- we flash rev -1. We use a filter that will only run the update so it will leave the image on the latest rev. And then we run on this image all the tests.14:51
elopio- we flash 15.04. We run only a test that will update it to latest. And then we run on this image all the tests.14:51
ogra_seems everyone and his cousin wants it installed everywhere anyway14:52
elopiofgimenez: any thoughts?14:52
rsalvetimterry: care to backport https://bugs.launchpad.net/snappy/+bug/1461070 ?14:52
ubottuUbuntu bug 1461070 in Snappy 15.04 "Running set active without sudo gives lower level error than it should" [Undecided,New]14:52
mterryrsalveti, ok14:54
rsalvetimterry: https://bugs.launchpad.net/snappy/+bug/1461917 as well14:54
ubottuUbuntu bug 1461917 in Snappy 15.04 "snappy app services should auto restart" [Undecided,Triaged]14:54
fgimenezelopio, great! :) taking care also of passing the right testList (latest, previous,...) for each case and the testFilter to adtRun will make it very straightforward14:56
balloonselopio, how's the images and everything today?14:57
elopiofgimenez: yes, I didn't think your filters would be so useful. Looking at your comment on the branch...14:57
balloonsare we all set? what needs finishing?14:57
elopioballoons: things seem on nice on wily and using the proposed ppa on vivid.14:57
elopioballoons: rsalveti and the team are backporting things to the 15.04 branch. Once they are backported, we will have an RC.14:58
balloonselopio, does install system-status.victor work for you? (sudo snappy install system-status.victor)15:02
elopioballoons: I can give it a try in ~10 minutes.15:03
balloonselopio, ack, tyu15:03
ogra_Chipaca, so no console= should be the default15:29
ogra_Chipaca, but we need a way to define one console= option for images that should default to serial15:30
Chipacawhen somebody comes to us complaining about X weird behaviour15:31
Chipacawe would need to remember to ask for their boot commandline15:31
bregmaI'm working on a snap that will need to create some network devices (traditionally done as root during package installation) -- how does that, and other similar privileged admin tasks -- work with a snap?15:31
ogra_Chipaca, well, certain HW implies certain console= settings ... embedded boards like the BB or RPi should efault to serial console15:32
ogra_grub based images that run in a VM or on real HW shouldnt15:32
Chipacaogra_: i'm reading "i'm fine with it being in the gadget snap"15:32
ogra_Chipaca, no, totally not fine with that ...15:33
ogra_because it would mean you need separate gadget snaps pre console option15:33
Chipacaogra_: i know, that's why i said it -- so you'd expand :)15:33
ogra_*per15:33
Chipacaogra_: but you're saying the default is per device, aren't you?15:33
Chipacaogra_: ie bb or rpi need it, vm or real hw don't15:33
ogra_well ...15:33
* Chipaca notes ogra just said the bb wasn't real hardware15:34
* Chipaca blames the dentist15:34
ogra_while the BBB is definitely not suited for personal, i would expect that RPi users might run kodi on their boards ... or some other graphical thing15:34
ogra_so they'd want to be able to switch back and forth15:34
ogra_personal specifically might want to use a boot splash ... and would need a graphical soncole device set15:35
ogra_*console15:35
ogra_as i said before already ... i thinbk the only sane way would be to have a u-d-f option to set a non-default console device ... but sergiusens didnt sound happy about addin more u-d-f options15:36
Chipacarsalveti: sergiusens: https://code.launchpad.net/~chipaca/snappy/fix-1461262/+merge/26391715:37
Chipacaogra_: right now, udf has no kernel options exposed. If we expose one, do you promise your axe to help us defend against the horde?15:38
ogra_well, you can make it not look like a kernel option :)15:38
Chipacaogra_: (i'm not sure whether it's an option at all, really -- people are already complaining about too many obscure options in udf)15:38
rsalvetiogra_: start a thread in snappy-devel :-)15:39
ogra_i just dont think it is sane to have a million identical gadget snaps for changed kernel cmdline options15:39
Chipacaogra_: i agree with you :)15:40
Chipacaogra_: i just think you're the one who can defend your point the best. Please do make it on the list :)15:40
ogra_and sadly snappy-config wont work until you booted ...15:40
rsalvetiChipaca: thanks for the mr15:40
ogra_yeah15:40
elopioballoons: package with namespace not supported?15:41
Chipacabregma: how would the network devices be created traditionally?15:41
bregmaChipaca, through the equivalent of a sudo operation, I imagine15:42
bregmasince this is done by the user at first-run15:43
Chipacabregma: i mean, you'd drop something into network/interfaces.d?15:43
balloonselopio, yea.. https://bugs.launchpad.net/snappy/+bug/1466674.15:45
ubottuUbuntu bug 1466674 in Snappy "Snappy store contains packages with namespace" [Undecided,Incomplete]15:45
elopioballoons: I don't fully understand what nessita is asking in there.15:46
elopiobut the error message doesn't come from the snappy source code.15:47
balloonsthat makes two of us, heh. Is there anyway to get more verbose output? Where is the source for the error?15:47
elopiolet me see what install does.15:48
balloonsdoes it use alias?15:49
balloonsthat's the only difference I see between the packages15:49
nessitaelopio, hey!15:49
elopioballoons: what packages are you comparing?15:49
* elopio waves at nessita.15:49
nessitaelopio, what I'm asking/saying is that a package's manifest can vadily have as "name" the package full path (ie the store allows this)15:50
balloonselopio, nessita I simply looked at the json for the hello-world package (which works fine) and the system status package from victor15:50
balloonsthe hello world package has an alias, the system status package has null for that field15:50
elopioballoons: can you please link to the source of that package?15:50
nessitaballoons, for package metadata you should query the index, since the fields inside a package may not be accurate15:50
nessita(the package index)15:51
balloonsnessita, I used https://search.apps.ubuntu.com/api/v1/package/system-status.victor and https://search.apps.ubuntu.com/api/v1/package/hello-world15:51
balloonselopio, links ^^15:51
bregmaChipaca, we're trying to create an unprivileged LXC container, so there are a number of steps that need elevated privileges including creating UIDs and running LXC tools to create VETH devices (the exact nature of such operations is beyond my kenning)15:51
nessitaelopio, I'm currently in a sprint so I will try tyo answer as I can, need to run for lunch now (being kick off the room)15:52
balloonsthanks nessita15:52
Chipacabregma: i might be wrong, but i think having an unprivileged snap do privileged things is not currently possible15:53
Chipacaarbitrary privileged things, that is15:54
elopionessita: buen provecho.15:54
Chipacabregma: although what you're wanting to do is something we want to suppor15:54
Chipacat15:54
Chipacabregma: so maybe we need to map out what you want, and expose it in some way15:55
bregmaChipaca, our current plan is to just use PAM to elevate privs with authentiction, will that still work on Snappy?15:55
Chipacabregma: i'm going to guess 'no'15:56
bregma:(15:56
Chipacabut i'm not fully sure of what you mean, so :)15:56
Chipacaif you mean "after snappy install, run sudo yadda yadda", then maybe yes15:56
Chipacabut that won't work in a number of scenarios15:57
Chipacamostly around not having console access to the device :)15:57
ogra_well, the lxd framework should offer you all this, no ?15:57
bregmaour snap is designed to work only on devices with full user interaction, so we don;t care about ones without console access15:58
Chipacaogra_: yep, but it'll need something very close to uncontained :)15:58
bregmaand LXD just doesn't meet our needs in any way15:58
ogra_oh, why is that ?15:58
ogra_i thopught it is only used to fire up lxc containers15:59
elopioballoons: http://bazaar.launchpad.net/~vthompson/+junk/system-status/view/head:/meta/package.yaml16:00
elopiohttp://paste.ubuntu.com/11831452/16:01
balloonslooks fine to me16:01
elopioballoons: that's what's needed ^16:01
balloonselopio, sure that would fix it I suppose; it's just odd that it fails when the hello-world package has name as hello-world.canonical as the name16:02
elopioballoons: http://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-examples/view/head:/hello-world/meta/package.yaml16:02
elopionot on the metadata.16:02
balloonsok, so then the question for nessita is why the package wasn't unpublished then16:04
balloonsas that was the old style16:04
balloonsty elopio16:04
elopioalso, in here it says that "." is allowed in the name16:04
elopiohttps://developer.ubuntu.com/en/snappy/guides/packaging-format-apps/16:04
balloonsohh good catch!16:04
balloonscan you summarize in a comment on the bug?16:04
balloonsi'll add the website to it so it can be fixed too16:04
balloonswhoa.. "snappy autopilot triggered a reboot to boot into an up to date system"16:08
elopioballoons: autopilot is following you!16:14
balloonsscary!16:15
Chipacasergiusens: you around?16:21
sergiusensChipaca: yes16:37
Chipacasergiusens: good.16:40
Chipacasergiusens: wondering why 'snappy search' would find a package, but install wouldn't16:41
Chipacasounds all very weird to me :)16:41
sergiusensChipaca: search does partial matching while install requires an exact match?16:42
Chipacasergiusens:16:43
Chipaca(amd64)ubuntu@localhost:~$ snappy search mir16:43
ChipacaName Version Summary16:43
Chipacamir  snap1   Mir example server snap16:43
sergiusensChipaca: http://search.apps.ubuntu.com/api/v1/package/mir.mvp-demo that one?16:44
ogra_bah, amd64 only ?16:44
sergiusensChipaca: it has no alias16:44
ogra_not found on any armhf device16:44
sergiusensChipaca: and it is a framework, that is why16:44
ogra_thats lame16:44
sergiusensogra_: we don't care about armhf ever since you stopped using your chromebook ;-)16:45
Chipacai still have the ac10016:45
sergiusenshave != use16:45
ogra_damn ... i'll dig it out next WE !16:46
Chipacawell.. i use it to separate the gray lego from the green lego16:46
Chipacaogra_: oooh! if snappy core boots that, i'll be happy :)16:47
ogra_do you fear little dark green legos ?16:47
Chipacaogra_: if you saw the mess that is the lego box, you'd be laughing too :D16:47
ogra_:)16:47
Chipacait's officially the lego box, but i think the floor has more lego16:48
sergiusensogra_: I'm waiting a bit more for that16:48
Chipacai should probably rename it 'misc junk' or sth16:48
ogra_haha16:48
* Chipaca sideloads the mir snap16:49
Chipacaaaand it's a bad snap :-(16:49
Chipaca(amd64)ubuntu@localhost:~$ sudo snappy install ./mir.mvp-demo_snap1_amd64.snap16:49
ChipacaInstalling ./mir.mvp-demo_snap1_amd64.snap16:49
Chipaca./mir.mvp-demo_snap1_amd64.snap failed to install: can not parse package.yaml: missing required fields 'vendor' (from: "name: mir\nversion: snap1\narchitecture: amd64\ntype: framework\nservices:\n  - name: system-compositor\n    description: \"system compositor\"\n    start: bin/server\n    security-template: unconfined\n")16:49
sergiusenselopio: Chipaca if you build images for 15.04/edge do they work out?17:07
sergiusenselopio: Chipaca if you build images for 15.04/edge do they work out?17:08
sergiusensthere :-P17:08
elopiosergiusens: let me try.17:08
sergiusenselopio: seem to missing a systemd service here17:09
elopioudf'ing17:10
nessitaelopio, balloons the package may be old style but is still super valid17:15
nessitaelopio, balloons, so code should be prepared to handle both formats17:15
nessitawe will not unpublish such packages since they are still valid, as far as the store is concerned17:16
Chipacanessita: which package?17:17
nessitaChipaca, system-status.victor17:17
nessitaChipaca, https://search.apps.ubuntu.com/api/v1/package/system-status.victor17:18
balloonsok . . . well, then something on the installation side needs fixed. As it stands it can't be installed and gives the unhelpful error. I'd guess other packages might have the same issue17:19
sergiusensnessita: it's not valid, frameworks and oems need to have an alias17:20
sergiusensnessita: wrt beuno said oem and framework types would automatically get aliased when accepted17:20
nessitasergiusens, as far as the store is concerned, that package name is very valid. If it needs an alias that is another feature/story17:21
nessitasergiusens, which I'm not aware we have in our radar, but surely is on our backlog17:21
nessitaour radar == current items being worked on17:21
beunoI've found an owner for that17:21
beunowithin the next few weeks17:22
beunohopeolly17:22
sergiusensnessita: it's not supposed to be published; we have a very manual process for publishing frameworks and oems, can you track down who accepted that package into the store?17:22
nessitasergiusens, yes17:22
sergiusensChipaca: https://code.launchpad.net/~sergiusens/snappy/closeMe/+merge/26394317:22
elopiosergiusens: yes, it prints lots of errors. Not sure which is the first.17:23
nessitasergiusens, last published version is 1.0.3 and was automatically approved by the scripts with no errors and only 1 warning17:24
nessitasergiusens, last 4 uploaded versions (1.0.4 up to 1.0.7) are all failing with17:26
nessitasecurity_policy_vendor_matches_framework (meta/system-status.apparmor):17:26
nessitaubuntu-snappy != ubuntu (ubuntu-core-15.04-dev1)17:26
nessitasergiusens, does that give you any debug information?17:26
sergiusenselopio: [    5.783593] systemd[1]: Failed to isolate default target: Unit snappy-workaround-apparmor.service failed to load: No such file or directory.17:28
sergiusensnessita: date of last upload? I hope it's newer than the great purge date we did in austin with beuno17:30
sergiusensnessita: according to the json result last_updated: "2015-02-24T03:44:14.674552Z",17:30
nessitasergiusens, version 1.0.3 was approved and published on  2015-02-2417:30
sergiusensthis package should not be published17:30
sergiusensnessita: we made a massive unpublish in April before release17:31
nessitasergiusens, who should have unpublished it?17:31
nessita(to try to track down debug information)17:31
sergiusensnessita: beuno and james_w17:31
sergiusensnessita: it was an implicit unpublish, asac had requested to wipe the store17:31
ogra_yeah, the format of package.yaml changed17:32
* ogra_ still hasnt re-published all his packages17:32
ogra_unpublishing was a requirement ... that package simply slipped through17:32
ogra_there is no bug ...17:32
sergiusensogra_: no, it wasn't there and now it is17:32
nessitasergiusens, so do you know what was the criteria to unpublish packages? obviously the store can not be wiped since we have all the click world in it :-)17:32
beunoI think I decided to no unpublish things that would get filtered out automatically because we now required a release17:33
ogra_sergiusens, that package is really old ... i used to try it out way before the unpublishing17:33
sergiusensnessita: snappy store was to be wiped, the catalog at least; and it's because during the week of austin we decided to make breaking changes for release which required this17:33
nessitasergiusens, see beuno s comment17:33
sergiusensbeuno: right, but I guess anyone going in can tick a release, right?17:34
beunoyes17:34
beunoso I guess I wasn't *that* smart17:34
nessitaI think that solves the mistery, now we need to come up with a fix that suits everyone17:34
sergiusensbeuno: which makes packages that were published before sort of dangerous17:34
sergiusensbecause the semantics don't match anymore17:34
sergiusensand to be honest, the system-status snap might as well be an app and not a framework ;-)17:35
sergiusensrsalveti: image is broken due to https://launchpadlibrarian.net/210538856/ubuntu-core-config_0.6.15%2Bppa6_0.6.15%2Bppa7.diff.gz17:38
sergiusensrsalveti: not sure if we need to revert that change or wait for that upstream fix to land...17:38
balloonssergiusens, beuno nessita thanks for getting to the root of this17:39
sergiusenselopio: I think that triggers the issue ^17:39
elopioif we want the rc tomorrow, maybe we should revert.17:45
elopioballoons: once we know what's the latest image we can test tomorrow, I'll make a note on the flashing section of the wiki page.17:48
elopioare we missing something else?17:48
balloonselopio, afaik, no. I just need to review the google form again17:50
balloonsI saw https://developer.ubuntu.com/en/snappy/guides/channels/ was updatedso 15.04/edge is what we want people to use yes?17:51
sergiusenselopio: I think I know where this comes from, I'll take a look17:52
elopioballoons: no, that should be 15.04/rc.17:52
balloonselopio, ok, I'll update it again17:56
sergiusenselopio: rsalveti I think this fixes our issue at hand http://paste.ubuntu.com/11831998/17:58
balloonselopio, I don't see an rc image on cdimage though.17:59
balloonsThis goes back to our conversation on u-d-f vs cdimage download18:00
elopiosergiusens: how can we test that?18:00
elopioballoons: yes, once we get the rc rsalveti will publish it on cdimage.18:00
sergiusenselopio: new image build, or mount the .img and remove the dangling link18:00
balloonselopio, I assumed as much, y18:01
sergiusenselopio: I did that, worked fine18:02
sergiusenselopio: sudo kpartx -avs 15.04.img; sudo rm /media/sergiusens/system-a/lib/systemd/system/multi-user.target.requires/snappy-workaround-apparmor.service; umount /media/sergiusens/system-a; sudo kpartx -ds 15.04.img; kvm_snappy 15.04.img18:03
sergiusenselopio: but it requires a new image to get things going18:03
rsalvetisergiusens: hm, I think mvo also published the real fix18:05
rsalvetiwhich is why he reverted the workaround18:05
rsalvetisergiusens: oh, you got it18:06
rsalvetisergiusens: just upload that fix then18:06
sergiusensrsalveti: I just did ;-)18:07
rsalvetigreat18:07
sergiusensrsalveti: the workaround wasn't completely reverted though18:07
rsalvetiyeah18:07
sergiusensrsalveti: btw, can you dput the latest snappy trunk?18:07
* sergiusens needs to get the ppu paperwork done18:07
rsalvetisergiusens: sure18:07
sergiusensrsalveti: thanks18:08
* elopio learns kpartx18:08
ogra_sergiusens, seeing that you were the last one to touch the vivid livecd-rootfs in the snappy PPA, do we have a branch for that or do you just patch the package directly ?18:09
sergiusensogra_: I am not aware of a branch, I just used the packaging18:09
ogra_k. sounds fine ...18:09
sergiusensogra_: same for ubuntu-core-config18:09
rsalvetisergiusens: do we need to backport https://code.launchpad.net/~sergiusens/snappy/closeMe/+merge/263943 ?18:09
ogra_thanks !18:10
sergiusensrsalveti: nope, only required for the latest u-d-f builds to allow clean unmounts ;-)18:10
rsalvetigreat18:10
sergiusensogra_: are you changing anything crazy? Since I want to trigger a new build soon to get a working image18:10
ogra_rsalveti, so seeds definitely dont support multiarch ... (i asked cjwatson) ...18:11
rsalvetiogra_: hm, that's interesting18:11
rsalvetihow is that done on the desktop?18:11
ogra_sergiusens, one insane (test) thing and one easy and safe one18:11
rsalvetior libc just gets installed when required/18:11
rsalveti?18:11
sergiusensogra_: hmmm, then let me trigger a build before that :-)18:11
ogra_rsalveti, we dont have any images where foreign arch packages are preinstalled18:11
rsalvetiogra_: nice18:12
sergiusensogra_: so we have a working test base and I don't need to chase my tail like a dog :-P18:12
ogra_sergiusens, well, i can do it tomorrow morning (would actually prefer to) ... but it is for RC18:12
rsalvetisergiusens: trigger an image now18:12
rsalvetibuild is kind of fast anyway18:12
sergiusensrsalveti: waiting for packages to publish18:12
ogra_rsalveti, and i'm not sure about using :i386 in live-build, i need at least one test build to see what happens18:12
rsalvetiogra_: right18:13
ogra_(and indeed i have no local setup)18:13
rsalvetisergiusens: gotta love launchpad18:13
sergiusensrsalveti: did you read my latest blog entry? :-P18:13
rsalvetisergiusens: not fully yet, in my toread18:13
rsalvetinew kernel landed in updates18:14
rsalvetiyay18:14
elopiosergiusens: on your post I think that you are not taking into account that travis is not running trusty.18:22
rsalvetisergiusens: package was just published18:22
rsalvetisergiusens: https://launchpad.net/ubuntu/+source/ubuntu-snappy/1.5ubuntu118:23
Saviqogra_, if I edited uEnv.txt on the boot partition on a snappy Pi, it should change the kernel command line, should it? does uEnv (it's the bootloader, right?) itself talk console by any chance?18:23
ogra_uboot you mean18:24
ogra_yes, it talks to serial only18:24
ogra_Saviq, any probs with that ?18:25
ogra_(uEnv.txt is for overrides, it could well be that uboot itself sets some HW related defaults before processing uEnv.txt)18:26
sergiusenselopio: we don't care, sbuild for package builds and go is avail on the platform so it is not far away from what we have today18:27
elopiosergiusens: what about the calls we make to ubuntu-device-flash?18:28
sergiusenselopio: that does not happen on tarmac today18:28
elopiocould we backport the ppa to ... lucid I think is what they have18:28
sergiusenselopio: they have precise envs18:28
sergiusenselopio: and we don't use ppa's in our tarmac setup18:29
sergiusenselopio: nor package building18:29
elopiooh, well, that's right. No much different to our present.18:29
sergiusenselopio: but giving webhooks are instantly available, we can do a lot already18:29
sergiusenselopio: rsalveti: ogra_ I triggered a vivid image18:30
rsalvetimterry: https://code.launchpad.net/~mterry/snappy/set-sudo-15.04/+merge/263920 missing withMutex18:37
rsalvetiChipaca: https://code.launchpad.net/~chipaca/snappy/fix-1461262/+merge/263917/comments/66189818:38
mterryrsalveti, hah, whoops, run-checks failed but without a good error and I wasn't sure why, so I was going to let jenkins sort it out while I had lunch.  Looks like it did, thanks for the heads up  :)18:38
rsalvetiChipaca: oauth/oauth_test.go:25:2: cannot find package "gopkg.in/check.v1" in any of18:39
rsalvetimterry: :-)18:39
rsalvetithe joy of backports18:39
rsalvetiChipaca: maybe we can just use gocheck to avoid a larger backport18:43
sergiusensit should use gocheck, yes18:43
rsalvetisergiusens: can you see why https://code.launchpad.net/~mterry/snappy/systemd-restart-15.04/+merge/263915/comments/661903 failed?18:45
mterryrsalveti, yeah that is interesting.  run-checks locally *did* pass for that one -- and it's really a tiny change18:45
rsalvetiright18:46
sergiusensrsalveti: cmd/snappy/cmd_internal_unpack.go:70:6: func readUid should be readUID helpers/touch.go:39:5: exported var ErrNotAbsPath should have comment or be unexported18:46
rsalvetinot related with the mr for sure18:46
rsalvetisergiusens: why failing now?18:46
rsalvetithe check changed?18:46
sergiusensrsalveti: mterry update golint18:46
rsalvetiright18:47
Saviqogra_, yeah, I've changed uEnv.txt and still I get garbage on boot when I have the emon board connected18:48
rsalvetiwill just backport rev 520 then18:48
Saviqogra_, the board talks on ttyAMA018:48
mterrysergiusens, rsalveti: what's the Right way to do that in my workspace?18:48
sergiusensmterry: go get -u "the go lint package" iirc18:49
* sergiusens takes a break18:50
mterrysergiusens, thanks18:50
rsalvetimterry: https://code.launchpad.net/~rsalveti/snappy/15.04-fixing-lint-errors/+merge/26395618:51
kyrofaseb128, you mentioned last week that if I was willing to get my hands dirty, I could get an Ubuntu Personal-ish image up and running?18:52
mterryrsalveti, I see those now too :)18:52
sergiusens+118:52
Saviqogra_, but it does seems as if it never goes to actually loading the kernel, so it might be u-boot itself is talking on tty (/me records a video)18:53
ogra_Saviq, well, whats the actual kernel cmdline you end up with after booting (regardless if with or without the thing attached)18:57
Saviqogra_, right, checking that now18:59
rsalvetiogra_: image finished already if you want to play with livebuild19:02
ogra_rsalveti, k19:02
sergiusensrsalveti: from what I see, the image is still building...19:10
rsalvetisergiusens: just not yet fully imported19:10
rsalvetisergiusens: https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/vivid/ubuntu-core-system-image/19:10
Saviqogra_, yeah, it boots the right cmdline, but it never goes past u-boot when the thing's connected https://owncloud.sawicz.net/index.php/s/0afe9e8a599ef8fef2f2a105e9db357d#19:13
* Saviq needs to find out if u-boot talks ttyAMA0 for some reason19:13
Saviqbiab19:13
ogra_rsalveti, bah ... https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+build/7625955 ...19:36
ogra_"Start in 5 hours "19:36
rsalvetiogra_: that's arm6419:36
rsalvetiwhich we don't support19:36
rsalvetiyou can cancel it19:36
ogra_oh, will it still publish ?19:36
rsalvetiogra_: or just let it there, lp will publish the other packages19:37
rsalvetiwe don't have proposed for ppas :-)19:37
ogra_oh, ok19:37
ogra_(i thought it was more like the phone overlay PPA)19:37
* ogra_ kicks a build then19:37
ogra_rsalveti, hmm, infinity just told me ubuntu-fan v1 isnt suitable for seeding, we should wait for v3 (which btw wont depend on dnsmasq)19:39
ogra_so i'll unseed it again :P19:39
rsalvetiogra_: oh, alright :-)19:40
rsalvetiwe still need the kernel sru to be in place anyway19:40
* ogra_ sighs ... this is getting ebarassing 19:40
ogra_most awkward seed changelog ... in -> out -> in -> out ..19:40
rsalvetihahah19:41
sergiusensogra_: seeding in rolling should be fine though19:42
sergiusensrsalveti: https://code.launchpad.net/~sergiusens/snappy/originsOrNamespaceWhatever/+merge/26396019:43
ogra_damned !19:43
ogra_i just triggered a vivid phone build19:43
ogra_sigh19:43
rsalvetiogra_: hahah19:44
ogra_and do you know why ?19:44
sergiusensor Chipaca: https://code.launchpad.net/~sergiusens/snappy/originsOrNamespaceWhatever/+merge/26396019:44
ogra_because i couldnt mark the whole line at the size the terminal window was ... the overlay scrollbar didnt let me reach the last letter ... so i maximized and ended up in the wrong line19:44
ogra_yay design19:45
ogra_hmpf19:45
ogra_and snappy cant build due to a lockfile19:45
ogra_which i assume comes from the stalled arm64 build of sergiusens image (which i just cancelled)19:46
ogra_damn19:46
sergiusensogra_: hey, don't go around pointing fingers at me :-P19:47
ogra_sergiusens, alll your fault that the arm64 builders are so slow !!!19:47
ogra_aha, just took a moment19:48
ogra_ok, that didnt go so well19:52
ogra_E: Unable to locate package libc619:52
ogra_so just add_package wont work either ...19:53
bschaeferHello, just dd'd the ras pi 2 onto an SD and everything seems to be working except one issue19:57
bschaefer"Net initialization skipped"19:57
bschaeferand no ip or network at all on the image :(19:57
sergiusensChipaca or rsalveti: https://code.launchpad.net/~sergiusens/snappy/seccompError/+merge/26396419:59
sergiusensrsalveti: not sure I can get this one done by today https://bugs.launchpad.net/snappy/+bug/1450169 I need to leave for a bit20:02
ubottuUbuntu bug 1450169 in Snappy 15.04 "snappy update downloads non-namespaced package when fork is installed" [High,Triaged]20:02
rsalvetisergiusens: are you going to be around later today?20:03
rsalvetiI'll be off for a few as well, but back in a few hours20:03
rsalvetiand going to trigger a new image20:03
ogra_rsalveti, so the multiarch doesnt work (and a meta package wont help)20:04
ogra_it doesnt find any i386 packages at all during build20:04
ogra_i'll roll back the libc part but keep gdbserver in ...20:04
ogra_(and take a look tomorrow)20:04
balloonselopio, so i've setup https://wiki.ubuntu.com/Snappy/OpenHouses/20150707 and tweaked https://wiki.ubuntu.com/Snappy/OpenHouses/. Going to work a little on the form. Let me know if there's anything els20:14
sergiusensrsalveti: in 4hours or so, I have a dentist issue coincidentally :-P20:14
elopioballoons: thanks.20:14
sergiusensI broke a tooth last night :-P20:14
sergiusenseating popcorn...20:14
elopiosergiusens: ...rioting after the game.20:15
ogra_sergiusens, did you pick the one with extra butter and concrete ?20:15
rsalvetisergiusens: eating a popcorn?20:59
balloonselopio, http://bit.ly/1KHQZF6 is the form21:03
elopioballoons: +1. Thanks.21:04
kgunnhttps://pastebin.canonical.com/134686/21:16
kgunnsergiusens: wonder if you might know...this was working last thurs, was just trying and got that error ^21:17
kgunnit actually created an image, but it just stuck at "booting from disk"21:17
elopiokgunn: if you are on vivid, you can get the fix of that using the tools-proposed ppa.21:19
elopiokgunn: if you are on wily, just upgrade.21:19
kgunnta21:21
kgunnneeded to upgrade21:21
* kgunn considers probably should just move to wily21:23
jdstrandSaviq: hey, did you get an answer to emonhub?21:24
jdstrandSaviq: the problem is that the review tools are expecting snappy-systemd in the click compatibility manifest and a corresponding meta/emonhub.snappy-systemd in the snap produced by snappy build21:27
jdstrandSaviq: how did you generate the snap? snappy build? what version of snappy?21:27
jdstrandSaviq: I see that you uploaded to the store. I'll comment there21:39
jdstrandsergiusens: fyi, I left feedback in https://myapps.developer.ubuntu.com/dev/click-apps/2954/feedback/21:44
jdstrandsergiusens: it looks like snappy perhaps dropped "snappy-systemd" from the hooks db in the click compatibility manifest21:45
jdstrandsergiusens: either it is a bug in snappy or a bug in the review tools (can we please have the review tools run as part of the go build/check/whatever or the self-tests?)21:46
jdstrandChipaca: fyi, I came across that ^. I saw in backscroll from days ago about re-enabling the review tools. looks like an incompatible change rolled in recently21:47
elopiojdstrand: we have just added a test for snappy build that does some simple checks.21:49
elopiojdstrand: could you please report a bug, or make a card, or explain here how to reproduce that bug so we can automate it?21:49
elopioshould be easy.21:49
jdstrandelopio: I think there is already a card for it21:49
jdstrandlet me see if I can find it21:49
jdstrandI can't seem to find it21:50
jdstrandit keeps coming up in email threads21:51
elopiojdstrand: https://trello.com/c/Gp9gtKiu/59-self-tests-for-snappy-build21:51
elopioI see your comment in there.21:51
elopiowe added tests for one correct snap and two simple errors.21:52
elopioI'll make another card to extend the suite.21:52
jdstrandelopio: you are doing 'click-review /path/to/snap'?21:52
elopiojdstrand: no, just snappy build.21:53
jdstrandelopio: ok, so right now snappy build disabled the click-review run21:53
elopioI saw the code for click-review in the build command commented out.21:53
jdstrandelopio: right. this was because the review tools were out of date cause the yaml was changing so fast and the review tools weren't updated in lock step21:54
jdstrandelopio: so, I got them all up to date, but it looks like something changed in snappy again without a corresponding mp for the review tools21:55
elopioI see. So update, uncomment, and add test.21:55
jdstrandelopio: I'm happy to do the change in the review tools this time so that they are on good footing, but I want to make sure I understand the change and where it landed21:56
jdstranddepending on the test, a few simple tests aren't going to be enough though21:57
elopiojdstrand: for that part, lets wait for sergiusens.21:57
jdstrandas it happens, if the simple yaml had a 'services' definition, it would have this time21:57
elopiohe had a fight with some chilean popcorn ;)21:57
jdstrandbut we are going to want build tests for all yaml21:58
jdstrandif we want to be sure to avoid this in the future21:58
elopiojdstrand: we should probably add some basic tests in the snappy branch, an extensive suite in click-review, and a way to trigger the click review tests when snappy is updated.21:59
jdstrandbut sure, I'll wait for sergiusens21:59
jdstrandelopio: the review tools has extensive tests itself21:59
jdstrandelopio: the problem is what is being fed to it21:59
jdstrandif snappy build starts outputing something new or different...22:00
jdstrandit seems the right place is to have a collection of simple but exhaustive snaps that click-review can iterate over22:00
jdstrandpersonally, I think that should be in snappy itself or maybe the self tests22:01
jdstrandwell, probably not the self tests, those run on the image22:01
elopiojdstrand: yes, we currently are doing the builds on the image. Is that wrong?22:05
elopioseemed a lot more simple than to split the suite into running some in the testbed and some in the host.22:05
jdstrandelopio: it isn't wrong per se, but I didn't think the review tools would be available on the image (they are python with various python deps)22:18
elopiojdstrand: it works now. I suppose it will break soon.22:19
jdstrandelopio: yes, as soon as the review tools are reenabled22:19
elopiowe are thinking about containers inside the testbed for these cases to make it easier to handle the adt-run calls. We'll have a prototype soon.22:20
jdstrandthat should be fine. install tests in a container won't, but build, sure22:20
elopioa container that can do builds. We add a bunch of yamls and iterate over them. Shouldn't slow the selftests a lot.22:21
elopiowell, a lot more. They are already slow.22:21
rsalveticomfy should help with that22:22
rsalvetionce we get the container in place22:22
rsalvetifor usual builds and such22:22
rsalvetithe same container will also be the bed for snapcraft, so should be good22:22
elopiothe future will solve all our present problems :)22:23
rsalvetithat's true, but comfy should be around the corner22:23
rsalvetijust waiting lool to return from his vacation22:23
elopionow build in the container and install out of the container, I don't know how to handle that case. Federico will probably come with a clever solution.22:24
jcastrois there a generic snappy x86 image that would work on like a NUC or old laptop?22:27
elopiojcastro:  I see you can do:22:34
elopiosudo ubuntu-device-flash --verbose core rolling --channel edge --oem generic-i386 -o snappy.img22:34
elopiobut I haven't tried that.22:34
rsalvetimterry: https://code.launchpad.net/~mterry/snapcraft/debian-packaging/+merge/263937/comments/66194422:41
mterryrsalveti, huh...  i depend on python3, would have expected that to include python3-minimal.  I didn't build in pbuilder though, oddly enough.  will make I pass in that22:43
rsalvetiyeah, it's a bit weird22:48
mterryrsalveti, oh weird, dh_auto_clean tries to do a python2 thing by default (sigh, the world is still unready for py3-only stuff)22:49
Saviqjdstrand, thanks, no, didn't get an answer et22:53
Saviq+y22:53
elopioI'm going to take a break.22:55
elopiorsalveti: let me know if you need me to do something for the RC, and I'll get to it when I get back.22:55
rsalvetielopio: sure, just started a new image build, which should be close to what we want22:57
rsalvetijust missing one more mr from sergiusens and the other change from ogra22:57
rsalvetibut we'll see if we can get to that tomorrow22:57
rsalvetigoing to be off for a few as well, time to grab some dinner22:57
rsalvetibe back later22:57
Saviqjdstrand, so if I understand correctly, this basically means that something in the build process failed?23:04

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