[Twisted-Python] Twisted 10.1.0pre1 released -- please test!

Kevin Horn kevin.horn at gmail.com
Fri Jun 25 09:46:59 MDT 2010


I pulled down the tarball and installed using 'setup.py install' and ran the
tests on Win XP + Py2.6

A number of tests failed, though I'm not sure how many are really
meaningful.  Mostly seems to be
'reactor unclean' type stuff that doesn't happen on every run.

At any rate, output of test failures attached.  Hope it's useful.

Kevin Horn

On Fri, Jun 25, 2010 at 7:59 AM, Jonathan Lange <jml at mumak.net> wrote:

> On Fri, Jun 25, 2010 at 12:57 AM, Glyph Lefkowitz
> <glyph at twistedmatrix.com> wrote:
> > ...
> >
> > Please download the tarballs and test them as much as possible.
> >
> ...
> > In particular, you should note that if Twisted 10.1.0 pre1 horribly
> breaks
> > your software, you can pipe up and say "hey!  don't release it yet!", and
> we
> > may listen to you.
> ...
> > On the other hand, if you don't test any prereleases, and you discover
> that
> > your application is broken by Twisted 10.1 the day after the *final*
> > release, you will be screwed.
> ...
> > If you have software that depends on Twisted, it is definitely in your
> best
> > interest to test the pre-releases and let us know how it worked out.
> ...
>
> I plan to do the final release this weekend, unless I hear any objections.
>
> jml
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20100625/1bd469ac/attachment.html>
-------------- next part --------------

Reason: 'XPath queries with position are not working.'
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\words\test\test_xpath.py", line 139, in test_position
    self.assertEquals(xp.matches(self.e), 1)
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\words\xish\xpath.py", line 288, in matches
    return self.baseLocation.matches(elem)
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\words\xish\xpath.py", line 149, in matches
    if self.childLocation.matches(c):
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\words\xish\xpath.py", line 144, in matches
    if not self.matchesPredicates(elem):
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\words\xish\xpath.py", line 138, in matchesPredicates
    if not p.value(elem):
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\words\xish\xpath.py", line 29, in value
    return elem.children[self.index]
exceptions.IndexError: list index out of range
===============================================================================
[ERROR]: twisted.test.test_ftp.BasicFTPServerTestCase.testDecodeHostPort

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x3d9e710 [600.0s] called=0 cancelled=0 FTP.__timedOut()>
===============================================================================
[ERROR]: twisted.test.test_ftp.BasicFTPServerTestCase.testDecodeHostPort

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<ProtocolWrapper #0 on 3307>
===============================================================================
[ERROR]: twisted.test.test_ftp.BasicFTPServerTestCase.test_portRange

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x31ff738 [599.985000134s] called=0 cancelled=0 FTP.__timedOut()>
===============================================================================
[ERROR]: twisted.test.test_ftp.BasicFTPServerTestCase.test_portRange

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<ProtocolWrapper #0 on 3332>
===============================================================================
[ERROR]: twisted.test.test_ftp.FTPServerTestCaseAdvancedClient.test_anonymousSTO
R

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<DTP #0 on 3502>
===============================================================================
[ERROR]: twisted.test.test_plugin.DeveloperSetupTests.test_developmentPluginAvai
lability

Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\test\test_plugin.py", line 385, in setUp
    True, 'plugindummy_builtin')
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\test\test_plugin.py", line 357, in _createPluginDummy
    plugs.child(pluginModule + '.py').setContent(pluginContent)
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\filepath.py", line 745, in setContent
    f = sib.open('w')
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\filepath.py", line 495, in open
    return self.create()
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\filepath.py", line 771, in create
    fdint = os.open(self.path, _CREATE_FLAGS)
exceptions.OSError: [Errno 2] No such file or directory: 'C:\\Documents and Sett
ings\\funsize\\Desktop\\Twisted-10.1.0pre1.tar\\Twisted-10.1.0pre1\\_trial_temp\
\twisted.test.test_plugin\\DeveloperSetupTests\\test_developmentPluginAvailabili
\\lj1jrh\\temp\\system_path\\plugindummy\\plugins\\bL4o_HG2AogVCl08plugindummy_b
uiltin.py.new'
===============================================================================
[ERROR]: twisted.test.test_plugin.DeveloperSetupTests.test_freshPyReplacesStaleP
yc

Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\test\test_plugin.py", line 388, in setUp
    True, 'plugindummy_builtin')
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\test\test_plugin.py", line 357, in _createPluginDummy
    plugs.child(pluginModule + '.py').setContent(pluginContent)
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\filepath.py", line 745, in setContent
    f = sib.open('w')
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\filepath.py", line 495, in open
    return self.create()
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\filepath.py", line 771, in create
    fdint = os.open(self.path, _CREATE_FLAGS)
exceptions.OSError: [Errno 2] No such file or directory: 'C:\\Documents and Sett
ings\\funsize\\Desktop\\Twisted-10.1.0pre1.tar\\Twisted-10.1.0pre1\\_trial_temp\
\twisted.test.test_plugin\\DeveloperSetupTests\\test_freshPyReplacesStalePyc\\ei
jvm5\\temp\\development_path\\plugindummy\\plugins\\k1FxO3nGdKTA947pplugindummy_
builtin.py.new'
===============================================================================
[ERROR]: twisted.test.test_plugin.DeveloperSetupTests.test_newPluginsOnReadOnlyP
ath

Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\test\test_plugin.py", line 388, in setUp
    True, 'plugindummy_builtin')
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\test\test_plugin.py", line 357, in _createPluginDummy
    plugs.child(pluginModule + '.py').setContent(pluginContent)
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\filepath.py", line 745, in setContent
    f = sib.open('w')
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\filepath.py", line 495, in open
    return self.create()
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\filepath.py", line 771, in create
    fdint = os.open(self.path, _CREATE_FLAGS)
exceptions.OSError: [Errno 2] No such file or directory: 'C:\\Documents and Sett
ings\\funsize\\Desktop\\Twisted-10.1.0pre1.tar\\Twisted-10.1.0pre1\\_trial_temp\
\twisted.test.test_plugin\\DeveloperSetupTests\\test_newPluginsOnReadOnlyPath\\x
nwlp5\\temp\\development_path\\plugindummy\\plugins\\9bQBv0TosqUtpU43plugindummy
_builtin.py.new'
===============================================================================
[ERROR]: twisted.test.test_tcp.CannotBindTestCase.test_clientBind

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<AccumulatingProtocol #0 on 3793>
===============================================================================
[ERROR]: twisted.test.test_tcp.HalfCloseBuggyApplicationTests.test_writeNotifica
tionRaises

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<MyHCProtocol #0 on 3813>
===============================================================================
[ERROR]: twisted.test.test_tcp.PauseProducingTestCase.test_pauseProducingInConne
ctionMade

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<AccumulatingProtocol #0 on 3863>
===============================================================================
[ERROR]: twisted.trial.test.test_runner.TestUntilFailure.test_runUntilFailureDec
orate

Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\trial\test\test_runner.py", line 628, in test_runUntilFailureDecorate
    result = self.runner.runUntilFailure(self.test)
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\trial\runner.py", line 920, in runUntilFailure
    result = self._runWithoutDecoration(test)
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\trial\runner.py", line 889, in _runWithoutDecoration
    self._tearDownTestdir(oldDir)
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\trial\runner.py", line 794, in _tearDownTestdir
    self._testDirLock.unlock()
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\lockfile.py", line 188, in unlock
    rmlink(self.name)
  File "C:\Python26\lib\site-packages\twisted-10.1.0pre1-py2.6-win32.egg\twisted
\python\lockfile.py", line 81, in rmlink
    os.remove(os.path.join(filename, 'symlink'))
exceptions.WindowsError: [Error 5] Access is denied: 'C:\\Documents and Settings
\\funsize\\Desktop\\Twisted-10.1.0pre1.tar\\Twisted-10.1.0pre1\\_trial_temp\\_tr
ial_temp.lock\\symlink'
===============================================================================
[ERROR]: twisted.web.test.test_webclient.WebClientSSLTestCase.test_downloadTimeo
ut

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.TLSConnection'> to ('127.0.0.1', 4024) at 29fb290>

<<class 'twisted.internet.tcp.TLSConnection'> to ('127.0.0.1', 4024) at 29fb630>

===============================================================================
[ERROR]: twisted.web.test.test_webclient.WebClientTestCase.test_afterFoundGet

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('127.0.0.1', 4086) at 27b70b0>
===============================================================================
[ERROR]: twisted.web.test.test_xmlrpc.XMLRPCTestIntrospection.test_errors

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('127.0.0.1', 4233) at 5de2e10>
-------------------------------------------------------------------------------
Ran 5946 tests in 480.891s

FAILED (skips=845, expectedFailures=12, errors=15, successes=5083)

C:\Documents and Settings\funsize\Desktop\Twisted-10.1.0pre1.tar\Twisted-10.1.0p
re1>


More information about the Twisted-Python mailing list