/srv/irclogs.ubuntu.com/2015/09/29/#snappy.txt

Chipacaelopio: you around?00:28
elopioChipaca: o/ here00:28
Chipacaelopio: hiya00:28
Chipacaelopio: http://pastebin.ubuntu.com/12607030/00:29
Chipacaelopio: halp :)00:29
Chipacaelopio: i don't even know what failed :-/00:29
elopioChipaca: we still have some work to do to improve that report. It doesn't tell you where it failed.00:30
Chipacaexactly! :)00:30
elopioyou need to scroll back and search for a FAILED: message.00:30
Chipacaelopio: and then it panics00:30
elopioI'm willing to bet that it's this one: https://bugs.launchpad.net/snappy/+bug/149829300:30
ubottuLaunchpad bug 1498293 in Snappy "fake rollback integration test fails" [Undecided,New]00:30
ChipacaFAIL: /home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go:172: failoverSuite.TestZeroSizeInitrd00:31
Chipacaelopio: ^ is that it?00:31
elopioum, no, damn it. I lost the bet.00:31
elopioChipaca: are you running that in a published branch?00:32
Chipacano, but i can publish it00:32
elopioI've been running tests all day and that one hasn't failed.00:32
Chipacaelopio: lp:~chipaca/snappy/current-data-dir00:32
elopioChipaca: publish it and I'll check if it's a real bug or something to fix on the test. It's late for you, right?00:33
elopioChipaca: also, you can run only that test: go run ./_integration-tests/main.go --snappy-from-branch --filter failoverSuite.TestZeroSizeInitrd00:33
elopiosomething like that.00:33
Chipacayeh, i think i'm stopping here00:33
Chipacaelopio: it failed again, and i'm off to bed00:39
Chipacaelopio: it's entirely possible it's my branch that broke it; i haven't dug00:40
elopioChipaca: I'm running it. We had problems with that test last week. Not sure what's going on, but I'll find out.00:40
elopiohave a good night.00:40
Chipacak00:40
Chipacag'night :)00:40
=== Bro_ is now known as Guest34947
Guest34947hi everyone.. could you help me..? how to install ubuntu OS on Samsung Galaxy S301:15
Guest34947i'm a new to ubuntu, and remember that ubuntu have an OS for mobilephone... that's why i wan to try install it on my Galaxy S3.. btw last day i just service my Galaxy S3 (no Samsung service center cause no guarantee more for the device) and then one-chip/peripheral already change causes Galaxy previously sundently dead..01:19
Guest34947hope somebody help me here... i really want to try have ubuntu and become a familiar with this beautiful OS01:20
Guest34947o yey... btw the OS on my Galaxy S3 now already the default; "Factory Reser"01:23
=== chihchun_afk is now known as chihchun
Chipacaelopio: no news about that test?06:04
elopioChipaca: I've run it like 20 times on it's own, like 5 times on the whole suite. It always passes here.06:05
elopioI tried some in vivid, some in wily.06:05
Chipacaelopio: with my branch?06:05
elopioChipaca: yes, of course.06:06
elopioChipaca: I looked at your changes and they have nothing to do with that test.06:06
elopioChipaca: where you found that FAIL: /home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go:172: failoverSuite.TestZeroSizeInitrd06:06
elopioyou should have also an assertion error. Do you still have that trace around?06:07
Chipacaelopio: i do06:08
Chipacaa ver ...06:08
Chipacahttp://pastebin.ubuntu.com/12609009/06:08
elopio... 0 files matching /boot/grub/a/snappy-selftest-initrd*, 1 expected06:09
elopiothat's an error I supposedly fixed already.06:09
Chipacabranch is up to date with trunk fwiw06:10
elopioChipaca: yes, the fix is in your branch too. I don't understand, but your branch looks good, everything passes here, so you can ignore it.06:15
Chipacaelopio: it almost sounds like you could review https://code.launchpad.net/~chipaca/snappy/current-data-dir/+merge/272691 :)06:15
elopioI might give you a branch tomorrow with some more prints to understand what's going on in your machine. It sucks that it's a kvm and it still behaves differently.06:15
Chipacaopen /home/john/canonical/snappy/src/launchpad.net/snappy/_integration-tests/tests/failover_zero_size_file_test.go: no such file or directory06:16
Chipaca^ what's that about?06:16
elopioChipaca: http://paste.ubuntu.com/12609025/06:16
Chipacaah well06:17
elopioChipaca: that one is https://bugs.launchpad.net/snappy/+bug/146895806:17
ubottuLaunchpad bug 1468958 in Snappy "selftests print "no such file or directory" on error" [Low,Triaged]06:17
Chipacaah! got it06:17
elopioChipaca: and yes, let me review your branch...06:18
Chipacaoh, i dunno if i'll let you... i'll have to think about it06:18
elopiowell, you better think fast. I have a long queue of people eager to get my approval.06:19
Chipacaalso, i should mod goctest to also work with the integration tests06:19
Chipacafinding red is a lot easier than finding "FAIL"06:19
elopiothat would be nice.06:20
elopioChipaca: but you shouldn't need to search fail. At the end of the run, we are printing the subunit result.06:20
Chipacaelopio: here it just panics06:20
elopiothere are two problems with that. One that I was dumb and made it print only if the test passes.06:21
Chipacaelopio: which is almost, but not quite, entirely not the same06:21
elopiothe second that it happens only when you run it from ./runtests.06:21
elopiowe will integrate the _integration-tests/main.go with go-subunit, so everything will be super awesome :)06:21
elopioof course, the goctest pretty print will be faster.06:22
zygaogra_: hey, while building a snappy image for rpi2 according to your instructions I've got06:23
zygaWARNING: this option should only be used to build azure images06:23
clobranomorning :)06:27
elopioChipaca: why do you create the symlink twice? once in line 120, and again in 128.06:29
elopiooh, nevermind, they are different.06:29
Chipacaelopio: one is the /apps/$APP/current symlink, the other is the /var/lib/apps/$APP/current symlink06:30
Chipacawas there a bug for this?06:32
* Chipaca goes looking06:32
pittiasac: df failing> hm, /proc missing or so? are you doing this in a chroot or so?06:35
dholbachgood morning06:53
elopioChipaca: +1.06:54
elopioChipaca: when you remove a snap that has an empty data dir, should the dir be removed?06:54
Chipacaelopio: not necessarily, no06:55
Chipacaelopio: data dirs are left alone, for now06:55
Chipacaelopio: at some point we want garbage collection to remove the n+1th06:55
elopiook, just wondering.06:56
elopioI'm going to bed now. See you soon.06:56
Chipacaelopio: take care, que descances06:57
Chipacait's not yet 9am and i've already done a carnaugh map07:45
Chipacatoday is going to be interesting07:45
guest42315it's 10:51am :P07:51
guest42315you are -3 h, portugal?07:52
ChipacaI'm -1, you're +1 :)07:53
Chipacaor something07:53
* Chipaca checks07:53
guest42315:D07:53
Chipacayeh, I'm +107:53
Chipacaso you'r +307:53
guest42315right07:53
Chipacavmayoral|pc: got enable/disable working in branch locally. Need to add tests :)08:21
Chipacabut first, coffee08:22
Chipacavmayoral|pc: turns out it's going to be very easy to also add it to the snappy command right now, so i'll probably do that as well08:22
* Chipaca ~> coffee08:22
JamesTaitGood morning all; happy Tuesday, and happy World Heart Day! 😃  <308:23
vmayoral|pcChipaca: that's great, thanks08:39
ChipacaJamesTait: u+1f491 through u+uf49f08:41
JamesTaitChipaca, ❤08:41
ChipacaJamesTait: that's ctrl+shift+u, the hex code, space-or-enter08:41
Chipacaand the second one should've read u+1f49f, not u+u...08:42
* Chipaca goes back to his coffee08:42
vmayoral|pcogra_: ping08:45
zygasergiusens: https://bugs.launchpad.net/snapcraft/+bug/150075908:56
ubottuLaunchpad bug 1500759 in Snapcraft "Add support for overriding the Makefile location in makefile part type" [Undecided,New]08:56
longsleepIs there some documentation how the u-boot scripting should look like and how the partitions are named? Seems like my old stuff does use root=/dev/disk/by-label/system-a which does not seem to work anymore09:10
asacpitti: doing it in lxc container09:11
asacpitti: mtab wasnt created and also the /run/resolvconf link didnt have an existing target09:11
asacChipaca: did we land the current link for APP_DATA_PATH yet by any chance? would mvo do that?09:13
Chipacaasac: branch is on trunk as of a couple of hours ago09:13
asacneat09:13
Chipacaasac: but i don't think it's released anywhere09:14
asacChipaca: waiting for review and then landing it on devel and 15.04?09:14
Chipacaasac: *on trunk*09:14
asacoh review is done already09:14
asacyeah09:14
asacso just landing...09:14
Chipaca:)09:14
Chipacaasac: what's "landing" in this context?09:16
Chipacaasac: also note it does _not_ keep a symlink in the SNAP_APP_USER_DATA_PATH, just in SNAP_APP_DATA_PATH09:17
=== chihchun is now known as chihchun_afk
Chipaca... we don't currently create SNAP_APP_USER_DATA_PATH ourselves, so it's all up to the app09:18
longsleepah my u-boot was broken, root=/dev/disk/by-label/system-a still works fine after all09:18
ogra_hey vmayoral|pc09:33
vmayoral|pcogra_: morning09:34
vmayoral|pcogra_: what do you think about https://bugs.launchpad.net/snappy/+bug/1500755?09:34
ubottuLaunchpad bug 1500755 in Snappy "vchiq not working on 4.2" [Undecided,New]09:34
=== vmayoral|pc is now known as vmayoral
ogra_vmayoral, see the bug :)09:43
ogra_(will milestone it for 15.04.5 as soon as someone created the milestone)09:43
* Chipaca grovels for reviews of https://code.launchpad.net/~chipaca/snappy/activate-package/+merge/27271609:48
vmayoralogra_: do you have any ideas for a quick fix that unblocks ourselves?09:51
ogra_you could re-build your own pi2 snap09:51
ogra_http://people.canonical.com/~platform/snappy/raspberrypi2/pi2_0.16_all.snap09:52
ogra_(there is "Rebuilding the oem snap" in the RPi2 section on https://developer.ubuntu.com/en/snappy/start/)09:53
ogra_make sure to keep the dtb's in place, they come from the kernel build (including overlay.tgz)09:54
pittiasac: /etc/mtab should be a symlink to /proc/mounts09:57
ogra_it is :)09:59
davidcalleogra_, hey, in the raspi2 doc email, are you talking about future install instructions or is it for the image you just released?10:05
ogra_davidcalle, thats for current ... and i think i updated the doc accordingly10:05
=== chihchun_afk is now known as chihchun
ogra_current stable is in the /~platform location ... dail/edge doesnt get actual img builds (like all other arches)10:06
ogra_*daily10:06
davidcalleogra_, thanks!10:09
vmayoralogra_: got the oem snap and ready to rebuild it, just don't quite understand what are the things that i need to change10:16
vmayoralogra_: i guess i need to compile http://kernel.ubuntu.com/git/ubuntu/ubuntu-vivid.git/ and replace dtbs and overlay.tgz?10:17
vmayoralogra_: master branch seems to be at 3.19, shouldn't it be 4.2 since last snappy image uses that kernel?10:17
ogra_why would you recompile the kernel10:18
vmayoralogra_: is it just a matter of regenerating the pi2 snap?10:19
ogra_vmayoral, you want all of https://github.com/raspberrypi/firmware/tree/master/boot except for the dtb files and the overlay dir, they should be kept in place10:19
vmayoralall right, any shortcut to replace the pi2 snap on an existing image or should i create a new snappy image?10:21
ogra_create a new one and make sure to use --developer-mode, else u-d-f will refuse to use local oem snaps10:27
Chipacabeuno: happy birthday!10:27
ogra_vmayoral, oh, i'm silly, you can do it without a snap by just replacing the files /boot/uboot/ if you want to test it10:28
vmayoralogra_: will try that out, thanks10:28
ogra_(essentially the start* fixup* and bootcode.bin files)10:29
zygasergiusens: https://code.launchpad.net/~zyga/snapcraft/plainbox-app/+merge/27272010:30
sergiusenselopio, fgimenez hey, can you check if something is wrong with tarmac?10:34
sergiusensseems stuck; and I am missing an MP10:35
fgimenezsergiusens, sure, i'll take a look10:35
sergiusensfgimenez, ah, nevermind10:37
sergiusensfgimenez, I was just confused10:37
fgimenezsergiusens, ok np :) seems to be working fine http://paste.ubuntu.com/12610492/10:39
sergiusensfgimenez, oh, we need to update tarmac with the latest plainbox10:42
sergiusensChipaca, good morning; mind reviewing something? https://code.launchpad.net/~sergiusens/snapcraft/1500758/+merge/27272810:44
Chipacasergiusens: trade you?10:45
sergiusensChipaca, sure10:45
fgimenezsergiusens, done, now it has plainbox 0.23+ppa~ubuntu14.04.1 installed10:45
sergiusensfgimenez, great, thanks10:45
sergiusensfgimenez, also, zyga is here and willing to share all the setup for using git and merging/testing10:45
sergiusensfgimenez, not sure how to coordinate that, but it would be nice to have this :-)10:46
sergiusensChipaca, just note that my MP says 'simple' ;-)10:46
Chipacasergiusens: you get to choose!10:47
fgimenezsergiusens, indeed :) let me know if we can do anything from our side10:47
Chipacasergiusens: simple: https://code.launchpad.net/~chipaca/snappy/dddddirs/+merge/27243010:47
Chipacasergiusens: short: https://code.launchpad.net/~chipaca/snappy/activate-package/+merge/27271610:47
Chipaca:)10:47
Chipacasergiusens: LGTM, with a question :)10:49
sergiusensChipaca, approved dirs with a suggestion :-)10:50
Chipacasergiusens: it already is snappy/dirs10:50
Chipacaas in launchpad.net/snappy/dirs10:51
Chipacalaunchpad.net/snappy/snappy just feels wrong already :)10:51
sergiusensChipaca, oh, :-)10:51
sergiusensChipaca, I guess it is fine, we just need to move launchpad.net/snappy/snappy/*.go to lanuchpad.net/snappy :-D10:52
Chipacasergiusens: ... sooon ... :)10:52
sergiusensor use vendoring ;-)10:52
sergiusensChipaca, ok, so I wait for you to approve my MP now ;-)10:52
Chipacad'oh :)10:53
Chipacasergiusens: where does vendoring come into the equation there?10:54
sergiusensChipaca, nice filepaths and GOPATH goodies10:54
ricmmvmayoral: https://launchpad.net/ubuntu/+source/linux-raspi213:00
ricmmvmayoral: here too http://kernel.ubuntu.com/git/ubuntu/ubuntu-wily.git/log/?h=raspi213:03
vmayoralricmm: got it13:03
clobranoFinally got time to finish work on Bug #1496319. One question: is <snapname>.json.additional file content fixed for any reason? I mean, could I add a new field to it?13:18
ubottubug 1496319 in Snappy "Could not create symlink to hw device with udev rules" [Undecided,New] https://launchpad.net/bugs/149631913:18
* clobrano thinks it should have used the QUESTION tag13:28
clobranoQUESTION: Finally got time to finish work on Bug #1496319. One question: is <snapname>.json.additional file content fixed for any reason? I mean, could I add a new field to it?13:29
ubottubug 1496319 in Snappy "Could not create symlink to hw device with udev rules" [Undecided,New] https://launchpad.net/bugs/149631913:29
sergiusensclobrano, using QUESTION is only a thing when some live broadcast is happening13:35
sergiusensif not it generally is, fire and wait or get the right person13:35
sergiusens;-)13:35
clobranosergiusens: I wasn't sure :), thanks13:35
sergiusensso... Chipaca maybe? ^13:35
Chipacawhat's the question again?13:36
clobranoChipaca: hi :), I was thinking about adding a new field to <snapname>.json.additional file13:37
clobranotrying to implement Bug #149631913:37
ubottubug 1496319 in Snappy "Could not create symlink to hw device with udev rules" [Undecided,New] https://launchpad.net/bugs/149631913:37
Chipacaplease don't implement bugs! :-p13:37
* Chipaca reads13:38
clobranoChipaca: I expected that :D13:38
Chipacaclobrano: let me check wrt reworking of hw-assign13:41
Chipacaclobrano: right! so there will be a redesign, but not for a while, so let's do this :)13:48
Chipacaclobrano: what is it you propose to fix that?13:49
clobranoChipaca: I'm thinking about adding a symlink_path field, to keep information about which path links to which HW device13:49
clobranoChipaca: this way, when using hw-unassign on a hw device, I can see that there is also a symlink to unassign13:51
Chipacaclobrano: now i understand your question and everything!13:54
Chipacaclobrano: no issues with adding an additional field to the .additional json13:54
clobranoChipaca: yep, I took a long way to explain it :D13:55
clobranoChipaca: fine then13:55
clobranoChipaca: thanks13:56
=== davidcalle_ is now known as davidcalle
zygafgimenez: https://code.launchpad.net/~zyga/snapcraft/plainbox-app/+merge/27272014:22
zygafgimenez: not entirely done (but it's safe to land if it doesn't blow up as it's not the default)14:22
zygafgimenez: I'll go and do unit tests next14:22
zygafgimenez: but I need to patch something first around in another project14:22
zygafgimenez: the idea behind hat branch is to get rid of the shell script that does unholy things with plainbox and just use proper APIs14:23
fgimenezzyga, yes we need that :)14:23
zygafgimenez: (the apis in plainbox are not in plainbox.public yet but they will be soon and the ones used here are the candidate APIs anyway)14:24
zygafgimenez: please have a look at the UX there14:24
zygafgimenez: I tried to make it better than the old script14:24
fgimenezzyga, ok thanks i'll ping you back14:24
zygafgimenez: after you look at the basics I'd like to discuss how to integrate unit tests -- there are two ideas I have14:24
zygafgimenez: thanks :)14:25
* guest42315 ubuntuonair in 20 min http://ubuntuonair.com/14:38
longsleepChipaca: Hey, i just got forwared a mail that christine seem to have added us to the contributor agreement, while i am still not seeing it in the members list i now wonder how you folks know that i am contributing for this company15:00
* zyga stands up15:05
Chipacalongsleep: that's yet another good question I don't know the answer to.15:28
Chipacalongsleep: maybe because the one that filled out the cla for the company tells us somehow?15:29
* Chipaca is asking elsewhere as well :)15:29
vmayoralsergiusens:  http://paste.ubuntu.com/12613213/15:30
longsleepChipaca: well, at least the confirmation mail did not say anything helpful in that regard.15:44
Chipacalongsleep: turns out, there wasn't a process15:44
longsleep:D15:44
Chipacalongsleep: so, the person that signed the cla on behalf of the company15:45
Chipacalongsleep: needs to create a group15:45
Chipacalongsleep: and let us know what group that is15:45
longsleepaha - can it be a existing group?15:45
Chipacalongsleep: and then we add that group to the CLA group15:45
longsleepand how do we let you know15:45
ogra_well, and it should be a controlled group ... not one everyone can join ;)15:45
Chipacalongsleep: sure, as long as membership in that group implies they can submit code in the company's name15:46
longsleepgroup is strukturag - already is there15:46
longsleepyes15:46
longsleepok, but the one who has submitted is not in that group yet15:46
longsleepoh my let me fix that15:46
longsleepChipaca: ok, so how can we let you know that it is this group?15:48
=== chihchun is now known as chihchun_afk
Chipacalongsleep: you should've received an invite15:59
Chipacalongsleep: (in future we might ask that the person signing is owner of the group; for now, this'll do)16:00
sergiusenszyga, https://code.launchpad.net/~sergiusens/snapcraft/scons_options/+merge/27281716:18
vmayoralsergiusens:  https://gist.github.com/vmayoral/0ddc3b9c50198cb182a416:24
longsleepChipaca: ok great, worked perfectly - thank you !16:30
rickspencer3ogra_ hey18:08
ogra_yo18:08
rickspencer3soooo, pwm, we  followed your instructions to enable it, but, errr18:08
rickspencer3not sure it is working18:08
* rickspencer3 gets a pastebin18:09
ogra_cat /sys/firmware/devicetree/base/soc/pwm@7e20c000/status18:10
ogra_if that says "okay" it is enabled18:10
rickspencer3http://pastebin.ubuntu.com/12615323/18:10
* rickspencer3 looks18:10
rickspencer3it says "okay"18:11
ogra_well, then it should work ...18:11
ogra_there is another pwm overlay (twochannel) you could tyr editing config.txt and use that instead of the basic one from ym instructions18:12
ogra_pwm-2chan-overlay.dtb18:12
ogra_perhaps  that behaves differently18:12
ogra_https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README#L41918:14
ogra_so you can obviously use: dtoverlay=pwm,pin=1818:15
* ogra_ tries 18:16
ogra_rickspencer3, the export node is a toggle ... only takes 0/118:29
ogra_rickspencer3, if i echo 1 into it i see a /sys/class/pwm/pwmchip0/pwm1 being created18:30
* ogra_ doesnt have the slightest clue what he is doing18:31
rickspencer3ogra_ ok, we'll keep banging on it here and see where we get18:31
ogra_root@localhost:~# ls /sys/class/pwm/pwmchip0/pwm1/18:31
ogra_duty_cycle  enable  period  polarity  power  uevent18:31
ogra_does that look like what you want ?18:31
ogra_looking at online docs it seems the interface has changed with 4.2 ... seems in older versions there were nodes like "frequency" as well18:33
* ogra_ assumes thats replaced by "period" 18:33
sergiusenselopio, mind looking at scons again?19:52
elopiosergiusens: sure.19:52
sergiusenselopio, I even added the missing test I forgot the first time around :-/19:52
elopiosergiusens: excuses :p19:52
sergiusenselopio, I blame zyga19:53
sergiusenselopio, thanks20:05
elopionp20:06
sergiusenselopio, btw, did you see zyga's branch?20:06
elopiosergiusens: por encimita.20:06
sergiusenselopio, it is good because we can autocomplete and select tests specifically or with a filter20:07
elopioah, that's cool.20:08
elopiohe says it doesn't yet support the unittests. But that's ok, we only need to clean up the weird script we use to launch the plainbox tests.20:09
elopioI'll give it a try after lunch.20:09
victorpkyrofa, ping20:26
kyrofaHey victorp :)20:26
victorphi kyrofa20:26
sergiusenszyga, lp:~sergiusens/snapcraft/150103520:26
victorpI am just playing with the rpi and installed your piglowtop snap20:27
victorp\o/20:27
victorpv awesome20:27
victorpI was wondering if you had a bzr branch for it, that I can use as an example to learn a bit more about snappy20:27
kyrofavictorp, not bzr, but git20:28
kyrofavictorp: https://github.com/kyrofa/piglowtop20:28
victorpkyrofa, :P20:29
kyrofavictorp, there are two READMEs-- the main one is for the software itself, and the snappy-specific one is in meta/20:29
victorpkyrofa, awesome!20:30
victorpthanks20:30
kyrofavictorp, any time!20:30
zygasergiusens: it doesn't work21:01
sergiusenszyga, because of python3?21:02
zygasergiusens: py3versions21:02
zygahttp://pastebin.ubuntu.com/12617891/21:03
sergiusenszyga, yeah, skip those on wily, it depends on the MP you reviewed earlier21:03
zygasergiusens: py3versions itself crashes21:03
zygasergiusens: I think it's different21:03
sergiusensah21:03
zygasergiusens: it crashes because py3versions is a dh-thing21:03
zygasergiusens: and I suspsecy you don't have that in the stage python21:03
zygasergiusens: (python3-minimal) hmm21:04
sergiusenszyga, snappy shell and try it maybe21:04
zygaI wonder what is error 221:04
zygaoh!21:04
zygacool21:04
zygasnappy shell -- no such command?21:04
sergiusenssnapcraft shell21:05
sergiusenssorry21:05
sergiusenszyga, ^21:05
zygaah21:05
zygasergiusens: that doesn't work21:05
zyga(venv.x200t)zyga@x200t:/tmp/1501035/integration-tests/data/pip-requirements$ snapcraft shell21:05
zygapy3versions -i21:05
zygapyversions -i21:05
zygait needs py3versions itself :)21:06
zyga/tmp/tmpgzjdflwl: 7: export: python3.5/dist-packages: bad variable name21:06
sergiusensoh, python 3.521:07
sergiusensdarn wily21:07
plars"write /tmp/diskimage045123107/boot/a/dtbs/r8a7791-henninger.dtb: no space left on device"21:13
plarsI get this when trying to create the raspberry pi image21:14
plarsah, nm, I didn't specify the device21:16
ogra_how do you create it ?21:16
ogra_phew21:17
plarsogra_: I got it now, but what really surprised me is that udf didn't exit with a non-zero rc21:17
* ogra_ feels like he had enough disasters tonight :P dont shock me 21:17
plarshaha, sorry :)21:17
ogra_:)21:17
ogra_plars, well, if you dont specify --device it simply tries the generic tarball on top21:18
ogra_its not an error so it doesnt exit nonzero21:19
ogra_(the space issu is indeed)21:19
ogra_(and probably worth filing a bug)21:19
plarsogra_: I'd like to chat (not urgent, sometime when you're having a better day), about rpi2 automation21:19
ogra_yeah21:20
plarsogra_: it mostly works right now, but I wasn't able to handle reading the environment from the actual image partition that I'm testing21:20
plarsogra_: so it won't cope well if we try to test upgrade/rollback21:20
ogra_you mean uboot.env ?21:20
plarsogra_: mostly just trying to work around the fact that rpi2 can only boot from one place21:20
plarsogra_: yeah, I'm booting an ubuntu image off the SD card, with a lot of uboot bits from snappy. It reads a gpio to decide whether to keep booting from the sd card, or pull the kernel/initrd from usb (where I wrote the new image) and simulate the snappy boot process from the bits that are on usb21:21
plarsogra_: so obviously there's a big downside that we don't actually test the bootloader from the new image, but given that we can't chainload and only have a single boot location, I don't see any way around that21:22
ogra_yeah21:22
ogra_well ... the rpi has config.txt ....21:22
ogra_you could mangle the kernel=uboot.bin line21:23
plarsogra_: but the other issue is that if we do an update/rollback, those settings get written to uboot.env on the usb stick, and I don't know of a good way to selectively read in just the values I care about from there21:23
plarsogra_: but how do I get it back if things go wrong?21:23
plarsogra_: I need to know that it will fall back to the right place no matter what21:23
ogra_so you would still use the pre-loader from SD but could point to a different uboot21:23
plarsogra_: but I don't think I could point it to the one on usb, it would still have to be on the sd card somehow21:24
plarswhich I can't safely overwrite21:24
ogra_yeah21:24
ogra_you would need both uboots on the SD and duplicate the uboot config21:24
plarsthere may not be any good options, but I figured if anyone would have ideas, it would probably be you :)21:24
ogra_heh21:24
plarsogra_: if anything comes to mind, just let me know what your thoughts are21:25
ogra_well, i think what yu do is the sanest you can do ...21:25
plarswow, did I just get accused of being sane?21:25
ogra_you can indeed edit uboot.env from anywhere using fw_setenv ...21:25
plarsI guess I'm making progress21:25
plars:)21:25
ogra_hahaha21:25
plarsogra_: it works pretty reliably for most things, just a few limitations that are annoying21:26
ogra_what you need for fw_setenv is the right config ... we ship that in /etc/fw_env.config ...21:26
plarsogra_: there's some strange magic there21:28
plarsogra_: which entries end up getting modified when you do an update?21:28
ogra_snappy_ab and snappy_trial_boot21:29
ogra_err nnno21:29
ogra_snappy_ab and snappy_mode21:30
plarsogra_: yeah, if that's all, then I could possibly let it just modify the one on the sd card, but I'd have to remount after booting, and I've kind of lost control at that point (nor do I want it updating the kernel for me or any other files at that location)21:30
ogra_well, the kernel will always only be updated on the other partition21:30
ogra_or in case of uboot the "other dir"21:31
plarsogra_: but it's still under /boot/uboot/{a,b}21:31
plarsogra_: if I simply remount /boot/uboot after booting and force it to point to the mmc, then I really haven't accomplished anything21:32
plarsin fact, I could be causing more problems, since it won't persist after the reboot21:32
ogra_if i'm booted into the system-a partition the kernel from /boot/uboot/a is used as well ... the update switches snappy_ab=b and snappy_mode=try ... then it reboots into system-b ... systemd sets snappy_mode=regular at the end of the boot process and you are fine ...21:32
plarsI don't have control after provisioning happens, from that point forward it's completely up to the test to do the right thing (which will come from somewhere else)21:33
ogra_... or you fail and snappy_mode is still set to try ... so the script recognizes it should switch back to a and does that21:33
zygaogra_: you're still up?21:33
plarsno, he should be sleeping, and I should quit bothering him :)21:34
ogra_zyga, i rarely go to bed before 2am ... worse is that i'm still working :P21:34
plars:(21:34
zygaogra_: well, what can I say21:34
ogra_not your fault21:34
zygame too21:34
zygaguys are having beer next to me though21:34
zyganope, though that's not bothering me :)21:35
ogra_it is one of these days where you recognize "oh, i forgot to seed that minor package, lets quickly do that and finishe the day" ... you seed it and the world explodes in your face :P21:35
ogra_and now i'm still mopping up the mess21:35
zygaogra_: what did you seed?21:37
zygaogra_: bootchart?21:37
ogra_fwupd ...21:37
ogra_zyga, and this is what changed in the image .... http://paste.ubuntu.com/12617877/21:37
ogra_rather unexpected21:37
* zyga looks21:38
zygauseless laggy hotel wifi21:40
zyga_ogra2: considering that upstream does glib+gtk apps that's not unexpected, why did it explode?21:40
zyga_ohh21:41
zyga_libGDK is there too21:41
zyga_that's curious ;021:41
zyga_ogra2: it's 2015, daemons come with guis ;)21:41
ogra_zyga_, well, not sure you wnat your drone to be capable of convertingjpeg to tiff and provide the ic via XDMCP21:41
zyga_ogra_: heheh21:42
ogra_*provide the pic21:42
ogra_but at least you could store all the info about that in dconf then :P21:42
zyga_ogra_: dconf I understand but x1121:42
zyga_ogra_: how did that package get through review?21:43
ogra_it didnt yet21:43
ogra_comes from our PPA21:43
zyga_ogra_: ohhh21:43
ogra_this is vivid21:43
zyga_ogra_: yeah, that's trustworthy and safe ;)21:43
zyga_ogra_: is that your ppa or 3rd party?21:43
ogra_the official snappy ppa21:43
* zyga_ should stop bothering ogra and just let everyone go to bed21:43
zyga_ogra_: O_o21:44
ogra_https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+packages21:44
plarssleep ftw!21:45
ogra_heh21:45
plarsoh, still a bit early here I guess :)21:45
* ogra_ still needs to revert the mess and build a test image 21:45
zyga_ogra_: good luck21:47
ogra_:)21:47
ogra_well, its mostly waiting21:47

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