Skip to content

test_concurrent_futures stopped after 25 hours on AMD64 Windows7 SP1 3.7 #81494

Closed

Description

@vstinner
BPO 37313
Nosy @vstinner, @jkloth
Superseder
  • bpo-37531: Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS
  • 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-07-29.23:48:28.650>
    created_at = <Date 2019-06-17.08:26:00.505>
    labels = ['3.7', 'tests']
    title = 'test_concurrent_futures stopped after 25 hours on AMD64 Windows7 SP1 3.7'
    updated_at = <Date 2019-07-29.23:48:28.650>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-07-29.23:48:28.650>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-07-29.23:48:28.650>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2019-06-17.08:26:00.505>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37313
    keywords = []
    message_count = 3.0
    messages = ['345818', '345845', '348703']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'jkloth']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '37531'
    type = None
    url = 'https://bugs.python.org/issue37313'
    versions = ['Python 3.7']

    Activity

    1. vstinner commented on Jun 17, 2019

      @vstinner
      MemberAuthor

      AMD64 Windows7 SP1 3.7:
      https://buildbot.python.org/all/#/builders/130/builds/935

      0:23:27 load avg: 7.92 [412/416] test_plistlib passed -- running: test_venv (1 min 26 sec), test_concurrent_futures (23 min 26 sec)
      0:23:32 load avg: 7.29 [413/416] test_argparse passed -- running: test_venv (1 min 31 sec), test_concurrent_futures (23 min 31 sec)
      0:23:34 load avg: 7.29 [414/416] test_venv passed (1 min 32 sec) -- running: test_concurrent_futures (23 min 32 sec)
      0:23:37 load avg: 6.71 [415/416] test_largefile passed -- running: test_concurrent_futures (23 min 35 sec)
      running: test_concurrent_futures (24 min 6 sec)
      running: test_concurrent_futures (24 min 36 sec)
      ...
      running: test_concurrent_futures (25 hour 25 min)
      running: test_concurrent_futures (25 hour 26 min)
      running: test_concurrent_futures (25 hour 26 min)
      running: test_concurrent_futures (25 hour 27 min)
      running: test_concurrent_futures (25 hour 27 min)
      running: test_concurrent_futures (25 hour 28 min)
      program finished with exit code 1
      elapsedTime=91968.468000

    2. jkloth commented on Jun 17, 2019

      @jkloth
      Contributor

      The test run was stopped by me terminating the stuck processes on the buildbot worker itself. This happens approximately once a month or so.

      As of late, its been stuck in test_concurrent_futures, but it can get stuck in any test that uses multiprocessing (the spawned pool never terminates).

    3. vstinner commented on Jul 29, 2019

      @vstinner
      MemberAuthor

      The root issue will be solved by bpo-37531: ensure that regrtest kills a worker process if it takes longer than TIMEOUT seconds.

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifetestsTests in the Lib/test dir

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions