Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View adam-singer's full-sized avatar
👾

Adam Singer adam-singer

👾
View GitHub Profile
{
"commandArgs": ["external/local_config_cc/cc_wrapper.sh", "-U_FORTIFY_SOURCE", "-fstack-protector", "-Wall", "-Wthread-safety", "-Wself-assign", "-Wunused-but-set-parameter", "-Wno-free-nonheap-object", "-fcolor-diagnostics", "-fno-omit-frame-pointer", "-std\u003dc++0x", "-MD", "-MF", "bazel-out/darwin_arm64-fastbuild/bin/src/mongo/db/commands/_objs/fsync_locked_with_debug/fsync_locked.pic.d", "-frandom-seed\u003dbazel-out/darwin_arm64-fastbuild/bin/src/mongo/db/commands/_objs/fsync_locked_with_debug/fsync_locked.pic.o", "-fPIC", "-DMONGO_CONFIG_DEBUG_BUILD", "-DBAZEL_CURRENT_REPOSITORY\u003d\"\"", "-iquote", ".", "-iquote", "bazel-out/darwin_arm64-fastbuild/bin", "-Isrc", "-include", "mongo/platform/basic.h", "-no-canonical-prefixes", "-Wno-builtin-macro-redefined", "-D__DATE__\u003d\"redacted\"", "-D__TIMESTAMP__\u003d\"redacted\"", "-D__TIME__\u003d\"redacted\"", "-c", "src/mongo/db/commands/fsync_locked.cpp", "-o", "bazel-out/darwin_arm64-fastbuild/bin/src/mongo/db/commands/_objs/fsync_locked_with_deb
diff --git a/.bazelrc b/.bazelrc
index ab767a9305f..8d557d96330 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -18,20 +18,39 @@ build:linux --crosstool_top=@mongo_toolchain//:toolchain_suite
# remote execution is the default, but only mongodb employees will be able to access
# the engflow cluster. External builders should use the local option below
# remote execution configs
-build --remote_executor=grpcs://sodalite.cluster.engflow.com
-build --remote_cache=grpcs://sodalite.cluster.engflow.com
09:49:18 adam@Adams-MBP mongo ±|master ✗|→ bazel build src/mongo/db/commands:fsync_locked_with_debug
INFO: Invocation ID: 91a1715a-f983-4fba-8382-6cde23bc5219
INFO: Analyzed target //src/mongo/db/commands:fsync_locked_with_debug (44 packages loaded, 232 targets configured).
INFO: Found 1 target...
SUBCOMMAND: # //src/mongo/db/commands:fsync_locked_with_debug [action 'Compiling src/mongo/db/commands/fsync_locked.cpp', configuration: 4faee9b447f032c192441a465a8a0257e3cf9ed7da35aa53a9c1e3394265e775, execution platform: @local_config_platform//:host]
(cd /private/var/tmp/_bazel_adam/910d46eba2699b2bc73b1dbbe2d30dbd/execroot/__main__ && \
exec env - \
PATH=/bin:/usr/bin:/usr/local/bin \
PWD=/proc/self/cwd \
external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer '-std=c++0x' -MD -MF bazel-out/darwin_arm64-fastbuild/bin/src/mongo/db/commands/_objs/fsync_l
11:03:47 adam@Adams-MBP mongo ±|master|→ bazel query //...|grep -E "^//"|sort
Loading: 0 packages loaded
Loading: 0 packages loaded
//bazel/config:all_sanitizer_required_settings
//bazel/config:allocator
//bazel/config:any_enabled_sanitizer
//bazel/config:any_enabled_sanitizer_2
//bazel/config:any_enabled_sanitizer_3
//bazel/config:any_enabled_sanitizer_4
//bazel/config:any_enabled_sanitizer_5
05:23:49 adam@adam-dev-workstation-001 native-link-2 ±|adams/evicting-map-time-bug|→ bazel test //... --verbose_failures
INFO: Repository local_config_cc instantiated at:
/DEFAULT.WORKSPACE.SUFFIX:520:13: in <toplevel>
/home/adam/.cache/bazel/_bazel_adam/dec0d2c0551dbdfc928a90782c7f9a5e/external/bazel_tools/tools/cpp/cc_configure.bzl:184:16: in cc_configure
Repository rule cc_autoconf defined at:
/home/adam/.cache/bazel/_bazel_adam/dec0d2c0551dbdfc928a90782c7f9a5e/external/bazel_tools/tools/cpp/cc_configure.bzl:143:30: in <toplevel>
ERROR: An error occurred during the fetch of repository 'local_config_cc':
Traceback (most recent call last):
File "/home/adam/.cache/bazel/_bazel_adam/dec0d2c0551dbdfc928a90782c7f9a5e/external/bazel_tools/tools/cpp/cc_configure.bzl", line 125, column 33, in cc_autoconf_impl
configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools)
2024-01-08T22:30:30.354347Z INFO nativelink_service::ac_server: get_action_result Req: GetActionResultRequest { instance_name: "main", action_digest: Some(Digest { hash: "b4b52635f83a19af242fde0967bc5da92d888588a5be3b3bfeeaa9863fd8ac66", size_bytes: 160 }), inline_stdout: false, inline_stderr: false, inline_output_files: [], digest_function: Unknown }
at nativelink-service/src/ac_server.rs:141 on tokio-runtime-worker ThreadId(2)
2024-01-08T22:30:30.354595Z INFO nativelink_service::ac_server: get_action_result Resp: 0.000254292 Some("b4b52635f83a19af242fde0967bc5da92d888588a5be3b3bfeeaa9863fd8ac66") Err(Error { code: NotFound, messages: ["Digest found, but not all parts were found in CompletenessCheckingStore::get_part_ref"] })
at nativelink-service/src/ac_server.rs:152 on tokio-runtime-worker ThreadId(11)
2024-01-08T22:30:30.359135Z INFO nativelink_service::cas_server: find_missing_blobs Req: FindMissingBlobsRequest { instance_name: "main", blob_digests: [Digest { hash: "2073c89b3878b507a759
nativelink v0.2.0 (/Users/adam/workspace/nativelink-2)
├── async-lock feature "default"
│ ├── async-lock v3.2.0
│ │ ├── event-listener v4.0.1
│ │ │ ├── concurrent-queue v2.4.0
│ │ │ │ └── crossbeam-utils v0.8.17
│ │ │ │ └── cfg-if feature "default"
│ │ │ │ └── cfg-if v1.0.0
│ │ │ ├── parking feature "default"
│ │ │ │ └── parking v2.2.0
diff --git a/nativelink-proto/build/bazel/remote/execution/v2/remote_execution.proto b/nativelink-proto/build/bazel/remote/execution/v2/remote_execution.proto
index 78dc5e3..522634b 100644
--- a/nativelink-proto/build/bazel/remote/execution/v2/remote_execution.proto
+++ b/nativelink-proto/build/bazel/remote/execution/v2/remote_execution.proto
@@ -613,7 +613,7 @@ message Command {
// to execution, even if they are not explicitly part of the input root.
//
// DEPRECATED since v2.1: Use `output_paths` instead.
- repeated string output_files = 3; // [ deprecated = true ];
+ repeated string output_files = 3 [ deprecated = true ];
04:28:32 adam@Adams-MacBook-Pro native-link ±|main|→ nix build
warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
warning: Ignoring setting 'impure-env' because experimental feature 'configurable-impure-env' is not enabled
error: builder for '/nix/store/8dxi3baawyzx04iqng2nc6cn60l8h9gl-nativelink-deps-0.0.0.drv' failed with exit code 101;
last 10 log lines:
> error: could not compile `parking_lot_core` (build script) due to previous error
> error: could not compile `futures-channel` (build script) due to previous error
> error: could not compile `futures-util` (build script) due to previous error
> error: could not compile `num-traits` (build script) due to previous error
> error: could not compile `futures-core` (build script) due to previous error
04:28:32 adam@Adams-MacBook-Pro native-link ±|main|→ nix build
warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
warning: Ignoring setting 'impure-env' because experimental feature 'configurable-impure-env' is not enabled
error: builder for '/nix/store/8dxi3baawyzx04iqng2nc6cn60l8h9gl-nativelink-deps-0.0.0.drv' failed with exit code 101;
last 10 log lines:
> error: could not compile `parking_lot_core` (build script) due to previous error
> error: could not compile `futures-channel` (build script) due to previous error
> error: could not compile `futures-util` (build script) due to previous error
> error: could not compile `num-traits` (build script) due to previous error
> error: could not compile `futures-core` (build script) due to previous error