-
Notifications
You must be signed in to change notification settings - Fork 271
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
timeline_test
failure on Windows.
#697
Comments
This was referenced Apr 3, 2024
Merged
@bkonyi are there some known issues with vm-service / DDS? We are getting:
Maybe some issue with paths on Windows? |
cc @derekxu16 |
Yes, the fix is already landed in https://dart-review.googlesource.com/c/sdk/+/360920. |
copybara-service bot
pushed a commit
to dart-lang/sdk
that referenced
this issue
Apr 12, 2024
…apshot The previous logic for building the path to dds.dart.snapshot would result in the Windows drive letter being dropped from the path: \path\to\dart-sdk\bin\dds.dart.snapshot This works most of the time since a leading slash is treated as a reference to the current drive, which often contains the Dart SDK. However, if the SDK is on a different drive than the current (e.g., in a container with two drives), the VM will fail to find the snapshot. This change uses the File(...) APIs from dart:io to build the path rather than trying to use the Uri class to manually hack together a path. TEST=N/A, not reproducible without a second Windows drive Bug: grpc/grpc-dart#697 Change-Id: I71d00b07a98508a780f5aab76417da4aa530f3c4 Cherry-pick: https://dart-review.googlesource.com/c/sdk/+/360920 Cherry-pick-request: #55386 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/361400 Reviewed-by: Siva Annamalai <[email protected]>
14 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
timeline_test
has been failing on Windows since at least Dart3.4.0-185.0.dev
, last working version was3.4.0-160.0.dev
.Could not be reproduced locally.
The text was updated successfully, but these errors were encountered: