molecule: install_deps> python -I -m pip install ansible docker molecule molecule-docker molecule: freeze> python -m pip freeze --all molecule: ansible==9.2.0,ansible-compat==4.1.11,ansible-core==2.16.3,attrs==23.2.0,bracex==2.4,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,click==8.1.7,click-help-colors==0.9.4,cryptography==42.0.2,distro==1.9.0,docker==7.0.0,enrich==1.2.7,idna==3.6,Jinja2==3.1.3,jsonschema==4.21.1,jsonschema-specifications==2023.12.1,markdown-it-py==3.0.0,MarkupSafe==2.1.5,mdurl==0.1.2,molecule==24.2.0,molecule-docker==2.1.0,packaging==23.2,pip==23.3.1,pluggy==1.4.0,pycparser==2.21,Pygments==2.17.2,PyYAML==6.0.1,referencing==0.33.0,requests==2.31.0,resolvelib==1.0.1,rich==13.7.0,rpds-py==0.17.1,selinux==0.3.0,setuptools==69.0.2,subprocess-tee==0.4.1,urllib3==2.2.0,wcmatch==8.5,wheel==0.42.0 molecule: commands[0]> ./molecule.sh PLAY [Destroy] ***************************************************************** TASK [Set async_dir for HOME env] ********************************************** ok: [localhost] 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=centos7) ok: [localhost] => (item=centos8) ok: [localhost] => (item=ubuntu1804) ok: [localhost] => (item=ubuntu2004) TASK [Delete docker networks(s)] *********************************************** skipping: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 playbook: /w/workspace/lf-infra-ansible-roles-tox-verify-any/molecule/default/converge.yml PLAY [Create] ****************************************************************** TASK [Set async_dir for HOME env] ********************************************** ok: [localhost] TASK [Log into a Docker registry] ********************************************** skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) skipping: [localhost] => (item=None) skipping: [localhost] TASK [Check presence of custom Dockerfiles] ************************************ ok: [localhost] => (item={'image': 'centos:7', 'name': 'centos7'}) ok: [localhost] => (item={'image': 'quay.io/centos/centos:stream8', 'name': 'centos8'}) ok: [localhost] => (item={'image': 'ubuntu:18.04', 'name': 'ubuntu1804'}) ok: [localhost] => (item={'image': 'ubuntu:20.04', 'name': 'ubuntu2004'}) TASK [Create Dockerfiles from image names] ************************************* changed: [localhost] => (item={'image': 'centos:7', 'name': 'centos7'}) changed: [localhost] => (item={'image': 'quay.io/centos/centos:stream8', 'name': 'centos8'}) changed: [localhost] => (item={'image': 'ubuntu:18.04', 'name': 'ubuntu1804'}) changed: [localhost] => (item={'image': 'ubuntu:20.04', 'name': 'ubuntu2004'}) TASK [Synchronization the context] ********************************************* changed: [localhost] => (item={'image': 'centos:7', 'name': 'centos7'}) ok: [localhost] => (item={'image': 'quay.io/centos/centos:stream8', 'name': 'centos8'}) ok: [localhost] => (item={'image': 'ubuntu:18.04', 'name': 'ubuntu1804'}) ok: [localhost] => (item={'image': 'ubuntu:20.04', 'name': 'ubuntu2004'}) TASK [Discover local Docker images] ******************************************** ok: [localhost] => (item={'diff': [], 'dest': '/home/jenkins/.cache/molecule/lf-infra-ansible-roles-tox-verify-any/default/Dockerfile_centos_7', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707432864.627635-3451-50751289493854/source', 'md5sum': '7cd3068447b3fa64265b301e56637814', 'checksum': '86cf5647c3542cd3e8a18787ace2eb98422f513d', 'changed': True, 'uid': 1001, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 1037, 'invocation': {'module_args': {'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707432864.627635-3451-50751289493854/source', 'dest': '/home/jenkins/.cache/molecule/lf-infra-ansible-roles-tox-verify-any/default/Dockerfile_centos_7', 'mode': '0600', 'follow': False, '_original_basename': 'Dockerfile.j2', 'checksum': '86cf5647c3542cd3e8a18787ace2eb98422f513d', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': {'image': 'centos:7', 'name': 'centos7'}, 'ansible_loop_var': 'item', 'i': 0, 'ansible_index_var': 'i'}) ok: [localhost] => (item={'diff': [], 'dest': '/home/jenkins/.cache/molecule/lf-infra-ansible-roles-tox-verify-any/default/Dockerfile_quay_io_centos_centos_stream8', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707432865.1721148-3451-173601465900176/source', 'md5sum': '4e23d6551b1e26b5e17b7817058b05af', 'checksum': '0e3480e91d0badd8869731ac699278a72fa3fe7e', 'changed': True, 'uid': 1001, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 1058, 'invocation': {'module_args': {'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707432865.1721148-3451-173601465900176/source', 'dest': '/home/jenkins/.cache/molecule/lf-infra-ansible-roles-tox-verify-any/default/Dockerfile_quay_io_centos_centos_stream8', 'mode': '0600', 'follow': False, '_original_basename': 'Dockerfile.j2', 'checksum': '0e3480e91d0badd8869731ac699278a72fa3fe7e', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': {'image': 'quay.io/centos/centos:stream8', 'name': 'centos8'}, 'ansible_loop_var': 'item', 'i': 1, 'ansible_index_var': 'i'}) ok: [localhost] => (item={'diff': [], 'dest': '/home/jenkins/.cache/molecule/lf-infra-ansible-roles-tox-verify-any/default/Dockerfile_ubuntu_18_04', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707432865.5772114-3451-46373817677502/source', 'md5sum': '80e824f1760088681943642976797a48', 'checksum': '698991f93f5e0d29fe7e370f9dfdf44119b3f7a0', 'changed': True, 'uid': 1001, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 1041, 'invocation': {'module_args': {'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707432865.5772114-3451-46373817677502/source', 'dest': '/home/jenkins/.cache/molecule/lf-infra-ansible-roles-tox-verify-any/default/Dockerfile_ubuntu_18_04', 'mode': '0600', 'follow': False, '_original_basename': 'Dockerfile.j2', 'checksum': '698991f93f5e0d29fe7e370f9dfdf44119b3f7a0', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': {'image': 'ubuntu:18.04', 'name': 'ubuntu1804'}, 'ansible_loop_var': 'item', 'i': 2, 'ansible_index_var': 'i'}) ok: [localhost] => (item={'diff': [], 'dest': '/home/jenkins/.cache/molecule/lf-infra-ansible-roles-tox-verify-any/default/Dockerfile_ubuntu_20_04', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707432865.9918444-3451-80246078757629/source', 'md5sum': '84dd365820fd171639eec1118e3ebda4', 'checksum': '703571a5a8af2e857377f142d22875dc25d33b5a', 'changed': True, 'uid': 1001, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 1041, 'invocation': {'module_args': {'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707432865.9918444-3451-80246078757629/source', 'dest': '/home/jenkins/.cache/molecule/lf-infra-ansible-roles-tox-verify-any/default/Dockerfile_ubuntu_20_04', 'mode': '0600', 'follow': False, '_original_basename': 'Dockerfile.j2', 'checksum': '703571a5a8af2e857377f142d22875dc25d33b5a', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': {'image': 'ubuntu:20.04', 'name': 'ubuntu2004'}, 'ansible_loop_var': 'item', 'i': 3, 'ansible_index_var': 'i'}) 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)] ************************************************ skipping: [localhost] TASK [Determine the CMD directives] ******************************************** ok: [localhost] => (item={'image': 'centos:7', 'name': 'centos7'}) ok: [localhost] => (item={'image': 'quay.io/centos/centos:stream8', 'name': 'centos8'}) ok: [localhost] => (item={'image': 'ubuntu:18.04', 'name': 'ubuntu1804'}) ok: [localhost] => (item={'image': 'ubuntu:20.04', 'name': 'ubuntu2004'}) 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={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': 'j728945143433.11320', 'results_file': '/home/jenkins/.ansible_async/j728945143433.11320', 'changed': True, 'item': {'image': 'centos:7', 'name': 'centos7'}, 'ansible_loop_var': 'item'}) changed: [localhost] => (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': 'j411216371918.11345', 'results_file': '/home/jenkins/.ansible_async/j411216371918.11345', 'changed': True, 'item': {'image': 'quay.io/centos/centos:stream8', 'name': 'centos8'}, 'ansible_loop_var': 'item'}) changed: [localhost] => (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': 'j351743099963.11370', 'results_file': '/home/jenkins/.ansible_async/j351743099963.11370', 'changed': True, 'item': {'image': 'ubuntu:18.04', 'name': 'ubuntu1804'}, 'ansible_loop_var': 'item'}) changed: [localhost] => (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': 'j15909352711.11470', 'results_file': '/home/jenkins/.ansible_async/j15909352711.11470', 'changed': True, 'item': {'image': 'ubuntu:20.04', 'name': 'ubuntu2004'}, 'ansible_loop_var': 'item'}) PLAY RECAP ********************************************************************* localhost : ok=9 changed=5 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 PLAY [Prepare] ***************************************************************** TASK [Gathering Facts] ********************************************************* ok: [centos8] ok: [ubuntu2004] ok: [ubuntu1804] ok: [centos7] TASK [Update APT cache] ******************************************************** skipping: [centos7] skipping: [centos8] changed: [ubuntu1804] changed: [ubuntu2004] TASK [Install cron] ************************************************************ skipping: [ubuntu1804] skipping: [ubuntu2004] changed: [centos7] changed: [centos8] TASK [Install packages] ******************************************************** changed: [centos7] changed: [centos8] changed: [ubuntu1804] changed: [ubuntu2004] PLAY RECAP ********************************************************************* centos7 : ok=3 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 centos8 : ok=3 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 ubuntu1804 : ok=3 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 ubuntu2004 : ok=3 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAY [Converge] **************************************************************** TASK [Gathering Facts] ********************************************************* ok: [centos8] ok: [ubuntu2004] ok: [ubuntu1804] ok: [centos7] TASK [lf-infra-ansible-roles-tox-verify-any : Download protoc binary 25.2] ***** changed: [centos7] changed: [ubuntu1804] changed: [centos8] changed: [ubuntu2004] TASK [lf-infra-ansible-roles-tox-verify-any : Ensure protoc unpack directory exists] *** changed: [ubuntu2004] changed: [centos7] changed: [ubuntu1804] changed: [centos8] TASK [lf-infra-ansible-roles-tox-verify-any : Unarchive protoc binary: 25.2] *** changed: [centos8] changed: [ubuntu1804] changed: [ubuntu2004] changed: [centos7] TASK [lf-infra-ansible-roles-tox-verify-any : Copy Protoc binary to /usr/local/bin] *** changed: [centos7] changed: [centos8] changed: [ubuntu1804] changed: [ubuntu2004] TASK [lf-infra-ansible-roles-tox-verify-any : Copy Protoc includes to /usr/local/include] *** changed: [ubuntu1804] changed: [ubuntu2004] changed: [centos8] changed: [centos7] TASK [lf-infra-ansible-roles-tox-verify-any : Set permissions on /usr/local/include/google] *** changed: [centos7] changed: [ubuntu1804] changed: [ubuntu2004] changed: [centos8] PLAY RECAP ********************************************************************* centos7 : ok=7 changed=6 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 centos8 : ok=7 changed=6 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ubuntu1804 : ok=7 changed=6 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ubuntu2004 : ok=7 changed=6 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 PLAY [Converge] **************************************************************** TASK [Gathering Facts] ********************************************************* ok: [centos8] ok: [ubuntu2004] ok: [ubuntu1804] ok: [centos7] TASK [lf-infra-ansible-roles-tox-verify-any : Download protoc binary 25.2] ***** ok: [centos7] ok: [ubuntu2004] ok: [ubuntu1804] ok: [centos8] TASK [lf-infra-ansible-roles-tox-verify-any : Ensure protoc unpack directory exists] *** ok: [ubuntu1804] ok: [centos7] ok: [ubuntu2004] ok: [centos8] TASK [lf-infra-ansible-roles-tox-verify-any : Unarchive protoc binary: 25.2] *** ok: [centos8] ok: [ubuntu2004] ok: [ubuntu1804] ok: [centos7] TASK [lf-infra-ansible-roles-tox-verify-any : Copy Protoc binary to /usr/local/bin] *** ok: [centos7] ok: [ubuntu1804] ok: [ubuntu2004] ok: [centos8] TASK [lf-infra-ansible-roles-tox-verify-any : Copy Protoc includes to /usr/local/include] *** ok: [centos7] ok: [centos8] ok: [ubuntu2004] ok: [ubuntu1804] TASK [lf-infra-ansible-roles-tox-verify-any : Set permissions on /usr/local/include/google] *** ok: [centos7] ok: [centos8] ok: [ubuntu2004] ok: [ubuntu1804] PLAY RECAP ********************************************************************* centos7 : ok=7 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 centos8 : ok=7 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ubuntu1804 : ok=7 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ubuntu2004 : ok=7 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 PLAY [Destroy] ***************************************************************** TASK [Set async_dir for HOME env] ********************************************** ok: [localhost] 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: [localhost]: Wait for instance(s) deletion to complete (300 retries left). changed: [localhost] => (item=centos7) changed: [localhost] => (item=centos8) changed: [localhost] => (item=ubuntu1804) changed: [localhost] => (item=ubuntu2004) TASK [Delete docker networks(s)] *********************************************** skipping: [localhost] PLAY RECAP ********************************************************************* localhost : ok=3 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 molecule: OK ✔ in 3 minutes 19.09 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.2.0,pre-commit==3.6.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' pre-commit: OK ✔ in 18.67 seconds lint: install_deps> python -I -m pip install ansible-lint yamllint lint: freeze> python -m pip freeze --all lint: ansible-compat==4.1.11,ansible-core==2.16.3,ansible-lint==24.2.0,attrs==23.2.0,black==24.1.1,bracex==2.4,cffi==1.16.0,click==8.1.7,cryptography==42.0.2,filelock==3.13.1,Jinja2==3.1.3,jsonschema==4.21.1,jsonschema-specifications==2023.12.1,markdown-it-py==3.0.0,MarkupSafe==2.1.5,mdurl==0.1.2,mypy-extensions==1.0.0,packaging==23.2,pathspec==0.12.1,pip==23.3.1,platformdirs==4.2.0,pycparser==2.21,Pygments==2.17.2,PyYAML==6.0.1,referencing==0.33.0,resolvelib==1.0.1,rich==13.7.0,rpds-py==0.17.1,ruamel.yaml==0.18.6,ruamel.yaml.clib==0.2.8,setuptools==69.0.2,subprocess-tee==0.4.1,tomli==2.0.1,typing_extensions==4.9.0,wcmatch==8.5,wheel==0.42.0,yamllint==1.34.0 lint: commands[0]> /bin/bash -c 'ansible-lint tasks/*.yml' lint: commands[1]> yamllint . ./.github/workflows/gerrit-verify.yaml 113:91 warning too few spaces before comment (comments) molecule: OK (199.09=setup[37.66]+cmd[161.43] seconds) pre-commit: OK (18.67=setup[3.46]+cmd[5.64,0.01,0.01,0.00,9.54,0.00,0.00,0.00] seconds) lint: OK (14.80=setup[10.51]+cmd[3.63,0.66] seconds) congratulations :) (232.72 seconds)