Closed meteorcloudy closed 1 month ago
Seeing gRPC server failed to bind to IPv4 and IPv6 localhosts on port 0: [IPv4] Failed to bind to address /127.0.0.1:0
from the test log again. Maybe related to https://github.com/bazelbuild/bazel/issues/20743
@fweikert Do you know if there is any potential infrastructure change that could cause this?
The issue seems to be reproducible on some VMs, so it might be related to some infra issue.
I will no dig deeper since https://github.com/bazelbuild/bazel/commit/355b000accfff4ea29876a46321308fe9422a9d1 mitigated the issue, and we probably need to upgrade gprc, netty versions and hope that could help. https://github.com/bazelbuild/bazel/issues/22719
First appearance seems to be: https://github.com/bazelbuild/bazel/commit/f64cdea68bb08717ea83c61d6c1567edb21c132c presubmit: https://buildkite.com/bazel/google-bazel-presubmit/builds/84129#_ postsubmit: https://buildkite.com/bazel/bazel-bazel/builds/29385
at it's parent commit: presubmit: https://buildkite.com/bazel/google-bazel-presubmit/builds/84137 postsubmit: https://buildkite.com/bazel/bazel-bazel/builds/29383
Found an even earlier flaky build: https://buildkite.com/bazel/google-bazel-presubmit/builds/84128 which might rule out https://github.com/bazelbuild/bazel/commit/f64cdea68bb08717ea83c61d6c1567edb21c132c
Do any of these fixes need to be cherry-picked back to 7.4.0 and/or 8.0.0?
https://github.com/bazelbuild/bazel/commit/efa030314ec5f7340d770b6ae9736a9e24d29ee3 should be backported to 8.0.0
@bazel-io fork 8.0.0
A fix for this issue has been included in Bazel 8.0.0 RC2. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=8.0.0rc2
. Thanks!
//src/test/shell/bazel:bazel_bootstrap_distfile_tar_test
and//src/test/shell/bazel:bazel_determinism_test
are extremely slow: https://buildkite.com/bazel/google-bazel-presubmit/builds/84154#01922292-cca6-4e56-939b-05a5c7b59da1Flaky tests are very frequent: https://buildkite.com/bazel/google-bazel-presubmit/builds/84157#019222c1-653c-4a75-bdf7-7f76d5937946