Skip to content

Tracking issue for output synchronisation between mbed_trace, printf... #11202

@ithinuel

Description

@ithinuel

Description of defect

Target(s) affected by this defect ?

Toolchain(s) (name and version) displaying this defect ?

What version of Mbed-os are you using (tag or sha) ?

mbed-os-99.99.99

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

N/A

How is this defect reproduced ?

Have multiple threads using the stdout put using Greentea, printf, mbed_trace.

This is a tracking issue to discuss to possible solution(s) to the output synchronization problem.

Mbed-os currently provides several mutually unaware ways to output traces and log messages to either a specific output and/or a retargetable destination.

This creates friction during development :

  • corrupted greentea kv token generates false negative during CI testing.
  • decreased readability of log renders difficult the debugging multithreaded tests.
  • lowers the quality of the developer experience.

Prior discussion on #9954.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions