Console Output
14:57:16 Started by upstream project "Ksrc_uX__track_annotation_tool__ubuntu_xenial__source" build number 12 14:57:16 originally caused by: 14:57:16 Started by upstream project "Krel_trigger-jobs" build number 112684 14:57:16 originally caused by: 14:57:16 Started by upstream project "Krel_reconfigure-jobs" build number 2846 14:57:16 originally caused by: 14:57:16 Started by user SYSTEM 14:57:16 Started by upstream project "Kbin_uX64__spencer_tracking_msgs__ubuntu_xenial_amd64__binary" build number 12 14:57:16 originally caused by: 14:57:16 Started by upstream project "Ksrc_uX__spencer_tracking_msgs__ubuntu_xenial__source" build number 12 14:57:16 originally caused by: 14:57:16 Started by upstream project "Krel_trigger-jobs" build number 112684 14:57:16 originally caused by: 14:57:16 Started by upstream project "Krel_reconfigure-jobs" build number 2846 14:57:16 originally caused by: 14:57:16 Started by user SYSTEM 14:57:16 Started by upstream project "Kbin_uX64__spencer_human_attribute_msgs__ubuntu_xenial_amd64__binary" build number 13 14:57:16 originally caused by: 14:57:16 Started by upstream project "Ksrc_uX__spencer_human_attribute_msgs__ubuntu_xenial__source" build number 12 14:57:16 originally caused by: 14:57:16 Started by upstream project "Krel_trigger-jobs" build number 112684 14:57:16 originally caused by: 14:57:16 Started by upstream project "Krel_reconfigure-jobs" build number 2846 14:57:16 originally caused by: 14:57:16 Started by user SYSTEM 14:57:16 Running as SYSTEM 14:57:16 Building remotely on build client 1 (slave buildslave indigo_devel_default buildagent) in workspace /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary 14:57:16 [ssh-agent] Looking for ssh-agent implementation... 14:57:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:57:16 $ ssh-agent 14:57:16 SSH_AUTH_SOCK=/tmp/ssh-t7JZfSsFjFMi/agent.22710 14:57:16 SSH_AGENT_PID=22713 14:57:16 [ssh-agent] Started. 14:57:16 Running ssh-add (command line suppressed) 14:57:16 Identity added: /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary@tmp/private_key_5587570322551539716.key (/home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary@tmp/private_key_5587570322551539716.key) 14:57:16 [ssh-agent] Using credentials jenkins-slave 14:57:1614:57:161. Check upstream projectsHide Details
14:57:16 # BEGIN SECTION: Check upstream projects 14:57:16 Verify that no recursive upstream project is broken: 14:57:16 14:57:16 - 'Kbin_uX64__spencer_human_attribute_msgs__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS' 14:57:16 - 'Ksrc_uX__spencer_human_attribute_msgs__ubuntu_xenial__source' build '12' has result 'SUCCESS' 14:57:16 - 'Kbin_uX64__spencer_tracking_msgs__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS' 14:57:16 - 'Ksrc_uX__spencer_tracking_msgs__ubuntu_xenial__source' build '12' has result 'SUCCESS' 14:57:16 - 'Ksrc_uX__track_annotation_tool__ubuntu_xenial__source' build '12' has result 'SUCCESS' 14:57:16 All recursive upstream projects are (un)stable 14:57:16 # END SECTION14:57:16 [Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins2155397943243638127.sh 14:57:16 + echo # BEGIN SECTION: docker version2. Check free disk spaceHide Details
14:57:16 # BEGIN SECTION: Check free disk space 14:57:16 Usable disk space = 105332903936 bytes 14:57:16 Free space threshold = 5368709120 bytes 14:57:16 # END SECTION14:57:17 + echo # BEGIN SECTION: docker info3. docker versionHide Details
14:57:16 # BEGIN SECTION: docker version 14:57:16 + docker version 14:57:17 Client: 14:57:17 Version: 17.05.0-ce 14:57:17 API version: 1.29 14:57:17 Go version: go1.7.5 14:57:17 Git commit: 89658be 14:57:17 Built: Thu May 4 22:06:06 2017 14:57:17 OS/Arch: linux/amd64 14:57:17 14:57:17 Server: 14:57:17 Version: 17.05.0-ce 14:57:17 API version: 1.29 (minimum version 1.12) 14:57:17 Go version: go1.7.5 14:57:17 Git commit: 89658be 14:57:17 Built: Thu May 4 22:06:06 2017 14:57:17 OS/Arch: linux/amd64 14:57:17 Experimental: false 14:57:17 + echo # END SECTION 14:57:17 # END SECTION14:57:21 [Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins4963083543184498970.sh 14:57:21 + echo # BEGIN SECTION: Check docker status4. docker infoHide Details
14:57:17 # BEGIN SECTION: docker info 14:57:17 + docker info 14:57:21 Containers: 18 14:57:21 Running: 1 14:57:21 Paused: 0 14:57:21 Stopped: 17 14:57:21 Images: 202 14:57:21 Server Version: 17.05.0-ce 14:57:21 Storage Driver: aufs 14:57:21 Root Dir: /var/lib/docker/aufs 14:57:21 Backing Filesystem: extfs 14:57:21 Dirs: 972 14:57:21 Dirperm1 Supported: false 14:57:21 Logging Driver: json-file 14:57:21 Cgroup Driver: cgroupfs 14:57:21 Plugins: 14:57:21 Volume: local 14:57:21 Network: bridge host macvlan null overlay 14:57:21 Swarm: inactive 14:57:21 Runtimes: runc 14:57:21 Default Runtime: runc 14:57:21 Init Binary: docker-init 14:57:21 containerd version: 9048e5e50717ea4497b757314bad98ea3763c145 14:57:21 runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228 14:57:21 init version: 949e6fa 14:57:21 Security Options: 14:57:21 apparmor 14:57:21 Kernel Version: 3.13.0-29-generic 14:57:21 Operating System: Ubuntu 14.04.6 LTS 14:57:21 OSType: linux 14:57:21 Architecture: x86_64 14:57:21 CPUs: 2 14:57:21 Total Memory: 3.861GiB 14:57:21 Name: lcas-buildfarm-slave-2 14:57:21 ID: LZSS:PF7G:CREH:TEQW:FH57:3M6D:KCSS:ODQY:SPHA:ND7A:FHYG:PNDE 14:57:21 Docker Root Dir: /var/lib/docker 14:57:21 Debug Mode (client): false 14:57:21 Debug Mode (server): false 14:57:21 Registry: https://index.docker.io/v1/ 14:57:21 Experimental: false 14:57:21 Insecure Registries: 14:57:21 127.0.0.0/8 14:57:21 Live Restore Enabled: false 14:57:21 14:57:21 WARNING: No swap limit support 14:57:21 + echo # END SECTION 14:57:21 # END SECTION14:57:26 [Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins8026002673466877154.sh 14:57:26 + echo # BEGIN SECTION: Embed wrapper scripts5. Check docker statusHide Details
14:57:21 # BEGIN SECTION: Check docker status 14:57:21 + echo Testing trivial docker invocation... 14:57:21 Testing trivial docker invocation... 14:57:21 + docker run --rm ubuntu:xenial true 14:57:26 + echo 'docker run' returned 0 14:57:26 'docker run' returned 0 14:57:26 docker seems operational, continuing 14:57:26 [Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins5581986282172333427.sh 14:57:26 + echo # END SECTION 14:57:26 # END SECTION14:57:26 [Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins2135731630688839039.sh 14:57:26 + echo # BEGIN SECTION: Clone ros_buildfarm6. Embed wrapper scriptsHide Details
14:57:26 # BEGIN SECTION: Embed wrapper scripts 14:57:26 + rm -fr wrapper_scripts 14:57:26 + mkdir wrapper_scripts 14:57:26 + printf #!/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()) 14:57:26 + echo # END SECTION 14:57:26 # END SECTION14:57:30 [Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins6786457051620268023.sh 14:57:30 + echo # BEGIN SECTION: Write PGP repository keys7. Clone ros_buildfarmHide Details
14:57:26 # BEGIN SECTION: Clone ros_buildfarm 14:57:26 + rm -fr ros_buildfarm 14:57:27 + python3 -u wrapper_scripts/git.py clone --depth 1 -b lcas_new https://github.com/lcas/ros_buildfarm.git ros_buildfarm 14:57:28 Invoking 'git clone --depth 1 -b lcas_new https://github.com/lcas/ros_buildfarm.git ros_buildfarm' 14:57:28 Cloning into 'ros_buildfarm'... 14:57:30 + git -C ros_buildfarm --no-pager log -n 1 14:57:30 commit fc4bcf6fd492473e07b015f1a0d702891497ada9 14:57:30 Author: Marc Hanheide <marc@hanheide.net> 14:57:30 Date: Fri Jun 5 12:50:43 2020 +0100 14:57:30 14:57:30 added openssl 14:57:30 + rm -fr ros_buildfarm/.git 14:57:30 + rm -fr ros_buildfarm/doc 14:57:30 + echo # END SECTION 14:57:30 # END SECTION14:57:30 [Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins3781714400627458949.sh 14:57:30 + rm -fr /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_generating_docker 14:57:30 + mkdir -p /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_generating_docker 14:57:30 + sleep 1 14:57:30 + python3 -u /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 22884 --cid-file /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_generating_docker/docker.cid 14:57:31 + echo # BEGIN SECTION: Generate Dockerfile - binarydeb task8. Write PGP repository keysHide Details
14:57:30 # BEGIN SECTION: Write PGP repository keys 14:57:30 + mkdir -p /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/keys 14:57:30 + rm -fr /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/keys/1.key 14:57:30 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 14:57:30 Version: GnuPG v1.4.11 (GNU/Linux) 14:57:30 14:57:30 mQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn 14:57:30 MsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf 14:57:30 xcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgL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 14:57:30 oRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC 14:57:30 AAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U 14:57:30 NTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0 14:57:30 ikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU 14:57:30 M7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N 14:57:30 l9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ 14:57:30 Chb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ== 14:57:30 =nFcN 14:57:30 -----END PGP PUBLIC KEY BLOCK----- 14:57:30 14:57:30 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 14:57:30 Version: SKS 1.1.6 14:57:30 Comment: Hostname: keyserver.ubuntu.com 14:57:30 14:57:30 mQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L 14:57:30 /HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw 14:57:30 DuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47 14:57:30 ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+ 14:57:30 d+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS 14:57:30 6nHrWH2WqQxRbiITl0irkQozp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EHJhlM3s 14:57:30 QNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR 14:57:30 hE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp 14:57:30 PWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd 14:57:30 =4Ofr 14:57:30 -----END PGP PUBLIC KEY BLOCK----- 14:57:30 14:57:30 + echo # END SECTION 14:57:30 # END SECTION14:57:32 + echo # BEGIN SECTION: Build Dockerfile - binarydeb task9. Generate Dockerfile - binarydeb taskHide Details
14:57:31 # BEGIN SECTION: Generate Dockerfile - binarydeb task 14:57:31 + export TZ=GMT+00 14:57:31 + export PYTHONPATH=/home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/ros_buildfarm: 14:57:31 + python3 -u /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/release/run_binarydeb_job.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml kinetic track_annotation_tool ubuntu xenial amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/building http://packages.ros.org/ros/ubuntu --distribution-repository-key-files /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/keys/1.key --target-repository http://10.210.9.154/ubuntu/building --binarydeb-dir /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/binarydeb --dockerfile-dir /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_generating_docker --append-timestamp 14:57:32 Using the following distribution repositories: 14:57:32 http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/keys/0.key) 14:57:32 http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/keys/1.key) 14:57:32 Generating Dockerfile '/home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_generating_docker/Dockerfile': 14:57:32 # generated from release/binarydeb_create_task.Dockerfile.em 14:57:32 14:57:32 FROM ubuntu:xenial 14:57:32 14:57:32 VOLUME ["/var/cache/apt/archives"] 14:57:32 14:57:32 ENV DEBIAN_FRONTEND noninteractive 14:57:32 14:57:32 14:57:32 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 14:57:32 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 14:57:32 RUN locale-gen en_US.UTF-8 14:57:32 ENV LANG en_US.UTF-8 14:57:32 ENV TZ GMT+00 14:57:32 14:57:32 14:57:32 RUN useradd -u 1002 -m buildfarm 14:57:32 14:57:32 RUN mkdir /tmp/keys 14:57:32 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//JaZABEBAAG0LE1hcmMgSGFuaGVpZGU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ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 14:57:32 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+\nd+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS\n6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN\nqoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL\n8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/\n/SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVVokdGpcUz\nvz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQABtCZPcGVuIFJvYm90\naWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQoAPhYhBMHPbjHmut6IaLFytPQu\n1vurF8ZUBQJc7yaWAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEPQu1vur\nF8ZUkhIP/RbZY1ErvCEUy8iLJm9aSpLQnDZl5xILOxyZlzpg+Ml5bb0EkQDr92foCgcvLeAN\nKARNCaGLyNIWkuyDovPV0xZJrEy0kgBrDNb3++NmdI/+GA92pkedMXXioQvqdsxUagXAIB/s\nNGByJEhs37F05AnFvZbjUhceq3xTlvAMcrBWrgB4NwBivZY6IgLvl/CRQpVYwANShIQdbvHv\nZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO\nK+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo\nbC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs\nFn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key 14:57:32 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 14:57:32 RUN echo deb-src http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 14:57:32 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 14:57:32 14:57:32 RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && ((grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)) 14:57:32 14:57:32 RUN mkdir /tmp/wrapper_scripts 14:57:32 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 14:57:32 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 14:57:32 14:57:32 # automatic invalidation once every day 14:57:32 RUN echo "2020-08-26 (+0000)" 14:57:32 14:57:32 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 14:57:32 14:57:32 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 openssl 14:57:32 14:57:32 # always invalidate to actually have the latest apt repo state 14:57:32 RUN echo "2020-08-26 13:57:32 +0000" 14:57:32 RUN python3 -u /tmp/wrapper_scripts/apt.py update 14:57:32 14:57:32 USER buildfarm 14:57:32 ENTRYPOINT ["sh", "-c"] 14:57:32 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/get_sourcedeb.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml kinetic track_annotation_tool --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py kinetic track_annotation_tool --sourcedeb-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/LCAS/rosdistro/master/index.yaml kinetic track_annotation_tool ubuntu xenial amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/building http://packages.ros.org/ros/ubuntu --distribution-repository-key-files /tmp/keys/0.key /tmp/keys/1.key --binarydeb-dir /tmp/binarydeb --dockerfile-dir /tmp/docker_build_binarydeb"] 14:57:32 + echo # END SECTION 14:57:32 # END SECTION14:57:51 + echo # BEGIN SECTION: Run Dockerfile - binarydeb task10. Build Dockerfile - binarydeb taskHide Details
14:57:32 # BEGIN SECTION: Build Dockerfile - binarydeb task 14:57:32 + cd /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_generating_docker 14:57:32 + python3 -u /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 14:57:32 Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial 14:57:32 Check docker base image for updates: docker pull ubuntu:xenial 14:57:34 xenial: Pulling from library/ubuntu 14:57:34 Digest: sha256:3dd44f7ca10f07f86add9d0dc611998a1641f501833692a2651c96defe8db940 14:57:34 Status: Image is up to date for ubuntu:xenial 14:57:34 + docker build --force-rm -t binarydeb_task_generation.kinetic_ubuntu_xenial_amd64_track_annotation_tool . 14:57:34 Sending build context to Docker daemon 20.99kB 14:57:34 Step 1/27 : FROM ubuntu:xenial 14:57:34 ---> 4b22027ede29 14:57:34 Step 2/27 : VOLUME /var/cache/apt/archives 14:57:34 ---> Using cache 14:57:34 ---> 408c5c16716b 14:57:34 Step 3/27 : ENV DEBIAN_FRONTEND noninteractive 14:57:34 ---> Using cache 14:57:34 ---> d9be5063cda3 14:57:34 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 < 3 ]]; then sleep 5; else false; fi; done 14:57:34 ---> Using cache 14:57:34 ---> 05d7f344426f 14:57:34 Step 5/27 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 14:57:34 ---> Using cache 14:57:34 ---> 816b48166dab 14:57:34 Step 6/27 : RUN locale-gen en_US.UTF-8 14:57:34 ---> Using cache 14:57:34 ---> b9a176ed8fcd 14:57:34 Step 7/27 : ENV LANG en_US.UTF-8 14:57:34 ---> Using cache 14:57:34 ---> 9eaf41f8065a 14:57:34 Step 8/27 : ENV TZ GMT+00 14:57:34 ---> Using cache 14:57:34 ---> d16b4b75a884 14:57:34 Step 9/27 : RUN useradd -u 1002 -m buildfarm 14:57:34 ---> Using cache 14:57:34 ---> f7ca0408deb6 14:57:34 Step 10/27 : RUN mkdir /tmp/keys 14:57:34 ---> Using cache 14:57:34 ---> 1bcd868f8301 14:57:34 Step 11/27 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ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T1NGdTL9/2EukKLguTtZumb\noRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC\nAAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U\nNTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\nikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 14:57:34 ---> Using cache 14:57:34 ---> 2ed9306e55dc 14:57:34 Step 12/27 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+\nd+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS\n6nHrWH2WqQxRbiITl0irkQozpwNE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suY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key 14:57:34 ---> Using cache 14:57:34 ---> ee91cc021d68 14:57:34 Step 13/27 : RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 14:57:34 ---> Using cache 14:57:34 ---> 0d4e4bebfef3 14:57:34 Step 14/27 : RUN echo deb-src http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 14:57:34 ---> Using cache 14:57:34 ---> dcd5fc726669 14:57:34 Step 15/27 : RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 14:57:34 ---> Using cache 14:57:34 ---> 57dd877c9acd 14:57:34 Step 16/27 : RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && ((grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)) 14:57:34 ---> Using cache 14:57:34 ---> 857f4b4ef2f0 14:57:34 Step 17/27 : RUN mkdir /tmp/wrapper_scripts 14:57:34 ---> Using cache 14:57:34 ---> edabd13b55db 14:57:34 Step 18/27 : 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 14:57:34 ---> Using cache 14:57:34 ---> 63f5085ea316 14:57:34 Step 19/27 : 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 14:57:34 ---> Using cache 14:57:34 ---> 7c457f262070 14:57:34 Step 20/27 : RUN echo "2020-08-26 (+0000)" 14:57:34 ---> Using cache 14:57:34 ---> 266e8c8dd34b 14:57:34 Step 21/27 : 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 14:57:34 ---> Using cache 14:57:34 ---> 8f74d0657ce2 14:57:34 Step 22/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 openssl 14:57:34 ---> Using cache 14:57:34 ---> deff1882173e 14:57:34 Step 23/27 : RUN echo "2020-08-26 13:57:32 +0000" 14:57:35 ---> Running in eb3fb944787a 14:57:36 2020-08-26 13:57:32 +0000 14:57:37 ---> d3dcfd601a8d 14:57:37 Removing intermediate container eb3fb944787a 14:57:37 Step 24/27 : RUN python3 -u /tmp/wrapper_scripts/apt.py update 14:57:37 ---> Running in c2ec6c3d484b 14:57:39 Invoking 'apt-get update' 14:57:39 Get:1 http://10.210.9.154/ubuntu/building xenial InRelease [2,820 B] 14:57:39 Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease 14:57:39 Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease 14:57:39 Hit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease 14:57:39 Hit:5 http://archive.ubuntu.com/ubuntu xenial-security InRelease 14:57:40 Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease 14:57:40 Get:7 http://10.210.9.154/ubuntu/building xenial/main amd64 Packages [248 kB] 14:57:40 Hit:8 http://packages.ros.org/ros/ubuntu xenial InRelease 14:57:41 Fetched 251 kB in 1s (136 kB/s) 14:57:44 Reading package lists... 14:57:45 ---> 3b6e6a4202c2 14:57:45 Removing intermediate container c2ec6c3d484b 14:57:45 Step 25/27 : USER buildfarm 14:57:46 ---> Running in efa4b1eb552b 14:57:46 ---> 69d8b1763498 14:57:46 Removing intermediate container efa4b1eb552b 14:57:46 Step 26/27 : ENTRYPOINT sh -c 14:57:50 ---> Running in 9b2363875aaf 14:57:50 ---> cc7a86a33537 14:57:50 Removing intermediate container 9b2363875aaf 14:57:50 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/LCAS/rosdistro/master/index.yaml kinetic track_annotation_tool --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py kinetic track_annotation_tool --sourcedeb-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/LCAS/rosdistro/master/index.yaml kinetic track_annotation_tool ubuntu xenial amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/building http://packages.ros.org/ros/ubuntu --distribution-repository-key-files /tmp/keys/0.key /tmp/keys/1.key --binarydeb-dir /tmp/binarydeb --dockerfile-dir /tmp/docker_build_binarydeb 14:57:50 ---> Running in 38c2e7b138d8 14:57:51 ---> d177716e27b4 14:57:51 Removing intermediate container 38c2e7b138d8 14:57:51 Successfully built d177716e27b4 14:57:51 Successfully tagged binarydeb_task_generation.kinetic_ubuntu_xenial_amd64_track_annotation_tool:latest 14:57:51 + echo # END SECTION 14:57:51 # END SECTION14:58:20 [Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins5875988713088028360.sh 14:58:20 + sleep 1 14:58:20 + python3 -u /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 23928 --cid-file /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_build_binarydeb/docker.cid 14:58:21 + echo # BEGIN SECTION: Build Dockerfile - build binarydeb11. Run Dockerfile - binarydeb taskHide Details
14:57:51 # BEGIN SECTION: Run Dockerfile - binarydeb task 14:57:51 + [ -f /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/binarydeb ] 14:57:51 + rm -fr /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/binarydeb 14:57:51 + rm -fr /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_build_binarydeb 14:57:51 + mkdir -p /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/binarydeb 14:57:51 + mkdir -p /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_build_binarydeb 14:57:51 + docker run --rm --cidfile=/home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_generating_docker/docker.cid -e=TRAVIS= -e=ROS_BUILDFARM_PULL_REQUEST_BRANCH= -v /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_build_binarydeb:/tmp/docker_build_binarydeb -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache binarydeb_task_generation.kinetic_ubuntu_xenial_amd64_track_annotation_tool11.1. get sourcedebHide Details
14:57:53 # BEGIN SUBSECTION: get sourcedeb 14:58:05 Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-kinetic-track-annotation-tool=1.0.11-1xenial' 14:58:07 Invoking 'apt-get source --download-only --only-source ros-kinetic-track-annotation-tool=1.0.11-1xenial' 14:58:07 Reading package lists... 14:58:07 Need to get 38.3 kB of source archives. 14:58:07 Get:1 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-track-annotation-tool 1.0.11-1xenial (dsc) [1,325 B] 14:58:07 Get:2 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-track-annotation-tool 1.0.11-1xenial (tar) [34.9 kB] 14:58:07 Get:3 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-track-annotation-tool 1.0.11-1xenial (diff) [2,148 B] 14:58:07 Fetched 38.3 kB in 0s (3,182 kB/s) 14:58:07 Download complete and in download only mode 14:58:07 Invoking 'dpkg-source -x ros-kinetic-track-annotation-tool_1.0.11-1xenial.dsc' 14:58:08 dpkg-source: warning: extracting unsigned source package (ros-kinetic-track-annotation-tool_1.0.11-1xenial.dsc) 14:58:08 dpkg-source: info: extracting ros-kinetic-track-annotation-tool in ros-kinetic-track-annotation-tool-1.0.11 14:58:08 dpkg-source: info: unpacking ros-kinetic-track-annotation-tool_1.0.11.orig.tar.gz 14:58:08 dpkg-source: info: unpacking ros-kinetic-track-annotation-tool_1.0.11-1xenial.debian.tar.xz 14:58:08 Package maintainer emails: linder@cs.uni-freiburg.de 14:58:08 # END SUBSECTION14:58:14 Looking for the '.dsc' file of package 'ros-kinetic-track-annotation-tool' with version '1.0.11-1' 14:58:17 Using the following distribution repositories: 14:58:17 http://10.210.9.154/ubuntu/building (/tmp/keys/0.key) 14:58:17 http://packages.ros.org/ros/ubuntu (/tmp/keys/1.key) 14:58:17 Generating Dockerfile '/tmp/docker_build_binarydeb/Dockerfile': 14:58:17 # generated from release/binarydeb_task.Dockerfile.em 14:58:17 14:58:17 14:58:17 FROM ubuntu:xenial 14:58:17 14:58:17 VOLUME ["/var/cache/apt/archives"] 14:58:17 14:58:17 ENV DEBIAN_FRONTEND noninteractive 14:58:17 14:58:17 14:58:17 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 14:58:17 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 14:58:17 RUN locale-gen en_US.UTF-8 14:58:17 ENV LANG en_US.UTF-8 14:58:17 ENV TZ GMT+00 14:58:17 14:58:17 RUN useradd -u 1002 -m buildfarm 14:58:17 14:58:17 RUN mkdir /tmp/keys 14:58:17 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/n7OgS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/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 14:58:17 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+\nd+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS\n6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN\nqoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL\n8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/\n/SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVVokdGpcUz\nvz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQABtCZPcGVuIFJvYm90\naWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQoAPhYhBMHPbjHmut6IaLFytPQu\n1vurF8ZUBQJc7yaWAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEPQu1vur\nF8ZUkhIP/RbZY1ErvCEUy8iLJm9aSpLQnDZl5xILOxyZlzpg+Ml5bb0EkQDr92foCgcvLeAN\nKARNCaGLyNIWkuyDovPV0xZJrEy0kgBrDNb3++NmdI/+GA92pkedMXXioQvqdsxUagXAIB/s\nNGByJEhs37F05AnFvZbjUhceq3xTlvAMcrBWrgB4NwBivZY6IgLvl/CRQpVYwANShIQdbvHv\nZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO\nK+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo\nbC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs\nFn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key 14:58:17 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 14:58:17 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 14:58:17 14:58:17 RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && ((grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? xenial ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? xenial-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? xenial-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)) 14:58:17 14:58:17 RUN mkdir /tmp/wrapper_scripts 14:58:17 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 14:58:17 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 14:58:17 14:58:17 # automatic invalidation once every day 14:58:17 RUN echo "2020-08-26 (+0000)" 14:58:17 14:58:17 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 14:58:17 14:58:17 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential 14:58:17 14:58:17 # for each dependency: echo version, apt update, apt install, apt clean 14:58:17 # to prevent exceeding the docker layer limit several lines have been folded 14:58:17 RUN echo "apt-src: 0.25.1-0.2" && echo "debhelper: 10.2.2ubuntu1~ubuntu16.04.1" && echo "libqt4-dbus: 4:4.8.7+dfsg-5ubuntu2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src debhelper libqt4-dbus 14:58:17 RUN echo "libqt4-dev: 4:4.8.7+dfsg-5ubuntu2" && echo "libqt4-network: 4:4.8.7+dfsg-5ubuntu2" && echo "libqt4-script: 4:4.8.7+dfsg-5ubuntu2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes libqt4-dev libqt4-network libqt4-script 14:58:17 RUN echo "libqt4-test: 4:4.8.7+dfsg-5ubuntu2" && echo "libqt4-xml: 4:4.8.7+dfsg-5ubuntu2" && echo "libqtcore4: 4:4.8.7+dfsg-5ubuntu2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes libqt4-test libqt4-xml libqtcore4 14:58:17 RUN echo "qt4-qmake: 4:4.8.7+dfsg-5ubuntu2" && echo "ros-kinetic-catkin: 0.7.20-1xenial-20191213-232805+0000" && echo "ros-kinetic-roslib: 1.14.6-1xenial-20191214-032958+0000" && echo "ros-kinetic-rqt-gui: 0.5.0-0xenial-20200812-044453+0000" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes qt4-qmake ros-kinetic-catkin ros-kinetic-roslib ros-kinetic-rqt-gui 14:58:17 RUN echo "ros-kinetic-rqt-gui-py: 0.5.0-0xenial-20200812-050211+0000" && echo "ros-kinetic-rviz: 1.12.17-0xenial-20200812-032553+0000" && echo "ros-kinetic-spencer-human-attribute-msgs: 1.0.11-1xenial-20200826-132319+0000" && echo "ros-kinetic-spencer-tracking-msgs: 1.0.11-1xenial-20200826-132419+0000" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-kinetic-rqt-gui-py ros-kinetic-rviz ros-kinetic-spencer-human-attribute-msgs ros-kinetic-spencer-tracking-msgs 14:58:17 14:58:17 USER buildfarm 14:58:17 ENTRYPOINT ["sh", "-c"] 14:58:17 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py kinetic track_annotation_tool --sourcedeb-dir /tmp/binarydeb"] 14:58:17 Mount the following volumes when running the container: 14:58:17 -v /tmp/ros_buildfarm:/tmp/ros_buildfarm:ro 14:58:17 -v /tmp/binarydeb:/tmp/binarydeb 14:58:20 + echo # END SECTION 14:58:20 # END SECTION11.2. append build timestampHide Details
14:58:08 # BEGIN SUBSECTION: append build timestamp 14:58:08 Invoking 'debchange -v 1.0.11-1xenial-20200826-135808+0000 -p -D xenial -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-kinetic-track-annotation-tool-1.0.11' 14:58:08 # END SUBSECTION12. Build Dockerfile - build binarydebHide Details
14:58:21 # BEGIN SECTION: Build Dockerfile - build binarydeb 14:58:21 + cd /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/docker_build_binarydeb 14:58:21 + python3 -u /home/jenkins-slave/workspace/Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 14:58:21 Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial 14:58:21 Check docker base image for updates: docker pull ubuntu:xenial 14:58:36 Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers) 14:58:37 Build step 'Execute shell' marked build as failure 14:58:37 $ ssh-agent -k 14:58:37 unset SSH_AUTH_SOCK; 14:58:37 unset SSH_AGENT_PID; 14:58:37 echo Agent pid 22713 killed; 14:58:37 [ssh-agent] Stopped. 14:58:41 [description-setter] Could not determine description. 14:58:41 Sending e-mails to: lcas-build-farm@googlegroups.com linder@cs.uni-freiburg.de 14:58:42 Finished: FAILURE