Console Output
12:06:57 Started by upstream project "Msrc_uB__strands_ui__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 originally caused by: 12:06:57 Started by timer 12:06:57 Started by upstream project "Mbin_uB64__strands_webserver__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__strands_webserver__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 originally caused by: 12:06:57 Started by timer 12:06:57 Started by upstream project "Mbin_uB64__pygame_managed_player__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__pygame_managed_player__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 originally caused by: 12:06:57 Started by timer 12:06:57 Started by upstream project "Mbin_uB64__mongodb_media_server__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__mongodb_media_server__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 originally caused by: 12:06:57 Started by timer 12:06:57 Started by upstream project "Mbin_uB64__sound_player_server__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__sound_player_server__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 originally caused by: 12:06:57 Started by timer 12:06:57 Started by upstream project "Mbin_uB64__pygame_managed_player__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__pygame_managed_player__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 Started by upstream project "Mbin_uB64__mongodb_media_server__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__mongodb_media_server__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 Started by upstream project "Mbin_uB64__mary_tts__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__mary_tts__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 originally caused by: 12:06:57 Started by timer 12:06:57 Started by upstream project "Mbin_uB64__pygame_managed_player__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__pygame_managed_player__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 Started by upstream project "Mbin_uB64__music_player__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__music_player__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 originally caused by: 12:06:57 Started by timer 12:06:57 Started by upstream project "Mbin_uB64__pygame_managed_player__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__pygame_managed_player__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 Started by upstream project "Mbin_uB64__mongodb_media_server__ubuntu_bionic_amd64__binary" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Msrc_uB__mongodb_media_server__ubuntu_bionic__source" build number 1 12:06:57 originally caused by: 12:06:57 Started by upstream project "Mrel_trigger-jobs" build number 1233 12:06:57 Building remotely on build client 1 (buildagent slave buildslave indigo_devel_default) in workspace /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary 12:06:57 [ssh-agent] Looking for ssh-agent implementation... 12:06:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:06:57 $ ssh-agent 12:06:57 SSH_AUTH_SOCK=/tmp/ssh-J41qhXk5beyf/agent.13291 12:06:57 SSH_AGENT_PID=13293 12:06:57 [ssh-agent] Started. 12:06:57 $ ssh-add /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary@tmp/private_key_5786406483988305002.key 12:06:57 Identity added: /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary@tmp/private_key_5786406483988305002.key (/home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary@tmp/private_key_5786406483988305002.key) 12:06:57 [ssh-agent] Using credentials jenkins-slave 12:06:5712:06:571. Check upstream projectsHide Details
12:06:57 # BEGIN SECTION: Check upstream projects 12:06:57 Verify that no recursive upstream project is broken: 12:06:57 12:06:57 - 'Mbin_uB64__mary_tts__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Mbin_uB64__pygame_managed_player__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__pygame_managed_player__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__mary_tts__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Mbin_uB64__mongodb_media_server__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__mongodb_media_server__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Mbin_uB64__music_player__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__music_player__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Mbin_uB64__sound_player_server__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__sound_player_server__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Mbin_uB64__strands_webserver__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Mbin_uB64__strands_webtools__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Mbin_uB64__robot_pose_publisher__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__robot_pose_publisher__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Mbin_uB64__scitos_description__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__scitos_description__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__strands_webtools__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Mbin_uB64__twitter_bootstrap__ubuntu_bionic_amd64__binary' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__twitter_bootstrap__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__strands_webserver__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 - 'Msrc_uB__strands_ui__ubuntu_bionic__source' build '1' has result 'SUCCESS' 12:06:57 All recursive upstream projects are (un)stable 12:06:57 # END SECTION12:06:58 [Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/hudson6215284417120740935.sh 12:06:58 + echo # BEGIN SECTION: docker version2. Check free disk spaceHide Details
12:06:58 # BEGIN SECTION: Check free disk space 12:06:58 Usable disk space = 49828532224 bytes 12:06:58 Free space threshold = 5368709120 bytes 12:06:58 # END SECTION12:06:58 + echo # BEGIN SECTION: docker info3. docker versionHide Details
12:06:58 # BEGIN SECTION: docker version 12:06:58 + docker version 12:06:58 Client: 12:06:58 Version: 1.9.1 12:06:58 API version: 1.21 12:06:58 Go version: go1.4.2 12:06:58 Git commit: a34a1d5 12:06:58 Built: Fri Nov 20 13:12:04 UTC 2015 12:06:58 OS/Arch: linux/amd64 12:06:58 12:06:58 Server: 12:06:58 Version: 1.9.1 12:06:58 API version: 1.21 12:06:58 Go version: go1.4.2 12:06:58 Git commit: a34a1d5 12:06:58 Built: Fri Nov 20 13:12:04 UTC 2015 12:06:58 OS/Arch: linux/amd64 12:06:58 + echo # END SECTION 12:06:58 # END SECTION12:07:03 [Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/hudson6139821628958409777.sh 12:07:03 + echo # BEGIN SECTION: Check docker status4. docker infoHide Details
12:06:58 # BEGIN SECTION: docker info 12:06:58 + docker info 12:07:03 Containers: 115 12:07:03 Images: 1362 12:07:03 Server Version: 1.9.1 12:07:03 Storage Driver: aufs 12:07:03 Root Dir: /var/lib/docker/aufs 12:07:03 Backing Filesystem: extfs 12:07:03 Dirs: 2335 12:07:03 Dirperm1 Supported: false 12:07:03 Execution Driver: native-0.2 12:07:03 Logging Driver: json-file 12:07:03 Kernel Version: 3.13.0-29-generic 12:07:03 Operating System: Ubuntu 14.04 LTS 12:07:03 CPUs: 2 12:07:03 Total Memory: 3.861 GiB 12:07:03 Name: lcas-buildfarm-slave-2 12:07:03 ID: LZSS:PF7G:CREH:TEQW:FH57:3M6D:KCSS:ODQY:SPHA:ND7A:FHYG:PNDE 12:07:03 WARNING: No swap limit support 12:07:03 + echo # END SECTION 12:07:03 # END SECTION12:07:04 [Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/hudson3276540413450401168.sh 12:07:04 + echo # BEGIN SECTION: Embed wrapper scripts5. Check docker statusHide Details
12:07:03 # BEGIN SECTION: Check docker status 12:07:03 + echo Testing trivial docker invocation... 12:07:03 Testing trivial docker invocation... 12:07:03 + docker run --rm ubuntu:bionic true 12:07:04 + echo 'docker run' returned 0 12:07:04 'docker run' returned 0 12:07:04 docker seems operational, continuing 12:07:04 [Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/hudson5927663561319104692.sh 12:07:04 + echo # END SECTION 12:07:04 # END SECTION12:07:04 [Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/hudson6347338273567340321.sh 12:07:04 + echo # BEGIN SECTION: Clone ros_buildfarm6. Embed wrapper scriptsHide Details
12:07:04 # BEGIN SECTION: Embed wrapper scripts 12:07:04 + rm -fr wrapper_scripts 12:07:04 + mkdir wrapper_scripts 12:07:04 + printf #!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an "AS IS" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert "Command '%%s' not implemented" %% command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print("Reinvoke 'git %%s' (%%d/%%d) after sleeping %%s seconds" %%\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print("Invoking '%%s'" %% ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main()) 12:07:04 + echo # END SECTION 12:07:04 # END SECTION12:07:07 [Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/hudson3457385538189782660.sh 12:07:07 + echo # BEGIN SECTION: Write PGP repository keys7. Clone ros_buildfarmHide Details
12:07:04 # BEGIN SECTION: Clone ros_buildfarm 12:07:04 + rm -fr ros_buildfarm 12:07:04 + python3 -u wrapper_scripts/git.py clone --depth 1 -b pull_upstream https://github.com/lcas/ros_buildfarm.git ros_buildfarm 12:07:04 Invoking 'git clone --depth 1 -b pull_upstream https://github.com/lcas/ros_buildfarm.git ros_buildfarm' 12:07:04 Cloning into 'ros_buildfarm'... 12:07:06 + git -C ros_buildfarm --no-pager log -n 1 12:07:06 commit 1dd549025f8ffed420cf38aca8b3234ad940b860 12:07:06 Author: Marc Hanheide <marc@hanheide.net> 12:07:06 Date: Tue Nov 12 15:42:35 2019 +0000 12:07:06 12:07:06 added auth token to main sync job 12:07:06 + rm -fr ros_buildfarm/.git 12:07:07 + rm -fr ros_buildfarm/doc 12:07:07 + echo # END SECTION 12:07:07 # END SECTION12:07:07 [Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/hudson5022561768680050080.sh 12:07:07 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_generating_docker 12:07:07 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_generating_docker 12:07:07 + sleep 1 12:07:07 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 13389 --cid-file /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_generating_docker/docker.cid 12:07:08 + echo # BEGIN SECTION: Generate Dockerfile - binarydeb task8. Write PGP repository keysHide Details
12:07:07 # BEGIN SECTION: Write PGP repository keys 12:07:07 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/keys 12:07:07 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/keys/* 12:07:07 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 12:07:07 Version: GnuPG v1.4.11 (GNU/Linux) 12:07:07 12:07:07 mQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn 12:07:07 MsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf 12:07:07 xcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw 12:07:07 kPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv 12:07:07 /o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh 12:07:07 EBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg 12:07:07 KFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD 12:07:07 BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX 12:07:07 yQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI 12:07:07 7Yn/EAqBhXjtO2BcTuUC/9epzt1p3C++vK7RSsBDXfKzZN22apIUT0njOkL9Vuoy 12:07:07 JjFetmLDaZVbmFU+4ZaX3CFtBL3ewlFiT7G6StKj40JI8QJOlDOziX2OUsqZaI2T 12:07:07 Yh681980od3f2OfV3LPVroz7xnyECDfBaPBPaDdb8XWSNVLhuyglb15eewK0hj++ 12:07:07 Cut3swWH02Y3yVhzFBnosqqjyzPLBQeDMOoHAPpJHRgprfIRDoUkWAXO5re3GIUQ 12:07:07 cvk0d1I1jh3luQENBFPzE4sBCACmSxiM1vpPI7BpgUNAhu0B8SWptULpiYOnDHfM 12:07:07 hU1u95Z5Lu/hy3sfm4BEKgLju7Y1I3jToWTwJJzgWZRr+iuuwj3fbfHCISYIK7f3 12:07:07 IWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm 12:07:07 Z4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK 12:07:07 7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb 12:07:07 oRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC 12:07:07 AAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U 12:07:07 NTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0 12:07:07 ikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU 12:07:07 M7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N 12:07:07 l9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ 12:07:07 Chb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ== 12:07:07 =nFcN 12:07:07 -----END PGP PUBLIC KEY BLOCK----- 12:07:07 12:07:07 + echo -----BEGIN PGP PUBLIC KEY BLOCK----- 12:07:07 Version: SKS 1.1.6 12:07:07 Comment: Hostname: keyserver.ubuntu.com 12:07:07 12:07:07 mQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L 12:07:07 /HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw 12:07:07 DuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47 12:07:07 ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+ 12:07:07 d+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS 12:07:07 6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN 12:07:07 qoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL 12:07:07 8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/ 12:07:07 /SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVVokdGpcUz 12:07:07 vz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQABtCZPcGVuIFJvYm90 12:07:07 aWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQoAPhYhBMHPbjHmut6IaLFytPQu 12:07:07 1vurF8ZUBQJc7yaWAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEPQu1vur 12:07:07 F8ZUkhIP/RbZY1ErvCEUy8iLJm9aSpLQnDZl5xILOxyZlzpg+Ml5bb0EkQDr92foCgcvLeAN 12:07:07 KARNCaGLyNIWkuyDovPV0xZJrEy0kgBrDNb3++NmdI/+GA92pkedMXXioQvqdsxUagXAIB/s 12:07:07 NGByJEhs37F05AnFvZbjUhceq3xTlvAMcrBWrgB4NwBivZY6IgLvl/CRQpVYwANShIQdbvHv 12:07:07 ZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO 12:07:07 K+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo 12:07:07 bC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs 12:07:07 Fn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s 12:07:07 QNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR 12:07:07 hE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp 12:07:07 PWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd 12:07:07 =4Ofr 12:07:07 -----END PGP PUBLIC KEY BLOCK----- 12:07:07 12:07:07 + echo # END SECTION 12:07:07 # END SECTION12:07:08 + echo # BEGIN SECTION: Build Dockerfile - binarydeb task9. Generate Dockerfile - binarydeb taskHide Details
12:07:08 # BEGIN SECTION: Generate Dockerfile - binarydeb task 12:07:08 + export TZ=GMT+00 12:07:08 + export PYTHONPATH=/home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/ros_buildfarm: 12:07:08 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/release/run_binarydeb_job.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml melodic strands_ui ubuntu bionic amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/building http://packages.ros.org/ros/ubuntu --distribution-repository-key-files /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/keys/0.key /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/keys/1.key --target-repository http://10.210.9.154/ubuntu/building --binarydeb-dir /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/binarydeb --dockerfile-dir /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_generating_docker --env-vars --append-timestamp 12:07:08 Using the following distribution repositories: 12:07:08 http://10.210.9.154/ubuntu/building (/home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/keys/0.key) 12:07:08 http://packages.ros.org/ros/ubuntu (/home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/keys/1.key) 12:07:08 Generating Dockerfile '/home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_generating_docker/Dockerfile': 12:07:08 # generated from release/binarydeb_create_task.Dockerfile.em 12:07:08 12:07:08 FROM ubuntu:bionic 12:07:08 12:07:08 VOLUME ["/var/cache/apt/archives"] 12:07:08 12:07:08 ENV DEBIAN_FRONTEND noninteractive 12:07:08 12:07:08 12:07:08 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:07:08 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 12:07:08 RUN locale-gen en_US.UTF-8 12:07:08 ENV LANG en_US.UTF-8 12:07:08 ENV TZ GMT+00 12:07:08 12:07:08 12:07:08 RUN useradd -u 1002 -l -m buildfarm 12:07:08 12:07:08 RUN mkdir /tmp/keys 12:07:08 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:07:08 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/9epzt1p3C++vK7RSsBDXfKzZN22apIUT0njOkL9Vuoy\nJjFetmLDaZVbmFU+4ZaX3CFtBL3ewlFiT7G6StKj40JI8QJOlDOziX2OUsqZaI2T\nYh681980od3f2OfV3LPVroz7xnyECDfBaPBPaDdb8XWSNVLhuyglb15eewK0hj++\nCut3swWH02Y3yVhzFBnosqqjyzPLBQeDMOoHAPpJHRgprfIRDoUkWAXO5re3GIUQ\ncvk0d1I1jh3luQENBFPzE4sBCACmSxiM1vpPI7BpgUNAhu0B8SWptULpiYOnDHfM\nhU1u95Z5Lu/hy3sfm4BEKgLju7Y1I3jToWTwJJzgWZRr+iuuwj3fbfHCISYIK7f3\nIWGL2iM2+kLIH6E9oqRgGbJmhiwbz6OokxG0W7atdqpBxOKqhaH0AH3qRicwnuPm\nZ4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK\n7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb\noRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC\nAAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U\nNTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\nikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 12:07:08 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzv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l/CRQpVYwANShIQdbvHv\nZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO\nK+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo\nbC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs\nFn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key 12:07:08 RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:07:08 RUN echo deb-src http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:07:08 RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:07:08 12:07:08 RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && ((grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) 12:07:08 12:07:08 RUN mkdir /tmp/wrapper_scripts 12:07:08 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 12:07:08 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 12:07:08 12:07:08 # automatic invalidation once every day 12:07:08 RUN echo "2019-11-20 (+0000)" 12:07:08 12:07:08 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:07:08 12:07:08 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y devscripts dpkg-dev python3-apt python3-catkin-pkg-modules python3-empy python3-rosdistro-modules python3-yaml 12:07:08 12:07:08 # always invalidate to actually have the latest apt repo state 12:07:08 RUN echo "2019-11-20 12:07:08 +0000" 12:07:08 RUN python3 -u /tmp/wrapper_scripts/apt.py update 12:07:08 12:07:08 USER buildfarm 12:07:08 ENTRYPOINT ["sh", "-c"] 12:07:08 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/get_sourcedeb.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml melodic strands_ui --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic strands_ui --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/create_binarydeb_task_generator.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml melodic strands_ui ubuntu bionic amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/building http://packages.ros.org/ros/ubuntu --distribution-repository-key-files /tmp/keys/0.key /tmp/keys/1.key --binarydeb-dir /tmp/binarydeb --env-vars --dockerfile-dir /tmp/docker_build_binarydeb"] 12:07:08 + echo # END SECTION 12:07:08 # END SECTION12:07:46 + echo # BEGIN SECTION: Run Dockerfile - binarydeb task10. Build Dockerfile - binarydeb taskHide Details
12:07:08 # BEGIN SECTION: Build Dockerfile - binarydeb task 12:07:08 + cd /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_generating_docker 12:07:08 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 12:07:08 Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic 12:07:08 Check docker base image for updates: docker pull ubuntu:bionic 12:07:26 bionic: Pulling from library/ubuntu 12:07:26 Digest: sha256:1d1c09d1d5e42265dd6e7d35dcc73373f0e1b76da661463f24487ac3dbeb673f 12:07:26 Status: Image is up to date for ubuntu:bionic 12:07:26 + docker build --force-rm -t binarydeb_task_generation.melodic_ubuntu_bionic_amd64_strands_ui . 12:07:26 Sending build context to Docker daemon 20.99 kB Sending build context to Docker daemon 20.99 kB 12:07:26 Step 1 : FROM ubuntu:bionic 12:07:26 ---> 6120d8e09b3f 12:07:26 Step 2 : VOLUME /var/cache/apt/archives 12:07:27 ---> Using cache 12:07:27 ---> b29f905cce33 12:07:27 Step 3 : ENV DEBIAN_FRONTEND noninteractive 12:07:27 ---> Using cache 12:07:27 ---> cd2d1e1fc9d8 12:07:27 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 -lt 3 ]; then sleep 5; else false; fi; done 12:07:28 ---> Using cache 12:07:28 ---> 2cf434bfa57b 12:07:28 Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 12:07:28 ---> Using cache 12:07:28 ---> 38a47bd55e34 12:07:28 Step 6 : RUN locale-gen en_US.UTF-8 12:07:29 ---> Using cache 12:07:29 ---> a498930da307 12:07:29 Step 7 : ENV LANG en_US.UTF-8 12:07:29 ---> Using cache 12:07:29 ---> 1118ba2e1e0c 12:07:29 Step 8 : ENV TZ GMT+00 12:07:29 ---> Using cache 12:07:29 ---> 474f1ddcf34d 12:07:29 Step 9 : RUN useradd -u 1002 -l -m buildfarm 12:07:30 ---> Using cache 12:07:30 ---> 75ab071ab49c 12:07:30 Step 10 : RUN mkdir /tmp/keys 12:07:32 ---> Using cache 12:07:32 ---> 639e36792fe5 12:07:32 Step 11 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:07:32 ---> Using cache 12:07:32 ---> 2d1b1ddcfc6e 12:07:32 Step 12 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ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CoQhYbMOqG6C0\nikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 12:07:33 ---> Using cache 12:07:33 ---> 804c353569ef 12:07:33 Step 13 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H0J7sAHmqS29N9jV9mo135d+\nd+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS\n6nHrWH2WqQxRbiITl0irkQozpwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBN\nqoAQRbvWvBhPjO/pV5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL\n8bwxX7UThM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/\n/SnuexC6LYqqDuHUs5Nn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:07:34 ---> fac92929fa2b 12:07:34 Step 14 : RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:07:34 ---> Using cache 12:07:34 ---> 7202cfa3034e 12:07:34 Step 15 : RUN echo deb-src http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:07:34 ---> Using cache 12:07:34 ---> 44a362aa6c7c 12:07:34 Step 16 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:07:35 ---> Using cache 12:07:35 ---> a85905909c2f 12:07:35 Step 17 : RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && ((grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) 12:07:35 ---> Using cache 12:07:35 ---> f42553a70780 12:07:35 Step 18 : RUN mkdir /tmp/wrapper_scripts 12:07:36 ---> Using cache 12:07:36 ---> 42e5d761239d 12:07:36 Step 19 : 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 12:07:36 ---> Using cache 12:07:36 ---> 5d9cae741fa3 12:07:36 Step 20 : 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 12:07:36 ---> Using cache 12:07:36 ---> 5fa89adbfd15 12:07:36 Step 21 : RUN echo "2019-11-20 (+0000)" 12:07:37 ---> Using cache 12:07:37 ---> 9e8b1025968c 12:07:37 Step 22 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:07:37 ---> Using cache 12:07:37 ---> 89160b57385e 12:07:37 Step 23 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y devscripts dpkg-dev python3-apt python3-catkin-pkg-modules python3-empy python3-rosdistro-modules python3-yaml 12:07:38 ---> Using cache 12:07:38 ---> 9a43bb2dc07c 12:07:38 Step 24 : RUN echo "2019-11-20 12:07:08 +0000" 12:07:39 ---> Running in 0e02fa7b414e 12:07:39 2019-11-20 12:07:08 +0000 12:07:39 ---> 55793de3bdcb 12:07:39 Removing intermediate container 0e02fa7b414e 12:07:39 Step 25 : RUN python3 -u /tmp/wrapper_scripts/apt.py update 12:07:40 ---> Running in 4895f7603be9 12:07:41 Invoking 'apt-get update' 12:07:41 Get:1 http://10.210.9.154/ubuntu/building bionic InRelease [2,820 B] 12:07:41 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 12:07:41 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 12:07:41 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 12:07:41 Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 12:07:41 Hit:6 http://packages.ros.org/ros/ubuntu bionic InRelease 12:07:41 Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 12:07:41 Get:8 http://10.210.9.154/ubuntu/building bionic/main amd64 Packages [96.7 kB] 12:07:42 Fetched 440 kB in 1s (346 kB/s) 12:07:44 Reading package lists... 12:07:45 ---> 49421aed6b85 12:07:45 Removing intermediate container 4895f7603be9 12:07:45 Step 26 : USER buildfarm 12:07:45 ---> Running in 65559c05dadf 12:07:45 ---> 5402d7900bef 12:07:45 Removing intermediate container 65559c05dadf 12:07:45 Step 27 : ENTRYPOINT sh -c 12:07:46 ---> Running in 3e71c8517861 12:07:46 ---> f539ef117a12 12:07:46 Removing intermediate container 3e71c8517861 12:07:46 Step 28 : CMD PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/get_sourcedeb.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml melodic strands_ui --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/append_build_timestamp.py melodic strands_ui --sourcedeb-dir /tmp/binarydeb && PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u /tmp/ros_buildfarm/scripts/release/create_binarydeb_task_generator.py --rosdistro-index-url https://raw.githubusercontent.com/LCAS/rosdistro/master/index.yaml melodic strands_ui ubuntu bionic amd64 --distribution-repository-urls http://10.210.9.154/ubuntu/building http://packages.ros.org/ros/ubuntu --distribution-repository-key-files /tmp/keys/0.key /tmp/keys/1.key --binarydeb-dir /tmp/binarydeb --env-vars --dockerfile-dir /tmp/docker_build_binarydeb 12:07:46 ---> Running in dbf02c05eba9 12:07:46 ---> 0ea43f0db9c4 12:07:46 Removing intermediate container dbf02c05eba9 12:07:46 Successfully built 0ea43f0db9c4 12:07:46 + echo # END SECTION 12:07:46 # END SECTION12:08:06 [Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/hudson5124170892311488603.sh 12:08:06 + sleep 1 12:08:06 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/subprocess_reaper.py 15311 --cid-file /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_build_binarydeb/docker.cid 12:08:07 + echo # BEGIN SECTION: Build Dockerfile - build binarydeb11. Run Dockerfile - binarydeb taskHide Details
12:07:46 # BEGIN SECTION: Run Dockerfile - binarydeb task 12:07:46 + [ -f /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/binarydeb ] 12:07:46 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/binarydeb 12:07:46 + rm -fr /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_build_binarydeb 12:07:46 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/binarydeb 12:07:46 + mkdir -p /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_build_binarydeb 12:07:46 + docker run --rm --cidfile=/home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_generating_docker/docker.cid -e=TRAVIS= -e=ROS_BUILDFARM_PULL_REQUEST_BRANCH= -v /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_build_binarydeb:/tmp/docker_build_binarydeb -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache binarydeb_task_generation.melodic_ubuntu_bionic_amd64_strands_ui11.1. get sourcedebHide Details
12:07:47 # BEGIN SUBSECTION: get sourcedeb 12:07:54 Invoking '/usr/bin/python3 /tmp/ros_buildfarm/ros_buildfarm/wrapper/apt.py source --download-only --only-source ros-melodic-strands-ui=0.2.1-1bionic' 12:07:56 Invoking 'apt-get source --download-only --only-source ros-melodic-strands-ui=0.2.1-1bionic' 12:07:56 Reading package lists... 12:07:56 Need to get 5,588 B of source archives. 12:07:56 Get:1 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-strands-ui 0.2.1-1bionic (dsc) [1,011 B] 12:07:56 Get:2 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-strands-ui 0.2.1-1bionic (tar) [2,021 B] 12:07:56 Get:3 http://10.210.9.154/ubuntu/building bionic/main ros-melodic-strands-ui 0.2.1-1bionic (diff) [2,556 B] 12:07:56 Fetched 5,588 B in 0s (486 kB/s) 12:07:56 Download complete and in download only mode 12:07:56 Invoking 'dpkg-source -x ros-melodic-strands-ui_0.2.1-1bionic.dsc' 12:07:58 dpkg-source: warning: extracting unsigned source package (ros-melodic-strands-ui_0.2.1-1bionic.dsc) 12:07:58 dpkg-source: info: extracting ros-melodic-strands-ui in ros-melodic-strands-ui-0.2.1 12:07:58 dpkg-source: info: unpacking ros-melodic-strands-ui_0.2.1.orig.tar.gz 12:07:58 dpkg-source: info: unpacking ros-melodic-strands-ui_0.2.1-1bionic.debian.tar.xz 12:07:58 Package maintainer emails: cdondrup@lincoln.ac.uk 12:07:58 # END SUBSECTION12:08:03 Looking for the '.dsc' file of package 'ros-melodic-strands-ui' with version '0.2.1-1' 12:08:05 Using the following distribution repositories: 12:08:05 http://10.210.9.154/ubuntu/building (/tmp/keys/0.key) 12:08:05 http://packages.ros.org/ros/ubuntu (/tmp/keys/1.key) 12:08:06 Generating Dockerfile '/tmp/docker_build_binarydeb/Dockerfile': 12:08:06 # generated from release/binarydeb_task.Dockerfile.em 12:08:06 12:08:06 12:08:06 FROM ubuntu:bionic 12:08:06 12:08:06 VOLUME ["/var/cache/apt/archives"] 12:08:06 12:08:06 ENV DEBIAN_FRONTEND noninteractive 12:08:06 12:08:06 12:08:06 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y locales && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:08:06 RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 12:08:06 RUN locale-gen en_US.UTF-8 12:08:06 ENV LANG en_US.UTF-8 12:08:06 ENV TZ GMT+00 12:08:06 12:08:06 RUN useradd -u 1002 -l -m buildfarm 12:08:06 12:08:06 RUN mkdir /tmp/keys 12:08:06 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:08:06 RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.11 (GNU/Linux)\n\nmQENBFPzE4sBCAC9c8hzt+gqe6YqXAW9Yd10jx68M0q8IowAe182yVtIvYf5l+qn\nMsXiDUz4l7c1TcRpdzZ1WwEQoNNjQKq51ip2Ln3Uhri/GsPBk+psIJPt5AeXYrSf\nxcDs8k4FMWgJtYMlZLuNk1YPaS6Vf1+Ygbe0u+ssORWg3cWhgLWPDydXdlhinUgw\nkPd9ZYi8aaAxi94DMuOnAjItfPbuX52NHmPR2cXuh3fZklhA6cCGRYkSVqijKhEv\n/o8fTnjcTama8ml5jnaAhcZ/4UV3terLeXEQn3+WM+VbTsEr58zca5fOv8MjC+Uh\nEBgDgnHb8/n7OgSUvv9efQgYXBRQ1mD//JaZABEBAAG0LE1hcmMgSGFuaGVpZGUg\nKFJPU0J1aWxkKSA8bWFyY0BoYW5oZWlkZS5uZXQ+iQE4BBMBAgAiBQJT8xOLAhsD\nBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDc10MYrtOYVB9cCACQwB9auPEX\nyQdVwliJMLwVihKz0AU0UCG6qra2pdXx9l5kgkQCuDV5FQqMpk/MIJPn8Zj0l1MI\n7Yn/EAqBhXjtO2BcTuUC/9epzt1p3C++vK7RSsBD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+GA92pkedMXXioQvqdsxUagXAIB/s\nNGByJEhs37F05AnFvZbjUhceq3xTlvAMcrBWrgB4NwBivZY6IgLvl/CRQpVYwANShIQdbvHv\nZSxRonWhNXr6v/Wcf8rsp7g2VqJ2N2AcWT84aa9BLQ3Oe/SgrNx4QEhA1y7rc3oaqPVu5ZXO\nK+4O14JrpbEZ3Xs9YEjrcOuEDEpYktA8qqUDTdFyZrxb9S6BquUKrA6jZgT913kjJ4e7YAZo\nbC4rH0w4u0PrqDgYOkXA9Mo7L601/7ZaDJob80UcK+Z12ZSw73IgBix6DiJVfXuWkk5PM2zs\nFn6UOQXUNlZlDAOj5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key 12:08:06 RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:08:06 RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:08:06 12:08:06 RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && ((grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) 12:08:06 12:08:06 RUN mkdir /tmp/wrapper_scripts 12:08:06 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 12:08:06 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 12:08:06 12:08:06 # automatic invalidation once every day 12:08:06 RUN echo "2019-11-20 (+0000)" 12:08:06 12:08:06 RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:08:06 12:08:06 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python 12:08:06 12:08:06 RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential 12:08:06 12:08:06 12:08:06 # for each dependency: echo version, apt update, apt install, apt clean 12:08:06 RUN echo "apt-src: 0.25.2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src 12:08:06 RUN echo "debhelper: 12.1.1ubuntu1~ubuntu18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper 12:08:06 RUN echo "ros-melodic-catkin: 0.7.19-1bionic.20191008.145018" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin 12:08:06 12:08:06 12:08:06 USER buildfarm 12:08:06 ENTRYPOINT ["sh", "-c"] 12:08:06 CMD ["PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic strands_ui --sourcedeb-dir /tmp/binarydeb"] 12:08:06 Mount the following volumes when running the container: 12:08:06 -v /tmp/ros_buildfarm:/tmp/ros_buildfarm:ro 12:08:06 -v /tmp/binarydeb:/tmp/binarydeb 12:08:06 + echo # END SECTION 12:08:06 # END SECTION11.2. append build timestampHide Details
12:07:58 # BEGIN SUBSECTION: append build timestamp 12:08:00 dpkg-parsechangelog: warning: debian/changelog(l5): found trailer where expected start of change data 12:08:00 LINE: -- Christian Dondrup <cdondrup@lincoln.ac.uk> Wed, 24 Oct 2018 23:00:00 -0000 12:08:00 Invoking 'debchange -v 0.2.1-1bionic.20191120.120800 -p -D bionic -u high -m Append timestamp when binarydeb was built.' in '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:00 debchange: warning: debian/changelog(l5): found trailer where expected start of change data 12:08:00 LINE: -- Christian Dondrup <cdondrup@lincoln.ac.uk> Wed, 24 Oct 2018 23:00:00 -0000 12:08:00 # END SUBSECTION12:08:30 + echo # BEGIN SECTION: Run Dockerfile - build binarydeb12. Build Dockerfile - build binarydebHide Details
12:08:07 # BEGIN SECTION: Build Dockerfile - build binarydeb 12:08:07 + cd /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_build_binarydeb 12:08:07 + python3 -u /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/ros_buildfarm/scripts/misc/docker_pull_baseimage.py 12:08:07 Get base image name from Dockerfile 'Dockerfile': ubuntu:bionic 12:08:07 Check docker base image for updates: docker pull ubuntu:bionic 12:08:09 bionic: Pulling from library/ubuntu 12:08:09 Digest: sha256:1d1c09d1d5e42265dd6e7d35dcc73373f0e1b76da661463f24487ac3dbeb673f 12:08:09 Status: Image is up to date for ubuntu:bionic 12:08:09 + docker build --force-rm -t binarydeb_build.melodic_ubuntu_bionic_amd64_strands_ui . 12:08:09 Sending build context to Docker daemon 20.48 kB Sending build context to Docker daemon 20.48 kB 12:08:09 Step 1 : FROM ubuntu:bionic 12:08:09 ---> 6120d8e09b3f 12:08:09 Step 2 : VOLUME /var/cache/apt/archives 12:08:09 ---> Using cache 12:08:09 ---> b29f905cce33 12:08:09 Step 3 : ENV DEBIAN_FRONTEND noninteractive 12:08:10 ---> Using cache 12:08:10 ---> cd2d1e1fc9d8 12:08:10 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 -lt 3 ]; then sleep 5; else false; fi; done 12:08:10 ---> Using cache 12:08:10 ---> 2cf434bfa57b 12:08:10 Step 5 : RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 12:08:11 ---> Using cache 12:08:11 ---> 38a47bd55e34 12:08:11 Step 6 : RUN locale-gen en_US.UTF-8 12:08:11 ---> Using cache 12:08:11 ---> a498930da307 12:08:11 Step 7 : ENV LANG en_US.UTF-8 12:08:12 ---> Using cache 12:08:12 ---> 1118ba2e1e0c 12:08:12 Step 8 : ENV TZ GMT+00 12:08:12 ---> Using cache 12:08:12 ---> 474f1ddcf34d 12:08:12 Step 9 : RUN useradd -u 1002 -l -m buildfarm 12:08:13 ---> Using cache 12:08:13 ---> 75ab071ab49c 12:08:13 Step 10 : RUN mkdir /tmp/keys 12:08:13 ---> Using cache 12:08:13 ---> 639e36792fe5 12:08:13 Step 11 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y gnupg && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:08:13 ---> Using cache 12:08:13 ---> 2d1b1ddcfc6e 12:08:13 Step 12 : RUN echo "-----BEGIN PGP PU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7atdqpBxOKqhaH0AH3qRicwnuPm\nZ4/mNHYQ0vBffENewujn1bCAz4C1WB66/AXBYF8dpCP42qB5yK7FRNv4JubMmqhK\n7fkD88uu7JVGRYU+temWuJHH4WDxiCmvK8nXacFaZT1NGdTL9/2EukKLguTtZumb\noRWgFqV6WFcEnh/V/Ma51D2+K9QbCWa8Bb6c/wKOd9Ii1aDZABEBAAGJAR8EGAEC\nAAkFAlPzE4sCGwwACgkQ3NdDGK7TmFT2rwf+MzLFPn4Rkko38nctysbXm6qmk34U\nNTtqirOlxg3mWeUCp7VQGU2Rg2msdo764SxCK12OhJqlXGMd2efCoQhYbMOqG6C0\nikBZPkd5BVFuTKsAUiuVoiQd8bDaZSpO2QdE0RdHE/yYfO66pceEKkGlcjkTRFFU\nM7nTm7IQj4BBZclMLPr4fX520ZOVUepxAARMHW5A6EcHXvhXmblZOJM36fOv3T5N\nl9L5tWdt/wybaRE4xuwVSs0n7MyMlWmkQxz8Z6OQscbKmuI4tcYSbvvB5tzjLBwZ\nChb0eEZA5ePvnGofu+3JH48FmCIPveD+4kI9GhtGkCL3Q2PiPiLcSnWQWQ==\n=nFcN\n-----END PGP PUBLIC KEY BLOCK----- \n" > /tmp/keys/0.key && apt-key add /tmp/keys/0.key 12:08:14 ---> Using cache 12:08:14 ---> 804c353569ef 12:08:14 Step 13 : RUN echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: SKS 1.1.6\nComment: Hostname: keyserver.ubuntu.com\n\nmQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jcVFrQhE0L\n/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3trou5oCR+SyHN9xPnUw\nDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4K/AY0jzT6OpHfXU6ytlFsI47\nZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rGaIoAWlx2H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j5NC01V0fJ8P0v6GO9YOSSQx0j5UtkUbRfp/4W7uCPFvwAatWEHJhlM3s\nQNiMNStJFegr56xQu1a/cbJH7GdbseMhG/f0BaKQqXCI3ffB5y5AOLc9Hw7PYiTFQsuY1ePR\nhE+J9mejgWRZxkjAH/FlAubqXkDgterCh+sLkzGf+my2IbsMCuc+3aeNMJ5Ej/vlXefCH/Mp\nPWAHCqpQhe2DET/jRSaM53USAHNx8kw4MPUkxExgI7Sd\n=4Ofr\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/keys/1.key && apt-key add /tmp/keys/1.key 12:08:15 ---> Using cache 12:08:15 ---> fac92929fa2b 12:08:15 Step 14 : RUN echo deb http://10.210.9.154/ubuntu/building bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:08:15 ---> Using cache 12:08:15 ---> 7202cfa3034e 12:08:15 Step 15 : RUN echo deb http://packages.ros.org/ros/ubuntu bionic main | tee -a /etc/apt/sources.list.d/buildfarm.list 12:08:15 ---> Using cache 12:08:15 ---> e23035c489df 12:08:15 Step 16 : RUN grep -q -F -e "deb http://old-releases.ubuntu.com" /etc/apt/sources.list && ((grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://old-releases\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z]+)*" /etc/apt/sources.list || echo "deb-src http://old-releases.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) || ((grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-updates ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list) && (grep -q -E -x -e "deb-src http://archive\.ubuntu\.com/ubuntu/? bionic-security ([-a-z]+ )*multiverse( [-a-z])*" /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu/ bionic-security multiverse" >> /etc/apt/sources.list)) 12:08:16 ---> Using cache 12:08:16 ---> 9dd4e3d915d8 12:08:16 Step 17 : RUN mkdir /tmp/wrapper_scripts 12:08:16 ---> Using cache 12:08:16 ---> 2f4893eae95c 12:08:16 Step 18 : RUN echo "#!/usr/bin/env python3\n\n# Copyright 2014-2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Failed to fetch',\n '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 12:08:17 ---> Using cache 12:08:17 ---> d1c620d0aa11 12:08:17 Step 19 : RUN echo "#!/usr/bin/env python3\n\n# Copyright 2016 Open Source Robotics Foundation, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport subprocess\nimport sys\nfrom time import sleep\n\n\ndef main(argv=sys.argv[1:]):\n max_tries = 10\n known_error_strings = [\n 'Connection timed out',\n ]\n\n command = argv[0]\n if command == 'clone':\n rc, _, _ = call_git_repeatedly(\n argv, known_error_strings, max_tries)\n return rc\n else:\n assert \"Command '%s' not implemented\" % command\n\n\ndef call_git_repeatedly(argv, known_error_strings, max_tries):\n command = argv[0]\n for i in range(1, max_tries + 1):\n if i > 1:\n sleep_time = 5 + 2 * i\n print(\"Reinvoke 'git %s' (%d/%d) after sleeping %s seconds\" %\n (command, i, max_tries, sleep_time))\n sleep(sleep_time)\n rc, known_error_conditions = call_git(argv, known_error_strings)\n if rc == 0 or not known_error_conditions:\n break\n print('')\n print('Invocation failed due to the following known error conditions: '\n ', '.join(known_error_conditions))\n print('')\n # retry in case of failure with known error condition\n return rc, known_error_conditions, i\n\n\ndef call_git(argv, known_error_strings):\n known_error_conditions = []\n\n cmd = ['git'] + argv\n print(\"Invoking '%s'\" % ' '.join(cmd))\n proc = subprocess.Popen(\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n while True:\n line = proc.stdout.readline()\n if not line:\n break\n line = line.decode()\n sys.stdout.write(line)\n for known_error_string in known_error_strings:\n if known_error_string in line:\n if known_error_string not in known_error_conditions:\n known_error_conditions.append(known_error_string)\n proc.wait()\n rc = proc.returncode\n return rc, known_error_conditions\n\n\nif __name__ == '__main__':\n sys.exit(main())" > /tmp/wrapper_scripts/git.py 12:08:17 ---> Using cache 12:08:17 ---> a3ea6c440e83 12:08:17 Step 20 : RUN echo "2019-11-20 (+0000)" 12:08:18 ---> Using cache 12:08:18 ---> 62d0e556bdb9 12:08:18 Step 21 : RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3 && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done 12:08:19 ---> Using cache 12:08:19 ---> 79394fe6dbc2 12:08:19 Step 22 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y dh-python 12:08:19 ---> Using cache 12:08:19 ---> 7ed8eca0cf37 12:08:19 Step 23 : RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y ccache gcc build-essential 12:08:20 ---> Using cache 12:08:20 ---> 2fb88fee0abf 12:08:20 Step 24 : RUN echo "apt-src: 0.25.2" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes apt-src 12:08:21 ---> Using cache 12:08:21 ---> c00f506c111e 12:08:21 Step 25 : RUN echo "debhelper: 12.1.1ubuntu1~ubuntu18.04.1" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes debhelper 12:08:21 ---> Using cache 12:08:21 ---> 2406a1b4efae 12:08:21 Step 26 : RUN echo "ros-melodic-catkin: 0.7.19-1bionic.20191008.145018" && python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes ros-melodic-catkin 12:08:22 ---> Using cache 12:08:22 ---> 0bf1a1c818a0 12:08:22 Step 27 : USER buildfarm 12:08:23 ---> Running in b8e719c20768 12:08:29 ---> e1ba10ce5e21 12:08:29 Removing intermediate container b8e719c20768 12:08:29 Step 28 : ENTRYPOINT sh -c 12:08:29 ---> Running in 058c29236ecb 12:08:29 ---> d1a5af241316 12:08:29 Removing intermediate container 058c29236ecb 12:08:29 Step 29 : CMD PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH PATH=/usr/lib/ccache:$PATH python3 -u /tmp/ros_buildfarm/scripts/release/build_binarydeb.py melodic strands_ui --sourcedeb-dir /tmp/binarydeb 12:08:30 ---> Running in 84bb3a40b56c 12:08:30 ---> 2b4a101528a3 12:08:30 Removing intermediate container 84bb3a40b56c 12:08:30 Successfully built 2b4a101528a3 12:08:30 + echo # END SECTION 12:08:30 # END SECTION12:08:55 [Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary] $ /bin/sh -xe /tmp/hudson2742308754182295834.sh 12:08:55 + [ false = false ] 12:08:55 + echo # BEGIN SECTION: Clean up to save disk space on agents13. Run Dockerfile - build binarydebHide Details
12:08:30 # BEGIN SECTION: Run Dockerfile - build binarydeb 12:08:30 + docker run --rm --cidfile=/home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/docker_build_binarydeb/docker.cid -e=HOME= -e=TRAVIS= --net=host -v /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/binarydeb:/tmp/binarydeb -v /home/jenkins-slave/.ccache:/home/buildfarm/.ccache binarydeb_build.melodic_ubuntu_bionic_amd64_strands_ui12:08:55 + echo # END SECTION 12:08:55 # END SECTION13.1. build binarydebHide Details
12:08:34 # BEGIN SUBSECTION: build binarydeb 12:08:34 Package 'ros-melodic-strands-ui' version: 0.2.1-1bionic.20191120.120800 12:08:36 Invoking 'apt-src build ros-melodic-strands-ui' in '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:39 I: Building in /tmp/binarydeb/ros-melodic-strands-ui-0.2.1 .. 12:08:39 dpkg-buildpackage: info: source package ros-melodic-strands-ui 12:08:39 dpkg-buildpackage: info: source version 0.2.1-1bionic.20191120.120800 12:08:39 dpkg-buildpackage: info: source distribution bionic 12:08:39 dpkg-buildpackage: info: source changed by Christian Dondrup <cdondrup@lincoln.ac.uk> 12:08:39 dpkg-source --before-build ros-melodic-strands-ui-0.2.1 12:08:39 dpkg-buildpackage: info: host architecture amd64 12:08:39 dpkg-source: info: using options from ros-melodic-strands-ui-0.2.1/debian/source/options: --auto-commit 12:08:39 fakeroot debian/rules clean 12:08:40 dh clean -v --buildsystem=cmake 12:08:40 dh_testdir -O-v -O--buildsystem=cmake 12:08:40 dh_auto_clean -O-v -O--buildsystem=cmake 12:08:41 dh_clean -O-v -O--buildsystem=cmake 12:08:41 rm -f debian/debhelper-build-stamp 12:08:41 rm -rf debian/.debhelper/ 12:08:41 rm -f -- debian/ros-melodic-strands-ui.substvars debian/files 12:08:41 rm -fr -- debian/ros-melodic-strands-ui/ debian/tmp/ 12:08:41 find . \( \( \ 12:08:41 \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ 12:08:41 \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ 12:08:41 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ 12:08:41 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ 12:08:41 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ 12:08:41 \) -exec rm -f {} + \) -o \ 12:08:41 \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) 12:08:41 debian/rules build 12:08:41 dh build -v --buildsystem=cmake 12:08:41 dh_testdir -O-v -O--buildsystem=cmake 12:08:41 dh_update_autotools_config -O-v -O--buildsystem=cmake 12:08:41 debian/rules override_dh_auto_configure 12:08:41 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:41 # In case we're installing to a non-standard location, look for a setup.sh 12:08:41 # in the install tree that was dropped by catkin, and source it. It will 12:08:41 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 12:08:41 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 12:08:41 dh_auto_configure -- \ 12:08:41 -DCATKIN_BUILD_BINARY_PACKAGE="1" \ 12:08:41 -DCMAKE_INSTALL_PREFIX="/opt/ros/melodic" \ 12:08:41 -DCMAKE_PREFIX_PATH="/opt/ros/melodic" 12:08:42 install -d obj-x86_64-linux-gnu 12:08:42 cd obj-x86_64-linux-gnu && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCATKIN_BUILD_BINARY_PACKAGE=1 -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic -DCMAKE_PREFIX_PATH=/opt/ros/melodic 12:08:43 -- The C compiler identification is GNU 7.4.0 12:08:43 -- The CXX compiler identification is GNU 7.4.0 12:08:43 -- Check for working C compiler: /usr/bin/cc 12:08:43 -- Check for working C compiler: /usr/bin/cc -- works 12:08:43 -- Detecting C compiler ABI info 12:08:43 -- Detecting C compiler ABI info - done 12:08:43 -- Detecting C compile features 12:08:44 -- Detecting C compile features - done 12:08:44 -- Check for working CXX compiler: /usr/bin/c++ 12:08:44 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:08:44 -- Detecting CXX compiler ABI info 12:08:45 -- Detecting CXX compiler ABI info - done 12:08:45 -- Detecting CXX compile features 12:08:45 -- Detecting CXX compile features - done 12:08:46 -- Using CATKIN_DEVEL_PREFIX: /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu/devel 12:08:46 -- Using CMAKE_PREFIX_PATH: /opt/ros/melodic 12:08:46 -- This workspace overlays: /opt/ros/melodic 12:08:46 -- Found PythonInterp: /usr/bin/python (found version "2.7.15") 12:08:46 -- Using PYTHON_EXECUTABLE: /usr/bin/python 12:08:46 -- Using Debian Python package layout 12:08:46 -- Using empy: /usr/bin/empy 12:08:46 -- Using CATKIN_ENABLE_TESTING: ON 12:08:46 -- Skip enable_testing() when building binary package 12:08:46 -- Using CATKIN_TEST_RESULTS_DIR: /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu/test_results 12:08:46 -- Found gtest sources under '/usr/src/googletest': gtests will be built 12:08:46 -- Found gmock sources under '/usr/src/googletest': gmock will be built 12:08:46 -- Looking for pthread.h 12:08:46 -- Looking for pthread.h - found 12:08:46 -- Looking for pthread_create 12:08:46 -- Looking for pthread_create - not found 12:08:46 -- Looking for pthread_create in pthreads 12:08:47 -- Looking for pthread_create in pthreads - not found 12:08:47 -- Looking for pthread_create in pthread 12:08:47 -- Looking for pthread_create in pthread - found 12:08:47 -- Found Threads: TRUE 12:08:47 -- Using Python nosetests: /usr/bin/nosetests-2.7 12:08:47 -- catkin 0.7.19 12:08:47 -- BUILD_SHARED_LIBS is on 12:08:48 -- Configuring done 12:08:48 -- Generating done 12:08:48 CMake Warning: 12:08:48 Manually-specified variables were not used by the project: 12:08:48 12:08:48 CMAKE_EXPORT_NO_PACKAGE_REGISTRY 12:08:48 CMAKE_INSTALL_LOCALSTATEDIR 12:08:48 CMAKE_INSTALL_SYSCONFDIR 12:08:48 12:08:48 12:08:48 -- Build files have been written to: /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu 12:08:48 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:48 debian/rules override_dh_auto_build 12:08:48 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:48 # In case we're installing to a non-standard location, look for a setup.sh 12:08:48 # in the install tree that was dropped by catkin, and source it. It will 12:08:48 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 12:08:48 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 12:08:48 dh_auto_build 12:08:48 cd obj-x86_64-linux-gnu && make -j1 12:08:48 make[2]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:48 /usr/bin/cmake -H/tmp/binarydeb/ros-melodic-strands-ui-0.2.1 -B/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 12:08:48 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu/CMakeFiles/progress.marks 12:08:48 make -f CMakeFiles/Makefile2 all 12:08:48 make[3]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:48 make[3]: Nothing to be done for 'all'. 12:08:48 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:48 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu/CMakeFiles 0 12:08:48 make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:48 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:48 debian/rules override_dh_auto_test 12:08:48 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:48 # In case we're installing to a non-standard location, look for a setup.sh 12:08:48 # in the install tree that was dropped by catkin, and source it. It will 12:08:48 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 12:08:48 echo -- Running tests. Even if one of them fails the build is not canceled. 12:08:48 -- Running tests. Even if one of them fails the build is not canceled. 12:08:48 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 12:08:48 dh_auto_test || true 12:08:48 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:48 fakeroot debian/rules binary 12:08:48 dh binary -v --buildsystem=cmake 12:08:48 dh_testroot -O-v -O--buildsystem=cmake 12:08:49 dh_prep -O-v -O--buildsystem=cmake 12:08:49 rm -f -- debian/ros-melodic-strands-ui.substvars 12:08:49 rm -fr -- debian/.debhelper/generated/ros-melodic-strands-ui/ debian/ros-melodic-strands-ui/ debian/tmp/ 12:08:49 dh_installdirs -O-v -O--buildsystem=cmake 12:08:49 install -d debian/ros-melodic-strands-ui 12:08:49 debian/rules override_dh_auto_install 12:08:49 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:49 # In case we're installing to a non-standard location, look for a setup.sh 12:08:49 # in the install tree that was dropped by catkin, and source it. It will 12:08:49 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 12:08:49 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 12:08:49 dh_auto_install 12:08:50 cd obj-x86_64-linux-gnu && make -j1 install DESTDIR=/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/debian/ros-melodic-strands-ui AM_UPDATE_INFO_DIR=no 12:08:50 make[2]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:50 /usr/bin/cmake -H/tmp/binarydeb/ros-melodic-strands-ui-0.2.1 -B/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 12:08:50 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu/CMakeFiles /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu/CMakeFiles/progress.marks 12:08:50 make -f CMakeFiles/Makefile2 all 12:08:50 make[3]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:50 make[3]: Nothing to be done for 'all'. 12:08:50 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:50 /usr/bin/cmake -E cmake_progress_start /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu/CMakeFiles 0 12:08:50 make -f CMakeFiles/Makefile2 preinstall 12:08:50 make[3]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:50 make[3]: Nothing to be done for 'preinstall'. 12:08:50 make[3]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:50 Install the project... 12:08:50 /usr/bin/cmake -P cmake_install.cmake 12:08:50 -- Install configuration: "None" 12:08:50 -- Installing: /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/debian/ros-melodic-strands-ui/opt/ros/melodic/lib/pkgconfig/strands_ui.pc 12:08:50 -- Installing: /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/debian/ros-melodic-strands-ui/opt/ros/melodic/share/strands_ui/cmake/strands_uiConfig.cmake 12:08:50 -- Installing: /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/debian/ros-melodic-strands-ui/opt/ros/melodic/share/strands_ui/cmake/strands_uiConfig-version.cmake 12:08:50 -- Installing: /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/debian/ros-melodic-strands-ui/opt/ros/melodic/share/strands_ui/package.xml 12:08:50 -- Installing: /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/debian/ros-melodic-strands-ui/opt/ros/melodic/share/strands_ui/launch 12:08:50 -- Installing: /tmp/binarydeb/ros-melodic-strands-ui-0.2.1/debian/ros-melodic-strands-ui/opt/ros/melodic/share/strands_ui/launch/strands_ui.launch 12:08:50 make[2]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu' 12:08:50 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:50 dh_install -O-v -O--buildsystem=cmake 12:08:50 install -d debian/.debhelper/generated/ros-melodic-strands-ui 12:08:50 dh_installdocs -O-v -O--buildsystem=cmake 12:08:50 install -d debian/ros-melodic-strands-ui/usr/share/doc/ros-melodic-strands-ui 12:08:50 dh_installchangelogs -O-v -O--buildsystem=cmake 12:08:50 install -p -m0644 debian/changelog debian/ros-melodic-strands-ui/usr/share/doc/ros-melodic-strands-ui/changelog.Debian 12:08:50 dh_installexamples -O-v -O--buildsystem=cmake 12:08:51 dh_installman -O-v -O--buildsystem=cmake 12:08:51 dh_installcatalogs -O-v -O--buildsystem=cmake 12:08:51 dh_installcron -O-v -O--buildsystem=cmake 12:08:51 dh_installdebconf -O-v -O--buildsystem=cmake 12:08:51 install -d debian/ros-melodic-strands-ui/DEBIAN 12:08:51 dh_installemacsen -O-v -O--buildsystem=cmake 12:08:51 dh_installifupdown -O-v -O--buildsystem=cmake 12:08:51 dh_installinfo -O-v -O--buildsystem=cmake 12:08:51 dh_installinit -O-v -O--buildsystem=cmake 12:08:51 dh_installmenu -O-v -O--buildsystem=cmake 12:08:51 dh_installmime -O-v -O--buildsystem=cmake 12:08:51 dh_installmodules -O-v -O--buildsystem=cmake 12:08:52 dh_installlogcheck -O-v -O--buildsystem=cmake 12:08:52 dh_installlogrotate -O-v -O--buildsystem=cmake 12:08:52 dh_installpam -O-v -O--buildsystem=cmake 12:08:52 dh_installppp -O-v -O--buildsystem=cmake 12:08:52 dh_installudev -O-v -O--buildsystem=cmake 12:08:52 dh_installgsettings -O-v -O--buildsystem=cmake 12:08:52 dh_bugfiles -O-v -O--buildsystem=cmake 12:08:52 dh_ucf -O-v -O--buildsystem=cmake 12:08:52 dh_lintian -O-v -O--buildsystem=cmake 12:08:52 dh_gconf -O-v -O--buildsystem=cmake 12:08:52 dh_icons -O-v -O--buildsystem=cmake 12:08:52 dh_perl -O-v -O--buildsystem=cmake 12:08:52 dh_usrlocal -O-v -O--buildsystem=cmake 12:08:52 dh_link -O-v -O--buildsystem=cmake 12:08:52 dh_installwm -O-v -O--buildsystem=cmake 12:08:52 dh_installxfonts -O-v -O--buildsystem=cmake 12:08:53 dh_strip_nondeterminism -O-v -O--buildsystem=cmake 12:08:53 dh_compress -O-v -O--buildsystem=cmake 12:08:53 cd debian/ros-melodic-strands-ui 12:08:53 chmod a-x usr/share/doc/ros-melodic-strands-ui/changelog.Debian 12:08:53 gzip -9nf usr/share/doc/ros-melodic-strands-ui/changelog.Debian 12:08:53 cd '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:53 dh_fixperms -O-v -O--buildsystem=cmake 12:08:53 find debian/ros-melodic-strands-ui -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 12:08:53 find debian/ros-melodic-strands-ui ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s 12:08:53 find debian/ros-melodic-strands-ui/usr/share/doc -type f -a -true -a ! -regex 'debian/ros-melodic-strands-ui/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 12:08:53 find debian/ros-melodic-strands-ui/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 12:08:53 find debian/ros-melodic-strands-ui -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 12:08:53 dh_missing -O-v -O--buildsystem=cmake 12:08:53 dh_strip -O-v -O--buildsystem=cmake 12:08:53 dh_makeshlibs -O-v -O--buildsystem=cmake 12:08:53 rm -f debian/ros-melodic-strands-ui/DEBIAN/shlibs 12:08:53 debian/rules override_dh_shlibdeps 12:08:53 make[1]: Entering directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:53 # In case we're installing to a non-standard location, look for a setup.sh 12:08:53 # in the install tree that was dropped by catkin, and source it. It will 12:08:53 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. 12:08:53 if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \ 12:08:53 dh_shlibdeps -l/tmp/binarydeb/ros-melodic-strands-ui-0.2.1/debian/ros-melodic-strands-ui//opt/ros/melodic/lib/ 12:08:53 make[1]: Leaving directory '/tmp/binarydeb/ros-melodic-strands-ui-0.2.1' 12:08:53 dh_installdeb -O-v -O--buildsystem=cmake 12:08:53 dh_gencontrol -O-v -O--buildsystem=cmake 12:08:54 echo misc:Depends= >> debian/ros-melodic-strands-ui.substvars 12:08:54 echo misc:Pre-Depends= >> debian/ros-melodic-strands-ui.substvars 12:08:54 dpkg-gencontrol -pros-melodic-strands-ui -ldebian/changelog -Tdebian/ros-melodic-strands-ui.substvars -Pdebian/ros-melodic-strands-ui -UMulti-Arch 12:08:54 dpkg-gencontrol: warning: Depends field of package ros-melodic-strands-ui: unknown substitution variable ${shlibs:Depends} 12:08:54 chmod 0644 -- debian/ros-melodic-strands-ui/DEBIAN/control 12:08:54 chown 0:0 -- debian/ros-melodic-strands-ui/DEBIAN/control 12:08:54 dh_md5sums -O-v -O--buildsystem=cmake 12:08:54 (cd debian/ros-melodic-strands-ui >/dev/null ; find . -type f ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums) >/dev/null 12:08:54 chmod 0644 -- debian/ros-melodic-strands-ui/DEBIAN/md5sums 12:08:54 chown 0:0 -- debian/ros-melodic-strands-ui/DEBIAN/md5sums 12:08:54 dh_builddeb -O-v -O--buildsystem=cmake 12:08:54 dpkg-deb --build debian/ros-melodic-strands-ui .. 12:08:54 dpkg-deb: building package 'ros-melodic-strands-ui' in '../ros-melodic-strands-ui_0.2.1-1bionic.20191120.120800_amd64.deb'. 12:08:54 dpkg-genbuildinfo --build=binary 12:08:54 dpkg-genbuildinfo: warning: debian/changelog(l11): found trailer where expected start of change data 12:08:54 LINE: -- Christian Dondrup <cdondrup@lincoln.ac.uk> Wed, 24 Oct 2018 23:00:00 -0000 12:08:54 dpkg-genchanges --build=binary >../ros-melodic-strands-ui_0.2.1-1bionic.20191120.120800_amd64.changes 12:08:54 dpkg-genchanges: warning: debian/changelog(l11): found trailer where expected start of change data 12:08:54 LINE: -- Christian Dondrup <cdondrup@lincoln.ac.uk> Wed, 24 Oct 2018 23:00:00 -0000 12:08:54 dpkg-genchanges: info: binary-only upload (no source code included) 12:08:54 dpkg-source --after-build ros-melodic-strands-ui-0.2.1 12:08:55 dpkg-source: info: using options from ros-melodic-strands-ui-0.2.1/debian/source/options: --auto-commit 12:08:55 dpkg-buildpackage: info: binary-only upload (no source included) 12:08:55 I: Successfully built in /tmp/binarydeb/ros-melodic-strands-ui-0.2.1 12:08:55 # END SUBSECTION12:08:55 SSH: Connecting from host [lcas-buildfarm-slave-2] 12:08:55 SSH: Connecting with configuration [repo] ... 12:08:56 SSH: Disconnecting configuration [repo] ... 12:08:56 SSH: Transferred 2 file(s) 12:08:56 Build step 'Send files or execute commands over SSH' changed build result to SUCCESS 12:08:56 Waiting for the completion of Mrel_import-package 12:09:04 Mrel_import-package #102 completed. Result was SUCCESS 12:09:04 $ ssh-agent -k 12:09:04 unset SSH_AUTH_SOCK; 12:09:04 unset SSH_AGENT_PID; 12:09:04 echo Agent pid 13293 killed; 12:09:04 [ssh-agent] Stopped. 12:09:04 [description-setter] Description set: 0.2.1-1bionic.20191120.120800 12:09:04 Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered 12:09:04 Triggering a new build of Mrel_sync-packages-to-testing_bionic_amd64 12:09:04 Finished: SUCCESS14. Clean up to save disk space on agentsHide Details
12:08:55 # BEGIN SECTION: Clean up to save disk space on agents 12:08:55 + chmod -R u+w /home/jenkins-slave/workspace/Mbin_uB64__strands_ui__ubuntu_bionic_amd64__binary/binarydeb 12:08:55 + rm -fr binarydeb/ros-melodic-strands-ui-0.2.1/CHANGELOG.rst binarydeb/ros-melodic-strands-ui-0.2.1/CMakeLists.txt binarydeb/ros-melodic-strands-ui-0.2.1/debian binarydeb/ros-melodic-strands-ui-0.2.1/launch binarydeb/ros-melodic-strands-ui-0.2.1/obj-x86_64-linux-gnu binarydeb/ros-melodic-strands-ui-0.2.1/package.xml 12:08:55 + echo # END SECTION 12:08:55 # END SECTION