[Zope-dev] Re: buildbot failure in Zope branches 2.9 2.4 Windows 2000 zc-bbwin

Chris McDonough chrism at plope.com
Wed Dec 21 16:01:05 EST 2005


Hmmm... I *think* I just fixed this.


On Dec 21, 2005, at 3:48 PM, Tim Peters wrote:

> [Tim Peters]
>> ...
>> Failure in test test_checkPermission_proxy_roles_limit_access
>> (AccessControl.tests.testZopeSecurityPolicy.C_ZSPTests)
>> Traceback (most recent call last):
>>   File "c:\python24\lib\unittest.py", line 260, in run
>>     testMethod()
>>   File "C:\buildbot\.org\zc-bbwin--Windows2000--Zope---trunk--2.4 
>> \build\lib\python\AccessControl\tests\testZopeSecurityPolicy.py",
>> line 302, in test_checkPermission_proxy_roles_limit_access
>>     self.failIf(self.policy.checkPermission('Foo', r_item, context))
>>   File "c:\python24\lib\unittest.py", line 305, in failIf
>>     if expr: raise self.failureException, msg
>> AssertionError
>> ...
>> I don't have time to look at it.  Since the Windows buildbot slave
>> `bbwin` doesn't have a C compiler, I suppose it's possible that the
>> old, canned .pyd files it uses are out of synch with the current C
>> code.
>
> That was the problem.  Turns out `bbwin` does have a compiler, but the
> buildbot recipe didn't use it.  After Jim fixed that, we have another
> Windows-specific failure, in new code from ChrisM (this is on Zope
> trunk, of course):
>
> Failure in test test_get_env  
> (ZServer.tests.test_clockserver.ClockServerTests)
> Traceback (most recent call last):
>   File "c:\python24\lib\unittest.py", line 260, in run
>     testMethod()
>   File "C:\buildbot\.org\zc-bbwin--Windows
> 2000--Zope---trunk--2.4\build\lib\python\ZServer\tests 
> \test_clockserver.py",
> line 87, in test_get_env
>     self.assertEqual(env['PATH_TRANSLATED'], '/a /b')
>   File "c:\python24\lib\unittest.py", line 333, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '\\a \\b' != '/a /b'
>



More information about the Zope-Dev mailing list