<div dir="ltr"><div><div>Yes, the buildbot.tac was generated. The contents are:<br><br> import os<br><br> from twisted.application import service<br> from buildbot.master import BuildMaster<br><br> basedir = '/usr/local/myproject/src/buildbot/master'<br> rotateLength = 10000000<br> maxRotatedFiles = 10<br> configfile = 'master.cfg'<br><br> # Default umask for server<br> umask = None<br><br> # if this is a relocatable tac file, get the directory containing the TAC<br> if basedir == '.':<br> import os.path<br> basedir = os.path.abspath(os.path.dirname(__file__))<br><br> # note: this line is matched against to check that this is a buildmaster<br> # directory; do not edit it.<br> application = service.Application('buildmaster')<br> from twisted.python.logfile import LogFile<br> from twisted.python.log import ILogObserver, FileLogObserver<br> logfile = LogFile.fromFullPath(os.path.join(basedir, "twistd.log"), rotateLength=rotateLength,<br> maxRotatedFiles=maxRotatedFiles)<br> application.setComponent(ILogObserver, FileLogObserver(logfile).emit)<br><br> m = BuildMaster(basedir, configfile, umask)<br> m.setServiceParent(application)<br> m.log_rotation.rotateLength = rotateLength<br> m.log_rotation.maxRotatedFiles = maxRotatedFiles<br><br></div>I'm using Buildbot version 0.8.12.<br><br></div>When that didn't work, I tried using the version in the repo, which I believe is 0.8.8-1.1 on Ubuntu 14. That didn't work either, but at least it gave me an error message in its twistd.log complaining about it being unable to import plugins. I'm assuming the master/slave code generated with 0.8.12 isn't compatible with 0.8.8.<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 21, 2015 at 4:51 PM, Vasily <span dir="ltr"><<a href="mailto:just.one.man@yandex.ru" target="_blank">just.one.man@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi Chris, </p>
<p dir="ltr">First thing to check when such message appears is whether buildbot.tac file is present in your master directory. </p>
<p dir="ltr">P.S. What Buildbot version are you using? </p>
<p dir="ltr">Thanks, <br>
Vasily</p>
<div class="gmail_quote">21 дек. 2015 г. 23:57 пользователь "Chris Spencer" <<a href="mailto:chrisspen@gmail.com" target="_blank">chrisspen@gmail.com</a>> написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>I ran through the steps in the tutorial (<a href="http://docs.buildbot.net/current/tutorial/firstrun.html" target="_blank">http://docs.buildbot.net/current/tutorial/firstrun.html</a>)<br></div>and was able to get Buildbot running.<br><br></div>However, when I rebuilt the virtualenv on an Ubuntu VM and rsynced up my custom configuration folder, buildbot appears unable to start.<br><br></div>If I activate my virtualenv and then run `buildbot start master` all I get is:<br><br> Following twistd.log until startup finished..<br><br> The buildmaster took more than 10 seconds to start, so we were unable to<br> confirm that it started correctly. Please 'tail twistd.log' and look for a<br> line that says 'BuildMaster is Running' to verify correct startup.<br><br></div>A twistd.log file is generated, but nothing is ever written to it and `ps aux|grep -i twist` shows nothing running.<br><br></div>How do I diagnose this problem? How do I run buildbot in non-daemon mode so I can see whatever error it's running into?<br></div>
<br></div></div><span class="">_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br></span></blockquote></div>
</blockquote></div><br></div>