See <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/1446/display/redirect>
Changes:
------------------------------------------
[...truncated 77.11 KB...]
fKiL1vGy4tCSRDdZO3ms2J2m08VPv65HsHaWYMnO+rNJmMZj9d9JdL/9GRf5F6U0
quoIFL39BhUEvBynuqlrqistnyOhw8W/IQy/ymNzBMcMz6rcMjMwhkgm/LNXoSD1
1OrJu4ktQwRhwvGVarnB8ihwjsTxZFylaLmFSfaA+OAlOqCLS1OkIVMzjW+Ul6A6
qjiCEUOsnlf4CGlhzNMZOx3low6ixzEqKOcfECpeIj80a2fBDmWkcAAjlHu6VBhA
TUDG9e2xKLzV2Z/DLYsb3+n9QW7KO0yZKfiuUo6AYboAioQKn5jh3iRvjGh2Ujpo
22G+oae3PcCc7G+z12j6xIY709FQuA49dA2YpzMda0/OX4LP56STEveDRrO+CnV6
WE+F5FaIKwb72PL4rLi4
=i0tj
-----END PGP PUBLIC KEY BLOCK-----
+ echo # END SECTION
# END SECTION
[Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary] $ /bin/sh -xe /tmp/jenkins7983712374586677858.sh
+ rm -fr <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_generating_docker>
+ mkdir -p <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_generating_docker>
+ sleep 1
+ python3 -u <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/ros_buildfarm/scripts/subprocess_reaper.py> 1352979 --cid-file <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_generating_docker/docker.cid>
+ echo # BEGIN SECTION: Generate Dockerfile - binarydeb task
# BEGIN SECTION: Generate Dockerfile - binarydeb task
+ export TZ=PST+08
+ export PYTHONPATH=<
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/ros_buildfarm>:
+ python3 -u <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/ros_buildfarm/scripts/release/run_binarydeb_job.py> --rosdistro-index-url
https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml noetic warehouse_ros_mongo ubuntu focal armhf --distribution-repository-urls
http://repositories.ros.org/ubuntu/building --distribution-repository-key-files <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/keys/0.key> --target-repository
http://repositories.ros.org/ubuntu/building --binarypkg-dir /tmp/binarydeb --dockerfile-dir <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_generating_docker> --env-vars ROS_PYTHON_VERSION=3 --append-timestamp
Using the following distribution repositories:
http://repositories.ros.org/ubuntu/building (<
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/keys/0.key)>
Generating Dockerfile '<
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_generating_docker/Dockerfile'>:
# generated from release/deb/binarypkg_create_task.Dockerfile.em
FROM osrf/ubuntu_armhf:focal
VOLUME ["/var/cache/apt/archives"]
ENV DEBIAN_FRONTEND noninteractive
RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV TZ PST+08
RUN useradd -u 1001 -l -m buildfarm
RUN mkdir /tmp/keys
RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg ca-certificates && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false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vzkvrEjDMftIk8E1WzLGq7vnPLZ1q/b6Vq4H373Z+EDWa\nDaDwW72CbCBLWAVtqff80CwlI2x8fYHKr3VBUnwcXNHR4+nRABfAWnaU4k+oTshC\nQucsd8vitNfsSXrKuKyz91IRHRPnJjx8UvGU4tRGfrHkw1505EZvgP02vXeRyWBR\nfKiL1vGy4tCSRDdZO3ms2J2m08VPv65HsHaWYMnO+rNJmMZj9d9JdL/9GRf5F6U0\nquoIFL39BhUEvBynuqlrqistnyOhw8W/IQy/ymNzBMcMz6rcMjMwhkgm/LNXoSD1\n1OrJu4ktQwRhwvGVarnB8ihwjsTxZFylaLmFSfaA+OAlOqCLS1OkIVMzjW+Ul6A6\nqjiCEUOsnlf4CGlhzNMZOx3low6ixzEqKOcfECpeIj80a2fBDmWkcAAjlHu6VBhA\nTUDG9e2xKLzV2Z/DLYsb3+n9QW7KO0yZKfiuUo6AYboAioQKn5jh3iRvjGh2Ujpo\n22G+oae3PcCc7G+z12j6xIY709FQuA49dA2YpzMda0/OX4LP56STEveDRrO+CnV6\nWE+F5FaIKwb72PL4rLi4\n=i0tj\n-----END PGP PUBLIC KEY BLOCK-----" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
RUN echo deb
http://repositories.ros.org/ubuntu/building focal main | tee -a /etc/apt/sources.list.d/buildfarm.list
RUN echo deb-src
http://repositories.ros.org/ubuntu/building focal main | tee -a /etc/apt/sources.list.d/buildfarm.list
RUN (grep -q -E -x -e "deb
http://ports\.ubuntu\.com/? focal ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb
http://ports.ubuntu.com/ focal multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src
http://ports\.ubuntu\.com/? focal ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src
http://ports.ubuntu.com/ focal multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb
http://ports\.ubuntu\.com/? focal-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb
http://ports.ubuntu.com/ focal-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src
http://ports\.ubuntu\.com/? focal-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src
http://ports.ubuntu.com/ focal-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb
http://ports\.ubuntu\.com/? focal-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb
http://ports.ubuntu.com/ focal-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src
http://ports\.ubuntu\.com/? focal-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src
http://ports.ubuntu.com/ focal-security multiverse" >> /etc/apt/sources.list)
RUN mkdir /tmp/wrapper_scripts
RUN echo "# Copyright 2014-2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#
http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Failed to fetch',\n 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n 'corrupted package archive',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
RUN echo "# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#
http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/git.py
# automatic invalidation once every day
RUN echo "2024-09-13 (-0800)"
RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done
RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y devscripts dpkg-dev python3-apt python3-catkin-pkg-modules python3-empy python3-rosdistro-modules python3-yaml
# Workaround for focal armhf certificate rehash issue
RUN . /etc/os-release && test "$VERSION_ID" = "20.04" && test "$(uname -m)" = "armv7l" && c_rehash || true
# always invalidate to actually have the latest apt repo state
RUN echo "2024-09-13 16:09:47 -0800"
RUN python3 -u /tmp/wrapper_scripts/apt.py update
USER buildfarm
ENTRYPOINT ["sh", "-c"]
CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/get_sourcedeb.py --rosdistro-index-url
https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml noetic warehouse_ros_mongo --sourcepkg-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py noetic warehouse_ros_mongo --sourcepkg-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/create_binarydeb_task_generator.py --rosdistro-index-url
https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml noetic warehouse_ros_mongo ubuntu focal armhf --distribution-repository-urls
http://repositories.ros.org/ubuntu/building --distribution-repository-key-files /tmp/keys/0.key --binarypkg-dir /tmp/binarydeb --env-vars ROS_PYTHON_VERSION=3 --dockerfile-dir /tmp/docker_build_binarydeb"]
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Build Dockerfile - binarydeb task
# BEGIN SECTION: Build Dockerfile - binarydeb task
+ cd <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_generating_docker>
+ python3 -u <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/ros_buildfarm/scripts/misc/docker_pull_baseimage.py>
Get base image name from Dockerfile 'Dockerfile': osrf/ubuntu_armhf:focal
Check docker base image for updates: docker pull osrf/ubuntu_armhf:focal
focal: Pulling from osrf/ubuntu_armhf
Digest: sha256:982efdd6991da106bd90560eebfde868e77165754f802baa2d05637dcd4a71d9
Status: Image is up to date for osrf/ubuntu_armhf:focal
docker.io/osrf/ubuntu_armhf:focal
+ docker build --force-rm -t binarydeb_task_generation.noetic_ubuntu_focal_armhf_warehouse_ros_mongo .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 18.94kB
Step 1/27 : FROM osrf/ubuntu_armhf:focal
---> ff56b294f4c8
Step 2/27 : VOLUME ["/var/cache/apt/archives"]
---> Using cache
---> 01010fd77832
Step 3/27 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 536fbe2be5ac
Step 4/27 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done
---> Using cache
---> 05ca60480baa
Step 5/27 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
---> Using cache
---> dbb273b62de1
Step 6/27 : RUN locale-gen en_US.UTF-8
---> Using cache
---> 3586ac6bb57a
Step 7/27 : ENV LANG en_US.UTF-8
---> Using cache
---> 0958213d75e3
Step 8/27 : ENV TZ PST+08
---> Using cache
---> a564dbe27e16
Step 9/27 : RUN useradd -u 1001 -l -m buildfarm
---> Using cache
---> 90552b708f7d
Step 10/27 : RUN mkdir /tmp/keys
---> Using cache
---> 8e536920eb0c
Step 11/27 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg ca-certificates && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done
---> Using cache
---> b4bb41773bce
Step 12/27 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jc\nVFrQhE0L/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3tro\nu5oCR+SyHN9xPnUwDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4\nK/AY0jzT6OpHfXU6ytlFsI47ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rG\naIoAWlx2H0J7sAHmqS29N9jV9mo135d+d+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+\nTwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS6nHrWH2WqQxRbiITl0irkQoz\npwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBNqoAQRb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oae3PcCc7G+z12j6xIY709FQuA49dA2YpzMda0/OX4LP56STEveDRrO+CnV6\nWE+F5FaIKwb72PL4rLi4\n=i0tj\n-----END PGP PUBLIC KEY BLOCK-----" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> 6865f1631c42
Step 13/27 : RUN echo deb
http://repositories.ros.org/ubuntu/building focal main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> 7c17430c4ee8
Step 14/27 : RUN echo deb-src
http://repositories.ros.org/ubuntu/building focal main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> d756ee512361
Step 15/27 : RUN (grep -q -E -x -e "deb
http://ports\.ubuntu\.com/? focal ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb
http://ports.ubuntu.com/ focal multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src
http://ports\.ubuntu\.com/? focal ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src
http://ports.ubuntu.com/ focal multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb
http://ports\.ubuntu\.com/? focal-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb
http://ports.ubuntu.com/ focal-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src
http://ports\.ubuntu\.com/? focal-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src
http://ports.ubuntu.com/ focal-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb
http://ports\.ubuntu\.com/? focal-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb
http://ports.ubuntu.com/ focal-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src
http://ports\.ubuntu\.com/? focal-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src
http://ports.ubuntu.com/ focal-security multiverse" >> /etc/apt/sources.list)
---> Using cache
---> b77ae417180a
Step 16/27 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> 3fa24a2e7cea
Step 17/27 : RUN echo "# Copyright 2014-2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#
http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Failed to fetch',\n 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n 'corrupted package archive',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
---> Using cache
---> 76e6e6f74ec8
Step 18/27 : RUN echo "# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#
http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/git.py
---> Using cache
---> 2d6a99f6ebc8
Step 19/27 : RUN echo "2024-09-13 (-0800)"
---> Using cache
---> 8503bb60f45a
Step 20/27 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done
---> Using cache
---> 1a5e74e5dcae
Step 21/27 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y devscripts dpkg-dev python3-apt python3-catkin-pkg-modules python3-empy python3-rosdistro-modules python3-yaml
---> Using cache
---> fe2ac00d70c5
Step 22/27 : RUN . /etc/os-release && test "$VERSION_ID" = "20.04" && test "$(uname -m)" = "armv7l" && c_rehash || true
---> Using cache
---> a2ad255001c3
Step 23/27 : RUN echo "2024-09-13 16:09:47 -0800"
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in d96bc7fcff09
2024-09-13 16:09:47 -0800
Removing intermediate container d96bc7fcff09
---> c2591f58205a
Step 24/27 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in de51cbfb1f51
Invoking 'apt-get update'
Get:1
http://repositories.ros.org/ubuntu/building focal InRelease [4,679 B]
Get:2
http://repositories.ros.org/ubuntu/building focal/main Sources [854 kB]
Get:3
http://repositories.ros.org/ubuntu/building focal/main armhf Packages [482 kB]
Hit:4
http://ports.ubuntu.com focal InRelease
Get:5
http://ports.ubuntu.com focal-updates InRelease [128 kB]
Hit:6
http://ports.ubuntu.com focal-backports InRelease
Hit:7
http://ports.ubuntu.com focal-security InRelease
Get:8
http://ports.ubuntu.com focal-updates/universe armhf Packages [1,242 kB]
Get:9
http://ports.ubuntu.com focal-updates/main armhf Packages [2,052 kB]
Fetched 4,763 kB in 2s (2,414 kB/s)
Reading package lists...
Removing intermediate container de51cbfb1f51
---> 2a757a39d904
Step 25/27 : USER buildfarm
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in 03e0ac577a1a
Removing intermediate container 03e0ac577a1a
---> 8b6a6a04f8d2
Step 26/27 : ENTRYPOINT ["sh", "-c"]
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in 81f64a283bfd
Removing intermediate container 81f64a283bfd
---> 6820e8dd0018
Step 27/27 : CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/get_sourcedeb.py --rosdistro-index-url
https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml noetic warehouse_ros_mongo --sourcepkg-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py noetic warehouse_ros_mongo --sourcepkg-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/create_binarydeb_task_generator.py --rosdistro-index-url
https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml noetic warehouse_ros_mongo ubuntu focal armhf --distribution-repository-urls
http://repositories.ros.org/ubuntu/building --distribution-repository-key-files /tmp/keys/0.key --binarypkg-dir /tmp/binarydeb --env-vars ROS_PYTHON_VERSION=3 --dockerfile-dir /tmp/docker_build_binarydeb"]
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in 24ed919d27c5
Removing intermediate container 24ed919d27c5
---> a51d114ff7bf
Successfully built a51d114ff7bf
Successfully tagged binarydeb_task_generation.noetic_ubuntu_focal_armhf_warehouse_ros_mongo:latest
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Run Dockerfile - binarydeb task
# BEGIN SECTION: Run Dockerfile - binarydeb task
+ [ -d <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/binarydeb> ]
+ rm -fr <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/binarydeb>
+ rm -fr <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_build_binarydeb>
+ mkdir -p <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/binarydeb>
+ mkdir -p <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_build_binarydeb>
+ export PODMAN_USERNS=keep-id
+ docker run --rm --cidfile=<
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_generating_docker/docker.cid> -e=TRAVIS= -e=ROS_BUILDFARM_PULL_REQUEST_BRANCH= -v <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/ros_buildfarm>:/tmp/ros_buildfarm:ro -v <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/binarydeb>:/tmp/binarydeb -v <
https://build.ros.org/job/Nbin_ufhf_uFhf__warehouse_ros_mongo__ubuntu_focal_armhf__binary/ws/docker_build_binarydeb>:/tmp/docker_build_binarydeb binarydeb_task_generation.noetic_ubuntu_focal_armhf_warehouse_ros_mongo
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
# BEGIN SUBSECTION: get sourcedeb
Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-noetic-warehouse-ros-mongo=0.10.0-1focal'
Invoking 'apt-get source --download-only --only-source ros-noetic-warehouse-ros-mongo=0.10.0-1focal'
Reading package lists...
Need to get 17.8 kB of source archives.
Get:1
http://repositories.ros.org/ubuntu/building focal/main ros-noetic-warehouse-ros-mongo 0.10.0-1focal (dsc) [1,249 B]
Get:2
http://repositories.ros.org/ubuntu/building focal/main ros-noetic-warehouse-ros-mongo 0.10.0-1focal (tar) [13.7 kB]
Get:3
http://repositories.ros.org/ubuntu/building focal/main ros-noetic-warehouse-ros-mongo 0.10.0-1focal (diff) [2,864 B]
Fetched 17.8 kB in 0s (1,190 kB/s)
Download complete and in download only mode
Invoking 'dpkg-source -x ros-noetic-warehouse-ros-mongo_0.10.0-1focal.dsc'
dpkg-source: warning: extracting unsigned source package (ros-noetic-warehouse-ros-mongo_0.10.0-1focal.dsc)
dpkg-source: info: extracting ros-noetic-warehouse-ros-mongo in ros-noetic-warehouse-ros-mongo-0.10.0
dpkg-source: info: unpacking ros-noetic-warehouse-ros-mongo_0.10.0.orig.tar.gz
dpkg-source: info: unpacking ros-noetic-warehouse-ros-mongo_0.10.0-1focal.debian.tar.xz
Package maintainer emails:
moveit_r...@googlegroups.com
# END SUBSECTION
# BEGIN SUBSECTION: append build timestamp
Invoking 'debchange -v 0.10.0-1focal.20240914.000958 -p -D focal -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-noetic-warehouse-ros-mongo-0.10.0'
# END SUBSECTION
Looking for the '.dsc' file of package 'ros-noetic-warehouse-ros-mongo' with version '0.10.0-1'
Traceback (most recent call last):
File "/tmp/ros_buildfarm/scripts/release/create_binarydeb_task_generator.py", line 21, in <module>
run_module('ros_buildfarm.scripts.release.create_binarydeb_task_generator', run_name='__main__')
File "/usr/lib/python3.8/runpy.py", line 209, in run_module
return _run_code(code, {}, init_globals, run_name, mod_spec)
File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/tmp/ros_buildfarm/ros_buildfarm/scripts/release/create_binarydeb_task_generator.py", line 214, in <module>
sys.exit(main())
File "/tmp/ros_buildfarm/ros_buildfarm/scripts/release/create_binarydeb_task_generator.py", line 89, in main
debian_pkg_versions = get_binary_package_versions(
File "/tmp/ros_buildfarm/ros_buildfarm/common.py", line 179, in get_binary_package_versions
raise KeyError("No packages available for '%s'" % (debian_pkg_name,))
KeyError: "No packages available for 'mongodb'"
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1352813 killed;
[ssh-agent] Stopped.
[description-setter] Could not determine description.