Skip to content

Failure on GitHub Actions when using Containers vs Docker #86

Open
@ericsysmin

Description

Expected success with docker as the driver. It appears to be an issue with deciding to use docker or not when in a container.

Run cd roles/wavefront_proxy && MOLECULE_COMMAND=/lib/systemd/systemd MOLECULE_DISTRO=ubuntu-20.04 molecule --debug test
  cd roles/wavefront_proxy && MOLECULE_COMMAND=/lib/systemd/systemd MOLECULE_DISTRO=ubuntu-20.04 molecule --debug test
  shell: /usr/bin/bash -e {0}
  env:
    PY_COLORS: 1
    ANSIBLE_FORCE_COLOR: 1
    pythonLocation: /opt/hostedtoolcache/Python/3.9.13/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.13/x64/lib/pkgconfig
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.13/x64/lib
DEBUG    Validating schema /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/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/runner/.cache/ansible-compat/dfc46c/modules:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
INFO     Set ANSIBLE_COLLECTIONS_PATH=/home/runner/.cache/ansible-compat/dfc46c/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections
INFO     Set ANSIBLE_ROLES_PATH=/home/runner/.cache/ansible-compat/dfc46c/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
INFO     Running ansible-galaxy collection install -v --force -p /home/runner/.cache/ansible-compat/dfc46c/collections ../..
INFO    Running default > dependency
Molecule default > dependency
  INFO     Running ansible-galaxy collection install -v ansible.posix:>=1.3.0
  INFO     Running ansible-galaxy collection install -v community.docker:>=1.9.1
  INFO     Running ansible-galaxy collection install -v containers.podman:>=1.8.1
  WARNING  Skipping, missing the requirements file.
  WARNING  Skipping, missing the requirements file.
INFO    Running default > lint
Molecule default > lint
INFO    Running default > cleanup
Molecule default > cleanup
  WARNING  Skipping, cleanup playbook not configured.
INFO    Running default > destroy
Molecule default > destroy
  INFO     Sanity checks: 'containers'
  DEBUG: ANSIBLE ENVIRONMENT:
  ANSIBLE_COLLECTIONS_PATH: /home/runner/.cache/ansible-compat/dfc46c/collections:/home/runner/.cache/molecule/wavefront_proxy/default/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections
  ANSIBLE_CONFIG: /home/runner/.cache/molecule/wavefront_proxy/default/ansible.cfg
  ANSIBLE_FILTER_PLUGINS: /opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/home/runner/.cache/molecule/wavefront_proxy/default/plugins/filter:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/plugins/filter:/home/runner/.ansible/plugins/filter:/usr/share/ansible/plugins/filter
  ANSIBLE_FORCE_COLOR: '1'
  ANSIBLE_LIBRARY: /opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/home/runner/.cache/molecule/wavefront_proxy/default/library:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/library:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
  ANSIBLE_ROLES_PATH: /home/runner/.cache/ansible-compat/dfc46c/roles:/home/runner/.cache/molecule/wavefront_proxy/default/roles:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
  
  DEBUG: MOLECULE ENVIRONMENT:
  MOLECULE_COMMAND: /lib/systemd/systemd
  MOLECULE_DEBUG: 'True'
  MOLECULE_DEPENDENCY_NAME: galaxy
  MOLECULE_DISTRO: ubuntu-20.04
  MOLECULE_DRIVER_NAME: containers
  MOLECULE_ENV_FILE: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/.env.yml
  MOLECULE_EPHEMERAL_DIRECTORY: /home/runner/.cache/molecule/wavefront_proxy/default
  MOLECULE_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/molecule.yml
  MOLECULE_INSTANCE_CONFIG: /home/runner/.cache/molecule/wavefront_proxy/default/instance_config.yml
  MOLECULE_INVENTORY_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/inventory/ansible_inventory.yml
  MOLECULE_PROJECT_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy
  MOLECULE_PROVISIONER_NAME: ansible
  MOLECULE_SCENARIO_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default
  MOLECULE_SCENARIO_NAME: default
  MOLECULE_STATE_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/state.yml
  MOLECULE_VERIFIER_NAME: ansible
  MOLECULE_VERIFIER_TEST_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/tests
  
  DEBUG: SHELL REPLAY:
  ANSIBLE_COLLECTIONS_PATH=/home/runner/.cache/ansible-compat/dfc46c/collections:/home/runner/.cache/molecule/wavefront_proxy/default/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collectionsANSIBLE_CONFIG=/home/runner/.cache/molecule/wavefront_proxy/default/ansible.cfgANSIBLE_FILTER_PLUGINS=/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/home/runner/.cache/molecule/wavefront_proxy/default/plugins/filter:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/plugins/filter:/home/runner/.ansible/plugins/filter:/usr/share/ansible/plugins/filterANSIBLE_FORCE_COLOR=1ANSIBLE_LIBRARY=/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/home/runner/.cache/molecule/wavefront_proxy/default/library:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/library:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modulesANSIBLE_ROLES_PATH=/home/runner/.cache/ansible-compat/dfc46c/roles:/home/runner/.cache/molecule/wavefront_proxy/default/roles:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/rolesMOLECULE_COMMAND=/lib/systemd/systemdMOLECULE_DEBUG=TrueMOLECULE_DEPENDENCY_NAME=galaxyMOLECULE_DISTRO=ubuntu-20.04MOLECULE_DRIVER_NAME=containersMOLECULE_ENV_FILE=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/.env.ymlMOLECULE_EPHEMERAL_DIRECTORY=/home/runner/.cache/molecule/wavefront_proxy/defaultMOLECULE_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/molecule.ymlMOLECULE_INSTANCE_CONFIG=/home/runner/.cache/molecule/wavefront_proxy/default/instance_config.ymlMOLECULE_INVENTORY_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/inventory/ansible_inventory.ymlMOLECULE_PROJECT_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxyMOLECULE_PROVISIONER_NAME=ansibleMOLECULE_SCENARIO_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/defaultMOLECULE_SCENARIO_NAME=defaultMOLECULE_STATE_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/state.ymlMOLECULE_VERIFIER_NAME=ansibleMOLECULE_VERIFIER_TEST_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/tests
  
  
  PLAY [Destroy] *****************************************************************
  
  TASK [Destroy molecule instance(s)] ********************************************
  changed: [localhost] => (item={'command': '/lib/systemd/systemd', 'image': 'ubuntu-20.04', 'name': 'instance', 'privileged': True, 'volumes': ['/sys/fs/cgroup:/sys/fs/cgroup:ro']})
  
  TASK [Wait for instance(s) deletion to complete] *******************************
  FAILED - RETRYING: [localhost]: Wait for instance(s) deletion to complete (300 retries left).
  changed: [localhost] => (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': '808486848805.5442', 'results_file': '/home/runner/.ansible_async/808486848805.5442', 'changed': True, 'item': {'command': '/lib/systemd/systemd', 'image': 'ubuntu-20.04', 'name': 'instance', 'privileged': True, 'volumes': ['/sys/fs/cgroup:/sys/fs/cgroup:ro']}, 'ansible_loop_var': 'item'})
  
  PLAY RECAP *********************************************************************
  localhost                  : ok=2   changed=2    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0
  
INFO    Running default > syntax
Molecule default > syntax
  DEBUG: ANSIBLE ENVIRONMENT:
  ANSIBLE_COLLECTIONS_PATH: /home/runner/.cache/ansible-compat/dfc46c/collections:/home/runner/.cache/molecule/wavefront_proxy/default/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections
  ANSIBLE_CONFIG: /home/runner/.cache/molecule/wavefront_proxy/default/ansible.cfg
  ANSIBLE_FILTER_PLUGINS: /opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/home/runner/.cache/molecule/wavefront_proxy/default/plugins/filter:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/plugins/filter:/home/runner/.ansible/plugins/filter:/usr/share/ansible/plugins/filter
  ANSIBLE_FORCE_COLOR: '1'
  ANSIBLE_LIBRARY: /opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/home/runner/.cache/molecule/wavefront_proxy/default/library:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/library:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
  ANSIBLE_ROLES_PATH: /home/runner/.cache/ansible-compat/dfc46c/roles:/home/runner/.cache/molecule/wavefront_proxy/default/roles:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
  
  DEBUG: MOLECULE ENVIRONMENT:
  MOLECULE_COMMAND: /lib/systemd/systemd
  MOLECULE_DEBUG: 'True'
  MOLECULE_DEPENDENCY_NAME: galaxy
  MOLECULE_DISTRO: ubuntu-20.04
  MOLECULE_DRIVER_NAME: containers
  MOLECULE_ENV_FILE: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/.env.yml
  MOLECULE_EPHEMERAL_DIRECTORY: /home/runner/.cache/molecule/wavefront_proxy/default
  MOLECULE_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/molecule.yml
  MOLECULE_INSTANCE_CONFIG: /home/runner/.cache/molecule/wavefront_proxy/default/instance_config.yml
  MOLECULE_INVENTORY_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/inventory/ansible_inventory.yml
  MOLECULE_PROJECT_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy
  MOLECULE_PROVISIONER_NAME: ansible
  MOLECULE_SCENARIO_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default
  MOLECULE_SCENARIO_NAME: default
  MOLECULE_STATE_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/state.yml
  MOLECULE_VERIFIER_NAME: ansible
  MOLECULE_VERIFIER_TEST_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/tests
  
  DEBUG: SHELL REPLAY:
  ANSIBLE_COLLECTIONS_PATH=/home/runner/.cache/ansible-compat/dfc46c/collections:/home/runner/.cache/molecule/wavefront_proxy/default/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collectionsANSIBLE_CONFIG=/home/runner/.cache/molecule/wavefront_proxy/default/ansible.cfgANSIBLE_FILTER_PLUGINS=/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/home/runner/.cache/molecule/wavefront_proxy/default/plugins/filter:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/plugins/filter:/home/runner/.ansible/plugins/filter:/usr/share/ansible/plugins/filterANSIBLE_FORCE_COLOR=1ANSIBLE_LIBRARY=/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/home/runner/.cache/molecule/wavefront_proxy/default/library:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/library:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modulesANSIBLE_ROLES_PATH=/home/runner/.cache/ansible-compat/dfc46c/roles:/home/runner/.cache/molecule/wavefront_proxy/default/roles:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/rolesMOLECULE_COMMAND=/lib/systemd/systemdMOLECULE_DEBUG=TrueMOLECULE_DEPENDENCY_NAME=galaxyMOLECULE_DISTRO=ubuntu-20.04MOLECULE_DRIVER_NAME=containersMOLECULE_ENV_FILE=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/.env.ymlMOLECULE_EPHEMERAL_DIRECTORY=/home/runner/.cache/molecule/wavefront_proxy/defaultMOLECULE_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/molecule.ymlMOLECULE_INSTANCE_CONFIG=/home/runner/.cache/molecule/wavefront_proxy/default/instance_config.ymlMOLECULE_INVENTORY_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/inventory/ansible_inventory.ymlMOLECULE_PROJECT_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxyMOLECULE_PROVISIONER_NAME=ansibleMOLECULE_SCENARIO_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/defaultMOLECULE_SCENARIO_NAME=defaultMOLECULE_STATE_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/state.ymlMOLECULE_VERIFIER_NAME=ansibleMOLECULE_VERIFIER_TEST_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/tests
  
  
  playbook: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/converge.yml
INFO    Running default > create
Molecule default > create
  DEBUG: ANSIBLE ENVIRONMENT:
  ANSIBLE_COLLECTIONS_PATH: /home/runner/.cache/ansible-compat/dfc46c/collections:/home/runner/.cache/molecule/wavefront_proxy/default/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections
  ANSIBLE_CONFIG: /home/runner/.cache/molecule/wavefront_proxy/default/ansible.cfg
  ANSIBLE_FILTER_PLUGINS: /opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/home/runner/.cache/molecule/wavefront_proxy/default/plugins/filter:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/plugins/filter:/home/runner/.ansible/plugins/filter:/usr/share/ansible/plugins/filter
  ANSIBLE_FORCE_COLOR: '1'
  ANSIBLE_LIBRARY: /opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/home/runner/.cache/molecule/wavefront_proxy/default/library:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/library:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
  ANSIBLE_ROLES_PATH: /home/runner/.cache/ansible-compat/dfc46c/roles:/home/runner/.cache/molecule/wavefront_proxy/default/roles:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
  
  DEBUG: MOLECULE ENVIRONMENT:
  MOLECULE_COMMAND: /lib/systemd/systemd
  MOLECULE_DEBUG: 'True'
  MOLECULE_DEPENDENCY_NAME: galaxy
  MOLECULE_DISTRO: ubuntu-20.04
  MOLECULE_DRIVER_NAME: containers
  MOLECULE_ENV_FILE: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/.env.yml
  MOLECULE_EPHEMERAL_DIRECTORY: /home/runner/.cache/molecule/wavefront_proxy/default
  MOLECULE_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/molecule.yml
  MOLECULE_INSTANCE_CONFIG: /home/runner/.cache/molecule/wavefront_proxy/default/instance_config.yml
  MOLECULE_INVENTORY_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/inventory/ansible_inventory.yml
  MOLECULE_PROJECT_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy
  MOLECULE_PROVISIONER_NAME: ansible
  MOLECULE_SCENARIO_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default
  MOLECULE_SCENARIO_NAME: default
  MOLECULE_STATE_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/state.yml
  MOLECULE_VERIFIER_NAME: ansible
  MOLECULE_VERIFIER_TEST_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/tests
  
  DEBUG: SHELL REPLAY:
  ANSIBLE_COLLECTIONS_PATH=/home/runner/.cache/ansible-compat/dfc46c/collections:/home/runner/.cache/molecule/wavefront_proxy/default/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collectionsANSIBLE_CONFIG=/home/runner/.cache/molecule/wavefront_proxy/default/ansible.cfgANSIBLE_FILTER_PLUGINS=/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/home/runner/.cache/molecule/wavefront_proxy/default/plugins/filter:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/plugins/filter:/home/runner/.ansible/plugins/filter:/usr/share/ansible/plugins/filterANSIBLE_FORCE_COLOR=1ANSIBLE_LIBRARY=/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/home/runner/.cache/molecule/wavefront_proxy/default/library:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/library:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modulesANSIBLE_ROLES_PATH=/home/runner/.cache/ansible-compat/dfc46c/roles:/home/runner/.cache/molecule/wavefront_proxy/default/roles:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/rolesMOLECULE_COMMAND=/lib/systemd/systemdMOLECULE_DEBUG=TrueMOLECULE_DEPENDENCY_NAME=galaxyMOLECULE_DISTRO=ubuntu-20.04MOLECULE_DRIVER_NAME=containersMOLECULE_ENV_FILE=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/.env.ymlMOLECULE_EPHEMERAL_DIRECTORY=/home/runner/.cache/molecule/wavefront_proxy/defaultMOLECULE_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/molecule.ymlMOLECULE_INSTANCE_CONFIG=/home/runner/.cache/molecule/wavefront_proxy/default/instance_config.ymlMOLECULE_INVENTORY_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/inventory/ansible_inventory.ymlMOLECULE_PROJECT_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxyMOLECULE_PROVISIONER_NAME=ansibleMOLECULE_SCENARIO_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/defaultMOLECULE_SCENARIO_NAME=defaultMOLECULE_STATE_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/state.ymlMOLECULE_VERIFIER_NAME=ansibleMOLECULE_VERIFIER_TEST_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/tests
  
  
  PLAY [Create] ******************************************************************
  
  TASK [get podman executable path] **********************************************
  ok: [localhost]
  
  TASK [save path to executable as fact] *****************************************
  ok: [localhost]
  
  TASK [Log into a container registry] *******************************************
  skipping: [localhost] => (item="instance registry username: None specified") 
  
  TASK [Check presence of custom Dockerfiles] ************************************
  ok: [localhost] => (item=Dockerfile: None specified)
  
  TASK [Create Dockerfiles from image names] *************************************
  --- before
  +++ after: /home/runner/.ansible/tmp/ansible-local-5582tivriz8z/tmp0ivu7ra5/Dockerfile.j2
  @@ -0,0 +1,28 @@
  +FROM ubuntu:20.04
  +ENV LANG C.UTF-8
  +ENV LC_ALL C.UTF-8
  +
  +RUN apt-get update \
  +  && apt-get install -y --no-install-recommends \
  +   apt-utils \
  +   locales \
  +   python3-setuptools \
  +   python3-pip \
  +   python3-cryptography \
  +   software-properties-common \
  +   rsyslog systemd systemd-cron sudo iproute2 \
  +  && rm -Rf /var/lib/apt/lists/* \
  +  && rm -Rf /usr/share/doc && rm -Rf /usr/share/man \
  +  && apt-get clean
  +RUN sed -i 's/^\($ModLoad imklog\)/#\1/' /etc/rsyslog.conf
  +
  +# Fix potential UTF-8 errors with ansible-test.
  +RUN locale-gen en_US.UTF-8
  +
  +# Remove unnecessary getty and udev targets that result in high CPU usage when using
  +# multiple containers with Molecule (https://github.com/ansible/molecule/issues/1104)
  +RUN rm -f /lib/systemd/system/systemd*udev* \
  +  && rm -f /lib/systemd/system/getty.target
  +
  +VOLUME ["/sys/fs/cgroup", "/tmp", "/run"]
  +CMD ["/lib/systemd/systemd"]
  
  changed: [localhost] => (item="Dockerfile: None specified; Image: ubuntu-20.04")
  
  TASK [Discover local Podman images] ********************************************
  ok: [localhost] => (item=instance)
  
  TASK [Build an Ansible compatible image] ***************************************
  changed: [localhost] => (item=ubuntu-20.04)
  
  TASK [Determine the CMD directives] ********************************************
  ok: [localhost] => (item="instance command: /lib/systemd/systemd")
  
  TASK [Remove possible pre-existing containers] *********************************
  changed: [localhost]
  
  TASK [Discover local podman networks] ******************************************
  skipping: [localhost] => (item=instance: None specified) 
  
  TASK [Create podman network dedicated to this scenario] ************************
  skipping: [localhost]
  
  TASK [Create molecule instance(s)] *********************************************
  changed: [localhost] => (item=instance)
  
  TASK [Wait for instance(s) creation to complete] *******************************
  FAILED - RETRYING: [localhost]: Wait for instance(s) creation to complete (300 retries left).
  changed: [localhost] => (item=instance)
  
  PLAY RECAP *********************************************************************
  localhost                  : ok=10  changed=5    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0
  
INFO    Running default > prepare
Molecule default > prepare
INFO    Running default > converge
Molecule default > converge
  DEBUG: ANSIBLE ENVIRONMENT:
  ANSIBLE_COLLECTIONS_PATH: /home/runner/.cache/ansible-compat/dfc46c/collections:/home/runner/.cache/molecule/wavefront_proxy/default/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections
  ANSIBLE_CONFIG: /home/runner/.cache/molecule/wavefront_proxy/default/ansible.cfg
  ANSIBLE_FILTER_PLUGINS: /opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/home/runner/.cache/molecule/wavefront_proxy/default/plugins/filter:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/plugins/filter:/home/runner/.ansible/plugins/filter:/usr/share/ansible/plugins/filter
  ANSIBLE_FORCE_COLOR: '1'
  ANSIBLE_LIBRARY: /opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/home/runner/.cache/molecule/wavefront_proxy/default/library:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/library:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
  ANSIBLE_ROLES_PATH: /home/runner/.cache/ansible-compat/dfc46c/roles:/home/runner/.cache/molecule/wavefront_proxy/default/roles:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
  
  DEBUG: MOLECULE ENVIRONMENT:
  MOLECULE_COMMAND: /lib/systemd/systemd
  MOLECULE_DEBUG: 'True'
  MOLECULE_DEPENDENCY_NAME: galaxy
  MOLECULE_DISTRO: ubuntu-20.04
  MOLECULE_DRIVER_NAME: containers
  MOLECULE_ENV_FILE: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/.env.yml
  MOLECULE_EPHEMERAL_DIRECTORY: /home/runner/.cache/molecule/wavefront_proxy/default
  MOLECULE_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/molecule.yml
  MOLECULE_INSTANCE_CONFIG: /home/runner/.cache/molecule/wavefront_proxy/default/instance_config.yml
  MOLECULE_INVENTORY_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/inventory/ansible_inventory.yml
  MOLECULE_PROJECT_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy
  MOLECULE_PROVISIONER_NAME: ansible
  MOLECULE_SCENARIO_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default
  MOLECULE_SCENARIO_NAME: default
  MOLECULE_STATE_FILE: /home/runner/.cache/molecule/wavefront_proxy/default/state.yml
  MOLECULE_VERIFIER_NAME: ansible
  MOLECULE_VERIFIER_TEST_DIRECTORY: /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/tests
  
  DEBUG: SHELL REPLAY:
  ANSIBLE_COLLECTIONS_PATH=/home/runner/.cache/ansible-compat/dfc46c/collections:/home/runner/.cache/molecule/wavefront_proxy/default/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collectionsANSIBLE_CONFIG=/home/runner/.cache/molecule/wavefront_proxy/default/ansible.cfgANSIBLE_FILTER_PLUGINS=/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/filter:/home/runner/.cache/molecule/wavefront_proxy/default/plugins/filter:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/plugins/filter:/home/runner/.ansible/plugins/filter:/usr/share/ansible/plugins/filterANSIBLE_FORCE_COLOR=1ANSIBLE_LIBRARY=/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/modules:/home/runner/.cache/molecule/wavefront_proxy/default/library:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/library:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modulesANSIBLE_ROLES_PATH=/home/runner/.cache/ansible-compat/dfc46c/roles:/home/runner/.cache/molecule/wavefront_proxy/default/roles:/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/rolesMOLECULE_COMMAND=/lib/systemd/systemdMOLECULE_DEBUG=TrueMOLECULE_DEPENDENCY_NAME=galaxyMOLECULE_DISTRO=ubuntu-20.04MOLECULE_DRIVER_NAME=containersMOLECULE_ENV_FILE=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/.env.ymlMOLECULE_EPHEMERAL_DIRECTORY=/home/runner/.cache/molecule/wavefront_proxy/defaultMOLECULE_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/molecule.ymlMOLECULE_INSTANCE_CONFIG=/home/runner/.cache/molecule/wavefront_proxy/default/instance_config.ymlMOLECULE_INVENTORY_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/inventory/ansible_inventory.ymlMOLECULE_PROJECT_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxyMOLECULE_PROVISIONER_NAME=ansibleMOLECULE_SCENARIO_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/defaultMOLECULE_SCENARIO_NAME=defaultMOLECULE_STATE_FILE=/home/runner/.cache/molecule/wavefront_proxy/default/state.ymlMOLECULE_VERIFIER_NAME=ansibleMOLECULE_VERIFIER_TEST_DIRECTORY=/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/tests
  
  
  PLAY [Converge] ****************************************************************
  
  TASK [Gathering Facts] *********************************************************
  [WARNING]: The "podman" connection plugin has an improperly configured remote
  target value, forcing "inventory_hostname" templated value instead of the
  string
  fatal: [instance]: UNREACHABLE! => {"changed": false, "msg": "Failed to create temporary directory. In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\", for more error information use -vvv. Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp `\"&& mkdir \"` echo ~/.ansible/tmp/ansible-tmp-1656542085.1800933-11473-2042447327948[40](https://github.com/ericsysmin/ansible-collection-wavefront/runs/7121636403?check_suite_focus=true#step:7:40) `\" && echo ansible-tmp-16565[42](https://github.com/ericsysmin/ansible-collection-wavefront/runs/7121636403?check_suite_focus=true#step:7:42)085.1800933-11473-2042[44](https://github.com/ericsysmin/ansible-collection-wavefront/runs/7121636403?check_suite_focus=true#step:7:44)732794840=\"` echo ~/.ansible/tmp/ansible-tmp-1656542085.1800933-11473-204244732794840 `\" ), exited with result 255", "unreachable": true}
  
  PLAY RECAP *********************************************************************
  instance                   : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0
  
  WARNING  Retrying execution failure 4 of: ansible-playbook --diff --inventory /home/runner/.cache/molecule/wavefront_proxy/default/inventory --skip-tags molecule-notest,notest /home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/converge.yml
  CRITICAL Ansible return code was 4, command was: ['ansible-playbook', '--diff', '--inventory', '/home/runner/.cache/molecule/wavefront_proxy/default/inventory', '--skip-tags', 'molecule-notest,notest', '/home/runner/work/ansible-collection-wavefront/ansible-collection-wavefront/roles/wavefront_proxy/molecule/default/converge.yml']

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions