-
Notifications
You must be signed in to change notification settings - Fork 1.7k
codesigning errors on mac m1 bots #49275
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
I see this message saying that output.exe is malformed? Isn't that a VM issue?
|
It seems unlikely as it started to fail on seemingly unrelated change. |
cc @sstrickl who might have more context for codesigning potential source of failures. |
No, same version of xcode installed on failing and passing builds. Also, it recovered on a later commit. |
I don't think it did - _fe_analyzer_shared/test/macros/executor/executor_test is still RuntimeError according to results.json. I just approved those failure, which turned the bot green. |
Ah sorry. |
another failure on different m1 bot https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8811182848651754113/+/u/test_results/new_test_failures__logs_ |
three more tests are failing with codesigning errors |
Taking a look now. |
So unfortunately the log output is nearly useless for figuring out why there was a failure (going to make a small CL to make that better), but on my local M1 laptop these seem to be working a-ok, so I'm going to have to try things out on the trybots themselves. |
(Just realized that the first log in the issue does have the extra info I'm interested in, so yeah, will have to dig into why it's thinking the Mach-O file is malformed on the trybots, especially since I'm not getting this error locally 🤔) |
When signing a MachO executable fails, print all the diagnostics to stderr instead of stdout before throwing. Change-Id: I10cef830f2e1a548250685fbccaf5c9dae63877e Bug: #49275 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250383 Reviewed-by: Daco Harkes <[email protected]> Commit-Queue: Tess Strickland <[email protected]>
This reverts commit fef426a This reverts commit e9f629f This reverts commit 413f60a Reason for revert: With newer clang toolchain for MachOS, the produced MachO binaries (e.g. `dartaotruntime`) can no longer be signed with `codesign` on older MacOS versions (before MacOS 12). We will report this breaking change to fuchsia-clang team and revert to older (working) clang in the meantime to unblock releases. Issue #49275 Tested: ci Co-authored-by: Martin Kustermann <[email protected]> Change-Id: I0d4fa6617df2908c4af31e102f5faf9e3ea1df95 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/256208 Reviewed-by: Alexander Thomas <[email protected]> Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Alexander Thomas <[email protected]> Reviewed-by: Tess Strickland <[email protected]>
Marking this as a duplicate of #49783 |
This reverts commit fef426a This reverts commit e9f629f This reverts commit 413f60a Reason for revert: With newer clang toolchain for MachOS, the produced MachO binaries (e.g. `dartaotruntime`) can no longer be signed with `codesign` on older MacOS versions (before MacOS 12). We will report this breaking change to fuchsia-clang team and revert to older (working) clang in the meantime to unblock releases. Issue #49275 Tested: ci Co-authored-by: Martin Kustermann <[email protected]> Change-Id: I0d4fa6617df2908c4af31e102f5faf9e3ea1df95 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/256208 Reviewed-by: Alexander Thomas <[email protected]> Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Alexander Thomas <[email protected]> Reviewed-by: Tess Strickland <[email protected]>
pkg/_fe_analyzer_shared/test/macros/executor/executor_test
pkg/dartdev/test/commands/compile_test
pkg/vm_snapshot_analysis/test/precompiler_trace_test
fail with codesigning errors on mac m1 bots
From log:
The text was updated successfully, but these errors were encountered: