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

Bazel formatter failing on AMD64 when Remote Execution is enabled

    • 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

      ./bazelisk-linux-amd64 run @//bazel/format:format
      INFO: Invocation ID: 92225bcb-bc93-4125-adf7-90016efd3368
      INFO: Streaming build results to: https://sodalite.cluster.engflow.com/invocation/92225bcb-bc93-4125-adf7-90016efd3368
      INFO: Analyzed target //bazel/format:format (0 packages loaded, 0 targets configured).
      INFO: Found 1 target...
      ERROR: /home/ubuntu/mongo/BUILD.bazel:11:22: Copying directory npm__prettier__3.2.5/package [for tool] failed: (Exit 2): copy_directory failed: error executing command (from target //:.aspect_rules_js/node_modules/prettier@3.2.5/pkg) external/copy_directory_linux_amd64/copy_directory external/npm__prettier__3.2.5/package bazel-out/k8-opt-exec-2B5CBBC6/bin/node_modules/.aspect_rules_js/prettier@3.2.5/node_modules/prettier --hardlink
      Execution result: https://sodalite.cluster.engflow.com/actions/executions/ChBoLT3lED9E7qHVtMq0yJpDEgdkZWZhdWx0GiUKIM9fRzvVT4-DyRINvzhPu9TS7Z5cJXBHFZAgLsjttewYEL0C
      external/copy_directory_linux_amd64/copy_directory: 1: Syntax error: "(" unexpected
      Target //bazel/format:format failed to build
      Use --verbose_failures to see the command lines of failed build steps.
      INFO: Elapsed time: 1.356s, Critical Path: 0.73s
      INFO: 2 processes: 2 internal.
      ERROR: Build failed. Not running target
      INFO: Streaming build results to: https://sodalite.cluster.engflow.com/invocation/92225bcb-bc93-4125-adf7-90016efd3368
      FAILED: Build did NOT complete successfully

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

              Created:
              Updated:
              Resolved: