-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timeout_test.dart does not terminate correctly on Mac OS X #3216
Comments
The timeout test is not supposed to terminate when run directly. This lets us test the capacity of the test scripts to detect non-terminating tests, and terminate them. But since this issue keeps coming up, I will change timeout test to run for 30 seconds, then terminate. That is sufficient for our purposes. I could also make it take the time to run for as a command-line argument. Then when run without an argument, it would terminate completely. |
Bill, I don't think Srdjan is running the timeout_test directly. I think the issue is more that if the test_runner_test does not finish correctly, then it will not cleanly kill the timeout_test and you end up with spinning processes. |
Yes, Ivan is correct. The timeout test does not terminate when run as part of the test harness (tools/test.py). |
Can we disable the test until this bug has been resolved? |
I have seen this also happening on Linux. If test_runner_test.dart fails then you end up with runaway processes on your machine. Updating this bug to Critical and disabling test_runner_test.dart until then. Removed Priority-Medium label. |
The problem of a runaway process has been fixed, in r8315. A new flake has showed up, that the test of running a failing process in test_runner_test timed out, instead of failing. Since we are running with a very low timeout of 2 seconds, perhaps that is not always enough time to start up a new dart process, and fail. Investigating. |
The main issue has been fixed, and I have not seen a recurrence of the timeout on fail_test. Marking as fixed. Added Fixed label. |
…1 revision) https://dart.googlesource.com/dartdoc/+log/b3856970e4ab..c8bc0655bbd4 2022-10-13 srawlins@google.com Do not display a constant implementation value for enums with a default constructor (#3216) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/dart-doc-dart-sdk Please CC dart-ecosystem-gardener@grotations.appspotmail.com on the revert to ensure that a human is aware of the problem. To file a bug in Dart Documentation Generator: https://github.com/dart-lang/dartdoc/issues To file a bug in Dart SDK: https://github.com/dart-lang/sdk/issues To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Tbr: dart-ecosystem-gardener@grotations.appspotmail.com Change-Id: I89e18b2bc0c1214297d0d7b8265af6f2433f9aa0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/263927 Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
After running tests on Mac OS X, timeout test leaves zombie processed:
xcodebuild/Debug_x64/dart --ignore-unrecognized-flags --enable_type_checks ../tests/standalone/timeout_test.dart
The text was updated successfully, but these errors were encountered: