Skip to content

Instantly share code, notes, and snippets.

@chrisirhc
Last active February 1, 2025 01:59
Show Gist options
  • Save chrisirhc/f588edc60125fa592d7bc71f442166f4 to your computer and use it in GitHub Desktop.
Save chrisirhc/f588edc60125fa592d7bc71f442166f4 to your computer and use it in GitHub Desktop.
$ bazel test //test/... --verbose_
failures --sandbox_debug
INFO: Analyzed 27 targets (5 packages loaded, 6648 targets configured).
INFO: From Compiling test/glibc_hacks/main.c:
root: external/_main~toolchains~zig_sdk-macos-amd64/tools/x86_64-linux-gnu.2.28/../..
zig_cache_dir: /private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/19/execroot/_main/../../../_zig_cache
INFO: From Compiling test/glibc_hacks/main.c:
root: external/_main~toolchains~zig_sdk-macos-amd64/tools/x86_64-linux-gnu.2.28/../..
zig_cache_dir: /private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/18/execroot/_main/../../../_zig_cache
INFO: From Compiling test/glibc_hacks/main.c:
root: external/_main~toolchains~zig_sdk-macos-amd64/tools/aarch64-linux-gnu.2.28/../..
zig_cache_dir: /private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/21/execroot/_main/../../../_zig_cache
ERROR: /private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/external/rules_go~0.45.1/BUILD.bazel:42:7: GoStdlib external/rules_go~0.45.1/stdlib_/pkg failed: (Exit 1): sandbox-exec failed: error executing GoStdlib command
(cd /private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main && \
exec env - \
CC=external/_main~toolchains~zig_sdk-macos-amd64/tools/x86_64-linux-gnu.2.28/c++ \
CGO_CFLAGS='-no-canonical-prefixes -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -fno-lto -fsanitize-undefined-strip-path-components=-1' \
CGO_ENABLED=1 \
CGO_LDFLAGS='-fno-lto -fsanitize-undefined-strip-path-components=-1' \
GOARCH=amd64 \
GOEXPERIMENT=nocoverageredesign \
GOOS=linux \
GOPATH='' \
GOROOT=external/rules_go~0.45.1~go_sdk~go_default_sdk \
GOROOT_FINAL=GOROOT \
GOTOOLCHAIN=local \
PATH=external/_main~toolchains~zig_sdk-macos-amd64/tools:external/_main~toolchains~zig_sdk-macos-amd64/tools/x86_64-linux-gnu.2.28:/bin:/usr/bin \
TMPDIR=/var/folders/rg/8yzx68lj705cjn8q0pzxv59w0000gn/T/ \
/usr/bin/sandbox-exec -f /private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/sandbox.sb /var/tmp/_bazel_chris/install/92a4dbac19ba995301329efc59d9b07c/process-wrapper '--timeout=0' '--kill_delay=15' '--stats=/private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/stats.out' bazel-out/darwin_x86_64-opt-exec-ST-13d3ddad9198/bin/external/rules_go~0.45.1~go_sdk~go_default_sdk/builder_reset/builder stdlib -sdk external/rules_go~0.45.1~go_sdk~go_default_sdk -installsuffix linux_amd64 -out bazel-out/darwin_x86_64-fastbuild-ST-1a3e3e752a28/bin/external/rules_go~0.45.1/stdlib_ -package std -package runtime/cgo -gcflags '')
# runtime/cgo
root: ./external/_main~toolchains~zig_sdk-macos-amd64/tools/x86_64-linux-gnu.2.28/../..
zig_cache_dir: /private/var/folders/rg/8yzx68lj705cjn8q0pzxv59w0000gn/T/go-build1347065199/b049/../../../_zig_cache
error: AccessDenied
stdlib: error running subcommand GOROOT_FINAL=GOROOT \
CGO_LDFLAGS="-fno-lto -fsanitize-undefined-strip-path-components=-1 -pthread" \
GOROOT=/private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main/bazel-out/darwin_x86_64-fastbuild-ST-1a3e3e752a28/bin/external/rules_go~0.45.1/stdlib_ \
PATH=/private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main/external/_main~toolchains~zig_sdk-macos-amd64/tools:/private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main/external/_main~toolchains~zig_sdk-macos-amd64/tools/x86_64-linux-gnu.2.28:/bin:/usr/bin \
CC=/private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main/external/_main~toolchains~zig_sdk-macos-amd64/tools/x86_64-linux-gnu.2.28/c++ \
GOPATH= \
GOEXPERIMENT=nocoverageredesign \
GOTOOLCHAIN=local \
TMPDIR=/var/folders/rg/8yzx68lj705cjn8q0pzxv59w0000gn/T/ \
CGO_CFLAGS="-no-canonical-prefixes -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fno-lto -fsanitize-undefined-strip-path-components=-1 -fdebug-prefix-map=/private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main=. -fdebug-prefix-map=/private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main/bazel-out/darwin_x86_64-fastbuild-ST-1a3e3e752a28/bin/external/rules_go~0.45.1/stdlib_=. -pthread" \
CGO_ENABLED=1 \
GOOS=linux \
GOARCH=amd64 \
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x64 \
GOCACHE=/private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main/bazel-out/darwin_x86_64-fastbuild-ST-1a3e3e752a28/bin/external/rules_go~0.45.1/stdlib_/.gocache \
GO111MODULE=off \
CGO_LDFLAGS_ALLOW=-fno-lto|-fsanitize-undefined-strip-path-components=-1|-pthread \
GODEBUG=installgoroot=all \
CGO_CXXFLAGS= \
CGO_CPPFLAGS= \
external/rules_go~0.45.1~go_sdk~go_default_sdk/bin/go install -toolexec "/private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main/bazel-out/darwin_x86_64-opt-exec-ST-13d3ddad9198/bin/external/rules_go~0.45.1~go_sdk~go_default_sdk/builder_reset/builder filterbuildid" -gcflags=all= "-ldflags=all=-trimpath /private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main" "-asmflags=all=-trimpath /private/var/tmp/_bazel_chris/6c858e132b9297eb6238c2b551e7fa73/sandbox/darwin-sandbox/22/execroot/_main/bazel-out/darwin_x86_64-fastbuild-ST-1a3e3e752a28/bin/external/rules_go~0.45.1/stdlib_" std runtime/cgo: exit status 1
INFO: Elapsed time: 41.161s, Critical Path: 40.70s
INFO: 12 processes: 8 internal, 4 darwin-sandbox.
ERROR: Build did NOT complete successfully
//test/c:test_libc_darwin_amd64 (cached) PASSED in 0.1s
//test/c:test_libc_wasip1_wasm32 (cached) PASSED in 0.1s
//test/c:test_libc_darwin_arm64 SKIPPED
//test/c:test_libc_linux_amd64 SKIPPED
//test/c:test_libc_linux_amd64_gnu.2.28 SKIPPED
//test/c:test_libc_linux_amd64_musl SKIPPED
//test/c:test_libc_windows_amd64 SKIPPED
//test/gorace:gorace_test SKIPPED
//test/cgo:cgo_test PASSED in 1.0s
Executed 1 out of 9 tests: 3 tests pass and 6 were skipped.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
All tests passed but there were other errors during the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment