14:38:51# BEGIN SECTION: Check upstream projects
14:38:51Verify that no recursive upstream project is broken:
14:38:51- 'Kbin_uX64__pcl_people_detector__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__spencer_tracking_msgs__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_tracking_msgs__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__spencer_vision_msgs__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_vision_msgs__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__pcl_people_detector__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__rwth_ground_hog__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__rwth_perception_people_msgs__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__rwth_perception_people_msgs__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__spencer_diagnostics__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__spencer_control_msgs__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_control_msgs__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_diagnostics__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__rwth_ground_hog__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__rwth_ground_plane__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__rwth_ground_plane__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__rwth_upper_body_detector__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__rwth_upper_body_detector__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_bagfile_tools__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_bagfile_tools__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_detected_person_association__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_detected_person_association__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_detected_person_conversion__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_detected_person_conversion__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_group_tracking__ubuntu_xenial_amd64__binary' build '14' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__spencer_social_relation_msgs__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_social_relation_msgs__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_group_tracking__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_human_attribute_msgs__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_human_attribute_msgs__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_leg_detector_wrapper__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_leg_detector_wrapper__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_people_tracking_launch__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__spencer_tracking_rviz_plugin__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_tracking_rviz_plugin__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__srl_nearest_neighbor_tracker__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__srl_laser_segmentation__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__srl_laser_segmentation__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__srl_nearest_neighbor_tracker__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_people_tracking_launch__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_perception_mocks__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_perception_mocks__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_social_relations__ubuntu_xenial_amd64__binary' build '14' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_social_relations__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_tracking_metrics__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_tracking_metrics__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__spencer_tracking_utils__ubuntu_xenial_amd64__binary' build '14' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__spencer_tracking_utils__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__srl_laser_detectors__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
14:38:51 - 'Kbin_uX64__srl_laser_features__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__srl_laser_features__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__srl_laser_detectors__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__srl_tracking_exporter__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__srl_tracking_exporter__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__srl_tracking_logfile_import__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__srl_tracking_logfile_import__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary' build '14' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__track_annotation_tool__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Kbin_uX64__video_to_bagfile__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
14:38:51 - 'Ksrc_uX__video_to_bagfile__ubuntu_xenial__source' build '11' has result 'SUCCESS'
14:38:51- 'Ksrc_uX__spencer_people_tracking_full__ubuntu_xenial__source' build '6' has result 'SUCCESS'
14:38:51All recursive upstream projects are (un)stable
14:38:51# END SECTION
14:38:51
2. Check free disk space
Hide Details
14:38:51# BEGIN SECTION: Check free disk space
14:38:51Usable disk space = 54758596608 bytes
14:38:51Free space threshold = 5368709120 bytes
14:38:51# END SECTION
14:38:51[Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson2845913438645795124.sh
14:38:51+ echo # BEGIN SECTION: docker version
3. docker version
Hide Details
14:38:51# BEGIN SECTION: docker version
14:38:51+ docker version
14:38:51Client:
14:38:51 Version: 1.9.1
14:38:51 API version: 1.21
14:38:51 Go version: go1.4.2
14:38:51 Git commit: a34a1d5
14:38:51 Built: Fri Nov 20 13:12:04 UTC 2015
14:38:51 OS/Arch: linux/amd64
14:38:5114:38:51Server:
14:38:51 Version: 1.9.1
14:38:51 API version: 1.21
14:38:51 Go version: go1.4.2
14:38:51 Git commit: a34a1d5
14:38:51 Built: Fri Nov 20 13:12:04 UTC 2015
14:38:51 OS/Arch: linux/amd64
14:38:51+ echo # END SECTION
14:38:51# END SECTION
14:38:51+ echo # BEGIN SECTION: docker info
4. docker info
Hide Details
14:38:51# BEGIN SECTION: docker info
14:38:51+ docker info
14:38:52Containers: 331
14:38:52Images: 2390
14:38:52Server Version: 1.9.1
14:38:52Storage Driver: aufs
14:38:52 Root Dir: /var/lib/docker/aufs
14:38:52 Backing Filesystem: extfs
14:38:52 Dirs: 3474
14:38:52 Dirperm1 Supported: false
14:38:52Execution Driver: native-0.2
14:38:52Logging Driver: json-file
14:38:52Kernel Version: 3.13.0-29-generic
14:38:52Operating System: Ubuntu 14.04 LTS
14:38:52CPUs: 2
14:38:52Total Memory: 3.861 GiB
14:38:52Name: lcas-buildfarm-slave-2
14:38:52ID: LZSS:PF7G:CREH:TEQW:FH57:3M6D:KCSS:ODQY:SPHA:ND7A:FHYG:PNDE
14:38:52WARNING: No swap limit support
14:38:52+ echo # END SECTION
14:38:52# END SECTION
14:38:52[Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson3954263014291354774.sh
14:38:52+ echo # BEGIN SECTION: Check docker status
5. Check docker status
Hide Details
14:38:52# BEGIN SECTION: Check docker status
14:38:52+ echo Testing trivial docker invocation...
14:38:52Testing trivial docker invocation...
14:38:52+ docker run --rm ubuntu:xenial true
14:38:53+ echo 'docker run' returned 0
14:38:53'docker run' returned 0
14:38:53docker seems operational, continuing
14:38:53[Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson8390211029774286421.sh
14:38:53+ echo # END SECTION
14:38:53# END SECTION
14:38:53# BEGIN SECTION: Embed wrapper scripts
14:38:53+ rm -fr wrapper_scripts
14:38:53+ mkdir wrapper_scripts
14:38:53+ 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())
14:38:53+ echo # END SECTION
14:38:53# END SECTION
14:38:56# BEGIN SECTION: Generate Dockerfile - binarydeb task
14:38:56+ export TZ=GMT+00
14:38:56+ export PYTHONPATH=/home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/ros_buildfarm:
14:38:56+ python3 -u /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__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 spencer_people_tracking_full 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__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/keys/1.key --target-repository http://10.210.9.154/ubuntu/building --binarydeb-dir /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/binarydeb --dockerfile-dir /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/docker_generating_docker --append-timestamp
14:38:56Using the following distribution repositories:
14:38:56http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/keys/0.key)
14:38:56http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/keys/1.key)
14:38:56Generating Dockerfile '/home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/docker_generating_docker/Dockerfile':
14:38:56 # generated from release/binarydeb_create_task.Dockerfile.em
14:38:5614:38:56 FROM ubuntu:xenial
14:38:5614:38:56 VOLUME ["/var/cache/apt/archives"]
14:38:5614:38:56 ENV DEBIAN_FRONTEND noninteractive
14:38:5614:38:56 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
14:38:56 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
14:38:56 RUN locale-gen en_US.UTF-8
14:38:56 ENV LANG en_US.UTF-8
14:38:56 ENV TZ GMT+00
14:38:5614:38:5614:38:56 RUN useradd -u 1002 -m buildfarm
14:38:5614:38:5614:38:56 RUN mkdir /tmp/keys
14:38:56 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
14:38:56 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
14:38:56 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:38:56 RUN echo deb-src http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:38:56 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:38:5614:38:56 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)
14:38:5614:38:56 RUN mkdir /tmp/wrapper_scripts
14:38:56 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
14:38:56 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
14:38:5614:38:56 # automatic invalidation once every day
14:38:56 RUN echo "2018-09-22 (+0000)"
14:38:5614:38:56 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
14:38:5614:38:56 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
14:38:5614:38:56 # always invalidate to actually have the latest apt repo state
14:38:56 RUN echo "2018-09-22 13:38:56 +0000"
14:38:56 RUN python3 -u /tmp/wrapper_scripts/apt.py update
14:38:5614:38:56 USER buildfarm
14:38:56 ENTRYPOINT ["sh", "-c"]
14:38:56 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 spencer_people_tracking_full --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py kinetic spencer_people_tracking_full --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 spencer_people_tracking_full 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"]
14:38:56+ echo # END SECTION
14:38:56# END SECTION
14:38:56+ echo # BEGIN SECTION: Build Dockerfile - binarydeb task
10. Build Dockerfile - binarydeb task
Hide Details
14:38:56# BEGIN SECTION: Build Dockerfile - binarydeb task
14:38:56+ cd /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/docker_generating_docker
14:38:56+ python3 -u /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
14:38:56Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial
14:38:56Check docker base image for updates: docker pull ubuntu:xenial
14:38:57xenial: Pulling from library/ubuntu
14:38:57Digest: sha256:f53ee6c26fed293a1faaad6cb83713ce9289e4a38a9ea7e0d78c156fa1022e75
14:38:57Status: Image is up to date for ubuntu:xenial
14:38:57+ docker build --force-rm -t binarydeb_task_generation.kinetic_ubuntu_xenial_amd64_spencer_people_tracking_full .
14:38:57Sending build context to Docker daemon 18.94 kB
Sending build context to Docker daemon 18.94 kB
14:38:57Step 1 : FROM ubuntu:xenial
14:38:57 ---> 2b9623518fa2
14:38:57Step 2 : VOLUME /var/cache/apt/archives
14:38:58 ---> Using cache
14:38:58 ---> 74ba1b76bf6e
14:38:58Step 3 : ENV DEBIAN_FRONTEND noninteractive
14:38:58 ---> Using cache
14:38:58 ---> 2493ca106c60
14:38:58Step 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
14:38:59 ---> Using cache
14:38:59 ---> 885388895e3f
14:38:59Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
14:38:59 ---> Using cache
14:38:59 ---> 40393b666211
14:38:59Step 6 : RUN locale-gen en_US.UTF-8
14:39:00 ---> Using cache
14:39:00 ---> e52d5a0e19f6
14:39:00Step 7 : ENV LANG en_US.UTF-8
14:39:00 ---> Using cache
14:39:00 ---> 2a9c5e2d8565
14:39:00Step 8 : ENV TZ GMT+00
14:39:00 ---> Using cache
14:39:00 ---> be900094f1df
14:39:00Step 9 : RUN useradd -u 1002 -m buildfarm
14:39:01 ---> Using cache
14:39:01 ---> 653b534e961f
14:39:01Step 10 : RUN mkdir /tmp/keys
14:39:01 ---> Using cache
14:39:01 ---> e4ea2a03c969
14:39:01Step 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
14:39:02 ---> Using cache
14:39:02 ---> d89322b323f7
14:39:02Step 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
14:39:02 ---> Using cache
14:39:02 ---> 0aca65174b48
14:39:02Step 13 : RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:39:03 ---> Using cache
14:39:03 ---> 068fa303acf0
14:39:03Step 14 : RUN echo deb-src http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:39:03 ---> Using cache
14:39:03 ---> c121a851babf
14:39:03Step 15 : RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:39:04 ---> Using cache
14:39:04 ---> 3e19efbd1048
14:39:04Step 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)
14:39:04 ---> Using cache
14:39:04 ---> e4c20c1993e1
14:39:04Step 17 : RUN mkdir /tmp/wrapper_scripts
14:39:04 ---> Using cache
14:39:04 ---> 7d980225418b
14:39:04Step 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
14:39:05 ---> Using cache
14:39:05 ---> ebcd8290684a
14:39:05Step 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
14:39:05 ---> Using cache
14:39:05 ---> 899986f02163
14:39:05Step 20 : RUN echo "2018-09-22 (+0000)"
14:39:06 ---> Using cache
14:39:06 ---> 6a106d58a2b4
14:39:06Step 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
14:39:06 ---> Using cache
14:39:06 ---> e2039700f89f
14:39:06Step 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
14:39:07 ---> Using cache
14:39:07 ---> 67210fe00085
14:39:07Step 23 : RUN echo "2018-09-22 13:38:56 +0000"
14:39:07 ---> Running in ea9a72663ba6
14:39:072018-09-22 13:38:56 +0000
14:39:08 ---> d1ed67e31fb7
14:39:08Removing intermediate container ea9a72663ba6
14:39:08Step 24 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
14:39:08 ---> Running in cb85c8443c90
14:39:08Invoking 'apt-get update'
14:39:08Get:1 http://10.210.9.154/ubuntu/building xenial InRelease [2,856 B]
14:39:08Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
14:39:08Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
14:39:08Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
14:39:08Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
14:39:08Get:6 http://archive.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
14:39:08Hit:7 http://packages.ros.org/ros/ubuntu xenial InRelease
14:39:08Get:8 http://10.210.9.154/ubuntu/building xenial/main Sources [138 kB]
14:39:08Get:9 http://10.210.9.154/ubuntu/building xenial/main amd64 Packages [178 kB]
14:39:09Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,097 kB]
14:39:09Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [889 kB]
14:39:09Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [18.8 kB]
14:39:09Fetched 2,753 kB in 0s (2,903 kB/s)
14:39:11Reading package lists...
14:39:11W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:11W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:11W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:11W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:11W: http://10.210.9.154/ubuntu/building/dists/xenial/InRelease: Signature by key 0379D44201EF3A91028107A8DCD74318AED39854 uses weak digest algorithm (SHA1)
14:39:11W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:11W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:11W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:11W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:11 ---> 82699bada9ff
14:39:11Removing intermediate container cb85c8443c90
14:39:11Step 25 : USER buildfarm
14:39:11 ---> Running in 6156cb96b1f2
14:39:11 ---> 48c033f05965
14:39:11Removing intermediate container 6156cb96b1f2
14:39:11Step 26 : ENTRYPOINT sh -c
14:39:12 ---> Running in d78c30a9be8b
14:39:12 ---> 203a2171646e
14:39:12Removing intermediate container d78c30a9be8b
14:39:12Step 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 spencer_people_tracking_full --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py kinetic spencer_people_tracking_full --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 spencer_people_tracking_full 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
14:39:12 ---> Running in 9dd7cca5d139
14:39:12 ---> dca8a67bb3c3
14:39:12Removing intermediate container 9dd7cca5d139
14:39:12Successfully built dca8a67bb3c3
14:39:12+ echo # END SECTION
14:39:12# END SECTION
14:39:12+ echo # BEGIN SECTION: Run Dockerfile - binarydeb task
14:39:13# BEGIN SUBSECTION: get sourcedeb
14:39:19W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:19W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:19W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:19W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:19Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-kinetic-spencer-people-tracking-full=1.0.10-0xenial'
14:39:21Invoking 'apt-get source --download-only --only-source ros-kinetic-spencer-people-tracking-full=1.0.10-0xenial'
14:39:21Reading package lists...
14:39:21Need to get 4,553 B of source archives.
14:39:21Get:1 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-spencer-people-tracking-full 1.0.10-0xenial (dsc) [1,118 B]
14:39:21Get:2 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-spencer-people-tracking-full 1.0.10-0xenial (tar) [1,263 B]
14:39:21Get:3 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-spencer-people-tracking-full 1.0.10-0xenial (diff) [2,172 B]
14:39:21Fetched 4,553 B in 0s (393 kB/s)
14:39:21Download complete and in download only mode
14:39:21W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:21W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:21W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:21W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:21Invoking 'dpkg-source -x ros-kinetic-spencer-people-tracking-full_1.0.10-0xenial.dsc'
14:39:21dpkg-source: warning: extracting unsigned source package (ros-kinetic-spencer-people-tracking-full_1.0.10-0xenial.dsc)
14:39:21dpkg-source: info: extracting ros-kinetic-spencer-people-tracking-full in ros-kinetic-spencer-people-tracking-full-1.0.10
14:39:21dpkg-source: info: unpacking ros-kinetic-spencer-people-tracking-full_1.0.10.orig.tar.gz
14:39:21dpkg-source: info: unpacking ros-kinetic-spencer-people-tracking-full_1.0.10-0xenial.debian.tar.xz
14:39:21Package maintainer emails: linder@cs.uni-freiburg.de
14:39:21# END SUBSECTION
11.2. append build timestamp
Hide Details
14:39:21# BEGIN SUBSECTION: append build timestamp
14:39:22Invoking 'debchange -v 1.0.10-0xenial-20180922-133922+0000 -p -D xenial -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:22# END SUBSECTION
14:39:26Looking for the '.dsc' file of package 'ros-kinetic-spencer-people-tracking-full' with version '1.0.10-0'
14:39:27Using the following distribution repositories:
14:39:27http://10.210.9.154/ubuntu/building (/tmp/keys/0.key)
14:39:27http://packages.ros.org/ros/ubuntu (/tmp/keys/1.key)
14:39:27Generating Dockerfile '/tmp/docker_build_binarydeb/Dockerfile':
14:39:27 # generated from release/binarydeb_task.Dockerfile.em
14:39:2714:39:2714:39:27 FROM ubuntu:xenial
14:39:2714:39:27 VOLUME ["/var/cache/apt/archives"]
14:39:2714:39:27 ENV DEBIAN_FRONTEND noninteractive
14:39:2714:39:27 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
14:39:27 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
14:39:27 RUN locale-gen en_US.UTF-8
14:39:27 ENV LANG en_US.UTF-8
14:39:27 ENV TZ GMT+00
14:39:2714:39:27 RUN useradd -u 1002 -m buildfarm
14:39:2714:39:2714:39:27 RUN mkdir /tmp/keys
14:39:27 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
14:39:27 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
14:39:27 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:39:27 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:39:2714:39:27 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)
14:39:2714:39:27 RUN mkdir /tmp/wrapper_scripts
14:39:27 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
14:39:27 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
14:39:2714:39:27 # automatic invalidation once every day
14:39:27 RUN echo "2018-09-22 (+0000)"
14:39:2714:39:27 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
14:39:2714:39:27 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
14:39:2714:39:27 # for each dependency: echo version, apt update, apt install, apt clean
14:39:27 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
14:39:27 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
14:39:27 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
14:39:2714:39:27 USER buildfarm
14:39:27 ENTRYPOINT ["sh", "-c"]
14:39:27 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py kinetic spencer_people_tracking_full --sourcedeb-dir /tmp/binarydeb"]
14:39:27Mount the following volumes when running the container:
14:39:27 -v /tmp/ros_buildfarm:/tmp/ros_buildfarm:ro
14:39:27 -v /tmp/binarydeb:/tmp/binarydeb
14:39:28+ echo # END SECTION
14:39:28# END SECTION
14:39:29# BEGIN SECTION: Build Dockerfile - build binarydeb
14:39:29+ cd /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/docker_build_binarydeb
14:39:29+ python3 -u /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
14:39:29Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial
14:39:29Check docker base image for updates: docker pull ubuntu:xenial
14:39:30xenial: Pulling from library/ubuntu
14:39:30Digest: sha256:f53ee6c26fed293a1faaad6cb83713ce9289e4a38a9ea7e0d78c156fa1022e75
14:39:30Status: Image is up to date for ubuntu:xenial
14:39:30+ docker build --force-rm -t binarydeb_build.kinetic_ubuntu_xenial_amd64_spencer_people_tracking_full .
14:39:30Sending build context to Docker daemon 18.43 kB
Sending build context to Docker daemon 18.43 kB
14:39:30Step 1 : FROM ubuntu:xenial
14:39:30 ---> 2b9623518fa2
14:39:30Step 2 : VOLUME /var/cache/apt/archives
14:39:31 ---> Using cache
14:39:31 ---> 74ba1b76bf6e
14:39:31Step 3 : ENV DEBIAN_FRONTEND noninteractive
14:39:31 ---> Using cache
14:39:31 ---> 2493ca106c60
14:39:31Step 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
14:39:32 ---> Using cache
14:39:32 ---> 885388895e3f
14:39:32Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
14:39:32 ---> Using cache
14:39:32 ---> 40393b666211
14:39:32Step 6 : RUN locale-gen en_US.UTF-8
14:39:33 ---> Using cache
14:39:33 ---> e52d5a0e19f6
14:39:33Step 7 : ENV LANG en_US.UTF-8
14:39:33 ---> Using cache
14:39:33 ---> 2a9c5e2d8565
14:39:33Step 8 : ENV TZ GMT+00
14:39:34 ---> Using cache
14:39:34 ---> be900094f1df
14:39:34Step 9 : RUN useradd -u 1002 -m buildfarm
14:39:34 ---> Using cache
14:39:34 ---> 653b534e961f
14:39:34Step 10 : RUN mkdir /tmp/keys
14:39:35 ---> Using cache
14:39:35 ---> e4ea2a03c969
14:39:35Step 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
14:39:35 ---> Using cache
14:39:35 ---> d89322b323f7
14:39:35Step 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
14:39:36 ---> Using cache
14:39:36 ---> 0aca65174b48
14:39:36Step 13 : RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:39:36 ---> Using cache
14:39:36 ---> 068fa303acf0
14:39:36Step 14 : RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
14:39:37 ---> Using cache
14:39:37 ---> 27bd819464fc
14:39:37Step 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)
14:39:37 ---> Using cache
14:39:37 ---> 81a16c385fe9
14:39:37Step 16 : RUN mkdir /tmp/wrapper_scripts
14:39:38 ---> Using cache
14:39:38 ---> f62a0247fa67
14:39:38Step 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
14:39:38 ---> Using cache
14:39:38 ---> 489f397ca7ba
14:39:38Step 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
14:39:39 ---> Using cache
14:39:39 ---> 4251c1c51aac
14:39:39Step 19 : RUN echo "2018-09-22 (+0000)"
14:39:39 ---> Using cache
14:39:39 ---> 4dc2305de1c6
14:39:39Step 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
14:39:39 ---> Using cache
14:39:39 ---> 3f243d9e55d3
14:39:39Step 21 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
14:39:40 ---> Using cache
14:39:40 ---> 449bf527ea24
14:39:40Step 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
14:39:40 ---> Using cache
14:39:40 ---> ca4bbb465e36
14:39:40Step 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
14:39:41 ---> Using cache
14:39:41 ---> 51d2f81b0df7
14:39:41Step 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
14:39:41 ---> Using cache
14:39:41 ---> d92fdc8a74b4
14:39:41Step 25 : USER buildfarm
14:39:42 ---> Using cache
14:39:42 ---> 79af07400621
14:39:42Step 26 : ENTRYPOINT sh -c
14:39:42 ---> Using cache
14:39:42 ---> fb1415ed9b15
14:39:42Step 27 : CMD PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py kinetic spencer_people_tracking_full --sourcedeb-dir /tmp/binarydeb
14:39:43 ---> Running in a3fe50956c6f
14:39:43 ---> ef992b587874
14:39:43Removing intermediate container a3fe50956c6f
14:39:43Successfully built ef992b587874
14:39:43+ echo # END SECTION
14:39:43# END SECTION
14:39:43+ echo # BEGIN SECTION: Run Dockerfile - build binarydeb
13. Run Dockerfile - build binarydeb
Hide Details
14:39:43# BEGIN SECTION: Run Dockerfile - build binarydeb
14:39:43+ docker run --rm --cidfile=/home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/docker_build_binarydeb/docker.cid -e=HOME= -e=TRAVIS= --net=host -v /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache binarydeb_build.kinetic_ubuntu_xenial_amd64_spencer_people_tracking_full
13.1. build binarydeb
Hide Details
14:39:44# BEGIN SUBSECTION: build binarydeb
14:39:44Package 'ros-kinetic-spencer-people-tracking-full' version: 1.0.10-0xenial-20180922-133922+0000
14:39:44Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:44Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:44Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:44Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:46Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:46Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:46Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:46Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:46Invoking 'apt-src build ros-kinetic-spencer-people-tracking-full' in '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:46Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:46Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:46Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:46Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:47Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:47Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
14:39:47Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:47Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
14:39:47I: Building in /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10 ..
14:39:47dpkg-buildpackage: source package ros-kinetic-spencer-people-tracking-full
14:39:47dpkg-buildpackage: source version 1.0.10-0xenial-20180922-133922+0000
14:39:47dpkg-buildpackage: source distribution xenial
14:39:47dpkg-buildpackage: source changed by Timm Linder <linder@cs.uni-freiburg.de>
14:39:47dpkg-buildpackage: host architecture amd64
14:39:47 dpkg-source --before-build ros-kinetic-spencer-people-tracking-full-1.0.10
14:39:48dpkg-source: info: using options from ros-kinetic-spencer-people-tracking-full-1.0.10/debian/source/options: --auto-commit
14:39:48 fakeroot debian/rules clean
14:39:48dh clean -v --buildsystem=cmake
14:39:48 dh_testdir -O-v -O--buildsystem=cmake
14:39:48 dh_auto_clean -O-v -O--buildsystem=cmake
14:39:48 dh_clean -O-v -O--buildsystem=cmake
14:39:48 rm -f debian/debhelper-build-stamp
14:39:48 rm -f debian/ros-kinetic-spencer-people-tracking-full.substvars
14:39:48 rm -f debian/ros-kinetic-spencer-people-tracking-full.*.debhelper
14:39:48 rm -rf debian/ros-kinetic-spencer-people-tracking-full/
14:39:48 rm -rf debian/.debhelper/
14:39:48 rm -f debian/*.debhelper.log
14:39:48 rm -f debian/files
14:39:48 find . \( \( \
14:39:48 \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
14:39:48 \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
14:39:48 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
14:39:48 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
14:39:48 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
14:39:48 \) -exec rm -f {} + \) -o \
14:39:48 \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
14:39:48 rm -f *-stamp
14:39:48 debian/rules build
14:39:48dh build -v --buildsystem=cmake
14:39:49 dh_testdir -O-v -O--buildsystem=cmake
14:39:49 dh_update_autotools_config -O-v -O--buildsystem=cmake
14:39:49 debian/rules override_dh_auto_configure
14:39:49make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:49# In case we're installing to a non-standard location, look for a setup.sh
14:39:49# in the install tree that was dropped by catkin, and source it. It will
14:39:49# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
14:39:49if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
14:39:49dh_auto_configure -- \
14:39:49 -DCATKIN_BUILD_BINARY_PACKAGE="1" \
14:39:49 -DCMAKE_INSTALL_PREFIX="/opt/ros/kinetic" \
14:39:49 -DCMAKE_PREFIX_PATH="/opt/ros/kinetic"
14:39:49 mkdir -p obj-x86_64-linux-gnu
14:39:49 cd obj-x86_64-linux-gnu
14:39:49 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
14:39:49-- The C compiler identification is GNU 5.4.0
14:39:49-- The CXX compiler identification is GNU 5.4.0
14:39:49-- Check for working C compiler: /usr/lib/ccache/x86_64-linux-gnu-gcc
14:39:49-- Check for working C compiler: /usr/lib/ccache/x86_64-linux-gnu-gcc -- works
14:39:49-- Detecting C compiler ABI info
14:39:49-- Detecting C compiler ABI info - done
14:39:49-- Detecting C compile features
14:39:50-- Detecting C compile features - done
14:39:50-- Check for working CXX compiler: /usr/lib/ccache/x86_64-linux-gnu-g++
14:39:50-- Check for working CXX compiler: /usr/lib/ccache/x86_64-linux-gnu-g++ -- works
14:39:50-- Detecting CXX compiler ABI info
14:39:50-- Detecting CXX compiler ABI info - done
14:39:50-- Detecting CXX compile features
14:39:51-- Detecting CXX compile features - done
14:39:51-- Using CATKIN_DEVEL_PREFIX: /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu/devel
14:39:51-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
14:39:51-- This workspace overlays: /opt/ros/kinetic
14:39:51-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
14:39:51-- Using PYTHON_EXECUTABLE: /usr/bin/python
14:39:51-- Using Debian Python package layout
14:39:51-- Using empy: /usr/bin/empy
14:39:51-- Using CATKIN_ENABLE_TESTING: ON
14:39:51-- Skip enable_testing() when building binary package
14:39:51-- Using CATKIN_TEST_RESULTS_DIR: /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu/test_results
14:39:51-- Found gmock sources under '/usr/src/gmock': gmock will be built
14:39:51-- Looking for pthread.h
14:39:51-- Looking for pthread.h - found
14:39:51-- Looking for pthread_create
14:39:51-- Looking for pthread_create - not found
14:39:51-- Looking for pthread_create in pthreads
14:39:51-- Looking for pthread_create in pthreads - not found
14:39:51-- Looking for pthread_create in pthread
14:39:51-- Looking for pthread_create in pthread - found
14:39:52-- Found Threads: TRUE
14:39:52-- Found gtest sources under '/usr/src/gmock': gtests will be built
14:39:52-- Using Python nosetests: /usr/bin/nosetests-2.7
14:39:52-- catkin 0.7.14
14:39:52-- Configuring done
14:39:52-- Generating done
14:39:52CMake Warning:
14:39:52 Manually-specified variables were not used by the project:
14:39:5214:39:52 CMAKE_INSTALL_LOCALSTATEDIR
14:39:52 CMAKE_INSTALL_SYSCONFDIR
14:39:5214:39:5214:39:52-- Build files have been written to: /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu
14:39:52 cd /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10
14:39:52make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:52 debian/rules override_dh_auto_build
14:39:52make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:52# In case we're installing to a non-standard location, look for a setup.sh
14:39:52# in the install tree that was dropped by catkin, and source it. It will
14:39:52# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
14:39:52if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
14:39:52dh_auto_build
14:39:52 cd obj-x86_64-linux-gnu
14:39:52 make -j1
14:39:52make[2]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:52/usr/bin/cmake -H/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10 -B/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
14:39:52/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
14:39:52make -f CMakeFiles/Makefile2 all
14:39:52make[3]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:52make[3]: Nothing to be done for 'all'.
14:39:52make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:52/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu/CMakeFiles 0
14:39:52make[2]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:52 cd /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10
14:39:52make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:52 debian/rules override_dh_auto_test
14:39:52make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:52# In case we're installing to a non-standard location, look for a setup.sh
14:39:52# in the install tree that was dropped by catkin, and source it. It will
14:39:52# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
14:39:52echo -- Running tests. Even if one of them fails the build is not canceled.
14:39:52-- Running tests. Even if one of them fails the build is not canceled.
14:39:52if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
14:39:52dh_auto_test || true
14:39:52make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:52 fakeroot debian/rules binary
14:39:53dh binary -v --buildsystem=cmake
14:39:53 dh_testroot -O-v -O--buildsystem=cmake
14:39:53 dh_prep -O-v -O--buildsystem=cmake
14:39:53 rm -f debian/ros-kinetic-spencer-people-tracking-full.substvars
14:39:53 rm -f debian/ros-kinetic-spencer-people-tracking-full.*.debhelper
14:39:53 rm -rf debian/ros-kinetic-spencer-people-tracking-full/
14:39:53 dh_installdirs -O-v -O--buildsystem=cmake
14:39:53 install -d debian/ros-kinetic-spencer-people-tracking-full
14:39:53 debian/rules override_dh_auto_install
14:39:53make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:53# In case we're installing to a non-standard location, look for a setup.sh
14:39:53# in the install tree that was dropped by catkin, and source it. It will
14:39:53# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
14:39:53if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
14:39:53dh_auto_install
14:39:53 cd obj-x86_64-linux-gnu
14:39:53 make -j1 install DESTDIR=/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/debian/ros-kinetic-spencer-people-tracking-full AM_UPDATE_INFO_DIR=no
14:39:53make[2]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:53/usr/bin/cmake -H/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10 -B/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
14:39:53/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
14:39:53make -f CMakeFiles/Makefile2 all
14:39:53make[3]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:53make[3]: Nothing to be done for 'all'.
14:39:53make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:53/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu/CMakeFiles 0
14:39:53make -f CMakeFiles/Makefile2 preinstall
14:39:53make[3]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:53make[3]: Nothing to be done for 'preinstall'.
14:39:53make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:53Install the project...
14:39:53/usr/bin/cmake -P cmake_install.cmake
14:39:53-- Install configuration: "None"
14:39:53-- Installing: /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/debian/ros-kinetic-spencer-people-tracking-full/opt/ros/kinetic/share/spencer_people_tracking_full/package.xml
14:39:53make[2]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu'
14:39:53 cd /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10
14:39:53make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:53 dh_install -O-v -O--buildsystem=cmake
14:39:53 dh_installdocs -O-v -O--buildsystem=cmake
14:39:53 install -d debian/ros-kinetic-spencer-people-tracking-full/usr/share/doc/ros-kinetic-spencer-people-tracking-full
14:39:53 dh_installchangelogs -O-v -O--buildsystem=cmake
14:39:53 install -p -m0644 debian/changelog debian/ros-kinetic-spencer-people-tracking-full/usr/share/doc/ros-kinetic-spencer-people-tracking-full/changelog.Debian
14:39:53 dh_installexamples -O-v -O--buildsystem=cmake
14:39:53 dh_installman -O-v -O--buildsystem=cmake
14:39:54 dh_installcatalogs -O-v -O--buildsystem=cmake
14:39:54 dh_installcron -O-v -O--buildsystem=cmake
14:39:54 dh_installdebconf -O-v -O--buildsystem=cmake
14:39:54 install -d debian/ros-kinetic-spencer-people-tracking-full/DEBIAN
14:39:54 dh_installemacsen -O-v -O--buildsystem=cmake
14:39:54 dh_installifupdown -O-v -O--buildsystem=cmake
14:39:54 dh_installinfo -O-v -O--buildsystem=cmake
14:39:54 dh_installinit -O-v -O--buildsystem=cmake
14:39:54 dh_installmenu -O-v -O--buildsystem=cmake
14:39:54 dh_installmime -O-v -O--buildsystem=cmake
14:39:54 dh_installmodules -O-v -O--buildsystem=cmake
14:39:54 dh_installlogcheck -O-v -O--buildsystem=cmake
14:39:54 dh_installlogrotate -O-v -O--buildsystem=cmake
14:39:54 dh_installpam -O-v -O--buildsystem=cmake
14:39:54 dh_installppp -O-v -O--buildsystem=cmake
14:39:54 dh_installudev -O-v -O--buildsystem=cmake
14:39:54 dh_installgsettings -O-v -O--buildsystem=cmake
14:39:54 dh_bugfiles -O-v -O--buildsystem=cmake
14:39:54 dh_ucf -O-v -O--buildsystem=cmake
14:39:54 dh_lintian -O-v -O--buildsystem=cmake
14:39:54 dh_gconf -O-v -O--buildsystem=cmake
14:39:54 dh_icons -O-v -O--buildsystem=cmake
14:39:55 dh_perl -O-v -O--buildsystem=cmake
14:39:55 dh_usrlocal -O-v -O--buildsystem=cmake
14:39:55 dh_link -O-v -O--buildsystem=cmake
14:39:55 dh_installwm -O-v -O--buildsystem=cmake
14:39:55 dh_installxfonts -O-v -O--buildsystem=cmake
14:39:55 dh_strip_nondeterminism -O-v -O--buildsystem=cmake
14:39:55 dh_compress -O-v -O--buildsystem=cmake
14:39:55 cd debian/ros-kinetic-spencer-people-tracking-full
14:39:55 chmod a-x usr/share/doc/ros-kinetic-spencer-people-tracking-full/changelog.Debian
14:39:55 gzip -9nf usr/share/doc/ros-kinetic-spencer-people-tracking-full/changelog.Debian
14:39:55 cd '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:55 dh_fixperms -O-v -O--buildsystem=cmake
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full/usr/share/doc -type f ! -regex 'debian/ros-kinetic-spencer-people-tracking-full/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 0755
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full/usr/share/man debian/ros-kinetic-spencer-people-tracking-full/usr/man/ debian/ros-kinetic-spencer-people-tracking-full/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 0644
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 0644
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 0644
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full/usr/lib/x86_64-linux-gnu/perl5/5.22 debian/ros-kinetic-spencer-people-tracking-full/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full -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
14:39:55 find debian/ros-kinetic-spencer-people-tracking-full/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
14:39:55 dh_strip -O-v -O--buildsystem=cmake
14:39:55 dh_makeshlibs -O-v -O--buildsystem=cmake
14:39:55 rm -f debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/shlibs
14:39:55 debian/rules override_dh_shlibdeps
14:39:55make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:55# In case we're installing to a non-standard location, look for a setup.sh
14:39:55# in the install tree that was dropped by catkin, and source it. It will
14:39:55# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
14:39:55if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
14:39:55dh_shlibdeps -l/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/debian/ros-kinetic-spencer-people-tracking-full//opt/ros/kinetic/lib/
14:39:55make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10'
14:39:55 dh_installdeb -O-v -O--buildsystem=cmake
14:39:56 dh_gencontrol -O-v -O--buildsystem=cmake
14:39:56 echo misc:Depends= >> debian/ros-kinetic-spencer-people-tracking-full.substvars
14:39:56 echo misc:Pre-Depends= >> debian/ros-kinetic-spencer-people-tracking-full.substvars
14:39:56 dpkg-gencontrol -pros-kinetic-spencer-people-tracking-full -ldebian/changelog -Tdebian/ros-kinetic-spencer-people-tracking-full.substvars -Pdebian/ros-kinetic-spencer-people-tracking-full
14:39:56dpkg-gencontrol: warning: Depends field of package ros-kinetic-spencer-people-tracking-full: unknown substitution variable ${shlibs:Depends}
14:39:56 chmod 0644 debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/control
14:39:56 chown 0:0 debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/control
14:39:56 dh_md5sums -O-v -O--buildsystem=cmake
14:39:56 (cd debian/ros-kinetic-spencer-people-tracking-full >/dev/null ; find . -type f ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
14:39:56 chmod 0644 debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/md5sums
14:39:56 chown 0:0 debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/md5sums
14:39:56 dh_builddeb -O-v -O--buildsystem=cmake
14:39:56 dpkg-deb --build debian/ros-kinetic-spencer-people-tracking-full ..
14:39:56dpkg-deb: building package 'ros-kinetic-spencer-people-tracking-full' in '../ros-kinetic-spencer-people-tracking-full_1.0.10-0xenial-20180922-133922+0000_amd64.deb'.
14:39:56 dpkg-genchanges -b >../ros-kinetic-spencer-people-tracking-full_1.0.10-0xenial-20180922-133922+0000_amd64.changes
14:39:56dpkg-genchanges: binary-only upload (no source code included)
14:39:56 dpkg-source --after-build ros-kinetic-spencer-people-tracking-full-1.0.10
14:39:56dpkg-source: info: using options from ros-kinetic-spencer-people-tracking-full-1.0.10/debian/source/options: --auto-commit
14:39:56dpkg-buildpackage: binary-only upload (no source included)
14:39:56I: Successfully built in /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10
14:39:56# END SUBSECTION
14:39:56+ echo # END SECTION
14:39:56# END SECTION
14:39:56[Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson2419950650417449614.sh
14:39:56+ [ false = false ]
14:39:56+ echo # BEGIN SECTION: Clean up to save disk space on slaves
14. Clean up to save disk space on slaves
Hide Details
14:39:56# BEGIN SECTION: Clean up to save disk space on slaves
14:39:56+ chmod -R u+w /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/binarydeb
14:39:56+ rm -fr binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/CHANGELOG.rst binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/CMakeLists.txt binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/README.md binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/debian binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/obj-x86_64-linux-gnu binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.10/package.xml
14:39:56+ echo # END SECTION
14:39:56# END SECTION
14:39:56SSH: Connecting from host [lcas-buildfarm-slave-2]
14:39:56SSH: Connecting with configuration [repo] ...
14:39:57SSH: Disconnecting configuration [repo] ...
14:39:57SSH: Transferred 2 file(s)
14:39:57Build step 'Send files or execute commands over SSH' changed build result to SUCCESS
14:39:57Waiting for the completion of Krel_import-package14:39:59Krel_import-package #3583 completed. Result was SUCCESS
14:39:59$ ssh-agent -k
14:39:59unset SSH_AUTH_SOCK;
14:39:59unset SSH_AGENT_PID;
14:39:59echo Agent pid 27126 killed;
14:39:59[ssh-agent] Stopped.
14:39:59[description-setter] Description set: 1.0.10-0xenial-20180922-133922+0000
14:40:00Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
14:40:00Triggering a new build of Krel_sync-packages-to-testing_xenial_amd6414:40:00Triggering a new build of Kbin_uX64__iliad_launch_navigation__ubuntu_xenial_amd64__binary14:40:00Triggering a new build of Kbin_uX64__iliad_human_perception_launch__ubuntu_xenial_amd64__binary14:40:00Triggering a new build of Kbin_uX64__iliad_launch_manipulation__ubuntu_xenial_amd64__binary14:40:00Finished: SUCCESS