测试挂在这里:
00:00 +0: loading /Volumes/Work/s/w/ir/x/w/flutter/examples/api/integration_test/smoke_integration_test.dart
Running pod install... 1,506ms
Building macOS application...
Detected macOS app running in CI, turning off sandboxing.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00008103-000C31943ABB001E }
{ platform:macOS, arch:x86_64, id:00008103-000C31943ABB001E }
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
✓ Built build/macos/Build/Products/Debug/Flutter API Sample.app
00:00 +0: Smoke test animation/animation_controller/animated_digit.0.dart
https://luci-milo.appspot.com/ui/p/flutter/builders/prod/Mac_arm64%20framework_tests_misc/2224/overview
https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20framework_tests_misc/2/infra
有趣的是,x86版本似乎运行正常:
https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_x64%20framework_tests_misc/2/infra
https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_x64%20framework_tests_misc/3/infra
3条答案
按热度按时间fcipmucu1#
所以我无法在本地重现这个情况。我也无法在设备实验室的机器人上重现它。然而,我可以在Chromium机器人上一致地重现它。它也没有提供任何xcresult。
我猜想这是另一个阻止其运行的对话框弹出,但沙箱正在被禁用。你可以在日志中看到
Detected macOS app running in CI, turning off sandboxing.
消息。我启用了详细日志运行测试,似乎它连接到了Dart VM,所以我认为应用程序正在启动,但测试从未进展过。我们还可以在详细日志中看到沙箱确实被禁用了。
https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20framework_tests_misc/10/infra
在CI中进行测试
解除阻塞的可能解决方法
一个简单的解决方法是将其运行在设备实验室(从
Mac_arm64 framework_tests_misc
更改为Mac_arm64_ios framework_tests_misc
)idv4meu82#
一旦修复,#150009 将需要被还原(或成为修复的PR的一部分)
gv8xihay3#
奇怪的是,这个通过了运行Xcode 16 beta 1 https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64%20framework_tests_misc/8028/overview