Open jsf9k opened 3 years ago
Current workaround is to re-run the job until it passes. Not great, but it's what we've got until we get a chance to fix this.
Re-running the job is no longer sufficient. In addition to the sporadic error above, I'm now seeing this persistent error with Ubuntu 18.04:
fatal: [ubuntu_18_systemd]: FAILED! => {"changed": false, "commands": ["/usr/sbin/ufw status verbose", "/bin/grep -h '^### tuple' /lib/ufw/user.rules /lib/ufw/user6.rules /etc/ufw/user.rules /etc/ufw/user6.rules /var/lib/ufw/user.rules /var/lib/ufw/user6.rules", "/usr/sbin/ufw -f enable"], "msg": "ERROR: Could not load logging rules\n"}
Interestingly, I do not see the error in the issue description when running molecule test
locally.
Not sure if this is related since it only occurs when I run molecule converge
not molecule test
but figured I would mention it anyway. Also it isn't on the ubuntu servers. When I do run molecule test
the subsequent execution of molecule converge
gets it running just fine.
🐛 Bug Report
The molecule testing for this role sometimes fails with output like this:
It's a sporadic failure, and it's not always the same Linux distributions that fail.
To Reproduce
Run the molecule tests enough times, either locally or on GitHub Actions, and you will see output similar to what is shown in the previous section.
Expected behavior
The molecule test runs should execute cleanly each and every time.