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_spawn fails on Windows7 3.x buildbot #80575

Closed
pablogsal opened this issue Mar 22, 2019 · 1 comment
Closed

test_multiprocessing_spawn fails on Windows7 3.x buildbot #80575

pablogsal opened this issue Mar 22, 2019 · 1 comment
Labels
3.8 only security fixes OS-windows tests Tests in the Lib/test dir

Comments

@pablogsal
Copy link
Member

BPO 36394
Nosy @pfmoore, @tjguk, @zware, @zooba, @pablogsal
PRs
  • bpo-36394: Raise the timeout in test_multiprocessing_* for slow buildbots #12489
  • 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-08-02.22:05:28.107>
    created_at = <Date 2019-03-22.00:00:00.570>
    labels = ['3.8', 'tests', 'OS-windows']
    title = 'test_multiprocessing_spawn fails on Windows7 3.x buildbot'
    updated_at = <Date 2019-08-02.22:05:28.107>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2019-08-02.22:05:28.107>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-08-02.22:05:28.107>
    closer = 'steve.dower'
    components = ['Tests', 'Windows']
    creation = <Date 2019-03-22.00:00:00.570>
    creator = 'pablogsal'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36394
    keywords = ['patch']
    message_count = 1.0
    messages = ['338573']
    nosy_count = 5.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'pablogsal']
    pr_nums = ['12489']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36394'
    versions = ['Python 3.8']

    @pablogsal
    Copy link
    Member Author

    https://buildbot.python.org/all/#/builders/58/builds/2098/steps/3/logs/stdio

    Process Process-2:
    Traceback (most recent call last):
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\multiprocessing\process.py", line 302, in _bootstrap
        self.run()
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\multiprocessing\process.py", line 99, in run
        self._target(*self._args, **self._kwargs)
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\_test_multiprocessing.py", line 4585, in child
        join_process(p)
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\_test_multiprocessing.py", line 88, in join_process
        support.join_thread(process, timeout=TIMEOUT)
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\support\__init__.py", line 2244, in join_thread
        raise AssertionError(msg)
    AssertionError: failed to join the thread in 30.0 seconds
    Timeout (0:15:00)!

    ======================================================================
    FAIL: test_abort (test.test_multiprocessing_spawn.WithManagerTestBarrier)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\_test_multiprocessing.py", line 1765, in test_abort
        self.assertEqual(len(results2), self.N-1)
    AssertionError: 5 != 4

    Ran 344 tests in 717.841s
    FAILED (failures=1, skipped=40)
    1 test failed again:
    test_multiprocessing_spawn
    == Tests result: FAILURE then FAILURE ==
    388 tests OK.

    Looks like a race condition, new builds are OK.

    @pablogsal pablogsal added 3.8 only security fixes tests Tests in the Lib/test dir OS-windows labels Mar 22, 2019
    @zooba zooba closed this as completed Aug 2, 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.8 only security fixes OS-windows tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants