Fix M1_UART_2: accept both console and legacy console printk messages#37
Merged
amrathesh merged 1 commit intoARM-software:mainfrom Sep 8, 2025
Merged
Fix M1_UART_2: accept both console and legacy console printk messages#37amrathesh merged 1 commit intoARM-software:mainfrom
amrathesh merged 1 commit intoARM-software:mainfrom
Conversation
- Updated test_ipmi_outband_sol.robot to handle both "printk: console [ttyXXX] enabled" and "printk: legacy console [ttyXXX] enabled" - Regex updated to capture the TTY device name consistently - Ensures systems exposing only a legacy console (e.g. ttyAMA0) are still treated as compliant Signed-off-by: Guru9902 <gururaj.revankar@arm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The M1_UART_2 test in
test_ipmi_outband_sol.robotcurrently fails onsystems where the kernel enables the UART console in "legacy" mode.
Such systems produce the log line:
printk: legacy console [ttyAMA0] enabled
instead of:
printk: console [ttyAMA0] enabled
Although the console is fully functional and BSA-compliant, the test
does not detect it and reports a false failure.
Changes
accept both console and legacy console printk messages.
Impact
checked against the ACPI SPCR table for BSA compliance.
Issue
Fixes #36