Skip to content

Commit

Permalink
mantle/kola: detect when systemd-generators fail
Browse files Browse the repository at this point in the history
For example, this ugly failure has been hanging around in our
console logs for some time:

```
[    5.733962] ln:
[    5.733968] failed to create symbolic link '/run/udev/rules.d/80-coreos-boot-disk.rules'
[    5.734511] : File exists
[    5.737931] systemd[1023]: /usr/lib/systemd/system-generators/coreos-diskful-generator failed with exit status 1.
```

Let's detect these when they pop up.
  • Loading branch information
dustymabe committed Jun 16, 2022
1 parent 1d83765 commit c7c1836
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mantle/kola/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ var (
desc: "oom killer",
match: regexp.MustCompile("invoked oom-killer"),
},
{
// https://github.com/coreos/fedora-coreos-config/pull/1797
desc: "systemd generator failure",
match: regexp.MustCompile(`systemd\[[0-9]+\]: (.*) failed with exit status`),
},
}
)

Expand Down

0 comments on commit c7c1836

Please sign in to comment.