-
Notifications
You must be signed in to change notification settings - Fork 1.7k
File copying on Windows buildbots is broken #56125
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
The culprit is https://dart-review.git.corp.google.com/c/sdk/+/372400 which started to convert destination to long-prefixed form. |
https://dart-review.googlesource.com/c/sdk/+/374220 with proposed fix |
Long-prefixed paths can't have '..' segments in them. Delete recursively uses long-prefixes, so the tests that verify long paths handling had to be updated accordingly: it's okay to use long paths when they are prefixed(when they are deleted recursively). This is follow-up to 4928998 Bug: #56125 Change-Id: I6613b1a324e8923d05e5f0a470ee5b2999d1b929 TEST=ci Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/374220 Commit-Queue: Alexander Aprelev <[email protected]> Reviewed-by: Ryan Macnak <[email protected]>
and https://dart-review.googlesource.com/c/sdk/+/374181 with the prebuilt roll |
Thanks for looking at this @aam. Note that the fix landed in b207aed is incomplete I think. What this bug shows is that our I wonder if we should just start using |
Good point! But my thinking was that it's only when we use |
|
Shortcut in what sense? I thought presence of long prefix disables some file/directory name processing and validation - stuff like handling of |
@aam in the implementation sense. I added |
Bug: #56125 Change-Id: Ib270d4ad7f7b4570954aa3688edccef0ccbbad85 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/374297 Reviewed-by: Alexander Aprelev <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
@aam Would you submit a follow up change to fix the whole issue? |
@mraleph wrote
Is this what you had in mind https://dart-review.googlesource.com/c/sdk/+/375421 ? |
This ensures that on Windows we take advantage of 32k-character file name limit consistently for all files and directories operations. TEST=ci BUG=#56125 BUG=#55972 CoreLibraryReviewExempt: adds windows-specific error code for invalid file name Change-Id: I83bd3ceac579e589469e47b2cf5216db457cae8b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/375421 Reviewed-by: Slava Egorov <[email protected]> Commit-Queue: Alexander Aprelev <[email protected]>
For example https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-aot-win-debug-x64/167/overview
Failure:
cc @mraleph
The text was updated successfully, but these errors were encountered: