-
Notifications
You must be signed in to change notification settings - Fork 1.7k
pkg/dartdev/test/commands/create_integration_test takes too long to fail #51037
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
Comments
We can probably update the timeout for these tests to be something more sane (2 minutes instead of the default 5 maybe?). The only issue with that is that these tests can just be slow in general, and we don't want to have false negatives when the test is just slow. |
One thing I'm wondering is why does it timeout? It seems like the failure should be reported up and cause the entire test to fail faster without changing any timeouts. In this case I'm removing a file from the packaged SDK so there is a missing file and we need to update build_web_compilers. |
FYI I'm going to add a skip for this test temporarily as we update the SDK and then release an updated version of build_web_compilers that works with the SDK changes. Skipping seems to be easier than running it multiple times to approve the failure and land the change. |
Bump build_web_compilers dependency in the web template pubspec.yaml. New webdev and build families of packages have been published that work with the Dart 3 SDK so this test should work again. Fixes: #51106 Issue: #51037 Change-Id: I854fafb683bff20786b1b31b0368d08b49029e83 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/280053 Reviewed-by: Ben Konyi <[email protected]> Commit-Queue: Nicholas Shahan <[email protected]>
The test is still failing on windows only. Skipping because the test takes too long to fail and deflake. Issue: #51037 Issue: #51106 Change-Id: I804e4c7a4e378883943aa63816b71e6fe94de647 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/280250 Reviewed-by: Ben Konyi <[email protected]> Commit-Queue: Nicholas Shahan <[email protected]>
I've noticed that breaking the test
pkg/dartdev/test/commands/create_integration_test
causes CI on thepkg-linux-release-try
bot to run for close to an extra hour. See the results and timeline here https://ci.chromium.org/ui/p/dart/builders/try/pkg-linux-release-try/71378/overviewI'm not sure how long that link will stay active but to summarize, it takes ~17 minutes for the step titled "package unit tests" to complete. This found one test failure: pkg/dartdev/test/commands/create_integration_test. That single failure needs to be deflaked which takes another 53 minutes. And these times are the runtimes, not including time spent waiting for the resources to run.
Would it be possible for this test to fail faster?
Here is the log from the failure:
The text was updated successfully, but these errors were encountered: