molecule: install_deps> python -I -m pip install 'ansible-lint~=4.2.0' 'ansible~=2.9.6' 'detox~=0.18' docker 'molecule[docker]' 'molecule~=3.0.8' 'pytest~=5.4.0' yamllint molecule: freeze> python -m pip freeze --all molecule: ansible==2.9.27,ansible-lint==4.2.0,arrow==1.3.0,attrs==23.2.0,bcrypt==4.1.2,binaryornot==0.4.4,Cerberus==1.3.5,certifi==2023.11.17,cffi==1.16.0,chardet==5.2.0,charset-normalizer==3.3.2,click==8.1.7,click-completion==0.5.2,click-help-colors==0.9.4,colorama==0.4.6,cookiecutter==2.5.0,cryptography==42.0.1,detox==0.19,distlib==0.3.8,distro==1.9.0,dnspython==2.5.0,docker==7.0.0,eventlet==0.35.0,fasteners==0.19,filelock==3.13.1,greenlet==3.0.3,idna==3.6,Jinja2==3.1.3,markdown-it-py==3.0.0,MarkupSafe==2.1.4,mdurl==0.1.2,molecule==3.0.8,more-itertools==10.2.0,packaging==23.2,paramiko==2.12.0,pathspec==0.12.1,pexpect==4.9.0,pip==23.3.1,platformdirs==4.1.0,pluggy==0.13.1,ptyprocess==0.7.0,py==1.11.0,pycparser==2.21,Pygments==2.17.2,PyNaCl==1.5.0,pytest==5.4.3,python-dateutil==2.8.2,python-gilt==1.2.3,python-slugify==8.0.2,PyYAML==5.4.1,requests==2.31.0,rich==13.7.0,ruamel.yaml==0.18.5,ruamel.yaml.clib==0.2.8,selinux==0.2.1,setuptools==69.0.2,sh==1.13.1,shellingham==1.5.4,six==1.16.0,tabulate==0.9.0,text-unidecode==1.3,toml==0.10.2,tox==3.6.1,tree-format==0.1.2,types-python-dateutil==2.8.19.20240106,typing_extensions==4.9.0,urllib3==2.1.0,virtualenv==20.25.0,wcwidth==0.2.13,wheel==0.42.0,yamllint==1.33.0 molecule: commands[0]> ./molecule.sh --> Test matrix └── default ├── dependency ├── lint ├── cleanup ├── destroy ├── syntax ├── create ├── prepare ├── converge ├── idempotence ├── side_effect ├── verify ├── cleanup └── destroy --> Scenario: 'default' --> Action: 'dependency' Skipping, missing the requirements file. Skipping, missing the requirements file. --> Scenario: 'default' --> Action: 'lint' --> Executing: set -e yamllint . ansible-lint tasks/*.yml ./.github/workflow/gerrit-verify.yaml 113:91 warning too few spaces before comment (comments) ./molecule/default/prepare.yml 8:23 warning truthy value should be one of [false, true] (truthy) 24:19 warning truthy value should be one of [false, true] (truthy) 28:19 warning truthy value should be one of [false, true] (truthy) --> Scenario: 'default' --> Action: 'cleanup' Skipping, cleanup playbook not configured. --> Scenario: 'default' --> Action: 'destroy' --> Sanity checks: 'docker' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=centos7) changed: [localhost] => (item=centos8) changed: [localhost] => (item=ubuntu1804) changed: [localhost] => (item=ubuntu2004) TASK [Wait for instance(s) deletion to complete] ******************************* ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Delete docker network(s)] ************************************************ PLAY RECAP ********************************************************************* localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 --> Scenario: 'default' --> Action: 'syntax' playbook: /w/workspace/lf-infra-ansible-roles-tox-verify-any/molecule/default/converge.yml --> Scenario: 'default' --> Action: 'create' PLAY [Create] ****************************************************************** TASK [Log into a Docker registry] ********************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) TASK [Check presence of custom Dockerfiles] ************************************ ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Create Dockerfiles from image names] ************************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Discover local Docker images] ******************************************** ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Build an Ansible compatible image (new)] ********************************* changed: [localhost] => (item=molecule_local/centos:7) changed: [localhost] => (item=molecule_local/quay.io/centos/centos:stream8) changed: [localhost] => (item=molecule_local/ubuntu:18.04) changed: [localhost] => (item=molecule_local/ubuntu:20.04) TASK [Create docker network(s)] ************************************************ TASK [Determine the CMD directives] ******************************************** ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] => (item=None) ok: [localhost] TASK [Create molecule instance(s)] ********************************************* changed: [localhost] => (item=centos7) changed: [localhost] => (item=centos8) changed: [localhost] => (item=ubuntu1804) changed: [localhost] => (item=ubuntu2004) TASK [Wait for instance(s) creation to complete] ******************************* changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=7 changed=4 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 --> Scenario: 'default' --> Action: 'prepare' PLAY [Prepare] ***************************************************************** TASK [Gathering Facts] ********************************************************* ok: [ubuntu1804] ok: [ubuntu2004] ok: [centos8] ok: [centos7] TASK [Update APT cache] ******************************************************** skipping: [centos7] skipping: [centos8] changed: [ubuntu1804] changed: [ubuntu2004] TASK [Install EPEL release repo] *********************************************** skipping: [ubuntu1804] skipping: [ubuntu2004] changed: [centos7] TASK [DNF Install config-manager] ********************************************** skipping: [centos7] skipping: [ubuntu2004] skipping: [ubuntu1804] TASK [Enable PowerTools] ******************************************************* skipping: [ubuntu1804] skipping: [centos7] skipping: [ubuntu2004] PLAY RECAP ********************************************************************* centos7 : ok=2 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 centos8 : ok=1 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 ubuntu1804 : ok=2 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 ubuntu2004 : ok=2 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 An error occurred during the test sequence action: 'prepare'. Cleaning up. --> Scenario: 'default' --> Action: 'cleanup' Skipping, cleanup playbook not configured. --> Scenario: 'default' --> Action: 'destroy' PLAY [Destroy] ***************************************************************** TASK [Destroy molecule instance(s)] ******************************************** changed: [localhost] => (item=centos7) changed: [localhost] => (item=centos8) changed: [localhost] => (item=ubuntu1804) changed: [localhost] => (item=ubuntu2004) TASK [Wait for instance(s) deletion to complete] ******************************* FAILED - RETRYING: Wait for instance(s) deletion to complete (300 retries left). changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] => (item=None) changed: [localhost] TASK [Delete docker network(s)] ************************************************ PLAY RECAP ********************************************************************* localhost : ok=2 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 --> Pruning extra files from scenario ephemeral directory molecule: exit 1 (155.30 seconds) /w/workspace/lf-infra-ansible-roles-tox-verify-any> ./molecule.sh pid=3131 molecule: FAIL ✖ in 3 minutes 20.21 seconds pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.8,filelock==3.13.1,identify==2.5.33,nodeenv==1.8.0,pip==23.3.1,platformdirs==4.1.0,pre-commit==3.5.0,PyYAML==6.0.1,setuptools==69.0.2,virtualenv==20.25.0,wheel==0.42.0 pre-commit: commands[0]> pre-commit run --all-files --show-diff-on-failure [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... trim trailing whitespace.................................................Passed pre-commit: commands[1]> /bin/sh -c 'if ! git config --get user.name > /dev/null; then git config --global --add user.name "CI"; touch .git/REMOVE_USERNAME; fi' pre-commit: commands[2]> /bin/sh -c 'if ! git config --get user.email > /dev/null; then git config --global --add user.email "ci@example.org"; touch .git/REMOVE_USEREMAIL; fi' pre-commit: commands[3]> /bin/sh -c 'if [ -f .git/COMMIT_EDITMSG ]; then cp .git/COMMIT_EDITMSG .git/COMMIT_MSGTOX; else git log HEAD -n1 | tail -n +5 | cut -c 5- > .git/COMMIT_MSGTOX; fi' pre-commit: commands[4]> pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_MSGTOX [INFO] Installing environment for https://github.com/jorisroovers/gitlint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... gitlint..................................................................Passed pre-commit: commands[5]> /bin/sh -c 'rm -f .git/COMMIT_MSGTOX' pre-commit: commands[6]> /bin/sh -c 'if [ -f .git/REMOVE_USERNAME ]; then git config --global --unset user.name; rm -f .git/REMOVE_USERNAME; fi' pre-commit: commands[7]> /bin/sh -c 'if [ -f .git/REMOVE_USEREMAIL ]; then git config --global --unset user.email; rm -f .git/REMOVE_USEREMAIL; fi' molecule: FAIL code 1 (200.21=setup[44.91]+cmd[155.30] seconds) pre-commit: OK (19.45=setup[3.41]+cmd[6.22,0.01,0.01,0.01,9.79,0.01,0.01,0.01] seconds) evaluation failed :( (219.73 seconds)