googleapis/python-ndb

Kokoro 'docs-presubmit' jobs failing

Closed this issue · 1 comments

E.g.: https://source.cloud.google.com/results/invocations/8c0a990f-3937-499d-a54b-70ab77c35732/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-ndb%2Fdocs%2Fdocs-presubmit/log

Step 7/9 : RUN set -ex     && export GNUPGHOME="$(mktemp -d)"     && echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf"     && /tmp/fetch_gpg_keys.sh     && for PYTHON_VERSION in 3.7.8 3.8.5; do         wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"         && wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"         && gpg --batch --verify python-${PYTHON_VERSION}.tar.xz.asc python-${PYTHON_VERSION}.tar.xz         && rm -r python-${PYTHON_VERSION}.tar.xz.asc         && mkdir -p /usr/src/python-${PYTHON_VERSION}         && tar -xJC /usr/src/python-${PYTHON_VERSION} --strip-components=1 -f python-${PYTHON_VERSION}.tar.xz         && rm python-${PYTHON_VERSION}.tar.xz         && cd /usr/src/python-${PYTHON_VERSION}         && ./configure             --enable-shared             --enable-unicode=ucs4             --with-system-ffi             --without-ensurepip         && make -j$(nproc)         && make install         && ldconfig   ; done   && rm -rf "${GNUPGHOME}"   && rm -rf /usr/src/python*   && rm -rf ~/.cache/
 ---> Running in ac48d54392fa
+ mktemp -d
+ export GNUPGHOME=/tmp/tmp.Qbgxl5XCi3
+ echo disable-ipv6
+ /tmp/fetch_gpg_keys.sh
gpg: keybox '/tmp/tmp.Qbgxl5XCi3/pubring.kbx' created
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
The command '/bin/sh -c set -ex     && export GNUPGHOME="$(mktemp -d)"     && echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf"     && /tmp/fetch_gpg_keys.sh     && for PYTHON_VERSION in 3.7.8 3.8.5; do         wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"         && wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"         && gpg --batch --verify python-${PYTHON_VERSION}.tar.xz.asc python-${PYTHON_VERSION}.tar.xz         && rm -r python-${PYTHON_VERSION}.tar.xz.asc         && mkdir -p /usr/src/python-${PYTHON_VERSION}         && tar -xJC /usr/src/python-${PYTHON_VERSION} --strip-components=1 -f python-${PYTHON_VERSION}.tar.xz         && rm python-${PYTHON_VERSION}.tar.xz         && cd /usr/src/python-${PYTHON_VERSION}         && ./configure             --enable-shared             --enable-unicode=ucs4             --with-system-ffi             --without-ensurepip         && make -j$(nproc)         && make install         && ldconfig   ; done   && rm -rf "${GNUPGHOME}"   && rm -rf /usr/src/python*   && rm -rf ~/.cache/' returned a non-zero code: 1

FWIW, I checked that the .kokoro/docker/docs/fetch_gpg_keys.sh file in python-ndb is identical to those in python-firestore / python-datastore, etc.

The .kokoro/docker/docs/Dockerfile installs a few extra depenencies (some spell-check-related packages and memcached).