SuccessConsole Output

20:48:25 Started by upstream project "Msrc_uB__image_to_v4l2loopback__ubuntu_bionic__source" build number 2
20:48:25 originally caused by:
20:48:25  Started by upstream project "Mrel_trigger-jobs" build number 14028
20:48:25  originally caused by:
20:48:25   Started by timer
20:48:25 Running as SYSTEM
20:48:25 Building remotely on build client 2 (slave buildslave indigo_devel_default buildagent) in workspace /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary
20:48:25 [ssh-agent] Looking for ssh-agent implementation...
20:48:25 [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
20:48:25 $ ssh-agent
20:48:25 SSH_AUTH_SOCK=/tmp/ssh-9aqFLcQI2vii/agent.15064
20:48:25 SSH_AGENT_PID=15066
20:48:25 [ssh-agent] Started.
20:48:25 Running ssh-add (command line suppressed)
20:48:25 Identity added: /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary@tmp/private_key_4716967535181020596.key (/home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary@tmp/private_key_4716967535181020596.key)
20:48:25 [ssh-agent] Using credentials jenkins-slave
20:48:25 
1. Check upstream projects

Hide Details

20:48:25 # BEGIN SECTION: Check upstream projects 20:48:25 Verify that no recursive upstream project is broken: 20:48:25 20:48:25 - 'Msrc_uB__image_to_v4l2loopback__ubuntu_bionic__source' build '2' has result 'SUCCESS' 20:48:25 All recursive upstream projects are (un)stable 20:48:25 # END SECTION
20:48:25
2. Check free disk space

Hide Details

20:48:25 # BEGIN SECTION: Check free disk space 20:48:25 Usable disk space = 88965017600 bytes 20:48:25 Free space threshold = 5368709120 bytes 20:48:25 # END SECTION
20:48:25 [Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins7974348211088080910.sh 20:48:26 + echo # BEGIN SECTION: docker version
3. docker version

Hide Details

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

Hide Details

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

Hide Details

20:48:27 # BEGIN SECTION: Check docker status 20:48:27 + echo Testing trivial docker invocation... 20:48:27 Testing trivial docker invocation... 20:48:27 + docker run --rm ubuntu:bionic true 20:48:28 + echo 'docker run' returned 0 20:48:28 'docker run' returned 0 20:48:28 docker seems operational, continuing 20:48:28 [Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins4495387580547028986.sh 20:48:28 + echo # END SECTION 20:48:28 # END SECTION
20:48:29 [Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins6128148458793026284.sh 20:48:29 + echo # BEGIN SECTION: Embed wrapper scripts
6. Embed wrapper scripts

Hide Details

20:48:29 # BEGIN SECTION: Embed wrapper scripts 20:48:29 + rm -fr wrapper_scripts 20:48:29 + mkdir wrapper_scripts 20:48:29 + 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:48:29 + echo # END SECTION 20:48:29 # END SECTION
20:48:29 [Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins6144390629790071569.sh 20:48:29 + echo # BEGIN SECTION: Clone ros_buildfarm
7. Clone ros_buildfarm

Hide Details

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

Hide Details

20:48:31 # BEGIN SECTION: Write PGP repository keys 20:48:31 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/keys 20:48:31 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/keys/1.key 20:48:31 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 20:48:31 Version: GnuPG v1.4.11 (GNU/Linux) 20:48:31 20:48:31 mQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn 20:48:31 MsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf 20:48:31 xcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw 20:48:31 kPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv 20:48:31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PzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U 20:48:31 NTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0 20:48:31 ikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU 20:48:31 M7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N 20:48:31 l9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ 20:48:31 Chb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ== 20:48:31 =nFcN 20:48:31 -----END PGP PUBLIC KEY BLOCK----- 20:48:31 20:48:31 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 20:48:31 Version: SKS 1.1.6 20:48:31 Comment: Hostname: keyserver.ubuntu.com 20:48:31 20:48:31 mQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L 20:48:31 /HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw 20:48:31 DuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47 20:48:31 ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+ 20:48:31 d+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS 20:48:31 6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN 20:48:31 qoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFk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20:48:31 hE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp 20:48:31 PWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd 20:48:31 =4Ofr 20:48:31 -----END PGP PUBLIC KEY BLOCK----- 20:48:31 20:48:31 + echo # END SECTION 20:48:31 # END SECTION
20:48:31 [Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins6892622028411483758.sh 20:48:31 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_generating_docker 20:48:31 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_generating_docker 20:48:31 + sleep 1 20:48:31 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 15230 --cid-file /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_generating_docker/docker.cid 20:48:32 + echo # BEGIN SECTION: Generate Dockerfile - binarydeb task
9. Generate Dockerfile - binarydeb task

Hide Details

20:48:32 # BEGIN SECTION: Generate Dockerfile - binarydeb task 20:48:32 + export TZ=GMT+00 20:48:32 + export PYTHONPATH=/home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/ros_buildfarm: 20:48:32 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__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 image_to_v4l2loopback 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__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/keys/1.key --target-repository http://10.210.9.154/ubuntu/building --binarydeb-dir /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/binarydeb --dockerfile-dir /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_generating_docker --env-vars --append-timestamp 20:48:32 Using the following distribution repositories: 20:48:32 http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/keys/0.key) 20:48:32 http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/keys/1.key) 20:48:32 Generating Dockerfile '/home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_generating_docker/Dockerfile': 20:48:32 # generated from release/binarydeb_create_task.Dockerfile.em 20:48:32 20:48:32 FROM ubuntu:bionic 20:48:32 20:48:32 VOLUME ["/var/cache/apt/archives"] 20:48:32 20:48:32 ENV DEBIAN_FRONTEND noninteractive 20:48:32 20:48:32 20:48:32 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:48:32 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 20:48:32 RUN locale-gen en_US.UTF-8 20:48:32 ENV LANG en_US.UTF-8 20:48:32 ENV TZ GMT+00 20:48:32 20:48:32 20:48:32 RUN useradd -u 1002 -l -m buildfarm 20:48:32 20:48:32 RUN mkdir /tmp/keys 20:48:32 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:48:32 RUN ech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Jmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm\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:48:32 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+\nd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x0j5UtkUbRfp/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:48:32 RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:48:32 RUN echo deb-src http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:48:32 RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:48:32 20:48:32 RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && ((grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? 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:48:32 20:48:32 RUN mkdir /tmp/wrapper_scripts 20:48:32 RUN echo "#!/usr/bin/env python3\n\n# Copyright 2014-2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Failed to fetch',\n 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n 'corrupted package archive',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py 20:48:32 RUN echo "#!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/git.py 20:48:32 20:48:32 # automatic invalidation once every day 20:48:32 RUN echo "2020-04-02 (+0000)" 20:48:32 20:48:32 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:48:32 20:48:32 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y devscripts dpkg-dev python3-apt python3-catkin-pkg-modules python3-empy python3-rosdistro-modules python3-yaml 20:48:32 20:48:32 # always invalidate to actually have the latest apt repo state 20:48:32 RUN echo "2020-04-02 19:48:32 +0000" 20:48:32 RUN python3 -u /tmp/wrapper_scripts/apt.py update 20:48:32 20:48:32 USER buildfarm 20:48:32 ENTRYPOINT ["sh", "-c"] 20:48:32 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/get_sourcedeb.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml melodic image_to_v4l2loopback --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic image_to_v4l2loopback --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 image_to_v4l2loopback 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:48:32 + echo # END SECTION 20:48:32 # END SECTION
20:48:32 + echo # BEGIN SECTION: Build Dockerfile - binarydeb task
10. Build Dockerfile - binarydeb task

Hide Details

20:48:32 # BEGIN SECTION: Build Dockerfile - binarydeb task 20:48:32 + cd /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_generating_docker 20:48:32 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 20:48:32 Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic 20:48:32 Check docker base image for updates: docker pull ubuntu:bionic 20:48:34 bionic: Pulling from library/ubuntu 20:48:34 Digest: sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 20:48:34 Status: Image is up to date for ubuntu:bionic 20:48:34 + docker build --force-rm -t binarydeb_task_generation.melodic_ubuntu_bionic_amd64_image_to_v4l2loopback . 20:48:34 Sending build context to Docker daemon 20.99kB 20:48:34 Step 1/28 : FROM ubuntu:bionic 20:48:34 ---> 4e5021d210f6 20:48:34 Step 2/28 : VOLUME /var/cache/apt/archives 20:48:34 ---> Using cache 20:48:34 ---> df7c84159595 20:48:34 Step 3/28 : ENV DEBIAN_FRONTEND noninteractive 20:48:34 ---> Using cache 20:48:34 ---> 59b0c94a00fe 20:48:34 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:48:34 ---> Using cache 20:48:34 ---> c27f478e278a 20:48:34 Step 5/28 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 20:48:34 ---> Using cache 20:48:34 ---> caf2d8a00919 20:48:34 Step 6/28 : RUN locale-gen en_US.UTF-8 20:48:34 ---> Using cache 20:48:34 ---> f0ee70252c6d 20:48:34 Step 7/28 : ENV LANG en_US.UTF-8 20:48:34 ---> Using cache 20:48:34 ---> e5a97b0611bb 20:48:34 Step 8/28 : ENV TZ GMT+00 20:48:34 ---> Using cache 20:48:34 ---> 5c14d75cad4c 20:48:34 Step 9/28 : RUN useradd -u 1002 -l -m buildfarm 20:48:34 ---> Using cache 20:48:34 ---> c8fbf7adaa18 20:48:34 Step 10/28 : RUN mkdir /tmp/keys 20:48:34 ---> Using cache 20:48:34 ---> 1849328c7675 20:48:34 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:48:34 ---> Using cache 20:48:34 ---> 6e6ab279d32b 20:48:34 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\nyQdVwliJMLwVihKz0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PiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 20:48:34 ---> Using cache 20:48:34 ---> e3dd9cf3da06 20:48:34 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:48:34 ---> Using cache 20:48:34 ---> 70778070df25 20:48:34 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:48:34 ---> Using cache 20:48:34 ---> ab533b0a05e7 20:48:34 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:48:34 ---> Using cache 20:48:34 ---> c584c4cf3907 20:48:34 Step 16/28 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:48:34 ---> Using cache 20:48:34 ---> 4a008753a19d 20:48:34 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:48:35 ---> Using cache 20:48:35 ---> 6f42f8c67c08 20:48:35 Step 18/28 : RUN mkdir /tmp/wrapper_scripts 20:48:35 ---> Using cache 20:48:35 ---> b0a9fb43c0c7 20:48:35 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:48:35 ---> Using cache 20:48:35 ---> d5ccfb3d5af1 20:48:35 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:48:35 ---> Using cache 20:48:35 ---> 05caf15d6d16 20:48:35 Step 21/28 : RUN echo "2020-04-02 (+0000)" 20:48:35 ---> Using cache 20:48:35 ---> a265111f856b 20:48:35 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:48:35 ---> Using cache 20:48:35 ---> 0332d6b52d4c 20:48:35 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:48:35 ---> Using cache 20:48:35 ---> 58b843953f07 20:48:35 Step 24/28 : RUN echo "2020-04-02 19:48:32 +0000" 20:48:35 ---> Running in d2b46aea31a2 20:48:35 2020-04-02 19:48:32 +0000 20:48:38 ---> b5d6c403757c 20:48:39 Removing intermediate container d2b46aea31a2 20:48:39 Step 25/28 : RUN python3 -u /tmp/wrapper_scripts/apt.py update 20:48:39 ---> Running in 65fce301d144 20:48:40 Invoking 'apt-get update' 20:48:40 Get:1 http://10.210.9.154/ubuntu/building bionic InRelease [2,826 B] 20:48:40 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 20:48:40 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 20:48:40 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 20:48:40 Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 20:48:40 Hit:6 http://packages.ros.org/ros/ubuntu bionic InRelease 20:48:40 Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 20:48:40 Get:8 http://10.210.9.154/ubuntu/building bionic/main Sources [121 kB] 20:48:40 Get:9 http://10.210.9.154/ubuntu/building bionic/main amd64 Packages [148 kB] 20:48:41 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,367 kB] 20:48:41 Fetched 1,980 kB in 1s (1,345 kB/s) 20:48:43 Reading package lists... 20:48:45 ---> 0a47111990d1 20:48:45 Removing intermediate container 65fce301d144 20:48:45 Step 26/28 : USER buildfarm 20:48:45 ---> Running in 2bbf3a324a56 20:48:45 ---> 9c5e3512fb76 20:48:45 Removing intermediate container 2bbf3a324a56 20:48:45 Step 27/28 : ENTRYPOINT sh -c 20:48:45 ---> Running in b765c6ff9369 20:48:45 ---> 8e97536e7850 20:48:45 Removing intermediate container b765c6ff9369 20:48:45 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 image_to_v4l2loopback --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic image_to_v4l2loopback --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 image_to_v4l2loopback 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:48:45 ---> Running in 60f5aa879577 20:48:46 ---> d49e6ec08006 20:48:46 Removing intermediate container 60f5aa879577 20:48:46 Successfully built d49e6ec08006 20:48:46 Successfully tagged binarydeb_task_generation.melodic_ubuntu_bionic_amd64_image_to_v4l2loopback:latest 20:48:46 + echo # END SECTION 20:48:46 # END SECTION
20:48:46 + echo # BEGIN SECTION: Run Dockerfile - binarydeb task
11. Run Dockerfile - binarydeb task

Hide Details

20:48:46 # BEGIN SECTION: Run Dockerfile - binarydeb task 20:48:46 + [ -f /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/binarydeb ] 20:48:46 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/binarydeb 20:48:46 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_build_binarydeb 20:48:46 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/binarydeb 20:48:46 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_build_binarydeb 20:48:46 + docker run --rm --cidfile=/home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_generating_docker/docker.cid -e=TRAVIS= -e=ROS_BUILDFARM_PULL_REQUEST_BRANCH= -v /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__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_image_to_v4l2loopback
11.1. get sourcedeb

Hide Details

20:48:47 # BEGIN SUBSECTION: get sourcedeb 20:48:53 Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-melodic-image-to-v4l2loopback=0.1.2-1bionic' 20:48:54 Invoking 'apt-get source --download-only --only-source ros-melodic-image-to-v4l2loopback=0.1.2-1bionic' 20:48:54 Reading package lists... 20:48:54 Need to get 16.3 kB of source archives. 20:48:54 Get:1 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-image-to-v4l2loopback 0.1.2-1bionic (dsc) [1,267 B] 20:48:54 Get:2 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-image-to-v4l2loopback 0.1.2-1bionic (tar) [12.2 kB] 20:48:54 Get:3 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-image-to-v4l2loopback 0.1.2-1bionic (diff) [2,748 B] 20:48:54 Fetched 16.3 kB in 0s (1,281 kB/s) 20:48:54 Download complete and in download only mode 20:48:54 Invoking 'dpkg-source -x ros-melodic-image-to-v4l2loopback_0.1.2-1bionic.dsc' 20:48:55 dpkg-source: warning: extracting unsigned source package (ros-melodic-image-to-v4l2loopback_0.1.2-1bionic.dsc) 20:48:55 dpkg-source: info: extracting ros-melodic-image-to-v4l2loopback in ros-melodic-image-to-v4l2loopback-0.1.2 20:48:55 dpkg-source: info: unpacking ros-melodic-image-to-v4l2loopback_0.1.2.orig.tar.gz 20:48:55 dpkg-source: info: unpacking ros-melodic-image-to-v4l2loopback_0.1.2-1bionic.debian.tar.xz 20:48:55 Package maintainer emails: marc@hanheide.net 20:48:55 # END SUBSECTION
11.2. append build timestamp

Hide Details

20:48:55 # BEGIN SUBSECTION: append build timestamp 20:48:55 Invoking 'debchange -v 0.1.2-1bionic.20200402.194855 -p -D bionic -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:48:55 # END SUBSECTION
20:48:58 Looking for the '.dsc' file of package 'ros-melodic-image-to-v4l2loopback' with version '0.1.2-1' 20:49:00 Using the following distribution repositories: 20:49:00 http://10.210.9.154/ubuntu/building (/tmp/keys/0.key) 20:49:00 http://packages.ros.org/ros/ubuntu (/tmp/keys/1.key) 20:49:00 Generating Dockerfile '/tmp/docker_build_binarydeb/Dockerfile': 20:49:00 # generated from release/binarydeb_task.Dockerfile.em 20:49:00 20:49:00 20:49:00 FROM ubuntu:bionic 20:49:00 20:49:00 VOLUME ["/var/cache/apt/archives"] 20:49:00 20:49:00 ENV DEBIAN_FRONTEND noninteractive 20:49:00 20:49:00 20:49:00 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:49:00 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 20:49:00 RUN locale-gen en_US.UTF-8 20:49:00 ENV LANG en_US.UTF-8 20:49:00 ENV TZ GMT+00 20:49:00 20:49:00 RUN useradd -u 1002 -l -m buildfarm 20:49:00 20:49:00 RUN mkdir /tmp/keys 20:49:00 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:49:00 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC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rEy0kgBrDNb3++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:49:00 RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:49:00 RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:49:00 20:49:00 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:49:00 20:49:00 RUN mkdir /tmp/wrapper_scripts 20:49:00 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:49:00 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:49:00 20:49:00 # automatic invalidation once every day 20:49:00 RUN echo "2020-04-02 (+0000)" 20:49:00 20:49:00 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:49:00 20:49:00 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python 20:49:00 20:49:00 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential 20:49:00 20:49:00 20:49:00 # for each dependency: echo version, apt update, apt install, apt clean 20:49:00 # to prevent exceeding the docker layer limit several lines have been folded 20:49:00 RUN echo "apt-src: 0.25.2" && echo "debhelper: 12.1.1ubuntu1~ubuntu18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src debhelper 20:49:00 RUN echo "ros-melodic-catkin: 0.7.23-1bionic.20200303.045725" && echo "ros-melodic-cv-bridge: 1.13.0-0bionic.20200320.133849" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin ros-melodic-cv-bridge 20:49:00 RUN echo "ros-melodic-image-transport: 1.11.13-0bionic.20200320.130043" && echo "ros-melodic-roscpp: 1.14.5-1bionic.20200320.102657" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-image-transport ros-melodic-roscpp 20:49:00 RUN echo "ros-melodic-roslint: 0.11.2-0bionic.20200303.061944" && echo "ros-melodic-rostest: 1.14.5-1bionic.20200320.111356" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-roslint ros-melodic-rostest 20:49:00 RUN echo "ros-melodic-sensor-msgs: 1.12.7-0bionic.20200320.125228" && echo "ros-melodic-std-msgs: 0.5.12-0bionic.20200304.002412" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-sensor-msgs ros-melodic-std-msgs 20:49:00 20:49:00 20:49:00 USER buildfarm 20:49:00 ENTRYPOINT ["sh", "-c"] 20:49:00 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic image_to_v4l2loopback --sourcedeb-dir /tmp/binarydeb"] 20:49:00 Mount the following volumes when running the container: 20:49:00 -v /tmp/ros_buildfarm:/tmp/ros_buildfarm:ro 20:49:00 -v /tmp/binarydeb:/tmp/binarydeb 20:49:00 + echo # END SECTION 20:49:00 # END SECTION
20:49:01 [Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins8501770634506234655.sh 20:49:01 + sleep 1 20:49:01 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 17257 --cid-file /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_build_binarydeb/docker.cid 20:49:02 + echo # BEGIN SECTION: Build Dockerfile - build binarydeb
12. Build Dockerfile - build binarydeb

Hide Details

20:49:02 # BEGIN SECTION: Build Dockerfile - build binarydeb 20:49:02 + cd /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/docker_build_binarydeb 20:49:02 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 20:49:02 Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic 20:49:02 Check docker base image for updates: docker pull ubuntu:bionic 20:49:04 bionic: Pulling from library/ubuntu 20:49:04 Digest: sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 20:49:04 Status: Image is up to date for ubuntu:bionic 20:49:04 + docker build --force-rm -t binarydeb_build.melodic_ubuntu_bionic_amd64_image_to_v4l2loopback . 20:49:04 Sending build context to Docker daemon 21.5kB 20:49:04 Step 1/31 : FROM ubuntu:bionic 20:49:04 ---> 4e5021d210f6 20:49:04 Step 2/31 : VOLUME /var/cache/apt/archives 20:49:04 ---> Using cache 20:49:04 ---> df7c84159595 20:49:04 Step 3/31 : ENV DEBIAN_FRONTEND noninteractive 20:49:04 ---> Using cache 20:49:04 ---> 59b0c94a00fe 20:49:04 Step 4/31 : 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:49:04 ---> Using cache 20:49:04 ---> c27f478e278a 20:49:04 Step 5/31 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 20:49:04 ---> Using cache 20:49:04 ---> caf2d8a00919 20:49:04 Step 6/31 : RUN locale-gen en_US.UTF-8 20:49:04 ---> Using cache 20:49:04 ---> f0ee70252c6d 20:49:04 Step 7/31 : ENV LANG en_US.UTF-8 20:49:04 ---> Using cache 20:49:04 ---> e5a97b0611bb 20:49:04 Step 8/31 : ENV TZ GMT+00 20:49:04 ---> Using cache 20:49:04 ---> 5c14d75cad4c 20:49:04 Step 9/31 : RUN useradd -u 1002 -l -m buildfarm 20:49:04 ---> Using cache 20:49:04 ---> c8fbf7adaa18 20:49:04 Step 10/31 : RUN mkdir /tmp/keys 20:49:04 ---> Using cache 20:49:04 ---> 1849328c7675 20:49:04 Step 11/31 : 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:49:04 ---> Using cache 20:49:04 ---> 6e6ab279d32b 20:49:04 Step 12/31 : 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/M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EY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 20:49:04 ---> Using cache 20:49:04 ---> e3dd9cf3da06 20:49:04 Step 13/31 : 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:49:04 ---> Using cache 20:49:04 ---> 70778070df25 20:49:04 Step 14/31 : RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:49:04 ---> Using cache 20:49:04 ---> ab533b0a05e7 20:49:04 Step 15/31 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 20:49:04 ---> Using cache 20:49:04 ---> aa21e6326d50 20:49:04 Step 16/31 : 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:49:04 ---> Using cache 20:49:04 ---> e5955f4e488d 20:49:04 Step 17/31 : RUN mkdir /tmp/wrapper_scripts 20:49:04 ---> Using cache 20:49:04 ---> d0013f0e1344 20:49:04 Step 18/31 : 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:49:04 ---> Using cache 20:49:04 ---> 2c6b2bcc562c 20:49:04 Step 19/31 : 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:49:04 ---> Using cache 20:49:04 ---> e33f3366ad44 20:49:04 Step 20/31 : RUN echo "2020-04-02 (+0000)" 20:49:04 ---> Using cache 20:49:04 ---> 05973544ca2d 20:49:04 Step 21/31 : 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:49:04 ---> Using cache 20:49:04 ---> 48f09b3d90a9 20:49:04 Step 22/31 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python 20:49:04 ---> Using cache 20:49:04 ---> b3a4f5a6fef7 20:49:04 Step 23/31 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential 20:49:04 ---> Using cache 20:49:04 ---> ad8c24c18f56 20:49:04 Step 24/31 : RUN echo "apt-src: 0.25.2" && echo "debhelper: 12.1.1ubuntu1~ubuntu18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src debhelper 20:49:04 ---> Using cache 20:49:04 ---> f647997f6c53 20:49:04 Step 25/31 : RUN echo "ros-melodic-catkin: 0.7.23-1bionic.20200303.045725" && echo "ros-melodic-cv-bridge: 1.13.0-0bionic.20200320.133849" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin ros-melodic-cv-bridge 20:49:04 ---> Using cache 20:49:04 ---> fe1dd9550999 20:49:04 Step 26/31 : RUN echo "ros-melodic-image-transport: 1.11.13-0bionic.20200320.130043" && echo "ros-melodic-roscpp: 1.14.5-1bionic.20200320.102657" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-image-transport ros-melodic-roscpp 20:49:04 ---> Using cache 20:49:04 ---> b99994216424 20:49:04 Step 27/31 : RUN echo "ros-melodic-roslint: 0.11.2-0bionic.20200303.061944" && echo "ros-melodic-rostest: 1.14.5-1bionic.20200320.111356" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-roslint ros-melodic-rostest 20:49:04 ---> Using cache 20:49:04 ---> 6779f7a024eb 20:49:04 Step 28/31 : RUN echo "ros-melodic-sensor-msgs: 1.12.7-0bionic.20200320.125228" && echo "ros-melodic-std-msgs: 0.5.12-0bionic.20200304.002412" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-sensor-msgs ros-melodic-std-msgs 20:49:04 ---> Using cache 20:49:04 ---> 296d437cbfb2 20:49:04 Step 29/31 : USER buildfarm 20:49:04 ---> Using cache 20:49:04 ---> cef4778e9695 20:49:04 Step 30/31 : ENTRYPOINT sh -c 20:49:04 ---> Using cache 20:49:04 ---> 61ca44824bdd 20:49:04 Step 31/31 : CMD PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic image_to_v4l2loopback --sourcedeb-dir /tmp/binarydeb 20:49:04 ---> Using cache 20:49:04 ---> 1bf85a01f91b 20:49:04 Successfully built 1bf85a01f91b 20:49:04 Successfully tagged binarydeb_build.melodic_ubuntu_bionic_amd64_image_to_v4l2loopback:latest 20:49:04 + echo # END SECTION 20:49:04 # END SECTION
20:49:04 + echo # BEGIN SECTION: Run Dockerfile - build binarydeb
13. Run Dockerfile - build binarydeb

Hide Details

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

Hide Details

20:49:05 # BEGIN SUBSECTION: build binarydeb 20:49:05 Package 'ros-melodic-image-to-v4l2loopback' version: 0.1.2-1bionic.20200402.194855 20:49:07 Invoking 'apt-src build ros-melodic-image-to-v4l2loopback' in '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:09 I: Building in /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2 .. 20:49:09 dpkg-buildpackage: info: source package ros-melodic-image-to-v4l2loopback 20:49:09 dpkg-buildpackage: info: source version 0.1.2-1bionic.20200402.194855 20:49:09 dpkg-buildpackage: info: source distribution bionic 20:49:09 dpkg-buildpackage: info: source changed by Marc Hanheide <marc@hanheide.net> 20:49:10 dpkg-source --before-build ros-melodic-image-to-v4l2loopback-0.1.2 20:49:10 dpkg-buildpackage: info: host architecture amd64 20:49:10 dpkg-source: info: using options from ros-melodic-image-to-v4l2loopback-0.1.2/debian/source/options: --auto-commit 20:49:10 fakeroot debian/rules clean 20:49:10 dh clean -v --buildsystem=cmake 20:49:11 dh_testdir -O-v -O--buildsystem=cmake 20:49:11 dh_auto_clean -O-v -O--buildsystem=cmake 20:49:11 dh_clean -O-v -O--buildsystem=cmake 20:49:11 rm -f debian/debhelper-build-stamp 20:49:11 rm -rf debian/.debhelper/ 20:49:11 rm -f -- debian/ros-melodic-image-to-v4l2loopback.substvars debian/files 20:49:11 rm -fr -- debian/ros-melodic-image-to-v4l2loopback/ debian/tmp/ 20:49:11 find . \( \( \ 20:49:11 \( -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:49:11 \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ 20:49:11 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ 20:49:11 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ 20:49:11 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ 20:49:11 \) -exec rm -f {} + \) -o \ 20:49:11 \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) 20:49:11 dh build -v --buildsystem=cmake 20:49:11 debian/rules build 20:49:11 dh_testdir -O-v -O--buildsystem=cmake 20:49:11 dh_update_autotools_config -O-v -O--buildsystem=cmake 20:49:11 debian/rules override_dh_auto_configure 20:49:11 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:11 # In case we're installing to a non-standard location, look for a setup.sh 20:49:11 # in the install tree that was dropped by catkin, and source it. It will 20:49:11 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:49:11 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:49:11 dh_auto_configure -- \ 20:49:11 -DCATKIN_BUILD_BINARY_PACKAGE="1" \ 20:49:11 -DCMAKE_INSTALL_PREFIX="/opt/ros/melodic" \ 20:49:11 -DCMAKE_PREFIX_PATH="/opt/ros/melodic" 20:49:12 install -d obj-x86_64-linux-gnu 20:49:12 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:49:13 -- The C compiler identification is GNU 7.5.0 20:49:13 -- The CXX compiler identification is GNU 7.5.0 20:49:13 -- Check for working C compiler: /usr/bin/cc 20:49:13 -- Check for working C compiler: /usr/bin/cc -- works 20:49:13 -- Detecting C compiler ABI info 20:49:13 -- Detecting C compiler ABI info - done 20:49:13 -- Detecting C compile features 20:49:14 -- Detecting C compile features - done 20:49:14 -- Check for working CXX compiler: /usr/bin/c++ 20:49:14 -- Check for working CXX compiler: /usr/bin/c++ -- works 20:49:14 -- Detecting CXX compiler ABI info 20:49:14 -- Detecting CXX compiler ABI info - done 20:49:14 -- Detecting CXX compile features 20:49:15 -- Detecting CXX compile features - done 20:49:15 -- Using CATKIN_DEVEL_PREFIX: /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/devel 20:49:15 -- Using CMAKE_PREFIX_PATH: /opt/ros/melodic 20:49:15 -- This workspace overlays: /opt/ros/melodic 20:49:15 -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") 20:49:15 -- Using PYTHON_EXECUTABLE: /usr/bin/python2 20:49:15 -- Using Debian Python package layout 20:49:15 -- Using empy: /usr/bin/empy 20:49:16 -- Using CATKIN_ENABLE_TESTING: ON 20:49:16 -- Skip enable_testing() when building binary package 20:49:16 -- Using CATKIN_TEST_RESULTS_DIR: /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/test_results 20:49:16 -- Found gtest sources under '/usr/src/googletest': gtests will be built 20:49:16 -- Found gmock sources under '/usr/src/googletest': gmock will be built 20:49:16 -- Found PythonInterp: /usr/bin/python2 (found version "2.7.17") 20:49:16 -- Looking for pthread.h 20:49:16 -- Looking for pthread.h - found 20:49:16 -- Looking for pthread_create 20:49:17 -- Looking for pthread_create - not found 20:49:17 -- Looking for pthread_create in pthreads 20:49:17 -- Looking for pthread_create in pthreads - not found 20:49:17 -- Looking for pthread_create in pthread 20:49:17 -- Looking for pthread_create in pthread - found 20:49:17 -- Found Threads: TRUE 20:49:17 -- Using Python nosetests: /usr/bin/nosetests-2.7 20:49:18 -- catkin 0.7.23 20:49:18 -- BUILD_SHARED_LIBS is on 20:49:18 -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy 20:49:19 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 20:49:19 -- Found OpenCV: /usr (found version "3.2.0") 20:49:19 -- Using COVERAGE: OFF 20:49:19 -- Configuring done 20:49:20 -- Generating done 20:49:20 CMake Warning: 20:49:20 Manually-specified variables were not used by the project: 20:49:20 20:49:20 CMAKE_EXPORT_NO_PACKAGE_REGISTRY 20:49:20 CMAKE_INSTALL_LOCALSTATEDIR 20:49:20 CMAKE_INSTALL_SYSCONFDIR 20:49:20 20:49:20 20:49:20 -- Build files have been written to: /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu 20:49:20 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:20 debian/rules override_dh_auto_build 20:49:20 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:20 # In case we're installing to a non-standard location, look for a setup.sh 20:49:20 # in the install tree that was dropped by catkin, and source it. It will 20:49:20 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:49:20 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:49:20 dh_auto_build 20:49:20 cd obj-x86_64-linux-gnu && make -j1 20:49:20 make[2]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:20 /usr/bin/cmake -H/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2 -B/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 20:49:20 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/CMakeFiles/progress.marks 20:49:20 make -f CMakeFiles/Makefile2 all 20:49:20 make[3]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:20 make -f CMakeFiles/stream.dir/build.make CMakeFiles/stream.dir/depend 20:49:20 make[4]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:20 cd /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2 /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2 /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/CMakeFiles/stream.dir/DependInfo.cmake --color= 20:49:21 Scanning dependencies of target stream 20:49:21 make[4]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:21 make -f CMakeFiles/stream.dir/build.make CMakeFiles/stream.dir/build 20:49:21 make[4]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:21 [ 25%] Building CXX object CMakeFiles/stream.dir/src/image_converter.cpp.o 20:49:21 /usr/bin/c++ -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"image_to_v4l2loopback\" -I/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/include -isystem /usr/include/opencv -I/opt/ros/melodic/include -I/opt/ros/melodic/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -I/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/src -g -O2 -fdebug-prefix-map=/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++1z -o CMakeFiles/stream.dir/src/image_converter.cpp.o -c /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/src/image_converter.cpp 20:49:35 [ 50%] Building CXX object CMakeFiles/stream.dir/src/stream.cpp.o 20:49:35 /usr/bin/c++ -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"image_to_v4l2loopback\" -I/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/include -isystem /usr/include/opencv -I/opt/ros/melodic/include -I/opt/ros/melodic/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -I/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/src -g -O2 -fdebug-prefix-map=/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++1z -o CMakeFiles/stream.dir/src/stream.cpp.o -c /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/src/stream.cpp 20:49:42 [ 75%] Building CXX object CMakeFiles/stream.dir/src/video_device.cpp.o 20:49:42 /usr/bin/c++ -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"image_to_v4l2loopback\" -I/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/include -isystem /usr/include/opencv -I/opt/ros/melodic/include -I/opt/ros/melodic/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -I/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/src -g -O2 -fdebug-prefix-map=/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++1z -o CMakeFiles/stream.dir/src/video_device.cpp.o -c /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/src/video_device.cpp 20:49:47 [100%] Linking CXX executable devel/lib/image_to_v4l2loopback/stream 20:49:47 /usr/bin/cmake -E cmake_link_script CMakeFiles/stream.dir/link.txt --verbose=1 20:49:47 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -rdynamic CMakeFiles/stream.dir/src/image_converter.cpp.o CMakeFiles/stream.dir/src/stream.cpp.o CMakeFiles/stream.dir/src/video_device.cpp.o -o devel/lib/image_to_v4l2loopback/stream -Wl,-rpath,/opt/ros/melodic/lib: /opt/ros/melodic/lib/libcv_bridge.so /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.3.2.0 /opt/ros/melodic/lib/libimage_transport.so /opt/ros/melodic/lib/libmessage_filters.so /opt/ros/melodic/lib/libclass_loader.so -lPocoFoundation -ldl /opt/ros/melodic/lib/libroslib.so /opt/ros/melodic/lib/librospack.so -lpython2.7 -lboost_program_options -ltinyxml2 /opt/ros/melodic/lib/libroscpp.so -lboost_filesystem /opt/ros/melodic/lib/librosconsole.so /opt/ros/melodic/lib/librosconsole_log4cxx.so /opt/ros/melodic/lib/librosconsole_backend_interface.so -llog4cxx -lboost_regex /opt/ros/melodic/lib/libroscpp_serialization.so /opt/ros/melodic/lib/libxmlrpcpp.so /opt/ros/melodic/lib/librostime.so /opt/ros/melodic/lib/libcpp_common.so -lboost_system -lboost_thread -lboost_chrono -lboost_date_time -lboost_atomic -lpthread /usr/lib/x86_64-linux-gnu/libconsole_bridge.so.0.4 /opt/ros/melodic/lib/libcv_bridge.so /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.3.2.0 /opt/ros/melodic/lib/libimage_transport.so /opt/ros/melodic/lib/libmessage_filters.so /opt/ros/melodic/lib/libclass_loader.so -lPocoFoundation -ldl /opt/ros/melodic/lib/libroslib.so /opt/ros/melodic/lib/librospack.so -lpython2.7 -lboost_program_options -ltinyxml2 /opt/ros/melodic/lib/libroscpp.so -lboost_filesystem /opt/ros/melodic/lib/librosconsole.so /opt/ros/melodic/lib/librosconsole_log4cxx.so /opt/ros/melodic/lib/librosconsole_backend_interface.so -llog4cxx -lboost_regex /opt/ros/melodic/lib/libroscpp_serialization.so /opt/ros/melodic/lib/libxmlrpcpp.so /opt/ros/melodic/lib/librostime.so /opt/ros/melodic/lib/libcpp_common.so -lboost_system -lboost_thread -lboost_chrono -lboost_date_time -lboost_atomic -lpthread /usr/lib/x86_64-linux-gnu/libconsole_bridge.so.0.4 /usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_stitching.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_superres.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_videostab.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_aruco.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_bgsegm.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_bioinspired.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ccalib.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_datasets.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_dpm.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_face.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_freetype.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_fuzzy.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_hdf.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_line_descriptor.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_optflow.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_plot.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_reg.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_saliency.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_stereo.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_structured_light.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_surface_matching.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_text.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ximgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_xobjdetect.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_xphoto.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_video.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_viz.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_phase_unwrapping.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_rgbd.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_calib3d.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_features2d.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_flann.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_objdetect.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ml.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_photo.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_videoio.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.2.0 20:49:52 make[4]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:52 [100%] Built target stream 20:49:52 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:52 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/CMakeFiles 0 20:49:52 make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:52 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:52 debian/rules override_dh_auto_test 20:49:52 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:52 # In case we're installing to a non-standard location, look for a setup.sh 20:49:52 # in the install tree that was dropped by catkin, and source it. It will 20:49:52 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:49:52 echo -- Running tests. Even if one of them fails the build is not canceled. 20:49:52 -- Running tests. Even if one of them fails the build is not canceled. 20:49:52 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:49:52 dh_auto_test || true 20:49:52 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:52 fakeroot debian/rules binary 20:49:52 dh binary -v --buildsystem=cmake 20:49:53 dh_testroot -O-v -O--buildsystem=cmake 20:49:53 dh_prep -O-v -O--buildsystem=cmake 20:49:53 rm -f -- debian/ros-melodic-image-to-v4l2loopback.substvars 20:49:53 rm -fr -- debian/.debhelper/generated/ros-melodic-image-to-v4l2loopback/ debian/ros-melodic-image-to-v4l2loopback/ debian/tmp/ 20:49:53 dh_installdirs -O-v -O--buildsystem=cmake 20:49:53 install -d debian/ros-melodic-image-to-v4l2loopback 20:49:53 debian/rules override_dh_auto_install 20:49:53 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:53 # In case we're installing to a non-standard location, look for a setup.sh 20:49:53 # in the install tree that was dropped by catkin, and source it. It will 20:49:53 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:49:53 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:49:53 dh_auto_install 20:49:53 cd obj-x86_64-linux-gnu && make -j1 install DESTDIR=/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian/ros-melodic-image-to-v4l2loopback AM_UPDATE_INFO_DIR=no 20:49:53 make[2]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:53 /usr/bin/cmake -H/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2 -B/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 20:49:53 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/CMakeFiles/progress.marks 20:49:53 make -f CMakeFiles/Makefile2 all 20:49:53 make[3]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:53 make -f CMakeFiles/stream.dir/build.make CMakeFiles/stream.dir/depend 20:49:53 make[4]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:53 cd /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2 /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2 /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/CMakeFiles/stream.dir/DependInfo.cmake --color= 20:49:53 make[4]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:53 make -f CMakeFiles/stream.dir/build.make CMakeFiles/stream.dir/build 20:49:53 make[4]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:53 make[4]: Nothing to be done for 'CMakeFiles/stream.dir/build'. 20:49:53 make[4]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:53 [100%] Built target stream 20:49:53 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:53 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu/CMakeFiles 0 20:49:54 make -f CMakeFiles/Makefile2 preinstall 20:49:54 make[3]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:54 make[3]: Nothing to be done for 'preinstall'. 20:49:54 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:54 Install the project... 20:49:54 /usr/bin/cmake -P cmake_install.cmake 20:49:54 -- Install configuration: "None" 20:49:54 -- Installing: /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/lib/pkgconfig/image_to_v4l2loopback.pc 20:49:54 -- Installing: /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/share/image_to_v4l2loopback/cmake/image_to_v4l2loopbackConfig.cmake 20:49:54 -- Installing: /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/share/image_to_v4l2loopback/cmake/image_to_v4l2loopbackConfig-version.cmake 20:49:54 -- Installing: /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/share/image_to_v4l2loopback/package.xml 20:49:54 -- Installing: /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/lib/image_to_v4l2loopback/stream 20:49:54 -- Set runtime path of "/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/lib/image_to_v4l2loopback/stream" to "" 20:49:54 make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu' 20:49:54 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:54 dh_install -O-v -O--buildsystem=cmake 20:49:54 install -d debian/.debhelper/generated/ros-melodic-image-to-v4l2loopback 20:49:54 dh_installdocs -O-v -O--buildsystem=cmake 20:49:54 install -d debian/ros-melodic-image-to-v4l2loopback/usr/share/doc/ros-melodic-image-to-v4l2loopback 20:49:54 dh_installchangelogs -O-v -O--buildsystem=cmake 20:49:54 install -p -m0644 debian/changelog debian/ros-melodic-image-to-v4l2loopback/usr/share/doc/ros-melodic-image-to-v4l2loopback/changelog.Debian 20:49:54 dh_installexamples -O-v -O--buildsystem=cmake 20:49:54 dh_installman -O-v -O--buildsystem=cmake 20:49:54 dh_installcatalogs -O-v -O--buildsystem=cmake 20:49:55 dh_installcron -O-v -O--buildsystem=cmake 20:49:55 dh_installdebconf -O-v -O--buildsystem=cmake 20:49:55 install -d debian/ros-melodic-image-to-v4l2loopback/DEBIAN 20:49:55 dh_installemacsen -O-v -O--buildsystem=cmake 20:49:55 dh_installifupdown -O-v -O--buildsystem=cmake 20:49:55 dh_installinfo -O-v -O--buildsystem=cmake 20:49:55 dh_installinit -O-v -O--buildsystem=cmake 20:49:55 dh_installmenu -O-v -O--buildsystem=cmake 20:49:55 dh_installmime -O-v -O--buildsystem=cmake 20:49:55 dh_installmodules -O-v -O--buildsystem=cmake 20:49:56 dh_installlogcheck -O-v -O--buildsystem=cmake 20:49:56 dh_installlogrotate -O-v -O--buildsystem=cmake 20:49:56 dh_installpam -O-v -O--buildsystem=cmake 20:49:56 dh_installppp -O-v -O--buildsystem=cmake 20:49:56 dh_installudev -O-v -O--buildsystem=cmake 20:49:56 dh_installgsettings -O-v -O--buildsystem=cmake 20:49:56 dh_bugfiles -O-v -O--buildsystem=cmake 20:49:56 dh_ucf -O-v -O--buildsystem=cmake 20:49:56 dh_lintian -O-v -O--buildsystem=cmake 20:49:56 dh_gconf -O-v -O--buildsystem=cmake 20:49:56 dh_icons -O-v -O--buildsystem=cmake 20:49:57 dh_perl -O-v -O--buildsystem=cmake 20:49:57 dh_usrlocal -O-v -O--buildsystem=cmake 20:49:57 dh_link -O-v -O--buildsystem=cmake 20:49:57 dh_installwm -O-v -O--buildsystem=cmake 20:49:57 dh_installxfonts -O-v -O--buildsystem=cmake 20:49:57 dh_strip_nondeterminism -O-v -O--buildsystem=cmake 20:49:57 dh_compress -O-v -O--buildsystem=cmake 20:49:58 cd debian/ros-melodic-image-to-v4l2loopback 20:49:58 chmod a-x usr/share/doc/ros-melodic-image-to-v4l2loopback/changelog.Debian 20:49:58 gzip -9nf usr/share/doc/ros-melodic-image-to-v4l2loopback/changelog.Debian 20:49:58 cd '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:58 dh_fixperms -O-v -O--buildsystem=cmake 20:49:58 find debian/ros-melodic-image-to-v4l2loopback -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 20:49:58 find debian/ros-melodic-image-to-v4l2loopback ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s 20:49:58 find debian/ros-melodic-image-to-v4l2loopback/usr/share/doc -type f -a -true -a ! -regex 'debian/ros-melodic-image-to-v4l2loopback/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 20:49:58 find debian/ros-melodic-image-to-v4l2loopback/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 20:49:58 find debian/ros-melodic-image-to-v4l2loopback -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:49:58 dh_missing -O-v -O--buildsystem=cmake 20:49:58 dh_strip -O-v -O--buildsystem=cmake 20:49:58 install -d debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/usr/lib/debug/.build-id/fe 20:49:58 objcopy --only-keep-debug --compress-debug-sections debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/lib/image_to_v4l2loopback/stream debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/usr/lib/debug/.build-id/fe/d40675abf3b37475c7b125335053f235438b04.debug 20:49:59 chmod 0644 -- debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/usr/lib/debug/.build-id/fe/d40675abf3b37475c7b125335053f235438b04.debug 20:49:59 chown 0:0 -- debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/usr/lib/debug/.build-id/fe/d40675abf3b37475c7b125335053f235438b04.debug 20:49:59 strip --remove-section=.comment --remove-section=.note debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/lib/image_to_v4l2loopback/stream 20:49:59 objcopy --add-gnu-debuglink debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/usr/lib/debug/.build-id/fe/d40675abf3b37475c7b125335053f235438b04.debug debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/lib/image_to_v4l2loopback/stream 20:49:59 install -d debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/usr/share/doc 20:49:59 ln -s ros-melodic-image-to-v4l2loopback debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/usr/share/doc/ros-melodic-image-to-v4l2loopback-dbgsym 20:49:59 dh_makeshlibs -O-v -O--buildsystem=cmake 20:49:59 rm -f debian/ros-melodic-image-to-v4l2loopback/DEBIAN/shlibs 20:49:59 debian/rules override_dh_shlibdeps 20:49:59 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:49:59 # In case we're installing to a non-standard location, look for a setup.sh 20:49:59 # in the install tree that was dropped by catkin, and source it. It will 20:49:59 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 20:49:59 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 20:49:59 dh_shlibdeps -l/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian/ros-melodic-image-to-v4l2loopback//opt/ros/melodic/lib/ 20:49:59 dpkg-shlibdeps -Tdebian/ros-melodic-image-to-v4l2loopback.substvars -l/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian/ros-melodic-image-to-v4l2loopback//opt/ros/melodic/lib/ debian/ros-melodic-image-to-v4l2loopback/opt/ros/melodic/lib/image_to_v4l2loopback/stream 20:50:04 dpkg-shlibdeps: warning: can't extract name and version from library name 'libcv_bridge.so' 20:50:04 dpkg-shlibdeps: warning: can't extract name and version from library name 'libcv_bridge.so' 20:50:05 dpkg-shlibdeps: warning: can't extract name and version from library name 'libimage_transport.so' 20:50:05 dpkg-shlibdeps: warning: can't extract name and version from library name 'libimage_transport.so' 20:50:05 dpkg-shlibdeps: warning: can't extract name and version from library name 'libroscpp.so' 20:50:05 dpkg-shlibdeps: warning: can't extract name and version from library name 'libroscpp.so' 20:50:05 dpkg-shlibdeps: warning: can't extract name and version from library name 'librosconsole.so' 20:50:05 dpkg-shlibdeps: warning: can't extract name and version from library name 'librosconsole.so' 20:50:07 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2' 20:50:07 dh_installdeb -O-v -O--buildsystem=cmake 20:50:07 dh_gencontrol -O-v -O--buildsystem=cmake 20:50:07 echo misc:Depends= >> debian/ros-melodic-image-to-v4l2loopback.substvars 20:50:07 echo misc:Pre-Depends= >> debian/ros-melodic-image-to-v4l2loopback.substvars 20:50:07 install -d debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/DEBIAN 20:50:07 dpkg-gencontrol -pros-melodic-image-to-v4l2loopback -ldebian/changelog -Tdebian/ros-melodic-image-to-v4l2loopback.substvars -Pdebian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -DAuto-Built-Package=debug-symbols -DPackage=ros-melodic-image-to-v4l2loopback-dbgsym "-DDepends=ros-melodic-image-to-v4l2loopback (= \${binary:Version})" "-DDescription=debug symbols for ros-melodic-image-to-v4l2loopback" -DBuild-Ids=fed40675abf3b37475c7b125335053f235438b04 -DSection=debug -DPackage-Type=ddeb -UMulti-Arch -UReplaces -UBreaks 20:50:08 chmod 0644 -- debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/DEBIAN/control 20:50:08 chown 0:0 -- debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/DEBIAN/control 20:50:08 dpkg-gencontrol -pros-melodic-image-to-v4l2loopback -ldebian/changelog -Tdebian/ros-melodic-image-to-v4l2loopback.substvars -Pdebian/ros-melodic-image-to-v4l2loopback -UMulti-Arch 20:50:08 chmod 0644 -- debian/ros-melodic-image-to-v4l2loopback/DEBIAN/control 20:50:08 chown 0:0 -- debian/ros-melodic-image-to-v4l2loopback/DEBIAN/control 20:50:08 dh_md5sums -O-v -O--buildsystem=cmake 20:50:08 (cd debian/ros-melodic-image-to-v4l2loopback >/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:50:08 chmod 0644 -- debian/ros-melodic-image-to-v4l2loopback/DEBIAN/md5sums 20:50:08 chown 0:0 -- debian/ros-melodic-image-to-v4l2loopback/DEBIAN/md5sums 20:50:08 (cd debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root >/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:50:08 chmod 0644 -- debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/DEBIAN/md5sums 20:50:08 chown 0:0 -- debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root/DEBIAN/md5sums 20:50:08 dh_builddeb -O-v -O--buildsystem=cmake 20:50:08 dpkg-deb --build debian/ros-melodic-image-to-v4l2loopback .. 20:50:08 dpkg-deb: building package 'ros-melodic-image-to-v4l2loopback' in '../ros-melodic-image-to-v4l2loopback_0.1.2-1bionic.20200402.194855_amd64.deb'. 20:50:09 install -d debian/.debhelper/scratch-space/build-ros-melodic-image-to-v4l2loopback 20:50:09 dpkg-deb --build debian/.debhelper/ros-melodic-image-to-v4l2loopback/dbgsym-root debian/.debhelper/scratch-space/build-ros-melodic-image-to-v4l2loopback 20:50:09 dpkg-deb: building package 'ros-melodic-image-to-v4l2loopback-dbgsym' in 'debian/.debhelper/scratch-space/build-ros-melodic-image-to-v4l2loopback/ros-melodic-image-to-v4l2loopback-dbgsym_0.1.2-1bionic.20200402.194855_amd64.deb'. 20:50:10 Renaming ros-melodic-image-to-v4l2loopback-dbgsym_0.1.2-1bionic.20200402.194855_amd64.deb to ros-melodic-image-to-v4l2loopback-dbgsym_0.1.2-1bionic.20200402.194855_amd64.ddeb 20:50:10 mv debian/.debhelper/scratch-space/build-ros-melodic-image-to-v4l2loopback/ros-melodic-image-to-v4l2loopback-dbgsym_0.1.2-1bionic.20200402.194855_amd64.deb ../ros-melodic-image-to-v4l2loopback-dbgsym_0.1.2-1bionic.20200402.194855_amd64.ddeb 20:50:10 dpkg-genbuildinfo --build=binary 20:50:12 dpkg-genchanges --build=binary >../ros-melodic-image-to-v4l2loopback_0.1.2-1bionic.20200402.194855_amd64.changes 20:50:12 dpkg-genchanges: info: binary-only upload (no source code included) 20:50:12 dpkg-source --after-build ros-melodic-image-to-v4l2loopback-0.1.2 20:50:12 dpkg-source: info: using options from ros-melodic-image-to-v4l2loopback-0.1.2/debian/source/options: --auto-commit 20:50:12 dpkg-buildpackage: info: binary-only upload (no source included) 20:50:12 I: Successfully built in /tmp/binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2 20:50:12 # END SUBSECTION
20:50:14 + echo # END SECTION 20:50:14 # END SECTION
20:50:14 [Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins2471294369541917542.sh 20:50:14 + [ false = false ] 20:50:14 + echo # BEGIN SECTION: Clean up to save disk space on agents
14. Clean up to save disk space on agents

Hide Details

20:50:14 # BEGIN SECTION: Clean up to save disk space on agents 20:50:14 + chmod -R u+w /home/jenkins-slave/workspace/Mbin_uB64__image_to_v4l2loopback__ubuntu_bionic_amd64__binary/binarydeb 20:50:15 + rm -fr binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/CHANGELOG.rst binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/CMakeLists.txt binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/LICENSE binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/README.md binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/debian binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/include binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/launch binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/obj-x86_64-linux-gnu binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/package.xml binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/src binarydeb/ros-melodic-image-to-v4l2loopback-0.1.2/tests 20:50:15 + echo # END SECTION 20:50:15 # END SECTION
20:50:15 SSH: Connecting from host [lcas-buildfarm-slave-1] 20:50:15 SSH: Connecting with configuration [repo] ... 20:50:16 SSH: Disconnecting configuration [repo] ... 20:50:16 SSH: Transferred 3 file(s) 20:50:16 Build step 'Send files or execute commands over SSH' changed build result to SUCCESS 20:50:16 Waiting for the completion of Mrel_import-package 20:50:16 Mrel_import-package #375 started. 20:50:25 Mrel_import-package #375 completed. Result was SUCCESS 20:50:25 $ ssh-agent -k 20:50:25 unset SSH_AUTH_SOCK; 20:50:25 unset SSH_AGENT_PID; 20:50:25 echo Agent pid 15066 killed; 20:50:25 [ssh-agent] Stopped. 20:50:25 [description-setter] Description set: 0.1.2-1bionic.20200402.194855 20:50:25 Sending e-mails to: lcas-build-farm@googlegroups.com 20:50:25 Triggering a new build of Mrel_sync-packages-to-testing_bionic_amd64 20:50:25 Finished: SUCCESS