Skip to content

Commit 702d94d

Browse files
committed
Exclude several ARM64 scenarios from Molecule testing
TODO: Starting with systemd version 253 or 254 (I'm not sure which) it is no longer possible to start systemd-resolved.service under QEMU emulation. We support this case, but we cannot test it until we have native ARM64 runners. See issue #10 for more details.
1 parent f0f2485 commit 702d94d

File tree

4 files changed

+243
-135
lines changed

4 files changed

+243
-135
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,24 @@ jobs:
180180
architecture:
181181
- amd64
182182
- arm64
183+
exclude:
184+
# TODO: Starting with systemd version 253 or 254 (I'm not
185+
# sure which) it is no longer possible to start
186+
# systemd-resolved.service under QEMU emulation. We
187+
# support this case, but we cannot test it until we have
188+
# native ARM64 runners.
189+
#
190+
# See issue #10 for more details.
191+
- architecture: arm64
192+
platform: debian13-systemd
193+
- architecture: arm64
194+
platform: fedora39-systemd
195+
- architecture: arm64
196+
platform: fedora40-systemd
197+
- architecture: arm64
198+
platform: kali-systemd
199+
- architecture: arm64
200+
platform: ubuntu-24-systemd
183201
platform:
184202
- amazonlinux2023-systemd
185203
# These platforms do not provide systemd-resolved.

molecule/default/molecule.yml

Lines changed: 75 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,21 @@ platforms:
8686
privileged: true
8787
volumes:
8888
- /sys/fs/cgroup:/sys/fs/cgroup:rw
89-
- cgroupns_mode: host
90-
command: /lib/systemd/systemd
91-
image: docker.io/cisagov/docker-debian13-ansible:latest
92-
name: debian13-systemd-arm64
93-
platform: arm64
94-
pre_build_image: true
95-
privileged: true
96-
volumes:
97-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
89+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
90+
# which) it is no longer possible to start systemd-resolved.service
91+
# under QEMU emulation. We support this case, but we cannot test it
92+
# until we have native ARM64 runners.
93+
#
94+
# See issue #10 for more details.
95+
# - cgroupns_mode: host
96+
# command: /lib/systemd/systemd
97+
# image: docker.io/cisagov/docker-debian13-ansible:latest
98+
# name: debian13-systemd-arm64
99+
# platform: arm64
100+
# pre_build_image: true
101+
# privileged: true
102+
# volumes:
103+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
98104
- cgroupns_mode: host
99105
command: /lib/systemd/systemd
100106
image: docker.io/cisagov/docker-kali-ansible:latest
@@ -104,15 +110,21 @@ platforms:
104110
privileged: true
105111
volumes:
106112
- /sys/fs/cgroup:/sys/fs/cgroup:rw
107-
- cgroupns_mode: host
108-
command: /lib/systemd/systemd
109-
image: docker.io/cisagov/docker-kali-ansible:latest
110-
name: kali-systemd-arm64
111-
platform: arm64
112-
pre_build_image: true
113-
privileged: true
114-
volumes:
115-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
113+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
114+
# which) it is no longer possible to start systemd-resolved.service
115+
# under QEMU emulation. We support this case, but we cannot test it
116+
# until we have native ARM64 runners.
117+
#
118+
# See issue #10 for more details.
119+
# - cgroupns_mode: host
120+
# command: /lib/systemd/systemd
121+
# image: docker.io/cisagov/docker-kali-ansible:latest
122+
# name: kali-systemd-arm64
123+
# platform: arm64
124+
# pre_build_image: true
125+
# privileged: true
126+
# volumes:
127+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
116128
- cgroupns_mode: host
117129
command: /lib/systemd/systemd
118130
image: docker.io/geerlingguy/docker-fedora39-ansible:latest
@@ -122,15 +134,21 @@ platforms:
122134
privileged: true
123135
volumes:
124136
- /sys/fs/cgroup:/sys/fs/cgroup:rw
125-
- cgroupns_mode: host
126-
command: /lib/systemd/systemd
127-
image: docker.io/geerlingguy/docker-fedora39-ansible:latest
128-
name: fedora39-systemd-arm64
129-
platform: arm64
130-
pre_build_image: true
131-
privileged: true
132-
volumes:
133-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
137+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
138+
# which) it is no longer possible to start systemd-resolved.service
139+
# under QEMU emulation. We support this case, but we cannot test it
140+
# until we have native ARM64 runners.
141+
#
142+
# See issue #10 for more details.
143+
# - cgroupns_mode: host
144+
# command: /lib/systemd/systemd
145+
# image: docker.io/geerlingguy/docker-fedora39-ansible:latest
146+
# name: fedora39-systemd-arm64
147+
# platform: arm64
148+
# pre_build_image: true
149+
# privileged: true
150+
# volumes:
151+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
134152
- cgroupns_mode: host
135153
command: /lib/systemd/systemd
136154
image: docker.io/geerlingguy/docker-fedora40-ansible:latest
@@ -140,15 +158,21 @@ platforms:
140158
privileged: true
141159
volumes:
142160
- /sys/fs/cgroup:/sys/fs/cgroup:rw
143-
- cgroupns_mode: host
144-
command: /lib/systemd/systemd
145-
image: docker.io/geerlingguy/docker-fedora40-ansible:latest
146-
name: fedora40-systemd-arm64
147-
platform: arm64
148-
pre_build_image: true
149-
privileged: true
150-
volumes:
151-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
161+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
162+
# which) it is no longer possible to start systemd-resolved.service
163+
# under QEMU emulation. We support this case, but we cannot test it
164+
# until we have native ARM64 runners.
165+
#
166+
# See issue #10 for more details.
167+
# - cgroupns_mode: host
168+
# command: /lib/systemd/systemd
169+
# image: docker.io/geerlingguy/docker-fedora40-ansible:latest
170+
# name: fedora40-systemd-arm64
171+
# platform: arm64
172+
# pre_build_image: true
173+
# privileged: true
174+
# volumes:
175+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
152176
# These platforms do not provide systemd-resolved.
153177
# - cgroupns_mode: host
154178
# command: /lib/systemd/systemd
@@ -195,15 +219,21 @@ platforms:
195219
privileged: true
196220
volumes:
197221
- /sys/fs/cgroup:/sys/fs/cgroup:rw
198-
- cgroupns_mode: host
199-
command: /lib/systemd/systemd
200-
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
201-
name: ubuntu-24-systemd-arm64
202-
platform: arm64
203-
pre_build_image: true
204-
privileged: true
205-
volumes:
206-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
222+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
223+
# which) it is no longer possible to start systemd-resolved.service
224+
# under QEMU emulation. We support this case, but we cannot test it
225+
# until we have native ARM64 runners.
226+
#
227+
# See issue #10 for more details.
228+
# - cgroupns_mode: host
229+
# command: /lib/systemd/systemd
230+
# image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
231+
# name: ubuntu-24-systemd-arm64
232+
# platform: arm64
233+
# pre_build_image: true
234+
# privileged: true
235+
# volumes:
236+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
207237
scenario:
208238
name: default
209239
verifier:

molecule/disable_stub_resolver/molecule.yml

Lines changed: 75 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,21 @@ platforms:
8686
privileged: true
8787
volumes:
8888
- /sys/fs/cgroup:/sys/fs/cgroup:rw
89-
- cgroupns_mode: host
90-
command: /lib/systemd/systemd
91-
image: docker.io/cisagov/docker-debian13-ansible:latest
92-
name: debian13-systemd-arm64
93-
platform: arm64
94-
pre_build_image: true
95-
privileged: true
96-
volumes:
97-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
89+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
90+
# which) it is no longer possible to start systemd-resolved.service
91+
# under QEMU emulation. We support this case, but we cannot test it
92+
# until we have native ARM64 runners.
93+
#
94+
# See issue #10 for more details.
95+
# - cgroupns_mode: host
96+
# command: /lib/systemd/systemd
97+
# image: docker.io/cisagov/docker-debian13-ansible:latest
98+
# name: debian13-systemd-arm64
99+
# platform: arm64
100+
# pre_build_image: true
101+
# privileged: true
102+
# volumes:
103+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
98104
- cgroupns_mode: host
99105
command: /lib/systemd/systemd
100106
image: docker.io/cisagov/docker-kali-ansible:latest
@@ -104,15 +110,21 @@ platforms:
104110
privileged: true
105111
volumes:
106112
- /sys/fs/cgroup:/sys/fs/cgroup:rw
107-
- cgroupns_mode: host
108-
command: /lib/systemd/systemd
109-
image: docker.io/cisagov/docker-kali-ansible:latest
110-
name: kali-systemd-arm64
111-
platform: arm64
112-
pre_build_image: true
113-
privileged: true
114-
volumes:
115-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
113+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
114+
# which) it is no longer possible to start systemd-resolved.service
115+
# under QEMU emulation. We support this case, but we cannot test it
116+
# until we have native ARM64 runners.
117+
#
118+
# See issue #10 for more details.
119+
# - cgroupns_mode: host
120+
# command: /lib/systemd/systemd
121+
# image: docker.io/cisagov/docker-kali-ansible:latest
122+
# name: kali-systemd-arm64
123+
# platform: arm64
124+
# pre_build_image: true
125+
# privileged: true
126+
# volumes:
127+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
116128
- cgroupns_mode: host
117129
command: /lib/systemd/systemd
118130
image: docker.io/geerlingguy/docker-fedora39-ansible:latest
@@ -122,15 +134,21 @@ platforms:
122134
privileged: true
123135
volumes:
124136
- /sys/fs/cgroup:/sys/fs/cgroup:rw
125-
- cgroupns_mode: host
126-
command: /lib/systemd/systemd
127-
image: docker.io/geerlingguy/docker-fedora39-ansible:latest
128-
name: fedora39-systemd-arm64
129-
platform: arm64
130-
pre_build_image: true
131-
privileged: true
132-
volumes:
133-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
137+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
138+
# which) it is no longer possible to start systemd-resolved.service
139+
# under QEMU emulation. We support this case, but we cannot test it
140+
# until we have native ARM64 runners.
141+
#
142+
# See issue #10 for more details.
143+
# - cgroupns_mode: host
144+
# command: /lib/systemd/systemd
145+
# image: docker.io/geerlingguy/docker-fedora39-ansible:latest
146+
# name: fedora39-systemd-arm64
147+
# platform: arm64
148+
# pre_build_image: true
149+
# privileged: true
150+
# volumes:
151+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
134152
- cgroupns_mode: host
135153
command: /lib/systemd/systemd
136154
image: docker.io/geerlingguy/docker-fedora40-ansible:latest
@@ -140,15 +158,21 @@ platforms:
140158
privileged: true
141159
volumes:
142160
- /sys/fs/cgroup:/sys/fs/cgroup:rw
143-
- cgroupns_mode: host
144-
command: /lib/systemd/systemd
145-
image: docker.io/geerlingguy/docker-fedora40-ansible:latest
146-
name: fedora40-systemd-arm64
147-
platform: arm64
148-
pre_build_image: true
149-
privileged: true
150-
volumes:
151-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
161+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
162+
# which) it is no longer possible to start systemd-resolved.service
163+
# under QEMU emulation. We support this case, but we cannot test it
164+
# until we have native ARM64 runners.
165+
#
166+
# See issue #10 for more details.
167+
# - cgroupns_mode: host
168+
# command: /lib/systemd/systemd
169+
# image: docker.io/geerlingguy/docker-fedora40-ansible:latest
170+
# name: fedora40-systemd-arm64
171+
# platform: arm64
172+
# pre_build_image: true
173+
# privileged: true
174+
# volumes:
175+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
152176
# These platforms do not provide systemd-resolved.
153177
# - cgroupns_mode: host
154178
# command: /lib/systemd/systemd
@@ -195,15 +219,21 @@ platforms:
195219
privileged: true
196220
volumes:
197221
- /sys/fs/cgroup:/sys/fs/cgroup:rw
198-
- cgroupns_mode: host
199-
command: /lib/systemd/systemd
200-
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
201-
name: ubuntu-24-systemd-arm64
202-
platform: arm64
203-
pre_build_image: true
204-
privileged: true
205-
volumes:
206-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
222+
# TODO: Starting with systemd version 253 or 254 (I'm not sure
223+
# which) it is no longer possible to start systemd-resolved.service
224+
# under QEMU emulation. We support this case, but we cannot test it
225+
# until we have native ARM64 runners.
226+
#
227+
# See issue #10 for more details.
228+
# - cgroupns_mode: host
229+
# command: /lib/systemd/systemd
230+
# image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
231+
# name: ubuntu-24-systemd-arm64
232+
# platform: arm64
233+
# pre_build_image: true
234+
# privileged: true
235+
# volumes:
236+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
207237
scenario:
208238
name: disable_stub_resolver
209239
verifier:

0 commit comments

Comments
 (0)