Opened 2 years ago

Last modified 2 years ago

#5735 defect new

PyPy Metabug

Reported by: oberstet Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

This ticket is to collect the currently remaining issues with PyPy when running Twisted trial.

The purpose is to group fails/errors and identify them to be Twisted or PyPy fault, so that individual tickets can be placed appropriately.

The goal is to make PyPy run Twisted trial fully green.

Attachments (1)

trial1.log (872.7 KB) - added by oberstet 2 years ago.
"trial -e twisted" on PyPy Trunk (patched) / FreeBSD

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by oberstet

"trial -e twisted" on PyPy Trunk (patched) / FreeBSD

comment:1 Changed 2 years ago by oberstet

  • Type changed from enhancement to defect

Issues Group A

Reactor open FDs broken

twisted.internet.test.test_process.PTYProcessTestsBuilder_KQueueReactor.test_openFileDescriptors
twisted.internet.test.test_process.PTYProcessTestsBuilder_PollReactor.test_openFileDescriptors
twisted.internet.test.test_process.PTYProcessTestsBuilder_SelectReactor.test_openFileDescriptors
twisted.internet.test.test_process.ProcessTestsBuilder_KQueueReactor.test_openFileDescriptors
twisted.internet.test.test_process.ProcessTestsBuilder_PollReactor.test_openFileDescriptors
twisted.internet.test.test_process.ProcessTestsBuilder_SelectReactor.test_openFileDescriptors

Issues Group B

imp.load_source expects file, gets TextIOWrapper instead

twisted.test.test_reflect.ImportHooksLookupTests.test_importExceptions
twisted.trial.test.test_loader.FileTest.test_filenameMatchesPackage
twisted.trial.test.test_loader.FileTest.test_moduleNotInPath
twisted.trial.test.test_loader.FileTest.test_packageNotInPath
twisted.trial.test.test_output.TestImportErrors.test_dosFile
twisted.trial.test.test_output.TestImportErrors.test_filename

comment:2 Changed 2 years ago by oberstet

Issues Group C

twisted.test.test_application.TestAppSupport.testLoadApplication
twisted.test.test_application.TestLoading.test_simpleStoreAndLoad
twisted.test.test_sob.PersistTestCase.testPython

These bail out with

exceptions.TypeError: exec: arg 1 must be a string, file, or code object

which is triggered from https://bitbucket.org/pypy/pypy/src/default/pypy/interpreter/pyopcode.py#cl-1532.

Note: See TracTickets for help on using tickets.