20:31:52# BEGIN SECTION: Check upstream projects
20:31:52Verify that no recursive upstream project is broken:
20:31:52- 'Kbin_uX64__cititruck_description__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__asus_description__ubuntu_xenial_amd64__binary' build '3' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__kinect_control__ubuntu_xenial_amd64__binary' build '4' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__kinect_control__ubuntu_xenial__source' build '4' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__asus_description__ubuntu_xenial__source' build '3' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__kinect2_description__ubuntu_xenial_amd64__binary' build '4' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__kinect2_description__ubuntu_xenial__source' build '4' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__velodyne_description8__ubuntu_xenial_amd64__binary' build '3' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__velodyne_description8__ubuntu_xenial__source' build '3' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__cititruck_description__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__cititruck_gazebo__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__cititruck_gazebo__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__cititruck_teleop__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__cititruck_teleop__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__euro_pallet__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__euro_pallet__ubuntu_xenial__source' build '15' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__gazebo_models_oru__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__gazebo_models_oru__ubuntu_xenial__source' build '15' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__gazebo_plugins_oru__ubuntu_xenial_amd64__binary' build '18' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__orunav_generic__ubuntu_xenial_amd64__binary' build '22' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_generic__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__gazebo_plugins_oru__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__gazebo_worlds_oru__ubuntu_xenial_amd64__binary' build '17' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__gazebo_worlds_oru__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_constraint_extract__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__orunav_conversions__ubuntu_xenial_amd64__binary' build '17' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__orunav_msgs__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_msgs__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_conversions__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__orunav_geometry__ubuntu_xenial_amd64__binary' build '18' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_geometry__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__orunav_rviz__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_rviz__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_constraint_extract__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_coordinator_fake__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_coordinator_fake__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_debug__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__orunav_node_utils__ubuntu_xenial_amd64__binary' build '14' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_node_utils__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_debug__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_fork_control__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_fork_control__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_launch__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_launch__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_motion_planner__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_motion_planner__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_mpc__ubuntu_xenial_amd64__binary' build '17' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_mpc__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_pallet_detection_sdf__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_pallet_detection_sdf__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_params__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_params__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_path_pool__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_path_pool__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_path_smoother__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__acado__ubuntu_xenial_amd64__binary' build '3' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__acado__ubuntu_xenial__source' build '3' has result 'SUCCESS'
20:31:52 - 'Kbin_uX64__orunav_trajectory_processor__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_trajectory_processor__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_path_smoother__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_rosbag_tools__ubuntu_xenial_amd64__binary' build '18' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_rosbag_tools__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Kbin_uX64__orunav_vehicle_execution__ubuntu_xenial_amd64__binary' build '15' has result 'SUCCESS'
20:31:52 - 'Ksrc_uX__orunav_vehicle_execution__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52- 'Ksrc_uX__navigation_oru__ubuntu_xenial__source' build '14' has result 'SUCCESS'
20:31:52All recursive upstream projects are (un)stable
20:31:52# END SECTION
20:31:52
2. Check free disk space
Hide Details
20:31:52# BEGIN SECTION: Check free disk space
20:31:52Usable disk space = 54909026304 bytes
20:31:52Free space threshold = 5368709120 bytes
20:31:52# END SECTION
20:31:52[Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson4200930075869747418.sh
20:31:52+ echo # BEGIN SECTION: docker version
3. docker version
Hide Details
20:31:52# BEGIN SECTION: docker version
20:31:52+ docker version
20:31:53Client:
20:31:53 Version: 1.9.1
20:31:53 API version: 1.21
20:31:53 Go version: go1.4.2
20:31:53 Git commit: a34a1d5
20:31:53 Built: Fri Nov 20 13:12:04 UTC 2015
20:31:53 OS/Arch: linux/amd64
20:31:5320:31:53Server:
20:31:53 Version: 1.9.1
20:31:53 API version: 1.21
20:31:53 Go version: go1.4.2
20:31:53 Git commit: a34a1d5
20:31:53 Built: Fri Nov 20 13:12:04 UTC 2015
20:31:53 OS/Arch: linux/amd64
20:31:53+ echo # END SECTION
20:31:53# END SECTION
20:31:53+ echo # BEGIN SECTION: docker info
4. docker info
Hide Details
20:31:53# BEGIN SECTION: docker info
20:31:53+ docker info
20:31:55Containers: 316
20:31:55Images: 2058
20:31:55Server Version: 1.9.1
20:31:55Storage Driver: aufs
20:31:55 Root Dir: /var/lib/docker/aufs
20:31:55 Backing Filesystem: extfs
20:31:55 Dirs: 3032
20:31:55 Dirperm1 Supported: false
20:31:55Execution Driver: native-0.2
20:31:55Logging Driver: json-file
20:31:55Kernel Version: 3.13.0-29-generic
20:31:55Operating System: Ubuntu 14.04 LTS
20:31:55CPUs: 2
20:31:55Total Memory: 3.861 GiB
20:31:55Name: lcas-buildfarm-slave-3
20:31:55ID: LZSS:PF7G:CREH:TEQW:FH57:3M6D:KCSS:ODQY:SPHA:ND7A:FHYG:PNDE
20:31:55WARNING: No swap limit support
20:31:55+ echo # END SECTION
20:31:55# END SECTION
20:31:55[Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson3273082980689620264.sh
20:31:55+ echo # BEGIN SECTION: Check docker status
5. Check docker status
Hide Details
20:31:55# BEGIN SECTION: Check docker status
20:31:55+ echo Testing trivial docker invocation...
20:31:55Testing trivial docker invocation...
20:31:55+ docker run --rm ubuntu:xenial true
20:31:55+ echo 'docker run' returned 0
20:31:55'docker run' returned 0
20:31:55docker seems operational, continuing
20:31:55[Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson1805271440246868210.sh
20:31:55+ echo # END SECTION
20:31:55# END SECTION
20:31:56# BEGIN SECTION: Embed wrapper scripts
20:31:56+ rm -fr wrapper_scripts
20:31:56+ mkdir wrapper_scripts
20:31:56+ printf #!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an "AS IS" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert "Command '%%s' not implemented" %% command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print("Reinvoke 'git %%s' (%%d/%%d) after sleeping %%s seconds" %%\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print("Invoking '%%s'" %% ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())
20:31:56+ echo # END SECTION
20:31:56# END SECTION
20:31:59# BEGIN SECTION: Generate Dockerfile - binarydeb task
20:31:59+ export TZ=GMT+00
20:31:59+ export PYTHONPATH=/home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/ros_buildfarm:
20:31:59+ python3 -u /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/release/run_binarydeb_job.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml kinetic navigation_oru ubuntu xenial amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/buildinghttp://packages.ros.org/ros/ubuntu --distribution-repository-key-files /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/keys/1.key --target-repository http://10.210.9.154/ubuntu/building --binarydeb-dir /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/binarydeb --dockerfile-dir /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/docker_generating_docker --append-timestamp
20:32:00Using the following distribution repositories:
20:32:00http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/keys/0.key)
20:32:00http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/keys/1.key)
20:32:00Generating Dockerfile '/home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/docker_generating_docker/Dockerfile':
20:32:00 # generated from release/binarydeb_create_task.Dockerfile.em
20:32:0020:32:00 FROM ubuntu:xenial
20:32:0020:32:00 VOLUME ["/var/cache/apt/archives"]
20:32:0020:32:00 ENV DEBIAN_FRONTEND noninteractive
20:32:0020:32:00 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
20:32:00 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
20:32:00 RUN locale-gen en_US.UTF-8
20:32:00 ENV LANG en_US.UTF-8
20:32:00 ENV TZ GMT+00
20:32:0020:32:0020:32:00 RUN useradd -u 1002 -m buildfarm
20:32:0020:32:0020:32:00 RUN mkdir /tmp/keys
20:32:00 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/9epzt1p3C++vK7RSsBDXfKzZN22apIUT0njOkL9Vuoy\nJjFetmLDaZVbmFU+4ZaX3CFtBL3ewlFiT7G6StKj40JI8QJOlDOziX2OUsqZaI2T\nYh681980od3f2OfV3LPVroz7xnyECDfBaPBPaDdb8XWSNVLhuyglb15eewK0hj++\nCut3swWH02Y3yVhzFBnosqqjyzPLBQeDMOoHAPpJHRgprfIRDoUkWAXO5re3GIUQ\ncvk0d1I1jh3luQENBFPzE4sBCACmSxiM1vpPI7BpgUNAhu0B8SWptULpiYOnDHfM\nhU1u95Z5Lu/hy3sfm4BEKgLju7Y1I3jToWTwJJzgWZRr+iuuwj3fbfHCISYIK7f3\nIWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm\nZ4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK\n7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb\noRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC\nAAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U\nNTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\nikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
20:32:00 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQGiBEsy5KkRBADJbDSISoamRM5AA20bfAeBuhhaI+VaiCVcxw90sq9AI5lIc42F\nWzM2acm8yplqWiehAqOLKd+iIrqNGZ+VavZEPTx7o06UZUMRoPBiTFaCwrQ5avKz\nlt7ij8PRMVWNrJ7A2lDYXfFQVV1o3Xo06qVnv0KLLUmiur0LBu4H/oTH3wCgt+/I\nD3LUKaMJsc77KwFBTjHB0EsD/26Z2Ud12f3urSNyN6VMWnP3rz6xsmtY4Qsmkbnr\nJuduxCQBZv6bX1Cr2ulXkv0fFOr+s5OyUv7zyCPbxiJFh3Br7fJGb0b5/M208KPe\ngiITY9hMh/aUbKjXCPoOXPxSL6SWOWV8taR6903EFyLBN0qno/kXIBKnVqBZobgn\njIEPA/0fTnxtZtE7EpirGQMF2caJfv7/LCgXmRs9xAhgbE0/caoa1tnc79uaHmLZ\nFtbGFoAO31YNYM/IUHtmabbGdvZ4oYUwDhjBevVvC7aI+XhuNGK5mU8qCLLSEUOl\nCUr6BJq/0iFmjwjmwk9idZEYhqSNy2OoYJbq45rbHfbdKLEVrbQeUk9TIEJ1aWxk\nZXIgPHJvc2J1aWxkQHJvcy5vcmc+iGAEExECACAFAksy5KkCGwMGCwkIBwMCBBUC\nCAMEFgIDAQIeAQIXgAAKCRBVI7rusB+hFmk7AJ0XsLp05KA8l3YzAumZfjSN04MZ\njQCfQHfp4aQUXdOCUtetVo0QZUX3IuO5Ag0ESzLkrhAIAOCuSC83VXYWf8gOMSzd\nxwpsH/uLV9Wze2LGnajsJLjEOhcsz2BHfxqNXhYaE9aQaodPCpbUAkPq8tLbpXy0\nSWRCx0F5RcplXx5vIWbP6TlfPbRpK70w7IWd6vsNrjwEHjlhOLcNcj42sp5pgx4b\ndceK06k5Ml2hYovPnD9o2TYgjOqg5FHZ2g1J0103n/66bN/hZnpLaZJYQiPWCyq6\nK0565i1k2Y7hgWB/OXqwaqCehqmLTvpyQGzE1UJvKLuYU+T+4hBnSPbT3KIi5fCz\nlIwvxijOMcfbkLhzYQXcU0Rd1VItcd5nmPL4z97jBxzuhkgxXpGR4WGKhvsA2Z9Y\nUtsAAwYH/3Bf44bTpD9bVADUdab3e7zm8iHfh9K/a83mIgDB7mHV6WuemQVTf/1d\neu4mI5WtpbOCoucybGfjGIIAcSxwIx6VfC7HSp4J51bOpHhbdDffUEk6QVsZjwoF\nyn3W9W3ZVeTI+ch/Qoo5a98SnmdjN8eXI/qCuiXOHc6rXDXc2R0iox/1EAS8xGVd\ncYZe7IWBO2CjCknyhLrWxZHoy+i1GCZ9KvPF/Ef2dmLhCydT73ZlumsY8N5vm76Q\nul1G7f8LNbnMgXQafRkPffrAXSVhGY3Z2IiBwFNgxcKTq479l7yedYRGeU1A+SYI\nYmRFWHXt3rTkMlQSpxCsB0fAYfrwEqqISQQYEQIACQUCSzLkrgIbDAAKCRBVI7ru\nsB+hFpryAJ9qNz3h3ijt9TkAV0CHufsPT6Cl4gCglfg7tJn2lsSF3HTpoDDO1Fgg\nx9o=\n=AGYp\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
20:32:00 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:00 RUN echo deb-src http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:00 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:0020:32:00 RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && (echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) || (echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)
20:32:0020:32:00 RUN mkdir /tmp/wrapper_scripts
20:32:00 RUN echo "#!/usr/bin/env python3\n\n# Copyright 2014-2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Failed to fetch',\n '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 ]\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('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
20:32:00 RUN echo "#!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/git.py
20:32:0020:32:00 # automatic invalidation once every day
20:32:00 RUN echo "2018-09-12 (+0000)"
20:32:0020:32:00 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
20:32:0020:32:00 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y devscripts dpkg-dev python3-apt python3-catkin-pkg-modules python3-empy python3-rosdistro-modules python3-yaml
20:32:0020:32:00 # always invalidate to actually have the latest apt repo state
20:32:00 RUN echo "2018-09-12 19:32:00 +0000"
20:32:00 RUN python3 -u /tmp/wrapper_scripts/apt.py update
20:32:0020:32:00 USER buildfarm
20:32:00 ENTRYPOINT ["sh", "-c"]
20:32:00 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 kinetic navigation_oru --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py kinetic navigation_oru --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 kinetic navigation_oru ubuntu xenial 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 --dockerfile-dir /tmp/docker_build_binarydeb"]
20:32:00+ echo # END SECTION
20:32:00# END SECTION
20:32:00+ echo # BEGIN SECTION: Build Dockerfile - binarydeb task
10. Build Dockerfile - binarydeb task
Hide Details
20:32:00# BEGIN SECTION: Build Dockerfile - binarydeb task
20:32:00+ cd /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/docker_generating_docker
20:32:00+ python3 -u /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
20:32:00Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial
20:32:00Check docker base image for updates: docker pull ubuntu:xenial
20:32:01xenial: Pulling from library/ubuntu
20:32:01Digest: sha256:f53ee6c26fed293a1faaad6cb83713ce9289e4a38a9ea7e0d78c156fa1022e75
20:32:01Status: Image is up to date for ubuntu:xenial
20:32:01+ docker build --force-rm -t binarydeb_task_generation.kinetic_ubuntu_xenial_amd64_navigation_oru .
20:32:01Sending build context to Docker daemon 18.94 kB
Sending build context to Docker daemon 18.94 kB
20:32:01Step 1 : FROM ubuntu:xenial
20:32:01 ---> 2b9623518fa2
20:32:01Step 2 : VOLUME /var/cache/apt/archives
20:32:02 ---> Using cache
20:32:02 ---> 3e4a27c7e3d3
20:32:02Step 3 : ENV DEBIAN_FRONTEND noninteractive
20:32:02 ---> Using cache
20:32:02 ---> c5a421a14e47
20:32:02Step 4 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
20:32:03 ---> Using cache
20:32:03 ---> 7b657d0e1e35
20:32:03Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
20:32:03 ---> Using cache
20:32:03 ---> e274a23f1d8b
20:32:03Step 6 : RUN locale-gen en_US.UTF-8
20:32:04 ---> Using cache
20:32:04 ---> 8c3092b0f60f
20:32:04Step 7 : ENV LANG en_US.UTF-8
20:32:04 ---> Using cache
20:32:04 ---> 68fb9f8652d3
20:32:04Step 8 : ENV TZ GMT+00
20:32:05 ---> Using cache
20:32:05 ---> bf665c18a0d4
20:32:05Step 9 : RUN useradd -u 1002 -m buildfarm
20:32:05 ---> Using cache
20:32:05 ---> d1ab90eb1a70
20:32:05Step 10 : RUN mkdir /tmp/keys
20:32:05 ---> Using cache
20:32:05 ---> 5317ab60e2b4
20:32:05Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/9epzt1p3C++vK7RSsBDXfKzZN22apIUT0njOkL9Vuoy\nJjFetmLDaZVbmFU+4ZaX3CFtBL3ewlFiT7G6StKj40JI8QJOlDOziX2OUsqZaI2T\nYh681980od3f2OfV3LPVroz7xnyECDfBaPBPaDdb8XWSNVLhuyglb15eewK0hj++\nCut3swWH02Y3yVhzFBnosqqjyzPLBQeDMOoHAPpJHRgprfIRDoUkWAXO5re3GIUQ\ncvk0d1I1jh3luQENBFPzE4sBCACmSxiM1vpPI7BpgUNAhu0B8SWptULpiYOnDHfM\nhU1u95Z5Lu/hy3sfm4BEKgLju7Y1I3jToWTwJJzgWZRr+iuuwj3fbfHCISYIK7f3\nIWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm\nZ4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK\n7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb\noRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC\nAAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U\nNTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\nikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
20:32:06 ---> Using cache
20:32:06 ---> d9609b11b449
20:32:06Step 12 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQGiBEsy5KkRBADJbDSISoamRM5AA20bfAeBuhhaI+VaiCVcxw90sq9AI5lIc42F\nWzM2acm8yplqWiehAqOLKd+iIrqNGZ+VavZEPTx7o06UZUMRoPBiTFaCwrQ5avKz\nlt7ij8PRMVWNrJ7A2lDYXfFQVV1o3Xo06qVnv0KLLUmiur0LBu4H/oTH3wCgt+/I\nD3LUKaMJsc77KwFBTjHB0EsD/26Z2Ud12f3urSNyN6VMWnP3rz6xsmtY4Qsmkbnr\nJuduxCQBZv6bX1Cr2ulXkv0fFOr+s5OyUv7zyCPbxiJFh3Br7fJGb0b5/M208KPe\ngiITY9hMh/aUbKjXCPoOXPxSL6SWOWV8taR6903EFyLBN0qno/kXIBKnVqBZobgn\njIEPA/0fTnxtZtE7EpirGQMF2caJfv7/LCgXmRs9xAhgbE0/caoa1tnc79uaHmLZ\nFtbGFoAO31YNYM/IUHtmabbGdvZ4oYUwDhjBevVvC7aI+XhuNGK5mU8qCLLSEUOl\nCUr6BJq/0iFmjwjmwk9idZEYhqSNy2OoYJbq45rbHfbdKLEVrbQeUk9TIEJ1aWxk\nZXIgPHJvc2J1aWxkQHJvcy5vcmc+iGAEExECACAFAksy5KkCGwMGCwkIBwMCBBUC\nCAMEFgIDAQIeAQIXgAAKCRBVI7rusB+hFmk7AJ0XsLp05KA8l3YzAumZfjSN04MZ\njQCfQHfp4aQUXdOCUtetVo0QZUX3IuO5Ag0ESzLkrhAIAOCuSC83VXYWf8gOMSzd\nxwpsH/uLV9Wze2LGnajsJLjEOhcsz2BHfxqNXhYaE9aQaodPCpbUAkPq8tLbpXy0\nSWRCx0F5RcplXx5vIWbP6TlfPbRpK70w7IWd6vsNrjwEHjlhOLcNcj42sp5pgx4b\ndceK06k5Ml2hYovPnD9o2TYgjOqg5FHZ2g1J0103n/66bN/hZnpLaZJYQiPWCyq6\nK0565i1k2Y7hgWB/OXqwaqCehqmLTvpyQGzE1UJvKLuYU+T+4hBnSPbT3KIi5fCz\nlIwvxijOMcfbkLhzYQXcU0Rd1VItcd5nmPL4z97jBxzuhkgxXpGR4WGKhvsA2Z9Y\nUtsAAwYH/3Bf44bTpD9bVADUdab3e7zm8iHfh9K/a83mIgDB7mHV6WuemQVTf/1d\neu4mI5WtpbOCoucybGfjGIIAcSxwIx6VfC7HSp4J51bOpHhbdDffUEk6QVsZjwoF\nyn3W9W3ZVeTI+ch/Qoo5a98SnmdjN8eXI/qCuiXOHc6rXDXc2R0iox/1EAS8xGVd\ncYZe7IWBO2CjCknyhLrWxZHoy+i1GCZ9KvPF/Ef2dmLhCydT73ZlumsY8N5vm76Q\nul1G7f8LNbnMgXQafRkPffrAXSVhGY3Z2IiBwFNgxcKTq479l7yedYRGeU1A+SYI\nYmRFWHXt3rTkMlQSpxCsB0fAYfrwEqqISQQYEQIACQUCSzLkrgIbDAAKCRBVI7ru\nsB+hFpryAJ9qNz3h3ijt9TkAV0CHufsPT6Cl4gCglfg7tJn2lsSF3HTpoDDO1Fgg\nx9o=\n=AGYp\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
20:32:06 ---> Using cache
20:32:06 ---> fe495151ecac
20:32:06Step 13 : RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:07 ---> Using cache
20:32:07 ---> e9e250a02f91
20:32:07Step 14 : RUN echo deb-src http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:07 ---> Using cache
20:32:07 ---> 73e8aef011f6
20:32:07Step 15 : RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:08 ---> Using cache
20:32:08 ---> c20c7005ca26
20:32:08Step 16 : RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && (echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) || (echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)
20:32:08 ---> Using cache
20:32:08 ---> 0014a6c57f10
20:32:08Step 17 : RUN mkdir /tmp/wrapper_scripts
20:32:09 ---> Using cache
20:32:09 ---> 5f90cdca5bec
20:32:09Step 18 : 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 '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 ]\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('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
20:32:09 ---> Using cache
20:32:09 ---> a0447ccd2581
20:32:09Step 19 : RUN echo "#!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/git.py
20:32:09 ---> Using cache
20:32:09 ---> 93077e2bcafc
20:32:09Step 20 : RUN echo "2018-09-12 (+0000)"
20:32:10 ---> Using cache
20:32:10 ---> ebb02dc7bcd1
20:32:10Step 21 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
20:32:10 ---> Using cache
20:32:10 ---> 68597aadd636
20:32:10Step 22 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y devscripts dpkg-dev python3-apt python3-catkin-pkg-modules python3-empy python3-rosdistro-modules python3-yaml
20:32:11 ---> Using cache
20:32:11 ---> ddce28ba4d04
20:32:11Step 23 : RUN echo "2018-09-12 19:32:00 +0000"
20:32:12 ---> Running in 481549360beb
20:32:122018-09-12 19:32:00 +0000
20:32:12 ---> db7af69b920d
20:32:12Removing intermediate container 481549360beb
20:32:12Step 24 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
20:32:12 ---> Running in 0d1ebc74ea8f
20:32:13Invoking 'apt-get update'
20:32:14Get:1 http://10.210.9.154/ubuntu/building xenial InRelease [2,856 B]
20:32:14Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
20:32:14Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
20:32:14Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
20:32:14Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
20:32:14Get:6 http://archive.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
20:32:14Get:7 http://10.210.9.154/ubuntu/building xenial/main Sources [137 kB]
20:32:14Get:8 http://10.210.9.154/ubuntu/building xenial/main amd64 Packages [164 kB]
20:32:14Hit:9 http://packages.ros.org/ros/ubuntu xenial InRelease
20:32:14Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,097 kB]
20:32:14Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [879 kB]
20:32:15Fetched 2,709 kB in 1s (2,573 kB/s)
20:32:16Reading package lists...
20:32:16W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:16W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:16W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:16W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:16W: http://10.210.9.154/ubuntu/building/dists/xenial/InRelease: Signature by key 0379D44201EF3A91028107A8DCD74318AED39854 uses weak digest algorithm (SHA1)
20:32:16W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:16W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:16W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:16W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:17 ---> d3942baa4e93
20:32:17Removing intermediate container 0d1ebc74ea8f
20:32:17Step 25 : USER buildfarm
20:32:17 ---> Running in 18affed8e64e
20:32:17 ---> 3e239500f989
20:32:17Removing intermediate container 18affed8e64e
20:32:17Step 26 : ENTRYPOINT sh -c
20:32:17 ---> Running in 91fb8c073aac
20:32:18 ---> 23d2f6f88f4a
20:32:18Removing intermediate container 91fb8c073aac
20:32:18Step 27 : 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 kinetic navigation_oru --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py kinetic navigation_oru --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 kinetic navigation_oru ubuntu xenial 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 --dockerfile-dir /tmp/docker_build_binarydeb
20:32:18 ---> Running in 91face4d1550
20:32:18 ---> 10c0385f692f
20:32:18Removing intermediate container 91face4d1550
20:32:18Successfully built 10c0385f692f
20:32:18+ echo # END SECTION
20:32:18# END SECTION
20:32:18+ echo # BEGIN SECTION: Run Dockerfile - binarydeb task
20:32:19# BEGIN SUBSECTION: get sourcedeb
20:32:26W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:26W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:26W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:26W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:26Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-kinetic-navigation-oru=0.4.0-0xenial'
20:32:27Invoking 'apt-get source --download-only --only-source ros-kinetic-navigation-oru=0.4.0-0xenial'
20:32:27Reading package lists...
20:32:27Need to get 4,378 B of source archives.
20:32:27Get:1 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-navigation-oru 0.4.0-0xenial (dsc) [990 B]
20:32:27Get:2 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-navigation-oru 0.4.0-0xenial (tar) [1,252 B]
20:32:27Get:3 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-navigation-oru 0.4.0-0xenial (diff) [2,136 B]
20:32:27Fetched 4,378 B in 0s (353 kB/s)
20:32:27Download complete and in download only mode
20:32:27W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:27W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:27W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:27W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:27Invoking 'dpkg-source -x ros-kinetic-navigation-oru_0.4.0-0xenial.dsc'
20:32:28dpkg-source: warning: extracting unsigned source package (ros-kinetic-navigation-oru_0.4.0-0xenial.dsc)
20:32:28dpkg-source: info: extracting ros-kinetic-navigation-oru in ros-kinetic-navigation-oru-0.4.0
20:32:28dpkg-source: info: unpacking ros-kinetic-navigation-oru_0.4.0.orig.tar.gz
20:32:28dpkg-source: info: unpacking ros-kinetic-navigation-oru_0.4.0-0xenial.debian.tar.xz
20:32:28Package maintainer emails: henrik.andreasson@oru.se
20:32:28# END SUBSECTION
11.2. append build timestamp
Hide Details
20:32:28# BEGIN SUBSECTION: append build timestamp
20:32:29Invoking 'debchange -v 0.4.0-0xenial-20180912-193229+0000 -p -D xenial -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:32:29# END SUBSECTION
20:32:33Looking for the '.dsc' file of package 'ros-kinetic-navigation-oru' with version '0.4.0-0'
20:32:34Using the following distribution repositories:
20:32:34http://10.210.9.154/ubuntu/building (/tmp/keys/0.key)
20:32:34http://packages.ros.org/ros/ubuntu (/tmp/keys/1.key)
20:32:34Generating Dockerfile '/tmp/docker_build_binarydeb/Dockerfile':
20:32:34 # generated from release/binarydeb_task.Dockerfile.em
20:32:3420:32:3420:32:34 FROM ubuntu:xenial
20:32:3420:32:34 VOLUME ["/var/cache/apt/archives"]
20:32:3420:32:34 ENV DEBIAN_FRONTEND noninteractive
20:32:3420:32:34 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
20:32:34 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
20:32:34 RUN locale-gen en_US.UTF-8
20:32:34 ENV LANG en_US.UTF-8
20:32:34 ENV TZ GMT+00
20:32:3420:32:34 RUN useradd -u 1002 -m buildfarm
20:32:3420:32:3420:32:34 RUN mkdir /tmp/keys
20:32:34 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/9epzt1p3C++vK7RSsBDXfKzZN22apIUT0njOkL9Vuoy\nJjFetmLDaZVbmFU+4ZaX3CFtBL3ewlFiT7G6StKj40JI8QJOlDOziX2OUsqZaI2T\nYh681980od3f2OfV3LPVroz7xnyECDfBaPBPaDdb8XWSNVLhuyglb15eewK0hj++\nCut3swWH02Y3yVhzFBnosqqjyzPLBQeDMOoHAPpJHRgprfIRDoUkWAXO5re3GIUQ\ncvk0d1I1jh3luQENBFPzE4sBCACmSxiM1vpPI7BpgUNAhu0B8SWptULpiYOnDHfM\nhU1u95Z5Lu/hy3sfm4BEKgLju7Y1I3jToWTwJJzgWZRr+iuuwj3fbfHCISYIK7f3\nIWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm\nZ4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK\n7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb\noRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC\nAAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U\nNTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\nikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
20:32:34 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQGiBEsy5KkRBADJbDSISoamRM5AA20bfAeBuhhaI+VaiCVcxw90sq9AI5lIc42F\nWzM2acm8yplqWiehAqOLKd+iIrqNGZ+VavZEPTx7o06UZUMRoPBiTFaCwrQ5avKz\nlt7ij8PRMVWNrJ7A2lDYXfFQVV1o3Xo06qVnv0KLLUmiur0LBu4H/oTH3wCgt+/I\nD3LUKaMJsc77KwFBTjHB0EsD/26Z2Ud12f3urSNyN6VMWnP3rz6xsmtY4Qsmkbnr\nJuduxCQBZv6bX1Cr2ulXkv0fFOr+s5OyUv7zyCPbxiJFh3Br7fJGb0b5/M208KPe\ngiITY9hMh/aUbKjXCPoOXPxSL6SWOWV8taR6903EFyLBN0qno/kXIBKnVqBZobgn\njIEPA/0fTnxtZtE7EpirGQMF2caJfv7/LCgXmRs9xAhgbE0/caoa1tnc79uaHmLZ\nFtbGFoAO31YNYM/IUHtmabbGdvZ4oYUwDhjBevVvC7aI+XhuNGK5mU8qCLLSEUOl\nCUr6BJq/0iFmjwjmwk9idZEYhqSNy2OoYJbq45rbHfbdKLEVrbQeUk9TIEJ1aWxk\nZXIgPHJvc2J1aWxkQHJvcy5vcmc+iGAEExECACAFAksy5KkCGwMGCwkIBwMCBBUC\nCAMEFgIDAQIeAQIXgAAKCRBVI7rusB+hFmk7AJ0XsLp05KA8l3YzAumZfjSN04MZ\njQCfQHfp4aQUXdOCUtetVo0QZUX3IuO5Ag0ESzLkrhAIAOCuSC83VXYWf8gOMSzd\nxwpsH/uLV9Wze2LGnajsJLjEOhcsz2BHfxqNXhYaE9aQaodPCpbUAkPq8tLbpXy0\nSWRCx0F5RcplXx5vIWbP6TlfPbRpK70w7IWd6vsNrjwEHjlhOLcNcj42sp5pgx4b\ndceK06k5Ml2hYovPnD9o2TYgjOqg5FHZ2g1J0103n/66bN/hZnpLaZJYQiPWCyq6\nK0565i1k2Y7hgWB/OXqwaqCehqmLTvpyQGzE1UJvKLuYU+T+4hBnSPbT3KIi5fCz\nlIwvxijOMcfbkLhzYQXcU0Rd1VItcd5nmPL4z97jBxzuhkgxXpGR4WGKhvsA2Z9Y\nUtsAAwYH/3Bf44bTpD9bVADUdab3e7zm8iHfh9K/a83mIgDB7mHV6WuemQVTf/1d\neu4mI5WtpbOCoucybGfjGIIAcSxwIx6VfC7HSp4J51bOpHhbdDffUEk6QVsZjwoF\nyn3W9W3ZVeTI+ch/Qoo5a98SnmdjN8eXI/qCuiXOHc6rXDXc2R0iox/1EAS8xGVd\ncYZe7IWBO2CjCknyhLrWxZHoy+i1GCZ9KvPF/Ef2dmLhCydT73ZlumsY8N5vm76Q\nul1G7f8LNbnMgXQafRkPffrAXSVhGY3Z2IiBwFNgxcKTq479l7yedYRGeU1A+SYI\nYmRFWHXt3rTkMlQSpxCsB0fAYfrwEqqISQQYEQIACQUCSzLkrgIbDAAKCRBVI7ru\nsB+hFpryAJ9qNz3h3ijt9TkAV0CHufsPT6Cl4gCglfg7tJn2lsSF3HTpoDDO1Fgg\nx9o=\n=AGYp\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
20:32:34 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:34 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:3420:32:34 RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && (echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) || (echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)
20:32:3420:32:34 RUN mkdir /tmp/wrapper_scripts
20:32:34 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 '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 ]\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('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
20:32:34 RUN echo "#!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/git.py
20:32:3420:32:34 # automatic invalidation once every day
20:32:34 RUN echo "2018-09-12 (+0000)"
20:32:3420:32:34 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
20:32:3420:32:34 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
20:32:3420:32:34 # for each dependency: echo version, apt update, apt install, apt clean
20:32:34 RUN echo "apt-src: 0.25.1-0.2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src
20:32:34 RUN echo "debhelper: 10.2.2ubuntu1~ubuntu16.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper
20:32:34 RUN echo "ros-kinetic-catkin: 0.7.14-0xenial-20180809-132632-0800" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-kinetic-catkin
20:32:3420:32:34 USER buildfarm
20:32:34 ENTRYPOINT ["sh", "-c"]
20:32:34 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py kinetic navigation_oru --sourcedeb-dir /tmp/binarydeb"]
20:32:34Mount the following volumes when running the container:
20:32:34 -v /tmp/ros_buildfarm:/tmp/ros_buildfarm:ro
20:32:34 -v /tmp/binarydeb:/tmp/binarydeb
20:32:35+ echo # END SECTION
20:32:35# END SECTION
20:32:36# BEGIN SECTION: Build Dockerfile - build binarydeb
20:32:36+ cd /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/docker_build_binarydeb
20:32:36+ python3 -u /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
20:32:36Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial
20:32:36Check docker base image for updates: docker pull ubuntu:xenial
20:32:37xenial: Pulling from library/ubuntu
20:32:37Digest: sha256:f53ee6c26fed293a1faaad6cb83713ce9289e4a38a9ea7e0d78c156fa1022e75
20:32:37Status: Image is up to date for ubuntu:xenial
20:32:37+ docker build --force-rm -t binarydeb_build.kinetic_ubuntu_xenial_amd64_navigation_oru .
20:32:37Sending build context to Docker daemon 18.43 kB
Sending build context to Docker daemon 18.43 kB
20:32:37Step 1 : FROM ubuntu:xenial
20:32:37 ---> 2b9623518fa2
20:32:37Step 2 : VOLUME /var/cache/apt/archives
20:32:38 ---> Using cache
20:32:38 ---> 3e4a27c7e3d3
20:32:38Step 3 : ENV DEBIAN_FRONTEND noninteractive
20:32:38 ---> Using cache
20:32:38 ---> c5a421a14e47
20:32:38Step 4 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
20:32:39 ---> Using cache
20:32:39 ---> 7b657d0e1e35
20:32:39Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
20:32:39 ---> Using cache
20:32:39 ---> e274a23f1d8b
20:32:39Step 6 : RUN locale-gen en_US.UTF-8
20:32:39 ---> Using cache
20:32:39 ---> 8c3092b0f60f
20:32:39Step 7 : ENV LANG en_US.UTF-8
20:32:40 ---> Using cache
20:32:40 ---> 68fb9f8652d3
20:32:40Step 8 : ENV TZ GMT+00
20:32:40 ---> Using cache
20:32:40 ---> bf665c18a0d4
20:32:40Step 9 : RUN useradd -u 1002 -m buildfarm
20:32:41 ---> Using cache
20:32:41 ---> d1ab90eb1a70
20:32:41Step 10 : RUN mkdir /tmp/keys
20:32:41 ---> Using cache
20:32:41 ---> 5317ab60e2b4
20:32:41Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/9epzt1p3C++vK7RSsBDXfKzZN22apIUT0njOkL9Vuoy\nJjFetmLDaZVbmFU+4ZaX3CFtBL3ewlFiT7G6StKj40JI8QJOlDOziX2OUsqZaI2T\nYh681980od3f2OfV3LPVroz7xnyECDfBaPBPaDdb8XWSNVLhuyglb15eewK0hj++\nCut3swWH02Y3yVhzFBnosqqjyzPLBQeDMOoHAPpJHRgprfIRDoUkWAXO5re3GIUQ\ncvk0d1I1jh3luQENBFPzE4sBCACmSxiM1vpPI7BpgUNAhu0B8SWptULpiYOnDHfM\nhU1u95Z5Lu/hy3sfm4BEKgLju7Y1I3jToWTwJJzgWZRr+iuuwj3fbfHCISYIK7f3\nIWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm\nZ4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK\n7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb\noRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC\nAAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U\nNTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\nikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
20:32:42 ---> Using cache
20:32:42 ---> d9609b11b449
20:32:42Step 12 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQGiBEsy5KkRBADJbDSISoamRM5AA20bfAeBuhhaI+VaiCVcxw90sq9AI5lIc42F\nWzM2acm8yplqWiehAqOLKd+iIrqNGZ+VavZEPTx7o06UZUMRoPBiTFaCwrQ5avKz\nlt7ij8PRMVWNrJ7A2lDYXfFQVV1o3Xo06qVnv0KLLUmiur0LBu4H/oTH3wCgt+/I\nD3LUKaMJsc77KwFBTjHB0EsD/26Z2Ud12f3urSNyN6VMWnP3rz6xsmtY4Qsmkbnr\nJuduxCQBZv6bX1Cr2ulXkv0fFOr+s5OyUv7zyCPbxiJFh3Br7fJGb0b5/M208KPe\ngiITY9hMh/aUbKjXCPoOXPxSL6SWOWV8taR6903EFyLBN0qno/kXIBKnVqBZobgn\njIEPA/0fTnxtZtE7EpirGQMF2caJfv7/LCgXmRs9xAhgbE0/caoa1tnc79uaHmLZ\nFtbGFoAO31YNYM/IUHtmabbGdvZ4oYUwDhjBevVvC7aI+XhuNGK5mU8qCLLSEUOl\nCUr6BJq/0iFmjwjmwk9idZEYhqSNy2OoYJbq45rbHfbdKLEVrbQeUk9TIEJ1aWxk\nZXIgPHJvc2J1aWxkQHJvcy5vcmc+iGAEExECACAFAksy5KkCGwMGCwkIBwMCBBUC\nCAMEFgIDAQIeAQIXgAAKCRBVI7rusB+hFmk7AJ0XsLp05KA8l3YzAumZfjSN04MZ\njQCfQHfp4aQUXdOCUtetVo0QZUX3IuO5Ag0ESzLkrhAIAOCuSC83VXYWf8gOMSzd\nxwpsH/uLV9Wze2LGnajsJLjEOhcsz2BHfxqNXhYaE9aQaodPCpbUAkPq8tLbpXy0\nSWRCx0F5RcplXx5vIWbP6TlfPbRpK70w7IWd6vsNrjwEHjlhOLcNcj42sp5pgx4b\ndceK06k5Ml2hYovPnD9o2TYgjOqg5FHZ2g1J0103n/66bN/hZnpLaZJYQiPWCyq6\nK0565i1k2Y7hgWB/OXqwaqCehqmLTvpyQGzE1UJvKLuYU+T+4hBnSPbT3KIi5fCz\nlIwvxijOMcfbkLhzYQXcU0Rd1VItcd5nmPL4z97jBxzuhkgxXpGR4WGKhvsA2Z9Y\nUtsAAwYH/3Bf44bTpD9bVADUdab3e7zm8iHfh9K/a83mIgDB7mHV6WuemQVTf/1d\neu4mI5WtpbOCoucybGfjGIIAcSxwIx6VfC7HSp4J51bOpHhbdDffUEk6QVsZjwoF\nyn3W9W3ZVeTI+ch/Qoo5a98SnmdjN8eXI/qCuiXOHc6rXDXc2R0iox/1EAS8xGVd\ncYZe7IWBO2CjCknyhLrWxZHoy+i1GCZ9KvPF/Ef2dmLhCydT73ZlumsY8N5vm76Q\nul1G7f8LNbnMgXQafRkPffrAXSVhGY3Z2IiBwFNgxcKTq479l7yedYRGeU1A+SYI\nYmRFWHXt3rTkMlQSpxCsB0fAYfrwEqqISQQYEQIACQUCSzLkrgIbDAAKCRBVI7ru\nsB+hFpryAJ9qNz3h3ijt9TkAV0CHufsPT6Cl4gCglfg7tJn2lsSF3HTpoDDO1Fgg\nx9o=\n=AGYp\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key
20:32:42 ---> Using cache
20:32:42 ---> fe495151ecac
20:32:42Step 13 : RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:43 ---> Using cache
20:32:43 ---> e9e250a02f91
20:32:43Step 14 : RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
20:32:43 ---> Using cache
20:32:43 ---> dd5132b699e8
20:32:43Step 15 : RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && (echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) || (echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)
20:32:43 ---> Using cache
20:32:43 ---> 8366f673985d
20:32:43Step 16 : RUN mkdir /tmp/wrapper_scripts
20:32:44 ---> Using cache
20:32:44 ---> afdc100f46e3
20:32:44Step 17 : 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 '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 ]\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('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
20:32:44 ---> Using cache
20:32:44 ---> f80508503f22
20:32:44Step 18 : RUN echo "#!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/git.py
20:32:45 ---> Using cache
20:32:45 ---> 606b6ef3bb99
20:32:45Step 19 : RUN echo "2018-09-12 (+0000)"
20:32:45 ---> Using cache
20:32:45 ---> 9dde48b7d24b
20:32:45Step 20 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
20:32:46 ---> Using cache
20:32:46 ---> c7f0da807e40
20:32:46Step 21 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
20:32:46 ---> Using cache
20:32:46 ---> 645278f259da
20:32:46Step 22 : RUN echo "apt-src: 0.25.1-0.2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src
20:32:47 ---> Using cache
20:32:47 ---> 9aa96116cb0b
20:32:47Step 23 : RUN echo "debhelper: 10.2.2ubuntu1~ubuntu16.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper
20:32:47 ---> Using cache
20:32:47 ---> 50378f9c0851
20:32:47Step 24 : RUN echo "ros-kinetic-catkin: 0.7.14-0xenial-20180809-132632-0800" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-kinetic-catkin
20:32:47 ---> Using cache
20:32:47 ---> 5045d968398a
20:32:47Step 25 : USER buildfarm
20:32:48 ---> Using cache
20:32:48 ---> f08b83fd8207
20:32:48Step 26 : ENTRYPOINT sh -c
20:32:48 ---> Using cache
20:32:48 ---> 37be73fc3577
20:32:48Step 27 : CMD PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py kinetic navigation_oru --sourcedeb-dir /tmp/binarydeb
20:32:49 ---> Running in 5671972bcae4
20:32:49 ---> 9b9a4d8a4efb
20:32:49Removing intermediate container 5671972bcae4
20:32:49Successfully built 9b9a4d8a4efb
20:32:49+ echo # END SECTION
20:32:49# END SECTION
20:32:49+ echo # BEGIN SECTION: Run Dockerfile - build binarydeb
13. Run Dockerfile - build binarydeb
Hide Details
20:32:49# BEGIN SECTION: Run Dockerfile - build binarydeb
20:32:49+ docker run --rm --cidfile=/home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/docker_build_binarydeb/docker.cid -e=HOME= -e=TRAVIS= --net=host -v /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache binarydeb_build.kinetic_ubuntu_xenial_amd64_navigation_oru
13.1. build binarydeb
Hide Details
20:32:50# BEGIN SUBSECTION: build binarydeb
20:32:50Package 'ros-kinetic-navigation-oru' version: 0.4.0-0xenial-20180912-193229+0000
20:32:50Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:50Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:50Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:50Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:52Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:52Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:52Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:52Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:52Invoking 'apt-src build ros-kinetic-navigation-oru' in '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:32:52Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:52Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:52Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:52Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:54Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:54Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
20:32:54Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:54Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
20:32:54I: Building in /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0 ..
20:32:54dpkg-buildpackage: source package ros-kinetic-navigation-oru
20:32:54dpkg-buildpackage: source version 0.4.0-0xenial-20180912-193229+0000
20:32:54dpkg-buildpackage: source distribution xenial
20:32:54dpkg-buildpackage: source changed by Henrik Andreasson <henrik.andreasson@oru.se>
20:32:54 dpkg-source --before-build ros-kinetic-navigation-oru-0.4.0
20:32:54dpkg-buildpackage: host architecture amd64
20:32:54dpkg-source: info: using options from ros-kinetic-navigation-oru-0.4.0/debian/source/options: --auto-commit
20:32:54 fakeroot debian/rules clean
20:32:55dh clean -v --buildsystem=cmake
20:32:55 dh_testdir -O-v -O--buildsystem=cmake
20:32:55 dh_auto_clean -O-v -O--buildsystem=cmake
20:32:55 dh_clean -O-v -O--buildsystem=cmake
20:32:55 rm -f debian/debhelper-build-stamp
20:32:55 rm -f debian/ros-kinetic-navigation-oru.substvars
20:32:55 rm -f debian/ros-kinetic-navigation-oru.*.debhelper
20:32:55 rm -rf debian/ros-kinetic-navigation-oru/
20:32:55 rm -rf debian/.debhelper/
20:32:55 rm -f debian/*.debhelper.log
20:32:55 rm -f debian/files
20:32:55 find . \( \( \
20:32:55 \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
20:32:55 \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
20:32:55 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
20:32:55 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
20:32:55 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
20:32:55 \) -exec rm -f {} + \) -o \
20:32:55 \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
20:32:55 rm -f *-stamp
20:32:55 debian/rules build
20:32:55dh build -v --buildsystem=cmake
20:32:55 dh_testdir -O-v -O--buildsystem=cmake
20:32:55 dh_update_autotools_config -O-v -O--buildsystem=cmake
20:32:55 debian/rules override_dh_auto_configure
20:32:55make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:32:55# In case we're installing to a non-standard location, look for a setup.sh
20:32:55# in the install tree that was dropped by catkin, and source it. It will
20:32:55# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
20:32:55if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
20:32:55dh_auto_configure -- \
20:32:55 -DCATKIN_BUILD_BINARY_PACKAGE="1" \
20:32:55 -DCMAKE_INSTALL_PREFIX="/opt/ros/kinetic" \
20:32:55 -DCMAKE_PREFIX_PATH="/opt/ros/kinetic"
20:32:56 mkdir -p obj-x86_64-linux-gnu
20:32:56 cd obj-x86_64-linux-gnu
20:32:56 cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCATKIN_BUILD_BINARY_PACKAGE=1 -DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic -DCMAKE_PREFIX_PATH=/opt/ros/kinetic
20:32:57-- The C compiler identification is GNU 5.4.0
20:32:57-- The CXX compiler identification is GNU 5.4.0
20:32:57-- Check for working C compiler: /usr/lib/ccache/x86_64-linux-gnu-gcc
20:32:57-- Check for working C compiler: /usr/lib/ccache/x86_64-linux-gnu-gcc -- works
20:32:57-- Detecting C compiler ABI info
20:32:58-- Detecting C compiler ABI info - done
20:32:58-- Detecting C compile features
20:32:58-- Detecting C compile features - done
20:32:58-- Check for working CXX compiler: /usr/lib/ccache/x86_64-linux-gnu-g++
20:32:58-- Check for working CXX compiler: /usr/lib/ccache/x86_64-linux-gnu-g++ -- works
20:32:58-- Detecting CXX compiler ABI info
20:32:58-- Detecting CXX compiler ABI info - done
20:32:58-- Detecting CXX compile features
20:32:59-- Detecting CXX compile features - done
20:32:59-- Using CATKIN_DEVEL_PREFIX: /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu/devel
20:32:59-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
20:32:59-- This workspace overlays: /opt/ros/kinetic
20:32:59-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
20:32:59-- Using PYTHON_EXECUTABLE: /usr/bin/python
20:32:59-- Using Debian Python package layout
20:32:59-- Using empy: /usr/bin/empy
20:32:59-- Using CATKIN_ENABLE_TESTING: ON
20:32:59-- Skip enable_testing() when building binary package
20:32:59-- Using CATKIN_TEST_RESULTS_DIR: /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu/test_results
20:32:59-- Found gmock sources under '/usr/src/gmock': gmock will be built
20:33:00-- Looking for pthread.h
20:33:00-- Looking for pthread.h - found
20:33:00-- Looking for pthread_create
20:33:00-- Looking for pthread_create - not found
20:33:00-- Looking for pthread_create in pthreads
20:33:00-- Looking for pthread_create in pthreads - not found
20:33:00-- Looking for pthread_create in pthread
20:33:00-- Looking for pthread_create in pthread - found
20:33:00-- Found Threads: TRUE
20:33:00-- Found gtest sources under '/usr/src/gmock': gtests will be built
20:33:00-- Using Python nosetests: /usr/bin/nosetests-2.7
20:33:00-- catkin 0.7.14
20:33:01-- Configuring done
20:33:01-- Generating done
20:33:01CMake Warning:
20:33:01 Manually-specified variables were not used by the project:
20:33:0120:33:01 CMAKE_INSTALL_LOCALSTATEDIR
20:33:01 CMAKE_INSTALL_SYSCONFDIR
20:33:0120:33:0120:33:01-- Build files have been written to: /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu
20:33:01 cd /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0
20:33:01make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:01 debian/rules override_dh_auto_build
20:33:01make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:01# In case we're installing to a non-standard location, look for a setup.sh
20:33:01# in the install tree that was dropped by catkin, and source it. It will
20:33:01# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
20:33:01if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
20:33:01dh_auto_build
20:33:01 cd obj-x86_64-linux-gnu
20:33:01 make -j1
20:33:01make[2]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:01/usr/bin/cmake -H/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0 -B/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
20:33:01/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
20:33:01make -f CMakeFiles/Makefile2 all
20:33:01make[3]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:01make[3]: Nothing to be done for 'all'.
20:33:01make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:01/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu/CMakeFiles 0
20:33:01make[2]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:01 cd /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0
20:33:01make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:01 debian/rules override_dh_auto_test
20:33:01make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:01# In case we're installing to a non-standard location, look for a setup.sh
20:33:01# in the install tree that was dropped by catkin, and source it. It will
20:33:01# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
20:33:01echo -- Running tests. Even if one of them fails the build is not canceled.
20:33:01-- Running tests. Even if one of them fails the build is not canceled.
20:33:01if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
20:33:01dh_auto_test || true
20:33:01make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:01 fakeroot debian/rules binary
20:33:01dh binary -v --buildsystem=cmake
20:33:02 dh_testroot -O-v -O--buildsystem=cmake
20:33:02 dh_prep -O-v -O--buildsystem=cmake
20:33:02 rm -f debian/ros-kinetic-navigation-oru.substvars
20:33:02 rm -f debian/ros-kinetic-navigation-oru.*.debhelper
20:33:02 rm -rf debian/ros-kinetic-navigation-oru/
20:33:02 dh_installdirs -O-v -O--buildsystem=cmake
20:33:02 install -d debian/ros-kinetic-navigation-oru
20:33:02 debian/rules override_dh_auto_install
20:33:02make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:02# In case we're installing to a non-standard location, look for a setup.sh
20:33:02# in the install tree that was dropped by catkin, and source it. It will
20:33:02# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
20:33:02if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
20:33:02dh_auto_install
20:33:02 cd obj-x86_64-linux-gnu
20:33:02 make -j1 install DESTDIR=/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/debian/ros-kinetic-navigation-oru AM_UPDATE_INFO_DIR=no
20:33:02make[2]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:02/usr/bin/cmake -H/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0 -B/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
20:33:02/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
20:33:02make -f CMakeFiles/Makefile2 all
20:33:02make[3]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:02make[3]: Nothing to be done for 'all'.
20:33:02make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:02/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu/CMakeFiles 0
20:33:02make -f CMakeFiles/Makefile2 preinstall
20:33:02make[3]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:02make[3]: Nothing to be done for 'preinstall'.
20:33:02make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:02Install the project...
20:33:02/usr/bin/cmake -P cmake_install.cmake
20:33:02-- Install configuration: "None"
20:33:02-- Installing: /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/debian/ros-kinetic-navigation-oru/opt/ros/kinetic/share/navigation_oru/package.xml
20:33:02make[2]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu'
20:33:02 cd /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0
20:33:02make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:02 dh_install -O-v -O--buildsystem=cmake
20:33:02 dh_installdocs -O-v -O--buildsystem=cmake
20:33:02 install -d debian/ros-kinetic-navigation-oru/usr/share/doc/ros-kinetic-navigation-oru
20:33:02 dh_installchangelogs -O-v -O--buildsystem=cmake
20:33:02 install -p -m0644 debian/changelog debian/ros-kinetic-navigation-oru/usr/share/doc/ros-kinetic-navigation-oru/changelog.Debian
20:33:02 dh_installexamples -O-v -O--buildsystem=cmake
20:33:02 dh_installman -O-v -O--buildsystem=cmake
20:33:02 dh_installcatalogs -O-v -O--buildsystem=cmake
20:33:02 dh_installcron -O-v -O--buildsystem=cmake
20:33:02 dh_installdebconf -O-v -O--buildsystem=cmake
20:33:03 install -d debian/ros-kinetic-navigation-oru/DEBIAN
20:33:03 dh_installemacsen -O-v -O--buildsystem=cmake
20:33:03 dh_installifupdown -O-v -O--buildsystem=cmake
20:33:03 dh_installinfo -O-v -O--buildsystem=cmake
20:33:03 dh_installinit -O-v -O--buildsystem=cmake
20:33:03 dh_installmenu -O-v -O--buildsystem=cmake
20:33:03 dh_installmime -O-v -O--buildsystem=cmake
20:33:03 dh_installmodules -O-v -O--buildsystem=cmake
20:33:03 dh_installlogcheck -O-v -O--buildsystem=cmake
20:33:03 dh_installlogrotate -O-v -O--buildsystem=cmake
20:33:03 dh_installpam -O-v -O--buildsystem=cmake
20:33:03 dh_installppp -O-v -O--buildsystem=cmake
20:33:03 dh_installudev -O-v -O--buildsystem=cmake
20:33:03 dh_installgsettings -O-v -O--buildsystem=cmake
20:33:03 dh_bugfiles -O-v -O--buildsystem=cmake
20:33:03 dh_ucf -O-v -O--buildsystem=cmake
20:33:03 dh_lintian -O-v -O--buildsystem=cmake
20:33:03 dh_gconf -O-v -O--buildsystem=cmake
20:33:03 dh_icons -O-v -O--buildsystem=cmake
20:33:03 dh_perl -O-v -O--buildsystem=cmake
20:33:03 dh_usrlocal -O-v -O--buildsystem=cmake
20:33:03 dh_link -O-v -O--buildsystem=cmake
20:33:04 dh_installwm -O-v -O--buildsystem=cmake
20:33:04 dh_installxfonts -O-v -O--buildsystem=cmake
20:33:04 dh_strip_nondeterminism -O-v -O--buildsystem=cmake
20:33:04 dh_compress -O-v -O--buildsystem=cmake
20:33:04 cd debian/ros-kinetic-navigation-oru
20:33:04 chmod a-x usr/share/doc/ros-kinetic-navigation-oru/changelog.Debian
20:33:04 gzip -9nf usr/share/doc/ros-kinetic-navigation-oru/changelog.Debian
20:33:04 cd '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:04 dh_fixperms -O-v -O--buildsystem=cmake
20:33:04 find debian/ros-kinetic-navigation-oru -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
20:33:04 find debian/ros-kinetic-navigation-oru ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
20:33:04 find debian/ros-kinetic-navigation-oru/usr/share/doc -type f ! -regex 'debian/ros-kinetic-navigation-oru/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
20:33:04 find debian/ros-kinetic-navigation-oru/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 0755
20:33:04 find debian/ros-kinetic-navigation-oru/usr/share/man debian/ros-kinetic-navigation-oru/usr/man/ debian/ros-kinetic-navigation-oru/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 0644
20:33:04 find debian/ros-kinetic-navigation-oru/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 0644
20:33:04 find debian/ros-kinetic-navigation-oru/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 0644
20:33:04 find debian/ros-kinetic-navigation-oru/usr/lib/x86_64-linux-gnu/perl5/5.22 debian/ros-kinetic-navigation-oru/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
20:33:04 find debian/ros-kinetic-navigation-oru -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 0644
20:33:04 find debian/ros-kinetic-navigation-oru/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
20:33:04 dh_strip -O-v -O--buildsystem=cmake
20:33:04 dh_makeshlibs -O-v -O--buildsystem=cmake
20:33:04 rm -f debian/ros-kinetic-navigation-oru/DEBIAN/shlibs
20:33:04 debian/rules override_dh_shlibdeps
20:33:04make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:04# In case we're installing to a non-standard location, look for a setup.sh
20:33:04# in the install tree that was dropped by catkin, and source it. It will
20:33:04# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
20:33:04if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
20:33:04dh_shlibdeps -l/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0/debian/ros-kinetic-navigation-oru//opt/ros/kinetic/lib/
20:33:04make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0'
20:33:04 dh_installdeb -O-v -O--buildsystem=cmake
20:33:04 dh_gencontrol -O-v -O--buildsystem=cmake
20:33:04 echo misc:Depends= >> debian/ros-kinetic-navigation-oru.substvars
20:33:04 echo misc:Pre-Depends= >> debian/ros-kinetic-navigation-oru.substvars
20:33:04 dpkg-gencontrol -pros-kinetic-navigation-oru -ldebian/changelog -Tdebian/ros-kinetic-navigation-oru.substvars -Pdebian/ros-kinetic-navigation-oru
20:33:05dpkg-gencontrol: warning: Depends field of package ros-kinetic-navigation-oru: unknown substitution variable ${shlibs:Depends}
20:33:05 chmod 0644 debian/ros-kinetic-navigation-oru/DEBIAN/control
20:33:05 chown 0:0 debian/ros-kinetic-navigation-oru/DEBIAN/control
20:33:05 dh_md5sums -O-v -O--buildsystem=cmake
20:33:05 (cd debian/ros-kinetic-navigation-oru >/dev/null ; find . -type f ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
20:33:05 chmod 0644 debian/ros-kinetic-navigation-oru/DEBIAN/md5sums
20:33:05 chown 0:0 debian/ros-kinetic-navigation-oru/DEBIAN/md5sums
20:33:05 dh_builddeb -O-v -O--buildsystem=cmake
20:33:05 dpkg-deb --build debian/ros-kinetic-navigation-oru ..
20:33:05dpkg-deb: building package 'ros-kinetic-navigation-oru' in '../ros-kinetic-navigation-oru_0.4.0-0xenial-20180912-193229+0000_amd64.deb'.
20:33:05 dpkg-genchanges -b >../ros-kinetic-navigation-oru_0.4.0-0xenial-20180912-193229+0000_amd64.changes
20:33:05dpkg-genchanges: binary-only upload (no source code included)
20:33:05 dpkg-source --after-build ros-kinetic-navigation-oru-0.4.0
20:33:05dpkg-source: info: using options from ros-kinetic-navigation-oru-0.4.0/debian/source/options: --auto-commit
20:33:05dpkg-buildpackage: binary-only upload (no source included)
20:33:05I: Successfully built in /tmp/binarydeb/ros-kinetic-navigation-oru-0.4.0
20:33:05# END SUBSECTION
20:33:05+ echo # END SECTION
20:33:05# END SECTION
20:33:05[Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson3313363591863156664.sh
20:33:05+ [ false = false ]
20:33:05+ echo # BEGIN SECTION: Clean up to save disk space on slaves
14. Clean up to save disk space on slaves
Hide Details
20:33:05# BEGIN SECTION: Clean up to save disk space on slaves
20:33:05+ chmod -R u+w /home/jenkins-slave/workspace/Kbin_uX64__navigation_oru__ubuntu_xenial_amd64__binary/binarydeb
20:33:05+ rm -fr binarydeb/ros-kinetic-navigation-oru-0.4.0/CHANGELOG.rst binarydeb/ros-kinetic-navigation-oru-0.4.0/CMakeLists.txt binarydeb/ros-kinetic-navigation-oru-0.4.0/debian binarydeb/ros-kinetic-navigation-oru-0.4.0/obj-x86_64-linux-gnu binarydeb/ros-kinetic-navigation-oru-0.4.0/package.xml
20:33:05+ echo # END SECTION
20:33:05# END SECTION
20:33:05SSH: Connecting from host [lcas-buildfarm-slave-3]
20:33:05SSH: Connecting with configuration [repo] ...
20:33:06SSH: Disconnecting configuration [repo] ...
20:33:06SSH: Transferred 2 file(s)
20:33:06Build step 'Send files or execute commands over SSH' changed build result to SUCCESS
20:33:06Waiting for the completion of Krel_import-package20:33:08Krel_import-package #3450 completed. Result was SUCCESS
20:33:08$ ssh-agent -k
20:33:08unset SSH_AUTH_SOCK;
20:33:08unset SSH_AGENT_PID;
20:33:08echo Agent pid 21413 killed;
20:33:08[ssh-agent] Stopped.
20:33:09[description-setter] Description set: 0.4.0-0xenial-20180912-193229+0000
20:33:09Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
20:33:09Triggering a new build of Krel_sync-packages-to-testing_xenial_amd6420:33:09Triggering a new build of Kbin_uX64__iliad_launch_navigation__ubuntu_xenial_amd64__binary20:33:09Finished: SUCCESS