[Twisted-Python] process changes causing buildbot failures on win7?

Glyph Lefkowitz glyph at twistedmatrix.com
Sat Oct 10 02:44:49 MDT 2015


Aaaaand, it's fixed :)

https://twistedmatrix.com/trac/ticket/8046#comment:4

Thanks!

-glyph

> On Oct 9, 2015, at 8:36 PM, Hawkie <hawkowl at atleastfornow.net> wrote:
> 
> It's because the Windows tests (that one) can't cope with spaces in the exe name, and now it's in a virtual env, that's popped up. 
> 
> The Python 3.5 branch has a fix for this, as the Windows 3.5 builder was the first to show this problem. 
> 
> -hawkie
> 
> On 10 Oct 2015 06:27, Glyph Lefkowitz <glyph at twistedmatrix.com> wrote:
>> 
>> These failures:
>> 
>>> ===============================================================================
>>> 
>>> [FAIL]
>>> 
>>> Traceback (most recent call last):
>>> 
>>>  File "C:\Users\Build Slave\bot-glyph-6\windows7-64-py2.7-select\Twisted\twisted\internet\test\test_process.py", line 361, in test_systemCallUninterruptedByChildExit
>>> 
>>>    self.assertEqual(result, ["Foo\n"])
>>> 
>>>  File "C:\Users\Build Slave\bot-glyph-6\windows7-64-py2.7-select\Twisted\twisted\trial\_synctest.py", line 437, in assertEqual
>>> 
>>>    super(_Assertions, self).assertEqual(first, second, msg)
>>> 
>>>  File "C:\Python27\Lib\unittest\case.py", line 513, in assertEqual
>>> 
>>>    assertion_func(first, second, msg=msg)
>>> 
>>>  File "C:\Python27\Lib\unittest\case.py", line 742, in assertListEqual
>>> 
>>>    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
>>> 
>>>  File "C:\Python27\Lib\unittest\case.py", line 724, in assertSequenceEqual
>>> 
>>>    self.fail(msg)
>>> 
>>> twisted.trial.unittest.FailTest: Lists differ: [''] != ['Foo\n']
>>> 
>>> 
>>> 
>>> First differing element 0:
>>> 
>>> 
>>> 
>>> Foo
>>> 
>>> 
>>> 
>>> 
>>> 
>>> - ['']
>>> 
>>> + ['Foo\n']
>>> 
>>> 
>>> 
>>> twisted.internet.test.test_process.ProcessTestsBuilder_IOCPReactorTests.test_systemCallUninterruptedByChildExit
>>> 
>>> twisted.internet.test.test_process.ProcessTestsBuilder_SelectReactorTests.test_systemCallUninterruptedByChildExit
>>> 
>>> twisted.internet.test.test_process.ProcessTestsBuilder_Win32ReactorTests.test_systemCallUninterruptedByChildExit
>>> 
>>> 
>> have started happening on the buildbot on trunk: https://buildbot.twistedmatrix.com/builders/windows7-64-py2.7/builds/5215/steps/select/logs/problems
>> 
>> soon after this change: http://twistedmatrix.com/trac/changeset/45725
>> 
>> Unfortunately the buildbot was in a kind of unrelated bad state when it landed, and the configuration is a bit different now, so I'm not sure if this is a regression or a configuration error.  But given that the change was about processes, and the failure is in the process test, I thought it might bear some investigation...
>> 
>> -glyph
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python





More information about the Twisted-Python mailing list