02:42:52# BEGIN SECTION: Check upstream projects
02:42:52Verify that no recursive upstream project is broken:
02:42:52- 'Kbin_uX64__pcl_people_detector__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__spencer_tracking_msgs__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_tracking_msgs__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__spencer_vision_msgs__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_vision_msgs__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__pcl_people_detector__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__rwth_ground_hog__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__rwth_perception_people_msgs__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__rwth_perception_people_msgs__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__spencer_diagnostics__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__spencer_control_msgs__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_control_msgs__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_diagnostics__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__rwth_ground_hog__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__rwth_ground_plane__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__rwth_ground_plane__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__rwth_upper_body_detector__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__rwth_upper_body_detector__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_bagfile_tools__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_bagfile_tools__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_detected_person_association__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_detected_person_association__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_detected_person_conversion__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_detected_person_conversion__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_group_tracking__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__spencer_social_relation_msgs__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_social_relation_msgs__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_group_tracking__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_human_attribute_msgs__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_human_attribute_msgs__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_leg_detector_wrapper__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_leg_detector_wrapper__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_people_tracking_launch__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__spencer_tracking_rviz_plugin__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_tracking_rviz_plugin__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__srl_nearest_neighbor_tracker__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__srl_laser_segmentation__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__srl_laser_segmentation__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__srl_nearest_neighbor_tracker__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_people_tracking_launch__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_perception_mocks__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_perception_mocks__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_social_relations__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_social_relations__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_tracking_metrics__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_tracking_metrics__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__spencer_tracking_utils__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__spencer_tracking_utils__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__srl_laser_detectors__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
02:42:52 - 'Kbin_uX64__srl_laser_features__ubuntu_xenial_amd64__binary' build '11' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__srl_laser_features__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__srl_laser_detectors__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__srl_tracking_exporter__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__srl_tracking_exporter__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__srl_tracking_logfile_import__ubuntu_xenial_amd64__binary' build '10' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__srl_tracking_logfile_import__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__track_annotation_tool__ubuntu_xenial_amd64__binary' build '13' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__track_annotation_tool__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Kbin_uX64__video_to_bagfile__ubuntu_xenial_amd64__binary' build '12' has result 'SUCCESS'
02:42:52 - 'Ksrc_uX__video_to_bagfile__ubuntu_xenial__source' build '10' has result 'SUCCESS'
02:42:52- 'Ksrc_uX__spencer_people_tracking_full__ubuntu_xenial__source' build '5' has result 'SUCCESS'
02:42:52All recursive upstream projects are (un)stable
02:42:52# END SECTION
02:42:52
2. Check free disk space
Hide Details
02:42:52# BEGIN SECTION: Check free disk space
02:42:52Usable disk space = 11739234304 bytes
02:42:52Free space threshold = 5368709120 bytes
02:42:52# END SECTION
02:42:52[Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson8103721451229936769.sh
02:42:52+ echo # BEGIN SECTION: docker version
3. docker version
Hide Details
02:42:52# BEGIN SECTION: docker version
02:42:52+ docker version
02:42:52Client:
02:42:52 Version: 1.9.1
02:42:52 API version: 1.21
02:42:52 Go version: go1.4.2
02:42:52 Git commit: a34a1d5
02:42:52 Built: Fri Nov 20 13:12:04 UTC 2015
02:42:52 OS/Arch: linux/amd64
02:42:5202:42:52Server:
02:42:52 Version: 1.9.1
02:42:52 API version: 1.21
02:42:52 Go version: go1.4.2
02:42:52 Git commit: a34a1d5
02:42:52 Built: Fri Nov 20 13:12:04 UTC 2015
02:42:52 OS/Arch: linux/amd64
02:42:52+ echo # END SECTION
02:42:52# END SECTION
02:42:52+ echo # BEGIN SECTION: docker info
4. docker info
Hide Details
02:42:52# BEGIN SECTION: docker info
02:42:52+ docker info
02:43:09Containers: 343
02:43:09Images: 2848
02:43:09Server Version: 1.9.1
02:43:09Storage Driver: aufs
02:43:09 Root Dir: /var/lib/docker/aufs
02:43:09 Backing Filesystem: extfs
02:43:09 Dirs: 3958
02:43:09 Dirperm1 Supported: false
02:43:09Execution Driver: native-0.2
02:43:09Logging Driver: json-file
02:43:09Kernel Version: 3.13.0-29-generic
02:43:09Operating System: Ubuntu 14.04 LTS
02:43:09CPUs: 2
02:43:09Total Memory: 3.861 GiB
02:43:09Name: lcas-buildfarm-slave-1
02:43:09ID: LZSS:PF7G:CREH:TEQW:FH57:3M6D:KCSS:ODQY:SPHA:ND7A:FHYG:PNDE
02:43:09WARNING: No swap limit support
02:43:09+ echo # END SECTION
02:43:09# END SECTION
02:43:09[Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson3902903728764562334.sh
02:43:09+ echo # BEGIN SECTION: Check docker status
5. Check docker status
Hide Details
02:43:09# BEGIN SECTION: Check docker status
02:43:09+ echo Testing trivial docker invocation...
02:43:09Testing trivial docker invocation...
02:43:09+ docker run --rm ubuntu:xenial true
02:43:10+ echo 'docker run' returned 0
02:43:10'docker run' returned 0
02:43:10docker seems operational, continuing
02:43:10[Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson2939913796022227473.sh
02:43:10+ echo # END SECTION
02:43:10# END SECTION
02:43:10# BEGIN SECTION: Embed wrapper scripts
02:43:10+ rm -fr wrapper_scripts
02:43:10+ mkdir wrapper_scripts
02:43:10+ 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())
02:43:10+ echo # END SECTION
02:43:10# END SECTION
02:43:14# BEGIN SECTION: Generate Dockerfile - binarydeb task
02:43:14+ export TZ=GMT+00
02:43:14+ export PYTHONPATH=/home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/ros_buildfarm:
02:43:14+ 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
02:43:14Using the following distribution repositories:
02:43:14http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/keys/0.key)
02:43:14http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/keys/1.key)
02:43:14Generating Dockerfile '/home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/docker_generating_docker/Dockerfile':
02:43:14 # generated from release/binarydeb_create_task.Dockerfile.em
02:43:1402:43:14 FROM ubuntu:xenial
02:43:1402:43:14 VOLUME ["/var/cache/apt/archives"]
02:43:1402:43:14 ENV DEBIAN_FRONTEND noninteractive
02:43:1402:43:14 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
02:43:14 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
02:43:14 RUN locale-gen en_US.UTF-8
02:43:14 ENV LANG en_US.UTF-8
02:43:14 ENV TZ GMT+00
02:43:1402:43:1402:43:14 RUN useradd -u 1002 -m buildfarm
02:43:1402:43:1402:43:14 RUN mkdir /tmp/keys
02:43:14 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
02:43:14 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQGiBEsy5KkRBADJbDSISoamRM5AA20bfAeBuhhaI+VaiCV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sA2Z9Y\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
02:43:14 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:43:14 RUN echo deb-src http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:43:14 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:43:1402:43:14 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)
02:43:1402:43:14 RUN mkdir /tmp/wrapper_scripts
02:43:14 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
02:43:14 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
02:43:1402:43:14 # automatic invalidation once every day
02:43:14 RUN echo "2018-09-11 (+0000)"
02:43:1402:43:14 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
02:43:1402:43:14 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
02:43:1402:43:14 # always invalidate to actually have the latest apt repo state
02:43:14 RUN echo "2018-09-11 01:43:14 +0000"
02:43:14 RUN python3 -u /tmp/wrapper_scripts/apt.py update
02:43:1402:43:14 USER buildfarm
02:43:14 ENTRYPOINT ["sh", "-c"]
02:43:14 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"]
02:43:14+ echo # END SECTION
02:43:14# END SECTION
02:43:14+ echo # BEGIN SECTION: Build Dockerfile - binarydeb task
10. Build Dockerfile - binarydeb task
Hide Details
02:43:14# BEGIN SECTION: Build Dockerfile - binarydeb task
02:43:14+ cd /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/docker_generating_docker
02:43:14+ python3 -u /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
02:43:15Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial
02:43:15Check docker base image for updates: docker pull ubuntu:xenial
02:43:16xenial: Pulling from library/ubuntu
02:43:16Digest: sha256:f53ee6c26fed293a1faaad6cb83713ce9289e4a38a9ea7e0d78c156fa1022e75
02:43:16Status: Image is up to date for ubuntu:xenial
02:43:16+ docker build --force-rm -t binarydeb_task_generation.kinetic_ubuntu_xenial_amd64_spencer_people_tracking_full .
02:43:16Sending build context to Docker daemon 18.94 kB
Sending build context to Docker daemon 18.94 kB
02:43:16Step 1 : FROM ubuntu:xenial
02:43:16 ---> 2b9623518fa2
02:43:16Step 2 : VOLUME /var/cache/apt/archives
02:43:17 ---> Using cache
02:43:17 ---> 9fc7a5669c2a
02:43:17Step 3 : ENV DEBIAN_FRONTEND noninteractive
02:43:18 ---> Using cache
02:43:18 ---> ed7a90235f37
02:43:18Step 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
02:43:18 ---> Using cache
02:43:18 ---> 8791888817b8
02:43:18Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
02:43:19 ---> Using cache
02:43:19 ---> ca63d359db0c
02:43:19Step 6 : RUN locale-gen en_US.UTF-8
02:43:20 ---> Using cache
02:43:20 ---> 6e872b4029ed
02:43:20Step 7 : ENV LANG en_US.UTF-8
02:43:20 ---> Using cache
02:43:20 ---> ee062c1ded06
02:43:20Step 8 : ENV TZ GMT+00
02:43:21 ---> Using cache
02:43:21 ---> a0b18c3f60d8
02:43:21Step 9 : RUN useradd -u 1002 -m buildfarm
02:43:22 ---> Using cache
02:43:22 ---> 7042c9d8f34b
02:43:22Step 10 : RUN mkdir /tmp/keys
02:43:22 ---> Using cache
02:43:22 ---> f6927dbe64b3
02:43:22Step 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\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWl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N\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
02:43:23 ---> Using cache
02:43:23 ---> efa3936ea789
02:43:23Step 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
02:43:24 ---> Using cache
02:43:24 ---> 3bdebf4a12fa
02:43:24Step 13 : RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:43:25 ---> Using cache
02:43:25 ---> 2c52e9448836
02:43:25Step 14 : RUN echo deb-src http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:43:26 ---> Using cache
02:43:26 ---> a02d1ff6d16e
02:43:26Step 15 : RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:43:26 ---> Using cache
02:43:26 ---> 9f4e4f32d4a1
02:43:26Step 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)
02:43:27 ---> Using cache
02:43:27 ---> eb5e93e22d13
02:43:27Step 17 : RUN mkdir /tmp/wrapper_scripts
02:43:27 ---> Using cache
02:43:27 ---> 2c5db42891b3
02:43:27Step 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
02:43:28 ---> Using cache
02:43:28 ---> 7fb89310d442
02:43:28Step 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
02:43:29 ---> Using cache
02:43:29 ---> de97d40b29ad
02:43:29Step 20 : RUN echo "2018-09-11 (+0000)"
02:43:30 ---> Using cache
02:43:30 ---> e8da1cd95667
02:43:30Step 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
02:43:30 ---> Using cache
02:43:30 ---> 6c790b6cc891
02:43:30Step 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
02:43:31 ---> Using cache
02:43:31 ---> c79fa90e81d8
02:43:31Step 23 : RUN echo "2018-09-11 01:43:14 +0000"
02:43:32 ---> Running in ed4d65f0868d
02:43:322018-09-11 01:43:14 +0000
02:43:33 ---> de392c340644
02:43:33Removing intermediate container ed4d65f0868d
02:43:33Step 24 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
02:43:33 ---> Running in d5c161a8e8ea
02:43:34Invoking 'apt-get update'
02:43:34Get:1 http://10.210.9.154/ubuntu/building xenial InRelease [2,856 B]
02:43:34Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
02:43:34Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
02:43:34Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
02:43:34Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
02:43:34Get:6 http://archive.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
02:43:34Get:7 http://10.210.9.154/ubuntu/building xenial/main Sources [137 kB]
02:43:34Get:8 http://10.210.9.154/ubuntu/building xenial/main amd64 Packages [149 kB]
02:43:34Hit:9 http://packages.ros.org/ros/ubuntu xenial InRelease
02:43:35Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [879 kB]
02:43:35Fetched 1,597 kB in 1s (1,395 kB/s)
02:43:37Reading package lists...
02:43:38W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:43:38W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:43:38W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:43:38W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:43:38W: http://10.210.9.154/ubuntu/building/dists/xenial/InRelease: Signature by key 0379D44201EF3A91028107A8DCD74318AED39854 uses weak digest algorithm (SHA1)
02:43:38W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:43:38W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:43:38W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:43:38W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:43:38 ---> 0f78224039dc
02:43:38Removing intermediate container d5c161a8e8ea
02:43:38Step 25 : USER buildfarm
02:43:38 ---> Running in 818362f015ce
02:43:38 ---> 03111e379b3e
02:43:39Removing intermediate container 818362f015ce
02:43:39Step 26 : ENTRYPOINT sh -c
02:43:39 ---> Running in b89a166f1638
02:43:40 ---> b6e4a37b14f7
02:43:40Removing intermediate container b89a166f1638
02:43:40Step 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
02:43:41 ---> Running in e08124a9713c
02:43:41 ---> 2f38468292db
02:43:41Removing intermediate container e08124a9713c
02:43:41Successfully built 2f38468292db
02:43:41+ echo # END SECTION
02:43:41# END SECTION
02:43:41+ echo # BEGIN SECTION: Run Dockerfile - binarydeb task
02:43:42# BEGIN SUBSECTION: get sourcedeb
02:43:51W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:43:51W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:43:51W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:43:51W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:43:51Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-kinetic-spencer-people-tracking-full=1.0.9-0xenial'
02:43:53Invoking 'apt-get source --download-only --only-source ros-kinetic-spencer-people-tracking-full=1.0.9-0xenial'
02:43:53Reading package lists...
02:43:53Need to get 4,508 B of source archives.
02:43:53Get:1 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-spencer-people-tracking-full 1.0.9-0xenial (dsc) [1,111 B]
02:43:53Get:2 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-spencer-people-tracking-full 1.0.9-0xenial (tar) [1,245 B]
02:43:53Get:3 http://10.210.9.154/ubuntu/building xenial/main ros-kinetic-spencer-people-tracking-full 1.0.9-0xenial (diff) [2,152 B]
02:43:53Fetched 4,508 B in 0s (377 kB/s)
02:43:53Download complete and in download only mode
02:43:53W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:43:53W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:43:53W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:43:53W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:43:53Invoking 'dpkg-source -x ros-kinetic-spencer-people-tracking-full_1.0.9-0xenial.dsc'
02:43:54dpkg-source: warning: extracting unsigned source package (ros-kinetic-spencer-people-tracking-full_1.0.9-0xenial.dsc)
02:43:54dpkg-source: info: extracting ros-kinetic-spencer-people-tracking-full in ros-kinetic-spencer-people-tracking-full-1.0.9
02:43:54dpkg-source: info: unpacking ros-kinetic-spencer-people-tracking-full_1.0.9.orig.tar.gz
02:43:54dpkg-source: info: unpacking ros-kinetic-spencer-people-tracking-full_1.0.9-0xenial.debian.tar.xz
02:43:54Package maintainer emails: linder@cs.uni-freiburg.de
02:43:54# END SUBSECTION
11.2. append build timestamp
Hide Details
02:43:54# BEGIN SUBSECTION: append build timestamp
02:43:54dpkg-parsechangelog: warning: debian/changelog(l5): found trailer where expected start of change data
02:43:54LINE: -- Timm Linder <linder@cs.uni-freiburg.de> Wed, 17 Jan 2018 00:00:00 -0000
02:43:54Invoking 'debchange -v 1.0.9-0xenial-20180911-014354+0000 -p -D xenial -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:43:54debchange: warning: debian/changelog(l5): found trailer where expected start of change data
02:43:54LINE: -- Timm Linder <linder@cs.uni-freiburg.de> Wed, 17 Jan 2018 00:00:00 -0000
02:43:54# END SUBSECTION
02:43:58Looking for the '.dsc' file of package 'ros-kinetic-spencer-people-tracking-full' with version '1.0.9-0'
02:44:00Using the following distribution repositories:
02:44:00http://10.210.9.154/ubuntu/building (/tmp/keys/0.key)
02:44:00http://packages.ros.org/ros/ubuntu (/tmp/keys/1.key)
02:44:00Generating Dockerfile '/tmp/docker_build_binarydeb/Dockerfile':
02:44:00 # generated from release/binarydeb_task.Dockerfile.em
02:44:0002:44:0002:44:00 FROM ubuntu:xenial
02:44:0002:44:00 VOLUME ["/var/cache/apt/archives"]
02:44:0002:44:00 ENV DEBIAN_FRONTEND noninteractive
02:44:0002:44:00 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
02:44:00 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
02:44:00 RUN locale-gen en_US.UTF-8
02:44:00 ENV LANG en_US.UTF-8
02:44:00 ENV TZ GMT+00
02:44:0002:44:00 RUN useradd -u 1002 -m buildfarm
02:44:0002:44:0002:44:00 RUN mkdir /tmp/keys
02:44:00 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+W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+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
02:44:00 RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:44:00 RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:44:0002:44:00 RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && (echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://old-releases.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list) || (echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list && echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial-security multiverse" >> /etc/apt/sources.list)
02:44:0002:44:00 RUN mkdir /tmp/wrapper_scripts
02:44:00 RUN echo "#!/usr/bin/env python3\n\n# Copyright 2014-2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Failed to fetch',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
02:44:00 RUN echo "#!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/git.py
02:44:0002:44:00 # automatic invalidation once every day
02:44:00 RUN echo "2018-09-11 (+0000)"
02:44:0002:44:00 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
02:44:0002:44:00 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
02:44:0002:44:00 # for each dependency: echo version, apt update, apt install, apt clean
02:44:00 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
02:44:00 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
02:44:00 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
02:44:0002:44:00 USER buildfarm
02:44:00 ENTRYPOINT ["sh", "-c"]
02:44:00 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"]
02:44:00Mount the following volumes when running the container:
02:44:00 -v /tmp/ros_buildfarm:/tmp/ros_buildfarm:ro
02:44:00 -v /tmp/binarydeb:/tmp/binarydeb
02:44:01+ echo # END SECTION
02:44:01# END SECTION
02:44:02# BEGIN SECTION: Build Dockerfile - build binarydeb
02:44:02+ cd /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/docker_build_binarydeb
02:44:02+ python3 -u /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py
02:44:02Get base image name from Dockerfile 'Dockerfile': ubuntu:xenial
02:44:02Check docker base image for updates: docker pull ubuntu:xenial
02:44:03xenial: Pulling from library/ubuntu
02:44:03Digest: sha256:f53ee6c26fed293a1faaad6cb83713ce9289e4a38a9ea7e0d78c156fa1022e75
02:44:03Status: Image is up to date for ubuntu:xenial
02:44:03+ docker build --force-rm -t binarydeb_build.kinetic_ubuntu_xenial_amd64_spencer_people_tracking_full .
02:44:03Sending build context to Docker daemon 18.43 kB
Sending build context to Docker daemon 18.43 kB
02:44:04Step 1 : FROM ubuntu:xenial
02:44:04 ---> 2b9623518fa2
02:44:04Step 2 : VOLUME /var/cache/apt/archives
02:44:04 ---> Using cache
02:44:04 ---> 9fc7a5669c2a
02:44:04Step 3 : ENV DEBIAN_FRONTEND noninteractive
02:44:05 ---> Using cache
02:44:05 ---> ed7a90235f37
02:44:05Step 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
02:44:06 ---> Using cache
02:44:06 ---> 8791888817b8
02:44:06Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
02:44:06 ---> Using cache
02:44:06 ---> ca63d359db0c
02:44:06Step 6 : RUN locale-gen en_US.UTF-8
02:44:07 ---> Using cache
02:44:07 ---> 6e872b4029ed
02:44:07Step 7 : ENV LANG en_US.UTF-8
02:44:07 ---> Using cache
02:44:07 ---> ee062c1ded06
02:44:07Step 8 : ENV TZ GMT+00
02:44:08 ---> Using cache
02:44:08 ---> a0b18c3f60d8
02:44:08Step 9 : RUN useradd -u 1002 -m buildfarm
02:44:09 ---> Using cache
02:44:09 ---> 7042c9d8f34b
02:44:09Step 10 : RUN mkdir /tmp/keys
02:44:09 ---> Using cache
02:44:09 ---> f6927dbe64b3
02:44:09Step 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\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6c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3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\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
02:44:10 ---> Using cache
02:44:10 ---> efa3936ea789
02:44:10Step 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\nZXI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 ---> Using cache
02:44:10 ---> 3bdebf4a12fa
02:44:10Step 13 : RUN echo deb http://10.210.9.154/ubuntu/building xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:44:11 ---> Using cache
02:44:11 ---> 2c52e9448836
02:44:11Step 14 : RUN echo deb http://packages.ros.org/ros/ubuntu xenial main | tee -a /etc/apt/sources.list.d/buildfarm.list
02:44:12 ---> Using cache
02:44:12 ---> 872185512d89
02:44:12Step 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)
02:44:13 ---> Using cache
02:44:13 ---> 8c7dec57bb17
02:44:13Step 16 : RUN mkdir /tmp/wrapper_scripts
02:44:14 ---> Using cache
02:44:14 ---> fa086b1dc98f
02:44:14Step 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
02:44:15 ---> Using cache
02:44:15 ---> b1e4ec763b8b
02:44:15Step 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
02:44:16 ---> Using cache
02:44:16 ---> 6210aa651d06
02:44:16Step 19 : RUN echo "2018-09-11 (+0000)"
02:44:17 ---> Using cache
02:44:17 ---> d3f0f4242ecf
02:44:17Step 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
02:44:18 ---> Using cache
02:44:18 ---> 6862be440a71
02:44:18Step 21 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential
02:44:19 ---> Using cache
02:44:19 ---> 17e2ebbd6199
02:44:19Step 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
02:44:20 ---> Using cache
02:44:20 ---> 939347be289c
02:44:20Step 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
02:44:21 ---> Using cache
02:44:21 ---> 7a083a8062ca
02:44:21Step 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
02:44:21 ---> Using cache
02:44:21 ---> d399b64e15da
02:44:21Step 25 : USER buildfarm
02:44:22 ---> Using cache
02:44:22 ---> 95a39580e4e4
02:44:22Step 26 : ENTRYPOINT sh -c
02:44:23 ---> Using cache
02:44:23 ---> eb7b4212cb7b
02:44:23Step 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
02:44:24 ---> Running in ee72360c97d8
02:49:39 ---> 226ccbe07baf
02:49:39Removing intermediate container ee72360c97d8
02:49:39Successfully built 226ccbe07baf
02:49:39+ echo # END SECTION
02:49:39# END SECTION
02:49:39+ echo # BEGIN SECTION: Run Dockerfile - build binarydeb
13. Run Dockerfile - build binarydeb
Hide Details
02:49:39# BEGIN SECTION: Run Dockerfile - build binarydeb
02:49:39+ 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
02:49:41# BEGIN SUBSECTION: build binarydeb
02:49:42Package 'ros-kinetic-spencer-people-tracking-full' version: 1.0.9-0xenial-20180911-014354+0000
02:49:42Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:49:42Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:49:42Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:49:42Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:49:46Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:49:46Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:49:46Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:49:46Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:49:46Invoking 'apt-src build ros-kinetic-spencer-people-tracking-full' in '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:49:46Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:49:46Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:49:46Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:49:46Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:49:48Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:49:48Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list:50
02:49:48Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:49:48Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:26 and /etc/apt/sources.list:52
02:49:48I: Building in /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9 ..
02:49:48dpkg-buildpackage: source package ros-kinetic-spencer-people-tracking-full
02:49:48dpkg-buildpackage: source version 1.0.9-0xenial-20180911-014354+0000
02:49:48dpkg-buildpackage: source distribution xenial
02:49:48dpkg-buildpackage: source changed by Timm Linder <linder@cs.uni-freiburg.de>
02:49:49 dpkg-source --before-build ros-kinetic-spencer-people-tracking-full-1.0.9
02:49:49dpkg-buildpackage: host architecture amd64
02:49:49dpkg-source: info: using options from ros-kinetic-spencer-people-tracking-full-1.0.9/debian/source/options: --auto-commit
02:49:49 fakeroot debian/rules clean
02:49:50dh clean -v --buildsystem=cmake
02:49:50 dh_testdir -O-v -O--buildsystem=cmake
02:49:50 dh_auto_clean -O-v -O--buildsystem=cmake
02:49:50 dh_clean -O-v -O--buildsystem=cmake
02:49:50 rm -f debian/debhelper-build-stamp
02:49:50 rm -f debian/ros-kinetic-spencer-people-tracking-full.substvars
02:49:50 rm -f debian/ros-kinetic-spencer-people-tracking-full.*.debhelper
02:49:50 rm -rf debian/ros-kinetic-spencer-people-tracking-full/
02:49:50 rm -rf debian/.debhelper/
02:49:50 rm -f debian/*.debhelper.log
02:49:50 rm -f debian/files
02:49:50 find . \( \( \
02:49:50 \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
02:49:50 \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
02:49:50 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
02:49:50 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
02:49:50 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
02:49:50 \) -exec rm -f {} + \) -o \
02:49:50 \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
02:49:51 rm -f *-stamp
02:49:51 debian/rules build
02:49:51dh build -v --buildsystem=cmake
02:49:51 dh_testdir -O-v -O--buildsystem=cmake
02:49:51 dh_update_autotools_config -O-v -O--buildsystem=cmake
02:49:51 debian/rules override_dh_auto_configure
02:49:51make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:49:51# In case we're installing to a non-standard location, look for a setup.sh
02:49:51# in the install tree that was dropped by catkin, and source it. It will
02:49:51# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
02:49:51if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
02:49:51dh_auto_configure -- \
02:49:51 -DCATKIN_BUILD_BINARY_PACKAGE="1" \
02:49:51 -DCMAKE_INSTALL_PREFIX="/opt/ros/kinetic" \
02:49:51 -DCMAKE_PREFIX_PATH="/opt/ros/kinetic"
02:49:51 mkdir -p obj-x86_64-linux-gnu
02:49:51 cd obj-x86_64-linux-gnu
02:49:51 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
02:49:52-- The C compiler identification is GNU 5.4.0
02:49:52-- The CXX compiler identification is GNU 5.4.0
02:49:52-- Check for working C compiler: /usr/lib/ccache/x86_64-linux-gnu-gcc
02:49:53-- Check for working C compiler: /usr/lib/ccache/x86_64-linux-gnu-gcc -- works
02:49:53-- Detecting C compiler ABI info
02:49:53-- Detecting C compiler ABI info - done
02:49:53-- Detecting C compile features
02:49:54-- Detecting C compile features - done
02:49:54-- Check for working CXX compiler: /usr/lib/ccache/x86_64-linux-gnu-g++
02:49:54-- Check for working CXX compiler: /usr/lib/ccache/x86_64-linux-gnu-g++ -- works
02:49:54-- Detecting CXX compiler ABI info
02:49:54-- Detecting CXX compiler ABI info - done
02:49:54-- Detecting CXX compile features
02:49:56-- Detecting CXX compile features - done
02:49:56-- Using CATKIN_DEVEL_PREFIX: /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu/devel
02:49:56-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
02:49:56-- This workspace overlays: /opt/ros/kinetic
02:49:56-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
02:49:56-- Using PYTHON_EXECUTABLE: /usr/bin/python
02:49:56-- Using Debian Python package layout
02:49:56-- Using empy: /usr/bin/empy
02:49:56-- Using CATKIN_ENABLE_TESTING: ON
02:49:56-- Skip enable_testing() when building binary package
02:49:56-- Using CATKIN_TEST_RESULTS_DIR: /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu/test_results
02:49:56-- Found gmock sources under '/usr/src/gmock': gmock will be built
02:49:57-- Looking for pthread.h
02:49:57-- Looking for pthread.h - found
02:49:57-- Looking for pthread_create
02:49:57-- Looking for pthread_create - not found
02:49:57-- Looking for pthread_create in pthreads
02:49:57-- Looking for pthread_create in pthreads - not found
02:49:57-- Looking for pthread_create in pthread
02:49:57-- Looking for pthread_create in pthread - found
02:49:57-- Found Threads: TRUE
02:49:57-- Found gtest sources under '/usr/src/gmock': gtests will be built
02:49:57-- Using Python nosetests: /usr/bin/nosetests-2.7
02:49:57-- catkin 0.7.14
02:49:58-- Configuring done
02:49:58-- Generating done
02:49:58-- Build files have been written to: /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu
02:49:58CMake Warning:
02:49:58 Manually-specified variables were not used by the project:
02:49:5802:49:58 CMAKE_INSTALL_LOCALSTATEDIR
02:49:58 CMAKE_INSTALL_SYSCONFDIR
02:49:5802:49:5802:49:58 cd /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9
02:49:58make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:49:58 debian/rules override_dh_auto_build
02:49:58make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:49:58# In case we're installing to a non-standard location, look for a setup.sh
02:49:58# in the install tree that was dropped by catkin, and source it. It will
02:49:58# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
02:49:58if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
02:49:58dh_auto_build
02:49:58 cd obj-x86_64-linux-gnu
02:49:58 make -j1
02:49:58make[2]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:58/usr/bin/cmake -H/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9 -B/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
02:49:58/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
02:49:58make -f CMakeFiles/Makefile2 all
02:49:58make[3]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:58make[3]: Nothing to be done for 'all'.
02:49:58make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:58/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu/CMakeFiles 0
02:49:58make[2]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:58 cd /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9
02:49:58make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:49:58 debian/rules override_dh_auto_test
02:49:58make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:49:58# In case we're installing to a non-standard location, look for a setup.sh
02:49:58# in the install tree that was dropped by catkin, and source it. It will
02:49:58# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
02:49:58echo -- Running tests. Even if one of them fails the build is not canceled.
02:49:58-- Running tests. Even if one of them fails the build is not canceled.
02:49:58if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
02:49:58dh_auto_test || true
02:49:58make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:49:58 fakeroot debian/rules binary
02:49:59dh binary -v --buildsystem=cmake
02:49:59 dh_testroot -O-v -O--buildsystem=cmake
02:49:59 dh_prep -O-v -O--buildsystem=cmake
02:49:59 rm -f debian/ros-kinetic-spencer-people-tracking-full.substvars
02:49:59 rm -f debian/ros-kinetic-spencer-people-tracking-full.*.debhelper
02:49:59 rm -rf debian/ros-kinetic-spencer-people-tracking-full/
02:49:59 dh_installdirs -O-v -O--buildsystem=cmake
02:49:59 install -d debian/ros-kinetic-spencer-people-tracking-full
02:49:59 debian/rules override_dh_auto_install
02:49:59make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:49:59# In case we're installing to a non-standard location, look for a setup.sh
02:49:59# in the install tree that was dropped by catkin, and source it. It will
02:49:59# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
02:49:59if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
02:49:59dh_auto_install
02:49:59 cd obj-x86_64-linux-gnu
02:49:59 make -j1 install DESTDIR=/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/debian/ros-kinetic-spencer-people-tracking-full AM_UPDATE_INFO_DIR=no
02:49:59make[2]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:59/usr/bin/cmake -H/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9 -B/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
02:49:59/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
02:49:59make -f CMakeFiles/Makefile2 all
02:49:59make[3]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:59make[3]: Nothing to be done for 'all'.
02:49:59make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:59/usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu/CMakeFiles 0
02:49:59make -f CMakeFiles/Makefile2 preinstall
02:49:59make[3]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:59make[3]: Nothing to be done for 'preinstall'.
02:49:59make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:59Install the project...
02:49:59/usr/bin/cmake -P cmake_install.cmake
02:49:59-- Install configuration: "None"
02:49:59-- Installing: /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/debian/ros-kinetic-spencer-people-tracking-full/opt/ros/kinetic/share/spencer_people_tracking_full/package.xml
02:49:59make[2]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu'
02:49:59 cd /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9
02:49:59make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:49:59 dh_install -O-v -O--buildsystem=cmake
02:50:00 dh_installdocs -O-v -O--buildsystem=cmake
02:50:01 install -d debian/ros-kinetic-spencer-people-tracking-full/usr/share/doc/ros-kinetic-spencer-people-tracking-full
02:50:01 dh_installchangelogs -O-v -O--buildsystem=cmake
02:50:01 install -p -m0644 debian/changelog debian/ros-kinetic-spencer-people-tracking-full/usr/share/doc/ros-kinetic-spencer-people-tracking-full/changelog.Debian
02:50:01 dh_installexamples -O-v -O--buildsystem=cmake
02:50:01 dh_installman -O-v -O--buildsystem=cmake
02:50:01 dh_installcatalogs -O-v -O--buildsystem=cmake
02:50:02 dh_installcron -O-v -O--buildsystem=cmake
02:50:02 dh_installdebconf -O-v -O--buildsystem=cmake
02:50:02 install -d debian/ros-kinetic-spencer-people-tracking-full/DEBIAN
02:50:02 dh_installemacsen -O-v -O--buildsystem=cmake
02:50:02 dh_installifupdown -O-v -O--buildsystem=cmake
02:50:02 dh_installinfo -O-v -O--buildsystem=cmake
02:50:02 dh_installinit -O-v -O--buildsystem=cmake
02:50:02 dh_installmenu -O-v -O--buildsystem=cmake
02:50:02 dh_installmime -O-v -O--buildsystem=cmake
02:50:02 dh_installmodules -O-v -O--buildsystem=cmake
02:50:02 dh_installlogcheck -O-v -O--buildsystem=cmake
02:50:02 dh_installlogrotate -O-v -O--buildsystem=cmake
02:50:02 dh_installpam -O-v -O--buildsystem=cmake
02:50:02 dh_installppp -O-v -O--buildsystem=cmake
02:50:02 dh_installudev -O-v -O--buildsystem=cmake
02:50:02 dh_installgsettings -O-v -O--buildsystem=cmake
02:50:02 dh_bugfiles -O-v -O--buildsystem=cmake
02:50:03 dh_ucf -O-v -O--buildsystem=cmake
02:50:03 dh_lintian -O-v -O--buildsystem=cmake
02:50:03 dh_gconf -O-v -O--buildsystem=cmake
02:50:03 dh_icons -O-v -O--buildsystem=cmake
02:50:03 dh_perl -O-v -O--buildsystem=cmake
02:50:03 dh_usrlocal -O-v -O--buildsystem=cmake
02:50:03 dh_link -O-v -O--buildsystem=cmake
02:50:03 dh_installwm -O-v -O--buildsystem=cmake
02:50:03 dh_installxfonts -O-v -O--buildsystem=cmake
02:50:03 dh_strip_nondeterminism -O-v -O--buildsystem=cmake
02:50:06 dh_compress -O-v -O--buildsystem=cmake
02:50:06 cd debian/ros-kinetic-spencer-people-tracking-full
02:50:06 chmod a-x usr/share/doc/ros-kinetic-spencer-people-tracking-full/changelog.Debian
02:50:06 gzip -9nf usr/share/doc/ros-kinetic-spencer-people-tracking-full/changelog.Debian
02:50:06 cd '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:50:06 dh_fixperms -O-v -O--buildsystem=cmake
02:50:06 find debian/ros-kinetic-spencer-people-tracking-full -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
02:50:06 find debian/ros-kinetic-spencer-people-tracking-full ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
02:50:06 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
02:50:06 find debian/ros-kinetic-spencer-people-tracking-full/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 0755
02:50:06 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
02:50:06 find debian/ros-kinetic-spencer-people-tracking-full/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 0644
02:50:06 find debian/ros-kinetic-spencer-people-tracking-full/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 0644
02:50:06 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
02:50:06 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
02:50:06 find debian/ros-kinetic-spencer-people-tracking-full/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
02:50:06 dh_strip -O-v -O--buildsystem=cmake
02:50:06 dh_makeshlibs -O-v -O--buildsystem=cmake
02:50:06 rm -f debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/shlibs
02:50:06 debian/rules override_dh_shlibdeps
02:50:06make[1]: Entering directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:50:06# In case we're installing to a non-standard location, look for a setup.sh
02:50:06# in the install tree that was dropped by catkin, and source it. It will
02:50:06# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
02:50:06if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
02:50:06dh_shlibdeps -l/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/debian/ros-kinetic-spencer-people-tracking-full//opt/ros/kinetic/lib/
02:50:06make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9'
02:50:06 dh_installdeb -O-v -O--buildsystem=cmake
02:50:06 dh_gencontrol -O-v -O--buildsystem=cmake
02:50:07 echo misc:Depends= >> debian/ros-kinetic-spencer-people-tracking-full.substvars
02:50:07 echo misc:Pre-Depends= >> debian/ros-kinetic-spencer-people-tracking-full.substvars
02:50:07 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
02:50:07dpkg-gencontrol: warning: Depends field of package ros-kinetic-spencer-people-tracking-full: unknown substitution variable ${shlibs:Depends}
02:50:07 chmod 0644 debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/control
02:50:07 chown 0:0 debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/control
02:50:07 dh_md5sums -O-v -O--buildsystem=cmake
02:50:07 (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
02:50:07 chmod 0644 debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/md5sums
02:50:07 chown 0:0 debian/ros-kinetic-spencer-people-tracking-full/DEBIAN/md5sums
02:50:07 dh_builddeb -O-v -O--buildsystem=cmake
02:50:07 dpkg-deb --build debian/ros-kinetic-spencer-people-tracking-full ..
02:50:07dpkg-deb: building package 'ros-kinetic-spencer-people-tracking-full' in '../ros-kinetic-spencer-people-tracking-full_1.0.9-0xenial-20180911-014354+0000_amd64.deb'.
02:50:07 dpkg-genchanges -b >../ros-kinetic-spencer-people-tracking-full_1.0.9-0xenial-20180911-014354+0000_amd64.changes
02:50:07dpkg-genchanges: warning: debian/changelog(l11): found trailer where expected start of change data
02:50:07LINE: -- Timm Linder <linder@cs.uni-freiburg.de> Wed, 17 Jan 2018 00:00:00 -0000
02:50:07dpkg-genchanges: binary-only upload (no source code included)
02:50:07 dpkg-source --after-build ros-kinetic-spencer-people-tracking-full-1.0.9
02:50:08dpkg-source: info: using options from ros-kinetic-spencer-people-tracking-full-1.0.9/debian/source/options: --auto-commit
02:50:08dpkg-buildpackage: binary-only upload (no source included)
02:50:08I: Successfully built in /tmp/binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9
02:50:08# END SUBSECTION
02:50:08+ echo # END SECTION
02:50:08# END SECTION
02:50:08[Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary] $ /bin/sh -xe /tmp/hudson51166228998715111.sh
02:50:08+ [ false = false ]
02:50:08+ echo # BEGIN SECTION: Clean up to save disk space on slaves
14. Clean up to save disk space on slaves
Hide Details
02:50:08# BEGIN SECTION: Clean up to save disk space on slaves
02:50:08+ chmod -R u+w /home/jenkins-slave/workspace/Kbin_uX64__spencer_people_tracking_full__ubuntu_xenial_amd64__binary/binarydeb
02:50:08+ rm -fr binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/CHANGELOG.rst binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/CMakeLists.txt binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/README.md binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/debian binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/obj-x86_64-linux-gnu binarydeb/ros-kinetic-spencer-people-tracking-full-1.0.9/package.xml
02:50:08+ echo # END SECTION
02:50:08# END SECTION
02:50:08SSH: Connecting from host [lcas-buildfarm-slave-1]
02:50:08SSH: Connecting with configuration [repo] ...
02:50:09SSH: Disconnecting configuration [repo] ...
02:50:09SSH: Transferred 2 file(s)
02:50:09Build step 'Send files or execute commands over SSH' changed build result to SUCCESS
02:50:09Waiting for the completion of Krel_import-package02:50:11Krel_import-package #3296 completed. Result was SUCCESS
02:50:11$ ssh-agent -k
02:50:11unset SSH_AUTH_SOCK;
02:50:11unset SSH_AGENT_PID;
02:50:11echo Agent pid 30587 killed;
02:50:11[ssh-agent] Stopped.
02:50:11[description-setter] Description set: 1.0.9-0xenial-20180911-014354+0000
02:50:11Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
02:50:11Triggering a new build of Krel_sync-packages-to-testing_xenial_amd6402:50:11Triggering a new build of Kbin_uX64__iliad_launch_navigation__ubuntu_xenial_amd64__binary02:50:11Triggering a new build of Kbin_uX64__iliad_human_perception_launch__ubuntu_xenial_amd64__binary02:50:11Triggering a new build of Kbin_uX64__iliad_launch_manipulation__ubuntu_xenial_amd64__binary02:50:11Finished: SUCCESS