Started by upstream project "Msrc_uB__thorvald_simulator__ubuntu_bionic__source" build number 7
originally caused by:
 Started by upstream project "Mrel_trigger-jobs" build number 40535
 originally caused by:
  Started by user Marc Hanheide
Started by upstream project "Mbin_uB64__thorvald_base__ubuntu_bionic_amd64__binary" build number 10
originally caused by:
 Started by upstream project "Msrc_uB__thorvald_base__ubuntu_bionic__source" build number 8
 originally caused by:
  Started by upstream project "Mrel_trigger-jobs" build number 40535
  originally caused by:
   Started by user Marc Hanheide
 Started by upstream project "Mbin_uB64__thorvald_can_devices__ubuntu_bionic_amd64__binary" build number 8
 originally caused by:
  Started by upstream project "Msrc_uB__thorvald_can_devices__ubuntu_bionic__source" build number 8
  originally caused by:
   Started by upstream project "Mrel_trigger-jobs" build number 40535
 Started by upstream project "Mbin_uB64__thorvald_msgs__ubuntu_bionic_amd64__binary" build number 7
 originally caused by:
  Started by upstream project "Msrc_uB__thorvald_msgs__ubuntu_bionic__source" build number 7
  originally caused by:
   Started by upstream project "Mrel_trigger-jobs" build number 40535
 Started by upstream project "Mbin_uB64__thorvald_description__ubuntu_bionic_amd64__binary" build number 7
 originally caused by:
  Started by upstream project "Msrc_uB__thorvald_description__ubuntu_bionic__source" build number 8
  originally caused by:
   Started by upstream project "Mrel_trigger-jobs" build number 40535
Started by upstream project "Mbin_uB64__thorvald_gazebo_plugins__ubuntu_bionic_amd64__binary" build number 8
originally caused by:
 Started by upstream project "Msrc_uB__thorvald_gazebo_plugins__ubuntu_bionic__source" build number 8
 originally caused by:
  Started by upstream project "Mrel_trigger-jobs" build number 40535
  originally caused by:
   Started by user Marc Hanheide
 Started by upstream project "Mbin_uB64__thorvald_base__ubuntu_bionic_amd64__binary" build number 10
 originally caused by:
  Started by upstream project "Msrc_uB__thorvald_base__ubuntu_bionic__source" build number 8
  originally caused by:
   Started by upstream project "Mrel_trigger-jobs" build number 40535
  Started by upstream project "Mbin_uB64__thorvald_can_devices__ubuntu_bionic_amd64__binary" build number 8
  originally caused by:
   Started by upstream project "Msrc_uB__thorvald_can_devices__ubuntu_bionic__source" build number 8
   originally caused by:
    Started by upstream project "Mrel_trigger-jobs" build number 40535
  Started by upstream project "Mbin_uB64__thorvald_msgs__ubuntu_bionic_amd64__binary" build number 7
  originally caused by:
   Started by upstream project "Msrc_uB__thorvald_msgs__ubuntu_bionic__source" build number 7
   originally caused by:
    Started by upstream project "Mrel_trigger-jobs" build number 40535
  Started by upstream project "Mbin_uB64__thorvald_description__ubuntu_bionic_amd64__binary" build number 7
  originally caused by:
   Started by upstream project "Msrc_uB__thorvald_description__ubuntu_bionic__source" build number 8
   originally caused by:
    Started by upstream project "Mrel_trigger-jobs" build number 40535
Running as SYSTEM
Building remotely on build client 1 (slave buildslave indigo_devel_default buildagent) in workspace /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-yiZHiFA3Xv4q/agent.28702
SSH_AGENT_PID=28704
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary@tmp/private_key_264479836903823457.key (/home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary@tmp/private_key_264479836903823457.key)
[ssh-agent] Using credentials jenkins-slave

# BEGIN SECTION: Check upstream projects
Verify that no recursive upstream project is broken:

- 'Mbin_uB64__thorvald_base__ubuntu_bionic_amd64__binary' build '10' has result 'SUCCESS'
  - 'Mbin_uB64__thorvald_can_devices__ubuntu_bionic_amd64__binary' build '8' has result 'SUCCESS'
    - 'Msrc_uB__thorvald_can_devices__ubuntu_bionic__source' build '8' has result 'SUCCESS'
  - 'Mbin_uB64__thorvald_description__ubuntu_bionic_amd64__binary' build '7' has result 'SUCCESS'
    - 'Msrc_uB__thorvald_description__ubuntu_bionic__source' build '8' has result 'SUCCESS'
  - 'Mbin_uB64__thorvald_msgs__ubuntu_bionic_amd64__binary' build '7' has result 'SUCCESS'
    - 'Msrc_uB__thorvald_msgs__ubuntu_bionic__source' build '7' has result 'SUCCESS'
  - 'Msrc_uB__thorvald_base__ubuntu_bionic__source' build '8' has result 'SUCCESS'
- 'Mbin_uB64__thorvald_gazebo_plugins__ubuntu_bionic_amd64__binary' build '8' has result 'SUCCESS'
  - 'Msrc_uB__thorvald_gazebo_plugins__ubuntu_bionic__source' build '8' has result 'SUCCESS'
- 'Msrc_uB__thorvald_simulator__ubuntu_bionic__source' build '7' has result 'SUCCESS'
All recursive upstream projects are (un)stable
# END SECTION

# BEGIN SECTION: Check free disk space
Usable disk space = 139780984832 bytes
Free space threshold = 5368709120 bytes
# END SECTION
[Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins7610719727421635072.sh
+ echo # BEGIN SECTION: docker version
# BEGIN SECTION: docker version
+ docker version
Client:
 Version:      17.05.0-ce
 API version:  1.29
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Thu May  4 22:06:06 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.05.0-ce
 API version:  1.29 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Thu May  4 22:06:06 2017
 OS/Arch:      linux/amd64
 Experimental: false
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: docker info
# BEGIN SECTION: docker info
+ docker info
Containers: 22
 Running: 0
 Paused: 0
 Stopped: 22
Images: 248
Server Version: 17.05.0-ce
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 289
 Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins: 
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
init version: 949e6fa
Security Options:
 apparmor
Kernel Version: 3.13.0-29-generic
Operating System: Ubuntu 14.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.861GiB
Name: lcas-buildfarm-slave-2
ID: LZSS:PF7G:CREH:TEQW:FH57:3M6D:KCSS:ODQY:SPHA:ND7A:FHYG:PNDE
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: strands
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
+ echo # END SECTION
# END SECTION
[Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins1741294884662863175.sh
+ echo # BEGIN SECTION: Check docker status
# BEGIN SECTION: Check docker status
+ echo Testing trivial docker invocation...
Testing trivial docker invocation...
+ docker run --rm ubuntu:bionic true
+ echo 'docker run' returned 0
'docker run' returned 0
docker seems operational, continuing
[Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins4351781098164598298.sh
+ echo # END SECTION
# END SECTION
[Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins7982052799936600437.sh
+ echo # BEGIN SECTION: Embed wrapper scripts
# BEGIN SECTION: Embed wrapper scripts
+ rm -fr wrapper_scripts
+ mkdir wrapper_scripts
+ 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())
+ echo # END SECTION
# END SECTION
[Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins3989109152858434709.sh
+ echo # BEGIN SECTION: Clone ros_buildfarm
# BEGIN SECTION: Clone ros_buildfarm
+ rm -fr ros_buildfarm
+ python3 -u wrapper_scripts/git.py clone --depth 1 -b pull_upstream https://github.com/lcas/ros_buildfarm.git ros_buildfarm
Invoking 'git clone --depth 1 -b pull_upstream https://github.com/lcas/ros_buildfarm.git ros_buildfarm'
Cloning into 'ros_buildfarm'...
+ git -C ros_buildfarm --no-pager log -n 1
commit 5847ba20c70a194f12d32fd0ad5364bed338f8e2
Author: Marc Hanheide <marc@hanheide.net>
Date:   Fri Jun 5 12:50:43 2020 +0100

    added openssl
+ rm -fr ros_buildfarm/.git
+ rm -fr ros_buildfarm/doc
+ echo # END SECTION
# END SECTION
[Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins3471624425417241436.sh
+ echo # BEGIN SECTION: Write PGP repository keys
# BEGIN SECTION: Write PGP repository keys
+ mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/keys
+ rm -fr /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/keys/*
+ echo -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.11 (GNU/Linux)

mQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn
MsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf
xcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw
kPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv
/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh
EBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg
KFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD
BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX
yQdVwliJMLwVihKz0AU0U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8HKe6qWuqKy2fI6HDxb8h
DL/KY3MExwzPqtwyMzCGSCb8s1ehIPXU6sm7iS1DBGHC8ZVqucHyKHCOxPFkXKVo
uYVJ9oD44CU6oItLU6QhUzONb5SXoDqqOIIRQ6yeV/gIaWHM0xk7HeWjDqLHMSoo
5x8QKl4iPzRrZ8EOZaRwACOUe7pUGEBNQMb17bEovNXZn8Mtixvf6f1Bbso7TJkp
+K5SjoBhugCKhAqfmOHeJG+MaHZSOmjbYb6hp7c9wJzsb7PXaPrEhjvT0VC4Dj10
DZinMx1rT85fgs/npJMS94NGs74KdXpYT4XkVogrBvvY8visuLg=
=p9Xy
-----END PGP PUBLIC KEY BLOCK-----

+ echo # END SECTION
# END SECTION
[Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins1760405837254851807.sh
+ rm -fr /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker
+ mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker
+ sleep 1
+ python3 -u /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 29033 --cid-file /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker/docker.cid
+ echo # BEGIN SECTION: Generate Dockerfile - binarydeb task
# BEGIN SECTION: Generate Dockerfile - binarydeb task
+ export TZ=GMT+00
+ export PYTHONPATH=/home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm:
+ python3 -u /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__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 thorvald_simulator 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__thorvald_simulator__ubuntu_bionic_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/keys/1.key --target-repository http://10.210.9.154/ubuntu/building --binarydeb-dir /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/binarydeb --dockerfile-dir /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker --env-vars --append-timestamp
Using the following distribution repositories:
  http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/keys/0.key)
  http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/keys/1.key)
Generating Dockerfile '/home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker/Dockerfile':
  # generated from release/binarydeb_create_task.Dockerfile.em
  
  FROM ubuntu:bionic
  
  VOLUME ["/var/cache/apt/archives"]
  
  ENV DEBIAN_FRONTEND noninteractive
  
  
  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
  RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
  RUN locale-gen en_US.UTF-8
  ENV LANG en_US.UTF-8
  ENV TZ GMT+00
  
  
  RUN useradd -u 1002 -l -m buildfarm
  
  RUN mkdir /tmp/keys
  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
  RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCA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7PYiTFQsuY1ePRhE+J9mejgWRZxkjAH/FlAubqXkDgterC\nh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/MpPWAHCqpQhe2DET/jRSaM53US\nAHNx8kw4MPUkxExgI7SdiQJUBBMBCAA+AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4B\nAheAFiEEwc9uMea63ohosXK09C7W+6sXxlQFAmCx2FEFCQtMxbsACgkQ9C7W+6sX\nxlRMzA//d/sSQ48gWNR1Gak0nZ1viIFFC7lvZIlEb4oh1u9AHMpQExXr9FSEQM+O\nFdkjfMN6/MF7C8AwqSqzZDVxaj1ZXtk/JOS9LJ7L9OOf4+jNx2/OS+sSMMx+0iTw\nTVbMsaru+c8tnWr9vpWrgffvdn4QNZoNoPBbvYJsIEtYBW2p9/zQLCUjbHx9gcqv\ndUFSfBxc0dHj6dEAF8BadpTiT6hOyEJC5yx3y+K01+xJesq4rLP3UhEdE+cmPHxS\n8ZTi1EZ+seTDXnTkRm+A/Ta9d5HJYFF8qIvW8bLi0JJEN1k7eazYnabTxU+/rkew\ndpZgyc76s0mYxmP130l0v/0ZF/kXpTSq6ggUvf0GFQS8HKe6qWuqKy2fI6HDxb8h\nDL/KY3MExwzPqtwyMzCGSCb8s1ehIPXU6sm7iS1DBGHC8ZVqucHyKHCOxPFkXKVo\nuYVJ9oD44CU6oItLU6QhUzONb5SXoDqqOIIRQ6yeV/gIaWHM0xk7HeWjDqLHMSoo\n5x8QKl4iPzRrZ8EOZaRwACOUe7pUGEBNQMb17bEovNXZn8Mtixvf6f1Bbso7TJkp\n+K5SjoBhugCKhAqfmOHeJG+MaHZSOmjbYb6hp7c9wJzsb7PXaPrEhjvT0VC4Dj10\nDZinMx1rT85fgs/npJMS94NGs74KdXpYT4XkVogrBvvY8visuLg=\n=p9Xy\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
  RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
  RUN echo deb-src http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
  RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
  
  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))
  
  RUN mkdir /tmp/wrapper_scripts
  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
  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
  
  # automatic invalidation once every day
  RUN echo "2022-03-03 (+0000)"
  
  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
  
  RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y devscripts dpkg-dev python3-apt python3-catkin-pkg-modules python3-empy python3-rosdistro-modules python3-yaml openssl
  
  # always invalidate to actually have the latest apt repo state
  RUN echo "2022-03-03 13:41:51 +0000"
  RUN python3 -u /tmp/wrapper_scripts/apt.py update
  
  USER buildfarm
  ENTRYPOINT ["sh", "-c"]
  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 thorvald_simulator --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic thorvald_simulator --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 thorvald_simulator 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"]
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Build Dockerfile - binarydeb task
# BEGIN SECTION: Build Dockerfile - binarydeb task
+ cd /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker
+ python3 -u /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic
Check docker base image for updates: docker pull ubuntu:bionic
bionic: Pulling from library/ubuntu
Digest: sha256:c2aa13782650aa7ade424b12008128b60034c795f25456e8eb552d0a0f447cad
Status: Image is up to date for ubuntu:bionic
+ docker build --force-rm -t binarydeb_task_generation.melodic_ubuntu_bionic_amd64_thorvald_simulator .
Sending build context to Docker daemon  22.02kB

Step 1/28 : FROM ubuntu:bionic
 ---> dcf4d4bef137
Step 2/28 : VOLUME /var/cache/apt/archives
 ---> Using cache
 ---> 955102abc305
Step 3/28 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 95374ff02ed5
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
 ---> Using cache
 ---> df77f2d974a9
Step 5/28 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
 ---> Using cache
 ---> b11619d5187e
Step 6/28 : RUN locale-gen en_US.UTF-8
 ---> Using cache
 ---> 4dcf93d3e2b7
Step 7/28 : ENV LANG en_US.UTF-8
 ---> Using cache
 ---> a6edc873da2b
Step 8/28 : ENV TZ GMT+00
 ---> Using cache
 ---> 667d80cf9953
Step 9/28 : RUN useradd -u 1002 -l -m buildfarm
 ---> Using cache
 ---> 1050e09a4e59
Step 10/28 : RUN mkdir /tmp/keys
 ---> Using cache
 ---> 973bda95230f
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
 ---> Using cache
 ---> a0fc79f1b743
Step 12/28 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVt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7JVGRYU+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
 ---> Using cache
 ---> d2a9a71133d7
Step 13/28 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jc\nVFrQhE0L/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3tro\nu5oCR+SyHN9xPnUwDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4\nK/AY0jzT6OpHfXU6ytlFsI47ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rG\naIoAWlx2H0J7sAHmqS29N9jV9mo135d+d+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+\nTwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS6nHrWH2WqQxRbiITl0irkQoz\npwNEF2Bv0+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.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
 ---> Using cache
 ---> a311a67ad735
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
 ---> Using cache
 ---> 6cee43563cc0
Step 16/28 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
 ---> Using cache
 ---> 92f76d6dc62e
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))
 ---> Using cache
 ---> 78f2a7de0c58
Step 18/28 : RUN mkdir /tmp/wrapper_scripts
 ---> Using cache
 ---> 89371591f365
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
 ---> Using cache
 ---> 7b861873941d
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
 ---> Using cache
 ---> 18f76472173e
Step 21/28 : RUN echo "2022-03-03 (+0000)"
 ---> Using cache
 ---> dafadb2cb716
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
 ---> Using cache
 ---> 9ee6cafa996f
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 openssl
 ---> Using cache
 ---> 9784237aeeb0
Step 24/28 : RUN echo "2022-03-03 13:41:51 +0000"
 ---> Running in 9c4d9a6c6e04
2022-03-03 13:41:51 +0000
 ---> be59f6e1f91a
Removing intermediate container 9c4d9a6c6e04
Step 25/28 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
 ---> Running in 6db718b5fc22
Invoking 'apt-get update'
Get:1 http://10.210.9.154/ubuntu/building bionic InRelease [2,829 B]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:7 http://packages.ros.org/ros/ubuntu bionic InRelease
Get:8 http://10.210.9.154/ubuntu/building bionic/main amd64 Packages [225 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3,035 kB]
Fetched 3,604 kB in 2s (2,162 kB/s)
Reading package lists...
 ---> de6db426f030
Removing intermediate container 6db718b5fc22
Step 26/28 : USER buildfarm
 ---> Running in 19d310cd0ef2
 ---> ce70fcd0c2e1
Removing intermediate container 19d310cd0ef2
Step 27/28 : ENTRYPOINT sh -c
 ---> Running in 03041d9958f6
 ---> 06d3a3f0957b
Removing intermediate container 03041d9958f6
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 thorvald_simulator --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic thorvald_simulator --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 thorvald_simulator 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
 ---> Running in 8b6be47cf684
 ---> e8f37b18be3d
Removing intermediate container 8b6be47cf684
Successfully built e8f37b18be3d
Successfully tagged binarydeb_task_generation.melodic_ubuntu_bionic_amd64_thorvald_simulator:latest
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Run Dockerfile - binarydeb task
# BEGIN SECTION: Run Dockerfile - binarydeb task
+ [ -f /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/binarydeb ]
+ rm -fr /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/binarydeb
+ rm -fr /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_build_binarydeb
+ mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/binarydeb
+ mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_build_binarydeb
+ docker run --rm --cidfile=/home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker/docker.cid -e=TRAVIS= -e=ROS_BUILDFARM_PULL_REQUEST_BRANCH= -v /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__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_thorvald_simulator
# BEGIN SUBSECTION: get sourcedeb
Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-melodic-thorvald-simulator=2.2.0-2bionic'
Invoking 'apt-get source --download-only --only-source ros-melodic-thorvald-simulator=2.2.0-2bionic'
Reading package lists...
Need to get 6,097 B of source archives.
Get:1 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-thorvald-simulator 2.2.0-2bionic (dsc) [1,027 B]
Get:2 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-thorvald-simulator 2.2.0-2bionic (tar) [2,154 B]
Get:3 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-thorvald-simulator 2.2.0-2bionic (diff) [2,916 B]
Fetched 6,097 B in 0s (522 kB/s)
Download complete and in download only mode
Invoking 'dpkg-source -x ros-melodic-thorvald-simulator_2.2.0-2bionic.dsc'
dpkg-source: warning: extracting unsigned source package (ros-melodic-thorvald-simulator_2.2.0-2bionic.dsc)
dpkg-source: info: extracting ros-melodic-thorvald-simulator in ros-melodic-thorvald-simulator-2.2.0
dpkg-source: info: unpacking ros-melodic-thorvald-simulator_2.2.0.orig.tar.gz
dpkg-source: info: unpacking ros-melodic-thorvald-simulator_2.2.0-2bionic.debian.tar.xz
Package maintainer emails: lgrimstad@sagarobotics.com
# END SUBSECTION
# BEGIN SUBSECTION: append build timestamp
Invoking 'debchange -v 2.2.0-2bionic.20220303.134217 -p -D bionic -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
# END SUBSECTION
Looking for the '.dsc' file of package 'ros-melodic-thorvald-simulator' with version '2.2.0-2'
Using the following distribution repositories:
  http://10.210.9.154/ubuntu/building (/tmp/keys/0.key)
  http://packages.ros.org/ros/ubuntu (/tmp/keys/1.key)
Generating Dockerfile '/tmp/docker_build_binarydeb/Dockerfile':
  # generated from release/binarydeb_task.Dockerfile.em
  
  
  FROM ubuntu:bionic
  
  VOLUME ["/var/cache/apt/archives"]
  
  ENV DEBIAN_FRONTEND noninteractive
  
  
  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
  RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
  RUN locale-gen en_US.UTF-8
  ENV LANG en_US.UTF-8
  ENV TZ GMT+00
  
  RUN useradd -u 1002 -l -m buildfarm
  
  RUN mkdir /tmp/keys
  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
  RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sB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a /etc/apt/sources.list.d/buildfarm.list
  RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
  
  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))
  
  RUN mkdir /tmp/wrapper_scripts
  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
  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
  
  # automatic invalidation once every day
  RUN echo "2022-03-03 (+0000)"
  
  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
  
  RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python
  
  RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
  
  
  # for each dependency: echo version, apt update, apt install, apt clean
  RUN echo "apt-src: 0.25.2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src
  RUN echo "debhelper: 13.5.2ubuntu1~bpo18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper
  RUN echo "ros-melodic-catkin: 0.7.29-1bionic.20201014.191449" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin
  
  
  USER buildfarm
  ENTRYPOINT ["sh", "-c"]
  CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic thorvald_simulator --sourcedeb-dir /tmp/binarydeb"]
Mount the following volumes when running the container:
  -v /tmp/ros_buildfarm:/tmp/ros_buildfarm:ro
  -v /tmp/binarydeb:/tmp/binarydeb
+ echo # END SECTION
# END SECTION
[Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins4958270073663167937.sh
+ sleep 1
+ python3 -u /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 31787 --cid-file /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_build_binarydeb/docker.cid
+ echo # BEGIN SECTION: Build Dockerfile - build binarydeb
# BEGIN SECTION: Build Dockerfile - build binarydeb
+ cd /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_build_binarydeb
+ python3 -u /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic
Check docker base image for updates: docker pull ubuntu:bionic
bionic: Pulling from library/ubuntu
Digest: sha256:c2aa13782650aa7ade424b12008128b60034c795f25456e8eb552d0a0f447cad
Status: Image is up to date for ubuntu:bionic
+ docker build --force-rm -t binarydeb_build.melodic_ubuntu_bionic_amd64_thorvald_simulator .
Sending build context to Docker daemon   21.5kB

Step 1/29 : FROM ubuntu:bionic
 ---> dcf4d4bef137
Step 2/29 : VOLUME /var/cache/apt/archives
 ---> Using cache
 ---> 955102abc305
Step 3/29 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 95374ff02ed5
Step 4/29 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done
 ---> Using cache
 ---> df77f2d974a9
Step 5/29 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
 ---> Using cache
 ---> b11619d5187e
Step 6/29 : RUN locale-gen en_US.UTF-8
 ---> Using cache
 ---> 4dcf93d3e2b7
Step 7/29 : ENV LANG en_US.UTF-8
 ---> Using cache
 ---> a6edc873da2b
Step 8/29 : ENV TZ GMT+00
 ---> Using cache
 ---> 667d80cf9953
Step 9/29 : RUN useradd -u 1002 -l -m buildfarm
 ---> Using cache
 ---> 1050e09a4e59
Step 10/29 : RUN mkdir /tmp/keys
 ---> Using cache
 ---> 973bda95230f
Step 11/29 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done
 ---> Using cache
 ---> a0fc79f1b743
Step 12/29 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-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0AH3qRicwnuPm\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
 ---> Using cache
 ---> d2a9a71133d7
Step 13/29 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jc\nVFrQhE0L/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3tro\nu5oCR+SyHN9xPnUwDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4\nK/AY0jzT6OpHfXU6ytlFsI47ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rG\naIoAWlx2H0J7sAHmqS29N9jV9mo135d+d+TdLBXI0PXtiHzE9IPaX+ctdS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BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
 ---> Using cache
 ---> 1e54e102d3a5
Step 14/29 : RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
 ---> Using cache
 ---> a311a67ad735
Step 15/29 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
 ---> Using cache
 ---> fd8a517b6d97
Step 16/29 : RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && ((grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list))
 ---> Using cache
 ---> 580cfa6c07f5
Step 17/29 : RUN mkdir /tmp/wrapper_scripts
 ---> Using cache
 ---> 86df9013df68
Step 18/29 : RUN echo "#!/usr/bin/env python3\n\n# Copyright 2014-2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n    max_tries = 10\n    known_error_strings = [\n        'Failed to fetch',\n        'Failed to stat',\n        'Hash Sum mismatch',\n        'Unable to locate package',\n        'is not what the server reported',\n    ]\n\n    command = argv[0]\n    if command in ['update', 'source']:\n        rc, _, _ = call_apt_repeatedly(\n            argv, known_error_strings, max_tries)\n        return rc\n    elif command == 'update-install-clean':\n        return call_apt_update_install_clean(\n            argv[1:], known_error_strings, max_tries)\n    else:\n        assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n        install_argv, known_error_strings, max_tries):\n    tries = 0\n    command = 'update'\n    while tries < max_tries:\n        if command == 'update':\n            rc, _, tries = call_apt_repeatedly(\n                [command], known_error_strings, max_tries - tries,\n                offset=tries)\n            if rc != 0:\n                # abort if update was unsuccessful even after retries\n                break\n            # move on to the install command if update was successful\n            command = 'install'\n\n        if command == 'install':\n            # any call is considered a try\n            tries += 1\n            known_error_strings_redo_update = [\n                'Size mismatch',\n                'maybe run apt update',\n                'The following packages cannot be authenticated!',\n                'Unable to locate package',\n                'has no installation candidate',\n                'corrupted package archive',\n            ]\n            rc, known_error_conditions = \\\\\n                call_apt(\n                    [command] + install_argv,\n                    known_error_strings + known_error_strings_redo_update)\n            if not known_error_conditions:\n                if rc != 0:\n                    # abort if install was unsuccessful\n                    break\n                # move on to the clean command if install was successful\n                command = 'clean'\n                continue\n\n            # known errors are always interpreted as a non-zero rc\n            if rc == 0:\n                rc = 1\n            # check if update needs to be rerun\n            if (\n                set(known_error_conditions) &\n                set(known_error_strings_redo_update)\n            ):\n                command = 'update'\n                print(\"'apt install' failed and likely requires \" +\n                      \"'apt update' to run again\")\n                # retry with update command\n                continue\n\n            print('')\n            print('Invocation failed due to the following known error '\n                  'conditions: ' + ', '.join(known_error_conditions))\n            print('')\n            if tries < max_tries:\n                sleep_time = 5\n                print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n                      sleep_time)\n                sleep(sleep_time)\n                # retry install command\n\n        if command == 'clean':\n            rc, _ = call_apt([command], [])\n            break\n\n    return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n    command = argv[0]\n    for i in range(1, max_tries + 1):\n        if i > 1:\n            sleep_time = 5 + 2 * (i + offset)\n            print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n                  (command, i + offset, max_tries + offset, sleep_time))\n            sleep(sleep_time)\n        rc, known_error_conditions = call_apt(argv, known_error_strings)\n        if not known_error_conditions:\n            # break the loop and return the reported rc\n            break\n        # known errors are always interpreted as a non-zero rc\n        if rc == 0:\n            rc = 1\n        print('')\n        print('Invocation failed due to the following known error conditions: '\n              ', '.join(known_error_conditions))\n        print('')\n        # retry in case of failure with known error condition\n    return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n    known_error_conditions = []\n\n    # some of the used options are not supported in older distros\n    # e.g. Ubuntu Wily, Debian Jessie\n    cmd = ['apt-get'] + argv\n    print(\"Invoking '%s'\" % ' '.join(cmd))\n    proc = subprocess.Popen(\n        cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n    lines = []\n    while True:\n        line = proc.stdout.readline()\n        if not line:\n            break\n        line = line.decode()\n        lines.append(line)\n        sys.stdout.write(line)\n        for known_error_string in known_error_strings:\n            if known_error_string in line:\n                if known_error_string not in known_error_conditions:\n                    known_error_conditions.append(known_error_string)\n    proc.wait()\n    rc = proc.returncode\n    if rc and not known_error_conditions:\n        print('Invocation failed without any known error condition, '\n              'printing all lines to debug known error detection:')\n        for index, line in enumerate(lines):\n            print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n        print('None of the following known errors were detected:')\n        for index, known_error_string in enumerate(known_error_strings):\n            print(' ', index + 1, \"'%s'\" % known_error_string)\n    return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n    sys.exit(main())" > /tmp/wrapper_scripts/apt.py
 ---> Using cache
 ---> b8d9dfe56f27
Step 19/29 : RUN echo "#!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n    max_tries = 10\n    known_error_strings = [\n        'Connection timed out',\n    ]\n\n    command = argv[0]\n    if command == 'clone':\n        rc, _, _ = call_git_repeatedly(\n            argv, known_error_strings, max_tries)\n        return rc\n    else:\n        assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n    command = argv[0]\n    for i in range(1, max_tries + 1):\n        if i > 1:\n            sleep_time = 5 + 2 * i\n            print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n                  (command, i, max_tries, sleep_time))\n            sleep(sleep_time)\n        rc, known_error_conditions = call_git(argv, known_error_strings)\n        if rc == 0 or not known_error_conditions:\n            break\n        print('')\n        print('Invocation failed due to the following known error conditions: '\n              ', '.join(known_error_conditions))\n        print('')\n        # retry in case of failure with known error condition\n    return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n    known_error_conditions = []\n\n    cmd = ['git'] + argv\n    print(\"Invoking '%s'\" % ' '.join(cmd))\n    proc = subprocess.Popen(\n        cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n    while True:\n        line = proc.stdout.readline()\n        if not line:\n            break\n        line = line.decode()\n        sys.stdout.write(line)\n        for known_error_string in known_error_strings:\n            if known_error_string in line:\n                if known_error_string not in known_error_conditions:\n                    known_error_conditions.append(known_error_string)\n    proc.wait()\n    rc = proc.returncode\n    return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n    sys.exit(main())" > /tmp/wrapper_scripts/git.py
 ---> Using cache
 ---> 85f415c39a62
Step 20/29 : RUN echo "2022-03-03 (+0000)"
 ---> Using cache
 ---> 11a10f23c912
Step 21/29 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done
 ---> Using cache
 ---> 0a3e7d93e11c
Step 22/29 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python
 ---> Using cache
 ---> 7a2979d83681
Step 23/29 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
 ---> Using cache
 ---> 2b65e61c439b
Step 24/29 : RUN echo "apt-src: 0.25.2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src
 ---> Using cache
 ---> 03a0a0c7dd41
Step 25/29 : RUN echo "debhelper: 13.5.2ubuntu1~bpo18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper
 ---> Using cache
 ---> 92db191a8c78
Step 26/29 : RUN echo "ros-melodic-catkin: 0.7.29-1bionic.20201014.191449" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin
 ---> Using cache
 ---> 15e920adc88c
Step 27/29 : USER buildfarm
 ---> Running in 3d491f389281
 ---> e573ddd49e8c
Removing intermediate container 3d491f389281
Step 28/29 : ENTRYPOINT sh -c
 ---> Running in 163d3cdb26c8
 ---> 27122ed1f9e0
Removing intermediate container 163d3cdb26c8
Step 29/29 : CMD PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic thorvald_simulator --sourcedeb-dir /tmp/binarydeb
 ---> Running in 8819b08af8f0
 ---> ccea8534e800
Removing intermediate container 8819b08af8f0
Successfully built ccea8534e800
Successfully tagged binarydeb_build.melodic_ubuntu_bionic_amd64_thorvald_simulator:latest
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Run Dockerfile - build binarydeb
# BEGIN SECTION: Run Dockerfile - build binarydeb
+ docker run --rm --cidfile=/home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/docker_build_binarydeb/docker.cid -e=HOME= -e=TRAVIS= --net=host -v /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache binarydeb_build.melodic_ubuntu_bionic_amd64_thorvald_simulator
# BEGIN SUBSECTION: build binarydeb
Package 'ros-melodic-thorvald-simulator' version: 2.2.0-2bionic.20220303.134217
Invoking 'apt-src build ros-melodic-thorvald-simulator' in '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
I: Building in /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0 ..
dpkg-buildpackage: info: source package ros-melodic-thorvald-simulator
dpkg-buildpackage: info: source version 2.2.0-2bionic.20220303.134217
dpkg-buildpackage: info: source distribution bionic
dpkg-buildpackage: info: source changed by Lars Grimstad <lgrimstad@sagarobotics.com>
 dpkg-source --before-build ros-melodic-thorvald-simulator-2.2.0
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from ros-melodic-thorvald-simulator-2.2.0/debian/source/options: --auto-commit
 fakeroot debian/rules clean
dh clean -v --buildsystem=cmake
   dh_testdir -O-v -O--buildsystem=cmake
   dh_auto_clean -O-v -O--buildsystem=cmake
   dh_clean -O-v -O--buildsystem=cmake
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/ros-melodic-thorvald-simulator.substvars debian/files
	rm -fr -- debian/ros-melodic-thorvald-simulator/ debian/tmp/
	find .  \( \( \
		\( -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 \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
 debian/rules build
dh build -v --buildsystem=cmake
   dh_testdir -O-v -O--buildsystem=cmake
   dh_update_autotools_config -O-v -O--buildsystem=cmake
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it.  It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
dh_auto_configure -- \
	-DCATKIN_BUILD_BINARY_PACKAGE="1" \
	-DCMAKE_INSTALL_PREFIX="/opt/ros/melodic" \
	-DCMAKE_PREFIX_PATH="/opt/ros/melodic"
	install -d obj-x86_64-linux-gnu
	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
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Found PythonInterp: /usr/bin/python (found version "2.7.17") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Skip enable_testing() when building binary package
-- Using CATKIN_TEST_RESULTS_DIR: /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.29
-- BUILD_SHARED_LIBS is on
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_LOCALSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR


-- Build files have been written to: /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu
make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it.  It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
dh_auto_build
	cd obj-x86_64-linux-gnu && make -j1
make[2]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
/usr/bin/cmake -H/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0 -B/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu/CMakeFiles 0
make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it.  It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
echo -- Running tests. Even if one of them fails the build is not canceled.
-- Running tests. Even if one of them fails the build is not canceled.
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
dh_auto_test || true
make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
 fakeroot debian/rules binary
dh binary -v --buildsystem=cmake
   dh_testroot -O-v -O--buildsystem=cmake
   dh_prep -O-v -O--buildsystem=cmake
	rm -f -- debian/ros-melodic-thorvald-simulator.substvars
	rm -fr -- debian/.debhelper/generated/ros-melodic-thorvald-simulator/ debian/ros-melodic-thorvald-simulator/ debian/tmp/
   dh_installdirs -O-v -O--buildsystem=cmake
	install -d debian/ros-melodic-thorvald-simulator
   debian/rules override_dh_auto_install
make[1]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it.  It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
dh_auto_install
	cd obj-x86_64-linux-gnu && make -j1 install DESTDIR=/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/debian/ros-melodic-thorvald-simulator AM_UPDATE_INFO_DIR=no
make[2]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
/usr/bin/cmake -H/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0 -B/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu/CMakeFiles 0
make -f CMakeFiles/Makefile2 preinstall
make[3]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'preinstall'.
make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/debian/ros-melodic-thorvald-simulator/opt/ros/melodic/share/thorvald_simulator/package.xml
make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu'
make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
   dh_install -O-v -O--buildsystem=cmake
	install -d debian/.debhelper/generated/ros-melodic-thorvald-simulator
   dh_installdocs -O-v -O--buildsystem=cmake
	install -d debian/ros-melodic-thorvald-simulator/usr/share/doc/ros-melodic-thorvald-simulator
   dh_installchangelogs -O-v -O--buildsystem=cmake
	install -p -m0644 debian/changelog debian/ros-melodic-thorvald-simulator/usr/share/doc/ros-melodic-thorvald-simulator/changelog.Debian
   dh_installexamples -O-v -O--buildsystem=cmake
   dh_installman -O-v -O--buildsystem=cmake
   dh_installcatalogs -O-v -O--buildsystem=cmake
   dh_installcron -O-v -O--buildsystem=cmake
   dh_installdebconf -O-v -O--buildsystem=cmake
	install -d debian/ros-melodic-thorvald-simulator/DEBIAN
   dh_installemacsen -O-v -O--buildsystem=cmake
   dh_installifupdown -O-v -O--buildsystem=cmake
   dh_installinfo -O-v -O--buildsystem=cmake
   dh_installinit -O-v -O--buildsystem=cmake
   dh_installmenu -O-v -O--buildsystem=cmake
   dh_installmime -O-v -O--buildsystem=cmake
   dh_installmodules -O-v -O--buildsystem=cmake
   dh_installlogcheck -O-v -O--buildsystem=cmake
   dh_installlogrotate -O-v -O--buildsystem=cmake
   dh_installpam -O-v -O--buildsystem=cmake
   dh_installppp -O-v -O--buildsystem=cmake
   dh_installudev -O-v -O--buildsystem=cmake
   dh_installgsettings -O-v -O--buildsystem=cmake
   dh_bugfiles -O-v -O--buildsystem=cmake
   dh_ucf -O-v -O--buildsystem=cmake
   dh_lintian -O-v -O--buildsystem=cmake
   dh_gconf -O-v -O--buildsystem=cmake
   dh_icons -O-v -O--buildsystem=cmake
   dh_perl -O-v -O--buildsystem=cmake
   dh_usrlocal -O-v -O--buildsystem=cmake
   dh_link -O-v -O--buildsystem=cmake
   dh_installwm -O-v -O--buildsystem=cmake
   dh_installxfonts -O-v -O--buildsystem=cmake
   dh_strip_nondeterminism -O-v -O--buildsystem=cmake
   dh_compress -O-v -O--buildsystem=cmake
	cd debian/ros-melodic-thorvald-simulator
	chmod a-x usr/share/doc/ros-melodic-thorvald-simulator/changelog.Debian
	gzip -9nf usr/share/doc/ros-melodic-thorvald-simulator/changelog.Debian
	cd '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
   dh_fixperms -O-v -O--buildsystem=cmake
	find debian/ros-melodic-thorvald-simulator -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/ros-melodic-thorvald-simulator ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/ros-melodic-thorvald-simulator/usr/share/doc -type f -a -true -a ! -regex 'debian/ros-melodic-thorvald-simulator/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/ros-melodic-thorvald-simulator/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/ros-melodic-thorvald-simulator -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
   dh_missing -O-v -O--buildsystem=cmake
   dh_strip -O-v -O--buildsystem=cmake
   dh_makeshlibs -O-v -O--buildsystem=cmake
	rm -f debian/ros-melodic-thorvald-simulator/DEBIAN/shlibs
   debian/rules override_dh_shlibdeps
make[1]: Entering directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it.  It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
dh_shlibdeps -l/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0/debian/ros-melodic-thorvald-simulator//opt/ros/melodic/lib/
make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0'
   dh_installdeb -O-v -O--buildsystem=cmake
   dh_gencontrol -O-v -O--buildsystem=cmake
	echo misc:Depends= >> debian/ros-melodic-thorvald-simulator.substvars
	echo misc:Pre-Depends= >> debian/ros-melodic-thorvald-simulator.substvars
	dpkg-gencontrol -pros-melodic-thorvald-simulator -ldebian/changelog -Tdebian/ros-melodic-thorvald-simulator.substvars -Pdebian/ros-melodic-thorvald-simulator -UMulti-Arch
dpkg-gencontrol: warning: Depends field of package ros-melodic-thorvald-simulator: unknown substitution variable ${shlibs:Depends}
	chmod 0644 -- debian/ros-melodic-thorvald-simulator/DEBIAN/control
	chown 0:0 -- debian/ros-melodic-thorvald-simulator/DEBIAN/control
   dh_md5sums -O-v -O--buildsystem=cmake
	(cd debian/ros-melodic-thorvald-simulator >/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
	chmod 0644 -- debian/ros-melodic-thorvald-simulator/DEBIAN/md5sums
	chown 0:0 -- debian/ros-melodic-thorvald-simulator/DEBIAN/md5sums
   dh_builddeb -O-v -O--buildsystem=cmake
	dpkg-deb --build debian/ros-melodic-thorvald-simulator ..
dpkg-deb: building package 'ros-melodic-thorvald-simulator' in '../ros-melodic-thorvald-simulator_2.2.0-2bionic.20220303.134217_amd64.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../ros-melodic-thorvald-simulator_2.2.0-2bionic.20220303.134217_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build ros-melodic-thorvald-simulator-2.2.0
dpkg-source: info: using options from ros-melodic-thorvald-simulator-2.2.0/debian/source/options: --auto-commit
dpkg-buildpackage: info: binary-only upload (no source included)
I: Successfully built in /tmp/binarydeb/ros-melodic-thorvald-simulator-2.2.0
# END SUBSECTION
+ echo # END SECTION
# END SECTION
[Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins926438690458133051.sh
+ [ false = false ]
+ echo # BEGIN SECTION: Clean up to save disk space on agents
# BEGIN SECTION: Clean up to save disk space on agents
+ chmod -R u+w /home/jenkins-slave/workspace/Mbin_uB64__thorvald_simulator__ubuntu_bionic_amd64__binary/binarydeb
+ rm -fr binarydeb/ros-melodic-thorvald-simulator-2.2.0/CHANGELOG.rst binarydeb/ros-melodic-thorvald-simulator-2.2.0/CMakeLists.txt binarydeb/ros-melodic-thorvald-simulator-2.2.0/debian binarydeb/ros-melodic-thorvald-simulator-2.2.0/obj-x86_64-linux-gnu binarydeb/ros-melodic-thorvald-simulator-2.2.0/package.xml
+ echo # END SECTION
# END SECTION
SSH: Connecting from host [lcas-buildfarm-slave-2]
SSH: Connecting with configuration [repo] ...
SSH: Disconnecting configuration [repo] ...
SSH: Transferred 2 file(s)
Build step 'Send files or execute commands over SSH' changed build result to SUCCESS
Waiting for the completion of Mrel_import-package
Mrel_import-package #1116 started.
Mrel_import-package #1116 completed. Result was SUCCESS
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 28704 killed;
[ssh-agent] Stopped.
[description-setter] Description set: 2.2.0-2bionic.20220303.134217
Triggering a new build of Mrel_sync-packages-to-testing_bionic_amd64
Finished: SUCCESS