[Buildbot-commits] [SPAM] [Buildbot] #835: fix windows test failures

Buildbot buildbot-devel at lists.sourceforge.net
Thu May 13 01:08:38 UTC 2010


#835: fix windows test failures
---------------------+------------------------------------------------------
Reporter:  dustin    |       Owner:       
    Type:  defect    |      Status:  new  
Priority:  critical  |   Milestone:  0.8.1
 Version:  0.7.12    |    Keywords:       
---------------------+------------------------------------------------------
 Now that maruel has set up two windows slaves, we need to get their test
 failures fixed.  This is not a 0.8.0 blocker!

 {{{
 [FAIL]:
 buildbot.test.unit.test_db_dbspec.DBSpec.test_fromURL_sqlitePercentSub

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_db_dbspec.py", line 42, in
 test_fromURL_sqlitePercentSub
     connargs=(os.path.join(basedir, "x/state.sqlite"),))
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_db_dbspec.py", line 30, in
 failUnlessConnection
     raise unittest.FailTest("; ".join(errs))
 twisted.trial.unittest.FailTest: unexpected connargs:
 ('/foo/bar/x/state.sqlite',), expected ('/foo/bar\\x/state.sqlite',)
 ===============================================================================
 [FAIL]:
 buildbot.test.unit.test_slave_commands_base.TestShellCommand.testCommandMaxTime

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_slave_commands_base.py", line 151,
 in check
     self.failUnless({'rc': -1} in b.updates, 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:\\ProgramData\n
 APPDATA=C:\\Users\\user\\AppData\\Roaming\n  CLIENTNAME=MARUEL-Z600\n
 COMMONPROGRAMFILES=C:\\Program Files (x86)\\Common Files\n
 COMMONPROGRAMFILES(X86)=C:\\Program Files (x86)\\Common Files\n
 COMMONPROGRAMW6432=C:\\Program Files\\Common Files\n
 COMPUTERNAME=WIN7-BB\n  COMSPEC=C:\\Windows\\system32\\cmd.exe\n
 FP_NO_HOST_CHECK=NO\n  HOMEDRIVE=C:\n  HOMEPATH=\\Users\\user\n
 LOCALAPPDATA=C:\\Users\\user\\AppData\\Local\n  LOGONSERVER=\\\\WIN7-BB\n
 NUMBER_OF_PROCESSORS=2\n  OS=Windows_NT\n  PATH=C:\\Program Files
 (x86)\\CollabNet\\Subversion
 Client;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\python26;c:\\python26\\scripts;C:\\Program
 Files (x86)\\Git\\bin\n
 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC\n
 PROCESSOR_ARCHITECTURE=x86\n  PROCESSOR_ARCHITEW6432=AMD64\n
 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 6, GenuineIntel\n
 PROCESSOR_LEVEL=6\n  PROCESSOR_REVISION=0f06\n
 PROGRAMDATA=C:\\ProgramData\n  PROGRAMFILES=C:\\Program Files (x86)\n
 PROGRAMFILES(X86)=C:\\Program Files (x86)\n  PROGRAMW6432=C:\\Program
 Files\n  PROMPT=$P$G\n
 PSMODULEPATH=C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\\n
 PUBLIC=C:\\Users\\Public\n  PWD=C:\\slave\\slave-
 win7-py26\\build\\_trial_temp\\test_slave_commands_base.shellcommand.maxtime\n
 PYTHONPATH=.;.\n  PYTHON_EGG_CACHE=../\n  SESSIONNAME=RDP-Tcp#0\n
 SYSTEMDRIVE=C:\n  SYSTEMROOT=C:\\Windows\n
 TEMP=C:\\Users\\user\\AppData\\Local\\Temp\n
 TMP=C:\\Users\\user\\AppData\\Local\\Temp\n  USERDOMAIN=win7-bb\n
 USERNAME=user\n  USERPROFILE=C:\\Users\\user\n  WINDIR=C:\\Windows\n
 closing stdin\n using PTY: False\n'}, {'header': '\ncommand timed out: 5
 seconds elapsed, killing pid 980\n'}, {'rc': 1}, {'header':
 'elapsedTime=6.000000\n'}]
 ===============================================================================
 [FAIL]:
 buildbot.test.unit.test_slave_commands_base.TestShellCommand.testCommandTimeout

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_slave_commands_base.py", line 137,
 in check
     self.failUnless({'rc': -1} in b.updates, b.updates)
 twisted.trial.unittest.FailTest: [{'header': 'sleep 10; echo hello\n in
 dir test_slave_commands_base.shellcommand.timeout (timeout 5 secs)\n
 watching logfiles {}\n argv: sleep 10; echo hello\n environment:\n
 ALLUSERSPROFILE=C:\\ProgramData\n
 APPDATA=C:\\Users\\user\\AppData\\Roaming\n  CLIENTNAME=MARUEL-Z600\n
 COMMONPROGRAMFILES=C:\\Program Files (x86)\\Common Files\n
 COMMONPROGRAMFILES(X86)=C:\\Program Files (x86)\\Common Files\n
 COMMONPROGRAMW6432=C:\\Program Files\\Common Files\n
 COMPUTERNAME=WIN7-BB\n  COMSPEC=C:\\Windows\\system32\\cmd.exe\n
 FP_NO_HOST_CHECK=NO\n  HOMEDRIVE=C:\n  HOMEPATH=\\Users\\user\n
 LOCALAPPDATA=C:\\Users\\user\\AppData\\Local\n  LOGONSERVER=\\\\WIN7-BB\n
 NUMBER_OF_PROCESSORS=2\n  OS=Windows_NT\n  PATH=C:\\Program Files
 (x86)\\CollabNet\\Subversion
 Client;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\python26;c:\\python26\\scripts;C:\\Program
 Files (x86)\\Git\\bin\n
 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC\n
 PROCESSOR_ARCHITECTURE=x86\n  PROCESSOR_ARCHITEW6432=AMD64\n
 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 6, GenuineIntel\n
 PROCESSOR_LEVEL=6\n  PROCESSOR_REVISION=0f06\n
 PROGRAMDATA=C:\\ProgramData\n  PROGRAMFILES=C:\\Program Files (x86)\n
 PROGRAMFILES(X86)=C:\\Program Files (x86)\n  PROGRAMW6432=C:\\Program
 Files\n  PROMPT=$P$G\n
 PSMODULEPATH=C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\\n
 PUBLIC=C:\\Users\\Public\n  PWD=C:\\slave\\slave-
 win7-py26\\build\\_trial_temp\\test_slave_commands_base.shellcommand.timeout\n
 PYTHONPATH=.;.\n  PYTHON_EGG_CACHE=../\n  SESSIONNAME=RDP-Tcp#0\n
 SYSTEMDRIVE=C:\n  SYSTEMROOT=C:\\Windows\n
 TEMP=C:\\Users\\user\\AppData\\Local\\Temp\n
 TMP=C:\\Users\\user\\AppData\\Local\\Temp\n  USERDOMAIN=win7-bb\n
 USERNAME=user\n  USERPROFILE=C:\\Users\\user\n  WINDIR=C:\\Windows\n
 closing stdin\n using PTY: False\n'}, {'header': '\ncommand timed out: 5
 seconds without output, killing pid 2436\n'}, {'rc': 1}, {'header':
 'elapsedTime=6.000000\n'}]
 ===============================================================================
 [FAIL]:
 buildbot.test.unit.test_slave_commands_base.TestShellCommand.testKeepStderr

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_slave_commands_base.py", line 97,
 in check
     self.failUnless({'stderr': 'hello\n'} in b.updates)
 twisted.trial.unittest.FailTest: None
 ===============================================================================
 [FAIL]:
 buildbot.test.unit.test_slave_commands_base.TestShellCommand.testKeepStdout

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_slave_commands_base.py", line 110,
 in check
     self.failUnless({'stdout': 'hello\n'} in b.updates)
 twisted.trial.unittest.FailTest: None
 ===============================================================================
 [FAIL]:
 buildbot.test.unit.test_slave_commands_base.TestShellCommand.testStart

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_slave_commands_base.py", line 36,
 in check
     self.failUnless({'stdout': 'hello\n'} in b.updates)
 twisted.trial.unittest.FailTest: None

 ===============================================================================
 [FAIL]:
 buildbot.test.unit.test_slave_commands_base.TestShellCommand.testStderr

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_slave_commands_base.py", line 73,
 in check
     self.failIf({'stderr': 'hello\n'} not in b.updates)
 twisted.trial.unittest.FailTest: None
 ===============================================================================
 [FAIL]:
 buildbot.test.unit.test_slave_commands_base.TestShellCommand.testStringCommand

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_slave_commands_base.py", line 123,
 in check
     self.failUnless({'stdout': 'hello\n'} in b.updates)
 twisted.trial.unittest.FailTest: None
 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_change_properties.TestChangeProperties.testDBGetChangeByNumber


 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\regressions\test_change_properties.py", line
 31, in tearDown
     shutil.rmtree(self.basedir)
   File "c:\Python26\lib\shutil.py", line 221, in rmtree
     onerror(os.remove, fullname, sys.exc_info())
   File "c:\Python26\lib\shutil.py", line 219, in rmtree
     os.remove(fullname)
 exceptions.WindowsError: [Error 32] Le processus ne peut pas acc�r au
 fichier car ce fichier est utilis�ar un autre processus:
 'ChangeProperties\\state.sqlite'
 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_change_properties.TestChangeProperties.testDBGetChangeNumberedNow

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\regressions\test_change_properties.py", line
 18, in setUp
     shutil.rmtree(self.basedir)
   File "c:\Python26\lib\shutil.py", line 221, in rmtree
     onerror(os.remove, fullname, sys.exc_info())
   File "c:\Python26\lib\shutil.py", line 219, in rmtree
     os.remove(fullname)
 exceptions.WindowsError: [Error 32] Le processus ne peut pas acc�r au
 fichier car ce fichier est utilis�ar un autre processus:
 'ChangeProperties\\state.sqlite'
 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_import_unicode_changes.TestUnicodeChanges.testAsciiChange

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\regressions\test_import_unicode_changes.py",
 line 71, in testAsciiChange
     sm.upgrade(quiet=True)
   File "C:\slave\slave-win7-py26\build\buildbot\db\schema\manager.py",
 line 56, in upgrade
     upg.upgrade()
   File "C:\slave\slave-win7-py26\build\buildbot\db\schema\v1.py", line
 246, in upgrade
     self.migrate_changes()
   File "C:\slave\slave-win7-py26\build\buildbot\db\schema\v1.py", line
 317, in migrate_changes
     source = cPickle.load(open(changes_pickle,"rb"))
 exceptions.ImportError: No module named test_import_unicode_changes

 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_import_unicode_changes.TestUnicodeChanges.testNonUnicodeChange

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\regressions\test_import_unicode_changes.py",
 line 24, in setUp
     shutil.rmtree(self.basedir)
   File "c:\Python26\lib\shutil.py", line 221, in rmtree
     onerror(os.remove, fullname, sys.exc_info())
   File "c:\Python26\lib\shutil.py", line 219, in rmtree
     os.remove(fullname)
 exceptions.WindowsError: [Error 32] Le processus ne peut pas acc�r au
 fichier car ce fichier est utilis�ar un autre processus:
 'UnicodeChanges\\state.sqlite'
 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_import_unicode_changes.TestUnicodeChanges.testUTF16Change

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\regressions\test_import_unicode_changes.py",
 line 94, in testUTF16Change
     sm.upgrade(quiet=True)
   File "C:\slave\slave-win7-py26\build\buildbot\db\schema\manager.py",
 line 56, in upgrade
     upg.upgrade()
   File "C:\slave\slave-win7-py26\build\buildbot\db\schema\v1.py", line
 246, in upgrade
     self.migrate_changes()
   File "C:\slave\slave-win7-py26\build\buildbot\db\schema\v1.py", line
 317, in migrate_changes
     source = cPickle.load(open(changes_pickle,"rb"))
 exceptions.ImportError: No module named changes

 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_import_unicode_changes.TestUnicodeChanges.testUnicodeChange

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\regressions\test_import_unicode_changes.py",
 line 24, in setUp
     shutil.rmtree(self.basedir)
   File "c:\Python26\lib\shutil.py", line 221, in rmtree
     onerror(os.remove, fullname, sys.exc_info())
   File "c:\Python26\lib\shutil.py", line 219, in rmtree
     os.remove(fullname)
 exceptions.WindowsError: [Error 32] Le processus ne peut pas acc�r au
 fichier car ce fichier est utilis�ar un autre processus:
 'UnicodeChanges\\state.sqlite'
 ===============================================================================
 [ERROR]:
 buildbot.test.unit.test_db_dbspec.DBSpec.test_fromURL_sqliteAbsolutePathNoBasedir

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_db_dbspec.py", line 51, in
 test_fromURL_sqliteAbsolutePathNoBasedir
     d = dbspec.DBSpec.from_url("sqlite:////tmp/state.sqlite")
   File "C:\slave\slave-win7-py26\build\buildbot\db\dbspec.py", line 146,
 in from_url
     database = os.path.join(basedir, database)
   File "c:\Python26\lib\ntpath.py", line 82, in join
     if path[1:2] != ":" or b[1:2] == ":":
 exceptions.TypeError: 'NoneType' object is unsubscriptable
 ===============================================================================
 [ERROR]: buildbot.test.unit.test_db_dbspec.DBSpec.test_fromURL_sqliteArgs

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_db_dbspec.py", line 61, in
 test_fromURL_sqliteArgs
     d = dbspec.DBSpec.from_url("sqlite:////tmp/state.sqlite?foo=bar")
   File "C:\slave\slave-win7-py26\build\buildbot\db\dbspec.py", line 146,
 in from_url
     database = os.path.join(basedir, database)
   File "c:\Python26\lib\ntpath.py", line 82, in join
     if path[1:2] != ":" or b[1:2] == ":":
 exceptions.TypeError: 'NoneType' object is unsubscriptable
 ===============================================================================
 [ERROR]:
 buildbot.test.unit.test_db_schema_master.DBSchemaManager.test_upgrade_full

 Traceback (most recent call last):
   File "C:\slave\slave-
 win7-py26\build\buildbot\test\unit\test_db_schema_master.py", line 200, in
 test_upgrade_full
     self.sm.upgrade(quiet=True)
   File "C:\slave\slave-win7-py26\build\buildbot\db\schema\manager.py",
 line 56, in upgrade
     upg.upgrade()
   File "C:\slave\slave-win7-py26\build\buildbot\db\schema\v1.py", line
 246, in upgrade
     self.migrate_changes()
   File "C:\slave\slave-win7-py26\build\buildbot\db\schema\v1.py", line
 317, in migrate_changes
     source = cPickle.load(open(changes_pickle,"rb"))
 exceptions.ImportError: No module named copy_reg

 [ERROR]:
 buildbot.test.regressions.test_change_properties.TestChangeProperties.testDBGetChangeByNumber

 Traceback (most recent call last):
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/test/regressions/test_change_properties.py",
 line 24, in setUp
     self.sm.upgrade()
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/db/schema/manager.py", line 56, in upgrade
     upg.upgrade()
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/db/schema/v2.py", line 9, in upgrade
     self.set_version()
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/db/schema/v2.py", line 32, in set_version
     c.execute("""UPDATE version set version = 2 where version = 1""")
 pysqlite2.dbapi2.OperationalError: unable to open database file
 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_change_properties.TestChangeProperties.testDBGetChangeNumberedNow

 Traceback (most recent call last):
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/test/regressions/test_change_properties.py",
 line 18, in setUp
     shutil.rmtree(self.basedir)
   File "/usr/lib/python2.5/shutil.py", line 180, in rmtree
     onerror(os.remove, fullname, sys.exc_info())
   File "/usr/lib/python2.5/shutil.py", line 178, in rmtree
     os.remove(fullname)
 exceptions.OSError: [Errno 16] Device or resource busy:
 'ChangeProperties/state.sqlite'
 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_import_unicode_changes.TestUnicodeChanges.testAsciiChange

 Traceback (most recent call last):
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/test/regressions/test_import_unicode_changes.py",
 line 71, in testAsciiChange
     sm.upgrade(quiet=True)
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/db/schema/manager.py", line 56, in upgrade
     upg.upgrade()
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/db/schema/v2.py", line 9, in upgrade
     self.set_version()
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/db/schema/v2.py", line 32, in set_version
     c.execute("""UPDATE version set version = 2 where version = 1""")
 pysqlite2.dbapi2.OperationalError: unable to open database file
 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_import_unicode_changes.TestUnicodeChanges.testNonUnicodeChange

 Traceback (most recent call last):
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/test/regressions/test_import_unicode_changes.py",
 line 24, in setUp
     shutil.rmtree(self.basedir)
   File "/usr/lib/python2.5/shutil.py", line 180, in rmtree
     onerror(os.remove, fullname, sys.exc_info())
   File "/usr/lib/python2.5/shutil.py", line 178, in rmtree
     os.remove(fullname)
 exceptions.OSError: [Errno 16] Device or resource busy:
 'UnicodeChanges/state.sqlite'
 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_import_unicode_changes.TestUnicodeChanges.testUTF16Change

 Traceback (most recent call last):
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/test/regressions/test_import_unicode_changes.py",
 line 24, in setUp
     shutil.rmtree(self.basedir)
   File "/usr/lib/python2.5/shutil.py", line 180, in rmtree
     onerror(os.remove, fullname, sys.exc_info())
   File "/usr/lib/python2.5/shutil.py", line 178, in rmtree
     os.remove(fullname)
 exceptions.OSError: [Errno 16] Device or resource busy:
 'UnicodeChanges/state.sqlite'
 ===============================================================================
 [ERROR]:
 buildbot.test.regressions.test_import_unicode_changes.TestUnicodeChanges.testUnicodeChange

 Traceback (most recent call last):
   File "/home/user/slave/slave-xp-
 cygwin-1.7/build/buildbot/test/regressions/test_import_unicode_changes.py",
 line 24, in setUp
     shutil.rmtree(self.basedir)
   File "/usr/lib/python2.5/shutil.py", line 180, in rmtree
     onerror(os.remove, fullname, sys.exc_info())
   File "/usr/lib/python2.5/shutil.py", line 178, in rmtree
     os.remove(fullname)
 exceptions.OSError: [Errno 16] Device or resource busy:
 'UnicodeChanges/state.sqlite'
 }}}

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


More information about the Commits mailing list