GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test_ioctl is skipped because of setsid() · Issue #119273 · python/cpython

test_ioctl is skipped because of setsid() #119273

New issue
Copy link
New issue
Copy link
Closed
Closed
test_ioctl is skipped because of setsid()#119273
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dir

Description

@vstinner
vstinner
opened on May 20, 2024
Issue body actions

Python test runner "regrtest" uses process groups to be able to kill child processes of worker processes. Tests are run in subprocesses to run them in parallel and to catch bugs.

Problem: if setsid() is called (after fork), test_ioctl fails to open /dev/tty.

I propose to not use setsid() when running tests using TTY, such as test_ioctl.

Linked PRs

  • gh-119273: Don't run test_ioctl in a process group #119275

Activity

  1. vstinner
    added a commit that references this issue on May 20, 2024

    pythongh-119273: Don't run test_ioctl in a process group

    91cae2d
  2. aisk
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    on May 21, 2024
  3. vstinner
    added a commit that references this issue on May 29, 2024

    gh-119273: Don't run test_ioctl in a process group (#119275)

    1f481fd
  4. vstinner
    closed this as completedon May 29, 2024
  5. estyxx
    added a commit that references this issue on Jul 17, 2024

    pythongh-119273: Don't run test_ioctl in a process group (python#119275)

    e2d80b1
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

    testsTests in the Lib/test dirTests in the Lib/test dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.