11:07:36# BEGIN SECTION: Check upstream projects
11:07:36Verify that no recursive upstream project is broken:
11:07:3611:07:36- 'Mbin_uB64__turtlebot_gazebo__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__kobuki_gazebo_plugins__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__kobuki_msgs__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__kobuki_msgs__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__kobuki_gazebo_plugins__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__turtlebot_bringup__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__kobuki_bumper2pc__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__kobuki_bumper2pc__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__kobuki_node__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__kobuki_keyop__ubuntu_bionic_amd64__binary' build '3' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__yocs_cmd_vel_mux__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__yocs_cmd_vel_mux__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__kobuki_keyop__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__kobuki_safety_controller__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__yocs_controllers__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__yocs_controllers__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__kobuki_safety_controller__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__kobuki_node__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__turtlebot_capabilities__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__turtlebot_capabilities__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__turtlebot_description__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__kobuki_description__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__kobuki_description__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__turtlebot_description__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__turtlebot_bringup__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Mbin_uB64__turtlebot_navigation__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__turtlebot_navigation__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__turtlebot_gazebo__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36- 'Mbin_uB64__turtlebot_stage__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__turtlebot_stage__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36- 'Mbin_uB64__turtlebot_stdr__ubuntu_bionic_amd64__binary' build '2' has result 'SUCCESS'
11:07:36 - 'Msrc_uB__turtlebot_stdr__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36- 'Msrc_uB__turtlebot_simulator__ubuntu_bionic__source' build '2' has result 'SUCCESS'
11:07:36All recursive upstream projects are (un)stable
11:07:36# END SECTION
11:07:36
2. Check free disk space
Hide Details
11:07:36# BEGIN SECTION: Check free disk space
11:07:36Usable disk space = 66046480384 bytes
11:07:36Free space threshold = 5368709120 bytes
11:07:36# END SECTION
11:07:36[Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins6200093593035119318.sh
11:07:36+ echo # BEGIN SECTION: docker version
3. docker version
Hide Details
11:07:36# BEGIN SECTION: docker version
11:07:36+ docker version
11:07:36Client:
11:07:36 Version: 17.05.0-ce
11:07:36 API version: 1.29
11:07:36 Go version: go1.7.5
11:07:36 Git commit: 89658be
11:07:36 Built: Thu May 4 22:06:06 2017
11:07:36 OS/Arch: linux/amd64
11:07:3611:07:36Server:
11:07:36 Version: 17.05.0-ce
11:07:36 API version: 1.29 (minimum version 1.12)
11:07:36 Go version: go1.7.5
11:07:36 Git commit: 89658be
11:07:36 Built: Thu May 4 22:06:06 2017
11:07:36 OS/Arch: linux/amd64
11:07:36 Experimental: false
11:07:36+ echo # END SECTION
11:07:36# END SECTION
11:07:39# BEGIN SECTION: Embed wrapper scripts
11:07:39+ rm -fr wrapper_scripts
11:07:39+ mkdir wrapper_scripts
11:07:39+ 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())
11:07:39+ echo # END SECTION
11:07:39# END SECTION
11:07:42# BEGIN SECTION: Generate Dockerfile - binarydeb task
11:07:42+ export TZ=GMT+00
11:07:42+ export PYTHONPATH=/home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm:
11:07:42+ python3 -u /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_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 turtlebot_simulator ubuntu bionic amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/buildinghttp://packages.ros.org/ros/ubuntu --distribution-repository-key-files /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_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__turtlebot_simulator__ubuntu_bionic_amd64__binary/binarydeb --dockerfile-dir /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker --env-vars --append-timestamp
11:07:42Using the following distribution repositories:
11:07:42http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/keys/0.key)
11:07:42http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/keys/1.key)
11:07:42Generating Dockerfile '/home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker/Dockerfile':
11:07:42 # generated from release/binarydeb_create_task.Dockerfile.em
11:07:4211:07:42 FROM ubuntu:bionic
11:07:4211:07:42 VOLUME ["/var/cache/apt/archives"]
11:07:4211:07:42 ENV DEBIAN_FRONTEND noninteractive
11:07:4211:07:4211:07:42 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
11:07:42 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
11:07:42 RUN locale-gen en_US.UTF-8
11:07:42 ENV LANG en_US.UTF-8
11:07:42 ENV TZ GMT+00
11:07:4211:07:4211:07:42 RUN useradd -u 1002 -l -m buildfarm
11:07:4211:07:42 RUN mkdir /tmp/keys
11:07:42 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
11:07:42 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
11:07:42 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+\nd+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS\n6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN\nqoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL\n8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/\n/SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVVokdGpcUz\nvz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQABtCZPcGVuIFJvYm90\naWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQoAPhYhBMHPbjHmut6IaLFytPQu\n1vurF8ZUBQJc7yaWAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEPQu1vur\nF8ZUkhIP/RbZY1ErvCEUy8iLJm9aSpLQnDZl5xILOxyZlzpg+Ml5bb0EkQDr92foCgcvLeAN\nKARNCaGLyNIWkuyDovPV0xZJrEy0kgBrDNb3++NmdI/+GA92pkedMXXioQvqdsxUagXAIB/s\nNGByJEhs37F05AnFvZbjUhceq3xTlvAMcrBWrgB4NwBivZY6IgLvl/CRQpVYwANShIQdbvHv\nZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO\nK+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo\nbC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs\nFn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
11:07:42 RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:07:42 RUN echo deb-src http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:07:42 RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:07:4211:07:42 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))
11:07:4211:07:42 RUN mkdir /tmp/wrapper_scripts
11:07:42 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
11:07:42 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
11:07:4211:07:42 # automatic invalidation once every day
11:07:42 RUN echo "2021-03-05 (+0000)"
11:07:4211:07:42 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
11:07:4211:07:42 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
11:07:4211:07:42 # always invalidate to actually have the latest apt repo state
11:07:42 RUN echo "2021-03-05 11:07:42 +0000"
11:07:42 RUN python3 -u /tmp/wrapper_scripts/apt.py update
11:07:4211:07:42 USER buildfarm
11:07:42 ENTRYPOINT ["sh", "-c"]
11:07:42 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 turtlebot_simulator --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic turtlebot_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 turtlebot_simulator ubuntu bionic amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/buildinghttp://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"]
11:07:42+ echo # END SECTION
11:07:42# END SECTION
11:07:42+ echo # BEGIN SECTION: Build Dockerfile - binarydeb task
10. Build Dockerfile - binarydeb task
Hide Details
11:07:42# BEGIN SECTION: Build Dockerfile - binarydeb task
11:07:42+ cd /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/docker_generating_docker
11:07:42+ python3 -u /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
11:07:43Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic
11:07:43Check docker base image for updates: docker pull ubuntu:bionic
11:07:44bionic: Pulling from library/ubuntu
11:07:45Digest: sha256:4bc3ae6596938cb0d9e5ac51a1152ec9dcac2a1c50829c74abd9c4361e321b26
11:07:45Status: Image is up to date for ubuntu:bionic
11:07:45+ docker build --force-rm -t binarydeb_task_generation.melodic_ubuntu_bionic_amd64_turtlebot_simulator .
11:07:45Sending build context to Docker daemon 20.99kB
11:07:45Step 1/28 : FROM ubuntu:bionic
11:07:45 ---> 329ed837d508
11:07:45Step 2/28 : VOLUME /var/cache/apt/archives
11:07:45 ---> Using cache
11:07:45 ---> f1c04793851a
11:07:45Step 3/28 : ENV DEBIAN_FRONTEND noninteractive
11:07:45 ---> Using cache
11:07:45 ---> c7b2c9631034
11:07:45Step 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
11:07:45 ---> Using cache
11:07:45 ---> 43874ee18e4e
11:07:45Step 5/28 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
11:07:45 ---> Using cache
11:07:45 ---> 8ff654bac7ef
11:07:45Step 6/28 : RUN locale-gen en_US.UTF-8
11:07:45 ---> Using cache
11:07:45 ---> b275e7bde173
11:07:45Step 7/28 : ENV LANG en_US.UTF-8
11:07:45 ---> Using cache
11:07:45 ---> 8f9e36b2ee10
11:07:45Step 8/28 : ENV TZ GMT+00
11:07:45 ---> Using cache
11:07:45 ---> fb345e3f12ec
11:07:45Step 9/28 : RUN useradd -u 1002 -l -m buildfarm
11:07:45 ---> Using cache
11:07:45 ---> 21b4757166f3
11:07:45Step 10/28 : RUN mkdir /tmp/keys
11:07:45 ---> Using cache
11:07:45 ---> cfb54b76d461
11:07:45Step 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
11:07:45 ---> Using cache
11:07:45 ---> 1fe5b838a301
11:07:45Step 12/28 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\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
11:07:45 ---> Using cache
11:07:45 ---> e1ed83953982
11:07:45Step 13/28 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+\nd+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS\n6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN\nqoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL\n8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/\n/SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVVokdGpcUz\nvz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQABtCZPcGVuIFJvYm90\naWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQoAPhYhBMHPbjHmut6IaLFytPQu\n1vurF8ZUBQJc7yaWAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEPQu1vur\nF8ZUkhIP/RbZY1ErvCEUy8iLJm9aSpLQnDZl5xILOxyZlzpg+Ml5bb0EkQDr92foCgcvLeAN\nKARNCaGLyNIWkuyDovPV0xZJrEy0kgBrDNb3++NmdI/+GA92pkedMXXioQvqdsxUagXAIB/s\nNGByJEhs37F05AnFvZbjUhceq3xTlvAMcrBWrgB4NwBivZY6IgLvl/CRQpVYwANShIQdbvHv\nZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO\nK+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo\nbC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs\nFn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
11:07:45 ---> Using cache
11:07:45 ---> 93b39cabd7e2
11:07:45Step 14/28 : RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:07:45 ---> Using cache
11:07:45 ---> 855011e04c67
11:07:45Step 15/28 : RUN echo deb-src http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:07:45 ---> Using cache
11:07:45 ---> beb3f1d0112f
11:07:45Step 16/28 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:07:45 ---> Using cache
11:07:45 ---> a0484220c580
11:07:45Step 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))
11:07:45 ---> Using cache
11:07:45 ---> 5e848883585f
11:07:45Step 18/28 : RUN mkdir /tmp/wrapper_scripts
11:07:45 ---> Using cache
11:07:45 ---> a33941380f81
11:07:45Step 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
11:07:45 ---> Using cache
11:07:45 ---> ea46fbf4612d
11:07:45Step 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
11:07:45 ---> Using cache
11:07:45 ---> 634c5cabfa5f
11:07:45Step 21/28 : RUN echo "2021-03-05 (+0000)"
11:07:45 ---> Using cache
11:07:45 ---> fa59afe15f12
11:07:45Step 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
11:07:45 ---> Using cache
11:07:45 ---> 06498883ebf6
11:07:45Step 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
11:07:45 ---> Using cache
11:07:45 ---> bebd41b5d37e
11:07:45Step 24/28 : RUN echo "2021-03-05 11:07:42 +0000"
11:07:47 ---> Running in 47070ebe6f10
11:07:492021-03-05 11:07:42 +0000
11:07:53 ---> 175d4758b43f
11:07:53Removing intermediate container 47070ebe6f10
11:07:53Step 25/28 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
11:07:54 ---> Running in 95b381da029c
11:07:54Invoking 'apt-get update'
11:07:55Get:1 http://10.210.9.154/ubuntu/building bionic InRelease [2,826 B]
11:07:55Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
11:07:55Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
11:07:55Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
11:07:55Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
11:07:55Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
11:07:55Get:7 http://10.210.9.154/ubuntu/building bionic/main amd64 Packages [191 kB]
11:07:55Hit:8 http://packages.ros.org/ros/ubuntu bionic InRelease
11:07:56Fetched 535 kB in 1s (361 kB/s)
11:08:00Reading package lists...
11:08:02 ---> ae41c6b22cd7
11:08:02Removing intermediate container 95b381da029c
11:08:02Step 26/28 : USER buildfarm
11:08:02 ---> Running in ef7708dc7e9f
11:08:03 ---> 26c082adb7e8
11:08:03Removing intermediate container ef7708dc7e9f
11:08:03Step 27/28 : ENTRYPOINT sh -c
11:08:03 ---> Running in 05c5974d9460
11:08:03 ---> 27b37f3a2ed3
11:08:03Removing intermediate container 05c5974d9460
11:08:03Step 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 turtlebot_simulator --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic turtlebot_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 turtlebot_simulator ubuntu bionic amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/buildinghttp://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
11:08:04 ---> Running in e993d85a18f4
11:08:04 ---> 9d57ae9a7d4e
11:08:04Removing intermediate container e993d85a18f4
11:08:04Successfully built 9d57ae9a7d4e
11:08:04Successfully tagged binarydeb_task_generation.melodic_ubuntu_bionic_amd64_turtlebot_simulator:latest
11:08:04+ echo # END SECTION
11:08:04# END SECTION
11:08:04+ echo # BEGIN SECTION: Run Dockerfile - binarydeb task
11:08:05# BEGIN SUBSECTION: get sourcedeb
11:08:14Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-melodic-turtlebot-simulator=3.0.2-1bionic'
11:08:17Invoking 'apt-get source --download-only --only-source ros-melodic-turtlebot-simulator=3.0.2-1bionic'
11:08:17Reading package lists...
11:08:17Need to get 5,256 B of source archives.
11:08:17Get:1 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-turtlebot-simulator 3.0.2-1bionic (dsc) [1,077 B]
11:08:17Get:2 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-turtlebot-simulator 3.0.2-1bionic (tar) [2,227 B]
11:08:17Get:3 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-turtlebot-simulator 3.0.2-1bionic (diff) [1,952 B]
11:08:17Fetched 5,256 B in 0s (399 kB/s)
11:08:17Download complete and in download only mode
11:08:17Invoking 'dpkg-source -x ros-melodic-turtlebot-simulator_3.0.2-1bionic.dsc'
11:08:20dpkg-source: warning: extracting unsigned source package (ros-melodic-turtlebot-simulator_3.0.2-1bionic.dsc)
11:08:20dpkg-source: info: extracting ros-melodic-turtlebot-simulator in ros-melodic-turtlebot-simulator-3.0.2
11:08:20dpkg-source: info: unpacking ros-melodic-turtlebot-simulator_3.0.2.orig.tar.gz
11:08:20dpkg-source: info: unpacking ros-melodic-turtlebot-simulator_3.0.2-1bionic.debian.tar.xz
11:08:20Package maintainer emails: marc@hanheide.net
11:08:20# END SUBSECTION
11.2. append build timestamp
Hide Details
11:08:20# BEGIN SUBSECTION: append build timestamp
11:08:20Invoking 'debchange -v 3.0.2-1bionic.20210305.110820 -p -D bionic -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:08:20# END SUBSECTION
11:08:24Looking for the '.dsc' file of package 'ros-melodic-turtlebot-simulator' with version '3.0.2-1'
11:08:30Using the following distribution repositories:
11:08:30http://10.210.9.154/ubuntu/building (/tmp/keys/0.key)
11:08:30http://packages.ros.org/ros/ubuntu (/tmp/keys/1.key)
11:08:30Generating Dockerfile '/tmp/docker_build_binarydeb/Dockerfile':
11:08:30 # generated from release/binarydeb_task.Dockerfile.em
11:08:3011:08:3011:08:30 FROM ubuntu:bionic
11:08:3011:08:30 VOLUME ["/var/cache/apt/archives"]
11:08:3011:08:30 ENV DEBIAN_FRONTEND noninteractive
11:08:3011:08:3011:08:30 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
11:08:30 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
11:08:30 RUN locale-gen en_US.UTF-8
11:08:30 ENV LANG en_US.UTF-8
11:08:30 ENV TZ GMT+00
11:08:3011:08:30 RUN useradd -u 1002 -l -m buildfarm
11:08:3011:08:30 RUN mkdir /tmp/keys
11:08:30 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
11:08:30 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
11:08:30 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+\nd+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS\n6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN\nqoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL\n8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/\n/SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVVokdGpcUz\nvz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQABtCZPcGVuIFJvYm90\naWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQoAPhYhBMHPbjHmut6IaLFytPQu\n1vurF8ZUBQJc7yaWAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEPQu1vur\nF8ZUkhIP/RbZY1ErvCEUy8iLJm9aSpLQnDZl5xILOxyZlzpg+Ml5bb0EkQDr92foCgcvLeAN\nKARNCaGLyNIWkuyDovPV0xZJrEy0kgBrDNb3++NmdI/+GA92pkedMXXioQvqdsxUagXAIB/s\nNGByJEhs37F05AnFvZbjUhceq3xTlvAMcrBWrgB4NwBivZY6IgLvl/CRQpVYwANShIQdbvHv\nZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO\nK+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo\nbC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs\nFn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
11:08:30 RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:08:30 RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:08:3011:08:30 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))
11:08:3011:08:30 RUN mkdir /tmp/wrapper_scripts
11:08:30 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
11:08:30 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
11:08:3011:08:30 # automatic invalidation once every day
11:08:30 RUN echo "2021-03-05 (+0000)"
11:08:3011:08:30 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
11:08:3011:08:30 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python
11:08:3011:08:30 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
11:08:3011:08:3011:08:30 # for each dependency: echo version, apt update, apt install, apt clean
11:08:30 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
11:08:30 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
11:08:30 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
11:08:3011:08:3011:08:30 USER buildfarm
11:08:30 ENTRYPOINT ["sh", "-c"]
11:08:30 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic turtlebot_simulator --sourcedeb-dir /tmp/binarydeb"]
11:08:30Mount the following volumes when running the container:
11:08:30 -v /tmp/ros_buildfarm:/tmp/ros_buildfarm:ro
11:08:30 -v /tmp/binarydeb:/tmp/binarydeb
11:08:43+ echo # END SECTION
11:08:43# END SECTION
11:08:44# BEGIN SECTION: Build Dockerfile - build binarydeb
11:08:44+ cd /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/docker_build_binarydeb
11:08:44+ python3 -u /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
11:08:44Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic
11:08:44Check docker base image for updates: docker pull ubuntu:bionic
11:08:46bionic: Pulling from library/ubuntu
11:08:46Digest: sha256:4bc3ae6596938cb0d9e5ac51a1152ec9dcac2a1c50829c74abd9c4361e321b26
11:08:46Status: Image is up to date for ubuntu:bionic
11:08:46+ docker build --force-rm -t binarydeb_build.melodic_ubuntu_bionic_amd64_turtlebot_simulator .
11:08:46Sending build context to Docker daemon 20.48kB
11:08:46Step 1/29 : FROM ubuntu:bionic
11:08:46 ---> 329ed837d508
11:08:46Step 2/29 : VOLUME /var/cache/apt/archives
11:08:46 ---> Using cache
11:08:46 ---> f1c04793851a
11:08:46Step 3/29 : ENV DEBIAN_FRONTEND noninteractive
11:08:46 ---> Using cache
11:08:46 ---> c7b2c9631034
11:08:46Step 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
11:08:46 ---> Using cache
11:08:46 ---> 43874ee18e4e
11:08:46Step 5/29 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
11:08:46 ---> Using cache
11:08:46 ---> 8ff654bac7ef
11:08:46Step 6/29 : RUN locale-gen en_US.UTF-8
11:08:46 ---> Using cache
11:08:46 ---> b275e7bde173
11:08:46Step 7/29 : ENV LANG en_US.UTF-8
11:08:46 ---> Using cache
11:08:46 ---> 8f9e36b2ee10
11:08:46Step 8/29 : ENV TZ GMT+00
11:08:46 ---> Using cache
11:08:46 ---> fb345e3f12ec
11:08:46Step 9/29 : RUN useradd -u 1002 -l -m buildfarm
11:08:46 ---> Using cache
11:08:46 ---> 21b4757166f3
11:08:46Step 10/29 : RUN mkdir /tmp/keys
11:08:46 ---> Using cache
11:08:46 ---> cfb54b76d461
11:08:46Step 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
11:08:46 ---> Using cache
11:08:46 ---> 1fe5b838a301
11:08:46Step 12/29 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\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
11:08:46 ---> Using cache
11:08:46 ---> e1ed83953982
11:08:46Step 13/29 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+\nd+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS\n6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN\nqoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL\n8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/\n/SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVVokdGpcUz\nvz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQABtCZPcGVuIFJvYm90\naWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQoAPhYhBMHPbjHmut6IaLFytPQu\n1vurF8ZUBQJc7yaWAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEPQu1vur\nF8ZUkhIP/RbZY1ErvCEUy8iLJm9aSpLQnDZl5xILOxyZlzpg+Ml5bb0EkQDr92foCgcvLeAN\nKARNCaGLyNIWkuyDovPV0xZJrEy0kgBrDNb3++NmdI/+GA92pkedMXXioQvqdsxUagXAIB/s\nNGByJEhs37F05AnFvZbjUhceq3xTlvAMcrBWrgB4NwBivZY6IgLvl/CRQpVYwANShIQdbvHv\nZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO\nK+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo\nbC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs\nFn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
11:08:46 ---> Using cache
11:08:46 ---> 93b39cabd7e2
11:08:46Step 14/29 : RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:08:46 ---> Using cache
11:08:46 ---> 855011e04c67
11:08:46Step 15/29 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list
11:08:46 ---> Using cache
11:08:46 ---> ee7db4fb9f9f
11:08:46Step 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))
11:08:46 ---> Using cache
11:08:46 ---> e94e763e9b91
11:08:46Step 17/29 : RUN mkdir /tmp/wrapper_scripts
11:08:46 ---> Using cache
11:08:46 ---> 851c6730f59b
11:08:46Step 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
11:08:46 ---> Using cache
11:08:46 ---> 72e86f2b2727
11:08:46Step 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
11:08:46 ---> Using cache
11:08:46 ---> dfa3be6208fa
11:08:46Step 20/29 : RUN echo "2021-03-05 (+0000)"
11:08:46 ---> Using cache
11:08:46 ---> 33885f9804fa
11:08:46Step 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
11:08:46 ---> Using cache
11:08:46 ---> c11a2292f40e
11:08:46Step 22/29 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python
11:08:46 ---> Using cache
11:08:46 ---> 848506ba266a
11:08:46Step 23/29 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
11:08:46 ---> Using cache
11:08:46 ---> aae9f0c0b836
11:08:46Step 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
11:08:46 ---> Using cache
11:08:46 ---> 5f3eca4acb24
11:08:46Step 25/29 : RUN echo "debhelper: 12.1.1ubuntu1~ubuntu18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper
11:08:46 ---> Using cache
11:08:46 ---> 944c9a4f6173
11:08:46Step 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
11:08:46 ---> Using cache
11:08:46 ---> 75baf0d7ff6e
11:08:46Step 27/29 : USER buildfarm
11:08:46 ---> Using cache
11:08:46 ---> 1d45a25fab70
11:08:46Step 28/29 : ENTRYPOINT sh -c
11:08:46 ---> Using cache
11:08:46 ---> 59b8649b14bf
11:08:46Step 29/29 : CMD PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic turtlebot_simulator --sourcedeb-dir /tmp/binarydeb
11:08:47 ---> Running in 107b9aafcda4
11:08:48 ---> e438420543fb
11:08:48Removing intermediate container 107b9aafcda4
11:08:48Successfully built e438420543fb
11:08:48Successfully tagged binarydeb_build.melodic_ubuntu_bionic_amd64_turtlebot_simulator:latest
11:08:48+ echo # END SECTION
11:08:48# END SECTION
11:08:48+ echo # BEGIN SECTION: Run Dockerfile - build binarydeb
13. Run Dockerfile - build binarydeb
Hide Details
11:08:48# BEGIN SECTION: Run Dockerfile - build binarydeb
11:08:48+ docker run --rm --cidfile=/home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/docker_build_binarydeb/docker.cid -e=HOME= -e=TRAVIS= --net=host -v /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache binarydeb_build.melodic_ubuntu_bionic_amd64_turtlebot_simulator
13.1. build binarydeb
Hide Details
11:08:49# BEGIN SUBSECTION: build binarydeb
11:08:49Package 'ros-melodic-turtlebot-simulator' version: 3.0.2-1bionic.20210305.110820
11:08:52Invoking 'apt-src build ros-melodic-turtlebot-simulator' in '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:08:56I: Building in /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2 ..
11:08:56dpkg-buildpackage: info: source package ros-melodic-turtlebot-simulator
11:08:56dpkg-buildpackage: info: source version 3.0.2-1bionic.20210305.110820
11:08:56dpkg-buildpackage: info: source distribution bionic
11:08:56dpkg-buildpackage: info: source changed by Marc Hanheide <marc@hanheide.net>
11:08:56 dpkg-source --before-build ros-melodic-turtlebot-simulator-3.0.2
11:08:56dpkg-buildpackage: info: host architecture amd64
11:08:56dpkg-source: info: using options from ros-melodic-turtlebot-simulator-3.0.2/debian/source/options: --auto-commit
11:08:56 fakeroot debian/rules clean
11:08:57dh clean -v --buildsystem=cmake
11:08:57 dh_testdir -O-v -O--buildsystem=cmake
11:08:57 dh_auto_clean -O-v -O--buildsystem=cmake
11:08:58 dh_clean -O-v -O--buildsystem=cmake
11:08:58 rm -f debian/debhelper-build-stamp
11:08:58 rm -rf debian/.debhelper/
11:08:58 rm -f -- debian/ros-melodic-turtlebot-simulator.substvars debian/files
11:08:58 rm -fr -- debian/ros-melodic-turtlebot-simulator/ debian/tmp/
11:08:58 find . \( \( \
11:08:58 \( -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 \
11:08:58 \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
11:08:58 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
11:08:58 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
11:08:58 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
11:08:58 \) -exec rm -f {} + \) -o \
11:08:58 \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
11:08:58 debian/rules build
11:08:58dh build -v --buildsystem=cmake
11:08:58 dh_testdir -O-v -O--buildsystem=cmake
11:08:58 dh_update_autotools_config -O-v -O--buildsystem=cmake
11:08:58 debian/rules override_dh_auto_configure
11:08:58make[1]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:08:58# In case we're installing to a non-standard location, look for a setup.sh
11:08:58# in the install tree that was dropped by catkin, and source it. It will
11:08:58# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
11:08:58if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
11:08:58dh_auto_configure -- \
11:08:58 -DCATKIN_BUILD_BINARY_PACKAGE="1" \
11:08:58 -DCMAKE_INSTALL_PREFIX="/opt/ros/melodic" \
11:08:58 -DCMAKE_PREFIX_PATH="/opt/ros/melodic"
11:08:58 install -d obj-x86_64-linux-gnu
11:08:58 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
11:08:59-- The C compiler identification is GNU 7.5.0
11:08:59-- The CXX compiler identification is GNU 7.5.0
11:08:59-- Check for working C compiler: /usr/bin/cc
11:09:00-- Check for working C compiler: /usr/bin/cc -- works
11:09:00-- Detecting C compiler ABI info
11:09:00-- Detecting C compiler ABI info - done
11:09:00-- Detecting C compile features
11:09:01-- Detecting C compile features - done
11:09:01-- Check for working CXX compiler: /usr/bin/c++
11:09:01-- Check for working CXX compiler: /usr/bin/c++ -- works
11:09:01-- Detecting CXX compiler ABI info
11:09:01-- Detecting CXX compiler ABI info - done
11:09:01-- Detecting CXX compile features
11:09:03-- Detecting CXX compile features - done
11:09:03-- Using CATKIN_DEVEL_PREFIX: /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu/devel
11:09:03-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
11:09:03-- This workspace overlays: /opt/ros/melodic
11:09:03-- Found PythonInterp: /usr/bin/python (found version "2.7.17")
11:09:03-- Using PYTHON_EXECUTABLE: /usr/bin/python
11:09:03-- Using Debian Python package layout
11:09:03-- Using empy: /usr/bin/empy
11:09:03-- Using CATKIN_ENABLE_TESTING: ON
11:09:03-- Skip enable_testing() when building binary package
11:09:03-- Using CATKIN_TEST_RESULTS_DIR: /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu/test_results
11:09:03-- Found gtest sources under '/usr/src/googletest': gtests will be built
11:09:03-- Found gmock sources under '/usr/src/googletest': gmock will be built
11:09:03-- Looking for pthread.h
11:09:03-- Looking for pthread.h - found
11:09:03-- Looking for pthread_create
11:09:04-- Looking for pthread_create - not found
11:09:04-- Looking for pthread_create in pthreads
11:09:04-- Looking for pthread_create in pthreads - not found
11:09:04-- Looking for pthread_create in pthread
11:09:04-- Looking for pthread_create in pthread - found
11:09:04-- Found Threads: TRUE
11:09:04-- Using Python nosetests: /usr/bin/nosetests-2.7
11:09:04-- catkin 0.7.29
11:09:04-- BUILD_SHARED_LIBS is on
11:09:05-- Configuring done
11:09:05-- Generating done
11:09:05CMake Warning:
11:09:05 Manually-specified variables were not used by the project:
11:09:0511:09:05 CMAKE_EXPORT_NO_PACKAGE_REGISTRY
11:09:05 CMAKE_INSTALL_LOCALSTATEDIR
11:09:05 CMAKE_INSTALL_SYSCONFDIR
11:09:0511:09:0511:09:05-- Build files have been written to: /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu
11:09:05make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:05 debian/rules override_dh_auto_build
11:09:05make[1]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:05# In case we're installing to a non-standard location, look for a setup.sh
11:09:05# in the install tree that was dropped by catkin, and source it. It will
11:09:05# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
11:09:05if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
11:09:05dh_auto_build
11:09:05 cd obj-x86_64-linux-gnu && make -j1
11:09:05make[2]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:05/usr/bin/cmake -H/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2 -B/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
11:09:05/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
11:09:05make -f CMakeFiles/Makefile2 all
11:09:05make[3]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:05make[3]: Nothing to be done for 'all'.
11:09:05make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:05/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu/CMakeFiles 0
11:09:05make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:05make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:05 debian/rules override_dh_auto_test
11:09:05make[1]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:05# In case we're installing to a non-standard location, look for a setup.sh
11:09:05# in the install tree that was dropped by catkin, and source it. It will
11:09:05# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
11:09:05echo -- Running tests. Even if one of them fails the build is not canceled.
11:09:05-- Running tests. Even if one of them fails the build is not canceled.
11:09:05if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
11:09:05dh_auto_test || true
11:09:05make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:05 fakeroot debian/rules binary
11:09:06dh binary -v --buildsystem=cmake
11:09:06 dh_testroot -O-v -O--buildsystem=cmake
11:09:06 dh_prep -O-v -O--buildsystem=cmake
11:09:06 rm -f -- debian/ros-melodic-turtlebot-simulator.substvars
11:09:06 rm -fr -- debian/.debhelper/generated/ros-melodic-turtlebot-simulator/ debian/ros-melodic-turtlebot-simulator/ debian/tmp/
11:09:06 dh_installdirs -O-v -O--buildsystem=cmake
11:09:06 install -d debian/ros-melodic-turtlebot-simulator
11:09:06 debian/rules override_dh_auto_install
11:09:06make[1]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:06# In case we're installing to a non-standard location, look for a setup.sh
11:09:06# in the install tree that was dropped by catkin, and source it. It will
11:09:06# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
11:09:06if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
11:09:06dh_auto_install
11:09:06 cd obj-x86_64-linux-gnu && make -j1 install DESTDIR=/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/debian/ros-melodic-turtlebot-simulator AM_UPDATE_INFO_DIR=no
11:09:06make[2]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:06/usr/bin/cmake -H/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2 -B/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
11:09:06/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
11:09:06make -f CMakeFiles/Makefile2 all
11:09:06make[3]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:06make[3]: Nothing to be done for 'all'.
11:09:06make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:07/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu/CMakeFiles 0
11:09:07make -f CMakeFiles/Makefile2 preinstall
11:09:07make[3]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:07make[3]: Nothing to be done for 'preinstall'.
11:09:07make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:07Install the project...
11:09:07/usr/bin/cmake -P cmake_install.cmake
11:09:07-- Install configuration: "None"
11:09:07-- Installing: /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/debian/ros-melodic-turtlebot-simulator/opt/ros/melodic/share/turtlebot_simulator/package.xml
11:09:07make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu'
11:09:07make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:07 dh_install -O-v -O--buildsystem=cmake
11:09:07 install -d debian/.debhelper/generated/ros-melodic-turtlebot-simulator
11:09:07 dh_installdocs -O-v -O--buildsystem=cmake
11:09:07 install -d debian/ros-melodic-turtlebot-simulator/usr/share/doc/ros-melodic-turtlebot-simulator
11:09:07 dh_installchangelogs -O-v -O--buildsystem=cmake
11:09:07 install -p -m0644 debian/changelog debian/ros-melodic-turtlebot-simulator/usr/share/doc/ros-melodic-turtlebot-simulator/changelog.Debian
11:09:07 dh_installexamples -O-v -O--buildsystem=cmake
11:09:07 dh_installman -O-v -O--buildsystem=cmake
11:09:07 dh_installcatalogs -O-v -O--buildsystem=cmake
11:09:07 dh_installcron -O-v -O--buildsystem=cmake
11:09:07 dh_installdebconf -O-v -O--buildsystem=cmake
11:09:08 install -d debian/ros-melodic-turtlebot-simulator/DEBIAN
11:09:08 dh_installemacsen -O-v -O--buildsystem=cmake
11:09:08 dh_installifupdown -O-v -O--buildsystem=cmake
11:09:08 dh_installinfo -O-v -O--buildsystem=cmake
11:09:08 dh_installinit -O-v -O--buildsystem=cmake
11:09:08 dh_installmenu -O-v -O--buildsystem=cmake
11:09:08 dh_installmime -O-v -O--buildsystem=cmake
11:09:08 dh_installmodules -O-v -O--buildsystem=cmake
11:09:08 dh_installlogcheck -O-v -O--buildsystem=cmake
11:09:08 dh_installlogrotate -O-v -O--buildsystem=cmake
11:09:08 dh_installpam -O-v -O--buildsystem=cmake
11:09:08 dh_installppp -O-v -O--buildsystem=cmake
11:09:08 dh_installudev -O-v -O--buildsystem=cmake
11:09:08 dh_installgsettings -O-v -O--buildsystem=cmake
11:09:09 dh_bugfiles -O-v -O--buildsystem=cmake
11:09:09 dh_ucf -O-v -O--buildsystem=cmake
11:09:09 dh_lintian -O-v -O--buildsystem=cmake
11:09:09 dh_gconf -O-v -O--buildsystem=cmake
11:09:09 dh_icons -O-v -O--buildsystem=cmake
11:09:09 dh_perl -O-v -O--buildsystem=cmake
11:09:09 dh_usrlocal -O-v -O--buildsystem=cmake
11:09:09 dh_link -O-v -O--buildsystem=cmake
11:09:09 dh_installwm -O-v -O--buildsystem=cmake
11:09:09 dh_installxfonts -O-v -O--buildsystem=cmake
11:09:09 dh_strip_nondeterminism -O-v -O--buildsystem=cmake
11:09:09 dh_compress -O-v -O--buildsystem=cmake
11:09:10 cd debian/ros-melodic-turtlebot-simulator
11:09:10 chmod a-x usr/share/doc/ros-melodic-turtlebot-simulator/changelog.Debian
11:09:10 gzip -9nf usr/share/doc/ros-melodic-turtlebot-simulator/changelog.Debian
11:09:10 cd '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:10 dh_fixperms -O-v -O--buildsystem=cmake
11:09:10 find debian/ros-melodic-turtlebot-simulator -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
11:09:10 find debian/ros-melodic-turtlebot-simulator ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
11:09:10 find debian/ros-melodic-turtlebot-simulator/usr/share/doc -type f -a -true -a ! -regex 'debian/ros-melodic-turtlebot-simulator/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
11:09:10 find debian/ros-melodic-turtlebot-simulator/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
11:09:10 find debian/ros-melodic-turtlebot-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
11:09:10 dh_missing -O-v -O--buildsystem=cmake
11:09:10 dh_strip -O-v -O--buildsystem=cmake
11:09:10 dh_makeshlibs -O-v -O--buildsystem=cmake
11:09:10 rm -f debian/ros-melodic-turtlebot-simulator/DEBIAN/shlibs
11:09:10 debian/rules override_dh_shlibdeps
11:09:10make[1]: Entering directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:10# In case we're installing to a non-standard location, look for a setup.sh
11:09:10# in the install tree that was dropped by catkin, and source it. It will
11:09:10# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
11:09:10if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
11:09:10dh_shlibdeps -l/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2/debian/ros-melodic-turtlebot-simulator//opt/ros/melodic/lib/
11:09:10make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2'
11:09:10 dh_installdeb -O-v -O--buildsystem=cmake
11:09:10 dh_gencontrol -O-v -O--buildsystem=cmake
11:09:10 echo misc:Depends= >> debian/ros-melodic-turtlebot-simulator.substvars
11:09:10 echo misc:Pre-Depends= >> debian/ros-melodic-turtlebot-simulator.substvars
11:09:10 dpkg-gencontrol -pros-melodic-turtlebot-simulator -ldebian/changelog -Tdebian/ros-melodic-turtlebot-simulator.substvars -Pdebian/ros-melodic-turtlebot-simulator -UMulti-Arch
11:09:10dpkg-gencontrol: warning: Depends field of package ros-melodic-turtlebot-simulator: unknown substitution variable ${shlibs:Depends}
11:09:10 chmod 0644 -- debian/ros-melodic-turtlebot-simulator/DEBIAN/control
11:09:10 chown 0:0 -- debian/ros-melodic-turtlebot-simulator/DEBIAN/control
11:09:11 dh_md5sums -O-v -O--buildsystem=cmake
11:09:11 (cd debian/ros-melodic-turtlebot-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
11:09:11 chmod 0644 -- debian/ros-melodic-turtlebot-simulator/DEBIAN/md5sums
11:09:11 chown 0:0 -- debian/ros-melodic-turtlebot-simulator/DEBIAN/md5sums
11:09:11 dh_builddeb -O-v -O--buildsystem=cmake
11:09:11 dpkg-deb --build debian/ros-melodic-turtlebot-simulator ..
11:09:11dpkg-deb: building package 'ros-melodic-turtlebot-simulator' in '../ros-melodic-turtlebot-simulator_3.0.2-1bionic.20210305.110820_amd64.deb'.
11:09:11 dpkg-genbuildinfo --build=binary
11:09:11 dpkg-genchanges --build=binary >../ros-melodic-turtlebot-simulator_3.0.2-1bionic.20210305.110820_amd64.changes
11:09:11dpkg-genchanges: info: binary-only upload (no source code included)
11:09:11 dpkg-source --after-build ros-melodic-turtlebot-simulator-3.0.2
11:09:11dpkg-source: info: using options from ros-melodic-turtlebot-simulator-3.0.2/debian/source/options: --auto-commit
11:09:12dpkg-buildpackage: info: binary-only upload (no source included)
11:09:12I: Successfully built in /tmp/binarydeb/ros-melodic-turtlebot-simulator-3.0.2
11:09:12# END SUBSECTION
11:09:12+ echo # END SECTION
11:09:12# END SECTION
11:09:12[Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/jenkins1409166323335239278.sh
11:09:12+ [ false = false ]
11:09:12+ echo # BEGIN SECTION: Clean up to save disk space on agents
14. Clean up to save disk space on agents
Hide Details
11:09:12# BEGIN SECTION: Clean up to save disk space on agents
11:09:12+ chmod -R u+w /home/jenkins-slave/workspace/Mbin_uB64__turtlebot_simulator__ubuntu_bionic_amd64__binary/binarydeb
11:09:12+ rm -fr binarydeb/ros-melodic-turtlebot-simulator-3.0.2/CHANGELOG.rst binarydeb/ros-melodic-turtlebot-simulator-3.0.2/CMakeLists.txt binarydeb/ros-melodic-turtlebot-simulator-3.0.2/debian binarydeb/ros-melodic-turtlebot-simulator-3.0.2/obj-x86_64-linux-gnu binarydeb/ros-melodic-turtlebot-simulator-3.0.2/package.xml
11:09:12+ echo # END SECTION
11:09:12# END SECTION
11:09:12SSH: Connecting from host [lcas-buildfarm-slave-1]
11:09:12SSH: Connecting with configuration [repo] ...
11:09:13SSH: Disconnecting configuration [repo] ...
11:09:13SSH: Transferred 2 file(s)
11:09:13Build step 'Send files or execute commands over SSH' changed build result to SUCCESS
11:09:13Waiting for the completion of Mrel_import-package11:09:14Mrel_import-package #886 started.
11:09:23Mrel_import-package #886 completed. Result was SUCCESS
11:09:23$ ssh-agent -k
11:09:23unset SSH_AUTH_SOCK;
11:09:23unset SSH_AGENT_PID;
11:09:23echo Agent pid 5008 killed;
11:09:23[ssh-agent] Stopped.
11:09:23[description-setter] Description set: 3.0.2-1bionic.20210305.110820
11:09:23Triggering a new build of Mrel_sync-packages-to-testing_bionic_amd6411:09:23Finished: SUCCESS