Skip to content

mantle/kola: trim newline from kernel warning match#4047

Merged
jlebon merged 1 commit intocoreos:mainfrom
dustymabe:dusty-kernel-warning
Mar 20, 2025
Merged

mantle/kola: trim newline from kernel warning match#4047
jlebon merged 1 commit intocoreos:mainfrom
dustymabe:dusty-kernel-warning

Conversation

@dustymabe
Copy link
Copy Markdown
Member

This way we can stop printing newlines in our error messages like:

[2025-03-18T00:15:50.235Z] === RUN   ext.config.root-reprovision.raid1
[2025-03-18T00:19:56.607Z] --- FAIL: ext.config.root-reprovision.raid1 (244.32s)
[2025-03-18T00:19:56.607Z]         harness.go:1740: Found kernel warning (arch/powerpc/net/bpf_jit_comp.c:961 __arch_prepare_bpf_trampoline.isra.0+0xe18/0x10a0
[2025-03-18T00:19:56.607Z] ) on machine bbfae284-54af-4005-95a4-58740c49ca4b console
[2025-03-18T00:19:56.607Z] FAIL, output in /home/jenkins/agent/workspace/build-arch/tmp/kola-N7agh/kola-reprovision/rerun

This way we can stop printing newlines in our error messages like:

```
[2025-03-18T00:15:50.235Z] === RUN   ext.config.root-reprovision.raid1
[2025-03-18T00:19:56.607Z] --- FAIL: ext.config.root-reprovision.raid1 (244.32s)
[2025-03-18T00:19:56.607Z]         harness.go:1740: Found kernel warning (arch/powerpc/net/bpf_jit_comp.c:961 __arch_prepare_bpf_trampoline.isra.0+0xe18/0x10a0
[2025-03-18T00:19:56.607Z] ) on machine bbfae284-54af-4005-95a4-58740c49ca4b console
[2025-03-18T00:19:56.607Z] FAIL, output in /home/jenkins/agent/workspace/build-arch/tmp/kola-N7agh/kola-reprovision/rerun
```
@jbtrystram
Copy link
Copy Markdown
Member

/lgtm

Copy link
Copy Markdown
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI failure unrelated.
/override ci/prow/rhcos

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Mar 20, 2025

@jlebon: Overrode contexts on behalf of jlebon: ci/prow/rhcos

Details

In response to this:

CI failure unrelated.
/override ci/prow/rhcos

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jlebon jlebon merged commit 846c0b0 into coreos:main Mar 20, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants