ACK: [PATCH 0/1][H] Fix ftrace synthetic_events selftests failure in 5.11
Colin Ian King
colin.king at canonical.com
Thu Apr 22 17:04:26 UTC 2021
On 22/04/2021 17:57, Andrea Righi wrote:
> BugLink: https://bugs.launchpad.net/bugs/1925539
>
> [Impact]
>
> The synthetic_events ftrace test is failing in 5.11:
>
> 01:58:54 DEBUG| [stdout] # [68] event trigger - test synthetic_events syntax parser errors [FAIL]
>
> This happens because the synthetic_event parser/syntax has been reworked
> in 5.12 and the selftest has been also updated. However, in 5.11 we got
> only the commit that updates the test without the corresponding rework
> in the kernel, therefore the test is failing.
>
> [Fix]
>
> Revert the commit that updates the ftrace synthetic_events selftest.
>
> [Test plan]
>
> Run the linux ftrace selftest to trigger the problem (e.g., make
> TARGETS=ftrace kselftests).
>
> [Where problems could occur]
>
> This fix reverts a test case, if the kernel receives the ftrace rework
> via stable updates in the future we may see failures with the same test.
>
> ---
>
> Andrea Righi (1):
> UBUNTU: SAUCE: Revert "selftests/ftrace: Update synthetic event syntax errors"
>
> tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic_event_syntax_errors.tc | 35 ++++++++---------------------------
> 1 file changed, 8 insertions(+), 27 deletions(-)
>
>
Urgh, so the self tests are ahead of the kernel. That's a bit crazy.
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the kernel-team
mailing list