test_socket tests fail with kernel lacking support for IPPROTO_UDPLITE
Open
Nobody has claimed this yet.
tests
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Bug report
Bug description:
When running on the kernel without support for UDPLite, setup of tests (function clientSetUp) in test_socket fails:
self.cli = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDPLITE)
this command raises OSError.
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Linked PRs
- gh-149081
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in test_socket at the clientSetUp function and reproduce the failure on a Linux kernel without UDPLite support. Check how the test handles unavailable socket protocols, then run the relevant test_socket tests; done means setup no longer fails when IPPROTO_UDPLITE is unsupported. Linked PR gh-149081 indicates work is already underway.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100