Skip to content

pkg/dartdev/test/commands/compile_test is failing on cross-compilation #61181

@alexmarkov

Description

@alexmarkov

There are new test failures on Fix some EOL bugs + remove useLineEndingsForPlatform=false from refactor tests.

The tests

pkg/dartdev/test/commands/compile_test RuntimeError (expected Pass)

are failing on configurations

unittest-asserts-release-linux-arm64

Log:

Checking the latest available revision...
Downloading https://storage.googleapis.com/dart-archive/channels/main/raw/latest/VERSION...
Using revision fd33d9eae8ddc741a58d1dee2fe91cb2e63bdcea.
Downloading https://storage.googleapis.com/dart-archive/channels/main/raw/hash/fd33d9eae8ddc741a58d1dee2fe91cb2e63bdcea/sdk/gen_snapshot_linux_arm64_linux_arm...
Failed to download https://storage.googleapis.com/dart-archive/channels/main/raw/hash/fd33d9eae8ddc741a58d1dee2fe91cb2e63bdcea/sdk/gen_snapshot_linux_arm64_linux_arm to /home/chrome-bot/.dart/dartdev/sdk_cache/3.10.0-edge.fd33d9eae8ddc741a58d1dee2fe91cb2e63bdcea/gen_snapshot_linux_arm64_linux_arm.
If the problem persists, try downloading it manually.
SdkCacheException: GET https://storage.googleapis.com/dart-archive/channels/main/raw/hash/fd33d9eae8ddc741a58d1dee2fe91cb2e63bdcea/sdk/gen_snapshot_linux_arm64_linux_arm failed: 404
#0      SdkCache._download (package:dartdev/src/sdk_cache.dart:248:7)
<asynchronous suspension>
#1      SdkCache.ensureArtifact (package:dartdev/src/sdk_cache.dart:207:34)
<asynchronous suspension>
#2      CompileNativeCommand.run (package:dartdev/src/commands/compile.dart:619:29)
<asynchronous suspension>
#3      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#4      DartdevRunner.runCommand (package:dartdev/dartdev.dart:255:18)
<asynchronous suspension>
#5      runDartdev (package:dartdev/dartdev.dart:48:16)
<asynchronous suspension>
#6      main (file:///b/s/w/ir/cache/builder/sdk/pkg/dartdev/bin/dartdev.dart:13:5)
<asynchronous suspension>

full log

Looks unrelated to the commit where it started failing.
Probably related to how we cache Dart SDK artifacts for cross-compilation.
/cc @sstrickl @iinozemtsev

Metadata

Metadata

Assignees

Labels

area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.gardening

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions