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

google / openhtf
63%
master: 63%

Build:
Build:
LAST BUILD BRANCH: test_846000293
DEFAULT BRANCH: master
Repo Added 26 Jan 2016 09:13AM UTC
Files 65
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

LAST BUILD ON BRANCH test_846000293
branch: test_846000293
CHANGE BRANCH
x
Reset
  • test_846000293
  • 080C9A134DD0D2C0A370E91FAAF6A779
  • 1.5.1
  • 1.5.2
  • 1.5.3
  • 1.6.0
  • Kenadia-patch-1
  • Kenadia-patch-2
  • Kenadia-patch-3
  • Kenadia-patch-4
  • Kenadia-patch-5
  • Update-CONTRIBUTORS
  • b/socket-bind-windows
  • basestring
  • branches
  • branches_fix
  • branches_fix2
  • color-prompts
  • copybara_change_request
  • dbhatman-patch-1
  • dbhatman-pyopenssl-version-bump
  • delete_station_api
  • dependabot/github_actions/github-actions-088cad1836
  • dependabot/github_actions/github-actions-13fff53659
  • dependabot/github_actions/github-actions-3249c11fdc
  • dependabot/github_actions/github-actions-5da8da3d55
  • dependabot/github_actions/github-actions-5e51f74d5c
  • dependabot/github_actions/github-actions-76468cb07f
  • dependabot/github_actions/github-actions-7921bc0373
  • dependabot/github_actions/github-actions-8c27f48b91
  • dependabot/github_actions/github-actions-9c09232849
  • dependabot/github_actions/github-actions-c2e7f7cad0
  • dependabot/npm_and_yarn/openhtf/output/web_gui/angular/core-10.2.5
  • dependabot/npm_and_yarn/openhtf/output/web_gui/angular/core-11.0.5
  • dependabot/npm_and_yarn/openhtf/output/web_gui/ansi-html-and-webpack-dev-server--removed
  • dependabot/npm_and_yarn/openhtf/output/web_gui/async-2.6.4
  • dependabot/npm_and_yarn/openhtf/output/web_gui/browserify-sign-4.2.2
  • dependabot/npm_and_yarn/openhtf/output/web_gui/css-what-6.1.0
  • dependabot/npm_and_yarn/openhtf/output/web_gui/debug-2.6.9
  • dependabot/npm_and_yarn/openhtf/output/web_gui/decode-uri-component-0.2.2
  • dependabot/npm_and_yarn/openhtf/output/web_gui/engine.io-6.2.1
  • dependabot/npm_and_yarn/openhtf/output/web_gui/engine.io-6.4.2
  • dependabot/npm_and_yarn/openhtf/output/web_gui/engine.io-and-karma-6.2.0
  • dependabot/npm_and_yarn/openhtf/output/web_gui/eventsource-and-sockjs-client-and-webpack-dev-server-2.0.2
  • dependabot/npm_and_yarn/openhtf/output/web_gui/express-4.18.2
  • dependabot/npm_and_yarn/openhtf/output/web_gui/express-4.19.2
  • dependabot/npm_and_yarn/openhtf/output/web_gui/fsevents-1.2.13
  • dependabot/npm_and_yarn/openhtf/output/web_gui/got-and-tslint--removed
  • dependabot/npm_and_yarn/openhtf/output/web_gui/handlebars-and-typedoc-4.7.8
  • dependabot/npm_and_yarn/openhtf/output/web_gui/hawk-and-node-sass--removed
  • dependabot/npm_and_yarn/openhtf/output/web_gui/http-cache-semantics-4.1.1
  • dependabot/npm_and_yarn/openhtf/output/web_gui/json-schema-0.4.0
  • dependabot/npm_and_yarn/openhtf/output/web_gui/json-schema-and-jsprim-0.4.0
  • dependabot/npm_and_yarn/openhtf/output/web_gui/lodash-and-karma-coverage-and-karma-webpack-4.17.21
  • dependabot/npm_and_yarn/openhtf/output/web_gui/macaddress-0.2.9
  • dependabot/npm_and_yarn/openhtf/output/web_gui/mem-and-webpack--removed
  • dependabot/npm_and_yarn/openhtf/output/web_gui/minimatch-and-karma-remap-istanbul-and-protractor-and-remap-istanbul-3.0.4
  • dependabot/npm_and_yarn/openhtf/output/web_gui/multi-268349c1a7
  • dependabot/npm_and_yarn/openhtf/output/web_gui/multi-fb6c6a21ee
  • dependabot/npm_and_yarn/openhtf/output/web_gui/node-sass-4.13.1
  • dependabot/npm_and_yarn/openhtf/output/web_gui/npm_and_yarn-024ca8520a
  • dependabot/npm_and_yarn/openhtf/output/web_gui/npm_and_yarn-079d529969
  • dependabot/npm_and_yarn/openhtf/output/web_gui/npm_and_yarn-4f7f2776a0
  • dependabot/npm_and_yarn/openhtf/output/web_gui/postcss-and-autoprefixer-and-css-loader-and-postcss-loader-8.4.16
  • dependabot/npm_and_yarn/openhtf/output/web_gui/postcss-and-autoprefixer-and-css-loader-and-postcss-loader-8.4.17
  • dependabot/npm_and_yarn/openhtf/output/web_gui/postcss-and-autoprefixer-and-css-loader-and-postcss-loader-8.4.31
  • dependabot/npm_and_yarn/openhtf/output/web_gui/qs-and-qs-and-express-6.11.0
  • dependabot/npm_and_yarn/openhtf/output/web_gui/scss-tokenizer-and-node-sass-0.4.3
  • dependabot/npm_and_yarn/openhtf/output/web_gui/shelljs-0.8.5
  • dependabot/npm_and_yarn/openhtf/output/web_gui/socket.io-parser-4.2.3
  • dependabot/npm_and_yarn/openhtf/output/web_gui/socket.io-parser-4.2.4
  • dependabot/npm_and_yarn/openhtf/output/web_gui/webpack-dev-middleware-and-karma-webpack-and-webpack-dev-server--removed
  • dependabot/npm_and_yarn/openhtf/output/web_gui/yargs-parser-and-webpack-and-webpack-dev-server-20.2.9
  • dependabot/npm_and_yarn/openhtf/output/web_gui/yargs-parser-and-webpack-and-webpack-dev-server-5.0.1
  • dependabot/pip/pip-62e73391f3
  • dependabot/pip/pip-9d732ab251
  • dev
  • doc
  • examples
  • fahhem-patch-1
  • fahhem-patch-10
  • fahhem-patch-11
  • fahhem-patch-2
  • fahhem-patch-3
  • fahhem-patch-4
  • fahhem-patch-5
  • fahhem-patch-6
  • fahhem-patch-7
  • fahhem-patch-8
  • fahhem-patch-9
  • fahhem-patch-9-1
  • fahhem-units-or
  • feat-test-measurements-and-helper
  • fix-console-output
  • frontend
  • glados-verma-patch-1
  • glados-verma-patch-2
  • grybmadsci-patch-1
  • grybmadsci-patch-2
  • jettisonjoe-patch-1
  • kdsudac-mock-api-servver
  • kdsudac-patch-1
  • kdsudac-patch-2
  • kdsudac-patch-3
  • kdsudac-patch-4
  • kdsudac-patch-5
  • madsci_bugfix
  • master
  • mimetypes_0
  • mimetypes_11
  • mimetypes_12
  • mimetypes_13
  • mimetypes_14
  • mimetypes_15
  • mimetypes_16
  • mimetypes_17
  • mimetypes_18
  • mimetypes_19
  • mimetypes_20
  • mimetypes_3
  • mimetypes_4
  • mimetypes_5
  • mimetypes_6
  • mimetypes_7
  • mimetypes_8
  • mimetypes_9
  • patch-1
  • patch-20
  • phase_options
  • plug_xmlrpc
  • python3
  • revert-1026-dependabot/npm_and_yarn/openhtf/output/web_gui/eventsource-and-sockjs-client-and-webpack-dev-server-2.0.2
  • revert-108-mfginspect
  • revert-535-rename
  • run_if_exception
  • rxjs_update
  • skybox_fixes
  • station_api
  • station_api_dict
  • test
  • test/hello-world-integration
  • test_508504002
  • test_509314086
  • test_509621237
  • test_510488904
  • test_520140014
  • test_542918157
  • test_542925313
  • test_550783653
  • test_568649049
  • test_569670721
  • test_571185985
  • test_578926084
  • test_595468862
  • test_595470004
  • test_595487711
  • test_599483691
  • test_608611221
  • test_608989742
  • test_610475779
  • test_611147824
  • test_623760017
  • test_647392280
  • test_647501065
  • test_647833892
  • test_654160330
  • test_654804315
  • test_666523034
  • test_682108165
  • test_691228206
  • test_691228874
  • test_691469173
  • test_691477516
  • test_693033180
  • test_695579969
  • test_721549130
  • test_742878120
  • test_742900055
  • test_758424526
  • test_759439262
  • test_761299982
  • test_766756498
  • test_767340861
  • test_767547530
  • test_781713512
  • test_781713513
  • test_782087395
  • test_786475729
  • test_789408137
  • test_791348958
  • test_811166059
  • test_813101757
  • test_821854804
  • test_833972636
  • testing-matches-prod-1
  • typo-station_api
  • upload
  • v0.9.0
  • v1.0.0
  • v1.0.1
  • v1.0.2
  • v1.0.3
  • v1.1.0
  • v1.2.0
  • v1.2.1
  • v1.2.2
  • v1.2.3
  • v1.3.0
  • v1.4.0
  • v1.4.1
  • v1.4.2
  • v1.4.3
  • v1.4.4
  • v1.5.0
  • wallacbe-patch-1
  • wallacbe-set_time
  • wallace/packages
  • web_gui_fix-1

18 Dec 2025 09:10PM UTC coverage: 63.08% (+0.003%) from 63.077%
20351404806

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

5 of 7 new or added lines in 2 files covered. (71.43%)

2 existing lines in 1 file now uncovered.

4772 of 7565 relevant lines covered (63.08%)

3.15 hits per line

Relevant lines Covered
Build:
Build:
7565 RELEVANT LINES 4772 COVERED LINES
3.15 HITS PER LINE
Source Files on test_846000293
  • Tree
  • List 65
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20351404806 test_846000293 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 i... push 18 Dec 2025 09:11PM UTC copybara-github github
63.08
20351405673 test_846000293 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 i... push 18 Dec 2025 09:11PM UTC copybara-github github
63.08
20351003542 test_846000293 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 i... Pull #1267 18 Dec 2025 08:55PM UTC copybara-github github
63.08
20324160315 test_846000293 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 i... Pull #1267 18 Dec 2025 02:41AM UTC copybara-github github
63.08
See All Builds (2535)
  • Repo on GitHub
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

© 2025 Coveralls, Inc