See <
https://build.ros.org/job/Nbin_ufv8_uFv8__ortools_vendor__ubuntu_focal_arm64__binary/63/display/redirect>
Changes:
------------------------------------------
[...truncated 29.01 KB...]
---> [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 205f592142a7
Removing intermediate container 205f592142a7
---> 4d359c25af4c
Step 3/26 : ENV DEBIAN_FRONTEND noninteractive
---> [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 6d6573a323c7
Removing intermediate container 6d6573a323c7
---> 4f7017aa57da
Step 4/26 : 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
---> [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 e2c380dbf059
Get:1
http://ports.ubuntu.com focal InRelease [265 kB]
Get:2
http://ports.ubuntu.com focal-updates InRelease [128 kB]
Get:3
http://ports.ubuntu.com focal-backports InRelease [128 kB]
Get:4
http://ports.ubuntu.com focal/multiverse arm64 Packages [139 kB]
Get:5
http://ports.ubuntu.com focal/restricted arm64 Packages [1317 B]
Get:6
http://ports.ubuntu.com focal/main arm64 Packages [1234 kB]
Get:7
http://ports.ubuntu.com focal/universe arm64 Packages [11.1 MB]
Get:8
http://ports.ubuntu.com focal-updates/main arm64 Packages [3821 kB]
Get:9
http://ports.ubuntu.com focal-updates/restricted arm64 Packages [82.9 kB]
Get:10
http://ports.ubuntu.com focal-updates/universe arm64 Packages [1505 kB]
Get:11
http://ports.ubuntu.com focal-updates/multiverse arm64 Packages [14.9 kB]
Get:12
http://ports.ubuntu.com focal-backports/main arm64 Packages [54.8 kB]
Get:13
http://ports.ubuntu.com focal-backports/universe arm64 Packages [27.8 kB]
Fetched 18.5 MB in 2s (7754 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
locales
1 upgraded, 0 newly installed, 0 to remove and 168 not upgraded.
Need to get 3864 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1
http://ports.ubuntu.com focal-updates/main arm64 locales all 2.31-0ubuntu9.18 [3864 kB]
Preconfiguring packages ...
Fetched 3864 kB in 1s (4223 kB/s)
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 19085 files and directories currently installed.)
Preparing to unpack .../locales_2.31-0ubuntu9.18_all.deb ...
Unpacking locales (2.31-0ubuntu9.18) over (2.31-0ubuntu7) ...
Setting up locales (2.31-0ubuntu9.18) ...
Generating locales (this might take a while)...
Generation complete.
Removing intermediate container e2c380dbf059
---> 85d33a4bd3f5
Step 5/26 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
---> [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 bb8c30e3cdd5
Removing intermediate container bb8c30e3cdd5
---> eee2e9d4a1cb
Step 6/26 : RUN locale-gen en_US.UTF-8
---> [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 97cb59376f91
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
Removing intermediate container 97cb59376f91
---> 3e23dbca97e1
Step 7/26 : ENV LANG en_US.UTF-8
---> [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 beec21e48896
Removing intermediate container beec21e48896
---> a0d42d360fcb
Step 8/26 : ENV TZ PST+08
---> [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 5b398c4fff88
Removing intermediate container 5b398c4fff88
---> 39de70ae8caa
Step 9/26 : RUN if [ $(id -nu 1001) ]; then userdel -r $(id -nu 1001); fi && useradd -u 1001 -l -m 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 8b178a71d99f
[91mid: ‘1001’: no such user
[0mRemoving intermediate container 8b178a71d99f
---> 237785999e1e
Step 10/26 : RUN mkdir /tmp/keys
---> [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 cdab172eaab1
Removing intermediate container cdab172eaab1
---> 3e0a38434c1c
Step 11/26 : 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
---> [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 b7c9bedadb16
Hit:1
http://ports.ubuntu.com focal InRelease
Hit:2
http://ports.ubuntu.com focal-updates InRelease
Hit:3
http://ports.ubuntu.com focal-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
gpgconf gpgsm gpgv openssl
Suggested packages:
dbus-user-session pinentry-gnome3 tor parcimonie xloadimage scdaemon
The following NEW packages will be installed:
ca-certificates openssl
The following packages will be upgraded:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm gpgv
11 upgraded, 2 newly installed, 0 to remove and 157 not upgraded.
Need to get 3,152 kB of archives.
After this operation, 1,671 kB of additional disk space will be used.
Get:1
http://ports.ubuntu.com focal-updates/main arm64 gpg-wks-client arm64 2.2.19-3ubuntu2.4 [89.4 kB]
Get:2
http://ports.ubuntu.com focal-updates/main arm64 dirmngr arm64 2.2.19-3ubuntu2.4 [311 kB]
Get:3
http://ports.ubuntu.com focal-updates/main arm64 gnupg-utils arm64 2.2.19-3ubuntu2.4 [442 kB]
Get:4
http://ports.ubuntu.com focal-updates/main arm64 gpg-wks-server arm64 2.2.19-3ubuntu2.4 [83.2 kB]
Get:5
http://ports.ubuntu.com focal-updates/main arm64 gpg-agent arm64 2.2.19-3ubuntu2.4 [216 kB]
Get:6
http://ports.ubuntu.com focal-updates/main arm64 gpg arm64 2.2.19-3ubuntu2.4 [442 kB]
Get:7
http://ports.ubuntu.com focal-updates/main arm64 gpgconf arm64 2.2.19-3ubuntu2.4 [117 kB]
Get:8
http://ports.ubuntu.com focal-updates/main arm64 gnupg-l10n all 2.2.19-3ubuntu2.4 [51.9 kB]
Get:9
http://ports.ubuntu.com focal-updates/main arm64 gnupg all 2.2.19-3ubuntu2.4 [259 kB]
Get:10
http://ports.ubuntu.com focal-updates/main arm64 gpgsm arm64 2.2.19-3ubuntu2.4 [198 kB]
Get:11
http://ports.ubuntu.com focal-updates/main arm64 gpgv arm64 2.2.19-3ubuntu2.4 [184 kB]
Get:12
http://ports.ubuntu.com focal-updates/main arm64 openssl arm64 1.1.1f-1ubuntu2.24 [600 kB]
Get:13
http://ports.ubuntu.com focal-updates/main arm64 ca-certificates all 20240203~20.04.1 [159 kB]
Preconfiguring packages ...
Fetched 3,152 kB in 3s (1,047 kB/s)
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 19085 files and directories currently installed.)
Preparing to unpack .../00-gpg-wks-client_2.2.19-3ubuntu2.4_arm64.deb ...
Unpacking gpg-wks-client (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../01-dirmngr_2.2.19-3ubuntu2.4_arm64.deb ...
Unpacking dirmngr (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../02-gnupg-utils_2.2.19-3ubuntu2.4_arm64.deb ...
Unpacking gnupg-utils (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../03-gpg-wks-server_2.2.19-3ubuntu2.4_arm64.deb ...
Unpacking gpg-wks-server (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../04-gpg-agent_2.2.19-3ubuntu2.4_arm64.deb ...
Unpacking gpg-agent (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../05-gpg_2.2.19-3ubuntu2.4_arm64.deb ...
Unpacking gpg (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../06-gpgconf_2.2.19-3ubuntu2.4_arm64.deb ...
Unpacking gpgconf (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../07-gnupg-l10n_2.2.19-3ubuntu2.4_all.deb ...
Unpacking gnupg-l10n (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../08-gnupg_2.2.19-3ubuntu2.4_all.deb ...
Unpacking gnupg (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../09-gpgsm_2.2.19-3ubuntu2.4_arm64.deb ...
Unpacking gpgsm (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Preparing to unpack .../10-gpgv_2.2.19-3ubuntu2.4_arm64.deb ...
Unpacking gpgv (2.2.19-3ubuntu2.4) over (2.2.19-3ubuntu2) ...
Setting up gpgv (2.2.19-3ubuntu2.4) ...
Selecting previously unselected package openssl.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 19085 files and directories currently installed.)
Preparing to unpack .../openssl_1.1.1f-1ubuntu2.24_arm64.deb ...
Unpacking openssl (1.1.1f-1ubuntu2.24) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20240203~20.04.1_all.deb ...
Unpacking ca-certificates (20240203~20.04.1) ...
Setting up gnupg-l10n (2.2.19-3ubuntu2.4) ...
Setting up gpgconf (2.2.19-3ubuntu2.4) ...
Setting up openssl (1.1.1f-1ubuntu2.24) ...
Setting up gpg (2.2.19-3ubuntu2.4) ...
Setting up gnupg-utils (2.2.19-3ubuntu2.4) ...
Setting up gpg-agent (2.2.19-3ubuntu2.4) ...
Setting up gpgsm (2.2.19-3ubuntu2.4) ...
Setting up dirmngr (2.2.19-3ubuntu2.4) ...
Setting up ca-certificates (20240203~20.04.1) ...
Updating certificates in /etc/ssl/certs...
146 added, 0 removed; done.
Setting up gpg-wks-server (2.2.19-3ubuntu2.4) ...
Setting up gpg-wks-client (2.2.19-3ubuntu2.4) ...
Setting up gnupg (2.2.19-3ubuntu2.4) ...
Processing triggers for ca-certificates (20240203~20.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Removing intermediate container b7c9bedadb16
---> aeac307627ba
Step 12/26 : 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/RmKrtHLct3iOCvBNqoAQRbvWvBhPjO/p\nV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL8bwxX7UT\nhM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/\n/SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVV\nokdGpcUzvz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQAB\ntCZPcGVuIFJvYm90aWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQgA\nPgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMHPbjHmut6IaLFytPQu1vur\nF8ZUBQJgsdhRBQkLTMW7AAoJEPQu1vurF8ZUTMwP/3f7EkOPIFjUdRmpNJ2db4iB\nRQu5b2SJRG+KIdbvQBzKUBMV6/RUhEDPjhXZI3zDevzBewvAMKkqs2Q1cWo9WV7Z\nPyTkvSyey/Tjn+PozcdvzkvrEjDMftIk8E1WzLGq7vnPLZ1q/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
---> [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 185895ffbe66
[91mWarning: apt-key output should not be parsed (stdout is not a terminal)
[0mOK
Removing intermediate container 185895ffbe66
---> 09810653c7c1
Step 13/26 : RUN echo deb
http://repositories.ros.org/ubuntu/building focal main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> [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 ae5a954b8ec8
deb
http://repositories.ros.org/ubuntu/building focal main
Removing intermediate container ae5a954b8ec8
---> c0745630963b
Step 14/26 : RUN echo deb-src
http://repositories.ros.org/ubuntu/building focal main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> [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 8261523bf7f4
deb-src
http://repositories.ros.org/ubuntu/building focal main
Removing intermediate container 8261523bf7f4
---> ef685db3a324
Step 15/26 : RUN mkdir /tmp/wrapper_scripts
---> [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 7ff0ffeafb3d
Removing intermediate container 7ff0ffeafb3d
---> e4e9d42498ff
Step 16/26 : 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
---> [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 9b3e753b7bb1
Removing intermediate container 9b3e753b7bb1
---> 761821577b97
Step 17/26 : 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
---> [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 ae98e50be081
Removing intermediate container ae98e50be081
---> a6b34bbbb330
Step 18/26 : RUN echo "2025-05-31 (-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 6b473f6e1137
2025-05-31 (-0800)
Removing intermediate container 6b473f6e1137
---> 94fa3e7c90dd
Step 19/26 : 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
---> [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 f4f96ff52284
Get:1
http://repositories.ros.org/ubuntu/building focal InRelease [4,679 B]
Err:1
http://repositories.ros.org/ubuntu/building focal InRelease
The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <
in...@osrfoundation.org>
Hit:2
http://ports.ubuntu.com focal InRelease
Hit:3
http://ports.ubuntu.com focal-updates InRelease
Hit:4
http://ports.ubuntu.com focal-backports InRelease
Reading package lists...
[91mW: GPG error:
http://repositories.ros.org/ubuntu/building focal InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <
in...@osrfoundation.org>
E: The repository '
http://repositories.ros.org/ubuntu/building focal InRelease' is not signed.
[0mGet:1
http://repositories.ros.org/ubuntu/building focal InRelease [4,679 B]
Err:1
http://repositories.ros.org/ubuntu/building focal InRelease
The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <
in...@osrfoundation.org>
Hit:2
http://ports.ubuntu.com focal InRelease
Hit:3
http://ports.ubuntu.com focal-updates InRelease
Hit:4
http://ports.ubuntu.com focal-backports InRelease
Reading package lists...
[91mW: GPG error:
http://repositories.ros.org/ubuntu/building focal InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <
in...@osrfoundation.org>
E: The repository '
http://repositories.ros.org/ubuntu/building focal InRelease' is not signed.
[0mGet:1
http://repositories.ros.org/ubuntu/building focal InRelease [4,679 B]
Err:1
http://repositories.ros.org/ubuntu/building focal InRelease
The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <
in...@osrfoundation.org>
Hit:2
http://ports.ubuntu.com focal InRelease
Hit:3
http://ports.ubuntu.com focal-updates InRelease
Hit:4
http://ports.ubuntu.com focal-backports InRelease
Reading package lists...
[91mW: GPG error:
http://repositories.ros.org/ubuntu/building focal InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <
in...@osrfoundation.org>
E: The repository '
http://repositories.ros.org/ubuntu/building focal InRelease' is not signed.
[0mRemoving intermediate container f4f96ff52284
The command '/bin/sh -c 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' returned a non-zero code: 1
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 77060 killed;