Resolve "hammer.py sometimes cannot start mariadb service on alpine"
Closes #3559 (closed).
-
af02b1bf hammer.py: pkill mariadb_safe before restarting Attempt to fix
start-stop-daemon: /usr/bin/mysqld_safe is already running
The real fix seems to be the raise_error=False
on the restart, but the other actions might help as well in certain cases. It is difficult to say because the bug is not easily reproducible.
Ran two hammer-and-configure and three ut-extended builds. No errors.
- https://jenkins.aws.isc.org/job/kea-manual/job/hammer-and-configure/101/
- https://jenkins.aws.isc.org/job/kea-manual/job/hammer-and-configure/102/
- https://jenkins.aws.isc.org/job/kea-manual/job/ut-extended/311/
- https://jenkins.aws.isc.org/job/kea-manual/job/ut-extended/312/
- https://jenkins.aws.isc.org/job/kea-manual/job/ut-extended/313/
Edited by Andrei Pavel