Advertisement
alexander_bazhenov

Untitled

Apr 6th, 2024
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.67 KB | None | 0 0
  1. + poetry --ansi run ansible-galaxy install -r requirements.yml --server https://old-galaxy.ansible.com -v 1
  2. Using /github/home/.ansible.cfg as config file
  3. Starting galaxy collection install process
  4. Process install dependency map
  5. Starting collection install process
  6. Downloading https://old-galaxy.ansible.com/download/community-general-7.4.0.tar.gz to /github/home/.ansible/tmp/ansible-local-4604amfup142/tmp7cjv3rgi/community-general-7.4.0-l0wzr__u
  7. Installing 'community.general:7.4.0' to '/github/home/.ansible/collections/ansible_collections/community/general'
  8. community.general:7.4.0 was installed successfully
  9. + poetry --ansi run molecule --debug test
  10. DEBUG Validating schema /__w/ansible-collection-linux/ansible-collection-linux/roles/bareos/molecule/default/molecule.yml.
  11. WARNING Driver docker does not provide a schema.
  12. INFO default scenario test matrix: dependency, destroy, syntax, create, prepare, converge, verify, side_effect, destroy
  13. INFO Performing prerun with role_name_check=0...
  14. WARNING Retrying execution failure 1 of: ansible-galaxy collection install -vvv --force ../..
  15. ERROR Command returned 1 code:
  16. Starting galaxy collection install process
  17. Process install dependency map
  18. Traceback (most recent call last):
  19. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/bin/molecule", line 8, in <module>
  20. sys.exit(main())
  21. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
  22. [0;34mansible-galaxy [0m
  23. [0;34m config file = /github/home/.ansible.cfg[0m
  24. [0;34m configured module search path = ['/github/home/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'][0m
  25. [0;34m ansible python module location = /__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/ansible[0m
  26. [0;34m ansible collection location = /github/home/.ansible/collections:/usr/share/ansible/collections[0m
  27. [0;34m executable location = /__w/ansible-collection-linux/ansible-collection-linux/.venv/bin/ansible-galaxy[0m
  28. [0;34m python version = 3.10.14 (main, Mar 20 2024, 15:15:25) [GCC 11.4.0] (/__w/ansible-collection-linux/ansible-collection-linux/.venv/bin/python)[0m
  29. [0;34m jinja version = 3.1.3[0m
  30. [0;34m libyaml = True[0m
  31. [0;34mUsing /github/home/.ansible.cfg as config file[0m
  32. [0;34mFound installed collection community.general:7.4.0 at '/github/home/.ansible/collections/ansible_collections/community/general'[0m
  33. [0;34mOpened /github/home/.ansible/galaxy_token[0m
  34. [1;35m[WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an[0m
  35. [1;35munexpected error when getting available versions of collection[0m
  36. [1;35mcommunity.postgresql: Unknown error when attempting to call Galaxy at[0m
  37. [1;35m'https://galaxy.ansible.com/api/v3/collections/community/postgresql/': The read[0m
  38. [1;35moperation timed out. The read operation timed out[0m
  39. [0;31mERROR! Unknown error when attempting to call Galaxy at 'https://galaxy.ansible.com/api/v3/collections/community/postgresql/': The read operation timed out. The read operation timed out[0m
  40. return self.main(*args, **kwargs)
  41. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/click/core.py", line 1078, in main
  42. rv = self.invoke(ctx)
  43. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
  44. return _process_result(sub_ctx.command.invoke(sub_ctx))
  45. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
  46. return ctx.invoke(self.callback, **ctx.params)
  47. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/click/core.py", line 783, in invoke
  48. return __callback(*args, **kwargs)
  49. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
  50. return f(get_current_context(), *args, **kwargs)
  51. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/molecule/command/test.py", line 113, in test
  52. base.execute_cmdline_scenarios(scenario_name, args, command_args, ansible_args)
  53. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/molecule/command/base.py", line 114, in execute_cmdline_scenarios
  54. scenario.config.runtime.prepare_environment(
  55. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/ansible_compat/runtime.py", line 672, in prepare_environment
  56. self.install_collection_from_disk(
  57. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/ansible_compat/runtime.py", line 495, in install_collection_from_disk
  58. self.install_collection(path, destination=destination, force=True)
  59. File "/__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/ansible_compat/runtime.py", line 487, in install_collection
  60. raise InvalidPrerequisiteError(msg)
  61. ansible_compat.errors.InvalidPrerequisiteError: Command returned 1 code:
  62. Starting galaxy collection install process
  63. Process install dependency map
  64. ansible-galaxy [core 2.15.10]
  65. config file = /github/home/.ansible.cfg
  66. configured module search path = ['/github/home/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  67. ansible python module location = /__w/ansible-collection-linux/ansible-collection-linux/.venv/lib/python3.10/site-packages/ansible
  68. ansible collection location = /github/home/.ansible/collections:/usr/share/ansible/collections
  69. executable location = /__w/ansible-collection-linux/ansible-collection-linux/.venv/bin/ansible-galaxy
  70. python version = 3.10.14 (main, Mar 20 2024, 15:15:25) [GCC 11.4.0] (/__w/ansible-collection-linux/ansible-collection-linux/.venv/bin/python)
  71. jinja version = 3.1.3
  72. libyaml = True
  73. Using /github/home/.ansible.cfg as config file
  74. Found installed collection community.general:7.4.0 at '/github/home/.ansible/collections/ansible_collections/community/general'
  75. Opened /github/home/.ansible/galaxy_token
  76. [WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an
  77. unexpected error when getting available versions of collection
  78. community.postgresql: Unknown error when attempting to call Galaxy at
  79. 'https://galaxy.ansible.com/api/v3/collections/community/postgresql/': The read
  80. operation timed out. The read operation timed out
  81. ERROR! Unknown error when attempting to call Galaxy at 'https://galaxy.ansible.com/api/v3/collections/community/postgresql/': The read operation timed out. The read operation timed out
  82. Error: Process completed with exit code 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement