Open derekxu16 opened 5 months ago
cc @bkonyi and @DanTup
https://dart-review.googlesource.com/c/sdk/+/365804 should fix the drive letter mismatch (oddly that test hasn't changed in 2yrs.. not sure if the drive letter casing is somehow different on some bots for temp directory?).
Hard to tell what the other failure is - @derekxu16 is there a way to tell how frequently it's failing? We could enable verbose output on the bots temporarily to try to get a better idea of what's happening?
We have a flakiness dashboard. Unfortunately you have to log in with an @google.com account to access it, but here's a screenshot showing the run results of pkg/dds/test/dap/integration/debug_exceptions_test
on Windows:
I don't know how many of these failures were caused by SocketException
s specifically, but the test is failing frequently.
I guess many of those failures could be the drive letter issue. Let's land the fix above and then review the stats.. if there are still failures and that wasn't a one-off, I'll open a change to add verbose output and we can go from there.
(I'll ping back here a little after that fix lands)
A fix for the second issue (drive casing) has landed. I believe the first issue is the same as https://github.com/dart-lang/sdk/issues/55313 - let me know if we should close this as a dupe, or it's better to keep this open until that's also fixed (I don't know how the flaky test approval works if it might be tied to this?).
@derekxu16 are you able to review what this dashboard looks like now with some of the fixes above landed?
Clicking on the numbers in the RTE and TO columns shows me the last time a result in the specified category occurred. The test hasn't timed out on either win-x64 or win-arm64 since May 2, 2024 (https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release/28313/overview and https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release-arm64/1453/overview). There hasn't been an RTE on win-x64 since May 30, 2024 (https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release/28645/overview), but there was an RTE on win-arm64 on August 16, 2024 (https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release-arm64/2347/overview).
Thanks - if I'm looking at the right failure, the recent failure is "The pipe is being closed" which I think is the same issue discussed in https://github.com/dart-lang/sdk/issues/55313 (this needs some further input, as I've not been able to come up with any way to handle that error without the VM hanging at the end - I've added example code in that issue).
I think the original issue here may be resolved by the fix for https://github.com/dart-lang/sdk/issues/55313, however looking at https://dart-ci.firebaseapp.com/#showLatestFailures=false&test=pkg/dds/test/dap/integration/debug_exceptions_test, there are some different recent failures:
00:10 [32m+6[0m[31m -1[0m: debug mode parses line/column information from stack traces [1m[31m[E][0m[0m
Expected: '/b/s/w/itrrr2vys3/dart-sdk-dap-testDGOUGT/appUWATOH/test_file.dart'
Actual: <null>
Which: not an <Instance of 'String'>
package:matcher/src/expect/expect.dart 149:31 fail
package:matcher/src/expect/expect.dart 144:3 _expect
package:matcher/src/expect/expect.dart 56:3 expect
pkg/dds/test/dap/integration/debug_exceptions_test.dart 91:7 main.<fn>.<fn>
===== asynchronous gap ===========================
package:test_api/src/backend/declarer.dart 229:9 Declarer.test.<fn>.<fn>
===== asynchronous gap ===========================
package:test_api/src/backend/declarer.dart 227:7 Declarer.test.<fn>
===== asynchronous gap ===========================
package:test_api/src/backend/invoker.dart 258:9 Invoker._waitForOutstandingCallbacks.<fn>
00:10 [32m+6[0m[31m -1[0m: [31mSome tests failed.[0m
I'll try to repro this.
The tests
are failing on configurations
https://dart-ci.appspot.com/log/pkg-win-release-arm64/unittest-asserts-release-win-arm64/1503/pkg/dds/test/dap/integration/debug_exceptions_test
https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release-arm64/1503/overview
I see two errors in the logs. The first is a
SocketException
:The second is a drive letter capitalization mismatch: