*** edcragg has quit IRC | 00:37 | |
*** rdale has joined #baserock | 02:47 | |
*** petefoth has quit IRC | 05:08 | |
*** mike has joined #baserock | 05:41 | |
*** mike is now known as Guest23609 | 05:41 | |
*** petefoth has joined #baserock | 06:24 | |
*** perryl_ is now known as perryl | 07:27 | |
*** edcragg has joined #baserock | 07:35 | |
*** petefoth_ has joined #baserock | 07:52 | |
*** petefoth has quit IRC | 07:53 | |
*** petefoth_ is now known as petefoth | 07:53 | |
*** bashrc_ has joined #baserock | 08:05 | |
*** edcragg has quit IRC | 08:10 | |
*** tiagogomes_ has joined #baserock | 08:12 | |
*** petefoth has quit IRC | 08:15 | |
*** gary_perkins has joined #baserock | 08:16 | |
*** petefoth has joined #baserock | 08:18 | |
*** jonathanmaw has joined #baserock | 08:32 | |
*** tiagogomes_ has quit IRC | 08:39 | |
*** tiagogomes_ has joined #baserock | 08:39 | |
*** pacon has joined #baserock | 08:54 | |
*** ssam2 has joined #baserock | 09:07 | |
*** ChanServ sets mode: +v ssam2 | 09:07 | |
* pedroalvarez upgrades masons morph version to the one used in the latest release | 09:10 | |
pedroalvarez | so that they can understand definitions version 5 | 09:11 |
---|---|---|
*** CTtpollard has joined #baserock | 09:17 | |
*** lachlanmackenzie has joined #baserock | 09:20 | |
*** mariaderidder has joined #baserock | 09:21 | |
ssam2 | the YBD continuous builder I set up has now done 18 identical builds of some chunks... | 09:32 |
ssam2 | http://185.98.148.127:8080/artifacts?page=3 | 09:32 |
ssam2 | it's also done 21 non identical builds of other chunks, but it's a start | 09:32 |
Kinnison | Cool | 09:45 |
*** pacon has quit IRC | 10:12 | |
pedroalvarez | hi! I had problems to locate this page http://wiki.baserock.org/doing-stuff-with-baserock/ | 10:13 |
pedroalvarez | should we make it more visible? or is just me.. :) | 10:13 |
petefoth | That page shuold probably be linked (conspicuously) from the front page | 10:13 |
pedroalvarez | looks like it is | 10:14 |
ssam2 | let's make it more visible | 10:14 |
pedroalvarez | I was looking for a link in the "contribute" page | 10:14 |
*** pacon has joined #baserock | 10:14 | |
Zara | I'd link it where we link to the 'developer experience' bit, since I think the content of 'doing stuff with baserock' is a lot more interesting to developers. | 10:16 |
*** persia has quit IRC | 10:43 | |
*** persia has joined #baserock | 10:43 | |
*** persia has joined #baserock | 10:43 | |
*** rdale has quit IRC | 10:57 | |
*** rdale has joined #baserock | 10:58 | |
*** zoli__ has joined #baserock | 11:15 | |
*** zoli___ has joined #baserock | 11:16 | |
*** zoli__ has quit IRC | 11:19 | |
*** paulw has quit IRC | 11:21 | |
*** paulw has joined #baserock | 11:22 | |
pedroalvarez | paulsher1ood: re your problem | 11:26 |
pedroalvarez | <paulsher1ood> pedroalvarez: if i have lots of tmp files around, they need to be mounted readonly during sandboxing. the issue is that there's a hard limit of 50 | 11:26 |
pedroalvarez | Looks like it was a linux-user-chroot limitation | 11:26 |
pedroalvarez | Also, it looks like there wasn't any release of linux-user-chroot with that fix in | 11:27 |
paulsher1ood | pedroalvarez: ah, ok. good to know | 11:28 |
pedroalvarez | So I assume that Ubuntu's linux-user-chroot doesn't have the limitiation change | 11:28 |
pedroalvarez | this change happened on 2013, though | 11:29 |
*** zoli___ has quit IRC | 11:31 | |
*** zoli__ has joined #baserock | 11:32 | |
ssam2 | I believe we sent the patch | 11:34 |
ssam2 | to increase the mount limit in linux-user-chroot | 11:34 |
*** jonathanmaw has quit IRC | 11:48 | |
*** jonathanmaw has joined #baserock | 11:52 | |
richard_maw | the patch was applied upstream IIRC | 11:57 |
pedroalvarez | yup, the issue here is that ubuntu doesn't have it | 11:59 |
*** Guest23609 has quit IRC | 12:30 | |
pdar_ | has any one who can merge things a few moments to merge this please? https://gerrit.baserock.org/#/c/900/ | 12:32 |
*** pdar_ is now known as pdar | 12:33 | |
* SotK looks at it | 12:34 | |
pdar | ta SotK | 12:34 |
SotK | pdar: done | 12:35 |
pdar | yay! | 12:36 |
*** Guest23609 has joined #baserock | 12:44 | |
tiagogomes_ | did anyone looked at the possibility of using llvm in build essential? It needs python to build... | 12:47 |
richard_maw | tiagogomes_: not to my knowledge | 12:48 |
* pedroalvarez builds from a definitions (git) checkout | 13:00 | |
pedroalvarez | this is great | 13:00 |
*** sambishop has quit IRC | 13:05 | |
*** sambishop has joined #baserock | 13:06 | |
ssam2 | del, ctrl-left and ctrl-right finally work in Baserock 15.25 ! | 13:30 |
ssam2 | thanks jjardon ! | 13:30 |
*** edcragg has joined #baserock | 13:39 | |
*** pacon has quit IRC | 13:42 | |
*** jonathanmaw has quit IRC | 14:15 | |
nowster | left right left right up up down down morph build? | 14:25 |
*** jonathanmaw has joined #baserock | 14:28 | |
paulsher1ood | tiagogomes_: you mean instead of gcc, or earlier in stage1/stage2? | 14:59 |
*** jonathanmaw has quit IRC | 14:59 | |
paulsher1ood | 2015-06-22 03:55:45 [build-system-armv8l64] Now cached as build-system-armv8l64.3e7aa37c542cd707cb1dbe221b93d6e0bbdc08a996d113cb6863ab278149ca5c | 14:59 |
paulsher1ood | (built on Ubuntu, on Moonshot) | 15:00 |
tiagogomes_ | paulsher1ood isn't instead of gcc the same as earlier in stage1/stage2? | 15:03 |
tiagogomes_ | anyway building from scratch using llvm is not feasible without adding a bunch of chunks to build-essential | 15:04 |
paulsher1ood | tiagogomes_: there is stage1-gcc, stage2-gcc, gcc. i think trying to have llvm in stage1/stage2 would be overkill but i may be wrong | 15:05 |
tiagogomes_ | paulsher1ood it is. llvm needs python to build... | 15:06 |
*** jonathanmaw has joined #baserock | 15:06 | |
paulsher1ood | if it's just that, i wouldn't see it as a barrier | 15:07 |
paulsher1ood | but again i may be wrong | 15:07 |
pedroalvarez | does it really need to go in build-essential>? | 15:08 |
tiagogomes_ | paulsher1ood you would have to move a few chunks to build essential, which is very bad | 15:08 |
tiagogomes_ | pedroalvarez depends. If you want all stage 3 chunks built with llvm from scratch... yes | 15:10 |
tiagogomes_ | anyway, last time that I heard (FOSDEM) Linux was still not building with llvm | 15:13 |
pedroalvarez | I see | 15:13 |
paulsher1ood | i wonder if we could end up with build-essential-gcc, and build-essential-llvm etc? | 15:18 |
paulsher1ood | and separate stage1 and stage2 in to bootstrap-essential | 15:18 |
tiagogomes_ | I thought that was the plan, having different build essential for each combination of compiler and libc | 15:19 |
* paulsher1ood wonders where the 'plan' is :) | 15:19 | |
rdale | i've currently got an openwrt and openwrt-musl build essentials | 15:20 |
tiagogomes_ | I am getting this error when I try to deploy: `ImportError: No module named writeexts`. Solutions? | 15:21 |
pedroalvarez | tiagogomes_: so, it needs python to build. but once built, does it need python to run? | 15:21 |
paulsher1ood | rdale:but are they branches of build-essential, or separately named? | 15:21 |
paulsher1ood | tiagogomes_: using latest morph? or ybd? | 15:21 |
rdale | currently they are both called build-essential in two different branches, but i'm thinking how to improve that | 15:22 |
tiagogomes_ | Using latest morph | 15:22 |
paulsher1ood | SotK: ^^? | 15:22 |
SotK | tiagogomes_: can you paste the traceback that is probably in morph.log? | 15:22 |
SotK | tiagogomes_: also, what deployment extension are you using? | 15:22 |
tiagogomes_ | SotK ok, I was using and old cluster that wasn't updated by prepending 'extensions' on 'type' | 15:27 |
tiagogomes_ | but know I've another error: http://paste.baserock.org/cemuvekuri | 15:28 |
paulsher1ood | rdale: i'd suggest we go with build-essential-variant (where variant for you would be musl)? | 15:28 |
SotK | tiagogomes_: that is definitely my bad :/ | 15:29 |
rdale | paulsher1ood: yes, that's what i was thinking. then we'll need a little script to fix up the actual build-essential name in the strata and system before building | 15:29 |
* SotK is sure he tested kvm deployment :s | 15:30 | |
paulsher1ood | rdale: erk.... that needs a *bit* more thought :) | 15:30 |
rdale | yes | 15:30 |
paulsher1ood | time to try to get to the bottom of this semantics and versioning pit, i think | 15:31 |
tiagogomes_ | SotK let me double check that I've the cluster right | 15:31 |
SotK | tiagogomes_: it's because the line raising the error should say `except subprocess.CalledProcessError` I'd imagine, I'll send a patch | 15:32 |
tiagogomes_ | SotK, ok | 15:34 |
SotK | tiagogomes_: on looking closer, it should be a writeexts.ExtensionError | 15:35 |
SotK | I must have tested kvm before I reworked the ssh_runcmd stuff and not after :/ | 15:35 |
paulsher1ood | that's interesting... how do we test deployments in general? | 15:36 |
paulsher1ood | did/do morph's tests cover it? | 15:36 |
SotK | morph's tests still use the extensions which are in morphlib (which are now deprecated) | 15:37 |
paulsher1ood | ok so this exposes an interesting conundrum... testing of definitions. and if definitions include deployments, then testing of those in definitions | 15:38 |
SotK | I hope that the Zuul CI will eventually test these kinds of situations | 15:38 |
paulsher1ood | SotK: irrespective of which ci, how did/do deployments in morph actually get tested? | 15:39 |
SotK | paulsher1ood: for this, I did a load of test deployments | 15:40 |
SotK | paulsher1ood: in general, there are scenario tests in morph's test suite for deployment, but they deploy using the extensions in morphlib rather than definitions and so need updating somehow | 15:40 |
ssam2 | bit sticky, actually | 15:40 |
ssam2 | previously we've always tried to keep Morph's tests independent from the reference definitions | 15:41 |
paulsher1ood | it seems a bit hard to do, for me. i know how to test builds. | 15:41 |
ssam2 | the tests only test quite a subset of deployment, in anycase. I think just rawdisk and tar | 15:41 |
paulsher1ood | morph's tests are unit tests afaict | 15:41 |
SotK | paulsher1ood: the yarns are scenario tests | 15:42 |
paulsher1ood | oh, ok. i haven't fully understood the difference, yet | 15:42 |
SotK | ssam2: that sounds about right | 15:43 |
ssam2 | I think the solution is to remove most of the deployment tests from Morph's test suite, and just keep one trivial .write extension in morph.git for test purposes (like tar.write) to provide a quick way of checking the `morph deploy` code path | 15:43 |
SotK | tiagogomes_: https://gerrit.baserock.org/913 | 15:44 |
ssam2 | the deployment extensions now belong to the reference systems, so they should be tested in whatever way we test the reference systems | 15:44 |
ssam2 | Mason deploys to disk images, so in fact we don't really lose anything in terms of test coverage | 15:44 |
*** cosm has joined #baserock | 15:45 | |
paulsher1ood | SotK: +1 | 15:45 |
tiagogomes_ | thanks SotK | 15:48 |
tiagogomes_ | I got another error now: NameError: global name 'subprocess' is not defined | 15:48 |
tiagogomes_ | you missed an import subprocess on kvm.write | 15:49 |
SotK | argh, sorry :( | 15:50 |
paulsher1ood | SotK: not to worry - easy to diagnose, fast to fix at least | 15:51 |
* SotK updates the change | 15:54 | |
persia | On supporting multiple libcs: I think that we should have multiple strata/systems that depend differently on different libs (and not every strata needs to support every libc), so build-essential-variant seems right to me. | 15:56 |
tiagogomes_ | I still can't deploy | 15:56 |
persia | I would expect the reference development system to always use glibc, but other systems might be better with musl, uclibc, etc. | 15:57 |
SotK | tiagogomes_: what is the error now? | 15:57 |
rdale | another reason to have different build-essentials, apart from libc's, is when you need different busybox config options to the default ones | 15:58 |
tiagogomes_ | SotK, http://paste.baserock.org/himetigovu | 15:58 |
SotK | ouch | 15:59 |
SotK | tiagogomes_: looks like I really broke something when changing that ssh code, I'll investigate | 16:00 |
ssam2 | 'bufsize must be an integer' from subprocess.Popen is usually to do with passing wrong arguments | 16:03 |
ssam2 | bufsize is the first keyword arg | 16:03 |
SotK | aha, I call check_call wrongly in kvm.write at one part | 16:05 |
* SotK updates the change again | 16:16 | |
tiagogomes_ | SotK I'll tell you what the next error is :) | 16:17 |
*** jonathanmaw has quit IRC | 16:17 | |
SotK | oops, forgot to commit :3 | 16:17 |
tiagogomes_ | that was the next error | 16:17 |
tiagogomes_ | fatal | 16:17 |
SotK | OK, updated | 16:18 |
*** gary_perkins has quit IRC | 16:18 | |
ssam2 | seems the Debian reproducible builds project is getting some funding from the Linux Foundation! http://www.linuxfoundation.org/news-media/announcements/2015/06/linux-foundation-s-core-infrastructure-initiative-funds-three-new | 16:20 |
tiagogomes_ | hmm | 16:20 |
tiagogomes_ | 2015-06-22 16:19:56 [systems/build-system-x86_64.morph][release]Creating btrfs filesystem | 16:20 |
tiagogomes_ | ERROR: device scan failed '/src/tmp/deployments/tmp3a9596/tmpokM3ph/tmpzTmGb_' - Block device required | 16:20 |
tiagogomes_ | is still deploying though | 16:20 |
pdar | root | 16:24 |
tiagogomes_ | sh: root: not found | 16:26 |
tiagogomes_ | clang works | 16:27 |
SotK | tiagogomes_: did the deployment work correctly then? | 16:30 |
tiagogomes_ | SotK yes, it succeed | 16:31 |
SotK | \o/ | 16:31 |
tiagogomes_ | but that "device scan failed" makes me apprehensive | 16:31 |
tiagogomes_ | can some review https://gerrit.baserock.org/#/c/910/ ? I submitted that patch assuming that there is interest in having clang in devtools | 16:34 |
SotK | tiagogomes_: I think that has started showing up (along with some other output elsewhere) because we no longer swallow the output, but I don't know if that error is a problem or not | 16:37 |
perryl | paulsher1ood: just sent a pull request for YBD fixing up some issues i had missed earlier, sorry i didn't pick them up sooner! | 16:37 |
paulsher1ood | perryl: merged! thanks! | 16:55 |
*** ssam2 has quit IRC | 16:59 | |
*** bashrc_ has quit IRC | 17:01 | |
*** Guest23609 has quit IRC | 17:02 | |
*** mariaderidder has quit IRC | 17:04 | |
*** lachlanmackenzie has quit IRC | 18:53 | |
*** zoli__ has quit IRC | 19:58 | |
*** cosm_ has joined #baserock | 20:19 | |
*** franred has joined #baserock | 20:23 | |
*** cosm has quit IRC | 20:23 | |
*** franred has quit IRC | 20:37 | |
jeak_ | OK | 23:21 |
*** cosm_ has quit IRC | 23:32 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!