The CI for the BlueBanquise project runs in GitHub Actions hosted runners, in an Ubuntu 18.04 virtual machine. The project runs unit tests for the Ansible roles with the molecule tool.
There is a recurring problem with the unit test of the role core.time where the idempotence test occasionally fails in GitHub Actions. Despite multiple attempts to reproduce the issue locally, the molecule test always succeed in my lab system. Usually, a new run of the CI job allows to successfully pass the unit test.
The BlueBanquise CI is somewhat limited when it comes to test client-server setup.
This post will demonstrate how to test a pull request (PR) for BlueBanquise in virtual machines with Vagrant and the bluebanquise-vagrant project. I want to create a virtual environment to test the PR #397 which implements the customization of the port of the rsyslog server. At the time of writing, the head of this PR is 4605aeb.