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_multiprocessing fails randomly on Windows #81304

Closed
pablogsal opened this issue Jun 1, 2019 · 6 comments
Closed

test_multiprocessing fails randomly on Windows #81304

pablogsal opened this issue Jun 1, 2019 · 6 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@pablogsal
Copy link
Member

BPO 37123
Nosy @vstinner, @pablogsal, @miss-islington, @tirkarthi
PRs
  • bpo-37123: multiprocessing test_mymanager() accepts SIGTERM #16349
  • [3.8] bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349) #16352
  • [3.7] bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349) #16353
  • 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 2019-09-24.12:40:17.077>
    created_at = <Date 2019-06-01.16:05:31.948>
    labels = ['3.7', '3.8', 'type-bug', 'tests', '3.9']
    title = 'test_multiprocessing fails randomly on Windows'
    updated_at = <Date 2019-09-24.12:40:17.072>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2019-09-24.12:40:17.072>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-09-24.12:40:17.077>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2019-06-01.16:05:31.948>
    creator = 'pablogsal'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37123
    keywords = ['patch']
    message_count = 6.0
    messages = ['344180', '344188', '344189', '353082', '353086', '353088']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'pablogsal', 'miss-islington', 'xtreak']
    pr_nums = ['16349', '16352', '16353']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue37123'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    @pablogsal
    Copy link
    Member Author

    https://buildbot.python.org/all/#/builders/58/builds/2539
    https://buildbot.python.org/all/#/builders/58/builds/2539

    Traceback (most recent call last):
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_venv.py", line 327, in test_multiprocessing
        out, err = check_output([envpy, '-c',
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_venv.py", line 42, in check_output
        raise subprocess.CalledProcessError(
    subprocess.CalledProcessError: Command '['d:\\temp\\tmp_qt0ywa6\\Scripts\\python_d.exe', '-c', 'from multiprocessing import Pool; print(Pool(1).apply_async("Python".lower).get(3))']' returned non-zero exit status 3221225477.

    ======================================================================
    FAIL: test_mymanager (test.test_multiprocessing_spawn.WithManagerTestMyManager)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\_test_multiprocessing.py", line 2806, in test_mymanager
        self.assertEqual(manager._process.exitcode, 0)
    AssertionError: -15 != 0

    @tirkarthi
    Copy link
    Member

    I couldn't find the traceback for test_venv in the buildbot logs. They were skipped and fixed as part of bpo-35978.

    @tirkarthi tirkarthi added tests Tests in the Lib/test dir 3.8 only security fixes type-bug An unexpected behavior, bug, or error labels Jun 1, 2019
    @pablogsal
    Copy link
    Member Author

    Sorry, I posted the same link twice. Here is the test_venv failure:

    https://buildbot.python.org/all/#/builders/58/builds/2538

    @vstinner
    Copy link
    Member

    New changeset b0e1ae5 by Victor Stinner in branch 'master':
    bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349)
    b0e1ae5

    @miss-islington
    Copy link
    Contributor

    New changeset 46f6c56 by Miss Islington (bot) in branch '3.7':
    bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349)
    46f6c56

    @miss-islington
    Copy link
    Contributor

    New changeset 081641f by Miss Islington (bot) in branch '3.8':
    bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349)
    081641f

    @vstinner vstinner added 3.7 (EOL) end of life 3.9 only security fixes labels Sep 24, 2019
    @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 3.8 only security fixes 3.9 only security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants