• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pywbem / pywbem / test-2982
92%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2026 06:44AM UTC
Jobs 9
Files 47
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jan 2026 06:32AM UTC coverage: 92.398% (-0.07%) from 92.463%
test-2982

push

github

web-flow
Fixed hangs and race conditions in WBEMListener; Added listener logs (#3364)

Details:

* Fixed a hang in WBEMListener.start() that happened for the wildcard host on
  macOS when the IPv6 stack is not properly set up. That is the case on GitHub
  Actions for example. The fix (circumvention) was not to use AF_UNSPEC in
  socket.getaddrinfo(), but to first try AF_INET (IPv4) and only if that fails,
  try AF_INET6 (IPv6).

* Fixed a second hang in in WBEMListener.start() that happened for the wildcard
  host on macOS when the IPv6 stack is not properly set up, that happened in
  the built-in bind_server() method in class http.server.HTTPServer, when it
  attempts to perform a reverse DNS lookup on the IP address. Fixed that by
  special-casing the wildcard IP addresses and setting the host to "localhost"
  in the wildcard case.

* Fixed that in WBEMListener.stop(), the threads were not waited for. This
  can cause race conditions in tests, where the next listener is started
  right after the previous one was stopped, on the same port.

* In test_indicationlistener.py, added a comment to string-typed port numbers
  that they are intentionally string-typed.

* Added debug log messages for resolving the address of listener host.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>

18 of 28 new or added lines in 1 file covered. (64.29%)

11535 of 12484 relevant lines covered (92.4%)

9.22 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
75.98
-0.7% pywbem/_listener.py
Jobs
ID Job ID Ran Files Coverage
1 macos-latest,3.9,latest - test-2982.1 12 Jan 2026 07:16AM UTC 47
92.33
GitHub Action Run
2 ubuntu-latest,3.14,minimum - test-2982.2 12 Jan 2026 07:16AM UTC 47
92.25
GitHub Action Run
3 macos-latest,3.14,minimum - test-2982.3 12 Jan 2026 07:16AM UTC 47
92.25
GitHub Action Run
4 macos-latest,3.14,latest - test-2982.4 12 Jan 2026 07:16AM UTC 47
92.25
GitHub Action Run
5 ubuntu-latest,3.14,latest - test-2982.5 12 Jan 2026 07:16AM UTC 47
92.25
GitHub Action Run
6 ubuntu-latest,3.9,latest - test-2982.6 12 Jan 2026 07:16AM UTC 47
92.33
GitHub Action Run
7 windows-latest,3.14,minimum - test-2982.7 12 Jan 2026 07:16AM UTC 47
92.22
GitHub Action Run
8 windows-latest,3.9,latest - test-2982.8 12 Jan 2026 07:16AM UTC 47
92.3
GitHub Action Run
9 windows-latest,3.14,latest - test-2982.9 12 Jan 2026 07:16AM UTC 47
92.22
GitHub Action Run
Source Files on build test-2982
  • Tree
  • List 47
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9ee28e63 on github
  • Prev Build on master (#TEST-2978)
  • Next Build on master (#TEST-2996)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc