> With my fixes in trunk-dev we now have a test suite that passes again, > except for a ton of failures in the twisted tests.  But I think they all > come from the same problem, because the traceback is identical in all > failures: Wow, that is great. How did you fix everything? I barely even remember the state of the testing system, I just remember it wasn't working? Did you incorporate the testing approaches we came up with and you implemented previously? Can you commit everything in your branch - I will check it out and debug this one using your branch. How should I run the test suite? Ohh, one silly question that might resolve this.... Do you have ipcontroller running somewhere else on your local system? If so stop it and rerun the test suite. This is great though! Brian > =============================================================================== > [ERROR]: IPython.kernel.tests.test_taskfc.TaskTest.test_task_ids > > Traceback (most recent call last): >  File "/home/fperez/usr/lib/python2.6/site-packages/IPython/kernel/tests/test_taskfc.py", line 70, in setUp >    self.controller_tub.startService() >  File "/usr/lib/pymodules/python2.6/foolscap/pb.py", line 594, in startService >    service.MultiService.startService(self) >  File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 278, in startService >    service.startService() >  File "/usr/lib/python2.6/dist-packages/twisted/application/internet.py", line 91, in startService >    self._port = self._getPort() >  File "/usr/lib/python2.6/dist-packages/twisted/application/internet.py", line 116, in _getPort >    *self.args, **self.kwargs) >  File "/usr/lib/python2.6/dist-packages/twisted/internet/posixbase.py", line 356, in listenTCP >    p.startListening() >  File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 858, in startListening >    raise CannotListenError, (self.interface, self.port, le) > twisted.internet.error.CannotListenError: Couldn't listen on 127.0.0.1:10105: [Errno 98] Address already in use. > ------------------------------------------------------------------------------- > > Brian, if you can pitch in for this one, we might get trunk into a > testable state again.  Thanks! > > ** Affects: ipython >     Importance: High >         Status: Confirmed > > -- > Twisted tests failing due to port conflict > https://bugs.launchpad.net/bugs/504515 > You received this bug notification because you are a member of IPython > Developers, which is subscribed to IPython. > > Status in IPython - Enhanced Interactive Python: Confirmed > > Bug description: > With my fixes in trunk-dev we now have a test suite that passes again, except for a ton of failures in the twisted tests.  But I think they all come from the same problem, because the traceback is identical in all failures: > > =============================================================================== > [ERROR]: IPython.kernel.tests.test_taskfc.TaskTest.test_task_ids > > Traceback (most recent call last): >  File "/home/fperez/usr/lib/python2.6/site-packages/IPython/kernel/tests/test_taskfc.py", line 70, in setUp >    self.controller_tub.startService() >  File "/usr/lib/pymodules/python2.6/foolscap/pb.py", line 594, in startService >    service.MultiService.startService(self) >  File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 278, in startService >    service.startService() >  File "/usr/lib/python2.6/dist-packages/twisted/application/internet.py", line 91, in startService >    self._port = self._getPort() >  File "/usr/lib/python2.6/dist-packages/twisted/application/internet.py", line 116, in _getPort >    *self.args, **self.kwargs) >  File "/usr/lib/python2.6/dist-packages/twisted/internet/posixbase.py", line 356, in listenTCP >    p.startListening() >  File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 858, in startListening >    raise CannotListenError, (self.interface, self.port, le) > twisted.internet.error.CannotListenError: Couldn't listen on 127.0.0.1:10105: [Errno 98] Address already in use. > ------------------------------------------------------------------------------- > > Brian, if you can pitch in for this one, we might get trunk into a testable state again.  Thanks! > > > -- Brian E. Granger, Ph.D. Assistant Professor of Physics Cal Poly State University, San Luis Obispo