Skip to content

Commit 19e6650

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 Depends-On: openstack-k8s-operators/ci-framework#3417 Signed-off-by: Daniel Pawlik <[email protected]>
1 parent 95aa63d commit 19e6650

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

roles/edpm_kernel/molecule/default/molecule.yml

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,44 @@ dependency:
55
role-file: collections.yml
66
driver:
77
name: podman
8+
log: true
89
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
10+
- command: /sbin/init
11+
dockerfile: ../../../../molecule/common/Containerfile.j2
12+
image: ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
13+
name: instance
14+
privileged: true
15+
registry:
16+
url: ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
17+
environment:
18+
http_proxy: "{{ lookup('env', 'http_proxy') }}"
19+
https_proxy: "{{ lookup('env', 'https_proxy') }}"
20+
ulimits:
21+
- host
1822
provisioner:
1923
inventory:
2024
hosts:
2125
all:
2226
hosts:
2327
instance:
24-
ansible_connection: local
25-
ansible_host: localhost
26-
log: true
28+
ansible_python_interpreter: /usr/bin/python3
29+
# NOTE: we don't include group_vars here as ci-framework do.
2730
name: ansible
31+
log: true
2832
playbooks:
2933
cleanup: ${MOLECULE_SCENARIO_DIRECTORY}/../../resources/molecule/cleanup.yml
3034
prepare: ${MOLECULE_SCENARIO_DIRECTORY}/../../resources/molecule/prepare.yml
35+
env:
36+
ANSIBLE_STDOUT_CALLBACK: yaml
37+
config_options:
38+
defaults:
39+
remote_tmp: /tmp
3140
scenario:
3241
name: default
3342
test_sequence:
34-
- prepare
35-
- converge
36-
- check
37-
- cleanup
43+
- prepare
44+
- converge
45+
- check
46+
- cleanup
3847
verifier:
3948
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: false
4243
- job:
4344
name: edpm-ansible-molecule-edpm_libvirt
4445
parent: edpm-ansible-molecule-base

0 commit comments

Comments
 (0)