Re: [Zope-dev] Zope Test Summaries 2006-04-05

2006-04-06 Thread Paul Winkler
On Thu, Apr 06, 2006 at 12:06:25PM -0400, Paul Winkler wrote:
> On Thu, Apr 06, 2006 at 10:45:11AM +0200, Stefan H. Holek wrote:
> > The VHM tests in Zope 2.9 and trunk broke last night:
> > 
> > http://mail.zope.org/pipermail/zope-tests/2006-April/004648.html
> > http://mail.zope.org/pipermail/zope-tests/2006-April/004649.html
> 
> I'm assuming this was me, but I ran test.py -q -all before checking in
> so I'm not sure how that happened. Investigating.

Must've run the tests in the wrong sandbox :-\

This failure was a side-effect of the changes I made:

- The unit tests in Products/Session were polluting os.environ
  with SERVER_NAME and SERVER_PORT keys.

- The unit tests in Products/SiteAccess were relying on the old
  behavior of Testing.makerequest to unconditionally set those
  keys in the request.

- My change allowed the values from the Sessions tests to show up
  in the SiteAccess tests.

I've fixed the Sessions tests to use a dict instead of os.environ.

But I'm also concerned that similarly indirect breakage might happen
in other projects if they use os.environ carelessly.

This part of my change was an effort to remove redundancy,
not a bugfix; so on second thought, given the demonstrated
potential for breakage in other test suites, it doesn't
belong on the stable 2.9 branch and I'll revert that change there.
But I'll leave it on the trunk.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope Test Summaries 2006-04-05

2006-04-06 Thread Andreas Jung



--On 6. April 2006 12:06:25 -0400 Paul Winkler <[EMAIL PROTECTED]> wrote:


On Thu, Apr 06, 2006 at 10:45:11AM +0200, Stefan H. Holek wrote:

The VHM tests in Zope 2.9 and trunk broke last night:

http://mail.zope.org/pipermail/zope-tests/2006-April/004648.html
http://mail.zope.org/pipermail/zope-tests/2006-April/004649.html





zope-tests? I've never seen that list :-) But this reminds of that I am 
missing mails from the buildbotnobody broke the the trunk/branches 
lately? Unbelieveble :-)


Andreas

pgpJkV028Jox3.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope Test Summaries 2006-04-05

2006-04-06 Thread Paul Winkler
On Thu, Apr 06, 2006 at 10:45:11AM +0200, Stefan H. Holek wrote:
> The VHM tests in Zope 2.9 and trunk broke last night:
> 
> http://mail.zope.org/pipermail/zope-tests/2006-April/004648.html
> http://mail.zope.org/pipermail/zope-tests/2006-April/004649.html

I'm assuming this was me, but I ran test.py -q -all before checking in
so I'm not sure how that happened. Investigating.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Test Summaries 2006-04-05

2006-04-06 Thread Stefan H. Holek
[We seem to have lost Steve Alexander's test summarizer. I will  
contact him in a separate mail.]


The switch to Python 2.3.4 caused tests for Zope 2.7 and 2.8 to  
experience a funny problem with the logging module. Anybody want to  
take a guess what's up here? I know these are not a truly "supported"  
configurations, but still.


http://mail.zope.org/pipermail/zope-tests/2006-April/004645.html
http://mail.zope.org/pipermail/zope-tests/2006-April/004647.html

The VHM tests in Zope 2.9 and trunk broke last night:

http://mail.zope.org/pipermail/zope-tests/2006-April/004648.html
http://mail.zope.org/pipermail/zope-tests/2006-April/004649.html

Stefan

--
Anything that happens, happens.  --Douglas Adams


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )