Ticket #62 (new defect)

Opened 7 months ago

Last modified 3 months ago

tests fail with pyOpenSSL-0.7 + Twisted-8.1.0

Reported by: warner Assigned to:
Priority: major Milestone: undecided
Component: negotiation Version: 0.2.5
Keywords: Cc:

Description

We identified an incompatibility with pyOpenSSL-0.7 (the most recent release which hit debian/sid about a week ago). The symptom is that foolscap unit tests fail with "unclean reactor" errors and timers that are still running at the end of the test suite.

The current recommended workaround is to downgrade to pyOpenSSL-0.6 .

JP understands the problem: Twisted ticket #3218 exists to track it.

Change History

07/28/08 13:22:19 changed by warner

Zooko says that it looks like the problem only exists on the selectreactor, so another workaround is to use the pollreactor instead. That means:

  • trial --reactor=poll foolscap
  • twistd --reactor=poll -y foo.tac

I've confirmed that this allows the trial unit tests to pass, and also the tahoe unit tests.

07/31/08 10:03:09 changed by warner

Tahoe has been changed to use --reactor=poll (unless it's running on windows).

08/11/08 12:02:20 changed by warner

  • summary changed from tests fail with pyOpenSSL-0.7 to tests fail with pyOpenSSL-0.7 + Twisted-8.1.0.

Twisted has fixed the problem upstream, in twisted-trunk-r24473: http://twistedmatrix.com/trac/ticket/3218

I've confirmed that foolscap tests pass when run (with the default selectreactor) against twisted trunk r24575.

Now we just need to wait for them to make a release..