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_importlib hangs on armv7 #71127

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

android: test_importlib hangs on armv7 #71127

xdegaye mannequin opened this issue May 3, 2016 · 5 comments
Assignees
Labels
3.7 (EOL) end of life 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 26940
Nosy @brettcannon, @xdegaye, @moreati
Dependencies
  • bpo-26939: android: test_functools hangs on armv7
  • Files
  • test_importlib_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.11:03:07.678>
    created_at = <Date 2016-05-03.15:42:14.104>
    labels = ['3.7', 'type-bug', 'tests', 'build']
    title = 'android: test_importlib hangs on armv7'
    updated_at = <Date 2016-12-08.11:03:07.677>
    user = 'https://github.com/xdegaye'

    bugs.python.org fields:

    activity = <Date 2016-12-08.11:03:07.677>
    actor = 'xdegaye'
    assignee = 'xdegaye'
    closed = True
    closed_date = <Date 2016-12-08.11:03:07.678>
    closer = 'xdegaye'
    components = ['Tests', 'Cross-Build']
    creation = <Date 2016-05-03.15:42:14.104>
    creator = 'xdegaye'
    dependencies = ['26939']
    files = ['42762', '45250']
    hgrepos = []
    issue_num = 26940
    keywords = ['patch']
    message_count = 5.0
    messages = ['264743', '264758', '265011', '279589', '282704']
    nosy_count = 4.0
    nosy_names = ['brett.cannon', 'xdegaye', 'python-dev', 'Alex.Willmer']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26940'
    versions = ['Python 3.6', 'Python 3.7']

    @xdegaye
    Copy link
    Mannequin Author

    xdegaye mannequin commented May 3, 2016

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

    test_deadlock (test.test_importlib.test_locks.Frozen_DeadlockAvoidanceTests) ...

    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 gdb backtrace.

    @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 (EOL) end of life 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 1bb2f4b8440e by Xavier de Gaye in branch '3.6':
    Issue bpo-26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.
    https://hg.python.org/cpython/rev/1bb2f4b8440e

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

    @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 (EOL) end of life 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