Skip to content
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

Closed
ghost opened this issue May 24, 2012 · 7 comments
Closed

timeout_test.dart does not terminate correctly on Mac OS X #3216

ghost opened this issue May 24, 2012 · 7 comments
Assignees
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). P0 A serious issue requiring immediate resolution

Comments

@ghost
Copy link

ghost commented May 24, 2012

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

@whesse
Copy link
Contributor

whesse commented May 25, 2012

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.
It should be marked as Skip in the status file, and only run from the test_runner_test.dart.

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.

@iposva-google
Copy link
Contributor

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.

@ghost
Copy link
Author

ghost commented May 25, 2012

Yes, Ivan is correct. The timeout test does not terminate when run as part of the test harness (tools/test.py).

@ghost
Copy link
Author

ghost commented May 29, 2012

Can we disable the test until this bug has been resolved?

@iposva-google
Copy link
Contributor

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.
Added Priority-Critical, Accepted labels.

@whesse
Copy link
Contributor

whesse commented Jun 8, 2012

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.

@whesse
Copy link
Contributor

whesse commented Jun 11, 2012

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.

@ghost ghost added Type-Defect P0 A serious issue requiring immediate resolution area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). labels Jun 11, 2012
@ghost ghost assigned whesse Jun 11, 2012
copybara-service bot pushed a commit that referenced this issue Oct 13, 2022
…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>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). P0 A serious issue requiring immediate resolution
Projects
None yet
Development

No branches or pull requests

2 participants