Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13435

Compilation issues with Bazel

    • Type: Icon: Build Failure Build Failure
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • 3
    • 2024-09-03 Q3 Streams v1

      many-collection-test on ubuntu2004-perf-tests-arm64

      Host: i-08e41bf6fb9c9a90b
      Project: wiredtiger
      Commit: bc2394f9

      Task Logs:

      many-collection-test task_log

      Logs:

      FAILED: Build did NOT complete successfully (184 packages loaded, 96 targets configured)
      FAILED: Build did NOT complete successfully (0 packages loaded, 17 targets configured)
      FAILED: Build did NOT complete successfully (0 packages loaded, 6 targets configured)
      

      logs

      Issue with bazel:

      [2024/08/20 17:36:35.227] ERROR: /data/mci/3dea445c00b647bfd7559b507321886c/mongo/src/mongo/db/commands/BUILD.bazel:430:17: no such package 'src/mongo/db/modules/enterprise/src/streams/util': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
      [2024/08/20 17:36:35.227]  - /data/mci/3dea445c00b647bfd7559b507321886c/mongo/src/mongo/db/modules/enterprise/src/streams/util and referenced by '//src/mongo/db/commands:server_status_core_header_dep'
      [2024/08/20 17:36:35.227] ERROR: Analysis of target '//src/mongo/db/commands:server_status_core_header_dep' failed; build aborted: Analysis failed
      [2024/08/20 17:36:35.227] INFO: Elapsed time: 0.479s
      [2024/08/20 17:36:35.227] INFO: 0 processes.
      [2024/08/20 17:36:35.227] FAILED: Build did NOT complete successfully (1 packages loaded, 0 targets configured)
      [2024/08/20 17:36:35.503] Loading:
      [2024/08/20 17:36:35.503] Loading:
      [2024/08/20 17:36:35.503] Loading: 0 packages loaded
      [2024/08/20 17:36:35.503] Analyzing: 2141 targets (0 packages loaded, 0 targets configured)
      [2024/08/20 17:36:35.503] ERROR: /data/mci/3dea445c00b647bfd7559b507321886c/mongo/src/mongo/db/commands/BUILD.bazel:430:17: no such package 'src/mongo/db/modules/enterprise/src/streams/util': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
      [2024/08/20 17:36:35.503]  - /data/mci/3dea445c00b647bfd7559b507321886c/mongo/src/mongo/db/modules/enterprise/src/streams/util and referenced by '//src/mongo/db/commands:server_status_core_header_dep'
      [2024/08/20 17:36:35.503] ERROR: Analysis of target '//src/mongo/db/commands:server_status_core_header_dep' failed; build aborted: Analysis failed
      [2024/08/20 17:36:35.503] INFO: Elapsed time: 0.257s
      [2024/08/20 17:36:35.503] INFO: 0 processes.
      [2024/08/20 17:36:35.503] FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
      [2024/08/20 17:36:35.503] ERROR: bazel thin targets query failed:
      [2024/08/20 17:36:35.503] Command '['/home/ubuntu/.local/bin/bazelisk', 'aquery', '--//bazel/config:compiler_type=gcc', '--//bazel/config:opt=auto', '--//bazel/config:dbg=False', '--//bazel/config:thin_lto=False', '--//bazel/config:separate_debug=False', '--//bazel/config:libunwind=auto', '--//bazel/config:use_gdbserver=False', '--//bazel/config:spider_monkey_dbg=False', '--//bazel/config:allocator=tcmalloc-google', '--//bazel/config:use_lldbserver=False', '--//bazel/config:use_wait_for_debugger=False', '--//bazel/config:use_ocsp_stapling=True', '--//bazel/config:use_disable_ref_track=False', '--//bazel/config:use_wiredtiger=True', '--//bazel/config:use_glibcxx_debug=False', '--//bazel/config:build_grpc=False', '--//bazel/config:use_libcxx=False', '--//bazel/config:detect_odr_violations=False', '--//bazel/config:linkstatic=False', '--//bazel/config:use_diagnostic_latches=False', '--//bazel/config:shared_archive=False', '--//bazel/config:linker=auto', '--//bazel/config:streams_release_build=False', '--//bazel/config:release=False', '--//bazel/config:build_enterprise=False', '--//bazel/config:visibility_support=auto', '--//bazel/config:disable_warnings_as_errors=False', '--//bazel/config:gcov=False', '--//bazel/config:pgo_profile=False', '--platforms=//bazel/platforms:ubuntu20_amd64', '--host_platform=//bazel/platforms:ubuntu20_amd64', '--//bazel/config:ssl=True', '--define', 'MONGO_VERSION=8.1.0-alpha-2837-gcf065a4', '--compilation_mode=dbg', '--//bazel/config:dwarf_version=5', '--//bazel/config:http_client=True', 'mnemonic("StripDebuginfo|ExtractDebuginfo|Symlink|IdlcGenerator|TemplateRenderer", (outputs("bazel-out/.*/bin/src/.*", deps(@//src/...))))', '--implicit_deps=False', '--tool_deps=False', '--include_aspects=False', '--remote_executor=', '--remote_cache=', '--bes_backend=', '--bes_results_url=']' returned non-zero exit status 1.
      [2024/08/20 17:36:35.503] Please ask about this in #ask-devprod-build slack channel.
      

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            Xgen-BuildBaron-User xgen-buildbaron-user
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: