Build failure
Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61303">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61303">No</a>

### Issue type

Build/Install

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

tf 2.11.0

### Custom code

Yes

### OS platform and distribution

Linux Ubuntu 22.04

### Mobile device

_No response_

### Python version

3.10

### Bazel version

5.4.0

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

The built was successful till last Friday, and when I repeat the previously successful built, I ran into error in `Relevant log output
`

### Standalone code to reproduce the issue

```shell
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

ARG SAXML_BUILD_SOURCE=github

ARG BASE_IMAGE=ubuntu:22.04
FROM ${BASE_IMAGE} AS base-build-image

ARG SAXML_VERSION_GIT_BRANCH=main
ARG SAXML_GIT_COMMIT=HEAD

ARG PYTHON_VERSION=3.10
ARG DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED TRUE

RUN apt-get -qq update && \
    apt-get -qq install -y --no-install-recommends \
        apt-transport-https \
        automake \
        build-essential \
        ca-certificates \
        curl \
        git \
        gnupg \
        libcurl3-dev \
        libfreetype6-dev \
        libpng-dev \
        libtool \
        libzmq3-dev \
        mlocate \
        patch \
        pkg-config \
        software-properties-common \
        sudo \
        swig \
        unzip \
        wget \
        zip \
        zlib1g-dev && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

# Install python
RUN add-apt-repository ppa:deadsnakes/ppa && \
    apt-get -qq update && \
    apt-get -qq install -y --no-install-recommends \
      python3-pip \
      python${PYTHON_VERSION} \
      python${PYTHON_VERSION}-dev \
      python${PYTHON_VERSION}-venv && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* && \
    python${PYTHON_VERSION} -m pip install -q pip --upgrade && \
    update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 0 && \
    update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 0


# Install google-cloud-cli
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" >> /etc/apt/sources.list.d/google-cloud-sdk.list
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
RUN apt-get -qq update && \
    apt-get -qq install -y --no-install-recommends \
        google-cloud-cli && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*


# Install bazel
ARG BAZEL_VERSION=5.4.0
RUN mkdir /bazel && \
    cd /bazel && \
    curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh && \
    chmod +x bazel-*.sh && \
    ./bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh && \
    cd / && \
    rm -f /bazel/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh


# Install numpy
RUN pip install --no-cache-dir --no-deps numpy
RUN rm -rf /root/.cache/pip


FROM base-build-image as base-build-from-github
ONBUILD ARG SAXML_GIT_COMMIT
# Download saxml sources (optionally at specific commit)
ONBUILD WORKDIR /saxml
ONBUILD RUN curl -sSL --retry 5 https://github.com/google/saxml/tarball/${SAXML_GIT_COMMIT} | tar --strip-components=1 -xzf -


FROM base-build-image as base-build-from-local
# Copy saxml local repo
ONBUILD COPY local_saxml_repo /saxml
ONBUILD WORKDIR /saxml


FROM base-build-from-${SAXML_BUILD_SOURCE} AS build-source-image
ARG SAXML_BUILD_SOURCE
RUN echo "Building SAXML from: ${SAXML_BUILD_SOURCE}"


FROM build-source-image AS build-admin-server-image

WORKDIR /saxml

RUN bazel build --color=yes --curses=yes saxml/bin:admin_config && \
    cp bazel-bin/saxml/bin/admin_config_/admin_config /usr/bin/admin_config
```

```
docker build \
  --pull \
  --target runtime-admin-server-image \
  -t sax-admin-server \
  -f Dockerfile . \
  --build-arg=SAXML_BUILD_SOURCE=github \
  --build-arg=SAXML_VERSION_GIT_BRANCH=main \
  --build-arg=SAXML_GIT_COMMIT=HEAD ;
```
```


### Relevant log output

```shell
#18 [build-admin-server-image  2/10] RUN bazel build --color=yes --curses=yes saxml/bin:admin_config &&     cp bazel-bin/saxml/bin/admin_config_/admin_config /usr/bin/admin_config
#18 0.618 Extracting Bazel installation...
#18 2.311 Starting local Bazel server and connecting to it...
DEBUG: Rule 'python3_10_x86_64-unknown-linux-gnu' indicated that a canonical reproducible form can be obtained by dropping arguments ["ignore_root_user_error"]
DEBUG: Repository python3_10_x86_64-unknown-linux-gnu instantiated at:
#18 6.580   /saxml/WORKSPACE:27:27: in <toplevel>
#18 6.580   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/rules_python/python/repositories.bzl:366:26: in python_register_toolchains
#18 6.580 Repository rule python_repository defined at:
#18 6.580   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/rules_python/python/repositories.bzl:269:36: in <toplevel>
DEBUG: Rule 'org_tensorflow' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "99c732b92b1b37fc243a559e02f9aef5671771e272758aa4aec7f34dc92dac48"
DEBUG: Repository org_tensorflow instantiated at:
#18 28.14   /saxml/WORKSPACE:356:13: in <toplevel>
#18 28.14 Repository rule http_archive defined at:
#18 28.14   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
ERROR: Traceback (most recent call last):
#18 28.21       File "/root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/org_tensorflow/third_party/py/python_configure.bzl", line 288, column 42, in <toplevel>
#18 28.21               remote_python_configure = repository_rule(
#18 28.21 Error in repository_rule: in call to repository_rule(), parameter 'remotable' is experimental and thus unavailable with the current flags. It may be enabled by setting --experimental_repo_remote_exec
INFO: Repository tf_runtime instantiated at:
#18 28.27   /saxml/WORKSPACE:363:14: in <toplevel>
#18 28.27   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/org_tensorflow/tensorflow/workspace3.bzl:18:15: in workspace
#18 28.27   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/org_tensorflow/third_party/tf_runtime/workspace.bzl:12:20: in repo
#18 28.27   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/org_tensorflow/third_party/repo.bzl:136:21: in tf_http_archive
#18 28.27 Repository rule _tf_http_archive defined at:
#18 28.27   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/org_tensorflow/third_party/repo.bzl:89:35: in <toplevel>
INFO: Repository io_bazel_rules_closure instantiated at:
#18 28.31   /saxml/WORKSPACE:363:14: in <toplevel>
#18 28.31   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/org_tensorflow/tensorflow/workspace3.bzl:8:17: in workspace
#18 28.31 Repository rule http_archive defined at:
#18 28.31   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
ERROR: error loading package '': at /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/org_tensorflow/tensorflow/workspace2.bzl:10:6: initialization of module 'third_party/py/python_configure.bzl' failed
INFO: Elapsed time: 27.731s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
#18 28.39     Fetching @llvm-raw; Restarting.
#18 28.39     Fetching https://storage.googleapis.com/...8ee0471b67a40403df940149.tar.gz
#18 28.39 
#18 ERROR: process "/bin/sh -c bazel build --color=yes --curses=yes saxml/bin:admin_config &&     cp bazel-bin/saxml/bin/admin_config_/admin_config /usr/bin/admin_config" did not complete successfully: exit code: 1
------
 > [build-admin-server-image  2/10] RUN bazel build --color=yes --curses=yes saxml/bin:admin_config &&     cp bazel-bin/saxml/bin/admin_config_/admin_config /usr/bin/admin_config:
#18 28.39 

#18 28.31   /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
ERROR: error loading package '': at /root/.cache/bazel/_bazel_root/edfec97661350df226696afb5a35c874/external/org_tensorflow/tensorflow/workspace2.bzl:10:6: initialization of module 'third_party/py/python_configure.bzl' failed
#18 28.36 Loading: 0 packages loaded
#18 28.36     Fetching @llvm-raw; Restarting.
#18 28.36     Fetching https://storage.googleapis.com/...8ee0471b67a40403df940149.tar.gz
------
Dockerfile:117
--------------------
 116 |     
 117 | >>> RUN bazel build --color=yes --curses=yes saxml/bin:admin_config && \
 118 | >>>     cp bazel-bin/saxml/bin/admin_config_/admin_config /usr/bin/admin_config
 119 |     RUN bazel build --color=yes --curses=yes saxml/bin:admin_server && \
--------------------
ERROR: failed to solve: process "/bin/sh -c bazel build --color=yes --curses=yes saxml/bin:admin_config &&     cp bazel-bin/saxml/bin/admin_config_/admin_config /usr/bin/admin_config" did not complete successfully: exit code: 1
```
```
