Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mantle/kola: fix systemd generator failure detection
Apparently it can start with `systemd` or `sd-execu`. Here is an example: ``` Feb 23 21:50:38.240188 /usr/lib/systemd/system-generators/coreos-platform-chrony: line 44: /etc/sysconfig/network: Read-only file system Feb 23 21:50:38.240195 (sd-execu[1020]: /usr/lib/systemd/system-generators/coreos-platform-chrony failed with exit status 1. ``` I think the difference may be whether the failure happens in the initramfs or the real root. Let's make our regex matching more generic and also handle more cases [1]. [1] https://github.com/systemd/systemd/blob/dafb406383610cc631345815919fd8a77ee0c4dc/src/basic/process-util.c#L663-L679
- Loading branch information