sgammon / rules_graalvm

Build GraalVM native binaries with Bazel
Apache License 2.0
45 stars 13 forks source link

[Bazel CI] Error Unrecognized Bazel flag "incompatible_remote_results_ignore_disk" with Bazel@HEAD #409

Open sgowroji opened 3 months ago

sgowroji commented 3 months ago

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3917#01900aa0-2cd4-425b-95c9-5086b533bee2

Platform: MacOs, Windows, Ubuntu

Logs:

ERROR: --incompatible_remote_results_ignore_disk :: Unrecognized option: --incompatible_remote_results_ignore_disk
Traceback (most recent call last):
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 4468, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 4436, in main
    execute_commands(
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 1335, in execute_commands
    PrepareRepoInCwd(True, initial_setup=True)
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 1323, in PrepareRepoInCwd
    os.environ["OUTPUT_BASE"] = get_output_base(bazel_binary)
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 2086, in get_output_base
    return execute_command_and_get_output(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 2690, in execute_command_and_get_output
    process = subprocess.run(
              ^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', 'info', 'output_base']' returned non-zero exit status 2.

Culprit : https://github.com/bazelbuild/bazel/commit/17ee62e91d86eb6e9d4f9d29e6f8cc0dc2a87acd

CC Greenteam @salmasamy

sgowroji commented 3 months ago

CC @sgammon

sgammon commented 3 months ago

Thx for CC @sgowroji; will fix in next release

sgowroji commented 2 months ago

@sgammon As the CI is still failing we are moving this to Disable pipeline. Once the issue is fixed then we will move back to Downstream.

sgammon commented 2 months ago

No problem, I'll tag you once it is fixed @sgowroji