Skip to content

Commit 1831955

Browse files
committed
Fix edpm_kernel molecule job
The job is constantly failing with an error: TASK [../../../../molecule/common/test_deps : Gather facts if they don't exist] *** Friday 10 October 2025 06:52:38 +0000 (0:00:00.019) 0:00:00.036 ******** 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 /tmp `"&& mkdir "` echo /tmp/ansible-tmp-1760079158.4157672-25921-94583121902720 `" && echo ansible-tmp-1760079158.4157672-25921-94583121902720="` echo /tmp/ansible-tmp-1760079158.4157672-25921-94583121902720 `" ), exited with result 125' unreachable: true Depends-On: openstack-k8s-operators/ci-framework#3414 Signed-off-by: Daniel Pawlik <[email protected]>
1 parent 95aa63d commit 1831955

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

roles/edpm_kernel/molecule/default/molecule.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ dependency:
66
driver:
77
name: podman
88
platforms:
9-
- command: /sbin/init
10-
dockerfile: ../../../../molecule/common/Containerfile.j2
11-
image: ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
12-
name: instance
13-
privileged: true
14-
registry:
15-
url: ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
16-
ulimits:
17-
- host
9+
- command: /sbin/init
10+
dockerfile: ../../../../molecule/common/Containerfile.j2
11+
image: ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
12+
name: instance
13+
privileged: true
14+
registry:
15+
url: ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
16+
ulimits:
17+
- host
1818
provisioner:
1919
inventory:
2020
hosts:
@@ -29,11 +29,10 @@ provisioner:
2929
cleanup: ${MOLECULE_SCENARIO_DIRECTORY}/../../resources/molecule/cleanup.yml
3030
prepare: ${MOLECULE_SCENARIO_DIRECTORY}/../../resources/molecule/prepare.yml
3131
scenario:
32-
name: default
3332
test_sequence:
34-
- prepare
35-
- converge
36-
- check
37-
- cleanup
33+
- prepare
34+
- converge
35+
- check
36+
- cleanup
3837
verifier:
3938
name: testinfra

zuul.d/jobs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
- ^roles/edpm_kernel/(defaults|files|handlers|library|lookup_plugins|module_utils|molecule|tasks|templates|vars).*
4040
vars:
4141
TEST_RUN: edpm_kernel
42+
mol_config_dir: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/.config/molecule/config_podman.yml"
4243
- job:
4344
name: edpm-ansible-molecule-edpm_libvirt
4445
parent: edpm-ansible-molecule-base

0 commit comments

Comments
 (0)