17:34:01 # BEGIN SECTION: Build Dockerfile - build binarydeb
17:34:01 + cd /home/jenkins-slave/workspace/Mbin_uB64__fremenarray__ubuntu_bionic_amd64__binary/docker_build_binarydeb
17:34:01 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__fremenarray__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
17:34:01 Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic
17:34:01 Check docker base image for updates: docker pull ubuntu:bionic
17:34:02 bionic: Pulling from library/ubuntu
17:34:02 Digest: sha256:1d1c09d1d5e42265dd6e7d35dcc73373f0e1b76da661463f24487ac3dbeb673f
17:34:02 Status: Image is up to date for ubuntu:bionic
17:34:02 + docker build --force-rm -t binarydeb_build.melodic_ubuntu_bionic_amd64_fremenarray .
17:34:02 Sending build context to Docker daemon 23.04 kB
Sending build context to Docker daemon 23.04 kB
17:34:02 Step 1 : FROM ubuntu:bionic
17:34:02 ---> 6120d8e09b3f
17:34:02 Step 2 : VOLUME /var/cache/apt/archives
17:34:03 ---> Using cache
17:34:03 ---> b29f905cce33
17:34:03 Step 3 : ENV DEBIAN_FRONTEND noninteractive
17:34:04 ---> Using cache
17:34:04 ---> cd2d1e1fc9d8
17:34:04 Step 4 : 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
17:34:04 ---> Using cache
17:34:04 ---> 2cf434bfa57b
17:34:04 Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
17:34:05 ---> Using cache
17:34:05 ---> 38a47bd55e34
17:34:05 Step 6 : RUN locale-gen en_US.UTF-8
17:34:05 ---> Using cache
17:34:05 ---> a498930da307
17:34:05 Step 7 : ENV LANG en_US.UTF-8
17:34:06 ---> Using cache
17:34:06 ---> 1118ba2e1e0c
17:34:06 Step 8 : ENV TZ GMT+00
17:34:06 ---> Using cache
17:34:06 ---> 474f1ddcf34d
17:34:06 Step 9 : RUN useradd -u 1002 -l -m buildfarm
17:34:07 ---> Using cache
17:34:07 ---> 75ab071ab49c
17:34:07 Step 10 : RUN mkdir /tmp/keys
17:34:07 ---> Using cache
17:34:07 ---> 639e36792fe5
17:34:07 Step 11 : 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
17:34:08 ---> Using cache
17:34:08 ---> 2d1b1ddcfc6e
17:34:08 Step 12 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/9epzt1p3C++vK7RSsBDXfKzZN22apIUT0njOkL9Vuoy\nJjFetmLDaZVbmFU+4ZaX3CFtBL3ewlFiT7G6StKj40JI8QJOlDOziX2OUsqZaI2T\nYh681980od3f2OfV3LPVroz7xnyECDfBaPBPaDdb8XWSNVLhuyglb15eewK0hj++\nCut3swWH02Y3yVhzFBnosqqjyzPLBQeDMOoHAPpJHRgprfIRDoUkWAXO5re3GIUQ\ncvk0d1I1jh3luQENBFPzE4sBCACmSxiM1vpPI7BpgUNAhu0B8SWptULpiYOnDHfM\nhU1u95Z5Lu/hy3sfm4BEKgLju7Y1I3jToWTwJJzgWZRr+iuuwj3fbfHCISYIK7f3\nIWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm\nZ4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK\n7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb\noRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC\nAAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U\nNTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\nikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
17:34:08 ---> Using cache
17:34:08 ---> 804c353569ef
17:34:08 Step 13 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\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ivZY6IgLvl/CRQpVYwANShIQdbvHv\nZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO\nK+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo\nbC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs\nFn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
17:34:09 ---> Using cache
17:34:09 ---> fac92929fa2b
17:34:09 Step 14 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFdtt4UBEAC8FDSWMR07GJZ265giLn7kLF+EsJCWESUq6Cd13QN0JQ/tLibi\nQlW4ZjeOnEH9VPlqh/mKqNMG4SwRt8S+GHpePMQrr0aOkiRGfCclnAWIZURSAP+t\nPLelCt43fkw1BBTopd/0oOzO8kHu8j8WU4A8GHxqghfFWPv54FQs2iaZ2eWR7a6d\n79IJrbDKaVCCiQrkhCM8m648pNKHhuoJ9cQXFV+uvwkpfmKWGQ4ultxlOyjLHJLF\nvuML2RuAO9IxbdZjzeYNN+T+wjFIBVcPnwEO+WrYgvGkT4r9aqVqTeg3EPb7QclV\nsKBVJdxk4jZl0y22HAWqScVi6SJ15uK9pXxywDZkbpuRBWx4Th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51qNO7\n/WAud6qMtnhFoZayR/BzLKqnCioN5GYr9BAKskpPHe9cDKVS3fg+Qvc1sNJID+jf\nk52PqyW24Qsr0A9+5zQyE4tH9dfv120gj9avmg==\n=0nKc\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/2.key && apt-key add /tmp/keys/2.key
17:34:09 ---> Using cache
17:34:09 ---> ee71c97c7ac7
17:34:09 Step 15 : RUN echo deb
http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
17:34:09 ---> Using cache
17:34:09 ---> 18fa8d1b36cb
17:34:09 Step 16 : RUN echo deb
http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
17:34:10 ---> Using cache
17:34:10 ---> 83f432ba2041
17:34:10 Step 17 : RUN echo deb
http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ / | tee -a /etc/apt/sources.list.d/buildfarm.list
17:34:10 ---> Using cache
17:34:10 ---> 7c54692d38b9
17:34:10 Step 18 : 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))
17:34:10 ---> Using cache
17:34:10 ---> 89cbabe43108
17:34:10 Step 19 : RUN mkdir /tmp/wrapper_scripts
17:34:11 ---> Using cache
17:34:11 ---> 155e320f599a
17:34:11 Step 20 : 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
17:34:11 ---> Using cache
17:34:11 ---> d9b48626ca0a
17:34:11 Step 21 : 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
17:34:12 ---> Using cache
17:34:12 ---> d974664eb50b
17:34:12 Step 22 : RUN echo "2019-11-25 (+0000)"
17:34:12 ---> Using cache
17:34:12 ---> 5bc887d0d6da
17:34:12 Step 23 : 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
17:34:12 ---> Using cache
17:34:12 ---> 431f1cda7702
17:34:12 Step 24 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python
17:34:13 ---> Using cache
17:34:13 ---> 6a4e0e221066
17:34:13 Step 25 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
17:34:13 ---> Using cache
17:34:13 ---> f2c56cd64e84
17:34:13 Step 26 : 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
17:34:14 ---> Using cache
17:34:14 ---> a0392c88bcdb
17:34:14 Step 27 : RUN echo "debhelper: 12.1.1ubuntu1~ubuntu18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper
17:34:14 ---> Using cache
17:34:14 ---> 2a7e25b2255f
17:34:14 Step 28 : RUN echo "ros-melodic-actionlib: 1.12.0-1bionic.20191008.194837" && echo "ros-melodic-actionlib-msgs: 1.12.7-0bionic.20191008.155809" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-actionlib ros-melodic-actionlib-msgs
17:34:15 ---> Using cache
17:34:15 ---> 2db2c7dfdda5
17:34:15 Step 29 : RUN echo "ros-melodic-catkin: 0.7.19-1bionic.20191008.145018" && echo "ros-melodic-genmsg: 0.5.12-0bionic.20191008.153004" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin ros-melodic-genmsg
17:34:16 ---> Running in 5e60e0a03482
17:34:17 ros-melodic-catkin: 0.7.19-1bionic.20191008.145018
17:34:17 ros-melodic-genmsg: 0.5.12-0bionic.20191008.153004
17:34:18 Invoking 'apt-get update'
17:34:19 Get:1
http://10.210.9.154/ubuntu/building bionic InRelease [2,823 B]
17:34:19 Hit:2
http://archive.ubuntu.com/ubuntu bionic InRelease
17:34:19 Get:3
http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
17:34:19 Get:4
http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
17:34:19 Get:5
http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
17:34:19 Get:6
http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
17:34:19 Ign:7
http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease
17:34:19 Hit:8
http://packages.ros.org/ros/ubuntu bionic InRelease
17:34:19 Hit:9
http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release
17:34:19 Get:10
http://10.210.9.154/ubuntu/building bionic/main amd64 Packages [107 kB]
17:34:20 Fetched 450 kB in 1s (308 kB/s)
17:34:24 Reading package lists...
17:34:25 Invoking 'apt-get install -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin ros-melodic-genmsg'
17:34:26 Reading package lists...
17:34:27 Building dependency tree...
17:34:27 Reading state information...
17:34:27 Starting pkgProblemResolver with broken count: 0
17:34:27 Starting 2 pkgProblemResolver with broken count: 0
17:34:27 Done
17:34:27 ros-melodic-catkin is already the newest version (0.7.19-1bionic.20191008.145018).
17:34:27 ros-melodic-catkin set to manually installed.
17:34:27 ros-melodic-genmsg is already the newest version (0.5.12-0bionic.20191008.153004).
17:34:27 ros-melodic-genmsg set to manually installed.
17:34:27 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
17:34:27 Invoking 'apt-get clean'
17:34:28 ---> 8d4bbfc092d8
17:34:28 Removing intermediate container 5e60e0a03482
17:34:28 Step 30 : RUN echo "ros-melodic-message-runtime: 0.4.12-0bionic.20191008.154906" && echo "ros-melodic-roscpp: 1.14.3-0bionic.20191008.163433" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-message-runtime ros-melodic-roscpp
17:34:28 ---> Running in f7f20d813c91
17:34:28 ros-melodic-message-runtime: 0.4.12-0bionic.20191008.154906
17:34:28 ros-melodic-roscpp: 1.14.3-0bionic.20191008.163433
17:34:28 Invoking 'apt-get update'
17:34:28 Get:1
http://10.210.9.154/ubuntu/building bionic InRelease [2,823 B]
17:34:29 Hit:2
http://archive.ubuntu.com/ubuntu bionic InRelease
17:34:29 Hit:3
http://archive.ubuntu.com/ubuntu bionic-updates InRelease
17:34:29 Hit:4
http://archive.ubuntu.com/ubuntu bionic-backports InRelease
17:34:29 Hit:5
http://archive.ubuntu.com/ubuntu bionic-security InRelease
17:34:29 Ign:6
http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease
17:34:29 Get:7
http://10.210.9.154/ubuntu/building bionic/main amd64 Packages [108 kB]
17:34:29 Hit:8
http://security.ubuntu.com/ubuntu bionic-security InRelease
17:34:29 Hit:9
http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release
17:34:29 Hit:10
http://packages.ros.org/ros/ubuntu bionic InRelease
17:34:30 Fetched 110 kB in 2s (62.2 kB/s)
17:34:32 Reading package lists...
17:34:32 Invoking 'apt-get install -q -y -o Debug::pkgProblemResolver=yes ros-melodic-message-runtime ros-melodic-roscpp'
17:34:34 Reading package lists...
17:34:35 Building dependency tree...
17:34:35 Reading state information...
17:34:35 Starting pkgProblemResolver with broken count: 0
17:34:35 Starting 2 pkgProblemResolver with broken count: 0
17:34:35 Done
17:34:35 ros-melodic-message-runtime is already the newest version (0.4.12-0bionic.20191008.154906).
17:34:35 ros-melodic-message-runtime set to manually installed.
17:34:35 ros-melodic-roscpp is already the newest version (1.14.3-0bionic.20191008.163433).
17:34:35 ros-melodic-roscpp set to manually installed.
17:34:35 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
17:34:35 Invoking 'apt-get clean'
17:34:35 ---> 4ec9fbfc905d
17:34:35 Removing intermediate container f7f20d813c91
17:34:35 Step 31 : USER buildfarm
17:34:36 ---> Running in 6d61090fdb4d
17:34:36 ---> 5278549bdac0
17:34:36 Removing intermediate container 6d61090fdb4d
17:34:36 Step 32 : ENTRYPOINT sh -c
17:34:36 ---> Running in 2cb57c28cf72
17:34:37 ---> 412471273f4f
17:34:37 Removing intermediate container 2cb57c28cf72
17:34:37 Step 33 : CMD PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic fremenarray --sourcedeb-dir /tmp/binarydeb
17:34:37 ---> Running in 4bc22c69e826
17:34:37 ---> f353e9312e05
17:34:37 Removing intermediate container 4bc22c69e826
17:34:37 Successfully built f353e9312e05
17:34:37 + echo # END SECTION
17:34:37 # END SECTION