Re: [Zope-dev] Zope Tests: 72 OK, 7 Failed

2010-12-12 Thread Adam GROSZER
Hello Tres,

Saturday, December 11, 2010, 6:17:10 PM, you wrote:

TS -BEGIN PGP SIGNED MESSAGE-
TS Hash: SHA1

TS On 12/11/2010 06:58 AM, Zope Tests Summarizer wrote:

 Subject: FAILED : winbot / ztk_10 py_244_win32
 From: buildbot at winbot.zope.org
 Date: Fri Dec 10 16:01:43 EST 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026226.html

TS This one is weird, and has been broken for ever.  I have no idea how to
TS fix it.

It's some sort of race condition between threads or processes, it
passes sometimes.
I guess we'll just stop testing for py2.4 soon.


-- 
Best regards,
 Adam GROSZERmailto:agros...@gmail.com
--
Quote of the day:
All I want is a warm bed and a kind word and unlimited power

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



[Zope-dev] Zope Tests: 72 OK, 7 Failed

2010-12-11 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Fri Dec 10 12:00:00 2010 UTC to Sat Dec 11 12:00:00 2010 UTC.
There were 79 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 19 from 
buildbot at winbot.zope.org, 11 from ccomb at free.fr, 37 from jdriessen at 
thehealthagency.com.


Test failures
-

Subject: FAILED : winbot / ztk_10 py_244_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 16:01:43 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026226.html

Subject: FAILED : Zope Buildbot / zopetoolkit-1.0_win-py2.5 slave-win
From: jdriessen at thehealthagency.com
Date: Fri Dec 10 19:21:17 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026240.html

Subject: FAILED : Zope Buildbot / zopetoolkit_win-py2.5 slave-win
From: jdriessen at thehealthagency.com
Date: Fri Dec 10 19:34:31 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026247.html

Subject: FAILED : ZTK 1.0 / Python2.6.5 Linux 64bit
From: ccomb at free.fr
Date: Fri Dec 10 19:46:32 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026252.html

Subject: FAILED : ZTK 1.0dev / Python2.4.6 Linux 64bit
From: ccomb at free.fr
Date: Fri Dec 10 22:07:27 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026293.html

Subject: FAILED : ZTK 1.0dev / Python2.6.5 Linux 64bit
From: ccomb at free.fr
Date: Fri Dec 10 22:08:05 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026294.html

Subject: FAILED : ZTK 1.0dev / Python2.5.5 Linux 64bit
From: ccomb at free.fr
Date: Fri Dec 10 22:08:11 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026295.html


Tests passed OK
---

Subject: OK : winbot / ztk_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 15:18:32 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026221.html

Subject: OK : winbot / ztk_dev py_265_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 15:26:50 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026222.html

Subject: OK : winbot / ztk_dev py_265_win64
From: buildbot at winbot.zope.org
Date: Fri Dec 10 15:35:45 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026223.html

Subject: OK : winbot / ztk_dev py_270_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 15:43:55 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026224.html

Subject: OK : winbot / ztk_dev py_270_win64
From: buildbot at winbot.zope.org
Date: Fri Dec 10 15:52:26 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026225.html

Subject: OK : winbot / ztk_10 py_254_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 16:10:08 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026227.html

Subject: OK : winbot / ztk_10 py_265_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 16:18:09 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026228.html

Subject: OK : winbot / ztk_10 py_265_win64
From: buildbot at winbot.zope.org
Date: Fri Dec 10 16:26:21 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026229.html

Subject: OK : winbot / zc_buildout_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 16:36:46 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026230.html

Subject: OK : winbot / zc_buildout_dev py_265_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 16:48:00 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026231.html

Subject: OK : winbot / zc_buildout_dev py_265_win64
From: buildbot at winbot.zope.org
Date: Fri Dec 10 16:58:49 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026232.html

Subject: OK : winbot / zc_buildout_dev py_270_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 17:10:11 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026233.html

Subject: OK : winbot / zc_buildout_dev py_270_win64
From: buildbot at winbot.zope.org
Date: Fri Dec 10 17:21:35 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026234.html

Subject: OK : winbot / ZODB_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 18:17:41 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026235.html

Subject: OK : Zope Buildbot / zope2.13_win-py2.6 slave-win
From: jdriessen at thehealthagency.com
Date: Fri Dec 10 18:56:49 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026236.html

Subject: OK : Zope Buildbot / zope2.13_win-py2.7 slave-win
From: jdriessen at thehealthagency.com
Date: Fri Dec 10 18:59:07 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026237.html

Subject: OK : winbot / ZODB_dev py_265_win32
From: buildbot at winbot.zope.org
Date: Fri Dec 10 19:13:23 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026238.html

Subject: OK : Zope 

Re: [Zope-dev] Zope Tests: 72 OK, 7 Failed

2010-12-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/11/2010 06:58 AM, Zope Tests Summarizer wrote:

 Subject: FAILED : winbot / ztk_10 py_244_win32
 From: buildbot at winbot.zope.org
 Date: Fri Dec 10 16:01:43 EST 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026226.html

This one is weird, and has been broken for ever.  I have no idea how to
fix it.


 Subject: FAILED : Zope Buildbot / zopetoolkit-1.0_win-py2.5 slave-win
 From: jdriessen at thehealthagency.com
 Date: Fri Dec 10 19:21:17 EST 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026240.html
 
 Subject: FAILED : Zope Buildbot / zopetoolkit_win-py2.5 slave-win
 From: jdriessen at thehealthagency.com
 Date: Fri Dec 10 19:34:31 EST 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026247.html

These two are build failures (not finding packages which *must* be
present).  Jan-Jaap, can you investigate?


 Subject: FAILED : ZTK 1.0 / Python2.6.5 Linux 64bit
 From: ccomb at free.fr
 Date: Fri Dec 10 19:46:32 EST 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026252.html

This one looks like a race condition.  I think Marius suggested a way to
fix the test:  can somebody who can reproduce the failure try his
suggestion?



 Subject: FAILED : ZTK 1.0dev / Python2.4.6 Linux 64bit
 From: ccomb at free.fr
 Date: Fri Dec 10 22:07:27 EST 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026293.html
 
 Subject: FAILED : ZTK 1.0dev / Python2.6.5 Linux 64bit
 From: ccomb at free.fr
 Date: Fri Dec 10 22:08:05 EST 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026294.html
 
 Subject: FAILED : ZTK 1.0dev / Python2.5.5 Linux 64bit
 From: ccomb at free.fr
 Date: Fri Dec 10 22:08:11 EST 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026295.html

Thomas, can you please fix the ZCML file you added to
zope.componentvocabulary?



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0DshUACgkQ+gerLs4ltQ6uZgCeORUeOmCv8y+NiORsxi/ifpcq
iowAoKsTDwp1doUEskM0KAD+up9MTVkJ
=Z1XP
-END PGP SIGNATURE-

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


Re: [Zope-dev] Zope Tests: 72 OK, 7 Failed

2010-12-11 Thread Marius Gedminas
On Sat, Dec 11, 2010 at 12:17:10PM -0500, Tres Seaver wrote:
 On 12/11/2010 06:58 AM, Zope Tests Summarizer wrote:
 
  Subject: FAILED : winbot / ztk_10 py_244_win32
  From: buildbot at winbot.zope.org
  Date: Fri Dec 10 16:01:43 EST 2010
  URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026226.html
 
 This one is weird, and has been broken for ever.  I have no idea how to
 fix it.

I looked into this one in October, but my email to zope-dev@ was perhaps
not very coherent, and I didn't have a clear solution.

The problem is that zope.testrunner is used to run zope.testing's tests.

  - there's a test (layers.txt) that calls zope.testing.testrunner's
run_internal()
  - which at some point decides it needs to fork a subprocess
  - the subprocess runs bin/test, asking it to run a layer named
zope.testing.testrunner.layer.UnitTests
  - but bin/test is not zope.testing.testrunner -- it's zope.testrunner,
which names its unit test layer differently
  - so the unit test layer is not found and never gets run
  - and layers.txt fails

You can easily reproduce this on Linux as well, if you check out the 3.9
branch of zope.testing.

  (Actually I get four failures, not just one.  I think that's because
  some of those tests are disabled on the buildbot.  The other three
  failures are about pdb support.)

I see three possible approaches.

  1. If we could upgrade zope.testing to a latter version -- one that
 doesn't have zope.testing.testrunner any more -- the problem would
 go away.  But this is too backwards-incompatible to push into ZTK
 1.0.

  2. Perhaps we could change the ZTK testing tools to go back to using
 zope.testing.testrunner instead of zope.testrunner?  Then the
 problem would go away as well.

  3. Finally, maybe it would be possible to have
 zope.testing.testrunner's test setup create the right
 zope.testing.testrunner script somewhere so it's nested tests use
 itself instead of zope.testrunner.  Sounds like work...

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


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


Re: [Zope-dev] Zope Tests: 72 OK, 7 Failed

2010-12-11 Thread Marius Gedminas
On Sun, Dec 12, 2010 at 12:39:23AM +0200, Marius Gedminas wrote:
 On Sat, Dec 11, 2010 at 12:17:10PM -0500, Tres Seaver wrote:
  On 12/11/2010 06:58 AM, Zope Tests Summarizer wrote:
  
   Subject: FAILED : winbot / ztk_10 py_244_win32
   From: buildbot at winbot.zope.org
   Date: Fri Dec 10 16:01:43 EST 2010
   URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026226.html
  
  This one is weird, and has been broken for ever.  I have no idea how to
  fix it.
 
 I looked into this one in October, but my email to zope-dev@ was perhaps
 not very coherent, and I didn't have a clear solution.
 
 The problem is that zope.testrunner is used to run zope.testing's tests.

Actually, this is surprising, since buildout in zopetoolkit/branches/1.0
on my machine produces a bin/test-ztk-zope.testing that correctly uses
zope.testing.testrunner and doesn't have this failure.

And while I can reproduce a similar-looking failure in layers.txt if I
check out zope.testing's 3.9 branch and run the tests there in Linux, it
looks like a slightly different error.

The failure on my machine has finds the nested test runner running 213
tests instead of the expected 405.  Winbot, OTOH, sees 371 instead of
405.

On my machine I'm missing the UnitTests layer.  On Winbot the missing
layer is samplelayers.Layer12.

I conclude that I was wrong when I thought I reproduced the problem, and
wrong again today when I recounted my earlier hypothesis without
verifying it.

*sigh*

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


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