Console Output
15:40:45 Started by upstream project "Kbin_uX64__strands_navigation_msgs__ubuntu_xenial_amd64__binary" build number 8 15:40:45 originally caused by: 15:40:45 Started by upstream project "Ksrc_uX__strands_navigation_msgs__ubuntu_xenial__source" build number 8 15:40:45 originally caused by: 15:40:45 Started by upstream project "Krel_trigger-jobs" build number 100216 15:40:45 originally caused by: 15:40:45 Started by timer 15:40:45 Started by upstream project "Kbin_uX64__monitored_navigation__ubuntu_xenial_amd64__binary" build number 14 15:40:45 originally caused by: 15:40:45 Started by upstream project "Ksrc_uX__monitored_navigation__ubuntu_xenial__source" build number 8 15:40:45 originally caused by: 15:40:45 Started by upstream project "Krel_trigger-jobs" build number 100216 15:40:45 originally caused by: 15:40:45 Started by timer 15:40:45 Started by upstream project "Kbin_uX64__strands_navigation_msgs__ubuntu_xenial_amd64__binary" build number 8 15:40:45 originally caused by: 15:40:45 Started by upstream project "Ksrc_uX__strands_navigation_msgs__ubuntu_xenial__source" build number 8 15:40:45 originally caused by: 15:40:45 Started by upstream project "Krel_trigger-jobs" build number 100216 15:40:45 Running as SYSTEM 15:40:46 Building remotely on build client 2 (slave buildslave indigo_devel_default buildagent) in workspace /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary 15:40:46 [ssh-agent] Looking for ssh-agent implementation... 15:40:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:46 $ ssh-agent 15:40:46 SSH_AUTH_SOCK=/tmp/ssh-91wBRs82XDcd/agent.27308 15:40:46 SSH_AGENT_PID=27310 15:40:46 [ssh-agent] Started. 15:40:46 Running ssh-add (command line suppressed) 15:40:46 Identity added: /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary@tmp/private_key_1944937408293663902.key (/home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary@tmp/private_key_1944937408293663902.key) 15:40:46 [ssh-agent] Using credentials jenkins-slave 15:40:4615:40:461. Check upstream projectsHide Details
15:40:46 # BEGIN SECTION: Check upstream projects 15:40:46 Verify that no recursive upstream project is broken: 15:40:46 15:40:46 - 'Kbin_uX64__fremenserver__ubuntu_xenial_amd64__binary' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__fremenserver__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__mongodb_store__ubuntu_xenial_amd64__binary' build '6' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__libmongocxx_ros__ubuntu_xenial_amd64__binary' build '6' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__libmongocxx_ros__ubuntu_xenial__source' build '6' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__mongodb_store_msgs__ubuntu_xenial_amd64__binary' build '6' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__mongodb_store_msgs__ubuntu_xenial__source' build '6' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__mongodb_store__ubuntu_xenial__source' build '6' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__monitored_navigation__ubuntu_xenial_amd64__binary' build '14' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__movebase_state_service__ubuntu_xenial_amd64__binary' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__movebase_state_service__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__smach__ubuntu_xenial_amd64__binary' build '2' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__smach__ubuntu_xenial__source' build '2' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__smach_ros__ubuntu_xenial_amd64__binary' build '2' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__smach_msgs__ubuntu_xenial_amd64__binary' build '2' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__smach_msgs__ubuntu_xenial__source' build '2' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__smach_ros__ubuntu_xenial__source' build '2' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__strands_navigation_msgs__ubuntu_xenial_amd64__binary' build '8' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__strands_navigation_msgs__ubuntu_xenial__source' build '8' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__monitored_navigation__ubuntu_xenial__source' build '8' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__scitos_teleop__ubuntu_xenial_amd64__binary' build '5' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__scitos_msgs__ubuntu_xenial_amd64__binary' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__scitos_msgs__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__scitos_teleop__ubuntu_xenial__source' build '5' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__strands_morse__ubuntu_xenial_amd64__binary' build '9' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__openni_wrapper__ubuntu_xenial_amd64__binary' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__openni_wrapper__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__scitos_description__ubuntu_xenial_amd64__binary' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__scitos_description__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__scitos_ptu__ubuntu_xenial_amd64__binary' build '5' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__scitos_ptu__ubuntu_xenial__source' build '5' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__strands_movebase__ubuntu_xenial_amd64__binary' build '6' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__strands_description__ubuntu_xenial_amd64__binary' build '6' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__calibrate_chest__ubuntu_xenial_amd64__binary' build '6' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__calibrate_chest__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__strands_description__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__strands_navfn__ubuntu_xenial_amd64__binary' build '6' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__strands_navfn__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__strands_movebase__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Kbin_uX64__topic_republisher__ubuntu_xenial_amd64__binary' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__topic_republisher__ubuntu_xenial__source' build '3' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__strands_morse__ubuntu_xenial__source' build '5' has result 'SUCCESS' 15:40:46 - 'Ksrc_uX__topological_navigation__ubuntu_xenial__source' build '7' has result 'SUCCESS' 15:40:46 All recursive upstream projects are (un)stable 15:40:46 # END SECTION15:40:46 [Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins7225020179202393400.sh 15:40:46 + echo # BEGIN SECTION: docker version2. Check free disk spaceHide Details
15:40:46 # BEGIN SECTION: Check free disk space 15:40:46 Usable disk space = 53546242048 bytes 15:40:46 Free space threshold = 5368709120 bytes 15:40:46 # END SECTION15:40:46 + echo # BEGIN SECTION: docker info3. docker versionHide Details
15:40:46 # BEGIN SECTION: docker version 15:40:46 + docker version 15:40:46 Client: 15:40:46 Version: 17.05.0-ce 15:40:46 API version: 1.29 15:40:46 Go version: go1.7.5 15:40:46 Git commit: 89658be 15:40:46 Built: Thu May 4 22:06:06 2017 15:40:46 OS/Arch: linux/amd64 15:40:46 15:40:46 Server: 15:40:46 Version: 17.05.0-ce 15:40:46 API version: 1.29 (minimum version 1.12) 15:40:46 Go version: go1.7.5 15:40:46 Git commit: 89658be 15:40:46 Built: Thu May 4 22:06:06 2017 15:40:46 OS/Arch: linux/amd64 15:40:46 Experimental: false 15:40:46 + echo # END SECTION 15:40:46 # END SECTION15:41:18 [Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins3073282626797871363.sh 15:41:18 + echo # BEGIN SECTION: Check docker status4. docker infoHide Details
15:40:46 # BEGIN SECTION: docker info 15:40:46 + docker info 15:41:18 Containers: 42 15:41:18 Running: 1 15:41:18 Paused: 0 15:41:18 Stopped: 41 15:41:18 Images: 1088 15:41:18 Server Version: 17.05.0-ce 15:41:18 Storage Driver: aufs 15:41:18 Root Dir: /var/lib/docker/aufs 15:41:18 Backing Filesystem: extfs 15:41:18 Dirs: 826 15:41:18 Dirperm1 Supported: false 15:41:18 Logging Driver: json-file 15:41:18 Cgroup Driver: cgroupfs 15:41:18 Plugins: 15:41:18 Volume: local 15:41:18 Network: bridge host macvlan null overlay 15:41:18 Swarm: inactive 15:41:18 Runtimes: runc 15:41:18 Default Runtime: runc 15:41:18 Init Binary: docker-init 15:41:18 containerd version: 9048e5e50717ea4497b757314bad98ea3763c145 15:41:18 runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228 15:41:18 init version: 949e6fa 15:41:18 Security Options: 15:41:18 apparmor 15:41:18 Kernel Version: 3.13.0-29-generic 15:41:18 Operating System: Ubuntu 14.04 LTS 15:41:18 OSType: linux 15:41:18 Architecture: x86_64 15:41:18 CPUs: 2 15:41:18 Total Memory: 3.861GiB 15:41:18 Name: lcas-buildfarm-slave-1 15:41:18 ID: LZSS:PF7G:CREH:TEQW:FH57:3M6D:KCSS:ODQY:SPHA:ND7A:FHYG:PNDE 15:41:18 Docker Root Dir: /var/lib/docker 15:41:18 Debug Mode (client): false 15:41:18 Debug Mode (server): false 15:41:18 Registry: https://index.docker.io/v1/ 15:41:18 Experimental: false 15:41:18 Insecure Registries: 15:41:18 127.0.0.0/8 15:41:18 Live Restore Enabled: false 15:41:18 15:41:18 WARNING: No swap limit support 15:41:18 + echo # END SECTION 15:41:18 # END SECTION15:41:22 [Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins1934471132264976555.sh 15:41:22 + echo # BEGIN SECTION: Embed wrapper scripts5. Check docker statusHide Details
15:41:18 # BEGIN SECTION: Check docker status 15:41:18 + echo Testing trivial docker invocation... 15:41:18 Testing trivial docker invocation... 15:41:18 + docker run --rm ubuntu:xenial true 15:41:22 + echo 'docker run' returned 0 15:41:22 'docker run' returned 0 15:41:22 docker seems operational, continuing 15:41:22 [Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins8325599210104635018.sh 15:41:22 + echo # END SECTION 15:41:22 # END SECTION15:41:22 [Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins4261290459180818380.sh 15:41:22 + echo # BEGIN SECTION: Clone ros_buildfarm6. Embed wrapper scriptsHide Details
15:41:22 # BEGIN SECTION: Embed wrapper scripts 15:41:22 + rm -fr wrapper_scripts 15:41:22 + mkdir wrapper_scripts 15:41:22 + 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()) 15:41:22 + echo # END SECTION 15:41:22 # END SECTION15:41:26 [Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins1082002820300496210.sh 15:41:26 + echo # BEGIN SECTION: Write PGP repository keys7. Clone ros_buildfarmHide Details
15:41:22 # BEGIN SECTION: Clone ros_buildfarm 15:41:22 + rm -fr ros_buildfarm 15:41:22 + python3 -u wrapper_scripts/git.py clone --depth 1 -b lcas_new https://github.com/lcas/ros_buildfarm.git ros_buildfarm 15:41:22 Invoking 'git clone --depth 1 -b lcas_new https://github.com/lcas/ros_buildfarm.git ros_buildfarm' 15:41:22 Cloning into 'ros_buildfarm'... 15:41:26 + git -C ros_buildfarm --no-pager log -n 1 15:41:26 commit e770f7316de6c9ba977b09cc1ecd55846d8784d7 15:41:26 Author: Marc Hanheide <marc@hanheide.net> 15:41:26 Date: Tue Nov 12 15:42:35 2019 +0000 15:41:26 15:41:26 added auth token to main sync job 15:41:26 + rm -fr ros_buildfarm/.git 15:41:26 + rm -fr ros_buildfarm/doc 15:41:26 + echo # END SECTION 15:41:26 # END SECTION15:41:26 [Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/jenkins6063013599975960790.sh 15:41:26 + rm -fr /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/docker_generating_docker 15:41:26 + mkdir -p /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/docker_generating_docker 15:41:26 + sleep 1 15:41:26 + python3 -u /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 28092 --cid-file /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/docker_generating_docker/docker.cid 15:41:27 + echo # BEGIN SECTION: Generate Dockerfile - binarydeb task8. Write PGP repository keysHide Details
15:41:26 # BEGIN SECTION: Write PGP repository keys 15:41:26 + mkdir -p /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/keys 15:41:26 + rm -fr /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/keys/* 15:41:26 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 15:41:26 Version: GnuPG v1.4.11 (GNU/Linux) 15:41:26 15:41:26 mQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn 15:41:26 MsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf 15:41:26 xcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw 15:41:26 kPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv 15:41:26 /o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh 15:41:26 EBgDgnH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Cp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0 15:41:26 ikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU 15:41:26 M7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N 15:41:26 l9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ 15:41:26 Chb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ== 15:41:26 =nFcN 15:41:26 -----END PGP PUBLIC KEY BLOCK----- 15:41:26 15:41:26 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 15:41:26 Version: SKS 1.1.6 15:41:26 Comment: Hostname: keyserver.ubuntu.com 15:41:26 15:41:26 mQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L 15:41:26 /HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw 15:41:26 DuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47 15:41:26 ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+ 15:41:26 d+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS 15:41:26 6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN 15:41:26 qoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL 15:41:26 8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV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 15:41:26 PWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd 15:41:26 =4Ofr 15:41:26 -----END PGP PUBLIC KEY BLOCK----- 15:41:26 15:41:26 + echo # END SECTION 15:41:26 # END SECTION15:41:28 + echo # BEGIN SECTION: Build Dockerfile - binarydeb task9. Generate Dockerfile - binarydeb taskHide Details
15:41:27 # BEGIN SECTION: Generate Dockerfile - binarydeb task 15:41:27 + export TZ=GMT+00 15:41:27 + export PYTHONPATH=/home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/ros_buildfarm: 15:41:27 + python3 -u /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__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 topological_navigation 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__topological_navigation__ubuntu_xenial_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/keys/1.key --target-repository http://10.210.9.154/ubuntu/building --binarydeb-dir /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/binarydeb --dockerfile-dir /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/docker_generating_docker --append-timestamp 15:41:28 Using the following distribution repositories: 15:41:28 http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/keys/0.key) 15:41:28 http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/keys/1.key) 15:41:28 Generating Dockerfile '/home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/docker_generating_docker/Dockerfile': 15:41:28 # generated from release/binarydeb_create_task.Dockerfile.em 15:41:28 15:41:28 FROM ubuntu:xenial 15:41:28 15:41:28 VOLUME ["/var/cache/apt/archives"] 15:41:28 15:41:28 ENV DEBIAN_FRONTEND noninteractive 15:41:28 15:41:28 15:41:28 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 15:41:28 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 15:41:28 RUN locale-gen en_US.UTF-8 15:41:28 ENV LANG en_US.UTF-8 15:41:28 ENV TZ GMT+00 15:41:28 15:41:28 15:41:28 RUN useradd -u 1002 -m buildfarm 15:41:28 15:41:28 RUN mkdir /tmp/keys 15:41:28 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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C KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 15:41:28 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 15:41:28 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 15:41:28 RUN echo deb-src http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 15:41:28 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 15:41:28 15:41:28 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)) 15:41:28 15:41:28 RUN mkdir /tmp/wrapper_scripts 15:41:28 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 15:41:28 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 15:41:28 15:41:28 # automatic invalidation once every day 15:41:28 RUN echo "2020-04-20 (+0000)" 15:41:28 15:41:28 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 15:41:28 15:41:28 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 15:41:28 15:41:28 # always invalidate to actually have the latest apt repo state 15:41:28 RUN echo "2020-04-20 14:41:28 +0000" 15:41:28 RUN python3 -u /tmp/wrapper_scripts/apt.py update 15:41:28 15:41:28 USER buildfarm 15:41:28 ENTRYPOINT ["sh", "-c"] 15:41:28 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 topological_navigation --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py kinetic topological_navigation --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 topological_navigation 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"] 15:41:28 + echo # END SECTION 15:41:28 # END SECTION15:41:52 + echo # BEGIN SECTION: Run Dockerfile - binarydeb task10. Build Dockerfile - binarydeb taskHide Details
15:41:28 # BEGIN SECTION: Build Dockerfile - binarydeb task 15:41:28 + cd /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/docker_generating_docker 15:41:28 + python3 -u /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 15:41:28 Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial 15:41:28 Check docker base image for updates: docker pull ubuntu:xenial 15:41:33 xenial: Pulling from library/ubuntu 15:41:33 Digest: sha256:e9938f45e51d9ff46e2b05a62e0546d0f07489b7f22fbc5288defe760599e38a 15:41:33 Status: Image is up to date for ubuntu:xenial 15:41:33 + docker build --force-rm -t binarydeb_task_generation.kinetic_ubuntu_xenial_amd64_topological_navigation . 15:41:33 Sending build context to Docker daemon 20.99kB 15:41:33 Step 1/27 : FROM ubuntu:xenial 15:41:33 ---> 77be327e4b63 15:41:33 Step 2/27 : VOLUME /var/cache/apt/archives 15:41:33 ---> Using cache 15:41:33 ---> a41f5a63ea24 15:41:33 Step 3/27 : ENV DEBIAN_FRONTEND noninteractive 15:41:33 ---> Using cache 15:41:33 ---> a79800553627 15:41:33 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 15:41:33 ---> Using cache 15:41:33 ---> fd4c86dd49db 15:41:33 Step 5/27 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 15:41:33 ---> Using cache 15:41:33 ---> c55ba4a84d8f 15:41:33 Step 6/27 : RUN locale-gen en_US.UTF-8 15:41:33 ---> Using cache 15:41:33 ---> 53d4d897f9a2 15:41:33 Step 7/27 : ENV LANG en_US.UTF-8 15:41:33 ---> Using cache 15:41:33 ---> 493a7f1fc165 15:41:33 Step 8/27 : ENV TZ GMT+00 15:41:33 ---> Using cache 15:41:33 ---> af7f5c397bab 15:41:33 Step 9/27 : RUN useradd -u 1002 -m buildfarm 15:41:33 ---> Using cache 15:41:33 ---> 9e8fa6e043d3 15:41:33 Step 10/27 : RUN mkdir /tmp/keys 15:41:33 ---> Using cache 15:41:33 ---> a3694278a458 15:41:33 Step 11/27 : 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/o8fTnjcTama8ml5jna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GMd2efCoQhYbMOqG6C0\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 15:41:33 ---> Using cache 15:41:33 ---> 2b657022d5f3 15:41:33 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\n6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN\nqoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL\n8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/\n/SnuexC6LYq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---> Using cache 15:41:33 ---> 0dff87068e63 15:41:33 Step 13/27 : RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 15:41:33 ---> Using cache 15:41:33 ---> 47df04967cce 15:41:33 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 15:41:33 ---> Using cache 15:41:33 ---> 50fa4f9589fa 15:41:33 Step 15/27 : RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list 15:41:33 ---> Using cache 15:41:33 ---> 67ccd81cf799 15:41:33 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)) 15:41:33 ---> Using cache 15:41:33 ---> 607433b26337 15:41:33 Step 17/27 : RUN mkdir /tmp/wrapper_scripts 15:41:33 ---> Using cache 15:41:33 ---> 16a5a2ffa0ea 15:41:33 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 15:41:33 ---> Using cache 15:41:33 ---> 20ca104d6d8a 15:41:33 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 15:41:33 ---> Using cache 15:41:33 ---> ac10b54e31c9 15:41:33 Step 20/27 : RUN echo "2020-04-20 (+0000)" 15:41:33 ---> Using cache 15:41:33 ---> 5498b387861b 15:41:33 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 15:41:33 ---> Using cache 15:41:33 ---> 093de8f281c1 15:41:33 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 15:41:33 ---> Using cache 15:41:33 ---> e21e4567bfb1 15:41:33 Step 23/27 : RUN echo "2020-04-20 14:41:28 +0000" 15:41:33 ---> Using cache 15:41:33 ---> 0ee0513cc4ef 15:41:33 Step 24/27 : RUN python3 -u /tmp/wrapper_scripts/apt.py update 15:41:34 ---> Running in 05823104a160 15:41:44 Invoking 'apt-get update' 15:41:45 Get:1 http://10.210.9.154/ubuntu/building xenial InRelease [2,820 B] 15:41:45 Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease 15:41:45 Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] 15:41:45 Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] 15:41:45 Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] 15:41:45 Get:6 http://archive.ubuntu.com/ubuntu xenial-security InRelease [109 kB] 15:41:45 Hit:7 http://packages.ros.org/ros/ubuntu xenial InRelease 15:41:45 Get:8 http://10.210.9.154/ubuntu/building xenial/main Sources [187 kB] 15:41:45 Get:9 http://10.210.9.154/ubuntu/building xenial/main amd64 Packages [233 kB] 15:41:45 Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [1,087 kB] 15:41:46 Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,456 kB] 15:41:47 Fetched 3,400 kB in 2s (1,698 kB/s) 15:41:49 Reading package lists... 15:41:50 ---> a1bbd4d2229f 15:41:50 Removing intermediate container 05823104a160 15:41:50 Step 25/27 : USER buildfarm 15:41:50 ---> Running in 26f25a8927de 15:41:51 ---> dae9f335f665 15:41:51 Removing intermediate container 26f25a8927de 15:41:51 Step 26/27 : ENTRYPOINT sh -c 15:41:51 ---> Running in ba3b170ef3bf 15:41:52 ---> 20e541aab06c 15:41:52 Removing intermediate container ba3b170ef3bf 15:41:52 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 topological_navigation --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py kinetic topological_navigation --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 topological_navigation 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 15:41:52 ---> Running in b430cac5a613 15:41:52 ---> 447431939df0 15:41:52 Removing intermediate container b430cac5a613 15:41:52 Successfully built 447431939df0 15:41:52 Successfully tagged binarydeb_task_generation.kinetic_ubuntu_xenial_amd64_topological_navigation:latest 15:41:52 + echo # END SECTION 15:41:52 # END SECTION11. Run Dockerfile - binarydeb taskHide Details
15:41:52 # BEGIN SECTION: Run Dockerfile - binarydeb task 15:41:52 + [ -f /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/binarydeb ] 15:41:52 + rm -fr /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/binarydeb 15:41:52 + rm -fr /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/docker_build_binarydeb 15:41:52 + mkdir -p /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/binarydeb 15:41:52 + mkdir -p /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/docker_build_binarydeb 15:41:53 + docker run --rm --cidfile=/home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/docker_generating_docker/docker.cid -e=TRAVIS= -e=ROS_BUILDFARM_PULL_REQUEST_BRANCH= -v /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__ubuntu_xenial_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/workspace/Kbin_uX64__topological_navigation__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_topological_navigation15:42:09 Traceback (most recent call last): 15:42:09 File "/tmp/ros_buildfarm/scripts/release/get_sourcedeb.py", line 46, in <module> 15:42:09 sys.exit(main()) 15:42:09 File "/tmp/ros_buildfarm/scripts/release/get_sourcedeb.py", line 42, in main 15:42:09 args.sourcedeb_dir, args.skip_download_sourcedeb) 15:42:09 File "/tmp/ros_buildfarm/ros_buildfarm/binarydeb_job.py", line 43, in get_sourcedeb 15:42:09 assert package_name in dist_file.release_packages 15:42:09 AssertionError 15:42:10 Build step 'Execute shell' marked build as failure 15:42:10 $ ssh-agent -k 15:42:10 unset SSH_AUTH_SOCK; 15:42:10 unset SSH_AGENT_PID; 15:42:10 echo Agent pid 27310 killed; 15:42:10 [ssh-agent] Stopped. 15:42:15 [description-setter] Could not determine description. 15:42:15 Sending e-mails to: lcas-build-farm@googlegroups.com jpulidofentanes@lincoln.ac.uk 15:42:16 Finished: FAILURE11.1. get sourcedebHide Details
15:41:54 # BEGIN SUBSECTION: get sourcedeb 15:42:09 # END SUBSECTION