tavis

fail at run clone process

Nov 8th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.82 KB | None | 0 0
  1. TASK [repo_build : include] ****************************************************
  2. task path: /etc/ansible/roles/repo_build/tasks/repo_build_install.yml:22
  3. <aio1_repo_container-52f8e1b6> Task "" has been omitted from the job because the conditional "[u"ansible_pkg_mgr == 'yum'"]" was evaluated as "False"
  4.  
  5. TASK [repo_build : Create clone process script] ********************************
  6. task path: /etc/ansible/roles/repo_build/tasks/repo_clone_git.yml:16
  7. container_name: "aio1_repo_container-52f8e1b6"
  8. physical_hostname: "aio1"
  9. Container confirmed
  10. container_name: "aio1_repo_container-52f8e1b6"
  11. physical_hostname: "aio1"
  12. Container confirmed
  13. <172.29.236.100> ESTABLISH SSH CONNECTION FOR USER: root
  14. <172.29.236.100> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.29.236.100 'lxc-attach --name aio1_repo_container-52f8e1b6 -- /bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478652922.38-32647679205678 `" && echo ansible-tmp-1478652922.38-32647679205678="` echo $HOME/.ansible/tmp/ansible-tmp-1478652922.38-32647679205678 `" ) && sleep 0'"'"''
  15. container_name: "aio1_repo_container-52f8e1b6"
  16. physical_hostname: "aio1"
  17. Container confirmed
  18. <172.29.236.100> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.29.236.100 'lxc-info --name aio1_repo_container-52f8e1b6 --pid | awk '"'"'/PID:/ {print $2}'"'"''
  19. The path has been padded with the following to support a container rootfs: [ /proc/24478/root/root/.ansible/tmp/ansible-tmp-1478652922.38-32647679205678/stat ]
  20. <172.29.236.100> PUT /tmp/tmpcCtejz TO /proc/24478/root/root/.ansible/tmp/ansible-tmp-1478652922.38-32647679205678/stat
  21. <172.29.236.100> SSH: EXEC sftp -b - -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r '[172.29.236.100]'
  22. container_name: "aio1_repo_container-52f8e1b6"
  23. physical_hostname: "aio1"
  24. Container confirmed
  25. <172.29.236.100> ESTABLISH SSH CONNECTION FOR USER: root
  26. <172.29.236.100> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.29.236.100 'lxc-attach --name aio1_repo_container-52f8e1b6 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
  27. container_name: "aio1_repo_container-52f8e1b6"
  28. physical_hostname: "aio1"
  29. Container confirmed
  30. <172.29.236.100> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.29.236.100 'lxc-info --name aio1_repo_container-52f8e1b6 --pid | awk '"'"'/PID:/ {print $2}'"'"''
  31. The path has been padded with the following to support a container rootfs: [ /proc/24478/root/root/.ansible/tmp/ansible-tmp-1478652922.38-32647679205678/file ]
  32. <172.29.236.100> PUT /tmp/tmp6evZAE TO /proc/24478/root/root/.ansible/tmp/ansible-tmp-1478652922.38-32647679205678/file
  33. <172.29.236.100> SSH: EXEC sftp -b - -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r '[172.29.236.100]'
  34. container_name: "aio1_repo_container-52f8e1b6"
  35. physical_hostname: "aio1"
  36. Container confirmed
  37. <172.29.236.100> ESTABLISH SSH CONNECTION FOR USER: root
  38. <172.29.236.100> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.29.236.100 'lxc-attach --name aio1_repo_container-52f8e1b6 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
  39. container_name: "aio1_repo_container-52f8e1b6"
  40. physical_hostname: "aio1"
  41. Container confirmed
  42. <172.29.236.100> ESTABLISH SSH CONNECTION FOR USER: root
  43. <172.29.236.100> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.29.236.100 'lxc-attach --name aio1_repo_container-52f8e1b6 -- /bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1478652922.38-32647679205678/ > /dev/null 2>&1 && sleep 0'"'"''
  44. ok: [aio1_repo_container-52f8e1b6] => {"changed": false, "diff": {"after": {"path": "/opt/op-clone-script.sh"}, "before": {"path": "/opt/op-clone-script.sh"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "dest": "/opt/op-clone-script.sh", "diff_peek": null, "directory_mode": null, "follow": true, "force": false, "group": null, "mode": null, "original_basename": "op-clone-script.sh.j2", "owner": null, "path": "/opt/op-clone-script.sh", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": null, "validate": null}}, "mode": "0644", "owner": "root", "path": "/opt/op-clone-script.sh", "size": 9247, "state": "file", "uid": 0}
  45.  
  46. TASK [repo_build : Run clone process script] ***********************************
  47. task path: /etc/ansible/roles/repo_build/tasks/repo_clone_git.yml:23
  48. container_name: "aio1_repo_container-52f8e1b6"
  49. physical_hostname: "aio1"
  50. Container confirmed
  51. container_name: "aio1_repo_container-52f8e1b6"
  52. physical_hostname: "aio1"
  53. Container confirmed
  54. <172.29.236.100> ESTABLISH SSH CONNECTION FOR USER: root
  55. <172.29.236.100> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.29.236.100 'lxc-attach --name aio1_repo_container-52f8e1b6 -- /bin/sh -c '"'"'sudo -H -S -n -u nginx /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-nqwzvkmtlfqzrkttobrmnwlttmqoakhg; LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  56. fatal: [aio1_repo_container-52f8e1b6]: FAILED! => {"changed": true, "cmd": "bash /opt/op-clone-script.sh", "delta": "0:00:01.930412", "end": "2016-11-09 00:55:25.198220", "failed": true, "invocation": {"module_args": {"_raw_params": "bash /opt/op-clone-script.sh", "_uses_shell": true, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 99, "start": "2016-11-09 00:55:23.267808", "stderr": "\n# Clone a git repository / Update git repository.\nfunction git_clone {\n repo=\"$1\"\n dest=\"$2\"\n version=\"$3\"\n\n # If the git repository directory is locally found the function will ensure\n # the origin remote matches the expected URL. If the remote URL does not\n # match then it will be set to the expected value.\n # Once the remotes are satisfied all refs will be fetched.\n if [ -d \"$dest/.git\" ];then\n pushd $dest\n if ! git remote -v | grep -q \"^origin\"; then\n git remote add origin \"${repo}\"\n elif ! git remote -v | grep -q \"^origin.* ${repo}\"; then\n git remote set-url origin \"${repo}\"\n fi\n if [ \"${version}\" == \"master\" ]; then\n # For the version 'master', always do a fetch\n git fetch --all\n elif ! git checkout ${version}; then\n # Only do a fetch if the repo doesn't have the version we need\n git fetch --all\n fi\n git clean -f -d\n git gc --auto\n popd\n\n # If the local target directory is not a valid git repository it will be removed and cloned.\n elif [ -d \"$dest\" ];then\n rm -rf \"$dest\"\n git clone \"$repo\" \"$dest\"\n else # If the local target directory does not exist it will be cloned.\n git clone \"$repo\" \"$dest\"\n fi\n\n # The version passed to the function will be checked out.\n pushd \"$dest\"\n git checkout $version\n popd\n}\n\nif [ -f /etc/environment ]; then\n source /etc/environment\nfi\nPATH=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games\"\n\nPID=()\n# Run the git clone. This will loop over all of the package parts and clone all known repositories.\n# Clone ops are done in parallel at a count of the known \"ansible_processor_count\" or using a default of 5.\ngit_clone \"https://git.openstack.org/openstack/aodh\" \"/var/www/repo/openstackgit/aodh\" \"bb5103e567de04fae62dd10380739455712a7b3c\" &\npid[1]=$!\n# Clone ops are done in parallel at a count of the known \"ansible_processor_count\" or using a default of 5.\ngit_clone \"https://github.com/projectcalico/calico\" \"/var/www/repo/openstackgit/calico\" \"1.4.0\" &\npid[2]=$!\n# Clone ops are done in parallel at a count of the known \"ansible_processor_count\" or using a default of 5.\ngit_clone \"https://git.openstack.org/openstack/ceilometer\" \"/var/www/repo/openstackgit/ceilometer\" \"a3931b08f633908eb65cb2705afa465bed3fbbb5\" &\npid[3]=$!\n# Clone ops are done in parallel at a count of the known \"ansible_processor_count\" or using a default of 5.\ngit_clone \"https://git.openstack.org/openstack/cinder\" \"/var/www/repo/openstackgit/cinder\" \"17fb94499d0e2ff6a751212aece7479b7cc26abc\" &\npid[4]=$!\n# Clone ops are done in parallel at a count of the known \"ansible_processor_count\" or using a default of 5.\ngit_clone \"https://git.openstack.org/openstack/glance\" \"/var/www/repo/openstackgit/glance\" \"e32be7e0b3dd430529d6423266f518b8c7f5d80a\" &\npid[5]=$!\n# Clone ops are done in parallel at a count of the known \"ansible_processor_count\" or using a default of 5.\ngit_clone \"https://git.openstack.org/openstack/gnocchi\" \"/var/www/repo/openstackgit/gnocchi\" \"c6b2c5185c67038545759aef067198207756bad0\" &\npid[6]=$!\n# Clone ops are done in parallel at a count of the known \"ansible_processor_count\" or using a default of 5.\ngit_clone \"https://git.openstack.org/openstack/heat\" \"/var/www/repo/openstackgit/heat\" \"dd707bc997715365dc76a3decea7b4f8d658375f\" &\npid[7]=$!\n# Clone ops are done in parallel at a count of the known \"ansible_processor_count\" or using a default of 5.\ngit_clone \"https://git.openstack.org/openstack/horizon\" \"/var/www/repo/openstackgit/horizon\" \"d9c214eb57adb445eb4b19d0b4355188200377a2\" &\npid[8]=$!\nfor job_pid in ${!pid[@]}; do\n wait ${pid[$job_pid]} || exit 99\ndone\nerror: pathspec '1.4.0' did not match any file(s) known to git.\nHEAD is now at bb5103e... Update .gitreview for stable/newton\nHEAD is now at a3931b0... gabbi: set panko_is_disabled to avoid relying on Keystone autodiscovery\nHEAD is now at 17fb944... Merge \"XtremIO: fix migration bug\" into stable/newton\nHEAD is now at dd707bc... Merge \"Increase the timeout for the stop_stack message\" into stable/newton\nHEAD is now at c6b2c51... Update .gitreview for stable/3.0\nHEAD is now at bb5103e... Update .gitreview for stable/newton\nHEAD is now at e32be7e... Imported Translations from Zanata\nHEAD is now at c6b2c51... Update .gitreview for stable/3.0\nHEAD is now at a3931b0... gabbi: set panko_is_disabled to avoid relying on Keystone autodiscovery\nHEAD is now at e32be7e... Imported Translations from Zanata\nHEAD is now at dd707bc... Merge \"Increase the timeout for the stop_stack message\" into stable/newton\nHEAD is now at 17fb944... Merge \"XtremIO: fix migration bug\" into stable/newton\nHEAD is now at d9c214e... Imported Translations from Zanata\nHEAD is now at d9c214e... Imported Translations from Zanata\nerror: pathspec '1.4.0' did not match any file(s) known to git.", "stdout": "~/repo/openstackgit/aodh ~\n~/repo/openstackgit/calico ~\n~/repo/openstackgit/glance ~\n~/repo/openstackgit/ceilometer ~\n~/repo/openstackgit/gnocchi ~\n~/repo/openstackgit/cinder ~\n~/repo/openstackgit/heat ~\n~/repo/openstackgit/horizon ~\nFetching origin\n~\n~/repo/openstackgit/aodh ~\n~\n~\n~/repo/openstackgit/ceilometer ~\n~\n~/repo/openstackgit/gnocchi ~\n~\n~\n~/repo/openstackgit/cinder ~\n~\n~/repo/openstackgit/heat ~\n~\n~/repo/openstackgit/glance ~\n~\n~\n~\n~\n~\n~/repo/openstackgit/horizon ~\n~\n~\n~/repo/openstackgit/calico ~", "stdout_lines": ["~/repo/openstackgit/aodh ~", "~/repo/openstackgit/calico ~", "~/repo/openstackgit/glance ~", "~/repo/openstackgit/ceilometer ~", "~/repo/openstackgit/gnocchi ~", "~/repo/openstackgit/cinder ~", "~/repo/openstackgit/heat ~", "~/repo/openstackgit/horizon ~", "Fetching origin", "~", "~/repo/openstackgit/aodh ~", "~", "~", "~/repo/openstackgit/ceilometer ~", "~", "~/repo/openstackgit/gnocchi ~", "~", "~", "~/repo/openstackgit/cinder ~", "~", "~/repo/openstackgit/heat ~", "~", "~/repo/openstackgit/glance ~", "~", "~", "~", "~", "~", "~/repo/openstackgit/horizon ~", "~", "~", "~/repo/openstackgit/calico ~"], "warnings": []}
  57.  
  58. NO MORE HOSTS LEFT *************************************************************
  59.  
  60. PLAY RECAP *********************************************************************
  61. aio1_repo_container-52f8e1b6 : ok=108 changed=12 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment