Hi, I address you directly because I haven't received feedback on this from the zope-dev mailinglist and you have been the last ones touching code in Products/DateIndex. This test is breaking for me but not on Jeremys daily tests for Zope 2 on the HEAD: ====================================================================== FAIL: test_retrieval (Products.PluginIndexes.DateIndex.tests.test_DateIndex.DI_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ctheune/Development/Zope/Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py", line 184, in test_retrieval self.failUnlessEqual(len(index), len(values) - 2) # One dupe, one empty File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: 8 != 9 ---------------------------------------------------------------------- I tried debugging that but I don't know the internal interfaces of the PluginIndexes well enough to not waste time. I don't know which special information you could need. I'm running pretty everything standard (python 2.3, linux with 2.6.3 kernel). The Sandbox was compiled by: ./configure make make instance The test was run by python2.3 test.py This test is the only one that breaks and keeps me from checkin in several changes for quite a while already. Kind regards, Christian -- Christian Theune, gocept gmbh & co. kg http://www.gocept.com - ct@gocept.com fon: 03496 3099112 fax: 03496 3099118 mobile: 0179 7808366
Hi Christian. What are the (possibly) pertinent elements to the changes in your sandbox? Gary Christian Theune wrote:
Hi,
I address you directly because I haven't received feedback on this from the zope-dev mailinglist and you have been the last ones touching code in Products/DateIndex.
This test is breaking for me but not on Jeremys daily tests for Zope 2 on the HEAD:
====================================================================== FAIL: test_retrieval (Products.PluginIndexes.DateIndex.tests.test_DateIndex.DI_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ctheune/Development/Zope/Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py", line 184, in test_retrieval self.failUnlessEqual(len(index), len(values) - 2) # One dupe, one empty File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: 8 != 9
----------------------------------------------------------------------
I tried debugging that but I don't know the internal interfaces of the PluginIndexes well enough to not waste time.
I don't know which special information you could need. I'm running pretty everything standard (python 2.3, linux with 2.6.3 kernel).
The Sandbox was compiled by:
./configure make make instance
The test was run by
python2.3 test.py
This test is the only one that breaks and keeps me from checkin in several changes for quite a while already.
Kind regards, Christian
On Tue, 2004-03-02 at 21:28, Gary Poster wrote:
Hi Christian. What are the (possibly) pertinent elements to the changes in your sandbox?
Haven't been correlating to the problem which seems fixed by the changed test. The changes are two minor usability tweaks in the ZMI and the post traversal hook for Zope 2.8. Cheers, Christian -- Christian Theune, gocept gmbh & co. kg http://www.gocept.com - ct@gocept.com fon: 03496 3099112 fax: 03496 3099118 mobile: 0179 7808366
Christian Theune wrote:
Hi,
I address you directly because I haven't received feedback on this from the zope-dev mailinglist and you have been the last ones touching code in Products/DateIndex.
This test is breaking for me but not on Jeremys daily tests for Zope 2 on the HEAD:
====================================================================== FAIL: test_retrieval (Products.PluginIndexes.DateIndex.tests.test_DateIndex.DI_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ctheune/Development/Zope/Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py", line 184, in test_retrieval self.failUnlessEqual(len(index), len(values) - 2) # One dupe, one empty File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: 8 != 9
----------------------------------------------------------------------
I tried debugging that but I don't know the internal interfaces of the PluginIndexes well enough to not waste time.
I don't know which special information you could need. I'm running pretty everything standard (python 2.3, linux with 2.6.3 kernel).
The Sandbox was compiled by:
./configure make make instance
The test was run by
python2.3 test.py
This test is the only one that breaks and keeps me from checkin in several changes for quite a while already.
That test isn't broken for me on the HEAD. At a guess, I would bet that some change (re)introduced a sensitivity to timezones within the test; can you try running the test in an environment where the timezone is GMT? GMT-1? I think you are in GMT+1 land, right? Tres. -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com
That sounds possible. I added support of Python 2.3 datetime, and while I tried to handle alternate timezones correctly I may have failed. I'll try to look at this later today. Gary Tres Seaver wrote:
Christian Theune wrote:
Hi,
I address you directly because I haven't received feedback on this from the zope-dev mailinglist and you have been the last ones touching code in Products/DateIndex.
This test is breaking for me but not on Jeremys daily tests for Zope 2 on the HEAD:
====================================================================== FAIL: test_retrieval (Products.PluginIndexes.DateIndex.tests.test_DateIndex.DI_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ctheune/Development/Zope/Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py", line 184, in test_retrieval self.failUnlessEqual(len(index), len(values) - 2) # One dupe, one empty File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: 8 != 9
----------------------------------------------------------------------
I tried debugging that but I don't know the internal interfaces of the PluginIndexes well enough to not waste time.
I don't know which special information you could need. I'm running pretty everything standard (python 2.3, linux with 2.6.3 kernel).
The Sandbox was compiled by:
./configure make make instance
The test was run by
python2.3 test.py
This test is the only one that breaks and keeps me from checkin in several changes for quite a while already.
That test isn't broken for me on the HEAD. At a guess, I would bet that some change (re)introduced a sensitivity to timezones within the test; can you try running the test in an environment where the timezone is GMT? GMT-1? I think you are in GMT+1 land, right?
Tres.
Christian: I think I saw and fixed the problem, if your machine's local time is GMT. Could you please cvs up the test and see if the issue is resolved? Thanks Gary Tres Seaver wrote:
Christian Theune wrote:
Hi,
I address you directly because I haven't received feedback on this from the zope-dev mailinglist and you have been the last ones touching code in Products/DateIndex. ...
participants (3)
-
Christian Theune -
Gary Poster -
Tres Seaver