[Buildbot-commits] [Buildbot] #1021: periodic failures on XP metabbot slaves: TestShellCommand.testCommandMaxTime

Buildbot buildbot-devel at lists.sourceforge.net
Sat Oct 23 00:36:01 UTC 2010


#1021: periodic failures on XP metabbot slaves:
TestShellCommand.testCommandMaxTime
-------------------+--------------------------------------------------------
Reporter:  dustin  |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  0.8.2
 Version:  0.8.1   |    Keywords:       
-------------------+--------------------------------------------------------
 {{{
 [FAIL]:
 buildslave.test.unit.test_slave_commands_base.TestShellCommand.testCommandMaxTime

 Traceback (most recent call last):
   File "c:\mozilla-build\python\lib\site-
 packages\buildbot_slave-0.8.1-py2.6.egg\buildslave\test\unit\test_slave_commands_base.py",
 line 152, in check
     self.failUnless({'rc': FATAL_RC} in b.updates, ppupdates(b.updates))
 twisted.trial.unittest.FailTest: [{'header': 'sleep 10; echo hello\n in
 dir test_slave_commands_base.shellcommand.maxtime\n watching logfiles {}\n
 argv: sleep 10; echo hello\n environment:\n  ALLUSERSPROFILE=C:\\Documents
 and Settings\\All Users\n  APPDATA=C:\\Documents and
 Settings\\buildbot\\Application Data\n  BB_BUILDSLAVE="c:\\mozilla-
 build\\python\\Scripts\\buildslave" \n  BB_PYTHON="c:\\mozilla-
 build\\python\\Scripts\\..\\python"\n  CLIENTNAME=Lorentz\n
 COMMONPROGRAMFILES=C:\\Program Files\\Common Files\n  COMPUTERNAME=CM-
 BBOT-XP-002\n  COMSPEC=C:\\WINDOWS\\system32\\cmd.exe\n
 FP_NO_HOST_CHECK=NO\n  HOMEDRIVE=C:\n  HOMEPATH=\\Documents and
 Settings\\buildbot\n  LOGONSERVER=\\\\CM-BBOT-XP-002\n
 NUMBER_OF_PROCESSORS=2\n  OS=Windows_NT\n
 PATH=C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;c:\\Program
 Files\\gnuwin32\\bin;c:\\mozilla-build\\Python\\;c:\\mozilla-
 build\\Python\\scripts;C:\\Program Files\\Git\\cmd\n
 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH\n
 PROCESSOR_ARCHITECTURE=x86\n  PROCESSOR_IDENTIFIER=x86 Family 6 Model 14
 Stepping 8, GenuineIntel\n  PROCESSOR_LEVEL=6\n  PROCESSOR_REVISION=0e08\n
 PROGRAMFILES=C:\\Program Files\n  PROMPT=$P$G\n  PWD=C:\\slave\\slave-cm-
 bbot-
 xp-002\\build\\slave\\_trial_temp\\test_slave_commands_base.shellcommand.maxtime\n
 PYTHONPATH=.;\n  PYTHON_EGG_CACHE=../\n  SESSIONNAME=RDP-Tcp#4\n
 SYSTEMDRIVE=C:\n  SYSTEMROOT=C:\\WINDOWS\n
 TEMP=C:\\DOCUME~1\\buildbot\\LOCALS~1\\Temp\n
 TMP=C:\\DOCUME~1\\buildbot\\LOCALS~1\\Temp\n  USERDOMAIN=CM-BBOT-XP-002\n
 USERNAME=buildbot\n  USERPROFILE=C:\\Documents and Settings\\buildbot\n
 WINDIR=C:\\WINDOWS\n closing stdin\n using PTY: False\n'},
  {'header': '\ncommand timed out: 5 seconds elapsed, killing pid 3092\n'},
  {'rc': 0},
  {'header': 'elapsedTime=6.000000\n'}]
 -------------------------------------------------------------------------------
 }}}

 and, buried in the logfile:

 {{{
 2010-10-22 17:32:40-0700 [-] Unhandled Error
         Traceback (most recent call last):
           File "c:\mozilla-build\python\lib\site-
 packages\twisted\trial\unittest.py", line 733, in _run
             self.getSuppress(), method)
           File "c:\mozilla-build\python\lib\site-
 packages\twisted\internet\defer.py", line 125, in maybeDeferred
             result = f(*args, **kw)
           File "c:\mozilla-build\python\lib\site-
 packages\twisted\internet\utils.py", line 191, in
 runWithWarningsSuppressed
             result = f(*a, **kw)
           File "c:\mozilla-build\python\lib\site-
 packages\buildbot_slave-0.8.1-py2.6.egg\buildslave\test\unit\test_slave_commands_base.py",
 line 162, in testBadCommand
             d = s.start()
         --- <exception caught here> ---
           File "c:\mozilla-build\python\lib\site-
 packages\buildbot_slave-0.8.1-py2.6.egg\buildslave\commands\base.py", line
 399, in start
             self._startCommand()
           File "c:\mozilla-build\python\lib\site-
 packages\buildbot_slave-0.8.1-py2.6.egg\buildslave\commands\base.py", line
 412, in _startCommand
             if not os.path.isdir(self.workdir):
           File "c:\mozilla-build\python\lib\genericpath.py", line 41, in
 isdir
             st = os.stat(s)
         exceptions.TypeError: coercing to Unicode: need string or buffer,
 int found
 }}}

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


More information about the Commits mailing list