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

android: test_threading hangs on armv7 #71128

Closed
xdegaye mannequin opened this issue May 3, 2016 · 5 comments
Closed

android: test_threading hangs on armv7 #71128

xdegaye mannequin opened this issue May 3, 2016 · 5 comments
Assignees
Labels
3.7 build The build process and cross-build tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@xdegaye
Copy link
Mannequin

xdegaye mannequin commented May 3, 2016

BPO 26941
Nosy @xdegaye, @moreati
Dependencies
  • bpo-26939: android: test_functools hangs on armv7
  • Files
  • test_threading_gdb_bt.txt: gdb back trace
  • setswitchinterval.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/xdegaye'
    closed_at = <Date 2016-12-08.12:54:45.279>
    created_at = <Date 2016-05-03.15:47:06.067>
    labels = ['3.7', 'type-bug', 'tests', 'build']
    title = 'android: test_threading hangs on armv7'
    updated_at = <Date 2016-12-08.12:54:45.278>
    user = 'https://github.com/xdegaye'

    bugs.python.org fields:

    activity = <Date 2016-12-08.12:54:45.278>
    actor = 'xdegaye'
    assignee = 'xdegaye'
    closed = True
    closed_date = <Date 2016-12-08.12:54:45.279>
    closer = 'xdegaye'
    components = ['Tests', 'Cross-Build']
    creation = <Date 2016-05-03.15:47:06.067>
    creator = 'xdegaye'
    dependencies = ['26939']
    files = ['42761', '45251']
    hgrepos = []
    issue_num = 26941
    keywords = ['patch']
    message_count = 5.0
    messages = ['264744', '264759', '265008', '279590', '282705']
    nosy_count = 3.0
    nosy_names = ['xdegaye', 'python-dev', 'Alex.Willmer']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26941'
    versions = ['Python 3.6', 'Python 3.7']

    @xdegaye
    Copy link
    Mannequin Author

    xdegaye mannequin commented May 3, 2016

    test_threading hangs on an android emulator running an armv7 system image (but not on x86) at API level 21. The test suite hangs at

    test_is_alive_after_fork (test.test_threading.ThreadTests) ...

    A cause of this problem may be related to the fact that the android arm emulator runs very, very slowly.

    @xdegaye xdegaye mannequin added stdlib Python modules in the Lib dir build The build process and cross-build type-bug An unexpected behavior, bug, or error labels May 3, 2016
    @xdegaye
    Copy link
    Mannequin Author

    xdegaye mannequin commented May 3, 2016

    Interestingly, all the tests (issues bpo-26938, bpo-26939, bpo-26940 and bpo-26941) that hang on arm use sys.setswitchinterval() aggressively.

    @xdegaye
    Copy link
    Mannequin Author

    xdegaye mannequin commented May 6, 2016

    Adding the back trace.

    @xdegaye
    Copy link
    Mannequin Author

    xdegaye mannequin commented Oct 28, 2016

    Adding a dependency to bpo-26939.
    Patch attached.

    @xdegaye xdegaye mannequin added tests Tests in the Lib/test dir 3.7 and removed stdlib Python modules in the Lib dir labels Oct 28, 2016
    @xdegaye xdegaye mannequin self-assigned this Oct 28, 2016
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Dec 8, 2016

    New changeset b64ba5604e48 by Xavier de Gaye in branch '3.6':
    Issue bpo-26941: Fix test_threading that hangs on the Android armv7 qemu emulator.
    https://hg.python.org/cpython/rev/b64ba5604e48

    New changeset 8688a664995c by Xavier de Gaye in branch 'default':
    Issue bpo-26941: Merge 3.6.
    https://hg.python.org/cpython/rev/8688a664995c

    @xdegaye xdegaye mannequin closed this as completed Dec 8, 2016
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 build The build process and cross-build tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants