[Buildbot-commits] [Buildbot] #2148: buildbot.schedulers.trysched.BadJobfile: unable to parse netstrings

Buildbot nobody at buildbot.net
Thu Nov 17 01:08:08 UTC 2011


#2148: buildbot.schedulers.trysched.BadJobfile: unable to parse netstrings
----------------------+------------------------------------
Reporter:  mlakewood  |      Owner:
    Type:  defect     |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  0.8.4p2    |   Keywords:  NetString Buildbot Try
----------------------+------------------------------------
 Hi all,

 Im using buildbot try, using jobdir and ssh to submit builds to buildbot.
 Sometimes I get the following error/traceback in the twistd.log of the
 buildbot server and the job isnt run

 11-11-16 16:23:21+0800 [Broker,0,127.0.0.1] slave 'slave' attaching from
 IPv4Address(TCP, '127.0.0.1', 38491)
 2011-11-16 16:23:21+0800 [Broker,0,127.0.0.1] Starting buildslave
 keepalive timer for 'slave'
 2011-11-16 16:23:21+0800 [Broker,0,127.0.0.1] Got slaveinfo from 'slave'
 2011-11-16 16:23:21+0800 [Broker,0,127.0.0.1] bot attached
 2011-11-16 16:23:21+0800 [Broker,0,127.0.0.1] Buildslave slave attached to
 sws-build_try
 2011-11-16 16:23:21+0800 [Broker,0,127.0.0.1] Buildslave slave attached to
 sws-build
 2011-11-16 16:23:50+0800 [-] <buildbot.schedulers.trysched.Try_Jobdir
 instance at 0xa6d286c> reports a bad jobfile in
 1321431829-d57b4f44f31d2eea16e0a88732cdbce6
 2011-11-16 16:23:50+0800 [-] Unhandled Error
         Traceback (most recent call last):
           File "/usr/local/lib/python2.6/dist-
 packages/Twisted-11.0.0-py2.6-linux-i686.egg/twisted/internet/defer.py",
 line 964, in unwindGenerator
             return _deferGenerator(f(*args, **kwargs), Deferred())
           File "/usr/local/lib/python2.6/dist-
 packages/Twisted-11.0.0-py2.6-linux-i686.egg/twisted/internet/defer.py",
 line 866, in _deferGenerator
             result = g.next()
           File "/usr/local/lib/python2.6/dist-
 packages/buildbot/util/maildir.py", line 124, in poll
             wfd = defer.waitForDeferred(self.messageReceived(n))
           File "/usr/local/lib/python2.6/dist-
 packages/buildbot/schedulers/trysched.py", line 66, in messageReceived
             return self.parent.handleJobFile(filename, f)
         --- <exception caught here> ---
           File "/usr/local/lib/python2.6/dist-
 packages/buildbot/schedulers/trysched.py", line 148, in handleJobFile
             parsed_job = self.parseJob(f)
           File "/usr/local/lib/python2.6/dist-
 packages/buildbot/schedulers/trysched.py", line 100, in parseJob
             raise BadJobfile("unable to parse netstrings")
         buildbot.schedulers.trysched.BadJobfile: unable to parse
 netstrings

 I've sent the file and our config to djmitche that was helping out on the
 IRC channel. Our setup is

 Client Submitting job

 Ubuntu 10.04,
 python 2.6.5
 Twistd 10
 Buildbot 0.8.5

 Server
 Ubuntu 10.04
 python 2.6.5
 Twisted 11
 Buildbot 0.8.4p2

 Cheers
 Mark

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


More information about the Commits mailing list