Open athomas opened 6 years ago
The following tests are still failing on windows, and are now marked with RuntimeError in the status file pkg/pkg.status in the runtime vm, system windows section:
front_end/test/whole_program_test front_end/test/fasta/bootstrap_test
The errors are both about windows paths and the drive letters c: or e: starting them:
whole program test:
Running:
E:\b\build\slave\analyzer-win7-release-strong-be\build\sdk\out\ReleaseX64\dart-sdk\bin\dart.exe --packages=E:\b\build\slave\analyzer-win7-release-strong-be\build\sdk.packages -c E:\b\build\slave\analyzer-win7-release-strong-be\build\sdk\pkg\front_end\tool_fasta\compile.dart --platform=E:\b\build\slave\analyzer-win7-release-strong-be\build\sdk\out\ReleaseX64\dart-sdk\lib_internal\vm_platform.dill --output=C:\Users\CHROME~2\AppData\Local\Temp\whole_programe63eddd2-fb9a-11e7-b4df-005056030213\hello.dart.dill --packages=E:\b\build\slave\analyzer-win7-release-strong-be\build\sdk.packages --verify C:\Users\CHROME~2\AppData\Local\Temp\whole_programe63eddd2-fb9a-11e7-b4df-005056030213\hello.dart
Output:
c:: Error: Unexpected input: c:
ExitCode: 1
Took: 0:00:04.703281
stderr:
Unhandled exception:
Compilation of hello.dart failed.
bootstrap_test: Unhandled exception: FileSystemException(uri=e:.packages; message=StandardFileSystem only supports file: and data: URIs)
I think whole_program_test is failing due to: https://github.com/dart-lang/sdk/blob/4e56b7a92b0071b9f49212d43a900627c66ba1cb/pkg/front_end/tool/_fasta/command_line.dart#L302
These places also need to use new Uri.file.
Probably same problem in bootstrap_test.
These tests fail on windows: front_end/test/kernel_generator_test: RuntimeError front_end/test/mixin_export_test: RuntimeError front_end/test/src/incremental/hot_reload_e2e_test: RuntimeError front_end/test/summary_generator_test: RuntimeError front_end/test/whole_program_test: RuntimeError
The all have a variation of this error in the logs: Error: SDK root directory not found: e:/.
Build: https://chromium-swarm.appspot.com/task?id=3afd7e93fb7a8a10 Log: https://logs.chromium.org/v/?s=dart%2Fled%2Fathom_google.com%2F031f85f65c6387b3e898de770db079c856e047f14d2aa40235171b60557feeeb%2F%2B%2Fsteps%2Ffront-end_tests%2F0%2Fstdout
Related to #31707