Force USE_BAZEL_VERSION to working SHA until last_green is fixed#3029
Force USE_BAZEL_VERSION to working SHA until last_green is fixed#3029brentleyjones merged 2 commits intomainfrom
USE_BAZEL_VERSION to working SHA until last_green is fixed#3029Conversation
ca10adb to
4690572
Compare
4690572 to
9da0cde
Compare
|
@fmeum seems odd that the identified commit would cause these issues on macOS? |
|
Yes, that's very much unexpected. I did manually revert seven commits though, it's quite possible I messed something up. I still have the original version of my PR with many individual commits, I will try to bisect this locally. Cc @oquenchil as this appears to be a Bazel 7.2.0 regression |
|
I can't reproduce this locally:
I have up-to-date Xcode installed and also ran |
|
I think I found the problem although I'm unable to confirm it, this line is definitely wrong: |
USE_BAZEL_VERSION to working SHA until last_green is fixed
The reverts in 3fddc7f accidentally replaced `sandboxExecRoot` with `execRoot` in the function that computes writable directories for sandbox spawn runners. This issue was observed in MobileNativeFoundation/rules_xcodeproj#3029. Closes #22443. PiperOrigin-RevId: 635383877 Change-Id: I3d74bf78cf97ecd267ba90b68cf1b715850aba27
The reverts in 3fddc7f accidentally replaced `sandboxExecRoot` with `execRoot` in the function that computes writable directories for sandbox spawn runners. This issue was observed in MobileNativeFoundation/rules_xcodeproj#3029. Closes bazelbuild#22443. PiperOrigin-RevId: 635383877 Change-Id: I3d74bf78cf97ecd267ba90b68cf1b715850aba27
The reverts in 3fddc7f accidentally replaced `sandboxExecRoot` with `execRoot` in the function that computes writable directories for sandbox spawn runners. This issue was observed in MobileNativeFoundation/rules_xcodeproj#3029. Closes #22443. PiperOrigin-RevId: 635383877 Change-Id: I3d74bf78cf97ecd267ba90b68cf1b715850aba27 Commit b0ed4ca Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
|
Thx for taking a look @fmeum! I'll address a review comment and land this today in the meantime. |
Signed-off-by: Thiago Cruz <thiago@squareup.com>
Signed-off-by: Thiago Cruz <thiago@squareup.com>
Signed-off-by: Thiago Cruz <thiago@squareup.com>
066425f to
9ebbfe8
Compare
Similar to: #3029 Currently the `./test/update_all_fixtures.sh` script is failing with error (in `main`): ```sh FATAL: bazel crashed due to an internal error. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=@@rules_apple~//apple/internal:environment_plist_macos, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}' (requested by nodes 'ConfiguredTargetKey{label=//GRPC:echo_client, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//GRPC:echo_client.merged_infoplist, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//Proto:proto, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//Proto:proto.merged_infoplist, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//GRPC:echo_server, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//GRPC:echo_server.merged_infoplist, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}') at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:557) at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:426) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(Unknown Source) at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) Caused by: net.starlark.java.eval.Starlark$UncheckedEvalException: IllegalArgumentException thrown during Starlark evaluation (@@rules_apple~//apple/internal:environment_plist_macos) at <starlark>.multi_arch_platform(<builtin>:0) at <starlark>._platform_prerequisites(/Users/thiago/Development/MobileNativeFoundation/rules_xcodeproj/examples/integration/bazel-output-base/rules_xcodeproj.noindex/build_output_base/external/rules_apple~/apple/internal/platform_support.bzl:96) at <starlark>._environment_plist_impl(/Users/thiago/Development/MobileNativeFoundation/rules_xcodeproj/examples/integration/bazel-output-base/rules_xcodeproj.noindex/build_output_base/external/rules_apple~/apple/internal/environment_plist.bzl:52) Caused by: java.lang.IllegalArgumentException: Expected post-split-transition platform type macos to match input macos ``` Keeping an eye on it until the fix is in `last_green`, but working around it for now to unblock development in `main`. Signed-off-by: Thiago Cruz <thiago@squareup.com>
…obileNativeFoundation#3029) There are at least two issues causing CI to be 🔴 atm: 1. [See example](https://mnf.buildbuddy.io/invocation/92c4f0ed-72f3-4cf7-a941-43ae28448acb?target=%2F%2FLib%3Agen_Lib.swift&targetStatus=3#@1). Repro: ```sh cd examples/integration bazel clean && USE_BAZEL_VERSION=last_green bazel build //Lib:gen_Lib.swift ``` 2. [See example](https://mnf.buildbuddy.io/invocation/f51fedc6-8204-4707-8954-a1ea1f40bf35#@191). Repro: ```sh # From root bazel clean && USE_BAZEL_VERSION=last_green bazel build //test/internal/bazel_labels:normalize_tests_test_2 ``` I confirmed that bazelbuild/bazel@dd2464a is the last commit that does not hit the issues above. Commit bazelbuild/bazel@3fddc7f is the first one that repros the above (i.e. you'll also hit the issues above if you replace `last_green` with this SHA). So proposing we force CI to run on bazelbuild/bazel@dd2464a for now until the issue is fixed upstream. Thoughts? --------- Signed-off-by: Thiago Cruz <thiago@squareup.com> Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
…eNativeFoundation#3033) Similar to: MobileNativeFoundation#3029 Currently the `./test/update_all_fixtures.sh` script is failing with error (in `main`): ```sh FATAL: bazel crashed due to an internal error. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=@@rules_apple~//apple/internal:environment_plist_macos, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}' (requested by nodes 'ConfiguredTargetKey{label=//GRPC:echo_client, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//GRPC:echo_client.merged_infoplist, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//Proto:proto, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//Proto:proto.merged_infoplist, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//GRPC:echo_server, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}', 'ConfiguredTargetKey{label=//GRPC:echo_server.merged_infoplist, config=BuildConfigurationKey[b9d3bb9e7707500dae32d8b693576ca2a5d5e2f8c0d56fe0957bab54bf751df7]}') at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:557) at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:426) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(Unknown Source) at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) Caused by: net.starlark.java.eval.Starlark$UncheckedEvalException: IllegalArgumentException thrown during Starlark evaluation (@@rules_apple~//apple/internal:environment_plist_macos) at <starlark>.multi_arch_platform(<builtin>:0) at <starlark>._platform_prerequisites(/Users/thiago/Development/MobileNativeFoundation/rules_xcodeproj/examples/integration/bazel-output-base/rules_xcodeproj.noindex/build_output_base/external/rules_apple~/apple/internal/platform_support.bzl:96) at <starlark>._environment_plist_impl(/Users/thiago/Development/MobileNativeFoundation/rules_xcodeproj/examples/integration/bazel-output-base/rules_xcodeproj.noindex/build_output_base/external/rules_apple~/apple/internal/environment_plist.bzl:52) Caused by: java.lang.IllegalArgumentException: Expected post-split-transition platform type macos to match input macos ``` Keeping an eye on it until the fix is in `last_green`, but working around it for now to unblock development in `main`. Signed-off-by: Thiago Cruz <thiago@squareup.com> Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
There are at least two issues causing CI to be 🔴 atm:
I confirmed that bazelbuild/bazel@dd2464a is the last commit that does not hit the issues above. Commit bazelbuild/bazel@3fddc7f is the first one that repros the above (i.e. you'll also hit the issues above if you replace
last_greenwith this SHA).So proposing we force CI to run on bazelbuild/bazel@dd2464a for now until the issue is fixed upstream. Thoughts?