Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Molecule (ubuntu2204) の Job が fail する #4

Open
ktooi opened this issue Mar 8, 2023 · 0 comments
Open

Molecule (ubuntu2204) の Job が fail する #4

ktooi opened this issue Mar 8, 2023 · 0 comments

Comments

@ktooi
Copy link
Owner

ktooi commented Mar 8, 2023

Molecule の converge を実行しようとした際に job が fail している。

ubuntu2204 のイメージでのみ発生しており、 Gathering Facts のタスクで fatal が出力されていることから、 Role の更新は関係なさそう。
以前は同様の問題は発生していなかった。更新されたイメージの問題?

https://github.com/ktooi/ansible-role-crio/actions/runs/4364865678/jobs/7632820534

INFO     Running default > converge
Molecule default > converge
  
  PLAY [Converge] ****************************************************************
  
  TASK [Gathering Facts] *********************************************************
  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-1678283193.9046543-2787-22166436641[105](https://github.com/ktooi/ansible-role-crio/actions/runs/4364865678/jobs/7632820534#step:6:113)1 `\" && echo ansible-tmp-1678283193.9046543-2787-2216643664[110](https://github.com/ktooi/ansible-role-crio/actions/runs/4364865678/jobs/7632820534#step:6:118)51=\"` echo ~/.ansible/tmp/ansible-tmp-1678283193.9046543-2787-221664366411051 `\" ), exited with result 1", "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/ktooi.crio/default/inventory --skip-tags molecule-notest,notest /home/runner/work/ansible-role-crio/ansible-role-crio/ktooi.crio/molecule/default/converge.yml
  CRITICAL Ansible return code was 4, command was: ['ansible-playbook', '--diff', '--inventory', '/home/runner/.cache/molecule/ktooi.crio/default/inventory', '--skip-tags', 'molecule-notest,notest', '/home/runner/work/ansible-role-crio/ansible-role-crio/ktooi.crio/molecule/default/converge.yml']
WARNING  An error occurred during the test sequence action: 'converge'. Cleaning up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant