molecule-action
molecule-action copied to clipboard
Molecule verify no more working
All tests failed on verify step, because it doesn't found pytest
.
INFO Executing Testinfra tests found in /github/workspace/roles/hm.rancher/molecule/default/tests/...
DEBUG: ANSIBLE ENVIRONMENT:
ANSIBLE_ASYNC_DIR: /tmp/.ansible_async
ANSIBLE_COLLECTIONS_PATH: /github/home/.cache/ansible-compat/6a4f48/collections:/github/home/.cache/molecule/hm.rancher/default/collections:/github/home/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections
ANSIBLE_CONFIG: /github/home/.cache/molecule/hm.rancher/default/ansible.cfg
ANSIBLE_FILTER_PLUGINS: /usr/local/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/github/home/.cache/molecule/hm.rancher/default/plugins/filter:/github/workspace/roles/hm.rancher/plugins/filter:/github/home/.ansible/plugins/filter:/usr/share/ansible/plugins/filter
ANSIBLE_FORCE_COLOR: '1'
ANSIBLE_LIBRARY: /usr/local/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/usr/local/lib/python3.9/site-packages/molecule_plugins/vagrant/modules:/github/home/.cache/molecule/hm.rancher/default/library:/github/workspace/roles/hm.rancher/library:/github/home/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
ANSIBLE_ROLES_PATH: /github/home/.cache/ansible-compat/6a4f48/roles:/github/home/.cache/molecule/hm.rancher/default/roles:/github/workspace/roles:/github/home/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/github/workspace/roles/hm.rancher/tests/roles:/github/home/.cache/ansible-compat/6a4f48/roles:/github/home/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/github/workspace/roles/hm.rancher/tests:/github/workspace/roles
DEBUG: MOLECULE ENVIRONMENT:
INPUT_MOLECULE_ARGS: --all -- --skip-tags notest
INPUT_MOLECULE_COMMAND: test
INPUT_MOLECULE_OPTIONS: --debug
INPUT_MOLECULE_WORKING_DIR: roles/hm.rancher
MOLECULE_DEBUG: 'True'
MOLECULE_DEPENDENCY_NAME: galaxy
MOLECULE_DRIVER_NAME: docker
MOLECULE_ENV_FILE: /github/workspace/roles/hm.rancher/.env.yml
MOLECULE_EPHEMERAL_DIRECTORY: /github/home/.cache/molecule/hm.rancher/default
MOLECULE_FILE: /github/home/.cache/molecule/hm.rancher/default/molecule.yml
MOLECULE_INSTANCE_CONFIG: /github/home/.cache/molecule/hm.rancher/default/instance_config.yml
MOLECULE_INVENTORY_FILE: /github/home/.cache/molecule/hm.rancher/default/inventory/ansible_inventory.yml
MOLECULE_PROJECT_DIRECTORY: /github/workspace/roles/hm.rancher
MOLECULE_PROVISIONER_NAME: ansible
MOLECULE_SCENARIO_DIRECTORY: /github/workspace/roles/hm.rancher/molecule/default
MOLECULE_SCENARIO_NAME: default
MOLECULE_STATE_FILE: /github/home/.cache/molecule/hm.rancher/default/state.yml
MOLECULE_VERIFIER_NAME: testinfra
MOLECULE_VERIFIER_TEST_DIRECTORY: /github/workspace/roles/hm.rancher/molecule/default/tests
DEBUG: SHELL REPLAY:
ANSIBLE_ASYNC_DIR=/tmp/.ansible_async ANSIBLE_COLLECTIONS_PATH=/github/home/.cache/ansible-compat/6a4f48/collections:/github/home/.cache/molecule/hm.rancher/default/collections:/github/home/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections ANSIBLE_CONFIG=/github/home/.cache/molecule/hm.rancher/default/ansible.cfg ANSIBLE_FILTER_PLUGINS=/usr/local/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/github/home/.cache/molecule/hm.rancher/default/plugins/filter:/github/workspace/roles/hm.rancher/plugins/filter:/github/home/.ansible/plugins/filter:/usr/share/ansible/plugins/filter ANSIBLE_FORCE_COLOR=1 ANSIBLE_LIBRARY=/usr/local/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/usr/local/lib/python3.9/site-packages/molecule_plugins/vagrant/modules:/github/home/.cache/molecule/hm.rancher/default/library:/github/workspace/roles/hm.rancher/library:/github/home/.ansible/plugins/modules:/usr/share/ansible/plugins/modules ANSIBLE_ROLES_PATH=/github/home/.cache/ansible-compat/6a4f48/roles:/github/home/.cache/molecule/hm.rancher/default/roles:/github/workspace/roles:/github/home/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/github/workspace/roles/hm.rancher/tests/roles:/github/home/.cache/ansible-compat/6a4f48/roles:/github/home/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/github/workspace/roles/hm.rancher/tests:/github/workspace/roles INPUT_MOLECULE_ARGS=--all -- --skip-tags notest INPUT_MOLECULE_COMMAND=test INPUT_MOLECULE_OPTIONS=--debug INPUT_MOLECULE_WORKING_DIR=roles/hm.rancher MOLECULE_DEBUG=True MOLECULE_DEPENDENCY_NAME=galaxy MOLECULE_DRIVER_NAME=docker MOLECULE_ENV_FILE=/github/workspace/roles/hm.rancher/.env.yml MOLECULE_EPHEMERAL_DIRECTORY=/github/home/.cache/molecule/hm.rancher/default MOLECULE_FILE=/github/home/.cache/molecule/hm.rancher/default/molecule.yml MOLECULE_INSTANCE_CONFIG=/github/home/.cache/molecule/hm.rancher/default/instance_config.yml MOLECULE_INVENTORY_FILE=/github/home/.cache/molecule/hm.rancher/default/inventory/ansible_inventory.yml MOLECULE_PROJECT_DIRECTORY=/github/workspace/roles/hm.rancher MOLECULE_PROVISIONER_NAME=ansible MOLECULE_SCENARIO_DIRECTORY=/github/workspace/roles/hm.rancher/molecule/default MOLECULE_SCENARIO_NAME=default MOLECULE_STATE_FILE=/github/home/.cache/molecule/hm.rancher/default/state.yml MOLECULE_VERIFIER_NAME=testinfra MOLECULE_VERIFIER_TEST_DIRECTORY=/github/workspace/roles/hm.rancher/molecule/default/tests
/bin/sh: pytest: not found
WARNING An error occurred during the test sequence action: 'verify'. Cleaning up.
Can you add it on docker image ?