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

google / openhtf / 20355494043
63%

Build:
DEFAULT BRANCH: master
Ran 19 Dec 2025 12:20AM UTC
Jobs 5
Files 0
Run time –
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

pending completion
20355494043

push

github

copybara-github
Fix bug in test executor where manual aborts were not letting the test clean up properly.

To understand this bug, note that:

1. OpenHTF registers a signal handler for SIGINT
2. This handler re-raises KeyboardInterrupt
3. The `execute` function in TestDescriptor expects this, and effectively waits on the test runner thread to join - twice in the case of a manual abort.

This would have worked until [Python was "fixed"](https://github.com/python/cpython/commit/a22be4943#diff-b250d3d0e8514a011e2f364027e25e0b0). (Equivalent code doesn't exist in Python 3.14, but at least today, in Python 3.12, this bites us). After this, the second wait() call would return immediately while the thread was still running. is_alive() also indicates the thread is dead when in fact it's still alive.

It's debatable whether the "fix" above is the right thing, but we can avoid this hairy issue by not using `Thread.join()` and instead use `Event.wait()` which we can explicitly set at the point we want the thread to be considered "done".

Without this fix, the test executor thread is still running teardowns while the output callbacks have started processing in the main thread, causing output callbacks to receive a test descriptor that hasn't been finalized - among other issues.

PiperOrigin-RevId: 846387423
Jobs
ID Job ID Ran Files Coverage
1 python-3.14 - 20355494043.1 19 Dec 2025 12:20AM UTC 65
63.07
GitHub Action Run
2 python-3.11 - 20355494043.2 19 Dec 2025 12:20AM UTC 65
63.08
GitHub Action Run
3 python-3.10 - 20355494043.3 19 Dec 2025 12:21AM UTC 65
63.07
GitHub Action Run
4 python-3.12 - 20355494043.4 19 Dec 2025 12:21AM UTC 0
GitHub Action Run
5 python-3.13 - 20355494043.5 19 Dec 2025 12:21AM UTC 0
GitHub Action Run
Source Files on build 20355494043
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #20355494043
  • 7a363fbc on github
  • Prev Build on master (#20321477275)
  • Next Build on master (#20386039537)
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