Team Chat Logs

March 16, 2010

2010 2
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

[04:02:14.715284]<napsy>Hello. I have some problems with configuring the bitten slave to start a build. Can anyone help?
[04:03:06.963665]<osimons>napsy: use -v as commandline option (for verbose logging), and tell us what you see
[04:03:17.763835]<napsy>just a sec
[04:04:00.698515]<napsy>http://pastebin.com/eHqTH9cQ
[04:05:46.567534]<osimons>napsy: no pending builds - which then seems to indicate your config is not enabled, or your slave does not match a platform for the build, or that there are no actual new revisions in the repos to build
[04:07:20.055864]<napsy>well if I go to "Build Status" in trac I see "1 pending build" for my project
[04:08:17.342541]<napsy>first I thought the names in slave and master mismatch but the names are the same
[04:08:53.183385]<napsy>how does the master know which slave to use? By hostname?
[04:11:25.378638]<osimons>napsy: that is the platforms section in the build config - you define your platforms with the criteria you want. in admin, what does your platforms say?
[04:11:39.762705]<osimons>(it is part of the build configuration admin page)
[04:12:20.740163]<napsy>I have 1 platform with the name "linux"
[04:12:35.910807]<osimons>and does that platform have any rules associated?
[04:12:39.365475]<napsy>http://pastebin.com/uEFzyPww
[04:12:42.790100]<napsy>yes
[04:13:27.942571]<napsy>http://pastebin.com/mMZw4nsc
[04:13:47.798619]<napsy>this is my recipe
[04:13:58.311748]<osimons>if you don't need all the rules, then just remove them. also, they are case-insensitive matches. so Linux != linux...
[04:15:11.923369]<osimons>napsy: when developing recipes, i ususally start with just a 'any' platform that do not have any rules (so it will match any slave). then when you start differentiating, you just need the minimum number of rules to differentiate.
[04:16:12.042791]<napsy>ok I'll remove some rules
[04:17:12.459775]<napsy>cool it works now
[04:17:35.820523]<napsy>I now have only the name rule
[04:17:48.253229]<napsy>there was probably some mismatch
[04:20:05.636984]<napsy>thanks
[04:20:56.449423]<osimons>napsy: the verbose logging shows you what it sends, so the things that gets evaluated at server is from here: Sending slave configuration: <slave version="2" name="Linux"><platform processor="intel64">x86_64</platform><os version="2.6.28-16-generic" family="posix">linux</os></slave>
[04:21:54.647541]<napsy>ok
[04:29:34.655591]<asmodai>osimons: if you need inspiration: http://phpundercontrol.org/ -- using that at work, seems quite interesting from what I saw so far.
[04:34:38.089870]<napsy>I have another problem with recipe .. I added "<c:make target="compile" file="Makefile" />" but trac gives "Warning: Failure parsing recipe: unbound prefix: line 8, column 0."
[04:34:57.517017]<osimons>thanks, asmodai. was not aware of that one.
[04:35:18.467828]<osimons>napsy: it is xml, so you need to declare the c: namespace
[04:35:43.865392]<napsy>isn't c: the command that bitten supports?
[04:36:03.843086]<osimons>http://bitten.edgewall.org/wiki/Documentation/commands.html
[04:36:45.085227]<osimons>each main tool has its own namespace. so there is one for svn:, one for python: and so on. you are using the one for C tools, and need to declare that
[04:36:57.470744]<napsy>oh ok I aded the namespace
[04:37:01.434737]<napsy>it works now