Build failed in Jenkins: Jdev__jsk_pr2eus__ubuntu_trusty_amd64 #1

0 views
Skip to first unread message

ROS Buildfarm

unread,
Jun 24, 2017, 10:39:47 PM6/24/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/1/display/redirect>

------------------------------------------
[...truncated 22.51 KB...]
ENTRYPOINT ["sh", "-c"]
CMD ["rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing"]
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Build Dockerfile - generating devel tasks
# BEGIN SECTION: Build Dockerfile - generating devel tasks
+ cd <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_generating_dockers>
+ python3 -u <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/ros_buildfarm/scripts/misc/docker_pull_baseimage.py>
Get base image name from Dockerfile 'Dockerfile': ubuntu:trusty
Check docker base image for updates: docker pull ubuntu:trusty
trusty: Pulling from library/ubuntu
Digest: sha256:fbc6d4f3d741b880a86830f18a571501d8205db55da2572b3e227545962aca13
Status: Image is up to date for ubuntu:trusty
+ docker build --force-rm -t devel_task_generation.jade_jsk_pr2eus .
Sending build context to Docker daemon 15.36 kBSending build context to Docker daemon 15.36 kB
Step 1 : FROM ubuntu:trusty
---> 6a6cde1edaed
Step 2 : VOLUME /var/cache/apt/archives
---> Using cache
---> 11ef40137674
Step 3 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 818988aa9994
Step 4 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
---> Using cache
---> 0c8bb4c021c6
Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
---> Using cache
---> c2e88e8a89e1
Step 6 : RUN locale-gen en_US.UTF-8
---> Using cache
---> 7e58cc05175e
Step 7 : ENV LANG en_US.UTF-8
---> Using cache
---> 85f5084ec290
Step 8 : ENV TZ PST+08
---> Using cache
---> ae4ab50805e4
Step 9 : RUN useradd -u 1001 -m buildfarm
---> Using cache
---> 3b4415e33463
Step 10 : RUN mkdir /tmp/keys
---> Using cache
---> 9dcd2f8bfc49
Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\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+hFpryAJ4puo6cMZxa6wITHFAM/k84+aRijwCeItuWpUngP25xDuDGMsKarcNi\nqYE=\n=Vgio\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> f85edbb1c085
Step 12 : RUN echo deb http://repositories.ros.org/ubuntu/testing trusty main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> e6c3270cc127
Step 13 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> 71b97cc92048
Step 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 'has no installation candidate',\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
---> Using cache
---> 9e79c0dc99c9
Step 15 : 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
---> Using cache
---> 7d12c5f0603e
Step 16 : RUN echo "2017-06-24 (-0800)"
---> Using cache
---> a686c2d0650c
Step 17 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> c2f3f4fc207f
Step 18 : RUN echo "2017-06-24 18:39:17 -0800"
---> Running in 336c665f5e05
2017-06-24 18:39:17 -0800
---> c24899b140ee
Removing intermediate container 336c665f5e05
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 4460e1cb7a6b
Invoking 'apt-get update'
Get:1 http://repositories.ros.org trusty InRelease [4,031 B]
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates/main Sources [494 kB]
Get:4 http://archive.ubuntu.com trusty-updates/restricted Sources [6,470 B]
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [233 kB]
Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,241 kB]
Get:7 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.2 kB]
Get:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [539 kB]
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 2,605 kB in 5s (451 kB/s)
Reading package lists...
---> 83db13c0c486
Removing intermediate container 4460e1cb7a6b
Step 20 : ENV ROSDISTRO_INDEX_URL https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
---> Running in d2d41d8ab74c
---> 84cb695e0d26
Removing intermediate container d2d41d8ab74c
Step 21 : RUN rosdep init
---> Running in 33e8e0b188a9
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 47a2fb91e38e
Removing intermediate container 33e8e0b188a9
Step 22 : USER buildfarm
---> Running in c1b14dd704a9
---> 29315ed38641
Removing intermediate container c1b14dd704a9
Step 23 : ENTRYPOINT sh -c
---> Running in 4e7c66bee8cc
---> 8ac4e38014e4
Removing intermediate container 4e7c66bee8cc
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 30f58449bc7d
---> af14eae245fd
Removing intermediate container 30f58449bc7d
Successfully built af14eae245fd
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Run Dockerfile - generating devel tasks
# BEGIN SECTION: Run Dockerfile - generating devel tasks
+ rm -fr <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_build_and_install>
+ rm -fr <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_build_and_test>
+ mkdir -p <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_build_and_install>
+ mkdir -p <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_build_and_test>
+ docker run --rm --cidfile=<http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_generating_dockers/docker.cid> -e=HOME=/home/buildfarm -e=TRAVIS= -e=ROS_BUILDFARM_PULL_REQUEST_BRANCH= -v <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/ros_buildfarm>:/tmp/ros_buildfarm:ro -v <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/catkin_workspace>:/tmp/catkin_workspace:ro -v <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_build_and_install>:/tmp/docker_build_and_install -v <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_build_and_test>:/tmp/docker_build_and_test -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache devel_task_generation.jade_jsk_pr2eus
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
Add distro "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
Add distro "lunar"
updated cache in /home/buildfarm/.ros/rosdep/sources.cache
Crawling for packages in workspace '/tmp/catkin_workspace/src'
Found the following packages:
- jsk_pr2eus
- pr2eus
- pr2eus_moveit
- pr2eus_tutorials
Package maintainer emails: k-o...@jsk.t.u-tokyo.ac.jp mur...@jsk.imi.i.u-tokyo.ac.jp you...@jsk.t.u-tokyo.ac.jp
Always install the following generic dependencies:
- build-essential
- python3
- ros-jade-catkin
Identified the following build dependencies (ignoring packages available from source):
- catkin
- control_msgs
- dynamic_reconfigure
- euscollada
- jsk_pcl_ros
- move_base_msgs
- moveit_msgs
- nav_msgs
- pr2_controllers_msgs
- pr2_description
- pr2_mechanism_msgs
- pr2_msgs
- roseus
- rosgraph_msgs
- rostest
- sound_play
Resolved the dependencies to the following binary packages:
- ros-jade-catkin
- ros-jade-control-msgs
- ros-jade-dynamic-reconfigure
- ros-jade-euscollada
- ros-jade-jsk-pcl-ros
- ros-jade-move-base-msgs
- ros-jade-moveit-msgs
- ros-jade-nav-msgs
- ros-jade-pr2-controllers-msgs
- ros-jade-pr2-description
- ros-jade-pr2-mechanism-msgs
- ros-jade-pr2-msgs
- ros-jade-roseus
- ros-jade-rosgraph-msgs
- ros-jade-rostest
- ros-jade-sound-play
Identified the following run and test dependencies (ignoring packages available from source):
- control_msgs
- dynamic_reconfigure
- euscollada
- jsk_pcl_ros
- move_base_msgs
- moveit_msgs
- moveit_planners_ompl
- nav_msgs
- pr2_controllers_msgs
- pr2_description
- pr2_gazebo
- pr2_mechanism_msgs
- pr2_moveit_config
- pr2_moveit_plugins
- pr2_msgs
- roseus
- roseus_tutorials
- rostest
- sound_play
Traceback (most recent call last):
File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 235, in resolve_names
rosdep_key, view, installer, os_name, os_code_name)
File "/usr/lib/python3/dist-packages/rosdep2/catkin_support.py", line 81, in resolve_for_os
d = view.lookup(rosdep_key)
File "/usr/lib/python3/dist-packages/rosdep2/lookup.py", line 187, in lookup
return self.rosdep_defs[rosdep_name]
KeyError: 'pr2_gazebo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 251, in <module>
main()
File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 122, in main
run_and_test_depends, **context)
File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 238, in resolve_names
"Could not resolve the rosdep key '%s'" % rosdep_key)
RuntimeError: Could not resolve the rosdep key 'pr2_gazebo'
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 11645 killed;
[ssh-agent] Stopped.
[WARNINGS] Skipping publisher since build result is FAILURE
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing GoogleTest-1.6
[xUnit] [INFO] - [GoogleTest-1.6] - No test report file(s) were found with the pattern 'catkin_workspace/test_results/**/*.xml' relative to '<http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/'> for the testing framework 'GoogleTest-1.6'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'GoogleTest-1.6'?
[xUnit] [WARNING] - No test reports found for the metric 'GoogleTest' with the resolved pattern 'catkin_workspace/test_results/**/*.xml'.
[xUnit] [INFO] - Skipping the metric tool processing.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.

ROS Buildfarm

unread,
Jul 5, 2017, 4:41:44 AM7/5/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/2/display/redirect?page=changes>

Changes:

[noreply] Merge pull request #306 from knorth55/fix-typo-pr2eus-moveit

------------------------------------------
[...truncated 69.77 KB...]
Setting up openssh-client (1:6.6p1-2ubuntu2.8) ...
Setting up libpython2.7-stdlib:amd64 (2.7.6-8ubuntu0.3) ...
Setting up python2.7 (2.7.6-8ubuntu0.3) ...
Setting up python-minimal (2.7.5-5ubuntu3) ...
Setting up libpython-stdlib:amd64 (2.7.5-5ubuntu3) ...
Setting up python (2.7.5-5ubuntu3) ...
Setting up python-apt-common (0.9.3.5ubuntu2) ...
Setting up python3-apt (0.9.3.5ubuntu2) ...
Setting up rsync (3.1.0-2ubuntu0.2) ...
Removing any system startup links for /etc/init.d/rsync ...
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match rsync Default-Stop values (none)
Adding system startup for /etc/init.d/rsync ...
/etc/rc0.d/K20rsync -> ../init.d/rsync
/etc/rc1.d/K20rsync -> ../init.d/rsync
/etc/rc6.d/K20rsync -> ../init.d/rsync
/etc/rc2.d/S20rsync -> ../init.d/rsync
/etc/rc3.d/S20rsync -> ../init.d/rsync
/etc/rc4.d/S20rsync -> ../init.d/rsync
/etc/rc5.d/S20rsync -> ../init.d/rsync
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up wget (1.15-1ubuntu1.14.04.2) ...
Setting up xauth (1:1.0.7-1ubuntu1) ...
Setting up xml-core (0.13+nmu2) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.5) ...
Setting up git (1:1.9.1-1ubuntu0.5) ...
Setting up libpaper-utils (1.1.24+nmu2ubuntu3) ...
Setting up patch (2.7.1-4ubuntu2.3) ...
Setting up python3-dateutil (2.0+dfsg1-1) ...
Setting up python3-roman (2.0.0-1) ...
Setting up python3-empy (3.3-9osrf1) ...
Setting up python3-pil (2.3.0-1ubuntu3.4) ...
Setting up python3-pkg-resources (3.3-1ubuntu2) ...
Setting up python3-pygments (1.6+dfsg-1ubuntu1.1) ...
Setting up python3-yaml (3.10-4ubuntu0.1) ...
Setting up python3-rospkg-modules (1.1.1-1) ...
Setting up python3-rospkg (1.1.1-1) ...
Setting up python3-setuptools (3.3-1ubuntu2) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Setting up docutils-common (0.11-3) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Setting up python3-docutils (0.11-3) ...
update-alternatives: using /usr/share/docutils/scripts/python3/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode
Setting up python3-catkin-pkg-modules (0.3.5-1) ...
Setting up python3-catkin-pkg (0.3.5-1) ...
Setting up python3-rosdistro-modules (0.6.2-1) ...
Setting up python3-rosdistro (0.6.2-1) ...
Setting up python3-rosdep (0.11.5-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.13) ...
Processing triggers for ca-certificates (20160104ubuntu0.14.04.1) ...
Updating certificates in /etc/ssl/certs... 173 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Processing triggers for ureadahead (0.100.0-16) ...
Invoking 'apt-get clean'
---> 6716a8811fe3
Removing intermediate container bc6febfe3362
Step 18 : RUN echo "2017-07-05 00:39:33 -0800"
---> Running in 2c5dffef6304
2017-07-05 00:39:33 -0800
---> 1d9610a2f2b4
Removing intermediate container 2c5dffef6304
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in bc70e8f8b5c8
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty-updates/main Sources
Hit http://archive.ubuntu.com trusty-updates/restricted Sources
Hit http://archive.ubuntu.com trusty-updates/universe Sources
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Reading package lists...
---> 5bbebc22923c
Removing intermediate container bc70e8f8b5c8
---> Running in a905d0e054a1
---> 8352eae2eab6
Removing intermediate container a905d0e054a1
Step 21 : RUN rosdep init
---> Running in 7ec70c141f4f
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> f7ca8534cc63
Removing intermediate container 7ec70c141f4f
Step 22 : USER buildfarm
---> Running in 2d6b0ee4fbb9
---> b6179a53372d
Removing intermediate container 2d6b0ee4fbb9
Step 23 : ENTRYPOINT sh -c
---> Running in 3ca5a5982c3e
---> 2a46017c333d
Removing intermediate container 3ca5a5982c3e
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in e44f3c355d38
---> cb713c05acbd
Removing intermediate container e44f3c355d38
Successfully built cb713c05acbd
echo Agent pid 29699 killed;

ROS Buildfarm

unread,
Jul 5, 2017, 9:40:07 PM7/5/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/3/display/redirect>

------------------------------------------
[...truncated 24.94 KB...]
---> bf5458723f63
Step 8 : ENV TZ PST+08
---> Using cache
---> 9f0cdccf618f
Step 9 : RUN useradd -u 1001 -m buildfarm
---> Using cache
---> 502de14096fd
Step 10 : RUN mkdir /tmp/keys
---> Using cache
---> 966a7dd0b1ac
Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\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+hFpryAJ4puo6cMZxa6wITHFAM/k84+aRijwCeItuWpUngP25xDuDGMsKarcNi\nqYE=\n=Vgio\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> 5156967adbb4
Step 12 : RUN echo deb http://repositories.ros.org/ubuntu/testing trusty main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> 16782baac9ba
Step 13 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> fe50dadae916
Step 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 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
---> Using cache
---> 03eac1cd8825
Step 15 : 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
---> Using cache
---> d91283fb0801
Step 16 : RUN echo "2017-07-05 (-0800)"
---> Using cache
---> aecd13880d0b
Step 17 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> ac9ee95dc605
Step 18 : RUN echo "2017-07-05 17:39:18 -0800"
---> Running in 19cf0e4a1312
2017-07-05 17:39:18 -0800
---> 53cd5bbc0222
Removing intermediate container 19cf0e4a1312
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 995712d09e08
Invoking 'apt-get update'
Get:1 http://repositories.ros.org trusty InRelease [4,031 B]
Ign http://archive.ubuntu.com trusty InRelease
Get:2 http://repositories.ros.org trusty/main amd64 Packages [820 kB]
Get:3 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:4 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:5 http://archive.ubuntu.com trusty-updates/main Sources [495 kB]
Get:6 http://archive.ubuntu.com trusty-updates/restricted Sources [6,470 B]
Get:7 http://archive.ubuntu.com trusty-updates/universe Sources [234 kB]
Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,245 kB]
Get:9 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.2 kB]
Get:10 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [540 kB]
Get:11 http://archive.ubuntu.com trusty-security/main Sources [169 kB]
Get:12 http://archive.ubuntu.com trusty-security/restricted Sources [5,068 B]
Get:13 http://archive.ubuntu.com trusty-security/universe Sources [71.2 kB]
Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [781 kB]
Get:15 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [17.9 kB]
Get:16 http://archive.ubuntu.com trusty-security/universe amd64 Packages [221 kB]
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 4,762 kB in 6s (758 kB/s)
Reading package lists...
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_binary-amd64_Packages.gz is not what the server reported 540060 540062
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-security_main_source_Sources.gz is not what the server reported 169235 169246
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_Packages.gz is not what the server reported 780676 780695

is not what the server reported

Reinvoke 'apt update' (2/10) after sleeping 9 seconds
---> 12ae2d0c3b6d
Removing intermediate container 995712d09e08
---> Running in 8ca7809773a5
---> 903bc77d4606
Removing intermediate container 8ca7809773a5
Step 21 : RUN rosdep init
---> Running in 46b919452dca
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 082f96c2a693
Removing intermediate container 46b919452dca
Step 22 : USER buildfarm
---> Running in 6266b64ba27f
---> 34c02448e0e6
Removing intermediate container 6266b64ba27f
Step 23 : ENTRYPOINT sh -c
---> Running in aebc9061ff93
---> 826579d49d17
Removing intermediate container aebc9061ff93
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 026d53a81bd2
---> b30884d94654
Removing intermediate container 026d53a81bd2
Successfully built b30884d94654
echo Agent pid 25960 killed;

ROS Buildfarm

unread,
Jul 10, 2017, 1:39:59 AM7/10/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/4/display/redirect>

------------------------------------------
[...truncated 22.67 KB...]
ENTRYPOINT ["sh", "-c"]
CMD ["rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing"]
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Build Dockerfile - generating devel tasks
# BEGIN SECTION: Build Dockerfile - generating devel tasks
+ cd <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_generating_dockers>
+ python3 -u <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/ros_buildfarm/scripts/misc/docker_pull_baseimage.py>
Get base image name from Dockerfile 'Dockerfile': ubuntu:trusty
Check docker base image for updates: docker pull ubuntu:trusty
trusty: Pulling from library/ubuntu
Digest: sha256:fbc6d4f3d741b880a86830f18a571501d8205db55da2572b3e227545962aca13
Status: Image is up to date for ubuntu:trusty
+ docker build --force-rm -t devel_task_generation.jade_jsk_pr2eus .
Sending build context to Docker daemon 15.36 kBSending build context to Docker daemon 15.36 kB
Step 1 : FROM ubuntu:trusty
---> 6a6cde1edaed
Step 2 : VOLUME /var/cache/apt/archives
---> Using cache
---> 959e891ab129
Step 3 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 6cca07854ab3
Step 4 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
---> Using cache
---> 0c34f1e81e57
Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
---> Using cache
---> a1434f750673
Step 6 : RUN locale-gen en_US.UTF-8
---> Using cache
---> 3fd757c05a5d
Step 7 : ENV LANG en_US.UTF-8
---> Using cache
---> 092506a4fd7c
Step 8 : ENV TZ PST+08
---> Using cache
---> 02e27f6f2f84
Step 9 : RUN useradd -u 1001 -m buildfarm
---> Using cache
---> 6592f012abeb
Step 10 : RUN mkdir /tmp/keys
---> Using cache
---> d097a0eee94b
Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\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+hFpryAJ4puo6cMZxa6wITHFAM/k84+aRijwCeItuWpUngP25xDuDGMsKarcNi\nqYE=\n=Vgio\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> 6e8a0609a1a0
Step 12 : RUN echo deb http://repositories.ros.org/ubuntu/testing trusty main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> 700ab17a212a
Step 13 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> fa5d9ef53535
Step 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 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
---> Using cache
---> b920781d5fa8
Step 15 : 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
---> Using cache
---> d2d930e51b3b
Step 16 : RUN echo "2017-07-09 (-0800)"
---> Using cache
---> 85df6f4b6879
Step 17 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> 295da31be408
Step 18 : RUN echo "2017-07-09 21:39:20 -0800"
---> Running in 924fba0fe954
2017-07-09 21:39:20 -0800
---> 1cb4649f5fdc
Removing intermediate container 924fba0fe954
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in da18fd3ee2f1
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates/main Sources [495 kB]
Get:4 http://archive.ubuntu.com trusty-updates/restricted Sources [6,470 B]
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [234 kB]
Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,245 kB]
Get:7 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.2 kB]
Get:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [540 kB]
Get:9 http://archive.ubuntu.com trusty-security/main Sources [169 kB]
Get:10 http://archive.ubuntu.com trusty-security/restricted Sources [5,068 B]
Get:11 http://archive.ubuntu.com trusty-security/universe Sources [71.2 kB]
Get:12 http://archive.ubuntu.com trusty-security/main amd64 Packages [781 kB]
Get:13 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [17.9 kB]
Get:14 http://archive.ubuntu.com trusty-security/universe amd64 Packages [221 kB]
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 3,938 kB in 6s (569 kB/s)
Reading package lists...
---> 15374b74483d
Removing intermediate container da18fd3ee2f1
---> Running in fbb79a1defef
---> 0327b96c4cb5
Removing intermediate container fbb79a1defef
Step 21 : RUN rosdep init
---> Running in f6e0b1953d42
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 97f034c0a800
Removing intermediate container f6e0b1953d42
Step 22 : USER buildfarm
---> Running in 3593771f07b6
---> 516e0df669fb
Removing intermediate container 3593771f07b6
Step 23 : ENTRYPOINT sh -c
---> Running in 0e7176c63971
---> dd60bcd9d0e7
Removing intermediate container 0e7176c63971
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 27547a443b12
---> 45bed7dfe93c
Removing intermediate container 27547a443b12
Successfully built 45bed7dfe93c
echo Agent pid 11795 killed;

ROS Buildfarm

unread,
Jul 10, 2017, 6:39:57 AM7/10/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/5/display/redirect>

------------------------------------------
[...truncated 22.66 KB...]
ENTRYPOINT ["sh", "-c"]
CMD ["rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing"]
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Build Dockerfile - generating devel tasks
# BEGIN SECTION: Build Dockerfile - generating devel tasks
+ cd <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_generating_dockers>
+ python3 -u <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/ros_buildfarm/scripts/misc/docker_pull_baseimage.py>
Get base image name from Dockerfile 'Dockerfile': ubuntu:trusty
Check docker base image for updates: docker pull ubuntu:trusty
trusty: Pulling from library/ubuntu
Digest: sha256:fbc6d4f3d741b880a86830f18a571501d8205db55da2572b3e227545962aca13
Status: Image is up to date for ubuntu:trusty
+ docker build --force-rm -t devel_task_generation.jade_jsk_pr2eus .
Sending build context to Docker daemon 15.36 kBSending build context to Docker daemon 15.36 kB
Step 1 : FROM ubuntu:trusty
---> 6a6cde1edaed
Step 2 : VOLUME /var/cache/apt/archives
---> Using cache
---> a7afa8b6d4b3
Step 3 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 2484da4ae21e
Step 4 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
---> Using cache
---> 1d2383944232
Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
---> Using cache
---> 28f5a450ae6f
Step 6 : RUN locale-gen en_US.UTF-8
---> Using cache
---> e6ec074f1ce4
Step 7 : ENV LANG en_US.UTF-8
---> Using cache
---> 41582a5d86f8
Step 8 : ENV TZ PST+08
---> Using cache
---> 08ddfed21100
Step 9 : RUN useradd -u 1001 -m buildfarm
---> Using cache
---> 9e7375a2ba83
Step 10 : RUN mkdir /tmp/keys
---> Using cache
---> ec33ef1e1f72
Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\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+hFpryAJ4puo6cMZxa6wITHFAM/k84+aRijwCeItuWpUngP25xDuDGMsKarcNi\nqYE=\n=Vgio\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> 5bb024cd69b7
Step 12 : RUN echo deb http://repositories.ros.org/ubuntu/testing trusty main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> 1dd894580505
Step 13 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> 4d5c53f9aa39
Step 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 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
---> Using cache
---> 579fce78b5f7
Step 15 : 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
---> Using cache
---> 7acf23028cc6
Step 16 : RUN echo "2017-07-10 (-0800)"
---> Using cache
---> 0214b9cdc55f
Step 17 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> 829f8bd5f3eb
Step 18 : RUN echo "2017-07-10 02:39:18 -0800"
---> Running in ad36cd84b000
2017-07-10 02:39:18 -0800
---> 4e9b2f0cb840
Removing intermediate container ad36cd84b000
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 226c9ce4ee3f
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Get:2 http://archive.ubuntu.com trusty-updates/main Sources [495 kB]
Get:3 http://archive.ubuntu.com trusty-updates/restricted Sources [6,470 B]
Get:4 http://archive.ubuntu.com trusty-updates/universe Sources [234 kB]
Get:5 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,245 kB]
Get:6 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.2 kB]
Get:7 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [540 kB]
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 2,607 kB in 6s (405 kB/s)
Reading package lists...
---> c55b8f2dd1a8
Removing intermediate container 226c9ce4ee3f
---> Running in 33c69453d720
---> 66ae492b1388
Removing intermediate container 33c69453d720
Step 21 : RUN rosdep init
---> Running in cef0eb560ee9
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> fdbf6905a46f
Removing intermediate container cef0eb560ee9
Step 22 : USER buildfarm
---> Running in 87e98fcde131
---> 0abced4c6d03
Removing intermediate container 87e98fcde131
Step 23 : ENTRYPOINT sh -c
---> Running in 9e74b691094b
---> 0a2e909b78c9
Removing intermediate container 9e74b691094b
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 97bf26bc8a34
---> 437ad65caed8
Removing intermediate container 97bf26bc8a34
Successfully built 437ad65caed8
echo Agent pid 21364 killed;

ROS Buildfarm

unread,
Jul 11, 2017, 2:42:02 AM7/11/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/6/display/redirect>

------------------------------------------
[...truncated 70.75 KB...]
---> 3707c9fcc4d0
Removing intermediate container 91546cab1e9f
Removing intermediate container eca6181ed248
Error removing intermediate container 6207d51c00ba: nosuchcontainer: no such id: 6207d51c00ba677444d36f005afb60242b0f5a59894c8c190a84b1f2394df27f
Step 18 : RUN echo "2017-07-10 22:39:52 -0800"
---> Running in d39016f670c7
2017-07-10 22:39:52 -0800
---> c446b07cc880
Removing intermediate container d39016f670c7
Error removing intermediate container 6207d51c00ba: nosuchcontainer: no such id: 6207d51c00ba677444d36f005afb60242b0f5a59894c8c190a84b1f2394df27f
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 62d8213c81f2
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty-updates/main Sources
Hit http://archive.ubuntu.com trusty-updates/restricted Sources
Hit http://archive.ubuntu.com trusty-updates/universe Sources
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Reading package lists...
---> 6f057cca1741
Removing intermediate container 62d8213c81f2
Error removing intermediate container 6207d51c00ba: nosuchcontainer: no such id: 6207d51c00ba677444d36f005afb60242b0f5a59894c8c190a84b1f2394df27f
---> Running in 0eda4345c4d4
---> 3084b07d357f
Error removing intermediate container 6207d51c00ba: nosuchcontainer: no such id: 6207d51c00ba677444d36f005afb60242b0f5a59894c8c190a84b1f2394df27f
Step 21 : RUN rosdep init
---> Running in cf003b0002b9
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> c67462143962
Removing intermediate container 0eda4345c4d4
Removing intermediate container cf003b0002b9
Error removing intermediate container 6207d51c00ba: nosuchcontainer: no such id: 6207d51c00ba677444d36f005afb60242b0f5a59894c8c190a84b1f2394df27f
Step 22 : USER buildfarm
---> Running in a59317b5057d
---> cf01e10c93e9
Error removing intermediate container 6207d51c00ba: nosuchcontainer: no such id: 6207d51c00ba677444d36f005afb60242b0f5a59894c8c190a84b1f2394df27f
Step 23 : ENTRYPOINT sh -c
---> Running in 17476b8dedf3
---> 64355de4443f
Removing intermediate container 17476b8dedf3
Error removing intermediate container 6207d51c00ba: nosuchcontainer: no such id: 6207d51c00ba677444d36f005afb60242b0f5a59894c8c190a84b1f2394df27f
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 8a30116706b3
---> 076fb54f73b6
Removing intermediate container 21288d730300
Removing intermediate container a59317b5057d
Removing intermediate container 8a30116706b3
Error removing intermediate container 6207d51c00ba: nosuchcontainer: no such id: 6207d51c00ba677444d36f005afb60242b0f5a59894c8c190a84b1f2394df27f
Successfully built 076fb54f73b6
echo Agent pid 12204 killed;

ROS Buildfarm

unread,
Jul 11, 2017, 11:40:49 AM7/11/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/7/display/redirect>

------------------------------------------
[...truncated 22.59 KB...]
ENTRYPOINT ["sh", "-c"]
CMD ["rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing"]
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Build Dockerfile - generating devel tasks
# BEGIN SECTION: Build Dockerfile - generating devel tasks
+ cd <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_generating_dockers>
+ python3 -u <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/ros_buildfarm/scripts/misc/docker_pull_baseimage.py>
Get base image name from Dockerfile 'Dockerfile': ubuntu:trusty
Check docker base image for updates: docker pull ubuntu:trusty
trusty: Pulling from library/ubuntu
Digest: sha256:fbc6d4f3d741b880a86830f18a571501d8205db55da2572b3e227545962aca13
Status: Image is up to date for ubuntu:trusty
+ docker build --force-rm -t devel_task_generation.jade_jsk_pr2eus .
Sending build context to Docker daemon 15.36 kBSending build context to Docker daemon 15.36 kB
Step 1 : FROM ubuntu:trusty
---> 6a6cde1edaed
Step 2 : VOLUME /var/cache/apt/archives
---> Using cache
---> 2f1da854197b
Step 3 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> a9049d088c06
Step 4 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
---> Using cache
---> aded7747b528
Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
---> Using cache
---> 2808adfdd8ed
Step 6 : RUN locale-gen en_US.UTF-8
---> Using cache
---> 78cdb68f3ecb
Step 7 : ENV LANG en_US.UTF-8
---> Using cache
---> 3070fbd15e3d
Step 8 : ENV TZ PST+08
---> Using cache
---> 748f171470bd
Step 9 : RUN useradd -u 1001 -m buildfarm
---> Using cache
---> 31213756a22d
Step 10 : RUN mkdir /tmp/keys
---> Using cache
---> 2e5db49f4517
Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\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+hFpryAJ4puo6cMZxa6wITHFAM/k84+aRijwCeItuWpUngP25xDuDGMsKarcNi\nqYE=\n=Vgio\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> ce6e7b6d6fb9
Step 12 : RUN echo deb http://repositories.ros.org/ubuntu/testing trusty main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> 889d246ac0aa
Step 13 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> 2aac46982a02
Step 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 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
---> Using cache
---> 939a195a4f2d
Step 15 : 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
---> Using cache
---> e478ac6dd190
Step 16 : RUN echo "2017-07-11 (-0800)"
---> Using cache
---> 605c78b99150
Step 17 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> 8ac48b7f7861
Step 18 : RUN echo "2017-07-11 07:40:09 -0800"
---> Running in ec5a558b7b94
2017-07-11 07:40:09 -0800
---> 8d6a2388fdc0
Removing intermediate container ec5a558b7b94
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 6cf4fec01b55
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates/main Sources [495 kB]
Get:4 http://archive.ubuntu.com trusty-updates/restricted Sources [6,470 B]
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [234 kB]
Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,245 kB]
Get:7 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.2 kB]
Get:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [540 kB]
Hit http://archive.ubuntu.com trusty Release
Get:9 http://archive.ubuntu.com trusty-security/main Sources [169 kB]
Get:10 http://archive.ubuntu.com trusty-security/restricted Sources [5,068 B]
Get:11 http://archive.ubuntu.com trusty-security/universe Sources [71.2 kB]
Get:12 http://archive.ubuntu.com trusty-security/main amd64 Packages [781 kB]
Get:13 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [17.9 kB]
Get:14 http://archive.ubuntu.com trusty-security/universe amd64 Packages [221 kB]
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 3,939 kB in 6s (581 kB/s)
Reading package lists...
---> c7268bf6f6b4
Removing intermediate container 6cf4fec01b55
---> Running in 2f99eee17a2e
---> 8a886d393418
Removing intermediate container 2f99eee17a2e
Step 21 : RUN rosdep init
---> Running in 666e7efa24b2
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 81cbf5d63fde
Removing intermediate container 666e7efa24b2
Step 22 : USER buildfarm
---> Running in 005f1e5b01c8
---> 69b89b9fb4b5
Removing intermediate container 005f1e5b01c8
Step 23 : ENTRYPOINT sh -c
---> Running in 1c7f16b9192f
---> f44ab5684595
Removing intermediate container 1c7f16b9192f
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 416e0114f1a4
---> 013d0520c0f6
Removing intermediate container 416e0114f1a4
Successfully built 013d0520c0f6
echo Agent pid 21812 killed;

ROS Buildfarm

unread,
Jul 13, 2017, 3:44:33 AM7/13/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/8/display/redirect?page=changes>

Changes:

[noreply] Merge pull request #313 from knorth55/update-cancel-angle-vector

------------------------------------------
[...truncated 24.76 KB...]
Step 7 : ENV LANG en_US.UTF-8
---> Using cache
---> 550017d10a0c
Step 8 : ENV TZ PST+08
---> Using cache
---> f2b77596166e
Step 9 : RUN useradd -u 1001 -m buildfarm
---> Using cache
---> 01b50a523885
Step 10 : RUN mkdir /tmp/keys
---> Using cache
---> 16798e20328d
Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\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+hFpryAJ4puo6cMZxa6wITHFAM/k84+aRijwCeItuWpUngP25xDuDGMsKarcNi\nqYE=\n=Vgio\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> 684f03d4b517
Step 12 : RUN echo deb http://repositories.ros.org/ubuntu/testing trusty main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> 0993f216fa6b
Step 13 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> e0436b752423
Step 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 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
---> Using cache
---> bae3917b3566
Step 15 : 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
---> Using cache
---> 6048e91f6410
Step 16 : RUN echo "2017-07-12 (-0800)"
---> Using cache
---> 5966f7fc39c0
Step 17 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> 1667e7de6cbd
Step 18 : RUN echo "2017-07-12 23:42:27 -0800"
---> Running in 13eacf4691ff
2017-07-12 23:42:27 -0800
---> f8a3b89f42b0
Removing intermediate container 13eacf4691ff
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in f3d2fca171e6
Invoking 'apt-get update'
Get:1 http://repositories.ros.org trusty InRelease [4,031 B]
Ign http://archive.ubuntu.com trusty InRelease
Get:2 http://repositories.ros.org trusty/main amd64 Packages [821 kB]
Get:3 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:4 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:5 http://archive.ubuntu.com trusty-updates/main Sources [495 kB]
Get:6 http://archive.ubuntu.com trusty-updates/restricted Sources [6,470 B]
Get:7 http://archive.ubuntu.com trusty-updates/universe Sources [234 kB]
Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,245 kB]
Get:9 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.2 kB]
Get:10 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [540 kB]
Hit http://archive.ubuntu.com trusty Release
Get:11 http://archive.ubuntu.com trusty-security/main Sources [169 kB]
Get:12 http://archive.ubuntu.com trusty-security/restricted Sources [5,068 B]
Get:13 http://archive.ubuntu.com trusty-security/universe Sources [71.2 kB]
Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [781 kB]
Get:15 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [17.9 kB]
Get:16 http://archive.ubuntu.com trusty-security/universe amd64 Packages [221 kB]
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 4,763 kB in 7s (667 kB/s)
Reading package lists...
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-security_universe_binary-amd64_Packages.gz is not what the server reported 221162 221285

is not what the server reported

Reinvoke 'apt update' (2/10) after sleeping 9 seconds
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty-updates/main Sources
Hit http://archive.ubuntu.com trusty-updates/restricted Sources
Hit http://archive.ubuntu.com trusty-updates/universe Sources
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Reading package lists...
---> 23ebf7ef6947
Removing intermediate container f3d2fca171e6
---> Running in 0e23f0c0739a
---> cabadfa6a554
Removing intermediate container 0e23f0c0739a
Step 21 : RUN rosdep init
---> Running in fbe6f3b1a791
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 2c1512ee4dcf
Removing intermediate container fbe6f3b1a791
Step 22 : USER buildfarm
---> Running in 2df9b73068a4
---> a47502839043
Removing intermediate container 2df9b73068a4
Step 23 : ENTRYPOINT sh -c
---> Running in 6e3993e70388
---> 099c44a42309
Removing intermediate container 6e3993e70388
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 2e6a2c997f0b
---> 2863d6b24184
Removing intermediate container 2e6a2c997f0b
Successfully built 2863d6b24184
echo Agent pid 6919 killed;

ROS Buildfarm

unread,
Jul 13, 2017, 4:41:50 AM7/13/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/9/display/redirect>

------------------------------------------
[...truncated 66.19 KB...]
Setting up openssh-client (1:6.6p1-2ubuntu2.8) ...
Setting up libpython2.7-stdlib:amd64 (2.7.6-8ubuntu0.3) ...
Setting up python2.7 (2.7.6-8ubuntu0.3) ...
Setting up python-minimal (2.7.5-5ubuntu3) ...
Setting up libpython-stdlib:amd64 (2.7.5-5ubuntu3) ...
Setting up python (2.7.5-5ubuntu3) ...
Setting up python-apt-common (0.9.3.5ubuntu2) ...
Setting up python3-apt (0.9.3.5ubuntu2) ...
Setting up rsync (3.1.0-2ubuntu0.2) ...
Removing any system startup links for /etc/init.d/rsync ...
---> 3cc0dd85efa7
Removing intermediate container a1c9d58e3744
Step 18 : RUN echo "2017-07-13 00:40:14 -0800"
---> Running in 15b8e5bd52e7
2017-07-13 00:40:14 -0800
---> 88c6a4b43f5a
Removing intermediate container 15b8e5bd52e7
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 87e09df9e8a3
---> 0c45ffb638ee
Removing intermediate container 87e09df9e8a3
---> Running in 380244ba0186
---> ecf4a0545f64
Removing intermediate container 380244ba0186
Step 21 : RUN rosdep init
---> Running in c3a3d4d5a921
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 39632f0c58c4
Removing intermediate container c3a3d4d5a921
Step 22 : USER buildfarm
---> Running in 093be39df8c3
---> 5320c36e31b1
Removing intermediate container 093be39df8c3
Step 23 : ENTRYPOINT sh -c
---> Running in d1791fec8e55
---> 9224f0cabd47
Removing intermediate container d1791fec8e55
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 08e179c0538b
---> a4e438cc1e31
Removing intermediate container 08e179c0538b
Successfully built a4e438cc1e31
echo Agent pid 23686 killed;

ROS Buildfarm

unread,
Jul 13, 2017, 6:40:57 AM7/13/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/10/display/redirect>

------------------------------------------
[...truncated 22.07 KB...]
ENTRYPOINT ["sh", "-c"]
CMD ["rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing"]
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Build Dockerfile - generating devel tasks
# BEGIN SECTION: Build Dockerfile - generating devel tasks
+ cd <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_generating_dockers>
+ python3 -u <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/ros_buildfarm/scripts/misc/docker_pull_baseimage.py>
Get base image name from Dockerfile 'Dockerfile': ubuntu:trusty
Check docker base image for updates: docker pull ubuntu:trusty
trusty: Pulling from library/ubuntu
Digest: sha256:fbc6d4f3d741b880a86830f18a571501d8205db55da2572b3e227545962aca13
Status: Image is up to date for ubuntu:trusty
+ docker build --force-rm -t devel_task_generation.jade_jsk_pr2eus .
Sending build context to Docker daemon 15.36 kBSending build context to Docker daemon 15.36 kB
Step 1 : FROM ubuntu:trusty
---> 6a6cde1edaed
Step 2 : VOLUME /var/cache/apt/archives
---> Using cache
---> f317cdccc5e4
Step 3 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 9640ba4a2d39
Step 4 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
---> Using cache
---> 7cc24404b063
Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
---> Using cache
---> cb9d78a39e91
Step 6 : RUN locale-gen en_US.UTF-8
---> Using cache
---> 0b7ff25546cf
Step 16 : RUN echo "2017-07-13 (-0800)"
---> Using cache
---> 5ec9bc0c7b78
Step 17 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> 6b0d45c11afc
Step 18 : RUN echo "2017-07-13 02:39:16 -0800"
---> Running in e215fe06e5e7
2017-07-13 02:39:16 -0800
---> 1c31d9f39570
Removing intermediate container e215fe06e5e7
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in f299faef4ffc
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates/main Sources [495 kB]
Get:4 http://archive.ubuntu.com trusty-updates/restricted Sources [6,470 B]
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [234 kB]
Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,245 kB]
Get:7 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.2 kB]
Get:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [540 kB]
Get:9 http://archive.ubuntu.com trusty-security/main Sources [169 kB]
Get:10 http://archive.ubuntu.com trusty-security/restricted Sources [5,068 B]
Get:11 http://archive.ubuntu.com trusty-security/universe Sources [71.2 kB]
Get:12 http://archive.ubuntu.com trusty-security/main amd64 Packages [781 kB]
Get:13 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [17.9 kB]
Get:14 http://archive.ubuntu.com trusty-security/universe amd64 Packages [221 kB]
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 3,938 kB in 7s (504 kB/s)
Reading package lists...
---> 13d85e8ec093
Removing intermediate container f299faef4ffc
---> Running in a3eaad4813ca
---> e49a73133121
Removing intermediate container a3eaad4813ca
Step 21 : RUN rosdep init
---> Running in 708766eb48a9
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 9a691497f633
Removing intermediate container 708766eb48a9
Step 22 : USER buildfarm
---> Running in e2b455ca0826
---> 63467a296694
Removing intermediate container e2b455ca0826
Step 23 : ENTRYPOINT sh -c
---> Running in 132836e4dbe2
---> 67241f0a97d7
Removing intermediate container 132836e4dbe2
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 3aa2f965cd58
---> 9e78be0bcfa4
Removing intermediate container 3aa2f965cd58
Successfully built 9e78be0bcfa4
echo Agent pid 20748 killed;

ROS Buildfarm

unread,
Jul 13, 2017, 7:40:45 PM7/13/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/11/display/redirect>

------------------------------------------
[...truncated 24.79 KB...]
Step 7 : ENV LANG en_US.UTF-8
---> Using cache
---> feacc9dacc90
Step 8 : ENV TZ PST+08
---> Using cache
---> cec37673c466
Step 9 : RUN useradd -u 1001 -m buildfarm
---> Using cache
---> 76d83ad776df
Step 10 : RUN mkdir /tmp/keys
---> Using cache
---> 8d0bf06be180
Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\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+hFpryAJ4puo6cMZxa6wITHFAM/k84+aRijwCeItuWpUngP25xDuDGMsKarcNi\nqYE=\n=Vgio\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> 203dab18825d
Step 12 : RUN echo deb http://repositories.ros.org/ubuntu/testing trusty main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> 7e2aec838a9e
Step 13 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> 5b33b696f8ff
Step 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 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
---> Using cache
---> a4694cf61178
Step 15 : 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
---> Using cache
---> 13fe45f4634d
Step 16 : RUN echo "2017-07-13 (-0800)"
---> Using cache
---> 9058995080d4
Step 17 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> 56aad7901626
Step 18 : RUN echo "2017-07-13 15:39:44 -0800"
---> Running in 11f4f812e944
2017-07-13 15:39:44 -0800
---> c1ca769aa4c9
Removing intermediate container 11f4f812e944
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 44e20a62bf34
Invoking 'apt-get update'
Get:1 http://repositories.ros.org trusty InRelease [4,031 B]
Ign http://archive.ubuntu.com trusty InRelease
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:3 http://repositories.ros.org trusty/main amd64 Packages [821 kB]
Get:4 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Get:5 http://archive.ubuntu.com trusty-updates/main Sources [495 kB]
Get:6 http://archive.ubuntu.com trusty-updates/restricted Sources [6,470 B]
Get:7 http://archive.ubuntu.com trusty-updates/universe Sources [234 kB]
Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,245 kB]
Get:9 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.2 kB]
Get:10 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [540 kB]
Get:11 http://archive.ubuntu.com trusty-security/main Sources [170 kB]
Get:12 http://archive.ubuntu.com trusty-security/restricted Sources [5,068 B]
Get:13 http://archive.ubuntu.com trusty-security/universe Sources [71.2 kB]
Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [782 kB]
Get:15 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [17.9 kB]
Get:16 http://archive.ubuntu.com trusty-security/universe amd64 Packages [222 kB]
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 4,766 kB in 6s (695 kB/s)
Reading package lists...
W: Size of file /var/lib/apt/lists/repositories.ros.org_ubuntu_testing_dists_trusty_main_binary-amd64_Packages.gz is not what the server reported 820745 820747

is not what the server reported

Reinvoke 'apt update' (2/10) after sleeping 9 seconds
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty-updates/main Sources
Hit http://archive.ubuntu.com trusty-updates/restricted Sources
Hit http://archive.ubuntu.com trusty-updates/universe Sources
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Reading package lists...
---> c56942641080
Removing intermediate container 44e20a62bf34
---> Running in 5d3384a79a7e
---> 6fe69b2e19bf
Removing intermediate container 5d3384a79a7e
Step 21 : RUN rosdep init
---> Running in a03fb0dd8200
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 59add30a4593
Removing intermediate container a03fb0dd8200
Step 22 : USER buildfarm
---> Running in 9b57160312e1
---> 81dd099caaf6
Removing intermediate container 9b57160312e1
Step 23 : ENTRYPOINT sh -c
---> Running in e9bcc1e9d94a
---> 06069c647a3a
Removing intermediate container e9bcc1e9d94a
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in 848fad55e6f3
---> c15f2d68a963
Removing intermediate container 848fad55e6f3
Successfully built c15f2d68a963
echo Agent pid 9345 killed;

ROS Buildfarm

unread,
Jul 14, 2017, 6:40:03 AM7/14/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/12/display/redirect>

------------------------------------------
[...truncated 22.57 KB...]
ENTRYPOINT ["sh", "-c"]
CMD ["rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing"]
+ echo # END SECTION
# END SECTION
+ echo # BEGIN SECTION: Build Dockerfile - generating devel tasks
# BEGIN SECTION: Build Dockerfile - generating devel tasks
+ cd <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_generating_dockers>
+ python3 -u <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/ros_buildfarm/scripts/misc/docker_pull_baseimage.py>
Get base image name from Dockerfile 'Dockerfile': ubuntu:trusty
Check docker base image for updates: docker pull ubuntu:trusty
trusty: Pulling from library/ubuntu
Digest: sha256:fbc6d4f3d741b880a86830f18a571501d8205db55da2572b3e227545962aca13
Status: Image is up to date for ubuntu:trusty
+ docker build --force-rm -t devel_task_generation.jade_jsk_pr2eus .
Sending build context to Docker daemon 15.36 kBSending build context to Docker daemon 15.36 kB
Step 1 : FROM ubuntu:trusty
---> 6a6cde1edaed
Step 2 : VOLUME /var/cache/apt/archives
---> Using cache
---> 71ae8b6bc533
Step 3 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 0bccde4f3b95
Step 4 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [[ $i < 3 ]]; then sleep 5; else false; fi; done
---> Using cache
---> d5a9e5df8beb
Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
---> Using cache
---> 8dd4e5c81ddd
Step 6 : RUN locale-gen en_US.UTF-8
---> Using cache
---> 63e664864ee0
Step 7 : ENV LANG en_US.UTF-8
---> Using cache
---> 9ec4c097fcbc
Step 8 : ENV TZ PST+08
---> Using cache
---> 32aea7e3eb65
Step 9 : RUN useradd -u 1001 -m buildfarm
---> Using cache
---> b9c7304374b0
Step 10 : RUN mkdir /tmp/keys
---> Using cache
---> 5317e0621357
Step 11 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\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+hFpryAJ4puo6cMZxa6wITHFAM/k84+aRijwCeItuWpUngP25xDuDGMsKarcNi\nqYE=\n=Vgio\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> 4629f3c84674
Step 12 : RUN echo deb http://repositories.ros.org/ubuntu/testing trusty main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> f7c0f7abba22
Step 13 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> e79a13ede487
Step 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 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
---> Using cache
---> a7e36cbd0b79
Step 15 : 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
---> Using cache
---> 56362309497f
Step 16 : RUN echo "2017-07-14 (-0800)"
---> Using cache
---> de27b31f5a2a
Step 17 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> 29339e20cd40
Step 18 : RUN echo "2017-07-14 02:39:20 -0800"
---> Running in 543cc569b326
2017-07-14 02:39:20 -0800
---> ce68a0ab022a
Removing intermediate container 543cc569b326
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 929656edb631
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates/main Sources [495 kB]
Get:4 http://archive.ubuntu.com trusty-updates/restricted Sources [6,470 B]
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [234 kB]
Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,245 kB]
Get:7 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.2 kB]
Get:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [540 kB]
Hit http://archive.ubuntu.com trusty Release
Get:9 http://archive.ubuntu.com trusty-security/main Sources [170 kB]
Get:10 http://archive.ubuntu.com trusty-security/restricted Sources [5,068 B]
Get:11 http://archive.ubuntu.com trusty-security/universe Sources [71.2 kB]
Get:12 http://archive.ubuntu.com trusty-security/main amd64 Packages [782 kB]
Get:13 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [17.9 kB]
Get:14 http://archive.ubuntu.com trusty-security/universe amd64 Packages [222 kB]
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 3,941 kB in 7s (523 kB/s)
Reading package lists...
---> 51bbaadb9831
Removing intermediate container 929656edb631
---> Running in 6609fa359105
---> d6c4410bc20a
Removing intermediate container 6609fa359105
Step 21 : RUN rosdep init
---> Running in 8bc1cfc2090d
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> b51092f4855d
Removing intermediate container 8bc1cfc2090d
Step 22 : USER buildfarm
---> Running in 84b5527db606
---> b5c37becb8fd
Removing intermediate container 84b5527db606
Step 23 : ENTRYPOINT sh -c
---> Running in 363e33df3f38
---> 6cb7712ac4d9
Removing intermediate container 363e33df3f38
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in b73ecb221105
---> b90cb5cc9bae
Removing intermediate container b73ecb221105
Successfully built b90cb5cc9bae
echo Agent pid 12145 killed;

ROS Buildfarm

unread,
Jul 16, 2017, 8:41:18 AM7/16/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/13/display/redirect?page=changes>

Changes:

[noreply] Merge pull request #316 from k-okada/fix_travis

------------------------------------------
[...truncated 66.52 KB...]
---> 71b9edc00202
Removing intermediate container 9a3dbd203ad2
Step 18 : RUN echo "2017-07-16 04:39:20 -0800"
---> Running in 93bc04f2acec
2017-07-16 04:39:20 -0800
---> a635008215f9
Removing intermediate container 93bc04f2acec
Step 19 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 963973c2e1cb
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://repositories.ros.org trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty-updates/main Sources
Hit http://archive.ubuntu.com trusty-updates/restricted Sources
Hit http://archive.ubuntu.com trusty-updates/universe Sources
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Reading package lists...
---> 71ab38bd1c06
Removing intermediate container 963973c2e1cb
---> Running in 8d04dcf798d4
---> 62445826dfc0
Removing intermediate container 8d04dcf798d4
Step 21 : RUN rosdep init
---> Running in 1fabd70bf737
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 0ba33a6a170d
Removing intermediate container 1fabd70bf737
Step 22 : USER buildfarm
---> Running in ed64a8dc2cae
---> a8be88a30de2
Removing intermediate container ed64a8dc2cae
Step 23 : ENTRYPOINT sh -c
---> Running in 34e4280758ae
---> d05575b8d62c
Removing intermediate container 34e4280758ae
Step 24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in fc9d4acd886f
---> a5a8e17bcf44
Removing intermediate container fc9d4acd886f
Successfully built a5a8e17bcf44
echo Agent pid 8332 killed;

ROS Buildfarm

unread,
Oct 7, 2017, 10:40:17 PM10/7/17
to ros-build...@googlegroups.com, william+...@osrfoundation.org, k-o...@jsk.t.u-tokyo.ac.jp, mur...@jsk.imi.i.u-tokyo.ac.jp, you...@jsk.t.u-tokyo.ac.jp, nor...@github.com
See <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/14/display/redirect>

------------------------------------------
[...truncated 25.70 KB...]
---> 5eb563efe393
Step 9/24 : RUN useradd -u 1001 -m buildfarm
---> Using cache
---> 82f34fef44d2
Step 10/24 : RUN mkdir /tmp/keys
---> Using cache
---> d4de954d5e4c
Step 11/24 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\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+hFpryAJ4puo6cMZxa6wITHFAM/k84+aRijwCeItuWpUngP25xDuDGMsKarcNi\nqYE=\n=Vgio\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key
---> Using cache
---> fcbc0a766ee2
Step 12/24 : RUN echo deb http://repositories.ros.org/ubuntu/testing trusty main | tee -a /etc/apt/sources.list.d/buildfarm.list
---> Using cache
---> a0fc76ba8619
Step 13/24 : RUN mkdir /tmp/wrapper_scripts
---> Using cache
---> 49a0ec955b93
Step 14/24 : RUN echo "#!/usr/bin/env python3\n\n# Copyright 2014-2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Failed to fetch',\n 'Failed to stat',\n 'Hash Sum mismatch',\n 'Unable to locate package',\n 'is not what the server reported',\n ]\n\n command = argv[0]\n if command in ['update', 'source']:\n rc, _, _ = call_apt_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n elif command == 'update-install-clean':\n return call_apt_update_install_clean(\n argv[1:], known_error_strings, max_tries)\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_apt_update_install_clean(\n install_argv, known_error_strings, max_tries):\n tries = 0\n command = 'update'\n while tries < max_tries:\n if command == 'update':\n rc, _, tries = call_apt_repeatedly(\n [command], known_error_strings, max_tries - tries,\n offset=tries)\n if rc != 0:\n # abort if update was unsuccessful even after retries\n break\n # move on to the install command if update was successful\n command = 'install'\n\n if command == 'install':\n # any call is considered a try\n tries += 1\n known_error_strings_redo_update = [\n 'Size mismatch',\n 'maybe run apt update',\n 'The following packages cannot be authenticated!',\n 'Unable to locate package',\n 'has no installation candidate',\n 'corrupted package archive',\n ]\n rc, known_error_conditions = \\\\\n call_apt(\n [command] + install_argv,\n known_error_strings + known_error_strings_redo_update)\n if not known_error_conditions:\n if rc != 0:\n # abort if install was unsuccessful\n break\n # move on to the clean command if install was successful\n command = 'clean'\n continue\n\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n # check if update needs to be rerun\n if (\n set(known_error_conditions) &\n set(known_error_strings_redo_update)\n ):\n command = 'update'\n print(\"'apt install' failed and likely requires \" +\n \"'apt update' to run again\")\n # retry with update command\n continue\n\n print('')\n print('Invocation failed due to the following known error '\n 'conditions: ' + ', '.join(known_error_conditions))\n print('')\n if tries < max_tries:\n sleep_time = 5\n print(\"Reinvoke 'apt install' after sleeping %s seconds\" %\n sleep_time)\n sleep(sleep_time)\n # retry install command\n\n if command == 'clean':\n rc, _ = call_apt([command], [])\n break\n\n return rc\n\n\ndef call_apt_repeatedly(argv, known_error_strings, max_tries, offset=0):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * (i + offset)\n print(\"Reinvoke 'apt %s' (%d/%d) after sleeping %s seconds\" %\n (command, i + offset, max_tries + offset, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_apt(argv, known_error_strings)\n if not known_error_conditions:\n # break the loop and return the reported rc\n break\n # known errors are always interpreted as a non-zero rc\n if rc == 0:\n rc = 1\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i + offset\n\n\ndef call_apt(argv, known_error_strings):\n known_error_conditions = []\n\n # some of the used options are not supported in older distros\n # e.g. Ubuntu Wily, Debian Jessie\n cmd = ['apt-get'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n lines = []\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n lines.append(line)\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n if rc and not known_error_conditions:\n print('Invocation failed without any known error condition, '\n 'printing all lines to debug known error detection:')\n for index, line in enumerate(lines):\n print(' ', index + 1, \"'%s'\" % line.rstrip('\\\\n\\\\r'))\n print('None of the following known errors were detected:')\n for index, known_error_string in enumerate(known_error_strings):\n print(' ', index + 1, \"'%s'\" % known_error_string)\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/apt.py
---> Using cache
---> 33ba396fc8af
Step 15/24 : 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
---> Using cache
---> 52504f88181a
Step 16/24 : RUN echo "2017-10-07 (-0800)"
---> Using cache
---> e88fdcad60a7
Step 17/24 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-catkin-pkg-modules python3-empy python3-rosdep python3-rosdistro-modules wget
---> Using cache
---> 8ef72f3241c1
Step 18/24 : RUN echo "2017-10-07 18:39:22 -0800"
---> Running in 6102244a7fe3
2017-10-07 18:39:22 -0800
---> 6d35c4ec9df5
Removing intermediate container 6102244a7fe3
Step 19/24 : RUN python3 -u /tmp/wrapper_scripts/apt.py update
---> Running in 60facb135c76
Invoking 'apt-get update'
Get:1 http://repositories.ros.org trusty InRelease [4,031 B]
Ign http://archive.ubuntu.com trusty InRelease
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty-backports InRelease
Get:3 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Get:4 http://repositories.ros.org trusty/main amd64 Packages [834 kB]
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [241 kB]
Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,279 kB]
Get:7 http://security.ubuntu.com trusty-security/universe Sources [76.3 kB]
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [833 kB]
Get:9 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.1 kB]
Get:10 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [554 kB]
Get:11 http://security.ubuntu.com trusty-security/restricted amd64 Packages [17.8 kB]
Get:12 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [15.5 kB]
Get:13 http://security.ubuntu.com trusty-security/universe amd64 Packages [240 kB]
Get:14 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [3,997 B]
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Fetched 4,250 kB in 6s (680 kB/s)
Reading package lists...
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages.gz is not what the server reported 1278938 1279042

is not what the server reported

Reinvoke 'apt update' (2/10) after sleeping 9 seconds
Invoking 'apt-get update'
Hit http://repositories.ros.org trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-backports InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Hit http://repositories.ros.org trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe Sources
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Reading package lists...
---> 942e3d5601df
Removing intermediate container 60facb135c76
Step 20/24 : ENV ROSDISTRO_INDEX_URL https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
---> Running in d254c155fff7
---> 7453c7fbc486
Removing intermediate container d254c155fff7
Step 21/24 : RUN rosdep init
---> Running in c8caf700a810
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run

rosdep update

---> 87b3e6112cf2
Removing intermediate container c8caf700a810
Step 22/24 : USER buildfarm
---> Running in e3393ad26a10
---> 5a69ef72018b
Removing intermediate container e3393ad26a10
Step 23/24 : ENTRYPOINT sh -c
---> Running in db4f10840278
---> 6d5d245ccf63
Removing intermediate container db4f10840278
Step 24/24 : CMD rosdep update && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_install && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py --rosdistro-name jade --workspace-root /tmp/catkin_workspace --os-name ubuntu --os-code-name trusty --arch amd64 --distribution-repository-urls http://repositories.ros.org/ubuntu/testing --distribution-repository-key-files /tmp/keys/0.key --dockerfile-dir /tmp/docker_build_and_test --testing
---> Running in fd900ed1d47c
---> 470ce8c50769
Removing intermediate container fd900ed1d47c
Successfully built 470ce8c50769
Successfully tagged devel_task_generation.jade_jsk_pr2eus:latest
+ docker run --rm --cidfile=<http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_generating_dockers/docker.cid> -e=HOME=/home/buildfarm -e=TRAVIS= -e=ROS_BUILDFARM_PULL_REQUEST_BRANCH= -v <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/ros_buildfarm>:/tmp/ros_buildfarm:ro -v <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/catkin_workspace>:/tmp/catkin_workspace:ro -v <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_build_and_install>:/tmp/docker_build_and_install -v <http://build.ros.org/job/Jdev__jsk_pr2eus__ubuntu_trusty_amd64/ws/docker_build_and_test>:/tmp/docker_build_and_test -v /home/jenkins-agent/.ccache:/home/buildfarm/.ccache devel_task_generation.jade_jsk_pr2eus
echo Agent pid 18964 killed;
Reply all
Reply to author
Forward
0 new messages