Console Output
17:01:00 Started by timer 17:01:00 Running as SYSTEM 17:01:00 Building on master in workspace /var/lib/jenkins/workspace/Krel_trigger-jobs 17:01:00 No credentials specified 17:01:00 > git rev-parse --is-inside-work-tree # timeout=10 17:01:00 Fetching changes from the remote Git repository 17:01:00 > git config remote.origin.url https://github.com/lcas/ros_buildfarm.git # timeout=10 17:01:00 Using shallow fetch with depth 1 17:01:00 Fetching upstream changes from https://github.com/lcas/ros_buildfarm.git 17:01:00 > git --version # timeout=10 17:01:00 > git fetch --tags --progress --depth=1 https://github.com/lcas/ros_buildfarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:01:02 > git rev-parse origin/lcas_new^{commit} # timeout=10 17:01:02 Checking out Revision 47f655b6b714c33ff953e6c223ea98f784c74000 (origin/lcas_new) 17:01:02 > git config core.sparsecheckout # timeout=10 17:01:02 > git checkout -f 47f655b6b714c33ff953e6c223ea98f784c74000 # timeout=10 17:01:02 Commit message: "fixing versions" 17:01:02 > git rev-list --no-walk 47f655b6b714c33ff953e6c223ea98f784c74000 # timeout=10 17:01:02 [Krel_trigger-jobs] $ /bin/sh -xe /tmp/jenkins2324673730753026872.sh 17:01:02 + echo # BEGIN SECTION: docker version17:01:02 + echo # BEGIN SECTION: docker info1. docker versionHide Details
17:01:02 # BEGIN SECTION: docker version 17:01:02 + docker version 17:01:02 Client: Docker Engine - Community 17:01:02 Version: 20.10.7 17:01:02 API version: 1.41 17:01:02 Go version: go1.13.15 17:01:02 Git commit: f0df350 17:01:02 Built: Wed Jun 2 11:56:47 2021 17:01:02 OS/Arch: linux/amd64 17:01:02 Context: default 17:01:02 Experimental: true 17:01:02 17:01:02 Server: Docker Engine - Community 17:01:02 Engine: 17:01:02 Version: 20.10.7 17:01:02 API version: 1.41 (minimum version 1.12) 17:01:02 Go version: go1.13.15 17:01:02 Git commit: b0f5bc3 17:01:02 Built: Wed Jun 2 11:54:58 2021 17:01:02 OS/Arch: linux/amd64 17:01:02 Experimental: false 17:01:02 containerd: 17:01:02 Version: 1.4.6 17:01:02 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d 17:01:02 runc: 17:01:02 Version: 1.0.0-rc95 17:01:02 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 17:01:02 docker-init: 17:01:02 Version: 0.19.0 17:01:02 GitCommit: de40ad0 17:01:02 + echo # END SECTION 17:01:02 # END SECTION17:01:02 [Krel_trigger-jobs] $ /bin/sh -xe /tmp/jenkins7275862781012379639.sh 17:01:02 + echo # BEGIN SECTION: Write PGP repository keys2. docker infoHide Details
17:01:02 # BEGIN SECTION: docker info 17:01:02 + docker info 17:01:02 Client: 17:01:02 Context: default 17:01:02 Debug Mode: false 17:01:02 Plugins: 17:01:02 app: Docker App (Docker Inc., v0.9.1-beta3) 17:01:02 buildx: Build with BuildKit (Docker Inc., v0.5.1-docker) 17:01:02 scan: Docker Scan (Docker Inc., v0.8.0) 17:01:02 17:01:02 Server: 17:01:02 Containers: 1 17:01:02 Running: 1 17:01:02 Paused: 0 17:01:02 Stopped: 0 17:01:02 Images: 67 17:01:02 Server Version: 20.10.7 17:01:02 Storage Driver: overlay2 17:01:02 Backing Filesystem: extfs 17:01:02 Supports d_type: true 17:01:02 Native Overlay Diff: true 17:01:02 userxattr: false 17:01:02 Logging Driver: json-file 17:01:02 Cgroup Driver: cgroupfs 17:01:02 Cgroup Version: 1 17:01:02 Plugins: 17:01:02 Volume: local 17:01:02 Network: bridge host ipvlan macvlan null overlay 17:01:02 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog 17:01:02 Swarm: inactive 17:01:02 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc 17:01:02 Default Runtime: runc 17:01:02 Init Binary: docker-init 17:01:02 containerd version: d71fcd7d8303cbf684402823e425e9dd2e99285d 17:01:02 runc version: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 17:01:02 init version: de40ad0 17:01:02 Security Options: 17:01:02 apparmor 17:01:02 seccomp 17:01:02 Profile: default 17:01:02 Kernel Version: 4.4.0-210-generic 17:01:02 Operating System: Ubuntu 16.04.7 LTS 17:01:02 OSType: linux 17:01:02 Architecture: x86_64 17:01:02 CPUs: 2 17:01:02 Total Memory: 3.859GiB 17:01:02 Name: lcas-build-farm-master 17:01:02 ID: AZ2A:QRR3:FJYB:LSC5:TICA:4M55:OKE5:Y6EK:WADT:RZTS:RIXI:X2WL 17:01:02 Docker Root Dir: /var/lib/docker 17:01:02 Debug Mode: false 17:01:02 Username: strands 17:01:02 Registry: https://index.docker.io/v1/ 17:01:02 Labels: 17:01:02 Experimental: false 17:01:02 Insecure Registries: 17:01:02 127.0.0.0/8 17:01:02 Live Restore Enabled: false 17:01:02 17:01:02 WARNING: No swap limit support 17:01:02 + echo # END SECTION 17:01:02 # END SECTION17:01:02 [Krel_trigger-jobs] $ /bin/sh -xe /tmp/jenkins6588351367255600420.sh 17:01:02 + rm -fr /var/lib/jenkins/workspace/Krel_trigger-jobs/docker_trigger_jobs 17:01:02 + rm -fr /var/lib/jenkins/workspace/Krel_trigger-jobs/trigger_jobs 17:01:02 + mkdir -p /var/lib/jenkins/workspace/Krel_trigger-jobs/docker_trigger_jobs 17:01:02 + mkdir -p /var/lib/jenkins/workspace/Krel_trigger-jobs/trigger_jobs 17:01:02 + sleep 1 17:01:02 + python3 -u /var/lib/jenkins/workspace/Krel_trigger-jobs/ros_buildfarm/scripts/subprocess_reaper.py 29579 --cid-file /var/lib/jenkins/workspace/Krel_trigger-jobs/docker_trigger_jobs/docker.cid 17:01:03 + echo # BEGIN SECTION: Generate Dockerfile - trigger jobs3. Write PGP repository keysHide Details
17:01:02 # BEGIN SECTION: Write PGP repository keys 17:01:02 + mkdir -p /var/lib/jenkins/workspace/Krel_trigger-jobs/keys 17:01:02 + rm -fr /var/lib/jenkins/workspace/Krel_trigger-jobs/keys/0.key /var/lib/jenkins/workspace/Krel_trigger-jobs/keys/1.key 17:01:02 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 17: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ToWTwJJzgWZRr+iuuwj3fbfHCISYIK7f3 17:01:02 IWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm 17:01:02 Z4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK 17:01:02 7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb 17:01:02 oRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC 17:01:02 AAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U 17:01:02 NTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0 17:01:02 ikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU 17:01:02 M7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N 17:01:02 l9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ 17:01:02 Chb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ== 17:01:02 =nFcN 17:01:02 -----END PGP PUBLIC KEY BLOCK----- 17:01:02 17:01:02 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 17:01:02 Version: GnuPG v1 17:01:02 17:01:02 mQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jc 17:01:02 VFrQhE0L/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3tro 17:01:02 u5oCR+SyHN9xPnUwDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4 17:01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Vo 17:01:02 uYVJ9oD44CU6oItLU6QhUzONb5SXoDqqOIIRQ6yeV/gIaWHM0xk7HeWjDqLHMSoo 17:01:02 5x8QKl4iPzRrZ8EOZaRwACOUe7pUGEBNQMb17bEovNXZn8Mtixvf6f1Bbso7TJkp 17:01:02 +K5SjoBhugCKhAqfmOHeJG+MaHZSOmjbYb6hp7c9wJzsb7PXaPrEhjvT0VC4Dj10 17:01:02 DZinMx1rT85fgs/npJMS94NGs74KdXpYT4XkVogrBvvY8visuLg= 17:01:02 =p9Xy 17:01:02 -----END PGP PUBLIC KEY BLOCK----- 17:01:02 17:01:02 + echo # END SECTION 17:01:02 # END SECTION17:01:03 + echo # BEGIN SECTION: Build Dockerfile - trigger jobs4. Generate Dockerfile - trigger jobsHide Details
17:01:03 # BEGIN SECTION: Generate Dockerfile - trigger jobs 17:01:03 + export PYTHONPATH=/var/lib/jenkins/workspace/Krel_trigger-jobs/ros_buildfarm: 17:01:03 + python3 -u /var/lib/jenkins/workspace/Krel_trigger-jobs/ros_buildfarm/scripts/release/run_trigger_job.py https://raw.githubusercontent.com/LCAS/ros_buildfarm_config/master/index.yaml kinetic default --distribution-repository-urls http://10.210.9.154/ubuntu/building http://packages.ros.org/ros/ubuntu --distribution-repository-key-files /var/lib/jenkins/workspace/Krel_trigger-jobs/keys/0.key /var/lib/jenkins/workspace/Krel_trigger-jobs/keys/1.key --missing-only --source-only --groovy-script /tmp/trigger_jobs/trigger_jobs.groovy --cache-dir /tmp/debian_repo_cache --dockerfile-dir /var/lib/jenkins/workspace/Krel_trigger-jobs/docker_trigger_jobs 17:01:03 Using the following distribution repositories: 17:01:03 http://10.210.9.154/ubuntu/building (/var/lib/jenkins/workspace/Krel_trigger-jobs/keys/0.key) 17:01:03 http://packages.ros.org/ros/ubuntu (/var/lib/jenkins/workspace/Krel_trigger-jobs/keys/1.key) 17:01:03 Generating Dockerfile '/var/lib/jenkins/workspace/Krel_trigger-jobs/docker_trigger_jobs/Dockerfile': 17:01:03 # generated from release/release_create_trigger_task.Dockerfile.em 17:01:03 17:01:03 FROM ubuntu:xenial 17:01:03 17:01:03 VOLUME ["/var/cache/apt/archives"] 17:01:03 17:01:03 ENV DEBIAN_FRONTEND noninteractive 17:01:03 17:01:03 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done 17:01:03 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 17:01:03 RUN locale-gen en_US.UTF-8 17:01:03 ENV LANG en_US.UTF-8 17:01:03 ENV TZ GMT+00 17:01:03 17:01:03 RUN useradd -u 108 -m buildfarm 17:01:03 17:01:03 RUN mkdir /tmp/keys 17:01:03 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/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ZF/kXpTSq6ggUvf0GFQS8HKe6qWuqKy2fI6HDxb8h\nDL/KY3MExwzPqtwyMzCGSCb8s1ehIPXU6sm7iS1DBGHC8ZVqucHyKHCOxPFkXKVo\nuYVJ9oD44CU6oItLU6QhUzONb5SXoDqqOIIRQ6yeV/gIaWHM0xk7HeWjDqLHMSoo\n5x8QKl4iPzRrZ8EOZaRwACOUe7pUGEBNQMb17bEovNXZn8Mtixvf6f1Bbso7TJkp\n+K5SjoBhugCKhAqfmOHeJG+MaHZSOmjbYb6hp7c9wJzsb7PXaPrEhjvT0VC4Dj10\nDZinMx1rT85fgs/npJMS94NGs74KdXpYT4XkVogrBvvY8visuLg=\n=p9Xy\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key 17:01:03 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 17:01:03 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 17:01:03 17:01:03 RUN mkdir /tmp/wrapper_scripts 17:01:03 RUN echo "#!/usr/bin/env python3\n\n# 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 17:01:03 RUN echo "#!/usr/bin/env python3\n\n# 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 17:01:03 17:01:03 # automatic invalidation once every day 17:01:03 RUN echo "2024-11-02 (+0000)" 17:01:03 17:01:03 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done 17:01:03 17:01:03 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y python3-empy python3-pip python3-rosdistro-modules python3-yaml 17:01:03 RUN pip3 install certifi==2021.10.8 charset-normalizer==2.0.12 idna==3.3 jenkinsapi==0.3.11 pytz==2022.1 requests==2.27.1 urllib3==1.26.9 17:01:03 17:01:03 USER buildfarm 17:01:03 ENTRYPOINT ["sh", "-c"] 17:01:03 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/trigger_jobs.py https://raw.githubusercontent.com/LCAS/ros_buildfarm_config/master/index.yaml kinetic default --groovy-script /tmp/trigger_jobs/trigger_jobs.groovy --cache-dir /tmp/debian_repo_cache --missing-only --source-only"] 17:01:03 + echo # END SECTION 17:01:03 # END SECTION17:01:06 + echo # BEGIN SECTION: Run Dockerfile - trigger jobs5. Build Dockerfile - trigger jobsHide Details
17:01:03 # BEGIN SECTION: Build Dockerfile - trigger jobs 17:01:03 + cd /var/lib/jenkins/workspace/Krel_trigger-jobs/docker_trigger_jobs 17:01:03 + python3 -u /var/lib/jenkins/workspace/Krel_trigger-jobs/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 17:01:04 Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial 17:01:04 Check docker base image for updates: docker pull ubuntu:xenial 17:01:05 xenial: Pulling from library/ubuntu 17:01:05 Digest: sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6 17:01:05 Status: Image is up to date for ubuntu:xenial 17:01:05 docker.io/library/ubuntu:xenial 17:01:05 + docker build --force-rm -t release_trigger_jobs . 17:01:05 Sending build context to Docker daemon 17.92kB 17:01:06 Step 1/24 : FROM ubuntu:xenial 17:01:06 ---> b6f507652425 17:01:06 Step 2/24 : VOLUME ["/var/cache/apt/archives"] 17:01:06 ---> Using cache 17:01:06 ---> 2d34f064f0cc 17:01:06 Step 3/24 : ENV DEBIAN_FRONTEND noninteractive 17:01:06 ---> Using cache 17:01:06 ---> a1d6a40c41fc 17:01:06 Step 4/24 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done 17:01:06 ---> Using cache 17:01:06 ---> 3d047b2acea8 17:01:06 Step 5/24 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 17:01:06 ---> Using cache 17:01:06 ---> c38e97188ee6 17:01:06 Step 6/24 : RUN locale-gen en_US.UTF-8 17:01:06 ---> Using cache 17:01:06 ---> 3b6fb4b52478 17:01:06 Step 7/24 : ENV LANG en_US.UTF-8 17:01:06 ---> Using cache 17:01:06 ---> 9a6411d8db4c 17:01:06 Step 8/24 : ENV TZ GMT+00 17:01:06 ---> Using cache 17:01:06 ---> 6131e58cf0bf 17:01:06 Step 9/24 : RUN useradd -u 108 -m buildfarm 17:01:06 ---> Using cache 17:01:06 ---> edc8b1b44745 17:01:06 Step 10/24 : RUN mkdir /tmp/keys 17:01:06 ---> Using cache 17:01:06 ---> cae80d280ab9 17:01:06 Step 11/24 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/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1k7eazYnabTxU+/rkew\ndpZgyc76s0mYxmP130l0v/0ZF/kXpTSq6ggUvf0GFQS8HKe6qWuqKy2fI6HDxb8h\nDL/KY3MExwzPqtwyMzCGSCb8s1ehIPXU6sm7iS1DBGHC8ZVqucHyKHCOxPFkXKVo\nuYVJ9oD44CU6oItLU6QhUzONb5SXoDqqOIIRQ6yeV/gIaWHM0xk7HeWjDqLHMSoo\n5x8QKl4iPzRrZ8EOZaRwACOUe7pUGEBNQMb17bEovNXZn8Mtixvf6f1Bbso7TJkp\n+K5SjoBhugCKhAqfmOHeJG+MaHZSOmjbYb6hp7c9wJzsb7PXaPrEhjvT0VC4Dj10\nDZinMx1rT85fgs/npJMS94NGs74KdXpYT4XkVogrBvvY8visuLg=\n=p9Xy\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key 17:01:06 ---> Using cache 17:01:06 ---> d9e97af2e4ba 17:01:06 Step 13/24 : RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 17:01:06 ---> Using cache 17:01:06 ---> 40228983620f 17:01:06 Step 14/24 : RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 17:01:06 ---> Using cache 17:01:06 ---> f7168f728c22 17:01:06 Step 15/24 : RUN mkdir /tmp/wrapper_scripts 17:01:06 ---> Using cache 17:01:06 ---> 54396f5d6228 17:01:06 Step 16/24 : RUN echo "#!/usr/bin/env python3\n\n# 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 17:01:06 ---> Using cache 17:01:06 ---> 3956d3ad7fa9 17:01:06 Step 17/24 : RUN echo "#!/usr/bin/env python3\n\n# 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 17:01:06 ---> Using cache 17:01:06 ---> 7ae225ae088e 17:01:06 Step 18/24 : RUN echo "2024-11-02 (+0000)" 17:01:06 ---> Using cache 17:01:06 ---> 855ff0f58cc1 17:01:06 Step 19/24 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done 17:01:06 ---> Using cache 17:01:06 ---> 0fde6d07d76e 17:01:06 Step 20/24 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y python3-empy python3-pip python3-rosdistro-modules python3-yaml 17:01:06 ---> Using cache 17:01:06 ---> b87169f98003 17:01:06 Step 21/24 : RUN pip3 install certifi==2021.10.8 charset-normalizer==2.0.12 idna==3.3 jenkinsapi==0.3.11 pytz==2022.1 requests==2.27.1 urllib3==1.26.9 17:01:06 ---> Using cache 17:01:06 ---> 00c4194a8741 17:01:06 Step 22/24 : USER buildfarm 17:01:06 ---> Using cache 17:01:06 ---> 198de461b43e 17:01:06 Step 23/24 : ENTRYPOINT ["sh", "-c"] 17:01:06 ---> Using cache 17:01:06 ---> faa96b2e7004 17:01:06 Step 24/24 : CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/trigger_jobs.py https://raw.githubusercontent.com/LCAS/ros_buildfarm_config/master/index.yaml kinetic default --groovy-script /tmp/trigger_jobs/trigger_jobs.groovy --cache-dir /tmp/debian_repo_cache --missing-only --source-only"] 17:01:06 ---> Using cache 17:01:06 ---> 26b137943e15 17:01:06 Successfully built 26b137943e15 17:01:06 Successfully tagged release_trigger_jobs:latest 17:01:06 + echo # END SECTION 17:01:06 # END SECTION6. Run Dockerfile - trigger jobsHide Details
17:01:06 # BEGIN SECTION: Run Dockerfile - trigger jobs 17:01:06 + rm -fr /var/lib/jenkins/workspace/Krel_trigger-jobs/debian_repo_cache 17:01:06 + mkdir -p /var/lib/jenkins/workspace/Krel_trigger-jobs/debian_repo_cache 17:01:06 + docker run --rm --cidfile=/var/lib/jenkins/workspace/Krel_trigger-jobs/docker_trigger_jobs/docker.cid --net=host -v /var/lib/jenkins/workspace/Krel_trigger-jobs/ros_buildfarm:/tmp/ros_buildfarm:ro -v /var/lib/jenkins/.buildfarm:/home/buildfarm/.buildfarm:ro -v /var/lib/jenkins/workspace/Krel_trigger-jobs/trigger_jobs:/tmp/trigger_jobs -v /var/lib/jenkins/workspace/Krel_trigger-jobs/debian_repo_cache:/tmp/debian_repo_cache release_trigger_jobs 17:01:08 The build file contains the following targets: 17:01:08 - ubuntu xenial source 17:01:18 Traceback (most recent call last): 17:01:18 File "/usr/lib/python3/dist-packages/rosdistro/loader.py", line 48, in load_url 17:01:18 fh = urlopen(url, timeout=timeout) 17:01:18 File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen 17:01:18 return opener.open(url, data, timeout) 17:01:18 File "/usr/lib/python3.5/urllib/request.py", line 466, in open 17:01:18 response = self._open(req, data) 17:01:18 File "/usr/lib/python3.5/urllib/request.py", line 484, in _open 17:01:18 '_open', req) 17:01:18 File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain 17:01:18 result = func(*args) 17:01:18 File "/usr/lib/python3.5/urllib/request.py", line 1289, in http_open 17:01:18 return self.do_open(http.client.HTTPConnection, req) 17:01:18 File "/usr/lib/python3.5/urllib/request.py", line 1264, in do_open 17:01:18 r = h.getresponse() 17:01:18 File "/usr/lib/python3.5/http/client.py", line 1242, in getresponse 17:01:18 response.begin() 17:01:18 File "/usr/lib/python3.5/http/client.py", line 311, in begin 17:01:18 version, status, reason = self._read_status() 17:01:18 File "/usr/lib/python3.5/http/client.py", line 272, in _read_status 17:01:18 line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") 17:01:18 File "/usr/lib/python3.5/socket.py", line 575, in readinto 17:01:18 return self._sock.recv_into(b) 17:01:18 socket.timeout: timed out 17:01:18 17:01:18 During handling of the above exception, another exception occurred: 17:01:18 17:01:18 Traceback (most recent call last): 17:01:18 File "/tmp/ros_buildfarm/scripts/release/trigger_jobs.py", line 54, in <module> 17:01:18 sys.exit(main()) 17:01:18 File "/tmp/ros_buildfarm/scripts/release/trigger_jobs.py", line 50, in main 17:01:18 groovy_script=args.groovy_script, not_failed_only=args.not_failed_only) 17:01:18 File "/tmp/ros_buildfarm/ros_buildfarm/trigger_job.py", line 57, in trigger_release_jobs 17:01:18 dist_file = get_cached_distribution(index, rosdistro_name) 17:01:18 File "/usr/lib/python3/dist-packages/rosdistro/__init__.py", line 137, in get_cached_distribution 17:01:18 cache = get_distribution_cache(index, dist_name) 17:01:18 File "/usr/lib/python3/dist-packages/rosdistro/__init__.py", line 177, in get_distribution_cache 17:01:18 yaml_str = get_distribution_cache_string(index, dist_name) 17:01:18 File "/usr/lib/python3/dist-packages/rosdistro/__init__.py", line 164, in get_distribution_cache_string 17:01:18 yaml_gz_str = load_url(url, skip_decode=True) 17:01:18 File "/usr/lib/python3/dist-packages/rosdistro/loader.py", line 61, in load_url 17:01:18 raise socket.timeout(str(e) + ' (%s)' % url) 17:01:18 socket.timeout: timed out (http://lcas.lincoln.ac.uk/rosdistro_cache/kinetic-cache.yaml.gz) 17:01:18 Build step 'Execute shell' marked build as failure 17:01:19 Sending e-mails to: lcas-build-farm@googlegroups.com 17:01:19 Finished: FAILURE