Skip to content

Commit

Permalink
mantle/kola: add max_level_console=debug for COSA_TESTISO_DEBUG
Browse files Browse the repository at this point in the history
Otherwise only `info` level messages will go to the console
of the machine.

We were digging into a new instance of [1] and found that we
weren't really getting debug messages on the console of the
machine (which means no new clues as to why the tests are
timing out). Turns out this is why we weren't getting those
new debug messages we thought we would get.

[1] coreos/fedora-coreos-tracker#1796
  • Loading branch information
dustymabe committed Nov 1, 2024
1 parent af1468c commit 0e10c59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mantle/platform/metal.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,9 @@ func renderInstallKargs(t *installerRun, offline bool) []string {
// problematic. Let's add a hook here to enable more debugging.
func renderCosaTestIsoDebugKargs() []string {
if _, ok := os.LookupEnv("COSA_TESTISO_DEBUG"); ok {
return []string{"systemd.log_color=0", "systemd.log_level=debug", "systemd.journald.forward_to_console=1"}
return []string{"systemd.log_color=0", "systemd.log_level=debug",
"systemd.journald.forward_to_console=1",
"systemd.journald.max_level_console=debug"}
} else {
return []string{}
}
Expand Down

0 comments on commit 0e10c59

Please sign in to comment.