Project

General

Profile

Actions

action #12398

open

hide echoing to serial port in testapi calls from output in screenshots

Added by okurz over 8 years ago. Updated over 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
QA (public, currently private due to #173521) - future
Start date:
2016-06-19
Due date:
% Done:

0%

Estimated time:

Description

user story

As a user using videos recorded by openQA I don't want to get confused by weird hash strings seen in screenshots and videos so that these videos can also be used as simple instruction videos and are easier to understand by everyone.

acceptance criteria

  • AC1: No auto-generated content is shown in terminals that is not explicitly coming from the tests
  • AC2: The existing behaviour of wait_serial/script_run is preserved

idea

Call

declare -r PROMPT_COMMAND="fc -nl -1 2>&1 > $serialdev"

when setting the bash-prompt, e.g. where we set it to '$ ' or '# ', to forward the output of the last command to the serial port. To do what we did before using hashed_string we can try to rely on internal tools of the SUT for this. It's linux specific at this point anyway so it might even be a good idea to move it completely out of the (lower-level) of the testapi at all.


Related issues 2 (1 open1 closed)

Related to openQA Tests (public) - coordination #44843: [qe-core][functional][epic] Cleanup the use of serial-/virtio-/ssh-consoles in our tests (was: use $self->select_serial_terminal instead of checking IPMI in every module)New2018-12-13

Actions
Related to openQA Project (public) - action #45143: Suppress the prompt sign in the "expected output" of serial consoles (or virtio-console)Rejectedokurz2018-12-13

Actions
Actions #1

Updated by okurz about 8 years ago

  • Target version set to future
Actions #2

Updated by okurz over 6 years ago

  • Target version changed from future to future
Actions #3

Updated by okurz almost 6 years ago

  • Related to coordination #44843: [qe-core][functional][epic] Cleanup the use of serial-/virtio-/ssh-consoles in our tests (was: use $self->select_serial_terminal instead of checking IPMI in every module) added
Actions #4

Updated by okurz over 5 years ago

  • Related to action #45143: Suppress the prompt sign in the "expected output" of serial consoles (or virtio-console) added
Actions #5

Updated by okurz over 5 years ago

  • Category changed from 132 to Feature requests
Actions

Also available in: Atom PDF