[Buildbot-commits] [Buildbot] #1026: buildbot_service.py broken in buildslave

Buildbot buildbot-devel at lists.sourceforge.net
Wed Oct 27 19:02:35 UTC 2010


#1026: buildbot_service.py broken in buildslave
-------------------+--------------------------------------------------------
Reporter:  djs     |       Owner:           
    Type:  defect  |      Status:  new      
Priority:  major   |   Milestone:  undecided
 Version:  0.8.2   |    Keywords:  windows  
-------------------+--------------------------------------------------------
 It doesn't seem like buildbot_service.py has been updated to fully support
 the new separated buildslave as a Windows service. buildbot_service.py is
 not installed in the Scripts directory by setup.py. If I attempt to
 manually install the service, following the instructions here:
 http://buildbot.net/trac/wiki/RunningBuildbotOnWindows

 I cannot get the service to start. It looks like it is still trying to
 load the old 0.8.0 buildslave module:

 C:\Python26>python c:\Python26\Scripts\buildbot_service.py debug
 Debugging service BuildBot - press Ctrl+C to stop.
 Info 0x40001002 - The BuildBot service has started (BuildBot).
 Info 0x400000FF - Starting BuildBot in directory 'C:\buildbot\cdes-qual-c'
 Warning 0x400000FF - BuildBot for directory 'C:\\buildbot\\cdes-qual-c'
 terminated with exit code 1.
 Traceback (most recent call last):
   File "C:\Python26\lib\site-packages\twisted\application\app.py", line
 693, in run
     runApp(config)
   File "C:\Python26\lib\site-packages\twisted\scripts\twistd.py", line 23,
 in runApp
     _SomeApplicationRunner(config).run()
   File "C:\Python26\lib\site-packages\twisted\application\app.py", line
 411, in run
     self.application = self.createOrGetApplication()
   File "C:\Python26\lib\site-packages\twisted\application\app.py", line
 494, in createOrGetApplication
     application = getApplication(self.config, passphrase)
 --- <exception caught here> ---
   File "C:\Python26\lib\site-packages\twisted\application\app.py", line
 505, in getApplication
     application = service.loadApplication(filename, style, passphrase)
   File "C:\Python26\lib\site-packages\twisted\application\service.py",
 line 390, in loadApplication
     application = sob.loadValueFromFile(filename, 'application',
 passphrase)
   File "C:\Python26\lib\site-packages\twisted\persisted\sob.py", line 210,
 in loadValueFromFile
     exec fileObj in d, d
   File "buildbot.tac", line 5, in <module>
     from buildbot.slave.bot import BuildSlave
 exceptions.ImportError: No module named buildbot.slave.bot

 Failed to load application: No module named buildbot.slave.bot


 Warning 0x400000FF - All BuildBot child processes have terminated.
 Service stopping.
 Info 0x40001004 - The BuildBot service has stopped (BuildBot).

-- 
Ticket URL: <http://buildbot.net/trac/ticket/1026>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list