Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twisted SSL tests failing on pypy3 on Ubuntu 20.4 #9986

Closed
twisted-trac opened this issue Oct 1, 2020 · 3 comments
Closed

Twisted SSL tests failing on pypy3 on Ubuntu 20.4 #9986

twisted-trac opened this issue Oct 1, 2020 · 3 comments

Comments

@twisted-trac
Copy link

rodrigc's avatar @rodrigc reported
Trac ID trac#9986
Type defect
Created 2020-10-01 00:24:20Z

While working on ticket:9985 , I saw additional failures in the TLS tests such as:

[FAIL]
Traceback (most recent call last):
  File "/home/vagrant/twisted/src/twisted/test/test_ssl.py", line 393, in check
    self.assertTrue(self.serverFactory.rawdata, "No encrypted bytes received")
  File "/home/vagrant/twisted/src/twisted/trial/_synctest.py", line 382, in assertTrue
    super(_Assertions, self).assertTrue(condition, msg)
  File "/usr/lib/pypy3/lib-python/3/unittest/case.py", line 682, in assertTrue
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: b'' is not true : No encrypted bytes received

twisted.test.test_ssl.SpammyTLSTests.test_unTLS
twisted.test.test_ssl.TLSTests.test_unTLS

It looks like the TLS connections are not being created properly.

It looks like on this platform, certain older TLS protocols have been disabled.

Searchable metadata
trac-id__9986 9986
type__defect defect
reporter__rodrigc rodrigc
priority__normal normal
milestone__None None
branch__ 
branch_author__ 
status__closed closed
resolution__fixed fixed
component__core core
keywords__None None
time__1601511860403293 1601511860403293
changetime__1601752946534036 1601752946534036
version__None None
owner__None None

@twisted-trac
Copy link
Author

rodrigc's avatar @rodrigc commented

#1412

@twisted-trac
Copy link
Author

rodrigc's avatar @rodrigc commented

Approved here: #1412 (review)

@twisted-trac
Copy link
Author

rodrigc's avatar @rodrigc set status to closed

Fixed in 092eca4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant