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

test_basic_script_no_suffix() of test_multiprocessing_main_handling timeout after 20 min on Travis CI #74828

Closed
vstinner opened this issue Jun 13, 2017 · 7 comments
Labels
3.7 (EOL) end of life tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

BPO 30643
Nosy @pitrou, @vstinner, @applio
PRs
  • bpo-30643: Fix race condition in signal wakeup in forkserver (followup to PR #1989) #2139
  • 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 = None
    closed_at = <Date 2017-06-13.07:46:47.359>
    created_at = <Date 2017-06-13.06:46:05.454>
    labels = ['3.7', 'tests']
    title = 'test_basic_script_no_suffix() of test_multiprocessing_main_handling timeout after 20 min on Travis CI'
    updated_at = <Date 2017-06-13.08:10:17.949>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-06-13.08:10:17.949>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-06-13.07:46:47.359>
    closer = 'pitrou'
    components = ['Tests']
    creation = <Date 2017-06-13.06:46:05.454>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30643
    keywords = []
    message_count = 7.0
    messages = ['295854', '295856', '295857', '295858', '295860', '295861', '295862']
    nosy_count = 3.0
    nosy_names = ['pitrou', 'vstinner', 'davin']
    pr_nums = ['2139']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue30643'
    versions = ['Python 3.7']

    @vstinner
    Copy link
    Member Author

    https://travis-ci.org/python/cpython/jobs/242108490#L2211

    0:22:46 load avg: 62.38 [406/406/1] test_multiprocessing_main_handling crashed (Exit code 1)

    Timeout (0:20:00)!

    Thread 0x00002b175d341400 (most recent call first):

    File "/home/travis/build/python/cpython/Lib/selectors.py", line 415 in select

    File "/home/travis/build/python/cpython/Lib/subprocess.py", line 1488 in _communicate

    File "/home/travis/build/python/cpython/Lib/subprocess.py", line 840 in communicate

    File "/home/travis/build/python/cpython/Lib/test/support/script_helper.py", line 126 in run_python_until_end

    File "/home/travis/build/python/cpython/Lib/test/support/script_helper.py", line 135 in _assert_python

    File "/home/travis/build/python/cpython/Lib/test/support/script_helper.py", line 151 in assert_python_ok

    File "/home/travis/build/python/cpython/Lib/test/test_multiprocessing_main_handling.py", line 157 in _check_script

    File "/home/travis/build/python/cpython/Lib/test/test_multiprocessing_main_handling.py", line 169 in test_basic_script_no_suffix

    File "/home/travis/build/python/cpython/Lib/unittest/case.py", line 605 in run

    File "/home/travis/build/python/cpython/Lib/unittest/case.py", line 653 in __call__

    File "/home/travis/build/python/cpython/Lib/unittest/suite.py", line 122 in run

    File "/home/travis/build/python/cpython/Lib/unittest/suite.py", line 84 in __call__

    File "/home/travis/build/python/cpython/Lib/unittest/suite.py", line 122 in run

    File "/home/travis/build/python/cpython/Lib/unittest/suite.py", line 84 in __call__

    File "/home/travis/build/python/cpython/Lib/unittest/suite.py", line 122 in run

    File "/home/travis/build/python/cpython/Lib/unittest/suite.py", line 84 in __call__

    File "/home/travis/build/python/cpython/Lib/unittest/runner.py", line 176 in run

    File "/home/travis/build/python/cpython/Lib/test/support/init.py", line 1896 in _run_suite

    File "/home/travis/build/python/cpython/Lib/test/support/init.py", line 1936 in run_unittest

    File "/home/travis/build/python/cpython/Lib/test/libregrtest/runtest.py", line 164 in test_runner

    File "/home/travis/build/python/cpython/Lib/test/libregrtest/runtest.py", line 165 in runtest_inner

    File "/home/travis/build/python/cpython/Lib/test/libregrtest/runtest.py", line 119 in runtest

    File "/home/travis/build/python/cpython/Lib/test/libregrtest/runtest_mp.py", line 71 in run_tests_slave

    File "/home/travis/build/python/cpython/Lib/test/libregrtest/main.py", line 481 in _main

    File "/home/travis/build/python/cpython/Lib/test/libregrtest/main.py", line 474 in main

    File "/home/travis/build/python/cpython/Lib/test/libregrtest/main.py", line 538 in main

    File "/home/travis/build/python/cpython/Lib/test/regrtest.py", line 46 in _main

    File "/home/travis/build/python/cpython/Lib/test/regrtest.py", line 50 in <module>

    File "/home/travis/build/python/cpython/Lib/runpy.py", line 85 in _run_code

    File "/home/travis/build/python/cpython/Lib/runpy.py", line 193 in _run_module_as_main

    @vstinner vstinner added 3.7 (EOL) end of life tests Tests in the Lib/test dir labels Jun 13, 2017
    @pitrou
    Copy link
    Member

    pitrou commented Jun 13, 2017

    Yes, this is #2139

    @pitrou
    Copy link
    Member

    pitrou commented Jun 13, 2017

    New changeset 2b5cc5e by Antoine Pitrou in branch 'master':
    bpo-30643: Fix race condition in signal wakeup in forkserver (followup to PR bpo-1989) (bpo-2139)
    2b5cc5e

    @pitrou
    Copy link
    Member

    pitrou commented Jun 13, 2017

    Should be fixed in PR bpo-2139. Please reopen if not.

    @pitrou pitrou closed this as completed Jun 13, 2017
    @vstinner
    Copy link
    Member Author

    Should be fixed in PR bpo-2139. Please reopen if not.

    Thank you Antoine :-)

    Hum, how do you feel about backporting recent Lib/multiprocessing/forkserver.py enhancements from master to 3.6 or even to 3.5? Do you consider them as bugfixes or more "enhancements"?

    (If you want to backport, please wait after the 3.6.2 release to not stress our release manager, Ned Deily ;-))

    @pitrou
    Copy link
    Member

    pitrou commented Jun 13, 2017

    Maintaining multiprocessing is quite delicate and I don't want to risk regressions in bugfix releases. If a bug is really annoying I would backport the fix, otherwise I'd rather abstain.

    @vstinner
    Copy link
    Member Author

    Anointe: "Maintaining multiprocessing is quite delicate and I don't want to risk regressions in bugfix releases. If a bug is really annoying I would backport the fix, otherwise I'd rather abstain."

    Honesty, same for me here :-D So ok, no backport yet ;-)

    @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 tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants