If galaxy is not reachable molecule fails after the first attempts to install default docker dependencies
ultral opened this issue · 0 comments
Issue Type
If galaxy is not reachable molecule fails after the first attempts to install default dependencies.
Molecule and Ansible details
ansible [core 2.11.12]
config file = None
configured module search path = ['/home/jenkins_slave/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/ansible
ansible collection location = /home/jenkins_slave/.ansible/collections:/usr/share/ansible/collections
executable location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/bin/ansible
python version = 3.8.13 (default, Nov 8 2022, 17:19:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15)]
jinja version = 3.0.3
libyaml = True
molecule 4.0.4
Molecule installation method (one of):
- pip
Ansible installation method (one of):
- pip
Detail any linters or test runners used:
It's jenkins build. It tests ansible roles:
- performs clean checkout
- confgures venv
- run molecule with driver docker
The env is used transparent proxy, sometimes proxy fails to establish ssl connection to upstream or upstream is unreachable. If it happens during tests then molecule fails during installing community.docker:>=3.0.2
and ansible.posix:>=1.4.0
. There is the only one attempt to do it.
Downloading https://galaxy.ansible.com/download/community-docker-3.4.0.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-48820_h2vcj45/tmpzaq3j143/community-docker-3.4.0-cax3t1af
1m[0;31mERROR! Failed to download collection tar from 'default': <urlopen error Tunnel connection failed: 503 Service Unavailable>1m[0m
However, default dependency checkout via galaxy has another behaviour and tries 3 times
Starting galaxy collection install process
Process install dependency map
Opened /home/jenkins_slave/.ansible/galaxy_token
Starting collection install process
Downloading https://galaxy.ansible.com/download/ansible-posix-1.5.1.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54417658nec3u/tmpo6m2pk6m/ansible-posix-1.5.1-bhv640de
Collection 'ansible.posix:1.5.1' obtained from server default https://galaxy.ansible.com/api/
Installing 'ansible.posix:1.5.1' to '/home/jenkins_slave/.cache/molecule/xxx/default/collections/ansible_collections/ansible/posix'
ansible.posix:1.5.1 was installed successfully
Downloading https://galaxy.ansible.com/download/community-postgresql-2.3.2.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54417658nec3u/tmpo6m2pk6m/community-postgresql-2.3.2-ju69vuk7
Collection 'community.postgresql:2.3.2' obtained from server default https://galaxy.ansible.com/api/
Installing 'community.postgresql:2.3.2' to '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/postgresql'
community.postgresql:2.3.2 was installed successfully
Downloading https://galaxy.ansible.com/download/community-crypto-2.10.0.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54417658nec3u/tmpo6m2pk6m/community-crypto-2.10.0-23xh_i61
Collection 'community.crypto:2.10.0' obtained from server default https://galaxy.ansible.com/api/
Installing 'community.crypto:2.10.0' to '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/crypto'
community.crypto:2.10.0 was installed successfully
Downloading https://galaxy.ansible.com/download/community-docker-3.4.0.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54417658nec3u/tmpo6m2pk6m/community-docker-3.4.0-4efy8_wj
Collection 'community.docker:3.4.0' obtained from server default https://galaxy.ansible.com/api/
Installing 'community.docker:3.4.0' to '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/docker'
community.docker:3.4.0 was installed successfully
Downloading https://galaxy.ansible.com/download/community-general-6.3.0.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54417658nec3u/tmpo6m2pk6m/community-general-6.3.0-2ypj0lhy
ERROR! Failed to download collection tar from 'default': <urlopen error Tunnel connection failed: 503 Service Unavailable>
WARNING Retrying execution failure 1 of: ansible-galaxy collection install --collections-path /home/jenkins_slave/.cache/molecule/cold/default/collections --force --requirements-file /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/cold/cold/../../../requirements.yml -vvv
WARNING Retrying dependency ... 1/3 time(s)
WARNING Sleeping for 3 seconds before retrying ...
DEBUG: ANSIBLE ENVIRONMENT:
ANSIBLE_COLLECTIONS_PATH: /home/jenkins_slave/.cache/molecule/cold/default/collections
ANSIBLE_FORCE_COLOR: '1'
DEBUG: MOLECULE ENVIRONMENT:
MOLECULE_DEBUG: 'True'
MOLECULE_DEPENDENCY_NAME: galaxy
MOLECULE_DRIVER_NAME: docker
MOLECULE_ENV_FILE: /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/cold/cold/.env.yml
MOLECULE_EPHEMERAL_DIRECTORY: /home/jenkins_slave/.cache/molecule/cold/default
MOLECULE_FILE: /home/jenkins_slave/.cache/molecule/cold/default/molecule.yml
MOLECULE_INSTANCE_CONFIG: /home/jenkins_slave/.cache/molecule/cold/default/instance_config.yml
MOLECULE_INVENTORY_FILE: /home/jenkins_slave/.cache/molecule/cold/default/inventory/ansible_inventory.yml
MOLECULE_PROJECT_DIRECTORY: /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/cold/cold
MOLECULE_PROVISIONER_NAME: ansible
MOLECULE_SCENARIO_DIRECTORY: /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/cold/cold/molecule/default
MOLECULE_SCENARIO_NAME: default
MOLECULE_STATE_FILE: /home/jenkins_slave/.cache/molecule/cold/default/state.yml
MOLECULE_VERIFIER_NAME: ansible
MOLECULE_VERIFIER_TEST_DIRECTORY: /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/cold/cold/molecule/default/tests
DEBUG: SHELL REPLAY:
ANSIBLE_COLLECTIONS_PATH=/home/jenkins_slave/.cache/molecule/cold/default/collections ANSIBLE_FORCE_COLOR=1 MOLECULE_DEBUG=True MOLECULE_DEPENDENCY_NAME=galaxy MOLECULE_DRIVER_NAME=docker MOLECULE_ENV_FILE=/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/cold/cold/.env.yml MOLECULE_EPHEMERAL_DIRECTORY=/home/jenkins_slave/.cache/molecule/cold/default MOLECULE_FILE=/home/jenkins_slave/.cache/molecule/cold/default/molecule.yml MOLECULE_INSTANCE_CONFIG=/home/jenkins_slave/.cache/molecule/cold/default/instance_config.yml MOLECULE_INVENTORY_FILE=/home/jenkins_slave/.cache/molecule/cold/default/inventory/ansible_inventory.yml MOLECULE_PROJECT_DIRECTORY=/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/cold/cold MOLECULE_PROVISIONER_NAME=ansible MOLECULE_SCENARIO_DIRECTORY=/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/cold/cold/molecule/default MOLECULE_SCENARIO_NAME=default MOLECULE_STATE_FILE=/home/jenkins_slave/.cache/molecule/cold/default/state.yml MOLECULE_VERIFIER_NAME=ansible MOLECULE_VERIFIER_TEST_DIRECTORY=/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/cold/cold/molecule/default/tests
ansible-galaxy [core 2.11.12]
config file = None
configured module search path = ['/home/jenkins_slave/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/ansible
ansible collection location = /home/jenkins_slave/.cache/molecule/cold/default/collections
executable location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/bin/ansible-galaxy
python version = 3.8.13 (default, Nov 8 2022, 17:19:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15)]
jinja version = 3.0.3
libyaml = True
No config file found; using defaults
Reading requirement file at '/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/requirements.yml'
Starting galaxy collection install process
Found installed collection ansible.posix:1.5.1 at '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/ansible/posix'
Found installed collection community.postgresql:2.3.2 at '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/postgresql'
Found installed collection community.crypto:2.10.0 at '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/crypto'
Found installed collection community.docker:3.4.0 at '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/docker'
Process install dependency map
Opened /home/jenkins_slave/.ansible/galaxy_token
Starting collection install process
Downloading https://galaxy.ansible.com/download/ansible-posix-1.5.1.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54441yvqlq2f_/tmp9b3r6klh/ansible-posix-1.5.1-g0s6eiu9
Collection 'ansible.posix:1.5.1' obtained from server default https://galaxy.ansible.com/api/
Installing 'ansible.posix:1.5.1' to '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/ansible/posix'
ansible.posix:1.5.1 was installed successfully
Downloading https://galaxy.ansible.com/download/community-postgresql-2.3.2.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54441yvqlq2f_/tmp9b3r6klh/community-postgresql-2.3.2-1zbmsg71
Collection 'community.postgresql:2.3.2' obtained from server default https://galaxy.ansible.com/api/
Installing 'community.postgresql:2.3.2' to '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/postgresql'
community.postgresql:2.3.2 was installed successfully
Downloading https://galaxy.ansible.com/download/community-crypto-2.10.0.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54441yvqlq2f_/tmp9b3r6klh/community-crypto-2.10.0-_r1fp5x5
Collection 'community.crypto:2.10.0' obtained from server default https://galaxy.ansible.com/api/
Installing 'community.crypto:2.10.0' to '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/crypto'
community.crypto:2.10.0 was installed successfully
Downloading https://galaxy.ansible.com/download/community-docker-3.4.0.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54441yvqlq2f_/tmp9b3r6klh/community-docker-3.4.0-v3f30psw
Collection 'community.docker:3.4.0' obtained from server default https://galaxy.ansible.com/api/
Installing 'community.docker:3.4.0' to '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/docker'
community.docker:3.4.0 was installed successfully
Downloading https://galaxy.ansible.com/download/community-general-6.3.0.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-54441yvqlq2f_/tmp9b3r6klh/community-general-6.3.0-ql_9ku6_
Collection 'community.general:6.3.0' obtained from server default https://galaxy.ansible.com/api/
Installing 'community.general:6.3.0' to '/home/jenkins_slave/.cache/molecule/cold/default/collections/ansible_collections/community/general'
community.general:6.3.0 was installed successfully
INFO Dependency completed successfully.
As a workaround i tried to use custom dependency script. no luck. for default deps the other mechanism is used
dependency:
name: shell
command: |
set -e
echo "Requirements: ${MOLECULE_PROJECT_DIRECTORY}/../../requirements.yml"
echo "Install to: ${MOLECULE_EPHEMERAL_DIRECTORY}/collections"
for i in `seq 1 5` ; do
ansible-galaxy collection install \
-r "${MOLECULE_PROJECT_DIRECTORY}/../../requirements.yml" \
-p "${MOLECULE_EPHEMERAL_DIRECTORY}/collections" && exit 0
done
Desired Behavior
as i can see there are 2 possible solutions:
- Use the same mechanism for checking out default dependencies
community.docker:>=3.0.2
andansible.posix:>=1.4.0
- Add retries retires into default dependencies checkout as it work dependency.galaxy
Actual Behaviour
+ pip --version
pip 23.0 from /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/pip (python 3.8)
+ python3.8 --version
Python 3.8.13
+ ansible --version
ansible [core 2.11.12]
config file = None
configured module search path = ['/home/jenkins_slave/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/ansible
ansible collection location = /home/jenkins_slave/.ansible/collections:/usr/share/ansible/collections
executable location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/bin/ansible
python version = 3.8.13 (default, Nov 8 2022, 17:19:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15)]
jinja version = 3.0.3
libyaml = True
+ ansible-galaxy --version
ansible-galaxy [core 2.11.12]
config file = None
configured module search path = ['/home/jenkins_slave/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/ansible
ansible collection location = /home/jenkins_slave/.ansible/collections:/usr/share/ansible/collections
executable location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/bin/ansible-galaxy
python version = 3.8.13 (default, Nov 8 2022, 17:19:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15)]
jinja version = 3.0.3
libyaml = True
+ pip list
Package Version
-------------------- ---------
ansible-compat 2.2.7
ansible-core 2.11.12
ansible-lint 5.4.0
arrow 1.2.3
attrs 22.2.0
binaryornot 0.4.4
bracex 2.3.post1
certifi 2022.12.7
cffi 1.15.1
cfgv 3.3.1
chardet 5.1.0
charset-normalizer 3.0.1
check-jsonschema 0.21.0
click 8.1.3
click-help-colors 0.9.1
colorama 0.4.6
commonmark 0.9.1
cookiecutter 2.1.1
cryptography 39.0.1
distlib 0.3.6
distro 1.8.0
docker 6.0.1
enrich 1.2.7
filelock 3.9.0
flake8 6.0.0
identify 2.5.18
idna 3.4
importlib-resources 5.10.2
Jinja2 3.0.3
jinja2-time 0.2.0
jsonschema 4.17.3
lxml 4.9.2
MarkupSafe 2.1.2
mccabe 0.7.0
molecule 4.0.4
molecule-docker 2.1.0
nodeenv 1.7.0
packaging 23.0
pathspec 0.11.0
pip 23.0
pkgutil_resolve_name 1.3.10
platformdirs 3.0.0
pluggy 1.0.0
pre-commit 3.0.4
pycodestyle 2.10.0
pycparser 2.21
pyflakes 3.0.1
Pygments 2.14.0
pyOpenSSL 23.0.0
pyrsistent 0.19.3
python-dateutil 2.8.2
python-slugify 8.0.0
PyYAML 6.0
requests 2.28.2
resolvelib 0.5.5
rich 10.16.2
ruamel.yaml 0.17.21
ruamel.yaml.clib 0.2.7
selinux 0.2.1
setuptools 41.6.0
six 1.16.0
subprocess-tee 0.4.1
tenacity 8.2.1
text-unidecode 1.3
urllib3 1.26.14
virtualenv 20.19.0
wcmatch 8.4.1
websocket-client 1.5.1
yamllint 1.23.0
zipp 3.13.0
+ ansible-galaxy role list
[WARNING]: - the configured path /home/jenkins_slave/.ansible/roles does not
exist.
[WARNING]: - the configured path /usr/share/ansible/roles does not exist.
[WARNING]: - the configured path /etc/ansible/roles does not exist.
ERROR! - None of the provided paths were usable. Please specify a valid path with --roles-path
usage: ansible-galaxy [-h] [--version] [-v] TYPE ...
Perform various Role and Collection related operations.
positional arguments:
TYPE
collection Manage an Ansible Galaxy collection.
role Manage an Ansible Galaxy role.
optional arguments:
--version show program's version number, config file location,
configured module search path, module location, executable
location and exit
-h, --help show this help message and exit
-v, --verbose verbose mode (-vvv for more, -vvvv to enable connection
debugging)
+ true
+ ansible-galaxy collection list
ERROR! - None of the provided paths were usable. Please specify a valid path with --collections-path
usage: ansible-galaxy [-h] [--version] [-v] TYPE ...
Perform various Role and Collection related operations.
positional arguments:
TYPE
collection Manage an Ansible Galaxy collection.
role Manage an Ansible Galaxy role.
optional arguments:
--version show program's version number, config file location,
configured module search path, module location, executable
location and exit
-h, --help show this help message and exit
-v, --verbose verbose mode (-vvv for more, -vvvv to enable connection
debugging)
+ true
+ molecule --debug test
DEBUG Validating schema /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/java/molecule/default/molecule.yml.
INFO default scenario test matrix: dependency, lint, cleanup, destroy, syntax, create, prepare, converge, idempotence, side_effect, verify, cleanup, destroy
INFO Performing prerun with role_name_check=0...
INFO Set ANSIBLE_LIBRARY=/home/jenkins_slave/.cache/ansible-compat/38a096/modules:/home/jenkins_slave/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
INFO Set ANSIBLE_COLLECTIONS_PATH=/home/jenkins_slave/.cache/ansible-compat/38a096/collections:/home/jenkins_slave/.ansible/collections:/usr/share/ansible/collections
INFO Set ANSIBLE_ROLES_PATH=/home/jenkins_slave/.cache/ansible-compat/38a096/roles:/home/jenkins_slave/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
INFO Using /home/jenkins_slave/.cache/ansible-compat/38a096/roles/imagemaster.java symlink to current repository in order to enable Ansible to find the role using its expected full name.
DEBUG Inventory /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/java/molecule/default/../../../../inventory/molecule/group_vars/ linked to /home/jenkins_slave/.cache/molecule/java/default/inventory/group_vars
INFO Running default > dependency
INFO Running from /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/roles/java : ansible-galaxy collection install -vvv community.docker:>=3.0.2
WARNING Retrying execution failure 1 of: ansible-galaxy collection install -vvv community.docker:>=3.0.2
ERROR Command returned 1 code:
1m[0;34mansible-galaxy 1m[0m
1m[0;34m config file = None1m[0m
1m[0;34m configured module search path = ['/home/jenkins_slave/.cache/ansible-compat/38a096/modules', '/home/jenkins_slave/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']1m[0m
1m[0;34m ansible python module location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/ansible1m[0m
1m[0;34m ansible collection location = /home/jenkins_slave/.cache/ansible-compat/38a096/collections:/home/jenkins_slave/.ansible/collections:/usr/share/ansible/collections1m[0m
1m[0;34m executable location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/bin/ansible-galaxy1m[0m
1m[0;34m python version = 3.8.13 (default, Nov 8 2022, 17:19:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15)]1m[0m
1m[0;34m jinja version = 3.0.31m[0m
1m[0;34m libyaml = True1m[0m
1m[0;34mNo config file found; using defaults1m[0m
Starting galaxy collection install process
Process install dependency map
1m[0;34mCreated /home/jenkins_slave/.ansible/galaxy_token1m[0m
Starting collection install process
Downloading https://galaxy.ansible.com/download/community-docker-3.4.0.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-48820_h2vcj45/tmpzaq3j143/community-docker-3.4.0-cax3t1af
1m[0;31mERROR! Failed to download collection tar from 'default': <urlopen error Tunnel connection failed: 503 Service Unavailable>1m[0m
Traceback (most recent call last):
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/bin/molecule", line 8, in <module>
sys.exit(main())
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/molecule/command/test.py", line 176, in test
base.execute_cmdline_scenarios(scenario_name, args, command_args, ansible_args)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/molecule/command/base.py", line 121, in execute_cmdline_scenarios
execute_scenario(scenario)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/molecule/command/base.py", line 165, in execute_scenario
execute_subcommand(scenario.config, action)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/molecule/command/base.py", line 154, in execute_subcommand
return command(config).execute(args)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/molecule/logger.py", line 188, in wrapper
rt = func(*args, **kwargs)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/molecule/command/dependency.py", line 74, in execute
self._config.dependency.execute()
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/molecule/dependency/ansible_galaxy/__init__.py", line 76, in execute
invoker.execute()
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/molecule/dependency/ansible_galaxy/base.py", line 120, in execute
super().execute()
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/molecule/dependency/base.py", line 92, in execute
self._config.runtime.require_collection(name, version)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/ansible_compat/runtime.py", line 457, in require_collection
self.install_collection(f"{name}:>={version}" if version else name)
File "/home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/ansible_compat/runtime.py", line 242, in install_collection
raise InvalidPrerequisiteError(msg)
ansible_compat.errors.InvalidPrerequisiteError: Command returned 1 code:
ansible-galaxy [core 2.11.12]
config file = None
configured module search path = ['/home/jenkins_slave/.cache/ansible-compat/38a096/modules', '/home/jenkins_slave/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/lib64/python3.8/site-packages/ansible
ansible collection location = /home/jenkins_slave/.cache/ansible-compat/38a096/collections:/home/jenkins_slave/.ansible/collections:/usr/share/ansible/collections
executable location = /home/jenkins_slave/workspace/les_and_branches_feature_ANS-811/.venv/bin/ansible-galaxy
python version = 3.8.13 (default, Nov 8 2022, 17:19:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15)]
jinja version = 3.0.3
libyaml = True
No config file found; using defaults
Starting galaxy collection install process
Process install dependency map
Created /home/jenkins_slave/.ansible/galaxy_token
Starting collection install process
Downloading https://galaxy.ansible.com/download/community-docker-3.4.0.tar.gz to /home/jenkins_slave/.ansible/tmp/ansible-local-48820_h2vcj45/tmpzaq3j143/community-docker-3.4.0-cax3t1af
ERROR! Failed to download collection tar from 'default': <urlopen error Tunnel connection failed: 503 Service Unavailable>
script returned exit code 1