Closed jsf9k closed 5 months ago
@mcdonnnj and @felddy - The systemd_enabled
scenario succeeds locally on my Linux laptop, if I start with neither the amd64
nor the aarch64
geerlingguy/docker-debian11-ansible:latest
Docker images in docker images
. Do you know why it would be failing in GitHub Actions?
Note that I am running the tonistiigi/binfmt
foo before running molecule test --scenario-name systemd_enabled
.
(When I ran this on my local machine I ran molecule test --scenario-name systemd_enabled --destroy never
followed by molecule login -s systemd_enabled --host debian11-systemd-amd64
and molecule login -s systemd_enabled --host debian11-systemd-aarch64
. In both cases uname -m
confirmed that the appropriate hardware was being used.)
I fixed the previous problem by setting up buildx
before running the Molecule tests, and the tests now pass the first time (when no local version of the Docker image exists) just as they do on my local machine. Unfortunately, they fail the second time (when a local version of the Docker image exists) just as it does on my local machine.
Ah, right. I keep forgetting that every Ansible role is broken. :cry:
๐ฃ Description
This pull request adds
arm64
platforms to our Molecule testing.๐ญ Motivation and context
We need to test our Ansible roles on
arm64
so that we can migrate to Graviton instances.๐งช Testing
Automated tests pass.
โ Pre-approval checklist