SuccessConsole Output

20:21:31 Started by upstream project "Msrc_uB__asus_description__ubuntu_bionic__source" build number 1
20:21:31 originally caused by:
20:21:31  Started by upstream project "Mrel_trigger-jobs" build number 14026
20:21:31  originally caused by:
20:21:31   Started by timer
20:21:31 Started by upstream project "Mbin_uB64__kinect_control__ubuntu_bionic_amd64__binary" build number 1
20:21:31 originally caused by:
20:21:31  Started by upstream project "Msrc_uB__kinect_control__ubuntu_bionic__source" build number 1
20:21:31  originally caused by:
20:21:31   Started by upstream project "Mrel_trigger-jobs" build number 14026
20:21:31   originally caused by:
20:21:31    Started by timer
20:21:31 Running as SYSTEM
20:21:31 Building remotely on build client 2 (slave buildslave indigo_devel_default buildagent) in workspace /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary
20:21:31 [ssh-agent] Looking for ssh-agent implementation...
20:21:31 [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
20:21:31 $ ssh-agent
20:21:32 SSH_AUTH_SOCK=/tmp/ssh-Ak3INFSdCrVX/agent.4928
20:21:32 SSH_AGENT_PID=4935
20:21:32 [ssh-agent] Started.
20:21:32 Running ssh-add (command line suppressed)
20:21:32 Identity added: /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary@tmp/private_key_4529067521085209910.key (/home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary@tmp/private_key_4529067521085209910.key)
20:21:34 [ssh-agent] Using credentials jenkins-slave
20:21:34 
1. Check upstream projects

Hide Details

20:21:34 # BEGIN SECTION: Check upstream projects 20:21:34 Verify that no recursive upstream project is broken: 20:21:34 20:21:34 - 'Mbin_uB64__kinect_control__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 20:21:34 - 'Msrc_uB__kinect_control__ubuntu_bionic__source' build '1' has result 'SUCCESS' 20:21:34 - 'Msrc_uB__asus_description__ubuntu_bionic__source' build '1' has result 'SUCCESS' 20:21:34 All recursive upstream projects are (un)stable 20:21:34 # END SECTION
20:21:34
2. Check free disk space

Hide Details

20:21:34 # BEGIN SECTION: Check free disk space 20:21:34 Usable disk space = 89008402432 bytes 20:21:34 Free space threshold = 5368709120 bytes 20:21:34 # END SECTION
20:21:34 [Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins7199711911323560058.sh 20:21:34 + echo # BEGIN SECTION: docker version
3. docker version

Hide Details

20:21:34 # BEGIN SECTION: docker version 20:21:34 + docker version 20:21:34 Client: 20:21:34 Version: 17.05.0-ce 20:21:34 API version: 1.29 20:21:34 Go version: go1.7.5 20:21:34 Git commit: 89658be 20:21:34 Built: Thu May 4 22:06:06 2017 20:21:34 OS/Arch: linux/amd64 20:21:34 20:21:34 Server: 20:21:34 Version: 17.05.0-ce 20:21:34 API version: 1.29 (minimum version 1.12) 20:21:34 Go version: go1.7.5 20:21:34 Git commit: 89658be 20:21:34 Built: Thu May 4 22:06:06 2017 20:21:34 OS/Arch: linux/amd64 20:21:34 Experimental: false 20:21:34 + echo # END SECTION 20:21:34 # END SECTION
20:21:34 + echo # BEGIN SECTION: docker info
4. docker info

Hide Details

20:21:34 # BEGIN SECTION: docker info 20:21:34 + docker info 20:21:35 Containers: 0 20:21:35 Running: 0 20:21:35 Paused: 0 20:21:35 Stopped: 0 20:21:35 Images: 721 20:21:35 Server Version: 17.05.0-ce 20:21:35 Storage Driver: aufs 20:21:35 Root Dir: /var/lib/docker/aufs 20:21:35 Backing Filesystem: extfs 20:21:35 Dirs: 470 20:21:35 Dirperm1 Supported: false 20:21:35 Logging Driver: json-file 20:21:35 Cgroup Driver: cgroupfs 20:21:35 Plugins: 20:21:35 Volume: local 20:21:35 Network: bridge host macvlan null overlay 20:21:35 Swarm: inactive 20:21:35 Runtimes: runc 20:21:35 Default Runtime: runc 20:21:35 Init Binary: docker-init 20:21:35 containerd version: 9048e5e50717ea4497b757314bad98ea3763c145 20:21:35 runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228 20:21:35 init version: 949e6fa 20:21:35 Security Options: 20:21:35 apparmor 20:21:35 Kernel Version: 3.13.0-29-generic 20:21:35 Operating System: Ubuntu 14.04 LTS 20:21:35 OSType: linux 20:21:35 Architecture: x86_64 20:21:35 CPUs: 2 20:21:35 Total Memory: 3.861GiB 20:21:35 Name: lcas-buildfarm-slave-1 20:21:35 ID: LZSS:PF7G:CREH:TEQW:FH57:3M6D:KCSS:ODQY:SPHA:ND7A:FHYG:PNDE 20:21:35 Docker Root Dir: /var/lib/docker 20:21:35 Debug Mode (client): false 20:21:35 Debug Mode (server): false 20:21:35 Registry: https://index.docker.io/v1/ 20:21:35 Experimental: false 20:21:35 Insecure Registries: 20:21:35 127.0.0.0/8 20:21:35 Live Restore Enabled: false 20:21:35 20:21:35 WARNING: No swap limit support 20:21:35 + echo # END SECTION 20:21:35 # END SECTION
20:21:35 [Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins3983725574830433649.sh 20:21:35 + echo # BEGIN SECTION: Check docker status
5. Check docker status

Hide Details

20:21:35 # BEGIN SECTION: Check docker status 20:21:35 + echo Testing trivial docker invocation... 20:21:35 Testing trivial docker invocation... 20:21:35 + docker run --rm ubuntu:bionic true 20:21:36 + echo 'docker run' returned 0 20:21:36 'docker run' returned 0 20:21:36 docker seems operational, continuing 20:21:36 [Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins8075574396863672830.sh 20:21:36 + echo # END SECTION 20:21:36 # END SECTION
20:21:36 [Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins2654011607353537198.sh 20:21:36 + echo # BEGIN SECTION: Embed wrapper scripts
6. Embed wrapper scripts

Hide Details

20:21:36 # BEGIN SECTION: Embed wrapper scripts 20:21:36 + rm -fr wrapper_scripts 20:21:36 + mkdir wrapper_scripts 20:21:36 + 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()) 20:21:36 + echo # END SECTION 20:21:36 # END SECTION
20:21:36 [Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins7739202395958974098.sh 20:21:36 + echo # BEGIN SECTION: Clone ros_buildfarm
7. Clone ros_buildfarm

Hide Details

20:21:36 # BEGIN SECTION: Clone ros_buildfarm 20:21:36 + rm -fr ros_buildfarm 20:21:36 + python3 -u wrapper_scripts/git.py clone --depth 1 -b pull_upstream https://github.com/lcas/ros_buildfarm.git ros_buildfarm 20:21:36 Invoking 'git clone --depth 1 -b pull_upstream https://github.com/lcas/ros_buildfarm.git ros_buildfarm' 20:21:36 Cloning into 'ros_buildfarm'... 20:21:38 + git -C ros_buildfarm --no-pager log -n 1 20:21:38 commit d123759755a1211d96b32ba87781c29d9b3a6f3f 20:21:38 Author: Marc Hanheide <marc@hanheide.net> 20:21:38 Date: Mon Mar 9 21:12:45 2020 +0000 20:21:38 20:21:38 Merge pull request #3 from LCAS/lcas_new 20:21:38 20:21:38 many required fixed 20:21:38 + rm -fr ros_buildfarm/.git 20:21:38 + rm -fr ros_buildfarm/doc 20:21:38 + echo # END SECTION 20:21:38 # END SECTION
20:21:38 [Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins2121422890276436461.sh 20:21:38 + echo # BEGIN SECTION: Write PGP repository keys
8. Write PGP repository keys

Hide Details

20:21:38 # BEGIN SECTION: Write PGP repository keys 20:21:38 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/keys 20:21:38 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/keys/* 20:21:38 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 20:21:38 Version: GnuPG v1.4.11 (GNU/Linux) 20:21:38 20:21:38 mQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn 20:21:38 MsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf 20:21: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88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb 20:21:38 oRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC 20:21:38 AAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U 20:21:38 NTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0 20:21:38 ikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU 20:21:38 M7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N 20:21:38 l9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ 20:21:38 Chb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ== 20:21:38 =nFcN 20:21:38 -----END PGP PUBLIC KEY BLOCK----- 20:21:38 20:21:38 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 20:21:38 Version: SKS 1.1.6 20:21:38 Comment: Hostname: keyserver.ubuntu.com 20:21:38 20:21:38 mQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L 20:21:38 /HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw 20:21:38 DuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47 20:21:38 ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+ 20:21:38 d+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuv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ZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s 20:21:38 QNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR 20:21:38 hE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp 20:21:38 PWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd 20:21:38 =4Ofr 20:21:38 -----END PGP PUBLIC KEY BLOCK----- 20:21:38 20:21:38 + echo # END SECTION 20:21:38 # END SECTION
20:21:38 [Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins3132541161720923545.sh 20:21:38 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_generating_docker 20:21:38 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_generating_docker 20:21:38 + sleep 1 20:21:38 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 5108 --cid-file /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_generating_docker/docker.cid 20:21:39 + echo # BEGIN SECTION: Generate Dockerfile - binarydeb task
9. Generate Dockerfile - binarydeb task

Hide Details

20:21:39 # BEGIN SECTION: Generate Dockerfile - binarydeb task 20:21:39 + export TZ=GMT+00 20:21:39 + export PYTHONPATH=/home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/ros_buildfarm: 20:21:39 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/release/run_binarydeb_job.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml melodic asus_description ubuntu bionic 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/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/keys/1.key --target-repository http://10.210.9.154/ubuntu/building --binarydeb-dir /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/binarydeb --dockerfile-dir /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_generating_docker --env-vars --append-timestamp 20:21:39 Using the following distribution repositories: 20:21:39 http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/keys/0.key) 20:21:39 http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/keys/1.key) 20:21:40 Generating Dockerfile '/home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_generating_docker/Dockerfile': 20:21:40 # generated from release/binarydeb_create_task.Dockerfile.em 20:21:40 20:21:40 FROM ubuntu:bionic 20:21:40 20:21:40 VOLUME ["/var/cache/apt/archives"] 20:21:40 20:21:40 ENV DEBIAN_FRONTEND noninteractive 20:21:40 20:21:40 20:21:40 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:21:40 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 20:21:40 RUN locale-gen en_US.UTF-8 20:21:40 ENV LANG en_US.UTF-8 20:21:40 ENV TZ GMT+00 20:21:40 20:21:40 20:21:40 RUN useradd -u 1002 -l -m buildfarm 20:21:40 20:21:40 RUN mkdir /tmp/keys 20:21:40 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg && apt-get clean && break || if [ $i -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HCISYIK7f3\nIWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm\nZ4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK\n7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/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 20:21:40 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\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55r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QXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/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 20:21:40 RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:21:40 RUN echo deb-src http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:21:40 RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:21:40 20:21:40 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/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) 20:21:40 20:21:40 RUN mkdir /tmp/wrapper_scripts 20:21:40 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 20:21:40 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 20:21:40 20:21:40 # automatic invalidation once every day 20:21:40 RUN echo "2020-04-02 (+0000)" 20:21:40 20:21:40 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:21:40 20:21:40 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 20:21:40 20:21:40 # always invalidate to actually have the latest apt repo state 20:21:40 RUN echo "2020-04-02 19:21:39 +0000" 20:21:40 RUN python3 -u /tmp/wrapper_scripts/apt.py update 20:21:40 20:21:40 USER buildfarm 20:21:40 ENTRYPOINT ["sh", "-c"] 20:21:40 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 melodic asus_description --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic asus_description --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 melodic asus_description ubuntu bionic 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 --env-vars --dockerfile-dir /tmp/docker_build_binarydeb"] 20:21:40 + echo # END SECTION 20:21:40 # END SECTION
20:21:40 + echo # BEGIN SECTION: Build Dockerfile - binarydeb task
10. Build Dockerfile - binarydeb task

Hide Details

20:21:40 # BEGIN SECTION: Build Dockerfile - binarydeb task 20:21:40 + cd /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_generating_docker 20:21:40 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 20:21:40 Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic 20:21:40 Check docker base image for updates: docker pull ubuntu:bionic 20:21:42 bionic: Pulling from library/ubuntu 20:21:42 Digest: sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 20:21:42 Status: Image is up to date for ubuntu:bionic 20:21:42 + docker build --force-rm -t binarydeb_task_generation.melodic_ubuntu_bionic_amd64_asus_description . 20:21:42 Sending build context to Docker daemon 20.99kB 20:21:42 Step 1/28 : FROM ubuntu:bionic 20:21:42 ---> 4e5021d210f6 20:21:42 Step 2/28 : VOLUME /var/cache/apt/archives 20:21:42 ---> Using cache 20:21:42 ---> df7c84159595 20:21:42 Step 3/28 : ENV DEBIAN_FRONTEND noninteractive 20:21:42 ---> Using cache 20:21:42 ---> 59b0c94a00fe 20:21:42 Step 4/28 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:21:42 ---> Using cache 20:21:42 ---> c27f478e278a 20:21:42 Step 5/28 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 20:21:42 ---> Using cache 20:21:42 ---> caf2d8a00919 20:21:42 Step 6/28 : RUN locale-gen en_US.UTF-8 20:21:42 ---> Using cache 20:21:42 ---> f0ee70252c6d 20:21:42 Step 7/28 : ENV LANG en_US.UTF-8 20:21:42 ---> Using cache 20:21:42 ---> e5a97b0611bb 20:21:42 Step 8/28 : ENV TZ GMT+00 20:21:42 ---> Using cache 20:21:42 ---> 5c14d75cad4c 20:21:42 Step 9/28 : RUN useradd -u 1002 -l -m buildfarm 20:21:42 ---> Using cache 20:21:42 ---> c8fbf7adaa18 20:21:42 Step 10/28 : RUN mkdir /tmp/keys 20:21:42 ---> Using cache 20:21:42 ---> 1849328c7675 20:21:42 Step 11/28 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:21:42 ---> Using cache 20:21:42 ---> 6e6ab279d32b 20:21:42 Step 12/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\nyQdVwliJMLwVihKz0AU0UCG6qra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Q==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 20:21:42 ---> Using cache 20:21:42 ---> e3dd9cf3da06 20:21:42 Step 13/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 20:21:42 ---> Using cache 20:21:42 ---> 70778070df25 20:21:42 Step 14/28 : RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:21:42 ---> Using cache 20:21:42 ---> ab533b0a05e7 20:21:42 Step 15/28 : RUN echo deb-src http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:21:42 ---> Using cache 20:21:42 ---> c584c4cf3907 20:21:42 Step 16/28 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:21:42 ---> Using cache 20:21:42 ---> 4a008753a19d 20:21:42 Step 17/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/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) 20:21:42 ---> Using cache 20:21:42 ---> 6f42f8c67c08 20:21:42 Step 18/28 : RUN mkdir /tmp/wrapper_scripts 20:21:42 ---> Using cache 20:21:42 ---> b0a9fb43c0c7 20:21:42 Step 19/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 20:21:42 ---> Using cache 20:21:42 ---> d5ccfb3d5af1 20:21:42 Step 20/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 20:21:42 ---> Using cache 20:21:42 ---> 05caf15d6d16 20:21:42 Step 21/28 : RUN echo "2020-04-02 (+0000)" 20:21:42 ---> Using cache 20:21:42 ---> a265111f856b 20:21:42 Step 22/28 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:21:42 ---> Using cache 20:21:42 ---> 0332d6b52d4c 20:21:42 Step 23/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 20:21:42 ---> Using cache 20:21:42 ---> 58b843953f07 20:21:42 Step 24/28 : RUN echo "2020-04-02 19:21:39 +0000" 20:21:42 ---> Running in 7d722cd2062e 20:21:43 2020-04-02 19:21:39 +0000 20:21:43 ---> e08160e4218a 20:21:43 Removing intermediate container 7d722cd2062e 20:21:43 Step 25/28 : RUN python3 -u /tmp/wrapper_scripts/apt.py update 20:21:43 ---> Running in 40308e566e0d 20:21:44 Invoking 'apt-get update' 20:21:44 Get:1 http://10.210.9.154/ubuntu/building bionic InRelease [2,826 B] 20:21:44 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 20:21:44 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 20:21:44 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 20:21:44 Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 20:21:44 Hit:6 http://packages.ros.org/ros/ubuntu bionic InRelease 20:21:44 Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 20:21:44 Get:8 http://10.210.9.154/ubuntu/building bionic/main Sources [116 kB] 20:21:44 Get:9 http://10.210.9.154/ubuntu/building bionic/main amd64 Packages [148 kB] 20:21:44 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,367 kB] 20:21:45 Fetched 1,974 kB in 1s (1,647 kB/s) 20:21:47 Reading package lists... 20:21:47 ---> 3c31c9fcca93 20:21:47 Removing intermediate container 40308e566e0d 20:21:47 Step 26/28 : USER buildfarm 20:21:47 ---> Running in 6bb4c02bbf83 20:21:47 ---> a75897003293 20:21:48 Removing intermediate container 6bb4c02bbf83 20:21:48 Step 27/28 : ENTRYPOINT sh -c 20:21:48 ---> Running in 6e5ddb0a403e 20:21:48 ---> 0ead4f1eac01 20:21:48 Removing intermediate container 6e5ddb0a403e 20:21:48 Step 28/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 melodic asus_description --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic asus_description --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 melodic asus_description ubuntu bionic 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 --env-vars --dockerfile-dir /tmp/docker_build_binarydeb 20:21:48 ---> Running in b41c64d23ef5 20:21:48 ---> c610bd64ae54 20:21:48 Removing intermediate container b41c64d23ef5 20:21:48 Successfully built c610bd64ae54 20:21:48 Successfully tagged binarydeb_task_generation.melodic_ubuntu_bionic_amd64_asus_description:latest 20:21:48 + echo # END SECTION 20:21:48 # END SECTION
20:21:48 + echo # BEGIN SECTION: Run Dockerfile - binarydeb task
11. Run Dockerfile - binarydeb task

Hide Details

20:21:48 # BEGIN SECTION: Run Dockerfile - binarydeb task 20:21:48 + [ -f /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/binarydeb ] 20:21:48 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/binarydeb 20:21:48 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_build_binarydeb 20:21:48 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/binarydeb 20:21:48 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_build_binarydeb 20:21:48 + docker run --rm --cidfile=/home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_generating_docker/docker.cid -e=TRAVIS= -e=ROS_BUILDFARM_PULL_REQUEST_BRANCH= -v /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_build_binarydeb:/tmp/docker_build_binarydeb -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache binarydeb_task_generation.melodic_ubuntu_bionic_amd64_asus_description
11.1. get sourcedeb

Hide Details

20:21:49 # BEGIN SUBSECTION: get sourcedeb 20:21:55 Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-melodic-asus-description=0.1.0-1bionic' 20:21:56 Invoking 'apt-get source --download-only --only-source ros-melodic-asus-description=0.1.0-1bionic' 20:21:56 Reading package lists... 20:21:56 Need to get 110 kB of source archives. 20:21:56 Get:1 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-asus-description 0.1.0-1bionic (dsc) [1,023 B] 20:21:56 Get:2 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-asus-description 0.1.0-1bionic (tar) [107 kB] 20:21:56 Get:3 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-asus-description 0.1.0-1bionic (diff) [1,860 B] 20:21:56 Fetched 110 kB in 0s (5,563 kB/s) 20:21:56 Download complete and in download only mode 20:21:56 Invoking 'dpkg-source -x ros-melodic-asus-description_0.1.0-1bionic.dsc' 20:21:57 dpkg-source: warning: extracting unsigned source package (ros-melodic-asus-description_0.1.0-1bionic.dsc) 20:21:57 dpkg-source: info: extracting ros-melodic-asus-description in ros-melodic-asus-description-0.1.0 20:21:57 dpkg-source: info: unpacking ros-melodic-asus-description_0.1.0.orig.tar.gz 20:21:57 dpkg-source: info: unpacking ros-melodic-asus-description_0.1.0-1bionic.debian.tar.xz 20:21:57 Package maintainer emails: mfernandezcarmona@lincoln.ac.uk 20:21:57 # END SUBSECTION
11.2. append build timestamp

Hide Details

20:21:57 # BEGIN SUBSECTION: append build timestamp 20:21:57 Invoking 'debchange -v 0.1.0-1bionic.20200402.192157 -p -D bionic -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:21:57 # END SUBSECTION
20:22:00 Looking for the '.dsc' file of package 'ros-melodic-asus-description' with version '0.1.0-1' 20:22:02 Using the following distribution repositories: 20:22:02 http://10.210.9.154/ubuntu/building (/tmp/keys/0.key) 20:22:02 http://packages.ros.org/ros/ubuntu (/tmp/keys/1.key) 20:22:02 Generating Dockerfile '/tmp/docker_build_binarydeb/Dockerfile': 20:22:02 # generated from release/binarydeb_task.Dockerfile.em 20:22:02 20:22:02 20:22:02 FROM ubuntu:bionic 20:22:02 20:22:02 VOLUME ["/var/cache/apt/archives"] 20:22:02 20:22:02 ENV DEBIAN_FRONTEND noninteractive 20:22:02 20:22:02 20:22:02 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:22:02 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 20:22:02 RUN locale-gen en_US.UTF-8 20:22:02 ENV LANG en_US.UTF-8 20:22:02 ENV TZ GMT+00 20:22:02 20:22:02 RUN useradd -u 1002 -l -m buildfarm 20:22:02 20:22:02 RUN mkdir /tmp/keys 20:22:02 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:22:02 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/9epzt1p3C++vK7RSsBDXfKzZN22apIUT0njOkL9Vuoy\nJjFetmLDaZVbmFU+4ZaX3CFtBL3ewlFiT7G6StKj40JI8QJOlDOziX2OUsqZaI2T\nYh681980od3f2OfV3LPVroz7xnyECDfBaPBPaDdb8XWSNVLhuyglb15eewK0hj++\nCut3swWH02Y3yVhzFBnosqqjyzPLBQeDMOoHAPpJHRgprfIRDoUkWAXO5re3GIUQ\ncvk0d1I1jh3luQENBFPzE4sBCACmSxiM1vpPI7BpgUNAhu0B8SWptULpiYOnDHfM\nhU1u95Z5Lu/hy3sfm4BEKgLju7Y1I3jToWTwJJzgWZRr+iuuwj3fbfHCISYIK7f3\nIWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm\nZ4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK\n7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/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 20:22:02 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA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ZXO\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 20:22:02 RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:22:02 RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:22:02 20:22:02 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/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) 20:22:02 20:22:02 RUN mkdir /tmp/wrapper_scripts 20:22:02 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 20:22:02 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 20:22:02 20:22:02 # automatic invalidation once every day 20:22:02 RUN echo "2020-04-02 (+0000)" 20:22:02 20:22:02 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:22:02 20:22:02 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python 20:22:02 20:22:02 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential 20:22:02 20:22:02 20:22:02 # for each dependency: echo version, apt update, apt install, apt clean 20:22:02 RUN echo "apt-src: 0.25.2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src 20:22:02 RUN echo "debhelper: 12.1.1ubuntu1~ubuntu18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper 20:22:02 RUN echo "ros-melodic-catkin: 0.7.23-1bionic.20200303.045725" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin 20:22:02 20:22:02 20:22:02 USER buildfarm 20:22:02 ENTRYPOINT ["sh", "-c"] 20:22:02 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic asus_description --sourcedeb-dir /tmp/binarydeb"] 20:22:02 Mount the following volumes when running the container: 20:22:02 -v /tmp/ros_buildfarm:/tmp/ros_buildfarm:ro 20:22:02 -v /tmp/binarydeb:/tmp/binarydeb 20:22:03 + echo # END SECTION 20:22:03 # END SECTION
20:22:03 [Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins2996651932093384986.sh 20:22:03 + sleep 1 20:22:03 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 5979 --cid-file /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_build_binarydeb/docker.cid 20:22:04 + echo # BEGIN SECTION: Build Dockerfile - build binarydeb
12. Build Dockerfile - build binarydeb

Hide Details

20:22:04 # BEGIN SECTION: Build Dockerfile - build binarydeb 20:22:04 + cd /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_build_binarydeb 20:22:04 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 20:22:04 Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic 20:22:04 Check docker base image for updates: docker pull ubuntu:bionic 20:22:06 bionic: Pulling from library/ubuntu 20:22:07 Digest: sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 20:22:07 Status: Image is up to date for ubuntu:bionic 20:22:07 + docker build --force-rm -t binarydeb_build.melodic_ubuntu_bionic_amd64_asus_description . 20:22:07 Sending build context to Docker daemon 20.48kB 20:22:07 Step 1/29 : FROM ubuntu:bionic 20:22:07 ---> 4e5021d210f6 20:22:07 Step 2/29 : VOLUME /var/cache/apt/archives 20:22:07 ---> Using cache 20:22:07 ---> df7c84159595 20:22:07 Step 3/29 : ENV DEBIAN_FRONTEND noninteractive 20:22:07 ---> Using cache 20:22:07 ---> 59b0c94a00fe 20:22:07 Step 4/29 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:22:07 ---> Using cache 20:22:07 ---> c27f478e278a 20:22:07 Step 5/29 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 20:22:07 ---> Using cache 20:22:07 ---> caf2d8a00919 20:22:07 Step 6/29 : RUN locale-gen en_US.UTF-8 20:22:07 ---> Using cache 20:22:07 ---> f0ee70252c6d 20:22:07 Step 7/29 : ENV LANG en_US.UTF-8 20:22:07 ---> Using cache 20:22:07 ---> e5a97b0611bb 20:22:07 Step 8/29 : ENV TZ GMT+00 20:22:07 ---> Using cache 20:22:07 ---> 5c14d75cad4c 20:22:07 Step 9/29 : RUN useradd -u 1002 -l -m buildfarm 20:22:07 ---> Using cache 20:22:07 ---> c8fbf7adaa18 20:22:07 Step 10/29 : RUN mkdir /tmp/keys 20:22:07 ---> Using cache 20:22:07 ---> 1849328c7675 20:22:07 Step 11/29 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:22:07 ---> Using cache 20:22:07 ---> 6e6ab279d32b 20:22:07 Step 12/29 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijK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GU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\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 20:22:07 ---> Using cache 20:22:07 ---> e3dd9cf3da06 20:22:07 Step 13/29 : 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+8oRgFr9yVcwyOFT6JCio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apt-key add /tmp/keys/1.key 20:22:07 ---> Using cache 20:22:07 ---> 70778070df25 20:22:07 Step 14/29 : RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:22:07 ---> Using cache 20:22:07 ---> ab533b0a05e7 20:22:07 Step 15/29 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:22:07 ---> Using cache 20:22:07 ---> aa21e6326d50 20:22:07 Step 16/29 : 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/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) 20:22:07 ---> Using cache 20:22:07 ---> e5955f4e488d 20:22:07 Step 17/29 : RUN mkdir /tmp/wrapper_scripts 20:22:07 ---> Using cache 20:22:07 ---> d0013f0e1344 20:22:07 Step 18/29 : 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 20:22:07 ---> Using cache 20:22:07 ---> 2c6b2bcc562c 20:22:07 Step 19/29 : 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 20:22:07 ---> Using cache 20:22:07 ---> e33f3366ad44 20:22:07 Step 20/29 : RUN echo "2020-04-02 (+0000)" 20:22:07 ---> Using cache 20:22:07 ---> 05973544ca2d 20:22:07 Step 21/29 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 20:22:07 ---> Using cache 20:22:07 ---> 48f09b3d90a9 20:22:07 Step 22/29 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python 20:22:07 ---> Using cache 20:22:07 ---> b3a4f5a6fef7 20:22:07 Step 23/29 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential 20:22:07 ---> Using cache 20:22:07 ---> ad8c24c18f56 20:22:07 Step 24/29 : RUN echo "apt-src: 0.25.2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src 20:22:07 ---> Using cache 20:22:07 ---> f54c86f3e207 20:22:07 Step 25/29 : RUN echo "debhelper: 12.1.1ubuntu1~ubuntu18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper 20:22:07 ---> Using cache 20:22:07 ---> 589cbb93ed22 20:22:07 Step 26/29 : RUN echo "ros-melodic-catkin: 0.7.23-1bionic.20200303.045725" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin 20:22:07 ---> Using cache 20:22:07 ---> f454c57c3082 20:22:07 Step 27/29 : USER buildfarm 20:22:07 ---> Using cache 20:22:07 ---> ba95dd38e702 20:22:07 Step 28/29 : ENTRYPOINT sh -c 20:22:07 ---> Using cache 20:22:07 ---> ca0b3184dc3c 20:22:07 Step 29/29 : CMD PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic asus_description --sourcedeb-dir /tmp/binarydeb 20:22:07 ---> Running in 0de09e125ec0 20:22:07 ---> e429303b1bb4 20:22:07 Removing intermediate container 0de09e125ec0 20:22:07 Successfully built e429303b1bb4 20:22:07 Successfully tagged binarydeb_build.melodic_ubuntu_bionic_amd64_asus_description:latest 20:22:07 + echo # END SECTION 20:22:07 # END SECTION
20:22:07 + echo # BEGIN SECTION: Run Dockerfile - build binarydeb
13. Run Dockerfile - build binarydeb

Hide Details

20:22:07 # BEGIN SECTION: Run Dockerfile - build binarydeb 20:22:07 + docker run --rm --cidfile=/home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/docker_build_binarydeb/docker.cid -e=HOME= -e=TRAVIS= --net=host -v /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache binarydeb_build.melodic_ubuntu_bionic_amd64_asus_description
13.1. build binarydeb

Hide Details

20:22:08 # BEGIN SUBSECTION: build binarydeb 20:22:08 Package 'ros-melodic-asus-description' version: 0.1.0-1bionic.20200402.192157 20:22:11 Invoking 'apt-src build ros-melodic-asus-description' in '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:13 I: Building in /tmp/binarydeb/ros-melodic-asus-description-0.1.0 .. 20:22:13 dpkg-buildpackage: info: source package ros-melodic-asus-description 20:22:13 dpkg-buildpackage: info: source version 0.1.0-1bionic.20200402.192157 20:22:13 dpkg-buildpackage: info: source distribution bionic 20:22:13 dpkg-buildpackage: info: source changed by Manuel Fernandez <mfernandezcarmona@lincoln.ac.uk> 20:22:13 dpkg-source --before-build ros-melodic-asus-description-0.1.0 20:22:13 dpkg-buildpackage: info: host architecture amd64 20:22:13 dpkg-source: info: using options from ros-melodic-asus-description-0.1.0/debian/source/options: --auto-commit 20:22:13 fakeroot debian/rules clean 20:22:14 dh clean -v --buildsystem=cmake 20:22:14 dh_testdir -O-v -O--buildsystem=cmake 20:22:14 dh_auto_clean -O-v -O--buildsystem=cmake 20:22:14 dh_clean -O-v -O--buildsystem=cmake 20:22:14 rm -f debian/debhelper-build-stamp 20:22:14 rm -rf debian/.debhelper/ 20:22:14 rm -f -- debian/ros-melodic-asus-description.substvars debian/files 20:22:14 rm -fr -- debian/ros-melodic-asus-description/ debian/tmp/ 20:22:14 find . \( \( \ 20:22:14 \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ 20:22:14 \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ 20:22:14 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ 20:22:14 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ 20:22:14 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ 20:22:14 \) -exec rm -f {} + \) -o \ 20:22:14 \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) 20:22:14 debian/rules build 20:22:14 dh build -v --buildsystem=cmake 20:22:14 dh_testdir -O-v -O--buildsystem=cmake 20:22:14 dh_update_autotools_config -O-v -O--buildsystem=cmake 20:22:14 debian/rules override_dh_auto_configure 20:22:14 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:14 # In case we're installing to a non-standard location, look for a setup.sh 20:22:14 # in the install tree that was dropped by catkin, and source it. It will 20:22:14 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:22:14 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:22:14 dh_auto_configure -- \ 20:22:14 -DCATKIN_BUILD_BINARY_PACKAGE="1" \ 20:22:14 -DCMAKE_INSTALL_PREFIX="/opt/ros/melodic" \ 20:22:14 -DCMAKE_PREFIX_PATH="/opt/ros/melodic" 20:22:14 install -d obj-x86_64-linux-gnu 20:22:14 cd obj-x86_64-linux-gnu && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCATKIN_BUILD_BINARY_PACKAGE=1 -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic -DCMAKE_PREFIX_PATH=/opt/ros/melodic 20:22:15 -- The C compiler identification is GNU 7.5.0 20:22:15 -- The CXX compiler identification is GNU 7.5.0 20:22:15 -- Check for working C compiler: /usr/bin/cc 20:22:15 -- Check for working C compiler: /usr/bin/cc -- works 20:22:15 -- Detecting C compiler ABI info 20:22:15 -- Detecting C compiler ABI info - done 20:22:15 -- Detecting C compile features 20:22:16 -- Detecting C compile features - done 20:22:16 -- Check for working CXX compiler: /usr/bin/c++ 20:22:16 -- Check for working CXX compiler: /usr/bin/c++ -- works 20:22:16 -- Detecting CXX compiler ABI info 20:22:16 -- Detecting CXX compiler ABI info - done 20:22:16 -- Detecting CXX compile features 20:22:17 -- Detecting CXX compile features - done 20:22:17 -- Using CATKIN_DEVEL_PREFIX: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu/devel 20:22:17 -- Using CMAKE_PREFIX_PATH: /opt/ros/melodic 20:22:17 -- This workspace overlays: /opt/ros/melodic 20:22:17 -- Found PythonInterp: /usr/bin/python (found version "2.7.17") 20:22:17 -- Using PYTHON_EXECUTABLE: /usr/bin/python 20:22:17 -- Using Debian Python package layout 20:22:17 -- Using empy: /usr/bin/empy 20:22:17 -- Using CATKIN_ENABLE_TESTING: ON 20:22:17 -- Skip enable_testing() when building binary package 20:22:17 -- Using CATKIN_TEST_RESULTS_DIR: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu/test_results 20:22:17 -- Found gtest sources under '/usr/src/googletest': gtests will be built 20:22:17 -- Found gmock sources under '/usr/src/googletest': gmock will be built 20:22:17 -- Looking for pthread.h 20:22:17 -- Looking for pthread.h - found 20:22:17 -- Looking for pthread_create 20:22:17 -- Looking for pthread_create - not found 20:22:17 -- Looking for pthread_create in pthreads 20:22:18 -- Looking for pthread_create in pthreads - not found 20:22:18 -- Looking for pthread_create in pthread 20:22:18 -- Looking for pthread_create in pthread - found 20:22:18 -- Found Threads: TRUE 20:22:18 -- Using Python nosetests: /usr/bin/nosetests-2.7 20:22:18 -- catkin 0.7.23 20:22:18 -- BUILD_SHARED_LIBS is on 20:22:18 -- Configuring done 20:22:18 -- Generating done 20:22:18 CMake Warning: 20:22:18 Manually-specified variables were not used by the project: 20:22:18 20:22:18 CMAKE_EXPORT_NO_PACKAGE_REGISTRY 20:22:18 CMAKE_INSTALL_LOCALSTATEDIR 20:22:18 CMAKE_INSTALL_SYSCONFDIR 20:22:18 20:22:18 20:22:18 -- Build files have been written to: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu 20:22:18 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:18 debian/rules override_dh_auto_build 20:22:18 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:18 # In case we're installing to a non-standard location, look for a setup.sh 20:22:18 # in the install tree that was dropped by catkin, and source it. It will 20:22:18 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:22:18 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:22:18 dh_auto_build 20:22:18 cd obj-x86_64-linux-gnu && make -j1 20:22:18 make[2]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:18 /usr/bin/cmake -H/tmp/binarydeb/ros-melodic-asus-description-0.1.0 -B/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 20:22:18 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu/CMakeFiles/progress.marks 20:22:18 make -f CMakeFiles/Makefile2 all 20:22:18 make[3]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:18 make[3]: Nothing to be done for 'all'. 20:22:18 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:18 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu/CMakeFiles 0 20:22:18 make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:18 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:18 debian/rules override_dh_auto_test 20:22:18 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:18 # In case we're installing to a non-standard location, look for a setup.sh 20:22:18 # in the install tree that was dropped by catkin, and source it. It will 20:22:18 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:22:18 echo -- Running tests. Even if one of them fails the build is not canceled. 20:22:18 -- Running tests. Even if one of them fails the build is not canceled. 20:22:18 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:22:18 dh_auto_test || true 20:22:19 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:19 fakeroot debian/rules binary 20:22:19 dh binary -v --buildsystem=cmake 20:22:19 dh_testroot -O-v -O--buildsystem=cmake 20:22:19 dh_prep -O-v -O--buildsystem=cmake 20:22:19 rm -f -- debian/ros-melodic-asus-description.substvars 20:22:19 rm -fr -- debian/.debhelper/generated/ros-melodic-asus-description/ debian/ros-melodic-asus-description/ debian/tmp/ 20:22:19 dh_installdirs -O-v -O--buildsystem=cmake 20:22:19 install -d debian/ros-melodic-asus-description 20:22:19 debian/rules override_dh_auto_install 20:22:19 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:19 # In case we're installing to a non-standard location, look for a setup.sh 20:22:19 # in the install tree that was dropped by catkin, and source it. It will 20:22:19 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:22:19 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:22:19 dh_auto_install 20:22:19 cd obj-x86_64-linux-gnu && make -j1 install DESTDIR=/tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description AM_UPDATE_INFO_DIR=no 20:22:19 make[2]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:19 /usr/bin/cmake -H/tmp/binarydeb/ros-melodic-asus-description-0.1.0 -B/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 20:22:19 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu/CMakeFiles/progress.marks 20:22:19 make -f CMakeFiles/Makefile2 all 20:22:19 make[3]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:19 make[3]: Nothing to be done for 'all'. 20:22:19 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:19 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu/CMakeFiles 0 20:22:20 make -f CMakeFiles/Makefile2 preinstall 20:22:20 make[3]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:20 make[3]: Nothing to be done for 'preinstall'. 20:22:20 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:20 Install the project... 20:22:20 /usr/bin/cmake -P cmake_install.cmake 20:22:20 -- Install configuration: "None" 20:22:20 -- Installing: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description/opt/ros/melodic/lib/pkgconfig/asus_description.pc 20:22:20 -- Installing: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description/opt/ros/melodic/share/asus_description/cmake/asus_descriptionConfig.cmake 20:22:20 -- Installing: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description/opt/ros/melodic/share/asus_description/cmake/asus_descriptionConfig-version.cmake 20:22:20 -- Installing: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description/opt/ros/melodic/share/asus_description/package.xml 20:22:20 -- Installing: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description/opt/ros/melodic/share/asus_description/urdf 20:22:20 -- Installing: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description/opt/ros/melodic/share/asus_description/urdf/asus 20:22:20 -- Installing: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description/opt/ros/melodic/share/asus_description/urdf/asus/asus.xacro 20:22:20 -- Installing: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description/opt/ros/melodic/share/asus_description/urdf/asus/asus-no-gazebo.xacro 20:22:20 -- Installing: /tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description/opt/ros/melodic/share/asus_description/urdf/asus/asus-gazebo.xacro 20:22:20 make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu' 20:22:20 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:20 dh_install -O-v -O--buildsystem=cmake 20:22:20 install -d debian/.debhelper/generated/ros-melodic-asus-description 20:22:20 dh_installdocs -O-v -O--buildsystem=cmake 20:22:20 install -d debian/ros-melodic-asus-description/usr/share/doc/ros-melodic-asus-description 20:22:20 dh_installchangelogs -O-v -O--buildsystem=cmake 20:22:20 install -p -m0644 debian/changelog debian/ros-melodic-asus-description/usr/share/doc/ros-melodic-asus-description/changelog.Debian 20:22:20 dh_installexamples -O-v -O--buildsystem=cmake 20:22:20 dh_installman -O-v -O--buildsystem=cmake 20:22:20 dh_installcatalogs -O-v -O--buildsystem=cmake 20:22:20 dh_installcron -O-v -O--buildsystem=cmake 20:22:20 dh_installdebconf -O-v -O--buildsystem=cmake 20:22:20 install -d debian/ros-melodic-asus-description/DEBIAN 20:22:20 dh_installemacsen -O-v -O--buildsystem=cmake 20:22:20 dh_installifupdown -O-v -O--buildsystem=cmake 20:22:20 dh_installinfo -O-v -O--buildsystem=cmake 20:22:20 dh_installinit -O-v -O--buildsystem=cmake 20:22:21 dh_installmenu -O-v -O--buildsystem=cmake 20:22:21 dh_installmime -O-v -O--buildsystem=cmake 20:22:21 dh_installmodules -O-v -O--buildsystem=cmake 20:22:21 dh_installlogcheck -O-v -O--buildsystem=cmake 20:22:21 dh_installlogrotate -O-v -O--buildsystem=cmake 20:22:21 dh_installpam -O-v -O--buildsystem=cmake 20:22:21 dh_installppp -O-v -O--buildsystem=cmake 20:22:21 dh_installudev -O-v -O--buildsystem=cmake 20:22:21 dh_installgsettings -O-v -O--buildsystem=cmake 20:22:21 dh_bugfiles -O-v -O--buildsystem=cmake 20:22:21 dh_ucf -O-v -O--buildsystem=cmake 20:22:21 dh_lintian -O-v -O--buildsystem=cmake 20:22:21 dh_gconf -O-v -O--buildsystem=cmake 20:22:21 dh_icons -O-v -O--buildsystem=cmake 20:22:21 dh_perl -O-v -O--buildsystem=cmake 20:22:21 dh_usrlocal -O-v -O--buildsystem=cmake 20:22:21 dh_link -O-v -O--buildsystem=cmake 20:22:22 dh_installwm -O-v -O--buildsystem=cmake 20:22:22 dh_installxfonts -O-v -O--buildsystem=cmake 20:22:22 dh_strip_nondeterminism -O-v -O--buildsystem=cmake 20:22:22 dh_compress -O-v -O--buildsystem=cmake 20:22:22 cd debian/ros-melodic-asus-description 20:22:22 chmod a-x usr/share/doc/ros-melodic-asus-description/changelog.Debian 20:22:22 gzip -9nf usr/share/doc/ros-melodic-asus-description/changelog.Debian 20:22:22 cd '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:22 dh_fixperms -O-v -O--buildsystem=cmake 20:22:22 find debian/ros-melodic-asus-description -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 20:22:22 find debian/ros-melodic-asus-description ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s 20:22:22 find debian/ros-melodic-asus-description/usr/share/doc -type f -a -true -a ! -regex 'debian/ros-melodic-asus-description/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 20:22:22 find debian/ros-melodic-asus-description/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 20:22:22 find debian/ros-melodic-asus-description -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 20:22:22 dh_missing -O-v -O--buildsystem=cmake 20:22:22 dh_strip -O-v -O--buildsystem=cmake 20:22:22 dh_makeshlibs -O-v -O--buildsystem=cmake 20:22:22 rm -f debian/ros-melodic-asus-description/DEBIAN/shlibs 20:22:22 debian/rules override_dh_shlibdeps 20:22:22 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:22 # In case we're installing to a non-standard location, look for a setup.sh 20:22:22 # in the install tree that was dropped by catkin, and source it. It will 20:22:22 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:22:22 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:22:22 dh_shlibdeps -l/tmp/binarydeb/ros-melodic-asus-description-0.1.0/debian/ros-melodic-asus-description//opt/ros/melodic/lib/ 20:22:22 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-asus-description-0.1.0' 20:22:22 dh_installdeb -O-v -O--buildsystem=cmake 20:22:22 dh_gencontrol -O-v -O--buildsystem=cmake 20:22:22 echo misc:Depends= >> debian/ros-melodic-asus-description.substvars 20:22:22 echo misc:Pre-Depends= >> debian/ros-melodic-asus-description.substvars 20:22:22 dpkg-gencontrol -pros-melodic-asus-description -ldebian/changelog -Tdebian/ros-melodic-asus-description.substvars -Pdebian/ros-melodic-asus-description -UMulti-Arch 20:22:23 dpkg-gencontrol: warning: Depends field of package ros-melodic-asus-description: unknown substitution variable ${shlibs:Depends} 20:22:23 chmod 0644 -- debian/ros-melodic-asus-description/DEBIAN/control 20:22:23 chown 0:0 -- debian/ros-melodic-asus-description/DEBIAN/control 20:22:23 dh_md5sums -O-v -O--buildsystem=cmake 20:22:23 (cd debian/ros-melodic-asus-description >/dev/null ; find . -type f ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums) >/dev/null 20:22:23 chmod 0644 -- debian/ros-melodic-asus-description/DEBIAN/md5sums 20:22:23 chown 0:0 -- debian/ros-melodic-asus-description/DEBIAN/md5sums 20:22:23 dh_builddeb -O-v -O--buildsystem=cmake 20:22:23 dpkg-deb --build debian/ros-melodic-asus-description .. 20:22:23 dpkg-deb: building package 'ros-melodic-asus-description' in '../ros-melodic-asus-description_0.1.0-1bionic.20200402.192157_amd64.deb'. 20:22:23 dpkg-genbuildinfo --build=binary 20:22:23 dpkg-genchanges --build=binary >../ros-melodic-asus-description_0.1.0-1bionic.20200402.192157_amd64.changes 20:22:23 dpkg-genchanges: info: binary-only upload (no source code included) 20:22:23 dpkg-source --after-build ros-melodic-asus-description-0.1.0 20:22:23 dpkg-source: info: using options from ros-melodic-asus-description-0.1.0/debian/source/options: --auto-commit 20:22:24 dpkg-buildpackage: info: binary-only upload (no source included) 20:22:24 I: Successfully built in /tmp/binarydeb/ros-melodic-asus-description-0.1.0 20:22:24 # END SUBSECTION
20:22:24 + echo # END SECTION 20:22:24 # END SECTION
20:22:24 [Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins4592411167118498370.sh 20:22:24 + [ false = false ] 20:22:24 + echo # BEGIN SECTION: Clean up to save disk space on agents
14. Clean up to save disk space on agents

Hide Details

20:22:24 # BEGIN SECTION: Clean up to save disk space on agents 20:22:24 + chmod -R u+w /home/jenkins-slave/workspace/Mbin_uB64__asus_description__ubuntu_bionic_amd64__binary/binarydeb 20:22:24 + rm -fr binarydeb/ros-melodic-asus-description-0.1.0/CHANGELOG.rst binarydeb/ros-melodic-asus-description-0.1.0/CMakeLists.txt binarydeb/ros-melodic-asus-description-0.1.0/debian binarydeb/ros-melodic-asus-description-0.1.0/meshes binarydeb/ros-melodic-asus-description-0.1.0/obj-x86_64-linux-gnu binarydeb/ros-melodic-asus-description-0.1.0/package.xml binarydeb/ros-melodic-asus-description-0.1.0/urdf 20:22:24 + echo # END SECTION 20:22:24 # END SECTION
20:22:24 SSH: Connecting from host [lcas-buildfarm-slave-1] 20:22:24 SSH: Connecting with configuration [repo] ... 20:22:25 SSH: Disconnecting configuration [repo] ... 20:22:25 SSH: Transferred 2 file(s) 20:22:25 Build step 'Send files or execute commands over SSH' changed build result to SUCCESS 20:22:25 Waiting for the completion of Mrel_import-package 20:22:25 Mrel_import-package #355 started. 20:22:35 Mrel_import-package #355 completed. Result was SUCCESS 20:22:35 $ ssh-agent -k 20:22:35 unset SSH_AUTH_SOCK; 20:22:35 unset SSH_AGENT_PID; 20:22:35 echo Agent pid 4935 killed; 20:22:35 [ssh-agent] Stopped. 20:22:35 [description-setter] Description set: 0.1.0-1bionic.20200402.192157 20:22:35 Triggering a new build of Mrel_sync-packages-to-testing_bionic_amd64 20:22:35 Finished: SUCCESS