We have been observing a race condition in our CI when installing packages at the beginning of the SUT setup. This happens only on RHEL and it is caused by the `rhc` tool, which executes some Ansible playbooks on system startup, which install packages using dnf. This interferes with dnf commands ran by the `mockbuild.sh` script, which results in a job failure. Since there seems to be no way to determine if `rhc` finished "its thing", let's retry dnf install of packages up to 5 times with exponential backoff in between retries. Signed-off-by: Tomáš Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| ci_details.sh | ||
| deploy.sh | ||
| manifest_tests.sh | ||
| mockbuild.sh | ||
| RH-IT-Root-CA.keystore | ||
| sonarqube.sh | ||
| team_ssh_keys.txt | ||
| terraform | ||
| update_github_status.sh | ||