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_asyncio, test_imaplib and test_socket fail with FreeBSD TCP blackhole · Issue #109015 · python/cpython

test_asyncio, test_imaplib and test_socket fail with FreeBSD TCP blackhole #109015

New issue
Copy link
New issue
Copy link
Closed
Closed
test_asyncio, test_imaplib and test_socket fail with FreeBSD TCP blackhole#109015
Copy link

Description

@vstinner
vstinner
opened on Sep 6, 2023
Issue body actions

test_asyncio, test_imaplib and test_socket fail with FreeBSD TCP blackhole. When a FreeBSD machine is configured with:

sudo sysctl net.inet.tcp.blackhole=2
sudo sysctl net.inet.udp.blackhole=1

That's the case by default in FreeBSD GCP image:

  • connection refused vs time out on FreeBSD cirruslabs/cirrus-ci-docs#483
  • https://reviews.freebsd.org/D41751

I'm working on a PR to skip affected tests with such special configuration.

Linked PRs

  • gh-109015: Add test.support.socket_helper.tcp_blackhole() #109016
  • [3.12] gh-109015: Add test.support.socket_helper.tcp_blackhole() (GH-109016) #109041
  • [3.11] gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) #109042

Activity

  1. vstinner
    added 5 commits that reference this issue on Sep 6, 2023

    pythongh-109015: Add test.support.socket_helper.tcp_blackhole()

    23ea747

    pythongh-109015: Add test.support.socket_helper.tcp_blackhole()

    79f34c4

    pythongh-109015: Add test.support.socket_helper.tcp_blackhole()

    d265e1c

    pythongh-109015: Add test.support.socket_helper.tcp_blackhole()

    a411c8c

    pythongh-109015: Add test.support.socket_helper.tcp_blackhole()

    43499b7
  2. emaste commented on Sep 6, 2023

    @emaste
    emaste
    on Sep 6, 2023
    Contributor
    More actions

    I seem to have left my comment in the wrong spot -- sysctl provides a -n arg to suppress the name:

    $ sysctl -n net.inet.tcp.blackhole
    0
    
  3. vstinner
    added a commit that references this issue on Sep 6, 2023

    gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016)

    a52a350
  4. miss-islington
    added a commit that references this issue on Sep 6, 2023

    pythongh-109015: Add test.support.socket_helper.tcp_blackhole() (pyth…

    a766a68
  5. vstinner
    added a commit that references this issue on Sep 7, 2023

    pythongh-109015: Add test.support.socket_helper.tcp_blackhole() (pyth…

    bc1579e
  6. vstinner
    closed this as completedon Sep 7, 2023
  7. vstinner
    added a commit that references this issue on Sep 7, 2023

    [3.11] gh-109015: Add test.support.socket_helper.tcp_blackhole() (#10…

    1ebe014
  8. Yhg1s
    added a commit that references this issue on Sep 8, 2023

    [3.12] gh-109015: Add test.support.socket_helper.tcp_blackhole() (GH-…

    c9dc2bc
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — 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.