project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
38 stars 22 forks source link

[Bug] Logs are truncated in the test run view #287

Open tcarmelveilleux opened 3 months ago

tcarmelveilleux commented 3 months ago

Describe the bug

Steps to reproduce the behavior

  1. Run a test in TH
  2. Observe the logs format in the logs pane

Expected behavior

Log files

No response

PICS file

No response

Screenshots

image

Environment

Additional Information

No response

tcarmelveilleux commented 3 months ago

The dark theme has better contrast, but it still could be more contrasty.

I also noticed SOME logs have the correct format, and some others don't:

image

It may be based on whether it's the chip-tool runner or something else?

hiltonlima commented 3 months ago

Hello @tcarmelveilleux ,

Could you tell me what tests you ran to check the truncated logs?

hiltonlima commented 3 months ago

Logs during runs are missing timestamps https://github.com/project-chip/connectedhomeip/issues/34017

hiltonlima commented 3 months ago

Logs during runs have all the left space padding lost (left-trimmed) which destroys the ability to look at the decoded structured data which uses indentations https://github.com/project-chip/certification-tool-frontend/issues/19

hiltonlima commented 3 months ago

A proportional font is used with low contrast, which makes the logs very hard to read https://github.com/project-chip/certification-tool-frontend/issues/20