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

carifalmost there with my first simple snap, an "echo" shell script. The script isn't executable in the snap, but is in the "source" directory. is that what 'caps: []' does?02:03
=== chihchun_afk is now known as chihchun
=== erkules_ is now known as erkules
dholbachgood morning06:35
fgimenezgood morning07:14
biezpalHi guys, can anyone help us with libs in .snapp package? Where we should place our libs in snapp package to make it visible for app?07:37
ogra_anywhere you want ... just make sure to point LD_LIBRARY_PATH to it and export it07:38
biezpaland how we can set the variable for all users?07:38
biezpalnow we are doing it manually07:39
ogra_you usually set it in your wrapper script for the binary or service07:41
biezpalalaik, automatically generated wrapper script is stored in /apps/bin/<appname>, but we cannot customize it during snapp installation. Am I right?07:44
biezpalOr we should create our own wrapper script which will be executed by automatically generated wrapper script?07:45
ogra_yes07:46
ogra_(the latter)07:46
ogra_seb128, hmm, did you ever try snappy update on personal ?07:47
* ogra_ gets out of space errors for /system-boot07:47
biezpalthanks07:47
seb128ogra_, yes, remember me reporting those kernel mismatch error some days ago :p07:48
seb128ogra_, let me try with today's image07:48
ogra_i guess u-d-f needs to learn to assign a bigger /boot07:48
ogra_well, my update actually failed, i didnt get to a point where i could even boot into the update07:48
seb128it was working for me yesterday07:49
seb128well "working"07:49
seb128the updated system failed to load modules and booted in debug mode07:49
ogra_right, i remember07:50
seb128but it's weird, /boot shouldn't be bigger on personal than core, should it?07:51
seb128we use the same kernel07:52
ogra_the initrd might be07:52
ogra_hah ... booting with "kvm -m 384 -vga qxl personal_x86.img" works !08:03
ogra_-m 256 sadly doesnt anymore :(08:03
seb128so I've a "snappy update --automatic-reboot" process08:04
seb128is there any way to query it for status?08:04
ogra_not sure, sergiusens would know i guess ... or mvo08:05
seb128mvo is hidding again!08:05
ogra_hmm, i take back the above ... 384MB boots ... but i cant log in08:07
seb128stop asking for more08:07
ogra_(512M works fine though)08:07
seb128ogra_, I'm getting that "no space left on device" as well now08:12
ogra_i think we duplicate kernl and initrd now ...08:12
ogra_with and withoout version in the name ...08:12
ogra_hmm, no, a and b only have a single copy each08:16
biezpalogra_, is there are plans to add something like "LD_LIBRARY_PATH" parameter into meta/package.yml ?08:20
ogra_no, i dont think so ... but we might add a standard path that the launcher defaults to ... (we use <appinstalldir>/lib/<arch> in click packages for example ... ) so you have a place that always works with extra variable hackery08:21
ogra_s/with/without/08:21
biezpalogra_, cool, thx08:22
pittisorry, I forgot: what do I have to downgrade in wily again to make ubuntu-device-flash work?08:42
seb128ogra_, ubuntu-core is having the same upgrade /boot size issue08:42
ogra_yeah, i would have expected so08:43
pitti("panic: cannot double map partitions')08:43
pitti(we've had this for weeks, is it so hard to fix?)08:43
ogra_pitti, i think you should just retry ... iirc Chipaca had the same issue yesterday and it just worked at some point08:43
ogra_IIRC08:43
pittiI remember fgimenez downgraded something and then it worked08:44
seb128pitti, nothing to "downgrade" afaik, I'm using wily standard and not having issues08:44
pittisome *mutter* *mutter* go incompatibility08:44
pittihttp://paste.ubuntu.com/11854764/08:44
Chipacapitti: yes, that's the error we're talking about08:46
pittiand --channel=alpha with rolling doesn't work at all ("Failed to locate latest image information")08:46
seb128pitti, https://bugs.launchpad.net/ubuntu/+source/goget-ubuntu-touch/+bug/1472516 has a mr ready for review, you might want to give the fix a try?08:46
ubottuUbuntu bug 1472516 in goget-ubuntu-touch (Ubuntu) "udf cannot double map partitions error" [Undecided,New]08:46
pittiseb128: ah, thanks for the bug pointer!08:47
seb128yw!08:47
Chipacapitti: AIUI even though the error isn't handled (hence the panic), it is "real" and coming from a race in partx or sth like that08:47
Chipacaand AIUI the fix to the error is to print it prettier08:47
fgimenezpitti, yep, it's already reported, as ogra_ mentioned retrying helps08:47
pittiah, it seems the 7th retry worked08:47
seb128ogra_, so, who need to be nagged about "snappy upgrade" being busted because /boot is too small now?08:48
ogra_seb128, well, i see we only assign 63M in total for that partition ... u-d-f defines the partition sizes i think08:48
ogra_a) we need to get back to normal size again ... b) we should assign more space by default anyway08:49
pittido I need anything else to enable ssh? sshd is running inside, but trying to ssh in just hangs08:49
pitti(I ran with --developer-mode, which should include --enable-ssh)08:50
ogra_it should even copy your key inside08:50
pittiI see the open port in netstat too08:50
pittiah - eth0 is not up08:50
ogra_how long did you wait ... creating the host keys takes a while (cloud-init is pretty slow)08:50
pittithat would do it :)08:50
ogra_ah08:50
ogra_well, there is no eth0 anymore because someone changed the device names :P08:51
pittithere is an eth0 in qemu, it's just not up :)08:51
* pitti runs sudo ifup eth0 for now08:51
ogra_oh ... there should be an entry for it in /e/n/interfaces.d/ then08:51
ogra_wonder why it isnt brought up now ...08:52
pittiogra_, Chipaca: thanks for your help! enough to test the updated autopkgtest snappy script08:52
ogra_Chipaca, ^^ i guess we need to re-visit the NIC changes08:52
* Chipaca reads08:52
ogra_(the configuration is created fine on boot apparently ... but the interface isnt brought up)08:53
Chipacavery odd08:53
pittiperhaps it's created too late?08:54
pittii. e. after /etc/init.d/networking already run, respectively after eth0 was already detected and thus ifup@eth0.service triggeerd?08:55
pittithen these need to be restarted08:55
Chipacapitti: perhaps09:05
Chipacain which case we need to move firstboot way up :)09:06
pittiChipaca: note that allow-hotplug gets triggered via udev rules, so it'll run fairly early after udev trigger09:07
pittiChipaca: probably better to just restart ifup@ after you wrote the file09:07
Chipacapitti: but we can't restart a service from inside a service09:08
Chipacait deadlocks09:08
pittiChipaca: you can, with --no-block09:08
pittiChipaca: you can also do it more indirectly, with udevadm trigger --sysname-match=eth009:09
pitti(or whatever the interface name is)09:09
pittithat pretends eth* was "re-hotplugged", and you don't need to know the precise mechanics how it's brought up09:09
JamesTaitGood morning all; happy Friday, and happy Don’t Step On A Bee Day! 😃09:14
ogra_save the bees !!09:14
ogra_(and the bumblebees too)09:15
=== vrruiz_ is now known as rvr
seb128ogra_, so, who is to nag about snappy update being busted?09:32
seb128Chipaca? sergiusens? mvo?09:32
ogra_seb128, sergiusens i think09:33
Chipacawho shouldn't be here today09:34
Chipacaas it's a national holiday for him09:34
ogra_Chipaca, wasnt that yesterday ?09:36
Chipacaogra_: yes, but the president got bored or something09:37
ogra_or did he take a bridge holiday09:37
ogra_ah09:37
Chipacadeclared it a bridge09:37
* ogra_ gets ready for dentist ... back later ... 09:37
Chipacaglad she chose that, as the other button was "declare war"09:37
sergiusensogra_: seb128 Chipaca I am here today, but I've been playing fix the image for a week now, time to pass it on to someone else in the team10:47
sergiusensChipaca: it's not a bridge10:47
Chipacasergiusens: my sources have lied to me!10:48
* Chipaca has them all go on reddit and bash kittens10:48
sergiusensChipaca: http://www.mininterior.gov.ar/tramitesyservicios/feriados.php10:52
sergiusensChipaca: or en.ar#holiday@group.v.calendar.google.com)10:52
* Chipaca tries to decide whether continuing to be wrong would be more o rless fun than being correct10:53
ogra_sergiusens, well, i have no clue how the partitioning is done ... but 63M is definitely not enough for three kernels and three initrds on x86/amd6411:29
* ogra_ is happy to take over parts of the image indeed11:30
ogra_>(but thats u-d-f which is a black hole for me)11:30
sergiusensogra_: 63M11:34
sergiusensogra_: supposed to be 512M11:35
sergiusensogra_: and I'm not sure what you are talking about11:35
ogra_hmm, df shows 6311:35
sergiusensogra_: oh, right, blame lool11:35
sergiusensogra_: why are there 3 kernels?11:35
sergiusensshould only be 211:35
ogra_sergiusens, amd64 core and personal fail snppy update with an out of space error when copying the kernel to /boot11:36
ogra_there is one in /boot from the rootfs still11:36
ogra_(which we should get rid of, but didnt yet apparently)11:36
ogra_so you have three kernels and initrds11:36
sergiusensogra_: /boot is part of system-a/b11:37
sergiusensogra_: /boot/u-boot, /boot/grub and /boot-efi are mounted for system-boot11:37
sergiusensogra_: and I thought my MP did get rid of the extra kernels fwiw11:38
ogra_right, /boot/efi is 63M for me here11:38
sergiusensogra_: right, it is 64M (give or take for alignment), blame lool ;-)11:38
ogra_i'm currentl ylooking at personbal ... might be that this doesnt have the MP yet11:38
* ogra_ blames lool in absence11:39
sergiusensogra_: well it's the one you merged ;-)11:39
ogra_sergiusens, seb128 only merged it yesterday for personal11:39
sergiusensogra_: the first red in https://code.launchpad.net/~sergiusens/livecd-rootfs/snappyDevicePart/+merge/26415811:39
ogra_since it had a bunch of issues i fixed in core first (quoting)11:39
sergiusensogra_: but that does not come into play for system-boot at all11:39
ogra_right, only for /boot11:40
* davmor2 blames that ogra_ bloke bound to be his fault somewhere along the lines11:40
sergiusensogra_: yeah, your code review was terrible ;-) just proving how shell scripting can go ;-)11:40
seb128ogra_, sergiusens, ubuntu-core has the same issue, I download core 98 and did a "snappy update" before lunch and it failed the same way11:40
ogra_sergiusens, well, i fixed it at least :P11:41
sergiusensseb128: it was 512M before and I was told to lower it to 64, I don't mind making it 512 again11:41
ogra_yeah, lets do that again11:41
seb128smaller is better11:41
ogra_who knows what people come up with and add to their initrd on custom images :)11:41
seb128ideally personal would fit on a 8G stick11:41
seb128but otherwise I've no strong opinion11:42
ogra_8G ?11:42
ogra_i would say 4 ;)11:42
seb128the personal image doesn't fit on a 8Gb stick11:42
seb128ogra_, even better11:42
sergiusensseb128: btw, I did your s/ubuntu-core/ubuntu-personal/ thing, but this will play in negatively with the oem snaps, you might need to roll your own due to snappy config ubuntu-core11:42
seb128but today it's 10Gb11:42
ogra_(without libreoffice and thunderbird though :) )11:42
seb128sergiusens, oh, ok11:42
seb128ogra_, 4 is a bit short with system-a/b for a full desktop11:43
ogra_seb128, currently the booted personal image uses 2.3G writable space ...11:43
seb128why is our image take 10Gb then?11:43
ogra_system-a|b dupplicates that11:43
ogra_and you want some wiggle room11:43
seb128right, but 2.3*2=4.611:44
seb128+ boot = 64M atm11:44
seb128+ writable11:44
ogra_right, 6 should be fine ... and i think we can slim it down a bit still11:44
seb128we should be able to do e.g a 6G11:44
seb128well, before sergiusens merged his changed with the 10G size, I tried to build with the size specified to 8 and it failed for some reason11:44
seb128I never debugged by it wanted more that 8 though11:45
ogra_anyway, i would at least go with 128M for /boot11:45
sergiusensseb128: ogra_ I chose 10 just to get started, we can lower that as soon as you have the right package set stabilized a bit11:45
seb128sergiusens, well, when you picked 10 I tried 8 locally because that's what I had as usb  stick, but it failed for some reason11:46
seb128so it seemed it wanted > 8G11:46
seb128ogra_, right11:46
ogra_seb128, we were recently discussing making the writable part realyl tiny in the img and then just expand it to full disk on first boot11:46
sergiusensseb128: yeah, the min required size is enforced so people don't have the disk full issue when creating images11:46
ogra_that should make everyhting way more flexible11:47
ogra_(and give you a way snaller image)11:47
sergiusensseb128: https://code.launchpad.net/~sergiusens/snappy/rollYourOwnCorePersonal/+merge/26440511:48
seb128sergiusens, should that maybe be discussed on the list? I think it is useful, would it only to let people know about the change11:52
* ogra_ grumbles about the anesthesia not wearing off today ... annoying12:20
=== chihchun is now known as chihchun_afk
sergiusensChipaca: did you get a chance to review the u-d-f MP?12:35
Chipacasergiusens: url?12:38
sergiusensChipaca: https://code.launchpad.net/~sergiusens/goget-ubuntu-touch/unmapErr/+merge/26425012:39
Chipacayes, i had12:40
Chipacaand now i told launchpad about it and all12:40
sergiusensChipaca: that makes things better :)12:40
rsalvetisergiusens: is that just to help exposing the error or actually fixing it?13:17
rsalvetiogra_: sergiusens: do we want to remove the duplicated kernel from stable still?13:18
rsalvetisergiusens: moved the meeting to tuesday since we had conflicts on monday13:21
rsalvetimterry: what do we need to change regarding tarmac to land the snapcraft branches?13:24
mterryrsalveti, sergiusens: add ppa:hardware-certification/public to our tarmac machine13:25
ogra_rsalveti, not sure, i wonder what the risk is13:36
ogra_(the change would just be two rm's indeed)13:36
rsalvetiogra_: if it's fine to not fix it now, it's also ok13:37
rsalvetibut would the kernel always be there after we fix and update?13:37
ogra_it should be handled like a normal file by s-i13:37
ogra_so if it goes away in the image it should go away on disk13:37
rsalvetiyeah13:38
rsalvetifgimenez: any other issue with the image?13:40
rsalvetifgimenez: https://bugs.launchpad.net/snappy/+bug/1473014 should be fixed with latest13:42
ubottuUbuntu bug 1473014 in Snappy "waagent related systemd-fstab-generator error" [High,Fix committed]13:42
rsalvetihm, created latest kvm image, did control+c on qemu after it booted completely, trying to boot again but I can't login now13:49
rsalvetiand ssh is not giving me the login prompt either13:49
ogra_lovely :/13:50
rsalvetiand boot took longer as well13:50
rsalvetithis is with 15.04/edge13:50
sergiusensmterry: rsalveti k13:51
sergiusensrsalveti: ogra_ it doesn't really matter to ship those kernels13:51
ogra_sergiusens, rsalveti, hmm, though i wonder if elopio's second fake upgrade issue could be related to a full vfat on the BBB13:52
rsalvetiJul 10 13:50:09 localhost login[656]: FAILED LOGIN (1) on '/dev/tty1' FOR 'UNKNOWN', User not known to the underlying authentication module13:53
rsalvetiuser ubuntu unknown13:53
ogra_ugh13:53
sergiusensogra_: rsalveti fwiw https://code.launchpad.net/~sergiusens/goget-ubuntu-touch/biggerPartition/+merge/26442113:54
rsalvetiJul 10 13:49:36 localhost systemd[1]: Failed to start Login Service.13:54
rsalvetithat is why13:54
ogra_sergiusens, will that automatically adjust the other sizes ?13:54
ogra_rsalveti, yeah, but why :P13:55
sergiusensbut that makes our 4GiB images look like 512MB(system-boot), 1Gib (system-a/b), 512MB (writable)13:55
rsalvetiogra_: my boot log http://paste.ubuntu.com/11856027/13:55
sergiusensogra_: yes, it adapts everything else13:55
ogra_sergiusens, 128M would suffice i guess13:55
sergiusensogra_: that's what people said about 64 ;-)13:55
rsalveti512 is a bit too much, isn't it?13:56
rsalvetiand why are we changing?13:56
rsalvetisorry, no context13:56
sergiusensogra_: give me numbers!13:56
sergiusensrsalveti: because ogra_ said so :-P13:56
ogra_well, people were at least cleverer than bill gates then ... he said 640k is enough ;)13:56
sergiusensrsalveti: ogra_ fwiw, 512 is the recommended size to hold grub stuff from cjwatson13:56
ogra_rsalveti, rolling has an issue with upgrading on core and personal13:56
ogra_rsalveti, fails with ENOSPC on /boot13:57
ogra_Jul 10 13:48:24 localhost cloud-init[605]: 2015-07-10 13:48:23,808 - cc_growpart.py[DEBUG]: '/' FAILED: failed to resize: disk=/dev/sda, ptnum=3: Unexpected error while running command.13:58
ogra_Jul 10 13:48:24 localhost cloud-init[605]: Command: ['growpart', '--dry-run', '/dev/sda', '3']13:58
ogra_whats that ?13:58
ogra_rsalveti, smells to me like we run cloud-init in some werd mode13:58
ogra_*weird13:58
rsalvetiyeah, no idea13:59
rsalvetiJul 10 13:48:21 localhost systemd[1]: ubuntu-snappy.boot-ok.service: main process exited, code=exited, status=1/FAILURE13:59
rsalvetiJul 10 13:48:21 localhost systemd[1]: Failed to start Notify bootloader that boot was successful.13:59
rsalvetiJul 10 13:48:21 localhost systemd[1]: Unit ubuntu-snappy.boot-ok.service entered failed state.13:59
rsalvetiJul 10 13:48:21 localhost systemd[1]: ubuntu-snappy.boot-ok.service failed.13:59
rsalvetiwow, why?13:59
ogra_you dont have any network device13:59
rsalvetiJul 10 13:48:21 localhost snappy[554]: invalid package on system13:59
sergiusensrsalveti: what system is this?13:59
rsalvetisergiusens: 15.04/edge, created latest with kvm, booted, hit control+c, started again14:00
rsalvetiand now can't even login anymore14:00
sergiusensrsalveti: invalid package on system means you have a package with a . in it when it's no supposed to14:00
rsalvetithis is just the base system + webdm14:00
rsalvetididn't change anything, was my second boot14:00
sergiusensrsalveti: created just now?14:00
rsalvetisergiusens: yes14:00
sergiusensrsalveti: no update happened?14:00
rsalvetisergiusens: nops, was latest already14:00
sergiusensrsalveti: command run so I can run14:01
ogra_rsalveti, hmm, works fine here14:01
ogra_sudo ubuntu-device-flash core --channel edge -o snappy_core_x86.img --developer-mode 15.0414:01
rsalvetisudo ubuntu-device-flash core 15.04 --channel edge --oem generic-amd64 --install=webdm --enable-ssh --output ubuntu-15.04-snappy-amd64-generic.img14:01
ogra_boots even in seconds14:01
rsalvetigot image 12114:01
sergiusensrsalveti: fwiw, you don't need to specify  --oem generic-amd64 ;-)14:01
ogra_yep, same here14:01
ogra_(imagenumber)14:01
ogra_let me try with installing webdm14:02
rsalvetisergiusens: I know, this is because I was creating the released images, and wanted to be explicit in my script14:02
sergiusensrsalveti: that's fine14:02
ogra_rsalveti, with webdm boots fine too14:04
rsalvetiogra_: right, it seems to be a fs corruption issue or something along that line14:06
rsalvetican't reproduce every time14:06
fgimenezrsalveti, no new issues on my side, the upgrade from 106 (kernel 3.19.0-21) to 122 (kernel 3.19.0-22) went fine on bbb http://paste.ubuntu.com/11855291/14:06
ogra_i use the udf with personal enabled ... 0.26-0ubuntu114:06
ogra_do you use an older one ?14:07
fgimenezrsalveti, i've been hitting the space problem on rolling http://paste.ubuntu.com/11855475/14:07
rsalvetifgimenez: great14:07
rsalvetiright14:07
ogra_aha, so it affects arm too14:07
sergiusensrsalveti: works fine here too14:08
elopiogood morning14:08
fgimenezhi elopio14:09
rsalvetisergiusens: yup, as I said, I can't always reproduce it either14:09
rsalvetihttps://bugs.launchpad.net/snappy/+bug/147346514:09
ubottuUbuntu bug 1473465 in Snappy "kvm/generic-amd64: system got in a broken state in the second boot" [Undecided,New]14:09
ogra_rsalveti, bah, seems it hit it as well now14:10
rsalvetiogra_: \o/14:11
ogra_rsalveti, bah, seems it hit it as well now14:13
ogra_bah14:13
ogra_EFOCUS14:13
rsalvetihahah14:13
sergiusensogra_: rsalveti second boot? So if I reboot reboot reboot I eventually hit it?14:13
rsalvetisergiusens: complete first boot then control + c on your kvm console14:13
rsalvetithen start it again14:14
ogra_sergiusens, my first boot was fine ... not sure it was the second ... but now i cant get in at all anymore14:14
sergiusensogra_: rsalveti get in meaning log in?14:14
ogra_yes14:14
sergiusensogra_: ssh or console?14:14
ogra_login incorrect on all consoles14:14
ogra_tty and serial in kvm14:15
sergiusensmeh, I've rebooted 10 times already14:15
ogra_cloud-init suddenly seems to write a lot of files14:15
ogra_i dont think i have seen that before14:15
sergiusensogra_: rsalveti mount the writable partition and run 'find [mountpath] -ls' and pastebin for me14:16
sergiusensogra_: rsalveti the growpart will surely break things I guess14:16
ogra_yeah, i think we hit a stramge cloud-init mode14:16
ogra_rsalveti, what was the dir you made writable ?14:17
rsalvetiogra_: waagent14:17
rsalvetibut that is just for azure14:17
sergiusensrsalveti: there is no waagent anymore14:17
rsalveti/var/lib/waagent14:17
sergiusensrsalveti: it's all in cloud-init now14:17
rsalvetisergiusens: right, but it still uses that dir14:17
ogra_ah, not /var/lib/cloud14:17
sergiusensthe logic14:17
ogra_k14:17
rsalvetithat was for cloud-init14:17
rsalvetisergiusens: http://paste.ubuntu.com/11856151/14:20
ogra_sergiusens, http://paste.ubuntu.com/11856150/14:20
ogra_hah ! i beat you by 114:21
rsalvetinot here :P14:21
sergiusensyeah, rsalveti's showed first here, but ogra ran it faster :-P14:21
rsalvetiI'm uploading the image as well14:22
rsalvetithat will take a few minutes14:22
sergiusensogra_: rsalveti now "find [mountpath] -name 'package.yaml' -exec cat {} \; "14:23
rsalvetinothing14:23
rsalvetiguess the syntax is wrong14:23
ogra_same14:23
sergiusensrsalveti: maybe :-P14:23
sergiusensmnt/system-data/apps/webdm/0.9/meta/package.yaml14:23
ogra_ogra@anubis:~/datengrab/images$ sudo find mnt/ -name 'package.yaml'14:24
ogra_mnt/system-data/apps/webdm/0.9/meta/package.yaml14:24
ogra_mnt/system-data/oem/generic-amd64/1.4/meta/package.yaml14:24
sergiusensand mnt/system-data/oem/generic-amd64/1.4/meta/package.yaml14:24
sergiusensogra_: rsalveti14:24
sergiusensoh14:24
sergiusensI see14:24
sergiusenssize 0!14:24
sergiusensogra_: rsalveti it's empty!!!14:24
rsalvetiyup, size 014:24
sergiusensrsalveti: everything is empty (checks paste again)14:25
sergiusensrsalveti: ogra_ some process did something nasty14:25
rsalvetieverything is empty14:25
rsalvetilol14:25
rsalvetifuck14:25
rsalvetilol14:25
ogra_yeah14:25
ogra_the prowpart thing from cloud-init i bet14:25
sergiusenswe can blame cloud-init and that growpart14:25
ogra_*grow14:25
sergiusensit's a cloud-init-utils14:25
rsalvetiwe have a suicidal process around14:25
rsalvetinot everything in the partition is 0 size14:26
rsalvetiactually no14:27
rsalvetieverything is 0, the stuff that is not 0 is because of my other boot14:28
sergiusensrsalveti: directories have sizes different than 0?14:28
rsalvetimostly logs14:28
sergiusensrsalveti: and boots14:28
rsalvetietc/dbus-1/system.d all 0 as well, which explains why systemd is complaining14:28
sergiusensrsalveti: well given that system-data is made out of copies from system-a which is partition 3  which is what growpart wants to play with, I don't think this is surprising14:32
rsalvetiright, do we know why it decided to play with that partition?14:33
rsalvetiand why didn't this affect first boot14:33
rsalvetiand why it works sometimes?14:33
rsalveti:-)14:33
sergiusensrsalveti: why would growpart run anyways? that's cloud-init world14:33
rsalvetisergiusens: I ask you the same question :P14:36
sergiusensrsalveti: darn, I'm always hand picked for debugging :P14:36
ogra_i dont see all that cloud-init output when removing waagent from writable paths and emptying system-data14:36
rsalvetiJul 10 13:48:24 localhost cloud-init[605]: 2015-07-10 13:48:23,777 - cc_growpart.py[DEBUG]: No 'growpart' entry in cfg.  Using default: {'mode': 'auto', 'ignore_growroot_disabled': False, 'devices': ['/']}14:37
rsalvetiJul 10 13:48:24 localhost cloud-init[605]: 2015-07-10 13:48:23,809 - cc_resizefs.py[DEBUG]: resize_info: dev=/dev/sda3 mnt_point=/ path=/14:38
rsalvetigrowpart actually failed14:38
ogra_but it tried to run ...14:38
rsalvetiresizing went fine14:38
sergiusensrsalveti: ogra_ we can probably be safe from this if we write a cfg in /etc/cloud/... where we remove growpart's '/' option14:38
ogra_failed perhps because it was mounted14:38
rsalvetibut also something we shouldn't be running14:38
ogra_sergiusens, well14:39
ogra_sergiusens, how did it get ther ein the first place14:39
rsalvetiwe need to understand why this is even required14:39
ogra_yes14:39
rsalvetimaybe utlemming can give us a hand here14:39
ogra_it wasnt on yesterdays image14:39
ogra_i booted that a bunch of times14:39
sergiusensogra_: SRU ;-)14:39
rsalvetithe waagent change I did was earlier in the week14:39
rsalvetiright, unless cloud-init itself changed14:39
rsalvetibut it works sometimes14:40
sergiusensrsalveti: I don't think is related to waagent14:40
sergiusensat all14:40
rsalvetiyeah14:40
sergiusenscompletely orthogonal14:40
rsalvetithat would only make a difference for azure14:40
ogra_rsalveti, clud-init didnt change in the iage14:40
ogra_*image14:40
ogra_according to the manifest14:41
sergiusensrsalveti: not only that, it would only make a difference if we didn't provide a seed which we do14:41
sergiusensogra_: this might have been there for a few weeks and you guys seeing, I haven't seen it yet14:41
ogra_sergiusens, well, yesterday i definitely booted the same image several times14:42
rsalvetiright, I believe it was always there14:42
ogra_now even a fresh image only works once14:42
sergiusensogra_: rsalveti we should just add a config with growpart/mode: false14:42
sergiusensogra_: rsalveti or in ubuntu-core-config -> touch /etc/growroot-disabled14:43
sergiusensor growpart/devices: "" in the config14:44
sergiusensdefault is '/'14:44
rsalvetiyeah, that looks better14:44
rsalveti#   if the file /etc/growroot-disabled exists, then cloud-init will not grow14:44
rsalveti#   the root partition.  This is to allow a single file to disable both14:44
rsalveti#   cloud-initramfs-growroot and cloud-init's growroot support.14:44
* ogra_ still doesnt feel comfortable not knowing where that came from14:44
sergiusensogra_: it comes from cloud-init14:44
* sergiusens is reading the sources14:45
ogra_sergiusens, i know where it comes from14:45
ogra_how could that sneak into our image14:45
sergiusensogra_: then I don't understand "ogra_ still doesnt feel comfortable not knowing where that came from14:45
sergiusenslolz14:45
ogra_especially on a stable channel14:45
ogra_yeah, badly phrased :)14:45
jdstranddholbach: hey, I think there is a problem on the documentation site14:46
sergiusensogra_: well, it's super hard to diff packages14:46
* ogra_ sets up a changelo diff script 14:46
* sergiusens wants an all source build system14:46
jdstranddholbach: https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/ doesn't seem to be talking about the correct thing14:46
ogra_naaah14:46
sergiusensogra_: well, that does not give me the diff of the orig tarballs which is what I want14:46
ogra_sergiusens, i want to see if a new clud-init version silently landed in the rootfs14:46
ogra_(for example)14:47
jdstranddholbach: it doesn't describe the FHS at all, but instead how updates are applied14:47
sergiusensogra_: it didn't silently land, it was SRUd14:47
ogra_without any testing on snappy ?14:47
jdstranddholbach: it used to be another document I think (I'm not sure)14:47
rsalvetiJul 10 14:45:00 localhost [CLOUDINIT] stages.py[DEBUG]: Running module growpart (<module 'cloudinit.config.cc_growpart' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_growpart.py'>) with frequency always14:47
rsalvetiJul 10 14:45:00 localhost [CLOUDINIT] helpers.py[DEBUG]: Running config-growpart using lock (<cloudinit.helpers.DummyLock object at 0x7fb5149843c8>)14:47
rsalvetiJul 10 14:45:00 localhost [CLOUDINIT] cc_growpart.py[DEBUG]: growpart disabled: mode=False14:47
ogra_i guess we need to add that to the SRU reqs14:47
sergiusensogra_: not sure, and growroot might have always been there14:47
rsalvetiJul 10 14:45:00 localhost [CLOUDINIT] cc_resizefs.py[DEBUG]: Skipping module named resizefs, resizing disabled14:47
rsalvetion first boot14:47
rsalvetiit didn't run14:47
dholbachjdstrand: I think that's an issue in https://bazaar.launchpad.net/~snappy-dev/snappy/snappy/view/head:/docs/system-updates.rst then14:47
ogra_sergiusens, but hasnt been enabled14:47
rsalvetialso didn't run now during my second boot14:48
rsalvetiogra_: sergiusens: so it's not always running14:48
sergiusensdholbach: I thought we were not supposed to use trunk for the stable documentation14:49
sergiusensdholbach: but lp:snappy/15.04 /docs14:49
dholbachsergiusens, sorry, wrong branch14:49
dholbachsergiusens, I doubt the file has changed since then14:49
ogra_http://launchpadlibrarian.net/208620766/cloud-init_0.7.7~bzr1091-0ubuntu2_0.7.7~bzr1091-0ubuntu3.diff.gz14:49
dholbachhttps://bazaar.launchpad.net/~snappy-dev/snappy/15.04/view/head:/docs/system-updates.rst14:49
dholbachjdstrand: ^ sorry, wrong branch earlier14:50
jdstrandI just filed bug #1473478 for this14:50
nothalBug #1473478: snappy/guides/filesystem-layout/ no longer describes the FHS in detail <Ubuntu Developer Portal:New> <http://launchpad.net/bugs/1473478>14:50
ubottubug 1473478 in Ubuntu Developer Portal "snappy/guides/filesystem-layout/ no longer describes the FHS in detail" [Undecided,New] https://launchpad.net/bugs/147347814:50
rsalvetisergiusens: ogra_: the interesting piece: http://paste.ubuntu.com/11856263/14:50
dholbachthanks jdstrand14:50
rsalvetithere is already a config disabling it14:50
rsalvetinow why did it run? nobody knows yet14:51
sergiusensrsalveti: ogra_ might be related to making /etc/cloud/cloud.cfg.d a writable path and a race there14:51
rsalvetihm, that's a writable space14:51
rsalvetiright14:52
rsalvetithe broken image http://people.canonical.com/~rsalveti/ubuntu-15.04-snappy-amd64-generic-broken.img.xz14:52
rsalvetisergiusens: if you want to take a look14:52
sergiusensalthough writable paths are computed before anything else14:52
rsalvetiyup, initrd14:53
sergiusensrsalveti: the only way for writable to be setup is for it run from initrd14:53
sergiusensogra_: which begs the question, was the SRUd kernel+new init tested with snappy ;-)14:53
ogra_sergiusens, why initrd ?14:54
ogra_nothing should have changed there14:54
sergiusensrsalveti: so the initial copy went bad, cloud-init ran with its "default" config as all those file were empty14:54
sergiusensthat settles it14:54
rsalvetiright, growroot running is just a consequence14:55
sergiusensso the component that copies with the 'transition' rule is doing something bad14:55
rsalvetibut, having such an important config as part of a writable space is dangerous14:55
rsalvetinot sure if the copy was broken14:56
rsalveticontrol + c, might be that the fs was just corrupted14:56
sergiusenscontrol + c?14:57
rsalvetion kvm14:57
rsalvetiif I call sudo reboot it always works14:57
rsalvetithe bug I got was when aborting kvm with a running system14:57
ogra_rsalveti, could your wait-for-root change trigger any races in the transition copying ?14:57
rsalvetiogra_: don't think so14:58
ogra_the PPA diff is a joke https://launchpadlibrarian.net/209263590/initramfs-tools-ubuntu-core_0.7.7~ppa1_0.7.7~ppa2.diff.gz14:58
rsalvetihow are we mounting the writable dir?14:58
ogra_i assume you didnt only quieten the output there, right ?14:58
ogra_rsalveti, systemd shoudl parse fstab14:58
ogra_(which we feed from initramfs )14:58
rsalvetiogra_: that was the second upload, since wait-for-root was printing the fs format14:59
ogra_rsalveti, right, thats what i mean ... PPA diffs are the moste useless thing14:59
ogra_*most14:59
rsalveti/dev/sda5 on /writable type ext4 (rw,relatime,discard,data=ordered)14:59
ogra_sounds fine14:59
rsalvetiyeah14:59
jdstrandrsalveti: fyi, bug #1473478 - dholbach says it is an issues in the snappy docs. I think it is a critical issue for devs15:00
nothalBug #1473478: snappy/guides/filesystem-layout/ no longer describes the FHS in detail <Ubuntu Developer Portal:New> <Snappy:New> <http://launchpad.net/bugs/1473478>15:00
ubottubug 1473478 in Snappy "snappy/guides/filesystem-layout/ no longer describes the FHS in detail" [Undecided,New] https://launchpad.net/bugs/147347815:00
mattywhey folks, my snap is producing the following error when I run it - fork/exec /usr/bin/ssh: operation not permitted. Can't quite work out what I should be adding to the seccomp stuff, seems like I might not even be allowed?15:00
mattywsergiusens, do you know the answer ^^ ?15:02
sergiusensmattyw: that's not seccomp, that's apparmor; dmesg|grep DEN15:03
mattywsergiusens, any idea what should I be putting in apparmor?15:05
sergiusensjdstrand: I don't understand the 'no longer' part as we haven't been updating the docs in lp:snappy/15.04 for this to be consumed incorrectly15:05
sergiusensmattyw: you need to go deeper into the apparmor world, jdstrand can help, you can start out by looking at the one in webdm15:06
jdstrandsergiusens: there used to be a doc that had a table of /apps, /var/lib/apps, /home, etc that described all the FHS bits. that doc used to be at https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/. What is in https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/ now seems a totally different doc15:06
sergiusensjdstrand: right, I don't see how a document explaining how updates work are the culprit for this...15:07
jdstrandsergiusens: actually, can we recommend looking at the one in hello-dbus-fwk going forward instead? webdm is a huge exception with its policy and lack of seccomp15:08
jdstrandmattyw: ^15:08
rsalvetisergiusens: ogra_: so the image only breaks if you hit control + c after the first boot15:08
sergiusensjdstrand: sure, but mattyw wants to exec ssh and on second though, he may need to provide it in his snap instead15:08
ogra_hmpf15:08
rsalvetibecause the fs gets corrupted15:08
ogra_ext4 should still recover15:08
sergiusensrsalveti: oh, ctrl+c from the terminal running kvm you mean?15:09
jdstrandsergiusens: no, I get that. what I am saying is the hello-dbus-fwk has security-policy that is better for people to model their stuff on than webdm. that is all15:09
rsalvetisergiusens: yes15:09
sergiusensjdstrand: sure, I'll recommend that, but typing webdm is faster than hello-dbus-fwk :-P15:09
jdstrandhttp://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-examples/files/head:/hello-dbus/package-dir-fwk/15:09
jdstrandsergiusens: yes, but I was just in an hour meeting talking to people about how their policy is far too lenient because they used webdm as a template :P15:10
jdstrandto be fair, the whole meeting wasn't on that15:10
davidcallejdstrand, about https://bugs.launchpad.net/developer-ubuntu-com/+bug/147347815:11
ubottuUbuntu bug 1473478 in Snappy "snappy/guides/filesystem-layout/ no longer describes the FHS in detail" [Undecided,New]15:11
jdstrandsergiusens: re the docs site, I don't claim to know where the problem lies, I only know there is a problem15:11
davidcallejdstrand, are you looking at the page in "live" or "draft" mode?15:11
jdstranddavidcalle: I just went to https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/. I am not logged in15:12
jdstrandI think the mapping is wrong15:12
jdstrandie, the url is https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/15:12
davidcallejdstrand, ok, then the fix needs to happen here https://bazaar.launchpad.net/~snappy-dev/snappy/15.04/view/head:/docs/system-updates.rst (afair, the doc has barely changed over time)15:13
jdstrandbut the title is 'Snappy Transactional System Updates'15:13
jdstrandie, it is just not the correct subject15:13
elopiofgimenez: (amd64)ubuntu@localhost:~$ which dpkg-query15:13
elopio/usr/bin/dpkg-query15:13
elopiothat's 15.0415:13
elopio(amd64)ubuntu@localhost:~$ which dpkg-query15:13
elopio(amd64)ubuntu@localhost:~$15:13
jdstranddavidcalle: why does system-updates.rst refer to filesystem-layout?15:13
elopiothat's rolling.15:13
jdstrandthose are different topics15:13
fgimenezelopio, yes, makes sense15:14
davidcallejdstrand, that's also the only doc talking about the layout15:14
jdstranddavidcalle: well, here is further proof of what I am saying15:14
jdstranddavidcalle: 'system-updates.rst' refers to https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/ for more info15:14
jdstrandat the bottom15:14
jdstrandsomething went wrong15:14
jdstrandlook in section 1015:15
davidcallejdstrand, oh... ok. I don't think that's a doc regression, though, as I don't remember anything else about the fs. But yes, we need a proper fs doc.15:16
davidcalle(otp, brb)15:16
jdstranddavidcalle: I promise you it is a regression. I refer to that doc all the time15:16
jdstrandI refer to it in the security.md15:17
jdstrandprecisely because it used to go into the FHS in detail15:17
* jdstrand attempts a google cache to prove15:17
sergiusensjdstrand: the title and the .rst pointed to correlate to me; the paritioning thing came from a google doc afaik15:18
jdstrandbut clearly, even system-updates.rst expects this to gbe a different document-- it is referencing it in rreferences15:18
jdstrandsergiusens: ok, then can someone put the partitioning bits back?15:19
jdstrandie, update system-updates.rst15:19
jdstrandreally, I don't care-- either https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/ needs to get the info back or a new page needs to be written and everything needs to be updated to refer to it. the former is easier by far15:20
jdstrandgoogle cache is already updated15:20
sergiusensjdstrand: https://docs.google.com/document/d/1NdBgQXfuJWBOYT-iceTgagavE2r44dUs822gfAM9Srw/edit15:21
sergiusensjdstrand: I think the doc huys just imported the wrong docs15:21
jdstranddavidcalle: ^15:22
rsalvetisergiusens: ogra_: I think it's the same fs corruption issue we had with touch15:22
jdstrandyes!15:22
rsalvetiwhich made us change from data=ordered to data=journal15:22
jdstrandthat is the page I was referring to15:22
sergiusensjdstrand: I updated the bug report15:22
jdstrandthanks15:23
sergiusensnp15:23
sergiusensrsalveti: change it then ;-)15:23
rsalvetiogra_: sergiusens: I think we should probably do the same with snappy15:23
rsalvetiright15:23
* jdstrand notes that dpm said "Content now published on http://developer.ubuntu.com/snappy/filesystem-layout/" in a comment in that google doc :) I knew I wasn't crazy15:23
ogra_rsalveti, yeah15:23
jdstranddavidcalle: this is what it used to be: http://web.archive.org/web/20150122213306/https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/15:24
jdstranddavidcalle: web.archive.org had the new cache around June 10th15:25
sergiusensmterry: http://paste.ubuntu.com/11856443/15:25
* mterry hugs sergiusens15:26
ogra_hmm why does sudo halt not kill my kvm15:26
ogra_rsalveti, hmm, so after halting the system properly on first boot it doesnt fall over anymore if i ctrl-c15:29
jdstrandbeuno: what does "Move to waiting for updates queue" do in the store? is that the correct thing to do if they need to perform an update before acceptance?15:29
ogra_i cant get into the broken state15:29
rsalvetiogra_: that's because the writable data is already there15:29
beunojdstrand, it's to dismisss something from the queue until they reply or upload15:29
rsalvetiogra_: it's a first boot thing as it's when the writable data gets copied over15:30
beunoso I think, yes15:30
beunoif you ask for more info15:30
beunoit does that as well15:30
ogra_rsalveti, yes, but i think we dont need to change the mount options but call sync a few times in the right place15:30
beunoso it's more to do that, without having to write something becuase you've already communiuated15:30
jdstrandbeuno: great, thanks!15:30
rsalvetiogra_: journal is a safe option, and also good since we can avoid the same apparmor issues we had15:31
rsalvetiwith phone15:31
ogra_rsalveti, the initrd script mouonts /writable and copies the stuff ... but never unmounts or syncs15:31
rsalvetiogra_: because it stays there15:31
rsalvetifor the bind mounts15:31
ogra_so the partition content stays in cache15:31
ogra_and then you ctrl-c15:31
ogra_so simply adding a sync call at the end of the copying to flush the cache on boot already should save us15:32
rsalvetiright, a sync would already help, but I think journal is still a better option15:32
rsalvetito avoid general writable space corruption issues15:32
ogra_yes, we should do that, but will it be enough (will it write synced then  ?)15:33
rsalvetiogra_: I think so, it gets to the journal first15:34
rsalvetiwe can try15:34
ogra_i suspect even with the mount option set you wont flush the cache in time15:34
rsalvetilet me upload the change15:34
ogra_+115:34
sergiusensrsalveti: ogra_ just do both15:41
rsalvetisergiusens: don't think we need sync with journal15:41
rsalvetibut yeah, already uploaded just with journal15:41
rsalvetiwill test once the new image is out15:41
ogra_right, lets test that first15:41
ogra_a sync after copy makes sense in any case though ... but if journal helps for this image thats enough15:42
davidcallejdstrand, can you confirm that doc is still valid with latest 15.04?15:42
rsalvetisergiusens: don't know if you replied, but for https://bugs.launchpad.net/ubuntu/+source/goget-ubuntu-touch/+bug/1472516 we still need a fix, right?15:45
ubottuUbuntu bug 1472516 in goget-ubuntu-touch (Ubuntu) "udf cannot double map partitions error" [Undecided,Confirmed]15:45
ogra_some poeople did hit it the last two-three days in here15:45
rsalvetiyeah, I'm expecting a lot of people getting that bug once we promote it to tools15:46
ogra_merged 3h ao :)15:46
ogra_*ago15:46
rsalvetiogra_: but don't know if that is the fix15:46
rsalvetithat was my question to sergiusens15:46
ogra_ah15:46
sergiusensrsalveti: ogra_ there's an MP at the end there15:49
jdstranddavidcalle: system-updates.rst is invalid with 15.04. http://web.archive.org/web/20150122213306/https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/ is correct15:49
rsalvetisergiusens: my question is if the mp really fixes the issue15:49
jdstranddavidcalle: I think that http://web.archive.org/web/20150122213306/https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/ should be restored and system-updates.rst mapped to something else15:49
sergiusensI can release that, it is related to error encapsulation; this would expose the actual issue and fail gracefully15:49
sergiusensrsalveti: I don't know, I can't reproduce15:49
rsalvetisergiusens: right, let's release this and copy to tools-proposed then15:50
sergiusensrsalveti: I just followed the trace15:50
rsalvetithen we can get people to test it a bit more15:50
rsalvetiat least Chipaca was getting it all the time15:50
jdstranddavidcalle: but, please talk to the snappy guys-- sergiusens suggested system-updates.rst may be wrong to begin with15:50
sergiusensrsalveti: yeah, that's why I asked him to review, not sure if he tested though15:50
elopiofgimenez: can you run the integration suite? In the latest #103 it can't ssh, but it seems to work in #102.15:50
jdstrandlooking at the bzr commits, james hunt added ./system-updates.rst on 2015-04-1515:51
davidcallejdstrand, ok, I'm finishing restoring the old one (as Filesystem layout). I'll rename the existing one to "Transactional updates", then we'll see what to do with it.15:51
jdstrandit references https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/15:51
jdstrandit is intended to be a difference doc15:51
jdstranddavidcalle: that sounds perfect15:51
jdstranddavidcalle: thank you so much! :)15:52
sergiusens+115:52
Chipacarsalveti: sergiusens: i got it a lot, but not all the time; after N tries i got an image15:52
Chipacasergiusens: i did not get the error with your branch, but i didn't try 20 times either15:52
Chipacasergiusens: should i?15:52
* Chipaca can do a for15:52
rsalvetiwould be nice, yeah15:52
sergiusensChipaca: maybe :-P at least we can see the underlying error15:52
fgimenezelopio, i'm having problems with udf, let me try15:53
Chipacasure15:53
sergiusensand I can fix before releasing15:53
sergiusensfgimenez too if time permit15:53
fgimenezsergiusens, ok15:53
sergiusensChipaca: btw, pb has a race wrt to start and finish calls15:54
jdstrandvmayoral|pc, lool: fyi, the https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/ wrong content issue is https://bugs.launchpad.net/snappy/+bug/1473478. davidcalle is fixing it as we speak15:54
ubottuUbuntu bug 1473478 in Snappy "snappy/guides/filesystem-layout/ no longer describes the FHS in detail" [Undecided,New]15:54
sergiusensChipaca: we might need a package update15:54
looljdstrand: ah great thanks15:54
Chipacasergiusens: goget-ubuntu-touch is missing gettext in dependencies?15:55
mattywsergiusens, sorry, me again, any idea what a aa_change_onexec failed with -1 error is telling me?15:55
fgimenezelopio, btw, finally in azure with --vm-size Medium works fine for me :)15:55
elopiofgimenez: good, once we get the tests running we can put the instructions in the readme15:56
sergiusensChipaca: oh, I added that to my release branch...16:00
rsalvetiogra_: sergiusens: elopio: building new image for 147346516:00
sergiusensrsalveti: ok for 0987654321 (?)16:00
* sergiusens takes a chance with a bad joke16:00
* ogra_ has a lottery bill with exactly that number !16:01
sergiusensmattyw: most likely that your appamor profile is bad16:01
sergiusensor points to a file that doesn't exist16:01
davidcallejdstrand, sergiusens : so, https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/ and https://developer.ubuntu.com/en/snappy/guides/transactional-updates/16:01
jdstranddavidcalle: looks great!16:01
jdstranddavidcalle: thanks! :)16:02
sergiusenswfm16:02
sergiusensChipaca: scratch that, I didn't upload the 0.26 branch :-/16:05
* Chipaca scratches16:05
davidcallenp :)16:05
sergiusensChipaca: grab trunk again and it will all bzr bd/sbuild just fine16:07
Chipacai'll take your word for it :)16:07
fgimenezsergiusens, building from trunk works for me16:07
fgimenezbut 0.25-0ubuntu1, don't know if that's right16:09
fgimenezelopio, it cannot ssh with latest rolling/edge, trying now with revision -116:09
fgimenezelopio, 102 works fine16:14
fgimenezsergiusens, in fact i'm not sure if it works http://paste.ubuntu.com/11856655/16:16
fgimenezelopio, i'm getting the same error on 102 too eventually, will catch up next monday o/16:24
mattywsergiusens, sorry, me again, nothing I do gives me anything other than that error message. Could I send you the snap to see what's wrong?16:29
mattywsergiusens, and I'm sure nothing has changed - and I used to get a different error16:30
mterryrsalveti, if you can also review https://code.launchpad.net/~mterry/snapcraft/local-plugins/+merge/264305 that would be swell16:30
mattywsergiusens, or suggest someone else who might be able to help?16:31
mattywsergiusens, ah, I might have it16:33
sergiusensmattyw: send me the snap if you want (or link to it)16:34
mattywsergiusens, I finally found it :) sorry for pestering :)16:35
sergiusensno worries16:35
sergiusensChipaca: given http://paste.ubuntu.com/11856655/ I now know that format is failing, just need a better message, going to craft an MP16:36
mattywsergiusens, it would be nice to have some tooling to parse package.yaml and apparmor/ seccomp files to at least check they parse ok, the problem seems to be that snaps can get built with that stuff not being valid16:37
ogra_mattyw, we have tools for that in snappy build ...16:37
sergiusensmattyw: yeh, we are discussing adding json-schema support to all yamls with ricmm16:37
ogra_they are just temporary disabled16:37
sergiusensjdstrand: btw, we are considering adding json-schema support to all our yamls16:38
mattywogra_, sergiusens awesome news16:38
sergiusensmattyw: for now, run click-reviewer-tools against the built package16:39
vmayoral|pcjdstrand: that's great thanks!16:39
mattywsergiusens, what ppa is that in?16:39
mterrysergiusens, it would be nice if we had proper jenkins instances for snappy branches.  Could build the debian package, could install packages as needed, etc16:40
sergiusensmterry: ppa:snappy-dev/tools16:40
mterrymattyw, ^16:40
sergiusensyeah16:40
mterry:)16:40
mattywmterry, sergiusens thanks :)16:40
sergiusensmterry: maybe; as I said, this tarmac thing was meant for go and snap packages not having debian packaging16:41
sergiusensmterry: I don't like jenkins so I'll leave that to someone else16:41
sergiusensalready had my fair share of grief with it when I was with the ci+qa team16:42
mterrysergiusens, ah hrm.  Do you have a preferred tool in the same problem space?16:42
sergiusensmterry: I don't think we have one for launchpad, at least a one size fits all solution17:00
jdstrandsergiusens: json-schema support? you mean, supporting json in the yaml?17:00
sergiusensjdstrand: http://www.yaml.org/spec/1.2/spec.html#id280323117:01
sergiusensmterry: I would love to just use travis fwiw17:02
sergiusensrsalveti: Chipaca https://code.launchpad.net/~sergiusens/goget-ubuntu-touch/ErrExec/+merge/26444017:14
sergiusensrsalveti: Chipaca from fgimenez' pastebin I guess the error he gets either comes from dmsetup clear or kpartx -ds, both related to unmapping17:15
* Chipaca thinks it's nigh on beer o'clock17:15
Chipacasergiusens: 100 runs didn't get me the error here :-(17:15
sergiusensChipaca: did you reboot? /me thinks kernel got confused17:16
Chipacasergiusens: yesterday to fix it? dmsetup clear'ing between tries got it working17:17
Chipacalosetup/dmsetup/partx thing17:17
sergiusensChipaca: what order is the suggested order?17:19
sergiusensChipaca: dmsetup clear, kpartx -ds and last losetup -d ?17:20
Chipacasergiusens: i did no research on this. i did it backwards to that though.17:20
Chipacai think17:20
Chipacanot sure :)17:20
sergiusensChipaca: you should delete the mapping for a loop device before deleting the loop device though17:21
sergiusensChipaca: shouldn't17:22
sergiusensrsalveti: new u-d-f building17:32
* elopio goes home before getting trapped here by the rain.17:58
=== josepht` is now known as josepht
rsalvetisergiusens: cool18:02
rsalvetibuilders are busy it seems18:02
rsalvetijust built for ppc18:03
rsalvetiwebdm failed to install: Get https://public.apps.ubuntu.com/anon/download/canonical/webdm.canonical/webdm.canonical_0.9_multi.snap: EOF18:21
rsalvetiniiice18:21
rsalvetitrying again18:21
rsalvetiogra_: interesting https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/vivid/ubuntu-core-system-image/+build/3210218:22
rsalvetistarted 2 hours ago, still running18:23
rsalvetilet's try yet another build18:37
carif_is this channel archived somewhere?19:01
Letozaf_higgins, someone asked me if you can open a terminal in Snappy personal desktop, can it be done ?19:16
Letozaf_hi not higgins :( sorry19:16
sergiusensChipaca: btw, I don't see you on untappd!19:19
sergiusensrsalveti: https://launchpad.net/builders seems to be availability for amd64 for only19:20
rsalvetisergiusens: yeah, everything is currently stuck19:21
rsalvetiimage, package builds, etc19:21
Letozaf_no matter, found out by myself how to do it, thanks19:22
elopioa man came and brought the internet \o/19:43
rsalvetielopio: \o/19:45
rsalvetisergiusens: yeah, builds are busted19:45
rsalvetidatabase outage19:45
rsalvetiso yeah, guess no release for today =\19:45
sergiusensrsalveti: oh well19:55
rsalvetisergiusens: at least it's already beer o clock for you it seems :-)19:56
sergiusensrsalveti: yup :-)19:57
ogra_carif_, on irclogs.ubuntu.com20:05
ogra_rsalveti, hmm, looks like it built fine20:05
rsalvetiogra_: image is still building20:06
ogra_well, the log disagrees20:06
rsalveticolin said the buildds should be mostly fine now20:06
rsalvetihttps://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/vivid/ubuntu-core-system-image/20:06
rsalvetineeds building here20:06
rsalvetithat other one was canceled20:06
rsalvetisince it got stuck20:06
ogra_i dont see amd6420:06
ogra_did you run it with ARCHES= set ?20:07
ogra_<cjwatson> boiko,robru: lots of buildd breakage at the moment due to a partial database outage today, need to analyse the whole lot and repair20:09
ogra_from #ubuntu-ci-eng20:10
ogra_seems to affect a lot of LP20:10
rsalvetiyup, what I said a bit earlier20:10
rsalvetiall broken20:10
rsalveti:-)20:10
ogra_rsalveti, hmm, so that also means we dont know yet if the fix works ?20:23
rsalvetiogra_: nops20:23
ogra_damn20:24
rsalvetilet me see if system-image imported the amd64 build at least20:24
ogra_cdimage seems to have it at least20:25
ogra_yup, system-image seems to have updated amd6420:26
ogra_has a timestamp that matches the cdimage build20:26
ogra_hmm, but no package changes20:27
ogra_oh20:27
ogra_heh20:27
ogra_ogra@anubis:~/datengrab/images$ ./compare-snappy-manifests.sh 20150709 2015071020:28
ogra_Package changes between 20150709 and 2015071020:28
ogra_=== Upgraded Packages ===20:28
ogra_initramfs-tools-ubuntu-core from 0.7.7~ppa2 to 0.7.7~ppa320:28
ogra_there we go ...20:28
ogra_my script only checked armhf20:28
* ogra_ twiddles thumbs waiting for udf20:31
rsalvetiyeah, let me give it a try20:37
rsalvetiworked fine the first time, let me try a few more20:38
* ogra_ is at the second time20:39
ogra_yup20:40
ogra_no matter if i close the window or ctrl-c ... seems fine20:40
ogra_5 times no corruption ...20:41
* ogra_ builds a new image and does another 10 20:41
ogra_bah, i wish it could cahe webdm20:41
ogra_*cache20:41
rsalvetiogra_: yeah, seems fine here20:45
ogra_yup, 10 10x killed and stable20:46
ogra_-1020:46
ogra_:P20:46
rsalveti:-)20:47
rsalvetinow to wait the armhf image20:47
ogra_well, the build seems done20:48
rsalvetiwaiting https://launchpad.net/ubuntu/+source/goget-ubuntu-touch/0.27-0ubuntu1 to be promoted as well20:48

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