#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
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to