action #12398

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

Added by okurz almost 4 years ago. Updated 10 months ago.

Status:NewStart date:19/06/2016
Priority:LowDue date:
Assignee:-% Done:


Category:Feature requests
Target version:QA - future


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



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

Related to openQA Tests - action #44843: [functional][u][epic] Cleanup the use of serial-/virtio-/... Blocked 13/12/2018
Related to openQA Project - action #45143: Suppress the prompt sign in the "expected output" of seri... New 13/12/2018


#1 Updated by okurz over 3 years ago

  • Target version set to future

#2 Updated by okurz almost 2 years ago

  • Target version changed from future to future

#3 Updated by okurz over 1 year ago

  • Related to action #44843: [functional][u][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

#4 Updated by okurz 10 months ago

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

#5 Updated by okurz 10 months ago

  • Category changed from 132 to Feature requests

Also available in: Atom PDF