Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-86661

Bazel Ninja Integration failing

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • Fully Compatible
    • ALL

      ```
      [0/5490 ( 0%) 0.555s] Running bazel build
      Traceback (most recent call last):
      File "/home/ubuntu/mongo/site_scons/mongo/ninja_bazel_build.py", line 62, in <module>
      ninja_proc = subprocess.run(ninja_inputs_cmd, capture_output=True, text=True, check=True)
      File "/opt/mongodbtoolchain/revisions/69f4f0673ffcb290ce2307560a4883ecf2ad138c/stow/python3-v4.CBC/lib/python3.10/subprocess.py", line 524, in run
      raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['ninja', '-f', 'build.ninja', '-t', 'inputs', 'install-devcore']' returned non-zero exit status 1.
      ```

      "I tried to run ninja -f build.ninja -t inputs install-devcore by hand and got ninja: fatal: unknown tool 'inputs'"

      Context: https://mongodb.slack.com/archives/CQDQ9R413/p1707961324183229

      Zack: I'm not able to reproduce this on my workstation, but it's happening to at least one user so it may be a widespread issue

            Assignee:
            Unassigned Unassigned
            Reporter:
            zack.winter@mongodb.com Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: