Skip to content

Continuously print console to stdout #81

@yanivy-nr

Description

@yanivy-nr

Hello,

We have important kernel messages printed to the device console during tests and would like to have them printed continuously while the tests are running. These messages are needed for debugging when the tests fail.

Currently, to have the console's recent messages printed out, we need to send a command using exec0() method (our device is configured to use connector.ConsoleConnector).

Is there a way in TBot to have the console continuously print the console to stdout? I thought about having a thread that every second polls the channel for new data and printing it out using channel.read_until_timeout(1) method.

Thanks,
Yaniv

PS: Thank you for adding the utils.copy_to_dir() functionality :) (was out on vacation and returned today).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions