[Zope3-dev] unittest failure in svn trunk

2005-08-04 Thread Wichert Akkerman
I just noticed a unittest error on the current svn trunk:

Failure in test testRunIgnoresParentSignals 
(zdaemon.tests.testzdrun.ZDaemonTests)
Traceback (most recent call last):
  File /local/sources/svn/zope/Zope3/src/zdaemon/tests/testzdrun.py, line 
237, in testRunIgnoresParentSignals
self.assert_(is_started, spawned process failed to start in a minute)
  File /usr/lib/python2.3/unittest.py, line 278, in failUnless
if not expr: raise self.failureException, msg
AssertionError: spawned process failed to start in a minute

Wichert.


-- 
Wichert Akkerman [EMAIL PROTECTED]It is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] unittest failure in svn trunk

2005-08-04 Thread Stephan Richter
On Thursday 04 August 2005 04:24, Wichert Akkerman wrote:
 Failure in test testRunIgnoresParentSignals
 (zdaemon.tests.testzdrun.ZDaemonTests) Traceback (most recent call last):
   File /local/sources/svn/zope/Zope3/src/zdaemon/tests/testzdrun.py, line
 237, in testRunIgnoresParentSignals self.assert_(is_started, spawned
 process failed to start in a minute) File
 /usr/lib/python2.3/unittest.py, line 278, in failUnless
     if not expr: raise self.failureException, msg
 AssertionError: spawned process failed to start in a minute

I always ignore this one ;-)

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] unittest failure in svn trunk

2005-08-04 Thread Wichert Akkerman
Previously Stephan Richter wrote:
 I always ignore this one ;-)

If it is something to be ignored shouldn't be disabled? Having a known
failure in the unittests is kind of bad.

Wichert.

-- 
Wichert Akkerman [EMAIL PROTECTED]It is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] unittest failure in svn trunk

2005-08-04 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wichert Akkerman wrote:
 Previously Stephan Richter wrote:
 
I always ignore this one ;-)
 
 
 If it is something to be ignored shouldn't be disabled? Having a known
 failure in the unittests is kind of bad.
 
 Wichert.

I doesn't fail for me on a Linux box.

J.


- --
Julien Anguenot | Nuxeo RD (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC8h2DGhoG8MxZ/pIRAg/oAJ9ixK8yXuZNUBKC6gqmxLyk9AQQyACeL0zO
0+fyRSOTvSRbQzqttd90Trs=
=Ekix
-END PGP SIGNATURE-
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] unittest failure in svn trunk

2005-08-04 Thread Tim Peters
[Wichert Akkerman]
| I just noticed a unittest error on the current svn trunk:
 
 Failure in test testRunIgnoresParentSignals 
 (zdaemon.tests.testzdrun.ZDaemonTests)
 Traceback (most recent call last):
  File /local/sources/svn/zope/Zope3/src/zdaemon/tests/testzdrun.py, line 
 237, in testRunIgnoresParentSignals
self.assert_(is_started, spawned process failed to start in a minute)
  File /usr/lib/python2.3/unittest.py, line 278, in failUnless
if not expr: raise self.failureException, msg
 AssertionError: spawned process failed to start in a minute

[Stephan Richter]
 I always ignore this one ;-)

Implying that you also see it fail in current trunk?  There are no
collector issues open against this; I never see it (but I usually run
on Windows, where this test doesn't run at all); and it hasn't failed
in the overnight testrunner reports for well over a month (not since I
changed this test to wait for a freaking minute for the process to
start).

[Wichert Akkerman]
 If it is something to be ignored shouldn't be disabled? Having a known
 failure in the unittests is kind of bad.

See above.  Does it fail often for you (or for Stephan)?  If so,
someone on a platform where it fails needs to investigate why.  It
certainly isn't failing for everyone.

Could this issue be relevant?

http://www.zope.org/Collectors/Zope3-dev/430

Note that I'm just trying to help this along here -- nobody
identifiable is in charge of zdaemon, so fixing zdaemon problems has
to be a community effort.

Hmm.  The overnight testrunner reports don't try Zope3, just assorted
flavors of Zope 2.  Zope and Zope3 trunks both stitch in

svn://svn.zope.org/repos/main/zdaemon/tags/zdaemon-1.1

so that's not the problem.  Maybe something else is unique to Zope3.
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] unittest failure in svn trunk

2005-08-04 Thread Stephan Richter
On Thursday 04 August 2005 09:52, Julien Anguenot wrote:
 Wichert Akkerman wrote:
  Previously Stephan Richter wrote:
 I always ignore this one ;-)
 
  If it is something to be ignored shouldn't be disabled? Having a known
  failure in the unittests is kind of bad.
 
  Wichert.

 I doesn't fail for me on a Linux box.

That's the reason I ignore it. It fails only sporadically. I think we 
investigated it once before and did not come to a conclusion.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] unittest failure in svn trunk

2005-08-04 Thread Wichert Akkerman
Previously Tim Peters wrote:
 See above.  Does it fail often for you (or for Stephan)?  If so,
 someone on a platform where it fails needs to investigate why.  It
 certainly isn't failing for everyone.

If failed 2 out of 2 tries on my laptop which uses python 2.3.5.
I succeeded on a desktop system using python 2.4.1

Which suggests a possible pattern..

Using python 2.4.1 on my laptop works as well. And using python 2.3.5
on the desktop.. also works. Perhaps something starts a script
as /usr/bin/python and switches back to python2.4 there?

 Could this issue be relevant?
 
 http://www.zope.org/Collectors/Zope3-dev/430

No, that item is fixed: the donothing script is properly marked as
executable both in the svn repo and in my checkout.

Wichert.

-- 
Wichert Akkerman [EMAIL PROTECTED]It is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] unittest failure in svn trunk

2005-08-04 Thread Stephan Richter
On Thursday 04 August 2005 11:24, Tim Peters wrote:
 [EMAIL PROTECTED] Zope3]$ uname -a
 Linux ds9 2.4.22-1.2199.nptlsmp #1 SMP Wed Aug 4 11:48:29 EDT 2004
 i686 i686 i386 GNU/Linux
 [EMAIL PROTECTED] Zope3]$ python test.py -vvuL --all . Ignores
 ...

 and it passed 400 times in a row (at which point I killed it).

Good to know that the tests pass in a loop.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com